diff options
177 files changed, 56251 insertions, 48784 deletions
@@ -1,16 +1,15 @@ -commit c52724c3d00e0aecaf98402c83b51e0cd5c9a6be +commit 0a348fe98b77bf17b4cbe8a257eecffc966acbd7 Author: Jens Georg <mail@jensge.org> -Date: Sun Oct 16 22:32:17 2016 +0200 +Date: Mon Oct 24 20:09:08 2016 +0200 - Prepare Shotwell 0.24.1 + Prepare 0.25.0 release Signed-off-by: Jens Georg <mail@jensge.org> M NEWS -M configure.ac M debian/changelog -commit 0be5c1be430cdc6b4ee7af0d0e52e10888b07a55 +commit ece15b26e968e76a9165ba4fdacfcde5a425fc38 Author: Jens Georg <mail@jensge.org> Date: Sun Oct 16 22:20:14 2016 +0200 @@ -20,7 +19,79 @@ Date: Sun Oct 16 22:20:14 2016 +0200 M src/db/DatabaseTable.vala -commit f79f3dd46473655b17bcf52ca3a8fadcf58502a5 +commit 68d021e037a95e77cea4afdd850378f1c52cd36e +Author: Jens Georg <mail@jensge.org> +Date: Wed Oct 19 21:02:36 2016 +0200 + + Hide "Folder" sidebar when empty + + Signed-off-by: Jens Georg <mail@jensge.org> + + https://bugzilla.gnome.org/show_bug.cgi?id=719127 + +M src/folders/Branch.vala + +commit 1f07d737505a2c4ecc7c2ed0e415a9f8b9f4bd26 +Author: Jens Georg <mail@jensge.org> +Date: Tue Oct 18 22:28:33 2016 +0200 + + Blacklist vaapi decoder + + That makes things actually slow since it start-up isn't the best in + the world + and doesn't like to be triggered from multiple threads, causing + the abort. + + Signed-off-by: Jens Georg <mail@jensge.org> + + https://bugzilla.gnome.org/show_bug.cgi?id=762416 + +M src/VideoSupport.vala +M thumbnailer/shotwell-video-thumbnailer.vala + +commit ec20147df422a340e7741586a193e50840bcb268 +Author: Rico Tzschichholz <ricotz@ubuntu.com> +Date: Tue Oct 18 10:40:54 2016 +0200 + + Remove superfluous parentheses + +M plugins/shotwell-transitions/CircleEffect.vala + +commit 156a835a878a89767414dd12421af73a06c77c92 +Author: Marek Černocký <marek@manet.cz> +Date: Sun Oct 16 22:01:01 2016 +0200 + + Updated Czech translation + +M po/cs.po + +commit 2db8881d70cd53fa2d26860a2598054798a06706 +Author: Gábor Kelemen <kelemeng@openscope.org> +Date: Tue Oct 11 07:45:50 2016 +0000 + + Update Hungarian translation + +M po/hu.po + +commit be57cf35c101c8a3901d4a166e20cb2e1baa7fdb +Author: Jordi Mas <jmas@softcatala.org> +Date: Sun Oct 9 20:02:48 2016 +0200 + + Update Catalan translation + +M po/ca.po + +commit b7b9736c93ec86cc5d14ac7994b3ad18b10594b0 +Author: Jens Georg <mail@jensge.org> +Date: Sun Oct 9 18:53:48 2016 +0200 + + libraw.vapi: Remove member added by accident + + Signed-off-by: Jens Georg <mail@jensge.org> + +M vapi/libraw.vapi + +commit 0b56e8c667739120eba0eeee74cf7d2bbc4b5447 Author: Jens Georg <mail@jensge.org> Date: Sun Oct 9 18:42:17 2016 +0200 @@ -35,7 +106,35 @@ Date: Sun Oct 9 18:42:17 2016 +0200 M plugins/shotwell-publishing/PiwigoPublishing.vala -commit 42a2189a53163391f4776ba6e6c433d1aabbdf5e +commit b3debfb7bf14d01afb008a9debd28160a8100071 +Author: Jens Georg <mail@jensge.org> +Date: Sun Oct 9 18:25:12 2016 +0200 + + libraw.vapi: Improve thumbnail binding + + Signed-off-by: Jens Georg <mail@jensge.org> + +M vapi/libraw.vapi + +commit aade605b107272bd5a2c189f2dfec7f4ce6eb227 +Author: Jens Georg <mail@jensge.org> +Date: Sat Oct 8 21:41:43 2016 +0200 + + Fix typo in settings schema + + Signed-off-by: Jens Georg <mail@jensge.org> + +M misc/org.yorba.shotwell.gschema.xml + +commit 3d55565cd36130cd9a3fcfc49a925fa9d13a06b2 +Author: Piotr Drąg <piotrdrag@gmail.com> +Date: Sun Oct 9 08:55:32 2016 +0200 + + Update Polish translation + +M po/pl.po + +commit 91f0804130cb87aaf0cdfe1c58b2740c4748fedd Author: Rico Tzschichholz <ricotz@ubuntu.com> Date: Sat Oct 8 17:27:59 2016 +0200 @@ -47,7 +146,117 @@ Date: Sat Oct 8 17:27:59 2016 +0200 M src/photos/PhotoMetadata.vala -commit e8c60ee6ca74977bc28e1d5650f9c9d5c09e5e71 +commit 826f2947caefe311006bc45e9420ed325002ad00 +Author: Jens Georg <mail@jensge.org> +Date: Sat Oct 8 16:50:36 2016 +0200 + + Port to new SoupSession API + + Signed-off-by: Jens Georg <mail@jensge.org> + + https://bugzilla.gnome.org/show_bug.cgi?id=767126 + +M configure.ac +M plugins/common/RESTSupport.vala +M plugins/shotwell-publishing/FacebookPublishing.vala + +commit 2782abad7798f48a4c6c032eafba3f19bc829767 +Author: Jens Georg <mail@jensge.org> +Date: Sat Oct 1 00:26:26 2016 +0200 + + Make export dialog deprecated free + + Signed-off-by: Jens Georg <mail@jensge.org> + +M src/Dialogs.vala + +commit e3c78dc5689d2f02efa70871521b71efafcb319c +Author: Jens Georg <mail@jensge.org> +Date: Tue Oct 4 23:32:51 2016 +0200 + + Use GSettings default for export dialog + + Signed-off-by: Jens Georg <mail@jensge.org> + +M misc/org.yorba.shotwell.gschema.xml +M src/Dialogs.vala +M src/config/ConfigurationInterfaces.vala +M src/config/GSettingsEngine.vala + +commit 8b95f0de193e63fc7e87d1121d3ef8b26dceb86c +Author: Jens Georg <mail@jensge.org> +Date: Tue Oct 4 22:33:14 2016 +0200 + + Persist export dialog settings + + Based on original patch by Jonas Bushart. + + Signed-off-by: Jens Georg <mail@jensge.org> + + https://bugzilla.gnome.org/show_bug.cgi?id=716259 + +M misc/org.yorba.shotwell.gschema.xml +M src/Dialogs.vala +M src/config/ConfigurationInterfaces.vala +M src/config/GSettingsEngine.vala + +commit 1b73d9e16be8a73193062507c01877a937b305fc +Author: Jens Georg <mail@jensge.org> +Date: Tue Oct 4 22:29:45 2016 +0200 + + Remove deprecated GSettings calls + + Signed-off-by: Jens Georg <mail@jensge.org> + +M common.am +M configure.ac +M src/config/GSettingsEngine.vala + +commit cb225f8db79e7b234447a37fc52e00f6e8a26903 +Author: Jens Georg <mail@jensge.org> +Date: Sat Oct 8 14:26:21 2016 +0200 + + Update git.mk + + Signed-off-by: Jens Georg <mail@jensge.org> + +M git.mk + +commit b2b95c292d5440812e5c92ee4869727e1dbf71d0 +Author: Rafael Fontenelle <rafaelff@gnome.org> +Date: Thu Oct 6 11:47:55 2016 +0000 + + Updated Brazilian Portuguese translation + +M po/pt_BR.po + +commit 8d823173ee9df9745c851556b7617e495c54a44d +Author: Jens Georg <mail@jensge.org> +Date: Tue Oct 4 21:35:38 2016 +0200 + + Remove old GTK+ work-around + + Signed-off-by: Jens Georg <mail@jensge.org> + +M src/Dialogs.vala + +commit ba8801a1e47d8e329b47db39678ebab6e02eef2a +Author: Marek Černocký <marek@manet.cz> +Date: Tue Oct 4 14:22:12 2016 +0200 + + Updated Czech translation + +M po/cs.po + +commit 58e1e1b744226654692a742064577c3452995d9b +Author: Gábor Kelemen <kelemeng@openscope.org> +Date: Tue Oct 4 08:43:19 2016 +0000 + + Updated Hungarian translation + +M po/hu.po + +commit 6afddeff92a119f5198c5c671e8431952bdd36ab Author: Jens Georg <mail@jensge.org> Date: Mon Oct 3 22:12:01 2016 +0200 @@ -57,7 +266,212 @@ Date: Mon Oct 3 22:12:01 2016 +0200 M plugins/shotwell-publishing/PiwigoPublishing.vala -commit 0dd5368e0b33c22e3fb196b2776d56988aca0572 +commit fbee9252109833a0d63311408b114a01273aced7 +Author: Piotr Drąg <piotrdrag@gmail.com> +Date: Mon Oct 3 15:19:08 2016 +0200 + + Update POTFILES.in + +M po/POTFILES.in + +commit 8560752d671dfa4991dbdba3a4b57afb356efcc5 +Author: Jens Georg <mail@jensge.org> +Date: Mon Oct 3 14:39:24 2016 +0200 + + piwigo: Add option to show the certificate + + So the user can inspect the certificate before proceeding + + Signed-off-by: Jens Georg <mail@jensge.org> + + https://bugzilla.gnome.org/show_bug.cgi?id=767473 + +M configure.ac +M plugins/common/RESTSupport.vala +M plugins/shotwell-publishing/PiwigoPublishing.vala +M plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui +M publish.am + +commit 9c2aa03dde6538800ab3916635444c343058f462 +Author: Jens Georg <mail@jensge.org> +Date: Sun Oct 2 19:41:48 2016 +0200 + + piwigo: Add option to override the SSL verification + + Signed-off-by: Jens Georg <mail@jensge.org> + + https://bugzilla.gnome.org/show_bug.cgi?id=767473 + +M plugins/common/RESTSupport.vala +M plugins/shotwell-publishing/PiwigoPublishing.vala +M +plugins/shotwell-publishing/org.gnome.Shotwell.Publishing.gresource.xml +A plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui + +commit 73007e5797dbcf4003d771ac0c4725989db513f1 +Author: Piotr Drąg <piotrdrag@gmail.com> +Date: Mon Oct 3 13:23:23 2016 +0200 + + Updated Polish translation + +M po/pl.po + +commit 1a76ac6f4210c0f3707dcc5e719377279ad85ddb +Author: Piotr Drąg <piotrdrag@gmail.com> +Date: Mon Oct 3 13:21:13 2016 +0200 + + Remove one more instance of double spaces + +M src/Dialogs.vala + +commit b173946ec6ed21f6ec264b0e87dcdac8654e6c0c +Author: Gábor Kelemen <kelemeng@openscope.org> +Date: Mon Oct 3 09:50:53 2016 +0000 + + Updated Hungarian translation + +M po/hu.po + +commit ec738035daf4a7dd3373fd280a11f575a5985ec6 +Author: Marek Černocký <marek@manet.cz> +Date: Mon Oct 3 11:39:46 2016 +0200 + + Updated Czech translation + +M po/cs.po + +commit 7ee95d4059c6f4ec8b5ee1583a73864d8b412540 +Author: Piotr Drąg <piotrdrag@gmail.com> +Date: Sun Oct 2 18:17:47 2016 +0200 + + Remove double spaces from translatable strings + + https://bugzilla.gnome.org/show_bug.cgi?id=772339 + +M plugins/shotwell-publishing/FlickrPublishing.vala +M src/AppWindow.vala +M src/Dialogs.vala +M src/Exporter.vala +M src/camera/ImportPage.vala +M src/main.vala + +commit 3d2acfe4204629df7fe62098e2c1810949776dca +Author: Piotr Drąg <piotrdrag@gmail.com> +Date: Sun Oct 2 18:12:57 2016 +0200 + + Fix spelling of "YouTube" + + https://bugzilla.gnome.org/show_bug.cgi?id=772339 + +M plugins/shotwell-publishing/YouTubePublishing.vala + +commit 96a2343b3673c25fb398972cf1036ced664e3162 +Author: Piotr Drąg <piotrdrag@gmail.com> +Date: Sun Oct 2 18:11:51 2016 +0200 + + Fix spelling of "log in" + + "Log in" is the verb, "login" is the noun. + + https://bugzilla.gnome.org/show_bug.cgi?id=772339 + +M plugins/shotwell-publishing-extras/RajcePublishing.vala +M plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui +M plugins/shotwell-publishing-extras/rajce_authentication_pane.ui +M plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui +M plugins/shotwell-publishing/FlickrPublishing.vala +M plugins/shotwell-publishing/PicasaPublishing.vala +M plugins/shotwell-publishing/piwigo_authentication_pane.ui +M ui/shotwell.ui + +commit 7c0ad89676d662965388080f61d61359fd65fe35 +Author: Piotr Drąg <piotrdrag@gmail.com> +Date: Sun Oct 2 18:05:33 2016 +0200 + + Use Unicode in translatable strings + + See https://developer.gnome.org/hig/stable/typography.html + + https://bugzilla.gnome.org/show_bug.cgi?id=772339 + +M misc/org.yorba.shotwell.gschema.xml +M misc/shotwell.appdata.xml.in +M plugins/shotwell-publishing-extras/GalleryConnector.vala +M plugins/shotwell-publishing-extras/RajcePublishing.vala +M plugins/shotwell-publishing-extras/TumblrPublishing.vala +M plugins/shotwell-publishing/FacebookPublishing.vala +M plugins/shotwell-publishing/FlickrPublishing.vala +M plugins/shotwell-publishing/PicasaPublishing.vala +M plugins/shotwell-publishing/PiwigoPublishing.vala +M plugins/shotwell-publishing/YouTubePublishing.vala +M src/AppWindow.vala +M src/Commands.vala +M src/Dialogs.vala +M src/MediaPage.vala +M src/Printing.vala +M src/Resources.vala +M src/camera/ImportPage.vala +M src/data_imports/DataImportsPluginHost.vala +M src/editing_tools/EditingTools.vala +M src/main.vala +M src/publishing/PublishingPluginHost.vala + +commit 9d2cf3536841ac0334c2ae6226fa3ed708a5b82b +Author: Piotr Drąg <piotrdrag@gmail.com> +Date: Sun Oct 2 13:15:26 2016 +0200 + + Updated Polish translation + +M po/pl.po + +commit 63f541a70fa8cee7b2e4e5db1f14951175aa9e42 +Author: Gábor Kelemen <kelemeng@openscope.org> +Date: Sun Oct 2 08:07:14 2016 +0000 + + Updated Hungarian translation + +M po/hu.po + +commit 71f3951a5c9263b73e579435e7d738776679ba2f +Author: Jens Georg <mail@jensge.org> +Date: Sat Oct 1 18:16:14 2016 +0200 + + Introduce common class for WebKit authenticator + + This was implemented/copied three times... + + Signed-off-by: Jens Georg <mail@jensge.org> + + https://bugzilla.gnome.org/show_bug.cgi?id=772295 + +M Makefile.am +M plugins/common/RESTSupport.vala +A plugins/common/WebAuthenticationPane.vala +M plugins/shotwell-publishing-extras/YandexPublishing.vala +M plugins/shotwell-publishing/FacebookPublishing.vala + +commit 5270d097485c7ca2f4729adc598d381c85491988 +Author: Jens Georg <mail@jensge.org> +Date: Sat Oct 1 17:50:10 2016 +0200 + + build: Silence some C warnings + + Signed-off-by: Jens Georg <mail@jensge.org> + +M Makefile.am +M common.am + +commit cbb516968f97762cc3e80cc47a7a4904e8062772 +Author: Jens Georg <mail@jensge.org> +Date: Sat Oct 1 16:11:55 2016 +0200 + + Remove deprecated call from util/image.vala + + Signed-off-by: Jens Georg <mail@jensge.org> + +M src/util/image.vala + +commit 389e23b763a851a93cb6b2b8e4bd0165e754d7c5 Author: Rico Tzschichholz <ricotz@ubuntu.com> Date: Fri Sep 30 18:58:54 2016 +0200 @@ -65,7 +479,101 @@ Date: Fri Sep 30 18:58:54 2016 +0200 M src/Tag.vala -commit 15fb6e8945c27915d1d3b934f2a3ee81daaea63d +commit c5b028b808a0f35344872677a0bcd1ae2b625a5d +Author: Daniel Mustieles <daniel.mustieles@gmail.com> +Date: Fri Sep 30 10:19:59 2016 +0000 + + Updated Spanish translation + +M po/es.po + +commit 9dae1046df856f922419e57048d87ad878979f41 +Author: Mario Blättermann <mario.blaettermann@gmail.com> +Date: Fri Sep 30 07:05:07 2016 +0000 + + Updated German translation + +M po/de.po + +commit 87dfca02f666fb9e903dd8cdcc3fd6ac98111841 +Author: Marek Černocký <marek@manet.cz> +Date: Fri Sep 30 07:40:58 2016 +0200 + + Updated Czech translation + +M po/cs.po + +commit 5f569b1bcf3c387243e3f63326413a7d7f572bad +Author: Jens Georg <mail@jensge.org> +Date: Thu Sep 29 23:06:43 2016 +0200 + + Fix copy-paste error + + Signed-off-by: Jens Georg <mail@jensge.org> + +M src/photos/PhotoMetadata.vala + +commit cb79cb4e5681a5069fb66e655b747cece133a004 +Author: Jens Georg <mail@jensge.org> +Date: Thu Sep 29 13:12:38 2016 +0200 + + Replace ... with … + + Signed-off-by: Jens Georg <mail@jensge.org> + + https://bugzilla.gnome.org/show_bug.cgi?id=765149 + +M src/AppWindow.vala +M src/Dialogs.vala +M src/Printing.vala +M src/Resources.vala +M src/camera/ImportPage.vala +M src/direct/DirectPhotoPage.vala +M src/library/ImportQueuePage.vala +M src/library/LibraryWindow.vala +M src/library/OfflinePage.vala +M src/main.vala +M src/plugins/Plugins.vala +M src/publishing/PublishingUI.vala +M src/searches/Branch.vala +M src/sidebar/Tree.vala +M src/tags/HierarchicalTagUtilities.vala +M ui/direct.ui +M ui/events_directory.ui +M ui/import.ui +M ui/import_queue.ui +M ui/media.ui +M ui/offline.ui +M ui/photo.ui +M ui/trash.ui + +commit 515e311ca1f0bcef525e5beee7075a4474b87676 +Author: Jens Georg <mail@jensge.org> +Date: Thu Sep 29 08:55:48 2016 +0200 + + Bump gexiv2 requirement to 0.10.4 + + Necessary for a bugfix required for proper ACDSEE tag support + + Signed-off-by: Jens Georg <mail@jensge.org> + +M configure.ac + +commit 9218b13bd7ef86e8f3f7de7e98b6ac64f6dd162a +Author: Jens Georg <mail@jensge.org> +Date: Tue Sep 20 21:19:31 2016 +0200 + + Support acdsee tags + + Signed-off-by: Jens Georg <mail@jensge.org> + + https://bugzilla.gnome.org/show_bug.cgi?id=718586 + +M shotwell.am +M src/photos/PhotoMetadata.vala +A vapi/misc.vapi + +commit 912cd8b707bf4fbe91c99314bd17fa928da23cf2 Author: Jens Georg <mail@jensge.org> Date: Wed Sep 28 23:32:01 2016 +0200 @@ -75,7 +583,7 @@ Date: Wed Sep 28 23:32:01 2016 +0200 M src/Resources.vala -commit a9104c1cf1ab2c586f1639536a50823019d026eb +commit d821a4a49f357005bab6c71f0fb7116491d2bf96 Author: Jens Georg <mail@jensge.org> Date: Wed Sep 28 23:11:32 2016 +0200 @@ -87,7 +595,7 @@ Date: Wed Sep 28 23:11:32 2016 +0200 M src/AppWindow.vala -commit 147b6c87a0a6be6fa0d0e7b93313a13679ba2614 +commit f343d9a359e2924e2498c7287222f79e3e2d867c Author: Jens Georg <mail@jensge.org> Date: Sat Sep 17 08:33:23 2016 +0200 @@ -102,7 +610,83 @@ M src/Tag.vala M src/core/ContainerSourceCollection.vala M src/core/ViewCollection.vala -commit 7424c5ddadfaee627641cd884423a32fa5afc330 +commit bddc2ea7151c81e8979b3342fc89921600d4b45d +Author: Mario Blättermann <mario.blaettermann@gmail.com> +Date: Sun Sep 25 17:16:35 2016 +0000 + + Updated German translation + (cherry picked from commit 230a0b28eb7b0a671ac549e85329beefddbc06eb) + +M help/de/de.po + +commit 3a25208a2aa69a347a0d8a915dd8b8dd6c72614f +Author: Piotr Drąg <piotrdrag@gmail.com> +Date: Sat Sep 24 22:20:06 2016 +0200 + + Updated Polish translation + +M po/pl.po + +commit 968da8e0998ff561d29d6e8324461779618725ad +Author: Benedikt M. Thoma <gnome@thomba.net> +Date: Fri Sep 23 17:11:56 2016 +0000 + + Updated German translation + +M po/de.po + +commit 4e2911b6fa27b272552ea9f5d39ed85c55461010 +Author: Rafael Fontenelle <rafaelff@gnome.org> +Date: Fri Sep 23 00:35:09 2016 +0000 + + Updated Brazilian Portuguese translation + +M po/pt_BR.po + +commit 3c9f707f29e5cee407603ef9128e843e35d42969 +Author: Rafael Fontenelle <rafaelff@gnome.org> +Date: Fri Sep 23 00:32:10 2016 +0000 + + Updated Brazilian Portuguese translation + (cherry picked from commit f4b68102e46f3fa896438db753b39f4b413107bb) + +M po/pt_BR.po + +commit c056c251eb469e70d488c013b46b2a8f7875f038 +Author: Balázs Meskó <meskobalazs@gmail.com> +Date: Thu Sep 22 18:26:05 2016 +0000 + + Updated Hungarian translation + +M po/hu.po + +commit 0ebdf12e12fc12899e72db4b59edf8d65d0e0e23 +Author: Jordi Mas <jmas@softcatala.org> +Date: Thu Sep 22 19:55:58 2016 +0200 + + Fix in Catalan translation + +M po/ca.po + +commit 270f26ce715c1f178fd707e7a648ad4433ee87cc +Author: Jens Georg <mail@jensge.org> +Date: Wed Sep 21 21:44:42 2016 +0200 + + Fix mixup when clicking Reset + + Signed-off-by: Jens Georg <mail@jensge.org> + +M src/editing_tools/EditingTools.vala + +commit 15bf3742ff2fd23605713d092d3d961fee58ab72 +Author: Marek Černocký <marek@manet.cz> +Date: Wed Sep 21 21:35:44 2016 +0200 + + Updated Czech translation + +M po/cs.po + +commit dbe7eed4fe3e088319903385e0a07ed46154f512 Author: Jens Georg <mail@jensge.org> Date: Wed Sep 21 21:00:47 2016 +0200 @@ -114,7 +698,7 @@ Date: Wed Sep 21 21:00:47 2016 +0200 M src/main.vala -commit 7c1872f9353b1c0c067c1599f74460571db35145 +commit 0046657c9f16706231be2194ed3d085ccb543c05 Author: Jens Georg <mail@jensge.org> Date: Wed Sep 21 20:56:07 2016 +0200 @@ -128,31 +712,38 @@ Date: Wed Sep 21 20:56:07 2016 +0200 M src/Event.vala -commit 230a0b28eb7b0a671ac549e85329beefddbc06eb -Author: Mario Blättermann <mario.blaettermann@gmail.com> -Date: Sun Sep 25 17:16:35 2016 +0000 +commit 36d0265618b504d1c1d6187bf04709dd60d0a9ce +Author: Josh Freeman <josh@twilightedge.com> +Date: Sun Jul 3 20:44:04 2016 +0200 - Updated German translation + Add contrast adjustments to settings -M help/de/de.po + Signed-off-by: Jens Georg <mail@jensge.org> -commit f4b68102e46f3fa896438db753b39f4b413107bb -Author: Rafael Fontenelle <rafaelff@gnome.org> -Date: Fri Sep 23 00:32:10 2016 +0000 + https://bugzilla.gnome.org/show_bug.cgi?id=716660 - Updated Brazilian Portuguese translation +M src/ColorTransformation.vala +M src/editing_tools/EditingTools.vala -M po/pt_BR.po +commit bb1fa45a0de8cffda51363db0b6d5b4bbaf3592d +Author: Jens Georg <mail@jensge.org> +Date: Tue Sep 20 21:10:15 2016 +0200 + + Post-release version bump + + Signed-off-by: Jens Georg <mail@jensge.org> + +M configure.ac -commit 3fca18c23cb133590be1b472cc4b22f8effc81a7 +commit b6d70e14df54f4cf39f050682271f5cdd7b52aa8 Author: Anders Jonsson <anders.jonsson@norsjovallen.se> -Date: Wed Sep 21 11:30:53 2016 +0000 +Date: Wed Sep 21 11:26:55 2016 +0000 Updated Swedish translation M help/sv/sv.po -commit 332173cf4a3e7110afc2a42b127f9e8c37b33369 +commit c6d5fe9bb77d97c534f8239c6331dc1f41df324b Author: Jens Georg <mail@jensge.org> Date: Tue Sep 20 21:02:10 2016 +0200 @@ -163,7 +754,7 @@ Date: Tue Sep 20 21:02:10 2016 +0200 M NEWS M configure.ac -commit 4b1dd6efebe919772914bffd8e6597e7780d378c +commit 2d300134b66139f3dc18577bedf83266a3e0b13c Author: Jens Georg <mail@jensge.org> Date: Sun Sep 18 20:02:34 2016 +0200 @@ -173,33 +764,43 @@ Date: Sun Sep 18 20:02:34 2016 +0200 M src/core/DataObject.vala -commit 728b17e779c2c27941ecfa74037beb1025f85fe6 +commit 14b8ae055f24b81b802ec83fcd2487c03a17630f Author: Bernd Homuth <dev@hmt.im> Date: Mon Sep 19 15:00:09 2016 +0000 Updated German translation + (cherry picked from commit 728b17e779c2c27941ecfa74037beb1025f85fe6) M po/de.po -commit 792debb70a038c4a4ae0ef7c68999aace045c516 +commit 611ccd55e58b40ab6a4a718a154ea0d001d8e433 Author: Marek Černocký <marek@manet.cz> -Date: Mon Sep 19 08:52:56 2016 +0200 +Date: Mon Sep 19 08:50:33 2016 +0200 Updated Czech translation M po/cs.po -commit 0f346cc9cc410ede68f8b8d6abe113792f87a3e1 +commit c569aec6cd42816b39c81c0da65c5e8790915bd5 Author: Christian Kirbach <Christian.Kirbach@gmail.com> Date: Sun Sep 18 19:11:29 2016 +0000 Updated German translation + (cherry picked from commit 0f346cc9cc410ede68f8b8d6abe113792f87a3e1) M po/de.po -commit 5ffc5577fddd4bcfab878ec06df7b980afd0a3fc +commit 998f2217574d2afbbe54cd17e473eb6b511adc1b +Author: Daniel Mustieles <daniel.mustieles@gmail.com> +Date: Tue Sep 13 20:25:15 2016 +0200 + + Updated Spanish translation + +M po/es.po + +commit 15e7e747cddb9f38631a3f8f658d7201c3c7969a Author: Marek Černocký <marek@manet.cz> -Date: Tue Sep 13 11:17:14 2016 +0200 +Date: Tue Sep 13 11:17:45 2016 +0200 Updated Czech translation diff --git a/Makefile.am b/Makefile.am index 624642b..e47126b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -54,6 +54,7 @@ lib_LTLIBRARIES = \ plugins_common_libshotwell_plugin_common_la_SOURCES = \ plugins/common/RESTSupport.vala \ plugins/common/Resources.vala \ + plugins/common/WebAuthenticationPane.vala \ plugins/shotwell-plugin-dev-1.0.vapi $(top_srcdir)/plugins/shotwell-plugin-common.vapi plugins/shotwell-plugin-common.h: \ @@ -73,6 +74,7 @@ plugins_common_libshotwell_plugin_common_la_VALAFLAGS = \ plugins_common_libshotwell_plugin_common_la_CFLAGS = \ $(PLUGIN_CFLAGS) \ + -Wno-incompatible-pointer-types -Wno-discarded-qualifiers \ -DGETTEXT_PACKAGE='"$(GETTEXT_PACKAGE)"' \ -I $(top_srcdir)/plugins -I$(top_builddir)/plugins diff --git a/Makefile.in b/Makefile.in index 7768d35..a980264 100644 --- a/Makefile.in +++ b/Makefile.in @@ -175,7 +175,8 @@ plugins_common_libshotwell_plugin_common_la_DEPENDENCIES = \ $(am__DEPENDENCIES_1) am__dirstamp = $(am__leading_dot)dirstamp am_plugins_common_libshotwell_plugin_common_la_OBJECTS = plugins/common/plugins_common_libshotwell_plugin_common_la-RESTSupport.lo \ - plugins/common/plugins_common_libshotwell_plugin_common_la-Resources.lo + plugins/common/plugins_common_libshotwell_plugin_common_la-Resources.lo \ + plugins/common/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.lo plugins_common_libshotwell_plugin_common_la_OBJECTS = \ $(am_plugins_common_libshotwell_plugin_common_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) @@ -583,6 +584,7 @@ am__dist_noinst_DATA_DIST = plugins/shotwell-publishing/facebook.png \ plugins/shotwell-publishing/picasa_publishing_options_pane.ui \ plugins/shotwell-publishing/piwigo_authentication_pane.ui \ plugins/shotwell-publishing/piwigo_publishing_options_pane.ui \ + plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui \ plugins/shotwell-publishing/youtube_publishing_options_pane.ui \ plugins/shotwell-publishing/org.gnome.Shotwell.Publishing.gresource.xml \ plugins/shotwell-publishing-extras/gallery3.png \ @@ -660,6 +662,7 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ build-aux/config.rpath build-aux/config.sub build-aux/depcomp \ build-aux/install-sh build-aux/ltmain.sh build-aux/missing \ plugins/common/RESTSupport.c plugins/common/Resources.c \ + plugins/common/WebAuthenticationPane.c \ plugins/shotwell-data-imports/FSpotDatabase.c \ plugins/shotwell-data-imports/FSpotDatabaseBehavior.c \ plugins/shotwell-data-imports/FSpotDatabaseTable.c \ @@ -1051,6 +1054,7 @@ lib_LTLIBRARIES = \ plugins_common_libshotwell_plugin_common_la_SOURCES = \ plugins/common/RESTSupport.vala \ plugins/common/Resources.vala \ + plugins/common/WebAuthenticationPane.vala \ plugins/shotwell-plugin-dev-1.0.vapi plugins_common_libshotwell_plugin_common_la_VALAFLAGS = \ @@ -1067,6 +1071,7 @@ plugins_common_libshotwell_plugin_common_la_VALAFLAGS = \ plugins_common_libshotwell_plugin_common_la_CFLAGS = \ $(PLUGIN_CFLAGS) \ + -Wno-incompatible-pointer-types -Wno-discarded-qualifiers \ -DGETTEXT_PACKAGE='"$(GETTEXT_PACKAGE)"' \ -I $(top_srcdir)/plugins -I$(top_builddir)/plugins @@ -1123,6 +1128,7 @@ dist_noinst_DATA = $(NULL) plugins/shotwell-publishing/facebook.png \ plugins/shotwell-publishing/picasa_publishing_options_pane.ui \ plugins/shotwell-publishing/piwigo_authentication_pane.ui \ plugins/shotwell-publishing/piwigo_publishing_options_pane.ui \ + plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui \ plugins/shotwell-publishing/youtube_publishing_options_pane.ui \ plugins/shotwell-publishing/org.gnome.Shotwell.Publishing.gresource.xml \ $(am__append_4) \ @@ -1140,10 +1146,11 @@ MOSTLYCLEANFILES = $(NULL) plugins/shotwell-publishing/resource.c \ # --enable-checking needs to come first to not trigger # https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18734 -COMMON_VALAFLAGS = --enable-checking --target-glib=2.32 --thread \ +COMMON_VALAFLAGS = --enable-checking --target-glib=2.40 --thread \ --fatal-warnings --enable-experimental --enable-deprecated \ $(am__append_2) COMMON_CFLAGS = -I$(top_srcdir)/vapi -D_PREFIX='"$(prefix)"' \ + -Wno-incompatible-pointer-types -Wno-discarded-qualifiers \ -D_VERSION='"$(VERSION)"' \ -DGETTEXT_PACKAGE='"$(GETTEXT_PACKAGE)"' \ -D_LANG_SUPPORT_DIR='"$(prefix)/share/locale"' \ @@ -1167,7 +1174,7 @@ shotwell_VALAFLAGS = $(COMMON_VALAFLAGS) \ --vapidir $(abs_top_srcdir)/vapi \ --pkg libgphoto2 --pkg posix --pkg libraw --pkg gexiv2 \ --pkg libexif --pkg gudev-1.0 --pkg gstreamer-1.0 \ - --pkg gstreamer-pbutils-1.0 \ + --pkg gstreamer-pbutils-1.0 --pkg misc \ $(UNITY_VALAFLAGS) \ $(COMMON_VALAFLAGS_POST) @@ -1395,12 +1402,16 @@ plugins_shotwell_publishing_shotwell_publishing_la_VALAFLAGS = \ --pkg shotwell-plugin-dev-1.0 \ --pkg libxml-2.0 \ --pkg webkit2gtk-4.0 \ + --pkg gcr-3 \ + --pkg gcr-ui-3 \ --vapidir $(abs_top_srcdir)/plugins plugins_shotwell_publishing_shotwell_publishing_la_CFLAGS = \ -DPLUGIN_RESOURCE_PATH='"/org/gnome/Shotwell/Publishing"' \ $(PLUGIN_CFLAGS) \ $(COMMON_CFLAGS) \ + -DGCR_API_SUBJECT_TO_CHANGE \ + $(PUBLISHING_CFLAGS) \ -I $(top_srcdir)/plugins plugins_shotwell_publishing_shotwell_publishing_la_LDFLAGS = \ @@ -1686,6 +1697,9 @@ plugins/common/plugins_common_libshotwell_plugin_common_la-RESTSupport.lo: \ plugins/common/plugins_common_libshotwell_plugin_common_la-Resources.lo: \ plugins/common/$(am__dirstamp) \ plugins/common/$(DEPDIR)/$(am__dirstamp) +plugins/common/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.lo: \ + plugins/common/$(am__dirstamp) \ + plugins/common/$(DEPDIR)/$(am__dirstamp) plugins/common/libshotwell-plugin-common.la: $(plugins_common_libshotwell_plugin_common_la_OBJECTS) $(plugins_common_libshotwell_plugin_common_la_DEPENDENCIES) $(EXTRA_plugins_common_libshotwell_plugin_common_la_DEPENDENCIES) plugins/common/$(am__dirstamp) $(AM_V_CCLD)$(plugins_common_libshotwell_plugin_common_la_LINK) -rpath $(libdir) $(plugins_common_libshotwell_plugin_common_la_OBJECTS) $(plugins_common_libshotwell_plugin_common_la_LIBADD) $(LIBS) @@ -2629,6 +2643,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@plugins/common/$(DEPDIR)/plugins_common_libshotwell_plugin_common_la-RESTSupport.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@plugins/common/$(DEPDIR)/plugins_common_libshotwell_plugin_common_la-Resources.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@plugins/common/$(DEPDIR)/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@plugins/shotwell-data-imports/$(DEPDIR)/plugins_shotwell_data_imports_shotwell_data_imports_la-FSpotDatabase.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@plugins/shotwell-data-imports/$(DEPDIR)/plugins_shotwell_data_imports_shotwell_data_imports_la-FSpotDatabaseBehavior.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@plugins/shotwell-data-imports/$(DEPDIR)/plugins_shotwell_data_imports_shotwell_data_imports_la-FSpotDatabaseTable.Plo@am__quote@ @@ -2904,6 +2919,13 @@ plugins/common/plugins_common_libshotwell_plugin_common_la-Resources.lo: plugins @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugins_common_libshotwell_plugin_common_la_CFLAGS) $(CFLAGS) -c -o plugins/common/plugins_common_libshotwell_plugin_common_la-Resources.lo `test -f 'plugins/common/Resources.c' || echo '$(srcdir)/'`plugins/common/Resources.c +plugins/common/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.lo: plugins/common/WebAuthenticationPane.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugins_common_libshotwell_plugin_common_la_CFLAGS) $(CFLAGS) -MT plugins/common/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.lo -MD -MP -MF plugins/common/$(DEPDIR)/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.Tpo -c -o plugins/common/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.lo `test -f 'plugins/common/WebAuthenticationPane.c' || echo '$(srcdir)/'`plugins/common/WebAuthenticationPane.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) plugins/common/$(DEPDIR)/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.Tpo plugins/common/$(DEPDIR)/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='plugins/common/WebAuthenticationPane.c' object='plugins/common/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugins_common_libshotwell_plugin_common_la_CFLAGS) $(CFLAGS) -c -o plugins/common/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.lo `test -f 'plugins/common/WebAuthenticationPane.c' || echo '$(srcdir)/'`plugins/common/WebAuthenticationPane.c + plugins/shotwell-data-imports/plugins_shotwell_data_imports_shotwell_data_imports_la-FSpotDatabaseBehavior.lo: plugins/shotwell-data-imports/FSpotDatabaseBehavior.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugins_shotwell_data_imports_shotwell_data_imports_la_CFLAGS) $(CFLAGS) -MT plugins/shotwell-data-imports/plugins_shotwell_data_imports_shotwell_data_imports_la-FSpotDatabaseBehavior.lo -MD -MP -MF plugins/shotwell-data-imports/$(DEPDIR)/plugins_shotwell_data_imports_shotwell_data_imports_la-FSpotDatabaseBehavior.Tpo -c -o plugins/shotwell-data-imports/plugins_shotwell_data_imports_shotwell_data_imports_la-FSpotDatabaseBehavior.lo `test -f 'plugins/shotwell-data-imports/FSpotDatabaseBehavior.c' || echo '$(srcdir)/'`plugins/shotwell-data-imports/FSpotDatabaseBehavior.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) plugins/shotwell-data-imports/$(DEPDIR)/plugins_shotwell_data_imports_shotwell_data_imports_la-FSpotDatabaseBehavior.Tpo plugins/shotwell-data-imports/$(DEPDIR)/plugins_shotwell_data_imports_shotwell_data_imports_la-FSpotDatabaseBehavior.Plo @@ -6867,6 +6889,35 @@ $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp: thumbnailer/shotwel $(AM_V_at)rm -f $@ && echo stamp > $@-t $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(thumbnailer_shotwell_video_thumbnailer_VALAFLAGS) $(VALAFLAGS) -C thumbnailer/shotwell-video-thumbnailer.vala $(AM_V_at)mv -f $@-t $@ +$(srcdir)/plugins/shotwell-publishing-extras/GalleryConnector.c: $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-publishing-extras/RajcePublishing.c: $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-publishing-extras/shotwell-publishing-extras.c: $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-publishing-extras/TumblrPublishing.c: $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-publishing-extras/YandexPublishing.c: $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; \ + fi +$(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp: plugins/shotwell-publishing-extras/GalleryConnector.vala plugins/shotwell-publishing-extras/RajcePublishing.vala plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala plugins/shotwell-publishing-extras/TumblrPublishing.vala plugins/shotwell-publishing-extras/YandexPublishing.vala plugins/shotwell-plugin-common.vapi + $(AM_V_at)rm -f $@ && echo stamp > $@-t + $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-publishing-extras/GalleryConnector.vala plugins/shotwell-publishing-extras/RajcePublishing.vala plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala plugins/shotwell-publishing-extras/TumblrPublishing.vala plugins/shotwell-publishing-extras/YandexPublishing.vala plugins/shotwell-plugin-common.vapi + $(AM_V_at)mv -f $@-t $@ $(srcdir)/plugins/shotwell-data-imports/FSpotDatabaseBehavior.c: $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; fi @if test -f $@; then :; else \ @@ -6951,68 +7002,48 @@ $(srcdir)/plugins/common/Resources.c: $(srcdir)/plugins_common_libshotwell_plugi @if test -f $@; then :; else \ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \ fi -$(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp: plugins/common/RESTSupport.vala plugins/common/Resources.vala plugins/shotwell-plugin-dev-1.0.vapi - $(AM_V_at)rm -f $@ && echo stamp > $@-t - $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_common_libshotwell_plugin_common_la_VALAFLAGS) $(VALAFLAGS) -C plugins/common/RESTSupport.vala plugins/common/Resources.vala plugins/shotwell-plugin-dev-1.0.vapi - $(AM_V_at)mv -f $@-t $@ -$(srcdir)/plugins/shotwell-transitions/BlindsEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-transitions/ChessEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-transitions/CircleEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-transitions/CirclesEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-transitions/ClockEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi +$(srcdir)/plugins/common/WebAuthenticationPane.c: $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \ fi -$(srcdir)/plugins/shotwell-transitions/CrumbleEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi +$(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp: plugins/common/RESTSupport.vala plugins/common/Resources.vala plugins/common/WebAuthenticationPane.vala plugins/shotwell-plugin-dev-1.0.vapi + $(AM_V_at)rm -f $@ && echo stamp > $@-t + $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_common_libshotwell_plugin_common_la_VALAFLAGS) $(VALAFLAGS) -C plugins/common/RESTSupport.vala plugins/common/Resources.vala plugins/common/WebAuthenticationPane.vala plugins/shotwell-plugin-dev-1.0.vapi + $(AM_V_at)mv -f $@-t $@ +$(srcdir)/plugins/shotwell-publishing/shotwell-publishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ fi -$(srcdir)/plugins/shotwell-transitions/FadeEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-publishing/FacebookPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ fi -$(srcdir)/plugins/shotwell-transitions/shotwell-transitions.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-publishing/PicasaPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ fi -$(srcdir)/plugins/shotwell-transitions/SlideEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-publishing/FlickrPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ fi -$(srcdir)/plugins/shotwell-transitions/SquaresEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-publishing/YouTubePublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ fi -$(srcdir)/plugins/shotwell-transitions/StripesEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-publishing/PiwigoPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ fi -$(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp: plugins/shotwell-transitions/BlindsEffect.vala plugins/shotwell-transitions/ChessEffect.vala plugins/shotwell-transitions/CircleEffect.vala plugins/shotwell-transitions/CirclesEffect.vala plugins/shotwell-transitions/ClockEffect.vala plugins/shotwell-transitions/CrumbleEffect.vala plugins/shotwell-transitions/FadeEffect.vala plugins/shotwell-transitions/shotwell-transitions.vala plugins/shotwell-transitions/SlideEffect.vala plugins/shotwell-transitions/SquaresEffect.vala plugins/shotwell-transitions/StripesEffect.vala plugins/shotwell-plugin-common.vapi +$(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp: plugins/shotwell-publishing/shotwell-publishing.vala plugins/shotwell-publishing/FacebookPublishing.vala plugins/shotwell-publishing/PicasaPublishing.vala plugins/shotwell-publishing/FlickrPublishing.vala plugins/shotwell-publishing/YouTubePublishing.vala plugins/shotwell-publishing/PiwigoPublishing.vala plugins/shotwell-plugin-common.vapi $(AM_V_at)rm -f $@ && echo stamp > $@-t - $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_shotwell_transitions_shotwell_transitions_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-transitions/BlindsEffect.vala plugins/shotwell-transitions/ChessEffect.vala plugins/shotwell-transitions/CircleEffect.vala plugins/shotwell-transitions/CirclesEffect.vala plugins/shotwell-transitions/ClockEffect.vala plugins/shotwell-transitions/CrumbleEffect.vala plugins/shotwell-transitions/FadeEffect.vala plugins/shotwell-transitions/shotwell-transitions.vala plugins/shotwell-transitions/SlideEffect.vala plugins/shotwell-transitions/SquaresEffect.vala plugins/shotwell-transitions/StripesEffect.vala plugins/shotwell-plugin-common.vapi + $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_shotwell_publishing_shotwell_publishing_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-publishing/shotwell-publishing.vala plugins/shotwell-publishing/FacebookPublishing.vala plugins/shotwell-publishing/PicasaPublishing.vala plugins/shotwell-publishing/FlickrPublishing.vala plugins/shotwell-publishing/YouTubePublishing.vala plugins/shotwell-publishing/PiwigoPublishing.vala plugins/shotwell-plugin-common.vapi $(AM_V_at)mv -f $@-t $@ $(srcdir)/src/plugins/SpitInterfaces.c: $(srcdir)/src_plugins_libplugin_la_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp; fi @@ -7038,68 +7069,64 @@ $(srcdir)/src_plugins_libplugin_la_vala.stamp: src/plugins/SpitInterfaces.vala s $(AM_V_at)rm -f $@ && echo stamp > $@-t $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(src_plugins_libplugin_la_VALAFLAGS) $(VALAFLAGS) -C src/plugins/SpitInterfaces.vala src/plugins/TransitionsInterfaces.vala src/plugins/PublishingInterfaces.vala src/plugins/DataImportsInterfaces.vala $(AM_V_at)mv -f $@-t $@ -$(srcdir)/plugins/shotwell-publishing-extras/GalleryConnector.c: $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-transitions/BlindsEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ fi -$(srcdir)/plugins/shotwell-publishing-extras/RajcePublishing.c: $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-transitions/ChessEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ fi -$(srcdir)/plugins/shotwell-publishing-extras/shotwell-publishing-extras.c: $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-transitions/CircleEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ fi -$(srcdir)/plugins/shotwell-publishing-extras/TumblrPublishing.c: $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-transitions/CirclesEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ fi -$(srcdir)/plugins/shotwell-publishing-extras/YandexPublishing.c: $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-transitions/ClockEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ fi -$(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp: plugins/shotwell-publishing-extras/GalleryConnector.vala plugins/shotwell-publishing-extras/RajcePublishing.vala plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala plugins/shotwell-publishing-extras/TumblrPublishing.vala plugins/shotwell-publishing-extras/YandexPublishing.vala plugins/shotwell-plugin-common.vapi - $(AM_V_at)rm -f $@ && echo stamp > $@-t - $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-publishing-extras/GalleryConnector.vala plugins/shotwell-publishing-extras/RajcePublishing.vala plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala plugins/shotwell-publishing-extras/TumblrPublishing.vala plugins/shotwell-publishing-extras/YandexPublishing.vala plugins/shotwell-plugin-common.vapi - $(AM_V_at)mv -f $@-t $@ -$(srcdir)/plugins/shotwell-publishing/shotwell-publishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-transitions/CrumbleEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ fi -$(srcdir)/plugins/shotwell-publishing/FacebookPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-transitions/FadeEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ fi -$(srcdir)/plugins/shotwell-publishing/PicasaPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-transitions/shotwell-transitions.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ fi -$(srcdir)/plugins/shotwell-publishing/FlickrPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-transitions/SlideEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ fi -$(srcdir)/plugins/shotwell-publishing/YouTubePublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-transitions/SquaresEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ fi -$(srcdir)/plugins/shotwell-publishing/PiwigoPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi +$(srcdir)/plugins/shotwell-transitions/StripesEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ fi -$(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp: plugins/shotwell-publishing/shotwell-publishing.vala plugins/shotwell-publishing/FacebookPublishing.vala plugins/shotwell-publishing/PicasaPublishing.vala plugins/shotwell-publishing/FlickrPublishing.vala plugins/shotwell-publishing/YouTubePublishing.vala plugins/shotwell-publishing/PiwigoPublishing.vala plugins/shotwell-plugin-common.vapi +$(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp: plugins/shotwell-transitions/BlindsEffect.vala plugins/shotwell-transitions/ChessEffect.vala plugins/shotwell-transitions/CircleEffect.vala plugins/shotwell-transitions/CirclesEffect.vala plugins/shotwell-transitions/ClockEffect.vala plugins/shotwell-transitions/CrumbleEffect.vala plugins/shotwell-transitions/FadeEffect.vala plugins/shotwell-transitions/shotwell-transitions.vala plugins/shotwell-transitions/SlideEffect.vala plugins/shotwell-transitions/SquaresEffect.vala plugins/shotwell-transitions/StripesEffect.vala plugins/shotwell-plugin-common.vapi $(AM_V_at)rm -f $@ && echo stamp > $@-t - $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_shotwell_publishing_shotwell_publishing_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-publishing/shotwell-publishing.vala plugins/shotwell-publishing/FacebookPublishing.vala plugins/shotwell-publishing/PicasaPublishing.vala plugins/shotwell-publishing/FlickrPublishing.vala plugins/shotwell-publishing/YouTubePublishing.vala plugins/shotwell-publishing/PiwigoPublishing.vala plugins/shotwell-plugin-common.vapi + $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_shotwell_transitions_shotwell_transitions_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-transitions/BlindsEffect.vala plugins/shotwell-transitions/ChessEffect.vala plugins/shotwell-transitions/CircleEffect.vala plugins/shotwell-transitions/CirclesEffect.vala plugins/shotwell-transitions/ClockEffect.vala plugins/shotwell-transitions/CrumbleEffect.vala plugins/shotwell-transitions/FadeEffect.vala plugins/shotwell-transitions/shotwell-transitions.vala plugins/shotwell-transitions/SlideEffect.vala plugins/shotwell-transitions/SquaresEffect.vala plugins/shotwell-transitions/StripesEffect.vala plugins/shotwell-plugin-common.vapi $(AM_V_at)mv -f $@-t $@ mostlyclean-libtool: @@ -7535,6 +7562,7 @@ maintainer-clean-generic: @echo "it deletes files that may require special tools to rebuild." -rm -f $(srcdir)/plugins/common/RESTSupport.c -rm -f $(srcdir)/plugins/common/Resources.c + -rm -f $(srcdir)/plugins/common/WebAuthenticationPane.c -rm -f $(srcdir)/plugins/shotwell-data-imports/FSpotDatabase.c -rm -f $(srcdir)/plugins/shotwell-data-imports/FSpotDatabaseBehavior.c -rm -f $(srcdir)/plugins/shotwell-data-imports/FSpotDatabaseTable.c @@ -7777,6 +7805,7 @@ maintainer-clean-generic: -rm -f $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp -rm -f plugins/common/RESTSupport.c -rm -f plugins/common/Resources.c + -rm -f plugins/common/WebAuthenticationPane.c -rm -f plugins/shotwell-data-imports/FSpotDatabase.c -rm -f plugins/shotwell-data-imports/FSpotDatabaseBehavior.c -rm -f plugins/shotwell-data-imports/FSpotDatabaseTable.c @@ -1,33 +1,72 @@ -Shotwell 0.24.1 - 16 Oct 2016 - * Add debug output when shifting day of event - * Add debug output of Shotwell's current timezone - * Fix Vala generic handling with recent Vala compiler - * Fix focus handling when in fullscreen (#771969) - * Remove obsolete CSS style - * Prevent a critical in Piwigo uploader - * Fix issue with accessability in recent Vala compiler - * Fix album creation with Piwigo uploader (#772648) - * Add option to enable SQL debugging without recompilation - * Translation updates +Shotwell 0.25.0 - 24 Oct 2016 + * Add contrast to improvements + * Add a log when shifting events + * Add a debug output of the current timezone + * Fix compilation with recent Vala compiler + * Fix focus handling of full-screen viewer + * Remove obsolete CSS style property + * Support ACDSEE tags + * Use unicode characters + * Remove deprecated calls + * Silence two C warnings that are usually caused by valac + * Refactor web authenticator + * Spelling fixes + * Piwigo: Add option to override SSL certificate handling + * Piwigo: Add option to show the SSL certificate + * Remove an old GTK+ work-around + * Remove deprecated GSettings calls + * Persist export dialog settings + * Remove deprecated elements from export dialog + * Port web plugins to new libsoup API + * Fix libraw binding + * Piwigo: Fix new album creation + * Blacklist vaapi decoder to prevent crashes in video meta data extraction + * Hide "Folder" side-bar when empty + * Enable SQL debugging through environment variable + +Added/Updated requirements: + GExiv2 >= 0.10.4 + GCR-3 + GLib >= 2.40 + GTK+ >= 3.14 Bugs fixed in this release: + - https://bugzilla.gnome.org/show_bug.cgi?id=716259 + - https://bugzilla.gnome.org/show_bug.cgi?id=716660 + - https://bugzilla.gnome.org/show_bug.cgi?id=718586 + - https://bugzilla.gnome.org/show_bug.cgi?id=719127 + - https://bugzilla.gnome.org/show_bug.cgi?id=762416 + - https://bugzilla.gnome.org/show_bug.cgi?id=765149 + - https://bugzilla.gnome.org/show_bug.cgi?id=767126 + - https://bugzilla.gnome.org/show_bug.cgi?id=767473 - https://bugzilla.gnome.org/show_bug.cgi?id=771969 + - https://bugzilla.gnome.org/show_bug.cgi?id=772295 + - https://bugzilla.gnome.org/show_bug.cgi?id=772339 - https://bugzilla.gnome.org/show_bug.cgi?id=772648 All contributors to this release: - Jens Georg <mail@jensge.org> - - Rico Tzschichholz <ricotz@ubuntu.com> + - Piotr Drąg <piotrdrag@gmail.com> - Marek Černocký <marek@manet.cz> + - Gábor Kelemen <kelemeng@openscope.org> + - Rico Tzschichholz <ricotz@ubuntu.com> - Rafael Fontenelle <rafaelff@gnome.org> - Mario Blättermann <mario.blaettermann@gmail.com> - - Christian Kirbach <Christian.Kirbach@gmail.com> - - Bernd Homuth <dev@hmt.im> + - Jordi Mas <jmas@softcatala.org> + - Josh Freeman <josh@twilightedge.com> + - Daniel Mustieles <daniel.mustieles@gmail.com> + - Benedikt M. Thoma <gnome@thomba.net> + - Balázs Meskó <meskobalazs@gmail.com> - Anders Jonsson <anders.jonsson@norsjovallen.se> Added/updated translations + - ca, courtesy of Jordi Mas - cs, courtesy of Marek Černocký - - de, courtesy of Bernd Homuth - de, courtesy of Christian Kirbach + - de, courtesy of Mario Blättermann + - es, courtesy of Daniel Mustieles + - hu, courtesy of Meskó Balázs + - pl, courtesy of Piotr Drąg - pt_BR, courtesy of Rafael Fontenelle - sv, courtesy of Anders Jonsson @@ -1,12 +1,13 @@ # --enable-checking needs to come first to not trigger # https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18734 COMMON_VALAFLAGS = \ - --enable-checking --target-glib=2.32 --thread --fatal-warnings \ + --enable-checking --target-glib=2.40 --thread --fatal-warnings \ --enable-experimental --enable-deprecated COMMON_CFLAGS = \ -I$(top_srcdir)/vapi \ -D_PREFIX='"$(prefix)"' \ + -Wno-incompatible-pointer-types -Wno-discarded-qualifiers \ -D_VERSION='"$(VERSION)"' \ -DGETTEXT_PACKAGE='"$(GETTEXT_PACKAGE)"' \ -D_LANG_SUPPORT_DIR='"$(prefix)/share/locale"' \ @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for shotwell 0.24.1. +# Generated by GNU Autoconf 2.69 for shotwell 0.25.0. # # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=shotwell>. # @@ -650,8 +650,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='shotwell' PACKAGE_TARNAME='shotwell' -PACKAGE_VERSION='0.24.1' -PACKAGE_STRING='shotwell 0.24.1' +PACKAGE_VERSION='0.25.0' +PACKAGE_STRING='shotwell 0.25.0' PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=shotwell' PACKAGE_URL='' @@ -1486,7 +1486,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures shotwell 0.24.1 to adapt to many kinds of systems. +\`configure' configures shotwell 0.25.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1557,7 +1557,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of shotwell 0.24.1:";; + short | recursive ) echo "Configuration of shotwell 0.25.0:";; esac cat <<\_ACEOF @@ -1720,7 +1720,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -shotwell configure 0.24.1 +shotwell configure 0.25.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1998,7 +1998,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by shotwell $as_me 0.24.1, which was +It was created by shotwell $as_me 0.25.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2457,14 +2457,14 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac MAJOR_VERSION=0 -MINOR_VERSION=24 +MINOR_VERSION=25 -MICRO_VERSION=1 +MICRO_VERSION=0 API_VERSION=0 -GITVER=fe5852f0f0767240c61872b0fdc3994f2dd23f63 +GITVER=0a348fe98b77bf17b4cbe8a257eecffc966acbd7 if test "x$GITVER" != "x"; then @@ -2962,7 +2962,7 @@ fi # Define the identity of the package. PACKAGE='shotwell' - VERSION='0.24.1' + VERSION='0.25.0' cat >>confdefs.h <<_ACEOF @@ -8024,9 +8024,9 @@ if test -n "$SHOTWELL_CFLAGS"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gee-0.8 >= 0.8.5 - gexiv2 >= 0.4.90 + gexiv2 >= 0.10.4 gio-unix-2.0 >= 2.20 - glib-2.0 >= 2.30.0 + glib-2.0 >= 2.40.0 gmodule-2.0 >= 2.24.0 gstreamer-1.0 >= 1.0.0 gstreamer-base-1.0 >= 1.0.0 @@ -8037,16 +8037,16 @@ if test -n "$SHOTWELL_CFLAGS"; then libexif >= 0.6.16 libgphoto2 >= 2.5.0 libraw >= 0.13.2 - libsoup-2.4 >= 2.26.0 + libsoup-2.4 >= 2.42.0 libxml-2.0 >= 2.6.32 sqlite3 >= 3.5.9 webkit2gtk-4.0 \""; } >&5 ($PKG_CONFIG --exists --print-errors " gee-0.8 >= 0.8.5 - gexiv2 >= 0.4.90 + gexiv2 >= 0.10.4 gio-unix-2.0 >= 2.20 - glib-2.0 >= 2.30.0 + glib-2.0 >= 2.40.0 gmodule-2.0 >= 2.24.0 gstreamer-1.0 >= 1.0.0 gstreamer-base-1.0 >= 1.0.0 @@ -8057,7 +8057,7 @@ if test -n "$SHOTWELL_CFLAGS"; then libexif >= 0.6.16 libgphoto2 >= 2.5.0 libraw >= 0.13.2 - libsoup-2.4 >= 2.26.0 + libsoup-2.4 >= 2.42.0 libxml-2.0 >= 2.6.32 sqlite3 >= 3.5.9 webkit2gtk-4.0 @@ -8067,9 +8067,9 @@ if test -n "$SHOTWELL_CFLAGS"; then test $ac_status = 0; }; then pkg_cv_SHOTWELL_CFLAGS=`$PKG_CONFIG --cflags " gee-0.8 >= 0.8.5 - gexiv2 >= 0.4.90 + gexiv2 >= 0.10.4 gio-unix-2.0 >= 2.20 - glib-2.0 >= 2.30.0 + glib-2.0 >= 2.40.0 gmodule-2.0 >= 2.24.0 gstreamer-1.0 >= 1.0.0 gstreamer-base-1.0 >= 1.0.0 @@ -8080,7 +8080,7 @@ if test -n "$SHOTWELL_CFLAGS"; then libexif >= 0.6.16 libgphoto2 >= 2.5.0 libraw >= 0.13.2 - libsoup-2.4 >= 2.26.0 + libsoup-2.4 >= 2.42.0 libxml-2.0 >= 2.6.32 sqlite3 >= 3.5.9 webkit2gtk-4.0 @@ -8098,9 +8098,9 @@ if test -n "$SHOTWELL_LIBS"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gee-0.8 >= 0.8.5 - gexiv2 >= 0.4.90 + gexiv2 >= 0.10.4 gio-unix-2.0 >= 2.20 - glib-2.0 >= 2.30.0 + glib-2.0 >= 2.40.0 gmodule-2.0 >= 2.24.0 gstreamer-1.0 >= 1.0.0 gstreamer-base-1.0 >= 1.0.0 @@ -8111,16 +8111,16 @@ if test -n "$SHOTWELL_LIBS"; then libexif >= 0.6.16 libgphoto2 >= 2.5.0 libraw >= 0.13.2 - libsoup-2.4 >= 2.26.0 + libsoup-2.4 >= 2.42.0 libxml-2.0 >= 2.6.32 sqlite3 >= 3.5.9 webkit2gtk-4.0 \""; } >&5 ($PKG_CONFIG --exists --print-errors " gee-0.8 >= 0.8.5 - gexiv2 >= 0.4.90 + gexiv2 >= 0.10.4 gio-unix-2.0 >= 2.20 - glib-2.0 >= 2.30.0 + glib-2.0 >= 2.40.0 gmodule-2.0 >= 2.24.0 gstreamer-1.0 >= 1.0.0 gstreamer-base-1.0 >= 1.0.0 @@ -8131,7 +8131,7 @@ if test -n "$SHOTWELL_LIBS"; then libexif >= 0.6.16 libgphoto2 >= 2.5.0 libraw >= 0.13.2 - libsoup-2.4 >= 2.26.0 + libsoup-2.4 >= 2.42.0 libxml-2.0 >= 2.6.32 sqlite3 >= 3.5.9 webkit2gtk-4.0 @@ -8141,9 +8141,9 @@ if test -n "$SHOTWELL_LIBS"; then test $ac_status = 0; }; then pkg_cv_SHOTWELL_LIBS=`$PKG_CONFIG --libs " gee-0.8 >= 0.8.5 - gexiv2 >= 0.4.90 + gexiv2 >= 0.10.4 gio-unix-2.0 >= 2.20 - glib-2.0 >= 2.30.0 + glib-2.0 >= 2.40.0 gmodule-2.0 >= 2.24.0 gstreamer-1.0 >= 1.0.0 gstreamer-base-1.0 >= 1.0.0 @@ -8154,7 +8154,7 @@ if test -n "$SHOTWELL_LIBS"; then libexif >= 0.6.16 libgphoto2 >= 2.5.0 libraw >= 0.13.2 - libsoup-2.4 >= 2.26.0 + libsoup-2.4 >= 2.42.0 libxml-2.0 >= 2.6.32 sqlite3 >= 3.5.9 webkit2gtk-4.0 @@ -8181,9 +8181,9 @@ fi if test $_pkg_short_errors_supported = yes; then SHOTWELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " gee-0.8 >= 0.8.5 - gexiv2 >= 0.4.90 + gexiv2 >= 0.10.4 gio-unix-2.0 >= 2.20 - glib-2.0 >= 2.30.0 + glib-2.0 >= 2.40.0 gmodule-2.0 >= 2.24.0 gstreamer-1.0 >= 1.0.0 gstreamer-base-1.0 >= 1.0.0 @@ -8194,7 +8194,7 @@ fi libexif >= 0.6.16 libgphoto2 >= 2.5.0 libraw >= 0.13.2 - libsoup-2.4 >= 2.26.0 + libsoup-2.4 >= 2.42.0 libxml-2.0 >= 2.6.32 sqlite3 >= 3.5.9 webkit2gtk-4.0 @@ -8202,9 +8202,9 @@ fi else SHOTWELL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " gee-0.8 >= 0.8.5 - gexiv2 >= 0.4.90 + gexiv2 >= 0.10.4 gio-unix-2.0 >= 2.20 - glib-2.0 >= 2.30.0 + glib-2.0 >= 2.40.0 gmodule-2.0 >= 2.24.0 gstreamer-1.0 >= 1.0.0 gstreamer-base-1.0 >= 1.0.0 @@ -8215,7 +8215,7 @@ fi libexif >= 0.6.16 libgphoto2 >= 2.5.0 libraw >= 0.13.2 - libsoup-2.4 >= 2.26.0 + libsoup-2.4 >= 2.42.0 libxml-2.0 >= 2.6.32 sqlite3 >= 3.5.9 webkit2gtk-4.0 @@ -8226,9 +8226,9 @@ fi as_fn_error $? "Package requirements ( gee-0.8 >= 0.8.5 - gexiv2 >= 0.4.90 + gexiv2 >= 0.10.4 gio-unix-2.0 >= 2.20 - glib-2.0 >= 2.30.0 + glib-2.0 >= 2.40.0 gmodule-2.0 >= 2.24.0 gstreamer-1.0 >= 1.0.0 gstreamer-base-1.0 >= 1.0.0 @@ -8239,7 +8239,7 @@ fi libexif >= 0.6.16 libgphoto2 >= 2.5.0 libraw >= 0.13.2 - libsoup-2.4 >= 2.26.0 + libsoup-2.4 >= 2.42.0 libxml-2.0 >= 2.6.32 sqlite3 >= 3.5.9 webkit2gtk-4.0 @@ -8580,16 +8580,16 @@ if test -n "$PUBLISHING_CFLAGS"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0 gexiv2 json-glib-1.0 gee-0.8 libsoup-2.4 libxml-2.0 gtk+-3.0 - webkit2gtk-4.0\""; } >&5 + webkit2gtk-4.0 gcr-3 gcr-ui-3\""; } >&5 ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0 gexiv2 json-glib-1.0 gee-0.8 libsoup-2.4 libxml-2.0 gtk+-3.0 - webkit2gtk-4.0") 2>&5 + webkit2gtk-4.0 gcr-3 gcr-ui-3") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PUBLISHING_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 glib-2.0 gexiv2 json-glib-1.0 gee-0.8 libsoup-2.4 libxml-2.0 gtk+-3.0 - webkit2gtk-4.0" 2>/dev/null` + webkit2gtk-4.0 gcr-3 gcr-ui-3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -8603,16 +8603,16 @@ if test -n "$PUBLISHING_LIBS"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 glib-2.0 gexiv2 json-glib-1.0 gee-0.8 libsoup-2.4 libxml-2.0 gtk+-3.0 - webkit2gtk-4.0\""; } >&5 + webkit2gtk-4.0 gcr-3 gcr-ui-3\""; } >&5 ($PKG_CONFIG --exists --print-errors "gobject-2.0 glib-2.0 gexiv2 json-glib-1.0 gee-0.8 libsoup-2.4 libxml-2.0 gtk+-3.0 - webkit2gtk-4.0") 2>&5 + webkit2gtk-4.0 gcr-3 gcr-ui-3") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PUBLISHING_LIBS=`$PKG_CONFIG --libs "gobject-2.0 glib-2.0 gexiv2 json-glib-1.0 gee-0.8 libsoup-2.4 libxml-2.0 gtk+-3.0 - webkit2gtk-4.0" 2>/dev/null` + webkit2gtk-4.0 gcr-3 gcr-ui-3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -8635,18 +8635,18 @@ fi if test $_pkg_short_errors_supported = yes; then PUBLISHING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 glib-2.0 gexiv2 json-glib-1.0 gee-0.8 libsoup-2.4 libxml-2.0 gtk+-3.0 - webkit2gtk-4.0" 2>&1` + webkit2gtk-4.0 gcr-3 gcr-ui-3" 2>&1` else PUBLISHING_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 glib-2.0 gexiv2 json-glib-1.0 gee-0.8 libsoup-2.4 libxml-2.0 gtk+-3.0 - webkit2gtk-4.0" 2>&1` + webkit2gtk-4.0 gcr-3 gcr-ui-3" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$PUBLISHING_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gobject-2.0 glib-2.0 gexiv2 json-glib-1.0 gee-0.8 libsoup-2.4 libxml-2.0 gtk+-3.0 - webkit2gtk-4.0) were not met: + webkit2gtk-4.0 gcr-3 gcr-ui-3) were not met: $PUBLISHING_PKG_ERRORS @@ -17615,7 +17615,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by shotwell $as_me 0.24.1, which was +This file was extended by shotwell $as_me 0.25.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17681,7 +17681,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -shotwell config.status 0.24.1 +shotwell config.status 0.25.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index febc024..c641f72 100644 --- a/configure.ac +++ b/configure.ac @@ -5,8 +5,8 @@ dnl *********************************************************************** dnl Define Versioning Information dnl *********************************************************************** m4_define([major_version],[0]) -m4_define([minor_version],[24]) -m4_define([micro_version],[1]) +m4_define([minor_version],[25]) +m4_define([micro_version],[0]) m4_define([package_version],[major_version.minor_version.micro_version]) m4_define([bug_report_url],[https://bugzilla.gnome.org/enter_bug.cgi?product=shotwell]) m4_define([api_version],[major_version]) @@ -85,9 +85,9 @@ dnl Check for required packages dnl *********************************************************************** PKG_CHECK_MODULES(SHOTWELL, [ gee-0.8 >= 0.8.5 - gexiv2 >= 0.4.90 + gexiv2 >= 0.10.4 gio-unix-2.0 >= 2.20 - glib-2.0 >= 2.30.0 + glib-2.0 >= 2.40.0 gmodule-2.0 >= 2.24.0 gstreamer-1.0 >= 1.0.0 gstreamer-base-1.0 >= 1.0.0 @@ -98,7 +98,7 @@ PKG_CHECK_MODULES(SHOTWELL, [ libexif >= 0.6.16 libgphoto2 >= 2.5.0 libraw >= 0.13.2 - libsoup-2.4 >= 2.26.0 + libsoup-2.4 >= 2.42.0 libxml-2.0 >= 2.6.32 sqlite3 >= 3.5.9 webkit2gtk-4.0 @@ -113,7 +113,7 @@ PKG_CHECK_MODULES(IMPORT, [gee-0.8 >= 0.8.5 glib-2.0 gio-2.0 sqlite3]) PKG_CHECK_MODULES(PUBLISHING, [gobject-2.0 glib-2.0 gexiv2 json-glib-1.0 gee-0.8 libsoup-2.4 libxml-2.0 gtk+-3.0 - webkit2gtk-4.0]) + webkit2gtk-4.0 gcr-3 gcr-ui-3]) PKG_CHECK_MODULES(TRANSITIONS, [gobject-2.0 cairo gio-2.0 gdk-pixbuf-2.0 gdk-3.0]) diff --git a/help/cs/cs.po b/help/cs/cs.po index 5041148..c5a71d8 100644 --- a/help/cs/cs.po +++ b/help/cs/cs.po @@ -5,8 +5,8 @@ # msgid "" msgstr "" -"Project-Id-Version: shotwell shotwell-0.24\n" -"POT-Creation-Date: 2016-09-12 19:32+0000\n" +"Project-Id-Version: shotwell master\n" +"POT-Creation-Date: 2016-09-04 08:44+0000\n" "PO-Revision-Date: 2016-09-13 11:15+0200\n" "Last-Translator: Marek Černocký <marek@manet.cz>\n" "Language-Team: čeština <gnome-cs-list@gnome.org>\n" diff --git a/misc/org.yorba.shotwell.gschema.xml b/misc/org.yorba.shotwell.gschema.xml index 16ba868..ce3b815 100644 --- a/misc/org.yorba.shotwell.gschema.xml +++ b/misc/org.yorba.shotwell.gschema.xml @@ -14,6 +14,7 @@ <child name="window" schema="org.yorba.shotwell.preferences.window" /> <child name="files" schema="org.yorba.shotwell.preferences.files" /> <child name="editing" schema="org.yorba.shotwell.preferences.editing" /> + <child name="export" schema="org.yorba.shotwell.preferences.export" /> </schema> <schema id="org.yorba.shotwell.preferences.ui" path="/org/yorba/shotwell/preferences/ui/"> @@ -74,7 +75,7 @@ <key name="display-photo-ratings" type="b"> <default>true</default> <summary>display photo ratings</summary> - <description>True if a photo's rating should be displayed as overlaid trinket, false otherwise.</description> + <description>True if a photo’s rating should be displayed as overlaid trinket, false otherwise.</description> </key> <key name="photo-rating-filter" type="i"> @@ -163,8 +164,8 @@ <key name="hide-photos-already-imported" type="b"> <default>false</default> - <summary>Selection state of "hide photos" option</summary> - <description>Last used selection state of the "hide photos already imported" option in the import page.</description> + <summary>Selection state of “hide photos” option</summary> + <description>Last used selection state of the “hide photos already imported” option in the import page.</description> </key> </schema> @@ -290,12 +291,12 @@ </key> <key name="last-crop-width" type="i"> <default>1</default> - <summary>Most-recently-used crop custom aspect ratio's numerator.</summary> + <summary>Most-recently-used crop custom aspect ratio’s numerator.</summary> <description>A nonzero, positive integer representing the width part of the last custom crop ratio the user entered.</description> </key> <key name="last-crop-height" type="i"> <default>1</default> - <summary>Most-recently-used crop custom aspect ratio's denominator.</summary> + <summary>Most-recently-used crop custom aspect ratio’s denominator.</summary> <description>A nonzero, positive integer representing the height part of the last custom crop ratio the user entered.</description> </key> </schema> @@ -314,6 +315,75 @@ </key> </schema> +<enum id="org.yorba.shotwell.ScaleConstraint"> + <value value="0" nick="ORIGINAL" /> + <value value="1" nick="DIMENSIONS" /> + <value value="2" nick="WIDTH" /> + <value value="3" nick="HEIGHT" /> + <value value="4" nick="FILL_VIEWPORT" /> +</enum> + +<enum id="org.yorba.shotwell.ExportFormatMode"> + <value value="0" nick="UNMODIFIED" /> + <value value="1" nick="CURRENT" /> + <value value="2" nick="SPECIFIED" /> + <value value="3" nick="LAST" /> +</enum> + +<enum id="org.yorba.shotwell.PhotoFileFormat"> + <value value="0" nick="JFIF" /> + <value value="1" nick="RAW" /> + <value value="2" nick="PNG" /> + <value value="3" nick="TIFF" /> + <value value="4" nick="BMP" /> + <value value="5" nick="UNKNOWN" /> +</enum> + +<enum id="org.yorba.shotwell.JpegQuality"> + <value value="50" nick="LOW" /> + <value value="75" nick="MEDIUM" /> + <value value="90" nick="HIGH" /> + <value value="100" nick="MAXIMUM" /> +</enum> + +<schema id="org.yorba.shotwell.preferences.export" path="/org/yorba/shotwell/preferences/export/"> + <key name="constraint" enum="org.yorba.shotwell.ScaleConstraint"> + <default>'ORIGINAL'</default> + <summary>Setting in export dialog: how to trim images</summary> + <description>Setting in export dialog: how to trim images</description> + </key> + + <key name="export-metadata" type="b"> + <default>true</default> + <summary>export metadata</summary> + <description>Setting in export dialog: option to export metadata</description> + </key> + + <key name="export-format-mode" enum="org.yorba.shotwell.ExportFormatMode"> + <default>'CURRENT'</default> + <summary>format setting, special value</summary> + <description>Setting in export dialog: format setting, special value</description> + </key> + + <key name="photo-file-format" enum="org.yorba.shotwell.PhotoFileFormat"> + <default>'JFIF'</default> + <summary>format setting, type value</summary> + <description>Setting in export dialog: format setting, type value</description> + </key> + + <key name="quality" enum="org.yorba.shotwell.JpegQuality"> + <default>'HIGH'</default> + <summary>JPEG quality option</summary> + <description>Setting in export dialog: jpeg quality option</description> + </key> + + <key name="scale" type="i"> + <default>1200</default> + <summary>maximal size of image</summary> + <description>Setting in export dialog: maximal size of image</description> + </key> +</schema> + <schema id="org.yorba.shotwell.sharing" path="/org/yorba/shotwell/sharing/"> <key name="last-used-service" type="s"> <default>""</default> diff --git a/misc/shotwell.appdata.xml.in b/misc/shotwell.appdata.xml.in index 955ec1c..15a8e92 100644 --- a/misc/shotwell.appdata.xml.in +++ b/misc/shotwell.appdata.xml.in @@ -12,7 +12,7 @@ Shotwell is an easy-to-use, fast photo organizer designed for the GNOME desktop. It allows you to import photos from your camera or disk, organize them by date and subject matter, even ratings. It also offers basic photo editing, like crop, red-eye correction, - color adjustments, and straighten. Shotwell's non-destructive photo editor does not alter + color adjustments, and straighten. Shotwell’s non-destructive photo editor does not alter your master photos, making it easy to experiment and correct errors. </p> <p> diff --git a/plugins/common/RESTSupport.c b/plugins/common/RESTSupport.c index ea543cb..382d4fe 100644 --- a/plugins/common/RESTSupport.c +++ b/plugins/common/RESTSupport.c @@ -15,16 +15,14 @@ #include "shotwell-plugin-dev-1.0.h" #include <gee.h> #include <gio/gio.h> -#include <glib/gstdio.h> #include <glib/gi18n-lib.h> +#include <glib/gstdio.h> #include <libxml/tree.h> #include <libxml/parser.h> #include <float.h> #include <math.h> #include <json-glib/json-glib.h> #include <webkit2/webkit2.h> -#include <gtk/gtk.h> -#include <gdk/gdk.h> #include <gobject/gvaluecollector.h> #define _g_hmac_unref0(var) ((var == NULL) ? NULL : (var = (g_hmac_unref (var), NULL))) @@ -69,6 +67,7 @@ typedef struct _PublishingRESTSupportTransaction PublishingRESTSupportTransactio typedef struct _PublishingRESTSupportTransactionClass PublishingRESTSupportTransactionClass; typedef struct _PublishingRESTSupportTransactionPrivate PublishingRESTSupportTransactionPrivate; #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) +#define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL))) #define __vala_SoupURI_free0(var) ((var == NULL) ? NULL : (var = (_vala_SoupURI_free (var), NULL))) typedef struct _PublishingRESTSupportParamSpecTransaction PublishingRESTSupportParamSpecTransaction; @@ -98,7 +97,6 @@ typedef struct _PublishingRESTSupportXmlDocumentClass PublishingRESTSupportXmlDo typedef struct _PublishingRESTSupportXmlDocumentPrivate PublishingRESTSupportXmlDocumentPrivate; #define _publishing_rest_support_xml_document_unref0(var) ((var == NULL) ? NULL : (var = (publishing_rest_support_xml_document_unref (var), NULL))) typedef struct _PublishingRESTSupportParamSpecXmlDocument PublishingRESTSupportParamSpecXmlDocument; -#define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL))) #define PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER (publishing_rest_support_batch_uploader_get_type ()) #define PUBLISHING_REST_SUPPORT_BATCH_UPLOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader)) @@ -146,6 +144,16 @@ typedef struct _PublishingRESTSupportGooglePublisherPrivate PublishingRESTSuppor typedef struct _PublishingRESTSupportGooglePublisherGoogleSessionImpl PublishingRESTSupportGooglePublisherGoogleSessionImpl; typedef struct _PublishingRESTSupportGooglePublisherGoogleSessionImplClass PublishingRESTSupportGooglePublisherGoogleSessionImplClass; +#define SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE (shotwell_plugins_common_web_authentication_pane_get_type ()) +#define SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane)) +#define SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPaneClass)) +#define SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE)) +#define SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE)) +#define SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPaneClass)) + +typedef struct _ShotwellPluginsCommonWebAuthenticationPane ShotwellPluginsCommonWebAuthenticationPane; +typedef struct _ShotwellPluginsCommonWebAuthenticationPaneClass ShotwellPluginsCommonWebAuthenticationPaneClass; + #define PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE (publishing_rest_support_google_publisher_web_authentication_pane_get_type ()) #define PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_WEB_AUTHENTICATION_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE, PublishingRESTSupportGooglePublisherWebAuthenticationPane)) #define PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_WEB_AUTHENTICATION_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE, PublishingRESTSupportGooglePublisherWebAuthenticationPaneClass)) @@ -197,6 +205,7 @@ typedef struct _PublishingRESTSupportGooglePublisherAuthenticatedTransactionClas typedef struct _PublishingRESTSupportGooglePublisherUsernameFetchTransaction PublishingRESTSupportGooglePublisherUsernameFetchTransaction; typedef struct _PublishingRESTSupportGooglePublisherUsernameFetchTransactionClass PublishingRESTSupportGooglePublisherUsernameFetchTransactionClass; +typedef struct _ShotwellPluginsCommonWebAuthenticationPanePrivate ShotwellPluginsCommonWebAuthenticationPanePrivate; typedef struct _PublishingRESTSupportGooglePublisherWebAuthenticationPanePrivate PublishingRESTSupportGooglePublisherWebAuthenticationPanePrivate; typedef struct _PublishingRESTSupportGooglePublisherGetAccessTokensTransactionPrivate PublishingRESTSupportGooglePublisherGetAccessTokensTransactionPrivate; typedef struct _PublishingRESTSupportGooglePublisherRefreshAccessTokenTransactionPrivate PublishingRESTSupportGooglePublisherRefreshAccessTokenTransactionPrivate; @@ -388,19 +397,23 @@ struct _PublishingRESTSupportGooglePublisherGoogleSessionImplClass { PublishingRESTSupportGoogleSessionClass parent_class; }; -struct _PublishingRESTSupportGooglePublisherWebAuthenticationPane { +struct _ShotwellPluginsCommonWebAuthenticationPane { GObject parent_instance; - PublishingRESTSupportGooglePublisherWebAuthenticationPanePrivate * priv; + ShotwellPluginsCommonWebAuthenticationPanePrivate * priv; }; -struct _PublishingRESTSupportGooglePublisherWebAuthenticationPaneClass { +struct _ShotwellPluginsCommonWebAuthenticationPaneClass { GObjectClass parent_class; + void (*on_page_load) (ShotwellPluginsCommonWebAuthenticationPane* self); }; -struct _PublishingRESTSupportGooglePublisherWebAuthenticationPanePrivate { - WebKitWebView* webview; - GtkBox* pane_widget; - gchar* auth_sequence_start_url; +struct _PublishingRESTSupportGooglePublisherWebAuthenticationPane { + ShotwellPluginsCommonWebAuthenticationPane parent_instance; + PublishingRESTSupportGooglePublisherWebAuthenticationPanePrivate * priv; +}; + +struct _PublishingRESTSupportGooglePublisherWebAuthenticationPaneClass { + ShotwellPluginsCommonWebAuthenticationPaneClass parent_class; }; struct _PublishingRESTSupportGooglePublisherGetAccessTokensTransaction { @@ -452,7 +465,6 @@ static gpointer publishing_rest_support_google_publisher_google_session_impl_par static gpointer publishing_rest_support_google_publisher_web_authentication_pane_parent_class = NULL; static gboolean publishing_rest_support_google_publisher_web_authentication_pane_cache_dirty; static gboolean publishing_rest_support_google_publisher_web_authentication_pane_cache_dirty = FALSE; -static SpitPublishingDialogPaneIface* publishing_rest_support_google_publisher_web_authentication_pane_spit_publishing_dialog_pane_parent_iface = NULL; static gpointer publishing_rest_support_google_publisher_get_access_tokens_transaction_parent_class = NULL; static gpointer publishing_rest_support_google_publisher_refresh_access_token_transaction_parent_class = NULL; static gpointer publishing_rest_support_google_publisher_authenticated_transaction_parent_class = NULL; @@ -483,6 +495,7 @@ void publishing_rest_support_session_stop_transactions (PublishingRESTSupportSes gboolean publishing_rest_support_session_are_transactions_stopped (PublishingRESTSupportSession* self); void publishing_rest_support_session_send_wire_message (PublishingRESTSupportSession* self, SoupMessage* message); static void _publishing_rest_support_session_notify_wire_message_unqueued_soup_session_request_unqueued (SoupSession* _sender, SoupMessage* msg, gpointer self); +void publishing_rest_support_session_set_insecure (PublishingRESTSupportSession* self); static void publishing_rest_support_session_finalize (PublishingRESTSupportSession* obj); GType publishing_rest_support_http_method_get_type (void) G_GNUC_CONST; gchar* publishing_rest_support_http_method_to_string (PublishingRESTSupportHttpMethod self); @@ -524,6 +537,7 @@ PublishingRESTSupportTransaction* publishing_rest_support_transaction_construct_ static void publishing_rest_support_transaction_on_message_unqueued (PublishingRESTSupportTransaction* self, SoupMessage* message); void publishing_rest_support_transaction_check_response (PublishingRESTSupportTransaction* self, SoupMessage* message, GError** error); gchar* publishing_rest_support_transaction_get_response (PublishingRESTSupportTransaction* self); +gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (PublishingRESTSupportTransaction* self, GTlsCertificate** cert); gchar* publishing_rest_support_transaction_get_endpoint_url (PublishingRESTSupportTransaction* self); PublishingRESTSupportArgument** publishing_rest_support_transaction_get_arguments (PublishingRESTSupportTransaction* self, int* result_length1); static PublishingRESTSupportArgument** _vala_array_dup1 (PublishingRESTSupportArgument** self, int length); @@ -623,6 +637,7 @@ static void publishing_rest_support_google_session_real_deauthenticate (Publishi PublishingRESTSupportGoogleSession* publishing_rest_support_google_session_construct (GType object_type); GType publishing_rest_support_google_publisher_get_type (void) G_GNUC_CONST; static GType publishing_rest_support_google_publisher_google_session_impl_get_type (void) G_GNUC_CONST G_GNUC_UNUSED; +GType shotwell_plugins_common_web_authentication_pane_get_type (void) G_GNUC_CONST; static GType publishing_rest_support_google_publisher_web_authentication_pane_get_type (void) G_GNUC_CONST G_GNUC_UNUSED; #define PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisherPrivate)) enum { @@ -692,20 +707,11 @@ static gchar* publishing_rest_support_google_publisher_google_session_impl_real_ static gchar* publishing_rest_support_google_publisher_google_session_impl_real_get_refresh_token (PublishingRESTSupportGoogleSession* base); static void publishing_rest_support_google_publisher_google_session_impl_real_deauthenticate (PublishingRESTSupportGoogleSession* base); static void publishing_rest_support_google_publisher_google_session_impl_finalize (PublishingRESTSupportSession* obj); -#define PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_WEB_AUTHENTICATION_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE, PublishingRESTSupportGooglePublisherWebAuthenticationPanePrivate)) enum { PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_WEB_AUTHENTICATION_PANE_DUMMY_PROPERTY }; -static void publishing_rest_support_google_publisher_web_authentication_pane_on_page_load_changed (PublishingRESTSupportGooglePublisherWebAuthenticationPane* self, WebKitLoadEvent load_event); -static void _publishing_rest_support_google_publisher_web_authentication_pane_on_page_load_changed_webkit_web_view_load_changed (WebKitWebView* _sender, WebKitLoadEvent load_event, gpointer self); -static gboolean __lambda4_ (PublishingRESTSupportGooglePublisherWebAuthenticationPane* self); -static gboolean ___lambda4__webkit_web_view_context_menu (WebKitWebView* _sender, WebKitContextMenu* context_menu, GdkEvent* event, WebKitHitTestResult* hit_test_result, gpointer self); -static void publishing_rest_support_google_publisher_web_authentication_pane_on_page_load (PublishingRESTSupportGooglePublisherWebAuthenticationPane* self); -static void publishing_rest_support_google_publisher_web_authentication_pane_on_load_started (PublishingRESTSupportGooglePublisherWebAuthenticationPane* self); -static SpitPublishingDialogPaneGeometryOptions publishing_rest_support_google_publisher_web_authentication_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base); -static GtkWidget* publishing_rest_support_google_publisher_web_authentication_pane_real_get_widget (SpitPublishingDialogPane* base); -static void publishing_rest_support_google_publisher_web_authentication_pane_real_on_pane_installed (SpitPublishingDialogPane* base); -static void publishing_rest_support_google_publisher_web_authentication_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base); +static void publishing_rest_support_google_publisher_web_authentication_pane_real_on_page_load (ShotwellPluginsCommonWebAuthenticationPane* base); +WebKitWebView* shotwell_plugins_common_web_authentication_pane_get_view (ShotwellPluginsCommonWebAuthenticationPane* self); static void publishing_rest_support_google_publisher_web_authentication_pane_finalize (GObject* obj); enum { PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_GET_ACCESS_TOKENS_TRANSACTION_DUMMY_PROPERTY @@ -771,13 +777,13 @@ static guint8* string_get_data (const gchar* self, int* result_length1) { if (result_length1) { #line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result_length1 = _tmp4__length1; -#line 774 "RESTSupport.c" +#line 780 "RESTSupport.c" } #line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; #line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 780 "RESTSupport.c" +#line 786 "RESTSupport.c" } @@ -839,7 +845,7 @@ gchar* publishing_rest_support_hmac_sha1 (const gchar* key, const gchar* message _g_hmac_unref0 (mac); #line 22 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 842 "RESTSupport.c" +#line 848 "RESTSupport.c" } @@ -847,7 +853,7 @@ PublishingRESTSupportSession* publishing_rest_support_session_construct (GType o PublishingRESTSupportSession* self = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; - SoupSessionAsync* _tmp2_ = NULL; + SoupSession* _tmp2_ = NULL; SoupSession* _tmp3_ = NULL; #line 34 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportSession*) g_type_create_instance (object_type); @@ -860,18 +866,18 @@ PublishingRESTSupportSession* publishing_rest_support_session_construct (GType o #line 35 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->endpoint_url = _tmp1_; #line 36 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp2_ = (SoupSessionAsync*) soup_session_async_new (); + _tmp2_ = soup_session_new (); #line 36 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (self->priv->soup_session); #line 36 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - self->priv->soup_session = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, soup_session_get_type (), SoupSession); + self->priv->soup_session = _tmp2_; #line 37 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = self->priv->soup_session; #line 37 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_object_set (_tmp3_, "ssl-use-system-ca-file", TRUE, NULL); #line 34 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 874 "RESTSupport.c" +#line 880 "RESTSupport.c" } @@ -885,7 +891,7 @@ void publishing_rest_support_session_notify_wire_message_unqueued (PublishingRES _tmp0_ = message; #line 41 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_emit_by_name (self, "wire-message-unqueued", _tmp0_); -#line 888 "RESTSupport.c" +#line 894 "RESTSupport.c" } @@ -894,7 +900,7 @@ void publishing_rest_support_session_notify_authenticated (PublishingRESTSupport g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_SESSION (self)); #line 45 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_emit_by_name (self, "authenticated"); -#line 897 "RESTSupport.c" +#line 903 "RESTSupport.c" } @@ -906,7 +912,7 @@ void publishing_rest_support_session_notify_authentication_failed (PublishingRES _tmp0_ = err; #line 49 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_emit_by_name (self, "authentication-failed", _tmp0_); -#line 909 "RESTSupport.c" +#line 915 "RESTSupport.c" } @@ -915,7 +921,7 @@ static gboolean publishing_rest_support_session_real_is_authenticated (Publishin g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_session_is_authenticated'", g_type_name (G_TYPE_FROM_INSTANCE (self))); #line 52 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return FALSE; -#line 918 "RESTSupport.c" +#line 924 "RESTSupport.c" } @@ -924,7 +930,7 @@ gboolean publishing_rest_support_session_is_authenticated (PublishingRESTSupport g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_SESSION (self), FALSE); #line 52 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return PUBLISHING_REST_SUPPORT_SESSION_GET_CLASS (self)->is_authenticated (self); -#line 927 "RESTSupport.c" +#line 933 "RESTSupport.c" } @@ -942,7 +948,7 @@ gchar* publishing_rest_support_session_get_endpoint_url (PublishingRESTSupportSe result = _tmp1_; #line 55 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 945 "RESTSupport.c" +#line 951 "RESTSupport.c" } @@ -956,7 +962,7 @@ void publishing_rest_support_session_stop_transactions (PublishingRESTSupportSes _tmp0_ = self->priv->soup_session; #line 60 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" soup_session_abort (_tmp0_); -#line 959 "RESTSupport.c" +#line 965 "RESTSupport.c" } @@ -971,14 +977,14 @@ gboolean publishing_rest_support_session_are_transactions_stopped (PublishingRES result = _tmp0_; #line 64 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 974 "RESTSupport.c" +#line 980 "RESTSupport.c" } static void _publishing_rest_support_session_notify_wire_message_unqueued_soup_session_request_unqueued (SoupSession* _sender, SoupMessage* msg, gpointer self) { #line 71 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_session_notify_wire_message_unqueued ((PublishingRESTSupportSession*) self, msg); -#line 981 "RESTSupport.c" +#line 987 "RESTSupport.c" } @@ -999,7 +1005,7 @@ void publishing_rest_support_session_send_wire_message (PublishingRESTSupportSes if (_tmp0_) { #line 69 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 1002 "RESTSupport.c" +#line 1008 "RESTSupport.c" } #line 71 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->priv->soup_session; @@ -1017,14 +1023,31 @@ void publishing_rest_support_session_send_wire_message (PublishingRESTSupportSes g_signal_parse_name ("request-unqueued", soup_session_get_type (), &_tmp5_, NULL, FALSE); #line 74 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _publishing_rest_support_session_notify_wire_message_unqueued_soup_session_request_unqueued, self); -#line 1020 "RESTSupport.c" +#line 1026 "RESTSupport.c" +} + + +void publishing_rest_support_session_set_insecure (PublishingRESTSupportSession* self) { + SoupSession* _tmp0_ = NULL; + SoupSession* _tmp1_ = NULL; +#line 77 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_SESSION (self)); +#line 78 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp0_ = self->priv->soup_session; +#line 78 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_object_set (_tmp0_, "ssl-use-system-ca-file", FALSE, NULL); +#line 79 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp1_ = self->priv->soup_session; +#line 79 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_object_set (_tmp1_, "ssl-strict", FALSE, NULL); +#line 1043 "RESTSupport.c" } static void publishing_rest_support_value_session_init (GValue* value) { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 1027 "RESTSupport.c" +#line 1050 "RESTSupport.c" } @@ -1033,7 +1056,7 @@ static void publishing_rest_support_value_session_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_session_unref (value->data[0].v_pointer); -#line 1036 "RESTSupport.c" +#line 1059 "RESTSupport.c" } } @@ -1043,11 +1066,11 @@ static void publishing_rest_support_value_session_copy_value (const GValue* src_ if (src_value->data[0].v_pointer) { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" dest_value->data[0].v_pointer = publishing_rest_support_session_ref (src_value->data[0].v_pointer); -#line 1046 "RESTSupport.c" +#line 1069 "RESTSupport.c" } else { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" dest_value->data[0].v_pointer = NULL; -#line 1050 "RESTSupport.c" +#line 1073 "RESTSupport.c" } } @@ -1055,37 +1078,37 @@ static void publishing_rest_support_value_session_copy_value (const GValue* src_ static gpointer publishing_rest_support_value_session_peek_pointer (const GValue* value) { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return value->data[0].v_pointer; -#line 1058 "RESTSupport.c" +#line 1081 "RESTSupport.c" } static gchar* publishing_rest_support_value_session_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (collect_values[0].v_pointer) { -#line 1065 "RESTSupport.c" +#line 1088 "RESTSupport.c" PublishingRESTSupportSession* object; object = collect_values[0].v_pointer; #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (object->parent_instance.g_class == NULL) { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1072 "RESTSupport.c" +#line 1095 "RESTSupport.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1076 "RESTSupport.c" +#line 1099 "RESTSupport.c" } #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = publishing_rest_support_session_ref (object); -#line 1080 "RESTSupport.c" +#line 1103 "RESTSupport.c" } else { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 1084 "RESTSupport.c" +#line 1107 "RESTSupport.c" } #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 1088 "RESTSupport.c" +#line 1111 "RESTSupport.c" } @@ -1096,25 +1119,25 @@ static gchar* publishing_rest_support_value_session_lcopy_value (const GValue* v if (!object_p) { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 1099 "RESTSupport.c" +#line 1122 "RESTSupport.c" } #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!value->data[0].v_pointer) { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *object_p = NULL; -#line 1105 "RESTSupport.c" +#line 1128 "RESTSupport.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *object_p = value->data[0].v_pointer; -#line 1109 "RESTSupport.c" +#line 1132 "RESTSupport.c" } else { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *object_p = publishing_rest_support_session_ref (value->data[0].v_pointer); -#line 1113 "RESTSupport.c" +#line 1136 "RESTSupport.c" } #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 1117 "RESTSupport.c" +#line 1140 "RESTSupport.c" } @@ -1128,7 +1151,7 @@ GParamSpec* publishing_rest_support_param_spec_session (const gchar* name, const G_PARAM_SPEC (spec)->value_type = object_type; #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return G_PARAM_SPEC (spec); -#line 1131 "RESTSupport.c" +#line 1154 "RESTSupport.c" } @@ -1137,7 +1160,7 @@ gpointer publishing_rest_support_value_get_session (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_SESSION), NULL); #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return value->data[0].v_pointer; -#line 1140 "RESTSupport.c" +#line 1163 "RESTSupport.c" } @@ -1157,17 +1180,17 @@ void publishing_rest_support_value_set_session (GValue* value, gpointer v_object value->data[0].v_pointer = v_object; #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_session_ref (value->data[0].v_pointer); -#line 1160 "RESTSupport.c" +#line 1183 "RESTSupport.c" } else { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 1164 "RESTSupport.c" +#line 1187 "RESTSupport.c" } #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (old) { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_session_unref (old); -#line 1170 "RESTSupport.c" +#line 1193 "RESTSupport.c" } } @@ -1186,17 +1209,17 @@ void publishing_rest_support_value_take_session (GValue* value, gpointer v_objec g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = v_object; -#line 1189 "RESTSupport.c" +#line 1212 "RESTSupport.c" } else { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 1193 "RESTSupport.c" +#line 1216 "RESTSupport.c" } #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (old) { #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_session_unref (old); -#line 1199 "RESTSupport.c" +#line 1222 "RESTSupport.c" } } @@ -1216,7 +1239,7 @@ static void publishing_rest_support_session_class_init (PublishingRESTSupportSes g_signal_new ("authenticated", PUBLISHING_REST_SUPPORT_TYPE_SESSION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_new ("authentication_failed", PUBLISHING_REST_SUPPORT_TYPE_SESSION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER); -#line 1219 "RESTSupport.c" +#line 1242 "RESTSupport.c" } @@ -1231,7 +1254,7 @@ static void publishing_rest_support_session_instance_init (PublishingRESTSupport self->priv->transactions_stopped = FALSE; #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->ref_count = 1; -#line 1234 "RESTSupport.c" +#line 1257 "RESTSupport.c" } @@ -1245,7 +1268,7 @@ static void publishing_rest_support_session_finalize (PublishingRESTSupportSessi _g_free0 (self->priv->endpoint_url); #line 27 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (self->priv->soup_session); -#line 1248 "RESTSupport.c" +#line 1271 "RESTSupport.c" } @@ -1270,7 +1293,7 @@ gpointer publishing_rest_support_session_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return instance; -#line 1273 "RESTSupport.c" +#line 1296 "RESTSupport.c" } @@ -1283,59 +1306,59 @@ void publishing_rest_support_session_unref (gpointer instance) { PUBLISHING_REST_SUPPORT_SESSION_GET_CLASS (self)->finalize (self); #line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_type_free_instance ((GTypeInstance *) self); -#line 1286 "RESTSupport.c" +#line 1309 "RESTSupport.c" } } gchar* publishing_rest_support_http_method_to_string (PublishingRESTSupportHttpMethod self) { gchar* result = NULL; -#line 84 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 89 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" switch (self) { -#line 84 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 89 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" case PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET: -#line 1297 "RESTSupport.c" +#line 1320 "RESTSupport.c" { gchar* _tmp0_ = NULL; -#line 86 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 91 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = g_strdup ("GET"); -#line 86 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 91 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp0_; -#line 86 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 91 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 1306 "RESTSupport.c" +#line 1329 "RESTSupport.c" } -#line 84 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 89 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" case PUBLISHING_REST_SUPPORT_HTTP_METHOD_PUT: -#line 1310 "RESTSupport.c" +#line 1333 "RESTSupport.c" { gchar* _tmp1_ = NULL; -#line 89 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 94 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = g_strdup ("PUT"); -#line 89 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 94 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp1_; -#line 89 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 94 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 1319 "RESTSupport.c" +#line 1342 "RESTSupport.c" } -#line 84 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 89 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" case PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST: -#line 1323 "RESTSupport.c" +#line 1346 "RESTSupport.c" { gchar* _tmp2_ = NULL; -#line 92 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 97 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = g_strdup ("POST"); -#line 92 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 97 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp2_; -#line 92 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 97 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 1332 "RESTSupport.c" +#line 1355 "RESTSupport.c" } default: { -#line 95 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_error ("RESTSupport.vala:95: unrecognized HTTP method enumeration value"); -#line 1338 "RESTSupport.c" +#line 100 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_error ("RESTSupport.vala:100: unrecognized HTTP method enumeration value"); +#line 1361 "RESTSupport.c" } } } @@ -1344,46 +1367,46 @@ gchar* publishing_rest_support_http_method_to_string (PublishingRESTSupportHttpM PublishingRESTSupportHttpMethod publishing_rest_support_http_method_from_string (const gchar* str) { PublishingRESTSupportHttpMethod result = 0; const gchar* _tmp0_ = NULL; -#line 99 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 104 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (str != NULL, 0); -#line 100 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 105 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = str; -#line 100 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 105 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (g_strcmp0 (_tmp0_, "GET") == 0) { -#line 101 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 106 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET; -#line 101 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 106 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 1357 "RESTSupport.c" +#line 1380 "RESTSupport.c" } else { const gchar* _tmp1_ = NULL; -#line 102 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 107 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = str; -#line 102 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 107 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (g_strcmp0 (_tmp1_, "PUT") == 0) { -#line 103 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 108 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = PUBLISHING_REST_SUPPORT_HTTP_METHOD_PUT; -#line 103 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 108 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 1368 "RESTSupport.c" +#line 1391 "RESTSupport.c" } else { const gchar* _tmp2_ = NULL; -#line 104 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 109 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = str; -#line 104 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 109 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (g_strcmp0 (_tmp2_, "POST") == 0) { -#line 105 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST; -#line 105 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 1379 "RESTSupport.c" +#line 1402 "RESTSupport.c" } else { const gchar* _tmp3_ = NULL; -#line 107 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = str; -#line 107 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_error ("RESTSupport.vala:107: unrecognized HTTP method name: %s", _tmp3_); -#line 1386 "RESTSupport.c" +#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_error ("RESTSupport.vala:112: unrecognized HTTP method name: %s", _tmp3_); +#line 1409 "RESTSupport.c" } } } @@ -1408,38 +1431,38 @@ PublishingRESTSupportArgument* publishing_rest_support_argument_construct (GType gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 116 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 121 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (key != NULL, NULL); -#line 116 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 121 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (value != NULL, NULL); -#line 116 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 121 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportArgument*) g_type_create_instance (object_type); -#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = key; -#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = g_strdup (_tmp0_); -#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->key); -#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->key = _tmp1_; -#line 118 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 123 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = value; -#line 118 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 123 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = g_strdup (_tmp2_); -#line 118 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 123 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->value); -#line 118 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 123 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->value = _tmp3_; -#line 116 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 121 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 1435 "RESTSupport.c" +#line 1458 "RESTSupport.c" } PublishingRESTSupportArgument* publishing_rest_support_argument_new (const gchar* key, const gchar* value) { -#line 116 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 121 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return publishing_rest_support_argument_construct (PUBLISHING_REST_SUPPORT_TYPE_ARGUMENT, key, value); -#line 1442 "RESTSupport.c" +#line 1465 "RESTSupport.c" } @@ -1451,43 +1474,43 @@ gint publishing_rest_support_argument_compare (PublishingRESTSupportArgument* ar PublishingRESTSupportArgument* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gint _tmp5_ = 0; -#line 121 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 126 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_ARGUMENT (arg1), 0); -#line 121 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 126 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_ARGUMENT (arg2), 0); -#line 122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 127 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = g_strcmp0; -#line 122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 127 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = arg1; -#line 122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 127 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = _tmp1_->key; -#line 122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 127 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = arg2; -#line 122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 127 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = _tmp3_->key; -#line 122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 127 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = _tmp0_ (_tmp2_, _tmp4_); -#line 122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 127 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp5_; -#line 122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 127 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 1474 "RESTSupport.c" +#line 1497 "RESTSupport.c" } static gint _publishing_rest_support_argument_compare_gcompare_data_func (gconstpointer a, gconstpointer b, gpointer self) { gint result; result = publishing_rest_support_argument_compare ((PublishingRESTSupportArgument*) a, (PublishingRESTSupportArgument*) b); -#line 126 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 131 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 1483 "RESTSupport.c" +#line 1506 "RESTSupport.c" } static gpointer _publishing_rest_support_argument_ref0 (gpointer self) { -#line 128 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self ? publishing_rest_support_argument_ref (self) : NULL; -#line 1490 "RESTSupport.c" +#line 1513 "RESTSupport.c" } @@ -1502,70 +1525,70 @@ PublishingRESTSupportArgument** publishing_rest_support_argument_sort (Publishin gpointer* _tmp7_ = NULL; PublishingRESTSupportArgument** _tmp8_ = NULL; gint _tmp8__length1 = 0; -#line 126 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 131 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = gee_tree_set_new (PUBLISHING_REST_SUPPORT_TYPE_ARGUMENT, (GBoxedCopyFunc) publishing_rest_support_argument_ref, publishing_rest_support_argument_unref, _publishing_rest_support_argument_compare_gcompare_data_func, NULL, NULL); -#line 126 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 131 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" sorted_args = _tmp0_; -#line 128 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = inputArray; -#line 128 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1__length1 = inputArray_length1; -#line 1513 "RESTSupport.c" +#line 1536 "RESTSupport.c" { PublishingRESTSupportArgument** arg_collection = NULL; gint arg_collection_length1 = 0; gint _arg_collection_size_ = 0; gint arg_it = 0; -#line 128 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" arg_collection = _tmp1_; -#line 128 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" arg_collection_length1 = _tmp1__length1; -#line 128 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" for (arg_it = 0; arg_it < _tmp1__length1; arg_it = arg_it + 1) { -#line 1525 "RESTSupport.c" +#line 1548 "RESTSupport.c" PublishingRESTSupportArgument* _tmp2_ = NULL; PublishingRESTSupportArgument* arg = NULL; -#line 128 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = _publishing_rest_support_argument_ref0 (arg_collection[arg_it]); -#line 128 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" arg = _tmp2_; -#line 1532 "RESTSupport.c" +#line 1555 "RESTSupport.c" { GeeTreeSet* _tmp3_ = NULL; PublishingRESTSupportArgument* _tmp4_ = NULL; -#line 129 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 134 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = sorted_args; -#line 129 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 134 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = arg; -#line 129 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 134 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp4_); -#line 128 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_argument_unref0 (arg); -#line 1544 "RESTSupport.c" +#line 1567 "RESTSupport.c" } } } -#line 131 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = sorted_args; -#line 131 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = gee_collection_to_array (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_COLLECTION, GeeCollection), &_tmp6_); -#line 131 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = _tmp7_; -#line 131 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8__length1 = _tmp6_; -#line 131 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (result_length1) { -#line 131 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *result_length1 = _tmp8__length1; -#line 1560 "RESTSupport.c" +#line 1583 "RESTSupport.c" } -#line 131 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp8_; -#line 131 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (sorted_args); -#line 131 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 1568 "RESTSupport.c" +#line 1591 "RESTSupport.c" } @@ -1574,229 +1597,229 @@ gchar* publishing_rest_support_argument_to_string (PublishingRESTSupportArgument const gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; -#line 134 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_ARGUMENT (self), NULL); -#line 135 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 140 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->key; -#line 135 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 140 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->value; -#line 135 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 140 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = g_strdup_printf ("%s=%s", _tmp0_, _tmp1_); -#line 135 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 140 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp2_; -#line 135 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 140 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 1589 "RESTSupport.c" +#line 1612 "RESTSupport.c" } static void publishing_rest_support_value_argument_init (GValue* value) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 1596 "RESTSupport.c" +#line 1619 "RESTSupport.c" } static void publishing_rest_support_value_argument_free_value (GValue* value) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (value->data[0].v_pointer) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_argument_unref (value->data[0].v_pointer); -#line 1605 "RESTSupport.c" +#line 1628 "RESTSupport.c" } } static void publishing_rest_support_value_argument_copy_value (const GValue* src_value, GValue* dest_value) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (src_value->data[0].v_pointer) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" dest_value->data[0].v_pointer = publishing_rest_support_argument_ref (src_value->data[0].v_pointer); -#line 1615 "RESTSupport.c" +#line 1638 "RESTSupport.c" } else { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" dest_value->data[0].v_pointer = NULL; -#line 1619 "RESTSupport.c" +#line 1642 "RESTSupport.c" } } static gpointer publishing_rest_support_value_argument_peek_pointer (const GValue* value) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return value->data[0].v_pointer; -#line 1627 "RESTSupport.c" +#line 1650 "RESTSupport.c" } static gchar* publishing_rest_support_value_argument_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (collect_values[0].v_pointer) { -#line 1634 "RESTSupport.c" +#line 1657 "RESTSupport.c" PublishingRESTSupportArgument* object; object = collect_values[0].v_pointer; -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (object->parent_instance.g_class == NULL) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1641 "RESTSupport.c" +#line 1664 "RESTSupport.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1645 "RESTSupport.c" +#line 1668 "RESTSupport.c" } -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = publishing_rest_support_argument_ref (object); -#line 1649 "RESTSupport.c" +#line 1672 "RESTSupport.c" } else { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 1653 "RESTSupport.c" +#line 1676 "RESTSupport.c" } -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 1657 "RESTSupport.c" +#line 1680 "RESTSupport.c" } static gchar* publishing_rest_support_value_argument_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PublishingRESTSupportArgument** object_p; object_p = collect_values[0].v_pointer; -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!object_p) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 1668 "RESTSupport.c" +#line 1691 "RESTSupport.c" } -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!value->data[0].v_pointer) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *object_p = NULL; -#line 1674 "RESTSupport.c" +#line 1697 "RESTSupport.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *object_p = value->data[0].v_pointer; -#line 1678 "RESTSupport.c" +#line 1701 "RESTSupport.c" } else { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *object_p = publishing_rest_support_argument_ref (value->data[0].v_pointer); -#line 1682 "RESTSupport.c" +#line 1705 "RESTSupport.c" } -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 1686 "RESTSupport.c" +#line 1709 "RESTSupport.c" } GParamSpec* publishing_rest_support_param_spec_argument (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { PublishingRESTSupportParamSpecArgument* spec; -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_REST_SUPPORT_TYPE_ARGUMENT), NULL); -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return G_PARAM_SPEC (spec); -#line 1700 "RESTSupport.c" +#line 1723 "RESTSupport.c" } gpointer publishing_rest_support_value_get_argument (const GValue* value) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_ARGUMENT), NULL); -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return value->data[0].v_pointer; -#line 1709 "RESTSupport.c" +#line 1732 "RESTSupport.c" } void publishing_rest_support_value_set_argument (GValue* value, gpointer v_object) { PublishingRESTSupportArgument* old; -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_ARGUMENT)); -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" old = value->data[0].v_pointer; -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (v_object) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_REST_SUPPORT_TYPE_ARGUMENT)); -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = v_object; -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_argument_ref (value->data[0].v_pointer); -#line 1729 "RESTSupport.c" +#line 1752 "RESTSupport.c" } else { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 1733 "RESTSupport.c" +#line 1756 "RESTSupport.c" } -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (old) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_argument_unref (old); -#line 1739 "RESTSupport.c" +#line 1762 "RESTSupport.c" } } void publishing_rest_support_value_take_argument (GValue* value, gpointer v_object) { PublishingRESTSupportArgument* old; -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_ARGUMENT)); -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" old = value->data[0].v_pointer; -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (v_object) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_REST_SUPPORT_TYPE_ARGUMENT)); -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = v_object; -#line 1758 "RESTSupport.c" +#line 1781 "RESTSupport.c" } else { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 1762 "RESTSupport.c" +#line 1785 "RESTSupport.c" } -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (old) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_argument_unref (old); -#line 1768 "RESTSupport.c" +#line 1791 "RESTSupport.c" } } static void publishing_rest_support_argument_class_init (PublishingRESTSupportArgumentClass * klass) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_argument_parent_class = g_type_class_peek_parent (klass); -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportArgumentClass *) klass)->finalize = publishing_rest_support_argument_finalize; -#line 1778 "RESTSupport.c" +#line 1801 "RESTSupport.c" } static void publishing_rest_support_argument_instance_init (PublishingRESTSupportArgument * self) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->ref_count = 1; -#line 1785 "RESTSupport.c" +#line 1808 "RESTSupport.c" } static void publishing_rest_support_argument_finalize (PublishingRESTSupportArgument* obj) { PublishingRESTSupportArgument * self; -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_REST_SUPPORT_TYPE_ARGUMENT, PublishingRESTSupportArgument); -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_destroy (self); -#line 113 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 118 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->key); -#line 114 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 119 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->value); -#line 1799 "RESTSupport.c" +#line 1822 "RESTSupport.c" } @@ -1817,32 +1840,32 @@ GType publishing_rest_support_argument_get_type (void) { gpointer publishing_rest_support_argument_ref (gpointer instance) { PublishingRESTSupportArgument* self; self = instance; -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_atomic_int_inc (&self->ref_count); -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return instance; -#line 1824 "RESTSupport.c" +#line 1847 "RESTSupport.c" } void publishing_rest_support_argument_unref (gpointer instance) { PublishingRESTSupportArgument* self; self = instance; -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" PUBLISHING_REST_SUPPORT_ARGUMENT_GET_CLASS (self)->finalize (self); -#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_type_free_instance ((GTypeInstance *) self); -#line 1837 "RESTSupport.c" +#line 1860 "RESTSupport.c" } } static void _publishing_rest_support_transaction_on_wrote_body_data_soup_message_wrote_body_data (SoupMessage* _sender, SoupBuffer* chunk, gpointer self) { -#line 161 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 166 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_on_wrote_body_data ((PublishingRESTSupportTransaction*) self, chunk); -#line 1845 "RESTSupport.c" +#line 1868 "RESTSupport.c" } @@ -1860,60 +1883,60 @@ PublishingRESTSupportTransaction* publishing_rest_support_transaction_construct gchar* _tmp9_ = NULL; SoupMessage* _tmp10_ = NULL; SoupMessage* _tmp11_ = NULL; -#line 153 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 158 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_SESSION (parent_session), NULL); -#line 153 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 158 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportTransaction*) g_type_create_instance (object_type); -#line 156 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 161 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = parent_session; -#line 156 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 161 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = publishing_rest_support_session_get_endpoint_url (_tmp0_); -#line 156 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 161 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = _tmp1_; -#line 156 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 161 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _vala_assert (_tmp2_ != NULL, "parent_session.get_endpoint_url() != null"); -#line 156 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 161 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp2_); -#line 158 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 163 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = parent_session; -#line 158 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 163 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->parent_session = _tmp3_; -#line 160 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 165 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = method; -#line 160 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 165 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = publishing_rest_support_http_method_to_string (_tmp4_); -#line 160 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 165 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = _tmp5_; -#line 160 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 165 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = parent_session; -#line 160 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 165 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = publishing_rest_support_session_get_endpoint_url (_tmp7_); -#line 160 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 165 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = _tmp8_; -#line 160 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 165 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = soup_message_new (_tmp6_, _tmp9_); -#line 160 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 165 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (self->priv->message); -#line 160 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 165 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->message = _tmp10_; -#line 160 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 165 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp9_); -#line 160 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 165 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp6_); -#line 161 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 166 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp11_ = self->priv->message; -#line 161 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 166 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_connect (_tmp11_, "wrote-body-data", (GCallback) _publishing_rest_support_transaction_on_wrote_body_data_soup_message_wrote_body_data, self); -#line 153 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 158 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 1909 "RESTSupport.c" +#line 1932 "RESTSupport.c" } PublishingRESTSupportTransaction* publishing_rest_support_transaction_new (PublishingRESTSupportSession* parent_session, PublishingRESTSupportHttpMethod method) { -#line 153 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 158 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return publishing_rest_support_transaction_construct (PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, parent_session, method); -#line 1916 "RESTSupport.c" +#line 1939 "RESTSupport.c" } @@ -1927,50 +1950,50 @@ PublishingRESTSupportTransaction* publishing_rest_support_transaction_construct_ gchar* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; SoupMessage* _tmp7_ = NULL; -#line 164 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 169 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_SESSION (parent_session), NULL); -#line 164 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 169 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (endpoint_url != NULL, NULL); -#line 164 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 169 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportTransaction*) g_type_create_instance (object_type); -#line 166 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 171 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = parent_session; -#line 166 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 171 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->parent_session = _tmp0_; -#line 167 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 172 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = endpoint_url; -#line 167 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 172 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = g_strdup (_tmp1_); -#line 167 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 172 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->priv->endpoint_url); -#line 167 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 172 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->endpoint_url = _tmp2_; -#line 168 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = method; -#line 168 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = publishing_rest_support_http_method_to_string (_tmp3_); -#line 168 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = _tmp4_; -#line 168 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = endpoint_url; -#line 168 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = soup_message_new (_tmp5_, _tmp6_); -#line 168 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (self->priv->message); -#line 168 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->message = _tmp7_; -#line 168 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp5_); -#line 164 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 169 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 1966 "RESTSupport.c" +#line 1989 "RESTSupport.c" } PublishingRESTSupportTransaction* publishing_rest_support_transaction_new_with_endpoint_url (PublishingRESTSupportSession* parent_session, const gchar* endpoint_url, PublishingRESTSupportHttpMethod method) { -#line 164 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 169 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return publishing_rest_support_transaction_construct_with_endpoint_url (PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, parent_session, endpoint_url, method); -#line 1973 "RESTSupport.c" +#line 1996 "RESTSupport.c" } @@ -1982,36 +2005,36 @@ static void publishing_rest_support_transaction_on_wrote_body_data (PublishingRE SoupMessage* _tmp4_ = NULL; SoupMessageBody* _tmp5_ = NULL; gint64 _tmp6_ = 0LL; -#line 171 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 176 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self)); -#line 171 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 176 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (written_data != NULL); -#line 172 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 177 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->bytes_written; -#line 172 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 177 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = written_data; -#line 172 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 177 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = _tmp1_->length; -#line 172 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 177 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->bytes_written = _tmp0_ + ((gint) _tmp2_); -#line 173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 178 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = self->priv->bytes_written; -#line 173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 178 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = self->priv->message; -#line 173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 178 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = _tmp4_->request_body; -#line 173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 178 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = _tmp5_->length; -#line 173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 178 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_emit_by_name (self, "chunk-transmitted", _tmp3_, (gint) _tmp6_); -#line 2007 "RESTSupport.c" +#line 2030 "RESTSupport.c" } static gpointer _g_error_copy0 (gpointer self) { -#line 185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self ? g_error_copy (self) : NULL; -#line 2014 "RESTSupport.c" +#line 2037 "RESTSupport.c" } @@ -2019,40 +2042,40 @@ static void publishing_rest_support_transaction_on_message_unqueued (PublishingR SoupMessage* _tmp0_ = NULL; SoupMessage* _tmp1_ = NULL; GError * _inner_error_ = NULL; -#line 176 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 181 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self)); -#line 176 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 181 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (SOUP_IS_MESSAGE (message)); -#line 177 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 182 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->message; -#line 177 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 182 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = message; -#line 177 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 182 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp0_ != _tmp1_) { -#line 178 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 183 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2034 "RESTSupport.c" +#line 2057 "RESTSupport.c" } { SoupMessage* _tmp2_ = NULL; -#line 181 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 186 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = message; -#line 181 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 186 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_check_response (self, _tmp2_, &_inner_error_); -#line 181 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 186 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 181 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 186 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 2046 "RESTSupport.c" +#line 2069 "RESTSupport.c" goto __catch0_spit_publishing_publishing_error; } -#line 181 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 186 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" 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); -#line 181 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 186 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 181 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 186 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2055 "RESTSupport.c" +#line 2078 "RESTSupport.c" } } goto __finally0; @@ -2065,50 +2088,345 @@ static void publishing_rest_support_transaction_on_message_unqueued (PublishingR gchar* _tmp6_ = NULL; GError* _tmp7_ = NULL; GError* _tmp8_ = NULL; -#line 180 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" err = _inner_error_; -#line 180 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = NULL; -#line 183 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 188 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = err; -#line 183 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 188 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = _tmp3_->message; -#line 183 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_warning ("RESTSupport.vala:183: Publishing error: %s", _tmp4_); -#line 184 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 188 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_warning ("RESTSupport.vala:188: Publishing error: %s", _tmp4_); +#line 189 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = publishing_rest_support_transaction_get_response (self); -#line 184 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 189 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = _tmp5_; -#line 184 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_warning ("RESTSupport.vala:184: response validation failed. bad response = '%s'.", _tmp6_); -#line 184 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 189 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_warning ("RESTSupport.vala:189: response validation failed. bad response = '%s'.", _tmp6_); +#line 189 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp6_); -#line 185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = err; -#line 185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = _g_error_copy0 (_tmp7_); -#line 185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_error_free0 (self->priv->err); -#line 185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->err = _tmp8_; -#line 180 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_error_free0 (err); -#line 2096 "RESTSupport.c" +#line 2119 "RESTSupport.c" } __finally0: -#line 180 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 180 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 180 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 180 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2107 "RESTSupport.c" +#line 2130 "RESTSupport.c" } } +static gpointer _g_object_ref0 (gpointer self) { +#line 197 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + return self ? g_object_ref (self) : NULL; +#line 2138 "RESTSupport.c" +} + + +gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (PublishingRESTSupportTransaction* self, GTlsCertificate** cert) { + GTlsCertificate* _vala_cert = NULL; + gchar* result = NULL; + GTlsCertificateFlags tls_errors = 0; + SoupMessage* _tmp0_ = NULL; + GTlsCertificate* _tmp1_ = NULL; + GTlsCertificateFlags _tmp2_ = 0; + GTlsCertificate* _tmp3_ = NULL; + GeeArrayList* list = NULL; + GeeArrayList* _tmp4_ = NULL; + GTlsCertificateFlags _tmp5_ = 0; + GTlsCertificateFlags _tmp8_ = 0; + GTlsCertificateFlags _tmp11_ = 0; + GTlsCertificateFlags _tmp14_ = 0; + GTlsCertificateFlags _tmp17_ = 0; + GTlsCertificateFlags _tmp20_ = 0; + GTlsCertificateFlags _tmp23_ = 0; + GString* builder = NULL; + GString* _tmp26_ = NULL; + GeeArrayList* _tmp27_ = NULL; + gint _tmp28_ = 0; + gint _tmp29_ = 0; + GString* _tmp47_ = NULL; + const gchar* _tmp48_ = NULL; + gchar* _tmp49_ = NULL; +#line 195 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self), NULL); +#line 197 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp0_ = self->priv->message; +#line 197 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + soup_message_get_https_status (_tmp0_, &_tmp1_, &_tmp2_); +#line 197 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _g_object_unref0 (_vala_cert); +#line 197 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp3_ = _g_object_ref0 (_tmp1_); +#line 197 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _vala_cert = _tmp3_; +#line 197 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + tls_errors = _tmp2_; +#line 199 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp4_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL); +#line 199 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + list = _tmp4_; +#line 200 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp5_ = tls_errors; +#line 200 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + if ((_tmp5_ & G_TLS_CERTIFICATE_BAD_IDENTITY) == G_TLS_CERTIFICATE_BAD_IDENTITY) { +#line 2189 "RESTSupport.c" + GeeArrayList* _tmp6_ = NULL; + const gchar* _tmp7_ = NULL; +#line 202 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp6_ = list; +#line 202 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp7_ = _ ("⚫ This website presented identification that belongs to a different we" \ +"bsite."); +#line 202 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp7_); +#line 2198 "RESTSupport.c" + } +#line 205 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp8_ = tls_errors; +#line 205 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + if ((_tmp8_ & G_TLS_CERTIFICATE_EXPIRED) == G_TLS_CERTIFICATE_EXPIRED) { +#line 2204 "RESTSupport.c" + GeeArrayList* _tmp9_ = NULL; + const gchar* _tmp10_ = NULL; +#line 207 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp9_ = list; +#line 207 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp10_ = _ ("⚫ This website’s identification is too old to trust. Check the date on" \ +" your computer’s calendar."); +#line 207 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp10_); +#line 2213 "RESTSupport.c" + } +#line 210 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp11_ = tls_errors; +#line 210 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + if ((_tmp11_ & G_TLS_CERTIFICATE_UNKNOWN_CA) == G_TLS_CERTIFICATE_UNKNOWN_CA) { +#line 2219 "RESTSupport.c" + GeeArrayList* _tmp12_ = NULL; + const gchar* _tmp13_ = NULL; +#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp12_ = list; +#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp13_ = _ ("⚫ This website’s identification was not issued by a trusted organizati" \ +"on."); +#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp13_); +#line 2228 "RESTSupport.c" + } +#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp14_ = tls_errors; +#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + if ((_tmp14_ & G_TLS_CERTIFICATE_GENERIC_ERROR) == G_TLS_CERTIFICATE_GENERIC_ERROR) { +#line 2234 "RESTSupport.c" + GeeArrayList* _tmp15_ = NULL; + const gchar* _tmp16_ = NULL; +#line 217 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp15_ = list; +#line 217 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp16_ = _ ("⚫ This website’s identification could not be processed. It may be corr" \ +"upted."); +#line 217 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp16_); +#line 2243 "RESTSupport.c" + } +#line 220 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp17_ = tls_errors; +#line 220 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + if ((_tmp17_ & G_TLS_CERTIFICATE_REVOKED) == G_TLS_CERTIFICATE_REVOKED) { +#line 2249 "RESTSupport.c" + GeeArrayList* _tmp18_ = NULL; + const gchar* _tmp19_ = NULL; +#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp18_ = list; +#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp19_ = _ ("⚫ This website’s identification has been revoked by the trusted organi" \ +"zation that issued it."); +#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp19_); +#line 2258 "RESTSupport.c" + } +#line 225 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp20_ = tls_errors; +#line 225 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + if ((_tmp20_ & G_TLS_CERTIFICATE_INSECURE) == G_TLS_CERTIFICATE_INSECURE) { +#line 2264 "RESTSupport.c" + GeeArrayList* _tmp21_ = NULL; + const gchar* _tmp22_ = NULL; +#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp21_ = list; +#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp22_ = _ ("⚫ This website’s identification cannot be trusted because it uses very" \ +" weak encryption."); +#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp22_); +#line 2273 "RESTSupport.c" + } +#line 230 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp23_ = tls_errors; +#line 230 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + if ((_tmp23_ & G_TLS_CERTIFICATE_NOT_ACTIVATED) == G_TLS_CERTIFICATE_NOT_ACTIVATED) { +#line 2279 "RESTSupport.c" + GeeArrayList* _tmp24_ = NULL; + const gchar* _tmp25_ = NULL; +#line 232 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp24_ = list; +#line 232 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp25_ = _ ("⚫ This website’s identification is only valid for future dates. Check " \ +"the date on your computer’s calendar."); +#line 232 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp25_); +#line 2288 "RESTSupport.c" + } +#line 235 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp26_ = g_string_new (""); +#line 235 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + builder = _tmp26_; +#line 236 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp27_ = list; +#line 236 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp28_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, GEE_TYPE_COLLECTION, GeeCollection)); +#line 236 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp29_ = _tmp28_; +#line 236 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + if (_tmp29_ == 1) { +#line 2302 "RESTSupport.c" + GString* _tmp30_ = NULL; + GeeArrayList* _tmp31_ = NULL; + gpointer _tmp32_ = NULL; + gchar* _tmp33_ = NULL; +#line 237 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp30_ = builder; +#line 237 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp31_ = list; +#line 237 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp32_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), 0); +#line 237 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp33_ = (gchar*) _tmp32_; +#line 237 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_string_append (_tmp30_, _tmp33_); +#line 237 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _g_free0 (_tmp33_); +#line 2319 "RESTSupport.c" + } else { + { + GeeArrayList* _entry_list = NULL; + GeeArrayList* _tmp34_ = NULL; + GeeArrayList* _tmp35_ = NULL; + gint _entry_size = 0; + GeeArrayList* _tmp36_ = NULL; + gint _tmp37_ = 0; + gint _tmp38_ = 0; + gint _entry_index = 0; +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp34_ = list; +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp35_ = _g_object_ref0 (_tmp34_); +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _entry_list = _tmp35_; +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp36_ = _entry_list; +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp37_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, GEE_TYPE_COLLECTION, GeeCollection)); +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp38_ = _tmp37_; +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _entry_size = _tmp38_; +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _entry_index = -1; +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + while (TRUE) { +#line 2348 "RESTSupport.c" + gint _tmp39_ = 0; + gint _tmp40_ = 0; + gint _tmp41_ = 0; + gchar* entry = NULL; + GeeArrayList* _tmp42_ = NULL; + gint _tmp43_ = 0; + gpointer _tmp44_ = NULL; + GString* _tmp45_ = NULL; + const gchar* _tmp46_ = NULL; +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp39_ = _entry_index; +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _entry_index = _tmp39_ + 1; +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp40_ = _entry_index; +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp41_ = _entry_size; +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + if (!(_tmp40_ < _tmp41_)) { +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + break; +#line 2370 "RESTSupport.c" + } +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp42_ = _entry_list; +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp43_ = _entry_index; +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp44_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp43_); +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + entry = (gchar*) _tmp44_; +#line 240 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp45_ = builder; +#line 240 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp46_ = entry; +#line 240 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_string_append_printf (_tmp45_, "%s\n", _tmp46_); +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _g_free0 (entry); +#line 2388 "RESTSupport.c" + } +#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _g_object_unref0 (_entry_list); +#line 2392 "RESTSupport.c" + } + } +#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp47_ = builder; +#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp48_ = _tmp47_->str; +#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp49_ = g_strdup (_tmp48_); +#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + result = _tmp49_; +#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _g_string_free0 (builder); +#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _g_object_unref0 (list); +#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + if (cert) { +#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + *cert = _vala_cert; +#line 2411 "RESTSupport.c" + } else { +#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _g_object_unref0 (_vala_cert); +#line 2415 "RESTSupport.c" + } +#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + return result; +#line 2419 "RESTSupport.c" +} + + void publishing_rest_support_transaction_check_response (PublishingRESTSupportTransaction* self, SoupMessage* message, GError** error) { SoupMessage* _tmp0_ = NULL; guint _tmp1_ = 0U; @@ -2119,33 +2437,33 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr guint8* _tmp45_ = NULL; gint _tmp45__length1 = 0; GError * _inner_error_ = NULL; -#line 189 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 247 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self)); -#line 189 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 247 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (SOUP_IS_MESSAGE (message)); -#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = message; -#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_object_get (_tmp0_, "status-code", &_tmp1_, NULL); -#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = _tmp1_; -#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" switch (_tmp2_) { -#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" case SOUP_STATUS_OK: -#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" case SOUP_STATUS_CREATED: -#line 2138 "RESTSupport.c" +#line 2449 "RESTSupport.c" { -#line 194 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 252 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" break; -#line 2142 "RESTSupport.c" +#line 2453 "RESTSupport.c" } -#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" case SOUP_STATUS_CANT_RESOLVE: -#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" case SOUP_STATUS_CANT_RESOLVE_PROXY: -#line 2148 "RESTSupport.c" +#line 2459 "RESTSupport.c" { gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; @@ -2154,46 +2472,46 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr guint _tmp7_ = 0U; GError* _tmp8_ = NULL; GError* _tmp9_ = NULL; -#line 198 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = publishing_rest_support_transaction_get_endpoint_url (self); -#line 198 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = _tmp3_; -#line 198 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = message; -#line 198 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_object_get (_tmp5_, "status-code", &_tmp6_, NULL); -#line 198 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = _tmp6_; -#line 198 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_NO_ANSWER, "Unable to resolve %s (error code %u)", _tmp4_, _tmp7_); -#line 198 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = _tmp8_; -#line 198 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp4_); -#line 198 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = _tmp9_; -#line 198 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 198 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 198 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2181 "RESTSupport.c" +#line 2492 "RESTSupport.c" } else { -#line 198 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 198 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 198 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2189 "RESTSupport.c" +#line 2500 "RESTSupport.c" } } -#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" case SOUP_STATUS_CANT_CONNECT: -#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" case SOUP_STATUS_CANT_CONNECT_PROXY: -#line 2196 "RESTSupport.c" +#line 2507 "RESTSupport.c" { gchar* _tmp10_ = NULL; gchar* _tmp11_ = NULL; @@ -2202,76 +2520,76 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr guint _tmp14_ = 0U; GError* _tmp15_ = NULL; GError* _tmp16_ = NULL; -#line 203 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = publishing_rest_support_transaction_get_endpoint_url (self); -#line 203 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp11_ = _tmp10_; -#line 203 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp12_ = message; -#line 203 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_object_get (_tmp12_, "status-code", &_tmp13_, NULL); -#line 203 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp14_ = _tmp13_; -#line 203 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp15_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_NO_ANSWER, "Unable to connect to %s (error code %u)", _tmp11_, _tmp14_); -#line 203 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp16_ = _tmp15_; -#line 203 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp11_); -#line 203 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = _tmp16_; -#line 203 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 203 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 203 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2229 "RESTSupport.c" +#line 2540 "RESTSupport.c" } else { -#line 203 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 203 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 203 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2237 "RESTSupport.c" +#line 2548 "RESTSupport.c" } } -#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" case SOUP_STATUS_SSL_FAILED: -#line 2242 "RESTSupport.c" +#line 2553 "RESTSupport.c" { gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; GError* _tmp19_ = NULL; GError* _tmp20_ = NULL; -#line 206 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 264 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp17_ = publishing_rest_support_transaction_get_endpoint_url (self); -#line 206 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 264 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp18_ = _tmp17_; -#line 206 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 264 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp19_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_SSL_FAILED, "Unable to connect to %s: Secure connection failed", _tmp18_); -#line 206 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 264 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp20_ = _tmp19_; -#line 206 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 264 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp18_); -#line 206 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 264 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = _tmp20_; -#line 206 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 264 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 206 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 264 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 206 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 264 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2266 "RESTSupport.c" +#line 2577 "RESTSupport.c" } else { -#line 206 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 264 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 206 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 264 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 206 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 264 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2274 "RESTSupport.c" +#line 2585 "RESTSupport.c" } } default: @@ -2279,15 +2597,15 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr SoupMessage* _tmp21_ = NULL; guint _tmp22_ = 0U; guint _tmp23_ = 0U; -#line 211 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 269 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp21_ = message; -#line 211 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 269 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_object_get (_tmp21_, "status-code", &_tmp22_, NULL); -#line 211 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 269 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp23_ = _tmp22_; -#line 211 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 269 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp23_ >= ((guint) 100)) { -#line 2290 "RESTSupport.c" +#line 2601 "RESTSupport.c" gchar* _tmp24_ = NULL; gchar* _tmp25_ = NULL; SoupMessage* _tmp26_ = NULL; @@ -2299,49 +2617,49 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr gchar* _tmp32_ = NULL; GError* _tmp33_ = NULL; GError* _tmp34_ = NULL; -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp24_ = publishing_rest_support_transaction_get_endpoint_url (self); -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp25_ = _tmp24_; -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp26_ = message; -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_object_get (_tmp26_, "status-code", &_tmp27_, NULL); -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp28_ = _tmp27_; -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp29_ = message; -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_object_get (_tmp29_, "reason-phrase", &_tmp30_, NULL); -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp31_ = _tmp30_; -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp32_ = _tmp31_; -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp33_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_NO_ANSWER, "Service %s returned HTTP status code %u %s", _tmp25_, _tmp28_, _tmp32_); -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp34_ = _tmp33_; -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp32_); -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp25_); -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = _tmp34_; -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2336 "RESTSupport.c" +#line 2647 "RESTSupport.c" } else { -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2344 "RESTSupport.c" +#line 2655 "RESTSupport.c" } } else { gchar* _tmp35_ = NULL; @@ -2351,107 +2669,107 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr guint _tmp39_ = 0U; GError* _tmp40_ = NULL; GError* _tmp41_ = NULL; -#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp35_ = publishing_rest_support_transaction_get_endpoint_url (self); -#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp36_ = _tmp35_; -#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp37_ = message; -#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_object_get (_tmp37_, "status-code", &_tmp38_, NULL); -#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp39_ = _tmp38_; -#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp40_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_NO_ANSWER, "Failure communicating with %s (error code %u)", _tmp36_, _tmp39_); -#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp41_ = _tmp40_; -#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp36_); -#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = _tmp41_; -#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2378 "RESTSupport.c" +#line 2689 "RESTSupport.c" } else { -#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2386 "RESTSupport.c" +#line 2697 "RESTSupport.c" } } } } -#line 221 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 279 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp43_ = message; -#line 221 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 279 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp44_ = _tmp43_->response_body; -#line 221 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 279 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp45_ = _tmp44_->data; -#line 221 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 279 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp45__length1 = (gint) _tmp44_->length; -#line 221 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 279 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp45_ == NULL) { -#line 221 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 279 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp42_ = TRUE; -#line 2403 "RESTSupport.c" +#line 2714 "RESTSupport.c" } else { SoupMessage* _tmp46_ = NULL; SoupMessageBody* _tmp47_ = NULL; guint8* _tmp48_ = NULL; gint _tmp48__length1 = 0; -#line 221 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 279 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp46_ = message; -#line 221 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 279 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp47_ = _tmp46_->response_body; -#line 221 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 279 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp48_ = _tmp47_->data; -#line 221 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 279 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp48__length1 = (gint) _tmp47_->length; -#line 221 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 279 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp42_ = _tmp48__length1 == 0; -#line 2419 "RESTSupport.c" +#line 2730 "RESTSupport.c" } -#line 221 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 279 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp42_) { -#line 2423 "RESTSupport.c" +#line 2734 "RESTSupport.c" gchar* _tmp49_ = NULL; gchar* _tmp50_ = NULL; GError* _tmp51_ = NULL; GError* _tmp52_ = NULL; -#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp49_ = publishing_rest_support_transaction_get_endpoint_url (self); -#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp50_ = _tmp49_; -#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp51_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, "No response data from %s", _tmp50_); -#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp52_ = _tmp51_; -#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp50_); -#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = _tmp52_; -#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2446 "RESTSupport.c" +#line 2757 "RESTSupport.c" } else { -#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2454 "RESTSupport.c" +#line 2765 "RESTSupport.c" } } } @@ -2460,21 +2778,21 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr static PublishingRESTSupportArgument** _vala_array_dup1 (PublishingRESTSupportArgument** self, int length) { PublishingRESTSupportArgument** result; int i; -#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = g_new0 (PublishingRESTSupportArgument*, length + 1); -#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" for (i = 0; i < length; i++) { -#line 2467 "RESTSupport.c" +#line 2778 "RESTSupport.c" PublishingRESTSupportArgument* _tmp0_ = NULL; -#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = _publishing_rest_support_argument_ref0 (self[i]); -#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result[i] = _tmp0_; -#line 2473 "RESTSupport.c" +#line 2784 "RESTSupport.c" } -#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 2477 "RESTSupport.c" +#line 2788 "RESTSupport.c" } @@ -2486,31 +2804,31 @@ PublishingRESTSupportArgument** publishing_rest_support_transaction_get_argument gint _tmp1__length1 = 0; PublishingRESTSupportArgument** _tmp2_ = NULL; gint _tmp2__length1 = 0; -#line 226 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 284 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self), NULL); -#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->arguments; -#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0__length1 = self->priv->arguments_length1; -#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup1 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); -#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1__length1 = _tmp0__length1; -#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = _tmp1_; -#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2__length1 = _tmp1__length1; -#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (result_length1) { -#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *result_length1 = _tmp2__length1; -#line 2507 "RESTSupport.c" +#line 2818 "RESTSupport.c" } -#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp2_; -#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 2513 "RESTSupport.c" +#line 2824 "RESTSupport.c" } @@ -2526,56 +2844,56 @@ PublishingRESTSupportArgument** publishing_rest_support_transaction_get_sorted_a gint _tmp5__length1 = 0; PublishingRESTSupportArgument** _tmp6_ = NULL; gint _tmp6__length1 = 0; -#line 230 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 288 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self), NULL); -#line 231 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = publishing_rest_support_transaction_get_arguments (self, &_tmp0_); -#line 231 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = _tmp1_; -#line 231 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2__length1 = _tmp0_; -#line 231 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = publishing_rest_support_argument_sort (_tmp2_, _tmp0_, &_tmp3_); -#line 231 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = _tmp4_; -#line 231 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5__length1 = _tmp3_; -#line 231 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = (_vala_array_free (_tmp2_, _tmp2__length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL); -#line 231 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = _tmp5_; -#line 231 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6__length1 = _tmp5__length1; -#line 231 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (result_length1) { -#line 231 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *result_length1 = _tmp6__length1; -#line 2553 "RESTSupport.c" +#line 2864 "RESTSupport.c" } -#line 231 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp6_; -#line 231 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 2559 "RESTSupport.c" +#line 2870 "RESTSupport.c" } void publishing_rest_support_transaction_set_is_executed (PublishingRESTSupportTransaction* self, gboolean is_executed) { gboolean _tmp0_ = FALSE; -#line 234 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 292 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self)); -#line 235 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 293 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = is_executed; -#line 235 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 293 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->is_executed = _tmp0_; -#line 2571 "RESTSupport.c" +#line 2882 "RESTSupport.c" } static void _publishing_rest_support_transaction_on_message_unqueued_publishing_rest_support_session_wire_message_unqueued (PublishingRESTSupportSession* _sender, SoupMessage* message, gpointer self) { -#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 297 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_on_message_unqueued ((PublishingRESTSupportTransaction*) self, message); -#line 2578 "RESTSupport.c" +#line 2889 "RESTSupport.c" } @@ -2591,78 +2909,78 @@ void publishing_rest_support_transaction_send (PublishingRESTSupportTransaction* GError* _tmp8_ = NULL; GError* _tmp10_ = NULL; GError * _inner_error_ = NULL; -#line 238 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 296 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self)); -#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 297 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->parent_session; -#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 297 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_connect (_tmp0_, "wire-message-unqueued", (GCallback) _publishing_rest_support_transaction_on_message_unqueued_publishing_rest_support_session_wire_message_unqueued, self); -#line 240 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 298 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->priv->message; -#line 240 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 298 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_connect (_tmp1_, "wrote-body-data", (GCallback) _publishing_rest_support_transaction_on_wrote_body_data_soup_message_wrote_body_data, self); -#line 241 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 299 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = self->priv->parent_session; -#line 241 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 299 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = self->priv->message; -#line 241 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 299 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_session_send_wire_message (_tmp2_, _tmp3_); -#line 243 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 301 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = self->priv->parent_session; -#line 243 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 301 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("wire-message-unqueued", PUBLISHING_REST_SUPPORT_TYPE_SESSION, &_tmp5_, NULL, FALSE); -#line 243 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 301 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _publishing_rest_support_transaction_on_message_unqueued_publishing_rest_support_session_wire_message_unqueued, self); -#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 302 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = self->priv->message; -#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 302 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("wrote-body-data", soup_message_get_type (), &_tmp7_, NULL, FALSE); -#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 302 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp6_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _publishing_rest_support_transaction_on_wrote_body_data_soup_message_wrote_body_data, self); -#line 246 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 304 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = self->priv->err; -#line 246 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 304 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp8_ != NULL) { -#line 2626 "RESTSupport.c" +#line 2937 "RESTSupport.c" GError* _tmp9_ = NULL; -#line 247 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 305 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = self->priv->err; -#line 247 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 305 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_emit_by_name (self, "network-error", _tmp9_); -#line 2632 "RESTSupport.c" +#line 2943 "RESTSupport.c" } else { -#line 249 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 307 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_emit_by_name (self, "completed"); -#line 2636 "RESTSupport.c" +#line 2947 "RESTSupport.c" } -#line 251 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 309 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = self->priv->err; -#line 251 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 309 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp10_ != NULL) { -#line 2642 "RESTSupport.c" +#line 2953 "RESTSupport.c" GError* _tmp11_ = NULL; GError* _tmp12_ = NULL; -#line 252 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp11_ = self->priv->err; -#line 252 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp12_ = _g_error_copy0 (_tmp11_); -#line 252 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = _tmp12_; -#line 252 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 252 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 252 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2657 "RESTSupport.c" +#line 2968 "RESTSupport.c" } else { -#line 252 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 252 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 252 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2665 "RESTSupport.c" +#line 2976 "RESTSupport.c" } } } @@ -2676,27 +2994,27 @@ PublishingRESTSupportHttpMethod publishing_rest_support_transaction_get_method ( gchar* _tmp3_ = NULL; PublishingRESTSupportHttpMethod _tmp4_ = 0; PublishingRESTSupportHttpMethod _tmp5_ = 0; -#line 255 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 313 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self), 0); -#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 314 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->message; -#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 314 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_object_get (_tmp0_, "method", &_tmp1_, NULL); -#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 314 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = _tmp1_; -#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 314 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = _tmp2_; -#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 314 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = publishing_rest_support_http_method_from_string (_tmp3_); -#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 314 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = _tmp4_; -#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 314 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp3_); -#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 314 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp5_; -#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 314 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 2699 "RESTSupport.c" +#line 3010 "RESTSupport.c" } @@ -2705,30 +3023,30 @@ static void publishing_rest_support_transaction_real_add_header (PublishingRESTS SoupMessageHeaders* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; -#line 259 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 317 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (key != NULL); -#line 259 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 317 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (value != NULL); -#line 260 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 318 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->message; -#line 260 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 318 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = _tmp0_->request_headers; -#line 260 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 318 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = key; -#line 260 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 318 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = value; -#line 260 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 318 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" soup_message_headers_append (_tmp1_, _tmp2_, _tmp3_); -#line 2722 "RESTSupport.c" +#line 3033 "RESTSupport.c" } void publishing_rest_support_transaction_add_header (PublishingRESTSupportTransaction* self, const gchar* key, const gchar* value) { -#line 259 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 317 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self)); -#line 259 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 317 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" PUBLISHING_REST_SUPPORT_TRANSACTION_GET_CLASS (self)->add_header (self, key, value); -#line 2731 "RESTSupport.c" +#line 3042 "RESTSupport.c" } @@ -2746,111 +3064,104 @@ void publishing_rest_support_transaction_set_custom_payload (PublishingRESTSuppo guint8* _tmp12_ = NULL; gint _tmp12__length1 = 0; gulong _tmp13_ = 0UL; -#line 271 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 329 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self)); -#line 271 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 329 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (payload_content_type != NULL); -#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 331 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = publishing_rest_support_transaction_get_method (self); -#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 331 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _vala_assert (_tmp0_ != PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET, "get_method() != HttpMethod.GET"); -#line 275 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 333 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = custom_payload; -#line 275 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 333 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp1_ == NULL) { -#line 276 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 334 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->use_custom_payload = FALSE; -#line 277 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 335 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2765 "RESTSupport.c" +#line 3076 "RESTSupport.c" } -#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 338 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = payload_length; -#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 338 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp3_ > ((gulong) 0)) { -#line 2771 "RESTSupport.c" +#line 3082 "RESTSupport.c" gulong _tmp4_ = 0UL; -#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 338 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = payload_length; -#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 338 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = _tmp4_; -#line 2777 "RESTSupport.c" +#line 3088 "RESTSupport.c" } else { const gchar* _tmp5_ = NULL; gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 338 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = custom_payload; -#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 338 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = strlen (_tmp5_); -#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 338 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = _tmp6_; -#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 338 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = (gulong) _tmp7_; -#line 2790 "RESTSupport.c" +#line 3101 "RESTSupport.c" } -#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 338 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" length = _tmp2_; -#line 281 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 339 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = self->priv->message; -#line 281 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 339 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = payload_content_type; -#line 281 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 339 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = custom_payload; -#line 281 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 339 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp11_ = string_get_data (_tmp10_, &_tmp11__length1); -#line 281 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 339 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp12_ = _tmp11_; -#line 281 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 339 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp12__length1 = _tmp11__length1; -#line 281 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 339 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp13_ = length; -#line 281 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 339 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" soup_message_set_request (_tmp8_, _tmp9_, SOUP_MEMORY_COPY, _tmp12_ + 0, (gsize) (((gint) _tmp13_) - 0)); -#line 283 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 341 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->use_custom_payload = TRUE; -#line 2812 "RESTSupport.c" -} - - -static gpointer _g_object_ref0 (gpointer self) { -#line 292 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - return self ? g_object_ref (self) : NULL; -#line 2819 "RESTSupport.c" +#line 3123 "RESTSupport.c" } void publishing_rest_support_transaction_set_message (PublishingRESTSupportTransaction* self, SoupMessage* message) { SoupMessage* _tmp0_ = NULL; SoupMessage* _tmp1_ = NULL; -#line 291 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 349 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self)); -#line 291 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 349 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (SOUP_IS_MESSAGE (message)); -#line 292 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 350 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = message; -#line 292 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 350 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 292 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 350 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (self->priv->message); -#line 292 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 350 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->message = _tmp1_; -#line 2838 "RESTSupport.c" +#line 3142 "RESTSupport.c" } gboolean publishing_rest_support_transaction_get_is_executed (PublishingRESTSupportTransaction* self) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 295 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 353 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self), FALSE); -#line 296 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 354 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->is_executed; -#line 296 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 354 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp0_; -#line 296 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 354 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 2853 "RESTSupport.c" +#line 3157 "RESTSupport.c" } @@ -2860,30 +3171,30 @@ guint publishing_rest_support_transaction_get_status_code (PublishingRESTSupport SoupMessage* _tmp1_ = NULL; guint _tmp2_ = 0U; guint _tmp3_ = 0U; -#line 299 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 357 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self), 0U); -#line 300 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 358 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = publishing_rest_support_transaction_get_is_executed (self); -#line 300 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 358 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _vala_assert (_tmp0_, "get_is_executed()"); -#line 301 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 359 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->priv->message; -#line 301 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 359 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_object_get (_tmp1_, "status-code", &_tmp2_, NULL); -#line 301 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 359 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = _tmp2_; -#line 301 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 359 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp3_; -#line 301 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 359 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 2879 "RESTSupport.c" +#line 3183 "RESTSupport.c" } static void _vala_SoupURI_free (SoupURI* self) { -#line 335 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 393 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_boxed_free (soup_uri_get_type (), self); -#line 2886 "RESTSupport.c" +#line 3190 "RESTSupport.c" } @@ -2897,69 +3208,69 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp gboolean _tmp19_ = FALSE; PublishingRESTSupportHttpMethod _tmp20_ = 0; GError * _inner_error_ = NULL; -#line 308 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 366 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->use_custom_payload; -#line 308 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 366 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp0_) { -#line 309 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 367 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->is_executed = TRUE; -#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 368 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_send (self, &_inner_error_); -#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 368 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 368 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 368 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 368 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2916 "RESTSupport.c" +#line 3220 "RESTSupport.c" } else { -#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 368 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 368 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 368 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2924 "RESTSupport.c" +#line 3228 "RESTSupport.c" } } -#line 312 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 370 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 2929 "RESTSupport.c" +#line 3233 "RESTSupport.c" } -#line 316 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 374 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = publishing_rest_support_transaction_get_method (self); -#line 316 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 374 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp1_ == PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST) { -#line 2935 "RESTSupport.c" +#line 3239 "RESTSupport.c" PublishingRESTSupportArgument** _tmp2_ = NULL; gint _tmp2__length1 = 0; -#line 317 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 375 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = self->priv->arguments; -#line 317 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 375 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2__length1 = self->priv->arguments_length1; -#line 317 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 375 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _vala_assert (_tmp2__length1 > 0, "arguments.length > 0"); -#line 2944 "RESTSupport.c" +#line 3248 "RESTSupport.c" } -#line 320 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 378 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = g_strdup (""); -#line 320 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 378 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" formdata_string = _tmp3_; -#line 2950 "RESTSupport.c" +#line 3254 "RESTSupport.c" { gint i = 0; -#line 321 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" i = 0; -#line 2955 "RESTSupport.c" +#line 3259 "RESTSupport.c" { gboolean _tmp4_ = FALSE; -#line 321 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = TRUE; -#line 321 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" while (TRUE) { -#line 2962 "RESTSupport.c" +#line 3266 "RESTSupport.c" gint _tmp6_ = 0; PublishingRESTSupportArgument** _tmp7_ = NULL; gint _tmp7__length1 = 0; @@ -2974,102 +3285,102 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp gint _tmp15_ = 0; PublishingRESTSupportArgument** _tmp16_ = NULL; gint _tmp16__length1 = 0; -#line 321 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!_tmp4_) { -#line 2979 "RESTSupport.c" +#line 3283 "RESTSupport.c" gint _tmp5_ = 0; -#line 321 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = i; -#line 321 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" i = _tmp5_ + 1; -#line 2985 "RESTSupport.c" +#line 3289 "RESTSupport.c" } -#line 321 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = FALSE; -#line 321 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = i; -#line 321 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = self->priv->arguments; -#line 321 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7__length1 = self->priv->arguments_length1; -#line 321 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!(_tmp6_ < _tmp7__length1)) { -#line 321 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" break; -#line 2999 "RESTSupport.c" +#line 3303 "RESTSupport.c" } -#line 322 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 380 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = formdata_string; -#line 322 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 380 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = self->priv->arguments; -#line 322 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 380 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9__length1 = self->priv->arguments_length1; -#line 322 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 380 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = i; -#line 322 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 380 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp11_ = _tmp9_[_tmp10_]; -#line 322 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 380 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp12_ = publishing_rest_support_argument_to_string (_tmp11_); -#line 322 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 380 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp13_ = _tmp12_; -#line 322 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 380 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp14_ = g_strconcat (_tmp8_, _tmp13_, NULL); -#line 322 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 380 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (formdata_string); -#line 322 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 380 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" formdata_string = _tmp14_; -#line 322 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 380 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp13_); -#line 323 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 381 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp15_ = i; -#line 323 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 381 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp16_ = self->priv->arguments; -#line 323 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 381 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp16__length1 = self->priv->arguments_length1; -#line 323 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 381 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp15_ < (_tmp16__length1 - 1)) { -#line 3031 "RESTSupport.c" +#line 3335 "RESTSupport.c" const gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; -#line 324 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 382 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp17_ = formdata_string; -#line 324 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 382 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp18_ = g_strconcat (_tmp17_, "&", NULL); -#line 324 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 382 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (formdata_string); -#line 324 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 382 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" formdata_string = _tmp18_; -#line 3042 "RESTSupport.c" +#line 3346 "RESTSupport.c" } } } } -#line 330 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 388 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" old_url = NULL; -#line 331 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 389 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" url_with_query = NULL; -#line 332 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp20_ = publishing_rest_support_transaction_get_method (self); -#line 332 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp20_ == PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET) { -#line 3055 "RESTSupport.c" +#line 3359 "RESTSupport.c" PublishingRESTSupportArgument** _tmp21_ = NULL; gint _tmp21__length1 = 0; -#line 332 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp21_ = self->priv->arguments; -#line 332 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp21__length1 = self->priv->arguments_length1; -#line 332 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp19_ = _tmp21__length1 > 0; -#line 3064 "RESTSupport.c" +#line 3368 "RESTSupport.c" } else { -#line 332 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp19_ = FALSE; -#line 3068 "RESTSupport.c" +#line 3372 "RESTSupport.c" } -#line 332 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp19_) { -#line 3072 "RESTSupport.c" +#line 3376 "RESTSupport.c" SoupMessage* _tmp22_ = NULL; SoupURI* _tmp23_ = NULL; gchar* _tmp24_ = NULL; @@ -3083,49 +3394,49 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp const gchar* _tmp32_ = NULL; SoupURI* _tmp33_ = NULL; SoupURI* _tmp34_ = NULL; -#line 333 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 391 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp22_ = self->priv->message; -#line 333 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 391 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp23_ = soup_message_get_uri (_tmp22_); -#line 333 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 391 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp24_ = soup_uri_to_string (_tmp23_, FALSE); -#line 333 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 391 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (old_url); -#line 333 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 391 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" old_url = _tmp24_; -#line 334 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 392 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp25_ = publishing_rest_support_transaction_get_endpoint_url (self); -#line 334 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 392 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp26_ = _tmp25_; -#line 334 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 392 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp27_ = g_strconcat (_tmp26_, "?", NULL); -#line 334 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 392 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp28_ = _tmp27_; -#line 334 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 392 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp29_ = formdata_string; -#line 334 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 392 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp30_ = g_strconcat (_tmp28_, _tmp29_, NULL); -#line 334 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 392 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (url_with_query); -#line 334 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 392 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" url_with_query = _tmp30_; -#line 334 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 392 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp28_); -#line 334 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 392 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp26_); -#line 335 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 393 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp31_ = self->priv->message; -#line 335 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 393 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp32_ = url_with_query; -#line 335 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 393 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp33_ = soup_uri_new (_tmp32_); -#line 335 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 393 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp34_ = _tmp33_; -#line 335 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 393 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" soup_message_set_uri (_tmp31_, _tmp34_); -#line 335 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 393 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" __vala_SoupURI_free0 (_tmp34_); -#line 3128 "RESTSupport.c" +#line 3432 "RESTSupport.c" } else { SoupMessage* _tmp35_ = NULL; const gchar* _tmp36_ = NULL; @@ -3133,122 +3444,122 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp gint _tmp37__length1 = 0; guint8* _tmp38_ = NULL; gint _tmp38__length1 = 0; -#line 337 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 395 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp35_ = self->priv->message; -#line 337 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 395 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp36_ = formdata_string; -#line 337 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 395 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp37_ = string_get_data (_tmp36_, &_tmp37__length1); -#line 337 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 395 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp38_ = _tmp37_; -#line 337 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 395 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp38__length1 = _tmp37__length1; -#line 337 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 395 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" soup_message_set_request (_tmp35_, "application/x-www-form-urlencoded", SOUP_MEMORY_COPY, _tmp38_, (gsize) _tmp38__length1); -#line 3148 "RESTSupport.c" +#line 3452 "RESTSupport.c" } -#line 341 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 399 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->is_executed = TRUE; -#line 3152 "RESTSupport.c" +#line 3456 "RESTSupport.c" { SoupMessage* _tmp39_ = NULL; SoupURI* _tmp40_ = NULL; gchar* _tmp41_ = NULL; gchar* _tmp42_ = NULL; -#line 344 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 402 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp39_ = self->priv->message; -#line 344 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 402 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp40_ = soup_message_get_uri (_tmp39_); -#line 344 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 402 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp41_ = soup_uri_to_string (_tmp40_, FALSE); -#line 344 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 402 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp42_ = _tmp41_; -#line 344 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_debug ("RESTSupport.vala:344: sending message to URI = '%s'", _tmp42_); -#line 344 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 402 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_debug ("RESTSupport.vala:402: sending message to URI = '%s'", _tmp42_); +#line 402 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp42_); -#line 345 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 403 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_send (self, &_inner_error_); -#line 345 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 403 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 3174 "RESTSupport.c" +#line 3478 "RESTSupport.c" goto __finally1; } } __finally1: { const gchar* _tmp43_ = NULL; -#line 348 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 406 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp43_ = old_url; -#line 348 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 406 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp43_ != NULL) { -#line 3185 "RESTSupport.c" +#line 3489 "RESTSupport.c" SoupMessage* _tmp44_ = NULL; const gchar* _tmp45_ = NULL; SoupURI* _tmp46_ = NULL; SoupURI* _tmp47_ = NULL; -#line 349 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 407 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp44_ = self->priv->message; -#line 349 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 407 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp45_ = old_url; -#line 349 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 407 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp46_ = soup_uri_new (_tmp45_); -#line 349 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 407 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp47_ = _tmp46_; -#line 349 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 407 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" soup_message_set_uri (_tmp44_, _tmp47_); -#line 349 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 407 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" __vala_SoupURI_free0 (_tmp47_); -#line 3202 "RESTSupport.c" +#line 3506 "RESTSupport.c" } } -#line 343 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 343 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 343 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 343 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (url_with_query); -#line 343 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (old_url); -#line 343 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (formdata_string); -#line 343 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 3219 "RESTSupport.c" +#line 3523 "RESTSupport.c" } else { -#line 343 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (url_with_query); -#line 343 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (old_url); -#line 343 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (formdata_string); -#line 343 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 343 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 343 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 3233 "RESTSupport.c" +#line 3537 "RESTSupport.c" } } -#line 304 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 362 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (url_with_query); -#line 304 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 362 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (old_url); -#line 304 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 362 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (formdata_string); -#line 3242 "RESTSupport.c" +#line 3546 "RESTSupport.c" } void publishing_rest_support_transaction_execute (PublishingRESTSupportTransaction* self, GError** error) { -#line 304 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 362 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self)); -#line 304 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 362 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" PUBLISHING_REST_SUPPORT_TRANSACTION_GET_CLASS (self)->execute (self, error); -#line 3251 "RESTSupport.c" +#line 3555 "RESTSupport.c" } @@ -3260,27 +3571,27 @@ gchar* publishing_rest_support_transaction_get_response (PublishingRESTSupportTr guint8* _tmp3_ = NULL; gint _tmp3__length1 = 0; gchar* _tmp4_ = NULL; -#line 353 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 411 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self), NULL); -#line 354 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 412 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = publishing_rest_support_transaction_get_is_executed (self); -#line 354 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 412 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _vala_assert (_tmp0_, "get_is_executed()"); -#line 355 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 413 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->priv->message; -#line 355 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 413 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = _tmp1_->response_body; -#line 355 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 413 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = _tmp2_->data; -#line 355 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 413 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3__length1 = (gint) _tmp2_->length; -#line 355 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 413 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = g_strdup ((const gchar*) _tmp3_); -#line 355 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 413 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp4_; -#line 355 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 413 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 3283 "RESTSupport.c" +#line 3587 "RESTSupport.c" } @@ -3289,21 +3600,21 @@ SoupMessageHeaders* publishing_rest_support_transaction_get_response_headers (Pu gboolean _tmp0_ = FALSE; SoupMessage* _tmp1_ = NULL; SoupMessageHeaders* _tmp2_ = NULL; -#line 358 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 416 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self), NULL); -#line 359 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 417 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = publishing_rest_support_transaction_get_is_executed (self); -#line 359 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 417 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _vala_assert (_tmp0_, "get_is_executed()"); -#line 360 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 418 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->priv->message; -#line 360 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 418 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = _tmp1_->response_headers; -#line 360 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 418 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp2_; -#line 360 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 418 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 3306 "RESTSupport.c" +#line 3610 "RESTSupport.c" } @@ -3312,38 +3623,38 @@ SoupMessage* publishing_rest_support_transaction_get_message (PublishingRESTSupp gboolean _tmp0_ = FALSE; SoupMessage* _tmp1_ = NULL; SoupMessage* _tmp2_ = NULL; -#line 363 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 421 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self), NULL); -#line 364 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 422 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = publishing_rest_support_transaction_get_is_executed (self); -#line 364 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 422 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _vala_assert (_tmp0_, "get_is_executed()"); -#line 365 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 423 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->priv->message; -#line 365 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 423 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = _g_object_ref0 (_tmp1_); -#line 365 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 423 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp2_; -#line 365 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 423 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 3329 "RESTSupport.c" +#line 3633 "RESTSupport.c" } static void _vala_array_add1 (PublishingRESTSupportArgument*** array, int* length, int* size, PublishingRESTSupportArgument* value) { -#line 369 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 427 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if ((*length) == (*size)) { -#line 369 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 427 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 369 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 427 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *array = g_renew (PublishingRESTSupportArgument*, *array, (*size) + 1); -#line 3340 "RESTSupport.c" +#line 3644 "RESTSupport.c" } -#line 369 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 427 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" (*array)[(*length)++] = value; -#line 369 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 427 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" (*array)[*length] = NULL; -#line 3346 "RESTSupport.c" +#line 3650 "RESTSupport.c" } @@ -3353,25 +3664,25 @@ void publishing_rest_support_transaction_add_argument (PublishingRESTSupportTran const gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; PublishingRESTSupportArgument* _tmp3_ = NULL; -#line 368 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 426 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self)); -#line 368 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 426 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (name != NULL); -#line 368 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 426 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (value != NULL); -#line 369 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 427 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->arguments; -#line 369 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 427 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0__length1 = self->priv->arguments_length1; -#line 369 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 427 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = name; -#line 369 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 427 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = value; -#line 369 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 427 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = publishing_rest_support_argument_new (_tmp1_, _tmp2_); -#line 369 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 427 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _vala_array_add1 (&self->priv->arguments, &self->priv->arguments_length1, &self->priv->_arguments_size_, _tmp3_); -#line 3374 "RESTSupport.c" +#line 3678 "RESTSupport.c" } @@ -3379,49 +3690,49 @@ gchar* publishing_rest_support_transaction_get_endpoint_url (PublishingRESTSuppo gchar* result = NULL; gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 372 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 430 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self), NULL); -#line 373 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->priv->endpoint_url; -#line 373 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp1_ != NULL) { -#line 3388 "RESTSupport.c" +#line 3692 "RESTSupport.c" const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 373 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = self->priv->endpoint_url; -#line 373 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = g_strdup (_tmp2_); -#line 373 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp0_); -#line 373 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = _tmp3_; -#line 3399 "RESTSupport.c" +#line 3703 "RESTSupport.c" } else { PublishingRESTSupportSession* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 373 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = self->priv->parent_session; -#line 373 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = publishing_rest_support_session_get_endpoint_url (_tmp4_); -#line 373 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp0_); -#line 373 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = _tmp5_; -#line 3411 "RESTSupport.c" +#line 3715 "RESTSupport.c" } -#line 373 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp0_; -#line 373 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 3417 "RESTSupport.c" +#line 3721 "RESTSupport.c" } static gpointer _publishing_rest_support_session_ref0 (gpointer self) { -#line 377 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 435 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self ? publishing_rest_support_session_ref (self) : NULL; -#line 3424 "RESTSupport.c" +#line 3728 "RESTSupport.c" } @@ -3429,17 +3740,17 @@ PublishingRESTSupportSession* publishing_rest_support_transaction_get_parent_ses PublishingRESTSupportSession* result = NULL; PublishingRESTSupportSession* _tmp0_ = NULL; PublishingRESTSupportSession* _tmp1_ = NULL; -#line 376 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 434 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self), NULL); -#line 377 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 435 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->parent_session; -#line 377 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 435 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = _publishing_rest_support_session_ref0 (_tmp0_); -#line 377 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 435 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp1_; -#line 377 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 435 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 3442 "RESTSupport.c" +#line 3746 "RESTSupport.c" } @@ -3450,267 +3761,267 @@ static void g_cclosure_user_marshal_VOID__INT_INT (GClosure * closure, GValue * register gpointer data1; register gpointer data2; cc = (GCClosure *) closure; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (n_param_values == 3); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_CCLOSURE_SWAP_DATA (closure)) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" data1 = closure->data; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" data2 = param_values->data[0].v_pointer; -#line 3461 "RESTSupport.c" +#line 3765 "RESTSupport.c" } else { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" data1 = param_values->data[0].v_pointer; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" data2 = closure->data; -#line 3467 "RESTSupport.c" +#line 3771 "RESTSupport.c" } -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" callback = (GMarshalFunc_VOID__INT_INT) (marshal_data ? marshal_data : cc->callback); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" callback (data1, g_value_get_int (param_values + 1), g_value_get_int (param_values + 2), data2); -#line 3473 "RESTSupport.c" +#line 3777 "RESTSupport.c" } static void publishing_rest_support_value_transaction_init (GValue* value) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 3480 "RESTSupport.c" +#line 3784 "RESTSupport.c" } static void publishing_rest_support_value_transaction_free_value (GValue* value) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (value->data[0].v_pointer) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_unref (value->data[0].v_pointer); -#line 3489 "RESTSupport.c" +#line 3793 "RESTSupport.c" } } static void publishing_rest_support_value_transaction_copy_value (const GValue* src_value, GValue* dest_value) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (src_value->data[0].v_pointer) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" dest_value->data[0].v_pointer = publishing_rest_support_transaction_ref (src_value->data[0].v_pointer); -#line 3499 "RESTSupport.c" +#line 3803 "RESTSupport.c" } else { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" dest_value->data[0].v_pointer = NULL; -#line 3503 "RESTSupport.c" +#line 3807 "RESTSupport.c" } } static gpointer publishing_rest_support_value_transaction_peek_pointer (const GValue* value) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return value->data[0].v_pointer; -#line 3511 "RESTSupport.c" +#line 3815 "RESTSupport.c" } static gchar* publishing_rest_support_value_transaction_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (collect_values[0].v_pointer) { -#line 3518 "RESTSupport.c" +#line 3822 "RESTSupport.c" PublishingRESTSupportTransaction* object; object = collect_values[0].v_pointer; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (object->parent_instance.g_class == NULL) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 3525 "RESTSupport.c" +#line 3829 "RESTSupport.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 3529 "RESTSupport.c" +#line 3833 "RESTSupport.c" } -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = publishing_rest_support_transaction_ref (object); -#line 3533 "RESTSupport.c" +#line 3837 "RESTSupport.c" } else { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 3537 "RESTSupport.c" +#line 3841 "RESTSupport.c" } -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 3541 "RESTSupport.c" +#line 3845 "RESTSupport.c" } static gchar* publishing_rest_support_value_transaction_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PublishingRESTSupportTransaction** object_p; object_p = collect_values[0].v_pointer; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!object_p) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 3552 "RESTSupport.c" +#line 3856 "RESTSupport.c" } -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!value->data[0].v_pointer) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *object_p = NULL; -#line 3558 "RESTSupport.c" +#line 3862 "RESTSupport.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *object_p = value->data[0].v_pointer; -#line 3562 "RESTSupport.c" +#line 3866 "RESTSupport.c" } else { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *object_p = publishing_rest_support_transaction_ref (value->data[0].v_pointer); -#line 3566 "RESTSupport.c" +#line 3870 "RESTSupport.c" } -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 3570 "RESTSupport.c" +#line 3874 "RESTSupport.c" } GParamSpec* publishing_rest_support_param_spec_transaction (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { PublishingRESTSupportParamSpecTransaction* spec; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION), NULL); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return G_PARAM_SPEC (spec); -#line 3584 "RESTSupport.c" +#line 3888 "RESTSupport.c" } gpointer publishing_rest_support_value_get_transaction (const GValue* value) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION), NULL); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return value->data[0].v_pointer; -#line 3593 "RESTSupport.c" +#line 3897 "RESTSupport.c" } void publishing_rest_support_value_set_transaction (GValue* value, gpointer v_object) { PublishingRESTSupportTransaction* old; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION)); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" old = value->data[0].v_pointer; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (v_object) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION)); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = v_object; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_ref (value->data[0].v_pointer); -#line 3613 "RESTSupport.c" +#line 3917 "RESTSupport.c" } else { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 3617 "RESTSupport.c" +#line 3921 "RESTSupport.c" } -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (old) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_unref (old); -#line 3623 "RESTSupport.c" +#line 3927 "RESTSupport.c" } } void publishing_rest_support_value_take_transaction (GValue* value, gpointer v_object) { PublishingRESTSupportTransaction* old; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION)); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" old = value->data[0].v_pointer; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (v_object) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION)); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = v_object; -#line 3642 "RESTSupport.c" +#line 3946 "RESTSupport.c" } else { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 3646 "RESTSupport.c" +#line 3950 "RESTSupport.c" } -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (old) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_unref (old); -#line 3652 "RESTSupport.c" +#line 3956 "RESTSupport.c" } } static void publishing_rest_support_transaction_class_init (PublishingRESTSupportTransactionClass * klass) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_parent_class = g_type_class_peek_parent (klass); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportTransactionClass *) klass)->finalize = publishing_rest_support_transaction_finalize; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_type_class_add_private (klass, sizeof (PublishingRESTSupportTransactionPrivate)); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportTransactionClass *) klass)->add_header = publishing_rest_support_transaction_real_add_header; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportTransactionClass *) klass)->execute = publishing_rest_support_transaction_real_execute; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_new ("chunk_transmitted", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__INT_INT, G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_INT); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_new ("network_error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_new ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 3674 "RESTSupport.c" +#line 3978 "RESTSupport.c" } static void publishing_rest_support_transaction_instance_init (PublishingRESTSupportTransaction * self) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv = PUBLISHING_REST_SUPPORT_TRANSACTION_GET_PRIVATE (self); -#line 141 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 146 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->is_executed = FALSE; -#line 142 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 147 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->parent_session = NULL; -#line 143 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 148 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->message = NULL; -#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 149 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->bytes_written = 0; -#line 145 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 150 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->err = NULL; -#line 146 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 151 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->endpoint_url = NULL; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->ref_count = 1; -#line 3695 "RESTSupport.c" +#line 3999 "RESTSupport.c" } static void publishing_rest_support_transaction_finalize (PublishingRESTSupportTransaction* obj) { PublishingRESTSupportTransaction * self; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_destroy (self); -#line 140 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 145 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->arguments = (_vala_array_free (self->priv->arguments, self->priv->arguments_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL); -#line 143 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 148 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (self->priv->message); -#line 145 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 150 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_error_free0 (self->priv->err); -#line 146 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 151 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->priv->endpoint_url); -#line 3713 "RESTSupport.c" +#line 4017 "RESTSupport.c" } @@ -3731,24 +4042,24 @@ GType publishing_rest_support_transaction_get_type (void) { gpointer publishing_rest_support_transaction_ref (gpointer instance) { PublishingRESTSupportTransaction* self; self = instance; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_atomic_int_inc (&self->ref_count); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return instance; -#line 3738 "RESTSupport.c" +#line 4042 "RESTSupport.c" } void publishing_rest_support_transaction_unref (gpointer instance) { PublishingRESTSupportTransaction* self; self = instance; -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" PUBLISHING_REST_SUPPORT_TRANSACTION_GET_CLASS (self)->finalize (self); -#line 139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_type_free_instance ((GTypeInstance *) self); -#line 3751 "RESTSupport.c" +#line 4055 "RESTSupport.c" } } @@ -3763,54 +4074,54 @@ PublishingRESTSupportUploadTransaction* publishing_rest_support_upload_transacti gchar* _tmp5_ = NULL; GHashTable* _tmp6_ = NULL; GeeHashMap* _tmp7_ = NULL; -#line 387 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 445 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_SESSION (session), NULL); -#line 387 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 445 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (publishable), NULL); -#line 388 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = session; -#line 388 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportUploadTransaction*) publishing_rest_support_transaction_construct (object_type, _tmp0_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST); -#line 389 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = publishable; -#line 389 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = _g_object_ref0 (_tmp1_); -#line 389 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (self->publishable); -#line 389 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->publishable = _tmp2_; -#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 448 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = publishable; -#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 448 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = spit_publishing_publishable_get_media_type (_tmp3_); -#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 448 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = publishing_rest_support_upload_transaction_media_type_to_mime_type (_tmp4_); -#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 448 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->mime_type); -#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 448 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->mime_type = _tmp5_; -#line 392 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 450 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = publishing_rest_support_upload_transaction_create_default_binary_disposition_table (self); -#line 392 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 450 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_hash_table_unref0 (self->binary_disposition_table); -#line 392 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 450 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->binary_disposition_table = _tmp6_; -#line 394 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 452 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -#line 394 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 452 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (self->message_headers); -#line 394 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 452 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->message_headers = _tmp7_; -#line 387 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 445 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 3806 "RESTSupport.c" +#line 4110 "RESTSupport.c" } PublishingRESTSupportUploadTransaction* publishing_rest_support_upload_transaction_new (PublishingRESTSupportSession* session, SpitPublishingPublishable* publishable) { -#line 387 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 445 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return publishing_rest_support_upload_transaction_construct (PUBLISHING_REST_SUPPORT_TYPE_UPLOAD_TRANSACTION, session, publishable); -#line 3813 "RESTSupport.c" +#line 4117 "RESTSupport.c" } @@ -3825,58 +4136,58 @@ PublishingRESTSupportUploadTransaction* publishing_rest_support_upload_transacti gchar* _tmp6_ = NULL; GHashTable* _tmp7_ = NULL; GeeHashMap* _tmp8_ = NULL; -#line 397 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 455 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_SESSION (session), NULL); -#line 397 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 455 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (publishable), NULL); -#line 397 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 455 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (endpoint_url != NULL, NULL); -#line 399 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 457 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = session; -#line 399 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 457 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = endpoint_url; -#line 399 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 457 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportUploadTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, _tmp0_, _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST); -#line 400 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 458 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = publishable; -#line 400 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 458 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = _g_object_ref0 (_tmp2_); -#line 400 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 458 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (self->publishable); -#line 400 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 458 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->publishable = _tmp3_; -#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 459 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = publishable; -#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 459 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = spit_publishing_publishable_get_media_type (_tmp4_); -#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 459 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = publishing_rest_support_upload_transaction_media_type_to_mime_type (_tmp5_); -#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 459 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->mime_type); -#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 459 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->mime_type = _tmp6_; -#line 403 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 461 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = publishing_rest_support_upload_transaction_create_default_binary_disposition_table (self); -#line 403 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 461 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_hash_table_unref0 (self->binary_disposition_table); -#line 403 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 461 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->binary_disposition_table = _tmp7_; -#line 405 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 463 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -#line 405 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 463 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (self->message_headers); -#line 405 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 463 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->message_headers = _tmp8_; -#line 397 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 455 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 3872 "RESTSupport.c" +#line 4176 "RESTSupport.c" } PublishingRESTSupportUploadTransaction* publishing_rest_support_upload_transaction_new_with_endpoint_url (PublishingRESTSupportSession* session, SpitPublishingPublishable* publishable, const gchar* endpoint_url) { -#line 397 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 455 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return publishing_rest_support_upload_transaction_construct_with_endpoint_url (PUBLISHING_REST_SUPPORT_TYPE_UPLOAD_TRANSACTION, session, publishable, endpoint_url); -#line 3879 "RESTSupport.c" +#line 4183 "RESTSupport.c" } @@ -3885,74 +4196,74 @@ static void publishing_rest_support_upload_transaction_real_add_header (Publishi GeeHashMap* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 408 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 466 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_REST_SUPPORT_TYPE_UPLOAD_TRANSACTION, PublishingRESTSupportUploadTransaction); -#line 408 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 466 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (key != NULL); -#line 408 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 466 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (value != NULL); -#line 409 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 467 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->message_headers; -#line 409 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 467 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = key; -#line 409 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 467 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = value; -#line 409 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 467 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp1_, _tmp2_); -#line 3902 "RESTSupport.c" +#line 4206 "RESTSupport.c" } static gchar* publishing_rest_support_upload_transaction_media_type_to_mime_type (SpitPublishingPublisherMediaType media_type) { gchar* result = NULL; SpitPublishingPublisherMediaType _tmp0_ = 0; -#line 413 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 471 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = media_type; -#line 413 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 471 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp0_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) { -#line 3913 "RESTSupport.c" +#line 4217 "RESTSupport.c" gchar* _tmp1_ = NULL; -#line 414 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 472 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = g_strdup ("image/jpeg"); -#line 414 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 472 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp1_; -#line 414 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 472 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 3921 "RESTSupport.c" +#line 4225 "RESTSupport.c" } else { SpitPublishingPublisherMediaType _tmp2_ = 0; -#line 415 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 473 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = media_type; -#line 415 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 473 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp2_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) { -#line 3928 "RESTSupport.c" +#line 4232 "RESTSupport.c" gchar* _tmp3_ = NULL; -#line 416 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 474 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = g_strdup ("video/mpeg"); -#line 416 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 474 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp3_; -#line 416 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 474 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 3936 "RESTSupport.c" +#line 4240 "RESTSupport.c" } else { SpitPublishingPublisherMediaType _tmp4_ = 0; GEnumValue* _tmp5_; -#line 418 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 476 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = media_type; -#line 418 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 476 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = g_enum_get_value (g_type_class_ref (SPIT_PUBLISHING_PUBLISHER_TYPE_MEDIA_TYPE), _tmp4_); -#line 418 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_error ("RESTSupport.vala:418: UploadTransaction: unknown media type %s.", (_tmp5_ != NULL) ? _tmp5_->value_name : NULL); -#line 3946 "RESTSupport.c" +#line 476 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_error ("RESTSupport.vala:476: UploadTransaction: unknown media type %s.", (_tmp5_ != NULL) ? _tmp5_->value_name : NULL); +#line 4250 "RESTSupport.c" } } } static void _g_free0_ (gpointer var) { -#line 422 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 480 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" var = (g_free (var), NULL); -#line 3955 "RESTSupport.c" +#line 4259 "RESTSupport.c" } @@ -3969,81 +4280,81 @@ static GHashTable* publishing_rest_support_upload_transaction_create_default_bin gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 421 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 479 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_UPLOAD_TRANSACTION (self), NULL); -#line 422 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 480 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = g_str_hash; -#line 422 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 480 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = g_str_equal; -#line 422 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 480 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = g_hash_table_new_full (_tmp0_, _tmp1_, _g_free0_, _g_free0_); -#line 422 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 480 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _result_ = _tmp2_; -#line 425 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 483 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = g_strdup ("filename"); -#line 425 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 483 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = self->publishable; -#line 425 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 483 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = spit_publishing_publishable_get_serialized_file (_tmp4_); -#line 425 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 483 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = _tmp5_; -#line 425 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 483 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = g_file_get_basename (_tmp6_); -#line 425 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 483 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = _tmp7_; -#line 425 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 483 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = soup_uri_encode (_tmp8_, NULL); -#line 425 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 483 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_hash_table_insert (_result_, _tmp3_, _tmp9_); -#line 425 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 483 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp8_); -#line 425 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 483 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (_tmp6_); -#line 428 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 486 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _result_; -#line 428 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 486 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 4006 "RESTSupport.c" +#line 4310 "RESTSupport.c" } static gpointer _g_hash_table_ref0 (gpointer self) { -#line 432 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 490 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self ? g_hash_table_ref (self) : NULL; -#line 4013 "RESTSupport.c" +#line 4317 "RESTSupport.c" } void publishing_rest_support_upload_transaction_set_binary_disposition_table (PublishingRESTSupportUploadTransaction* self, GHashTable* new_disp_table) { GHashTable* _tmp0_ = NULL; GHashTable* _tmp1_ = NULL; -#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 489 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_UPLOAD_TRANSACTION (self)); -#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 489 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (new_disp_table != NULL); -#line 432 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 490 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = new_disp_table; -#line 432 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 490 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = _g_hash_table_ref0 (_tmp0_); -#line 432 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 490 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_hash_table_unref0 (self->binary_disposition_table); -#line 432 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 490 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->binary_disposition_table = _tmp1_; -#line 4032 "RESTSupport.c" +#line 4336 "RESTSupport.c" } static void _vala_SoupMultipart_free (SoupMultipart* self) { -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_boxed_free (soup_multipart_get_type (), self); -#line 4039 "RESTSupport.c" +#line 4343 "RESTSupport.c" } static void _vala_SoupBuffer_free (SoupBuffer* self) { -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_boxed_free (soup_buffer_get_type (), self); -#line 4046 "RESTSupport.c" +#line 4350 "RESTSupport.c" } @@ -4103,71 +4414,71 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR gboolean _tmp49_ = FALSE; SoupMessage* _tmp61_ = NULL; GError * _inner_error_ = NULL; -#line 435 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 493 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_REST_SUPPORT_TYPE_UPLOAD_TRANSACTION, PublishingRESTSupportUploadTransaction); -#line 436 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 494 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = publishing_rest_support_transaction_get_arguments (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_tmp0_); -#line 436 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 494 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" request_arguments = _tmp1_; -#line 436 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 494 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" request_arguments_length1 = _tmp0_; -#line 436 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 494 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _request_arguments_size_ = request_arguments_length1; -#line 437 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 495 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = request_arguments; -#line 437 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 495 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2__length1 = request_arguments_length1; -#line 437 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 495 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _vala_assert (_tmp2__length1 > 0, "request_arguments.length > 0"); -#line 439 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 497 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = soup_multipart_new ("multipart/form-data"); -#line 439 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 497 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" message_parts = _tmp3_; -#line 441 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 499 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = request_arguments; -#line 441 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 499 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4__length1 = request_arguments_length1; -#line 4130 "RESTSupport.c" +#line 4434 "RESTSupport.c" { PublishingRESTSupportArgument** arg_collection = NULL; gint arg_collection_length1 = 0; gint _arg_collection_size_ = 0; gint arg_it = 0; -#line 441 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 499 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" arg_collection = _tmp4_; -#line 441 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 499 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" arg_collection_length1 = _tmp4__length1; -#line 441 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 499 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" for (arg_it = 0; arg_it < _tmp4__length1; arg_it = arg_it + 1) { -#line 4142 "RESTSupport.c" +#line 4446 "RESTSupport.c" PublishingRESTSupportArgument* _tmp5_ = NULL; PublishingRESTSupportArgument* arg = NULL; -#line 441 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 499 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = _publishing_rest_support_argument_ref0 (arg_collection[arg_it]); -#line 441 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 499 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" arg = _tmp5_; -#line 4149 "RESTSupport.c" +#line 4453 "RESTSupport.c" { SoupMultipart* _tmp6_ = NULL; PublishingRESTSupportArgument* _tmp7_ = NULL; const gchar* _tmp8_ = NULL; PublishingRESTSupportArgument* _tmp9_ = NULL; const gchar* _tmp10_ = NULL; -#line 442 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 500 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = message_parts; -#line 442 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 500 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = arg; -#line 442 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 500 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = _tmp7_->key; -#line 442 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 500 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = arg; -#line 442 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 500 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = _tmp9_->value; -#line 442 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 500 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" soup_multipart_append_form_string (_tmp6_, _tmp8_, _tmp10_); -#line 441 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 499 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_argument_unref0 (arg); -#line 4170 "RESTSupport.c" +#line 4474 "RESTSupport.c" } } } @@ -4179,48 +4490,48 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR gchar* _tmp15_ = NULL; gchar* _tmp16_ = NULL; gsize _tmp17_ = 0UL; -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp11_ = self->publishable; -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp12_ = spit_publishing_publishable_get_serialized_file (_tmp11_); -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp13_ = _tmp12_; -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp14_ = g_file_get_path (_tmp13_); -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp15_ = _tmp14_; -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_file_get_contents (_tmp15_, &_tmp16_, &_tmp17_, &_inner_error_); -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (payload); -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" payload = _tmp16_; -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" payload_length = _tmp17_; -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp15_); -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (_tmp13_); -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == G_FILE_ERROR) { -#line 4208 "RESTSupport.c" +#line 4512 "RESTSupport.c" goto __catch2_g_file_error; } -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (payload); -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" __vala_SoupMultipart_free0 (message_parts); -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" request_arguments = (_vala_array_free (request_arguments, request_arguments_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL); -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" 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); -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 447 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 4223 "RESTSupport.c" +#line 4527 "RESTSupport.c" } } goto __finally2; @@ -4229,140 +4540,140 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR GError* e = NULL; const gchar* _tmp18_ = NULL; GError* _tmp19_ = NULL; -#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" e = _inner_error_; -#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = NULL; -#line 450 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 508 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp18_ = _ ("A temporary file needed for publishing is unavailable"); -#line 450 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 508 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp19_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR, _tmp18_); -#line 450 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 508 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = _tmp19_; -#line 450 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 508 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_error_free0 (e); -#line 4244 "RESTSupport.c" +#line 4548 "RESTSupport.c" goto __finally2; } __finally2: -#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (payload); -#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" __vala_SoupMultipart_free0 (message_parts); -#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" request_arguments = (_vala_array_free (request_arguments, request_arguments_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL); -#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 4262 "RESTSupport.c" +#line 4566 "RESTSupport.c" } else { -#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (payload); -#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" __vala_SoupMultipart_free0 (message_parts); -#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" request_arguments = (_vala_array_free (request_arguments, request_arguments_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL); -#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 446 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 4276 "RESTSupport.c" +#line 4580 "RESTSupport.c" } } -#line 454 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 512 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp20_ = message_parts; -#line 454 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 512 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp21_ = soup_multipart_get_length (_tmp20_); -#line 454 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 512 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" payload_part_num = _tmp21_; -#line 456 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 514 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp22_ = payload; -#line 456 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 514 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp23_ = string_get_data (_tmp22_, &_tmp23__length1); -#line 456 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 514 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp24_ = _tmp23_; -#line 456 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 514 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp24__length1 = _tmp23__length1; -#line 456 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 514 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp25_ = payload_length; -#line 456 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 514 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp26_ = soup_buffer_new (SOUP_MEMORY_COPY, _tmp24_ + 0, ((gint) _tmp25_) - 0); -#line 456 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 514 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" bindable_data = _tmp26_; -#line 457 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 515 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp27_ = message_parts; -#line 457 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 515 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp28_ = self->publishable; -#line 457 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 515 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp29_ = spit_publishing_publishable_get_serialized_file (_tmp28_); -#line 457 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 515 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp30_ = _tmp29_; -#line 457 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 515 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp31_ = g_file_get_path (_tmp30_); -#line 457 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 515 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp32_ = _tmp31_; -#line 457 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 515 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp33_ = self->mime_type; -#line 457 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 515 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp34_ = bindable_data; -#line 457 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 515 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" soup_multipart_append_form_file (_tmp27_, "", _tmp32_, _tmp33_, _tmp34_); -#line 457 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 515 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp32_); -#line 457 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 515 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (_tmp30_); -#line 462 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 520 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp35_ = message_parts; -#line 462 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 520 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp36_ = payload_part_num; -#line 462 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 520 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" soup_multipart_get_part (_tmp35_, _tmp36_, &_tmp37_, &_tmp38_); -#line 462 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 520 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" image_part_header = _tmp37_; -#line 462 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 520 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" image_part_body = _tmp38_; -#line 463 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 521 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp39_ = image_part_header; -#line 463 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 521 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp40_ = self->binary_disposition_table; -#line 463 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 521 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" soup_message_headers_set_content_disposition (_tmp39_, "form-data", _tmp40_); -#line 465 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 523 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp41_ = publishing_rest_support_transaction_get_endpoint_url (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction)); -#line 465 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 523 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp42_ = _tmp41_; -#line 465 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 523 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp43_ = message_parts; -#line 465 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 523 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp44_ = soup_form_request_new_from_multipart (_tmp42_, _tmp43_); -#line 465 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 523 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp45_ = _tmp44_; -#line 465 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 523 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp42_); -#line 465 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 523 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" outbound_message = _tmp45_; -#line 468 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 526 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp46_ = self->message_headers; -#line 468 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 526 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp47_ = gee_abstract_map_map_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap)); -#line 468 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 526 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" i = _tmp47_; -#line 469 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 527 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp48_ = i; -#line 469 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 527 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp49_ = gee_map_iterator_next (_tmp48_); -#line 469 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 527 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" cont = _tmp49_; -#line 470 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 528 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" while (TRUE) { -#line 4365 "RESTSupport.c" +#line 4669 "RESTSupport.c" gboolean _tmp50_ = FALSE; SoupMessage* _tmp51_ = NULL; SoupMessageHeaders* _tmp52_ = NULL; @@ -4374,150 +4685,150 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR gchar* _tmp58_ = NULL; GeeMapIterator* _tmp59_ = NULL; gboolean _tmp60_ = FALSE; -#line 470 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 528 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp50_ = cont; -#line 470 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 528 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!_tmp50_) { -#line 470 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 528 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" break; -#line 4383 "RESTSupport.c" +#line 4687 "RESTSupport.c" } -#line 471 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 529 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp51_ = outbound_message; -#line 471 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 529 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp52_ = _tmp51_->request_headers; -#line 471 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 529 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp53_ = i; -#line 471 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 529 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp54_ = gee_map_iterator_get_key (_tmp53_); -#line 471 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 529 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp55_ = (gchar*) _tmp54_; -#line 471 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 529 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp56_ = i; -#line 471 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 529 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp57_ = gee_map_iterator_get_value (_tmp56_); -#line 471 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 529 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp58_ = (gchar*) _tmp57_; -#line 471 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 529 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" soup_message_headers_append (_tmp52_, _tmp55_, _tmp58_); -#line 471 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 529 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp58_); -#line 471 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 529 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp55_); -#line 472 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp59_ = i; -#line 472 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp60_ = gee_map_iterator_next (_tmp59_); -#line 472 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" cont = _tmp60_; -#line 4413 "RESTSupport.c" +#line 4717 "RESTSupport.c" } -#line 474 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 532 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp61_ = outbound_message; -#line 474 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 532 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_set_message (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), _tmp61_); -#line 476 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 534 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_set_is_executed (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), TRUE); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_send (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (i); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (outbound_message); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" __vala_SoupBuffer_free0 (bindable_data); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (payload); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" __vala_SoupMultipart_free0 (message_parts); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" request_arguments = (_vala_array_free (request_arguments, request_arguments_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 4443 "RESTSupport.c" +#line 4747 "RESTSupport.c" } else { -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (i); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (outbound_message); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" __vala_SoupBuffer_free0 (bindable_data); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (payload); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" __vala_SoupMultipart_free0 (message_parts); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" request_arguments = (_vala_array_free (request_arguments, request_arguments_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 477 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 4463 "RESTSupport.c" +#line 4767 "RESTSupport.c" } } -#line 435 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 493 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (i); -#line 435 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 493 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (outbound_message); -#line 435 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 493 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" __vala_SoupBuffer_free0 (bindable_data); -#line 435 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 493 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (payload); -#line 435 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 493 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" __vala_SoupMultipart_free0 (message_parts); -#line 435 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 493 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" request_arguments = (_vala_array_free (request_arguments, request_arguments_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL); -#line 4478 "RESTSupport.c" +#line 4782 "RESTSupport.c" } static void publishing_rest_support_upload_transaction_class_init (PublishingRESTSupportUploadTransactionClass * klass) { -#line 381 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 439 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_upload_transaction_parent_class = g_type_class_peek_parent (klass); -#line 381 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 439 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportTransactionClass *) klass)->finalize = publishing_rest_support_upload_transaction_finalize; -#line 381 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 439 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportTransactionClass *) klass)->add_header = publishing_rest_support_upload_transaction_real_add_header; -#line 381 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 439 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportTransactionClass *) klass)->execute = publishing_rest_support_upload_transaction_real_execute; -#line 4491 "RESTSupport.c" +#line 4795 "RESTSupport.c" } static void publishing_rest_support_upload_transaction_instance_init (PublishingRESTSupportUploadTransaction * self) { -#line 382 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 440 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->binary_disposition_table = NULL; -#line 383 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 441 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->publishable = NULL; -#line 385 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 443 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->message_headers = NULL; -#line 4502 "RESTSupport.c" +#line 4806 "RESTSupport.c" } static void publishing_rest_support_upload_transaction_finalize (PublishingRESTSupportTransaction* obj) { PublishingRESTSupportUploadTransaction * self; -#line 381 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 439 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_REST_SUPPORT_TYPE_UPLOAD_TRANSACTION, PublishingRESTSupportUploadTransaction); -#line 382 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 440 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_hash_table_unref0 (self->binary_disposition_table); -#line 383 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 441 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (self->publishable); -#line 384 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 442 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->mime_type); -#line 385 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 443 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (self->message_headers); -#line 381 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 439 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" PUBLISHING_REST_SUPPORT_TRANSACTION_CLASS (publishing_rest_support_upload_transaction_parent_class)->finalize (obj); -#line 4520 "RESTSupport.c" +#line 4824 "RESTSupport.c" } @@ -4536,22 +4847,22 @@ GType publishing_rest_support_upload_transaction_get_type (void) { static PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_construct (GType object_type, xmlDoc* doc) { PublishingRESTSupportXmlDocument* self = NULL; xmlDoc* _tmp0_ = NULL; -#line 489 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 547 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportXmlDocument*) g_type_create_instance (object_type); -#line 490 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 548 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = doc; -#line 490 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 548 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->document = _tmp0_; -#line 489 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 547 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 4547 "RESTSupport.c" +#line 4851 "RESTSupport.c" } static PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_new (xmlDoc* doc) { -#line 489 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 547 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return publishing_rest_support_xml_document_construct (PUBLISHING_REST_SUPPORT_TYPE_XML_DOCUMENT, doc); -#line 4554 "RESTSupport.c" +#line 4858 "RESTSupport.c" } @@ -4559,17 +4870,17 @@ xmlNode* publishing_rest_support_xml_document_get_root_node (PublishingRESTSuppo xmlNode* result = NULL; xmlDoc* _tmp0_ = NULL; xmlNode* _tmp1_ = NULL; -#line 497 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 555 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_XML_DOCUMENT (self), NULL); -#line 498 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->document; -#line 498 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = xmlDocGetRootElement (_tmp0_); -#line 498 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp1_; -#line 498 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 4572 "RESTSupport.c" +#line 4876 "RESTSupport.c" } @@ -4581,92 +4892,92 @@ xmlNode* publishing_rest_support_xml_document_get_named_child (PublishingRESTSup const gchar* _tmp10_ = NULL; GError* _tmp11_ = NULL; GError * _inner_error_ = NULL; -#line 501 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 559 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_XML_DOCUMENT (self), NULL); -#line 501 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 559 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (child_name != NULL, NULL); -#line 503 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 561 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = parent; -#line 503 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 561 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = _tmp0_->children; -#line 503 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 561 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" doc_node_iter = _tmp1_; -#line 4594 "RESTSupport.c" +#line 4898 "RESTSupport.c" { gboolean _tmp2_ = FALSE; -#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = TRUE; -#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" while (TRUE) { -#line 4601 "RESTSupport.c" +#line 4905 "RESTSupport.c" xmlNode* _tmp5_ = NULL; xmlNode* _tmp6_ = NULL; const gchar* _tmp7_ = NULL; const gchar* _tmp8_ = NULL; -#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!_tmp2_) { -#line 4608 "RESTSupport.c" +#line 4912 "RESTSupport.c" xmlNode* _tmp3_ = NULL; xmlNode* _tmp4_ = NULL; -#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = doc_node_iter; -#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = _tmp3_->next; -#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" doc_node_iter = _tmp4_; -#line 4617 "RESTSupport.c" +#line 4921 "RESTSupport.c" } -#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = FALSE; -#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = doc_node_iter; -#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!(_tmp5_ != NULL)) { -#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" break; -#line 4627 "RESTSupport.c" +#line 4931 "RESTSupport.c" } -#line 506 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 564 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = doc_node_iter; -#line 506 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 564 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = _tmp6_->name; -#line 506 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 564 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = child_name; -#line 506 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 564 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (g_strcmp0 (_tmp7_, _tmp8_) == 0) { -#line 4637 "RESTSupport.c" +#line 4941 "RESTSupport.c" xmlNode* _tmp9_ = NULL; -#line 507 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 565 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = doc_node_iter; -#line 507 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 565 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp9_; -#line 507 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 565 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 4645 "RESTSupport.c" +#line 4949 "RESTSupport.c" } } } -#line 510 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 568 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = child_name; -#line 510 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 568 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp11_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, "Can't find XML node %s", _tmp10_); -#line 510 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 568 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = _tmp11_; -#line 510 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 568 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 510 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 568 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 510 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 568 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 4661 "RESTSupport.c" +#line 4965 "RESTSupport.c" } else { -#line 510 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 568 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 510 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 568 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 510 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 568 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 4669 "RESTSupport.c" +#line 4973 "RESTSupport.c" } } @@ -4679,63 +4990,63 @@ gchar* publishing_rest_support_xml_document_get_property_value (PublishingRESTSu gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; GError * _inner_error_ = NULL; -#line 514 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 572 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_XML_DOCUMENT (self), NULL); -#line 514 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 572 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (property_key != NULL, NULL); -#line 516 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 574 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = node; -#line 516 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 574 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = property_key; -#line 516 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 574 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = (gchar*) xmlGetProp (_tmp0_, (xmlChar*) _tmp1_); -#line 516 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 574 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value_string = _tmp2_; -#line 517 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 575 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = value_string; -#line 517 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 575 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp3_ == NULL) { -#line 4698 "RESTSupport.c" +#line 5002 "RESTSupport.c" const gchar* _tmp4_ = NULL; xmlNode* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; GError* _tmp7_ = NULL; -#line 518 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = property_key; -#line 518 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = node; -#line 518 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = _tmp5_->name; -#line 518 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, "Can't find XML " "property %s on node %s", _tmp4_, _tmp6_); -#line 518 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = _tmp7_; -#line 518 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 518 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 518 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (value_string); -#line 518 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 4721 "RESTSupport.c" +#line 5025 "RESTSupport.c" } else { -#line 518 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (value_string); -#line 518 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 518 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 518 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 4731 "RESTSupport.c" +#line 5035 "RESTSupport.c" } } -#line 521 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = value_string; -#line 521 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 4738 "RESTSupport.c" +#line 5042 "RESTSupport.c" } @@ -4758,7 +5069,7 @@ static gchar* string_chug (const gchar* self) { result = _result_; #line 1202 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 4761 "RESTSupport.c" +#line 5065 "RESTSupport.c" } @@ -4781,7 +5092,7 @@ static gchar* string_chomp (const gchar* self) { result = _result_; #line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 4784 "RESTSupport.c" +#line 5088 "RESTSupport.c" } @@ -4816,75 +5127,75 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str gchar* _tmp35_ = NULL; const gchar* _tmp36_ = NULL; GError * _inner_error_ = NULL; -#line 526 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 584 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = input_string; -#line 526 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 584 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp1_ == NULL) { -#line 526 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 584 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = TRUE; -#line 4825 "RESTSupport.c" +#line 5129 "RESTSupport.c" } else { const gchar* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 526 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 584 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = input_string; -#line 526 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 584 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = strlen (_tmp2_); -#line 526 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 584 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = _tmp3_; -#line 526 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 584 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = _tmp4_ == 0; -#line 4838 "RESTSupport.c" +#line 5142 "RESTSupport.c" } -#line 526 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 584 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp0_) { -#line 4842 "RESTSupport.c" +#line 5146 "RESTSupport.c" GError* _tmp5_ = NULL; -#line 527 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, "Empty XML string"); -#line 527 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = _tmp5_; -#line 527 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 527 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 527 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 4854 "RESTSupport.c" +#line 5158 "RESTSupport.c" } else { -#line 527 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 527 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 527 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 4862 "RESTSupport.c" +#line 5166 "RESTSupport.c" } } -#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = input_string; -#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = string_chug (_tmp7_); -#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = _tmp8_; -#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = string_chomp (_tmp9_); -#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp11_ = _tmp10_; -#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp12_ = g_str_has_prefix (_tmp11_, "<"); -#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp13_ = !_tmp12_; -#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp11_); -#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp9_); -#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp13_) { -#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = TRUE; -#line 4887 "RESTSupport.c" +#line 5191 "RESTSupport.c" } else { const gchar* _tmp14_ = NULL; gchar* _tmp15_ = NULL; @@ -4892,395 +5203,395 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; gboolean _tmp19_ = FALSE; -#line 531 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 589 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp14_ = input_string; -#line 531 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 589 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp15_ = string_chug (_tmp14_); -#line 531 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 589 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp16_ = _tmp15_; -#line 531 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 589 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp17_ = string_chomp (_tmp16_); -#line 531 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 589 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp18_ = _tmp17_; -#line 531 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 589 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp19_ = g_str_has_suffix (_tmp18_, ">"); -#line 531 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 589 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = !_tmp19_; -#line 531 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 589 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp18_); -#line 531 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 589 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp16_); -#line 4913 "RESTSupport.c" +#line 5217 "RESTSupport.c" } -#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp6_) { -#line 4917 "RESTSupport.c" +#line 5221 "RESTSupport.c" GError* _tmp20_ = NULL; -#line 533 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp20_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, "Unable to parse XML " "document"); -#line 533 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = _tmp20_; -#line 533 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 533 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 533 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 4929 "RESTSupport.c" +#line 5233 "RESTSupport.c" } else { -#line 533 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 533 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 533 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 4937 "RESTSupport.c" +#line 5241 "RESTSupport.c" } } -#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 597 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp21_ = input_string; -#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 597 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp22_ = input_string; -#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 597 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp23_ = strlen (_tmp22_); -#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 597 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp24_ = _tmp23_; -#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 597 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp25_ = xmlReadMemory (_tmp21_, (gint) _tmp24_, NULL, NULL, (gint) (XML_PARSE_NOBLANKS | XML_PARSE_RECOVER)); -#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 597 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" doc = _tmp25_; -#line 541 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 599 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp26_ = doc; -#line 541 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 599 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp26_ == NULL) { -#line 4956 "RESTSupport.c" +#line 5260 "RESTSupport.c" GError* _tmp27_ = NULL; -#line 542 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 600 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp27_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, "Unable to parse XML " "document"); -#line 542 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 600 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = _tmp27_; -#line 542 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 600 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 542 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 600 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 542 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 600 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 4968 "RESTSupport.c" +#line 5272 "RESTSupport.c" } else { -#line 542 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 600 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 542 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 600 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 542 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 600 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 4976 "RESTSupport.c" +#line 5280 "RESTSupport.c" } } -#line 547 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 605 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp28_ = doc; -#line 547 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 605 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp29_ = _tmp28_->children; -#line 547 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 605 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp29_ == NULL) { -#line 4985 "RESTSupport.c" +#line 5289 "RESTSupport.c" GError* _tmp30_ = NULL; -#line 548 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 606 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp30_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, "Unable to parse XML " "document"); -#line 548 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 606 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = _tmp30_; -#line 548 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 606 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 548 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 606 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 548 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 606 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 4997 "RESTSupport.c" +#line 5301 "RESTSupport.c" } else { -#line 548 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 606 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 548 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 606 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 548 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 606 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 5005 "RESTSupport.c" +#line 5309 "RESTSupport.c" } } -#line 552 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 610 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp31_ = doc; -#line 552 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 610 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp32_ = publishing_rest_support_xml_document_new (_tmp31_); -#line 552 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 610 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" rest_doc = _tmp32_; -#line 554 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 612 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp33_ = check_for_error_response; -#line 554 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 612 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp33__target = check_for_error_response_target; -#line 554 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 612 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp34_ = rest_doc; -#line 554 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 612 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp35_ = _tmp33_ (_tmp34_, _tmp33__target); -#line 554 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 612 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _result_ = _tmp35_; -#line 555 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 613 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp36_ = _result_; -#line 555 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 613 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp36_ != NULL) { -#line 5028 "RESTSupport.c" +#line 5332 "RESTSupport.c" const gchar* _tmp37_ = NULL; GError* _tmp38_ = NULL; -#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp37_ = _result_; -#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp38_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_SERVICE_ERROR, "%s", _tmp37_); -#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = _tmp38_; -#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_propagate_error (error, _inner_error_); -#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_result_); -#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_xml_document_unref0 (rest_doc); -#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 5047 "RESTSupport.c" +#line 5351 "RESTSupport.c" } else { -#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_result_); -#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_xml_document_unref0 (rest_doc); -#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 5059 "RESTSupport.c" +#line 5363 "RESTSupport.c" } } -#line 558 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 616 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = rest_doc; -#line 558 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 616 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_result_); -#line 558 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 616 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 5068 "RESTSupport.c" +#line 5372 "RESTSupport.c" } static void publishing_rest_support_value_xml_document_init (GValue* value) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 5075 "RESTSupport.c" +#line 5379 "RESTSupport.c" } static void publishing_rest_support_value_xml_document_free_value (GValue* value) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (value->data[0].v_pointer) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_xml_document_unref (value->data[0].v_pointer); -#line 5084 "RESTSupport.c" +#line 5388 "RESTSupport.c" } } static void publishing_rest_support_value_xml_document_copy_value (const GValue* src_value, GValue* dest_value) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (src_value->data[0].v_pointer) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" dest_value->data[0].v_pointer = publishing_rest_support_xml_document_ref (src_value->data[0].v_pointer); -#line 5094 "RESTSupport.c" +#line 5398 "RESTSupport.c" } else { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" dest_value->data[0].v_pointer = NULL; -#line 5098 "RESTSupport.c" +#line 5402 "RESTSupport.c" } } static gpointer publishing_rest_support_value_xml_document_peek_pointer (const GValue* value) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return value->data[0].v_pointer; -#line 5106 "RESTSupport.c" +#line 5410 "RESTSupport.c" } static gchar* publishing_rest_support_value_xml_document_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (collect_values[0].v_pointer) { -#line 5113 "RESTSupport.c" +#line 5417 "RESTSupport.c" PublishingRESTSupportXmlDocument* object; object = collect_values[0].v_pointer; -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (object->parent_instance.g_class == NULL) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 5120 "RESTSupport.c" +#line 5424 "RESTSupport.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 5124 "RESTSupport.c" +#line 5428 "RESTSupport.c" } -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = publishing_rest_support_xml_document_ref (object); -#line 5128 "RESTSupport.c" +#line 5432 "RESTSupport.c" } else { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 5132 "RESTSupport.c" +#line 5436 "RESTSupport.c" } -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 5136 "RESTSupport.c" +#line 5440 "RESTSupport.c" } static gchar* publishing_rest_support_value_xml_document_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PublishingRESTSupportXmlDocument** object_p; object_p = collect_values[0].v_pointer; -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!object_p) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 5147 "RESTSupport.c" +#line 5451 "RESTSupport.c" } -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!value->data[0].v_pointer) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *object_p = NULL; -#line 5153 "RESTSupport.c" +#line 5457 "RESTSupport.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *object_p = value->data[0].v_pointer; -#line 5157 "RESTSupport.c" +#line 5461 "RESTSupport.c" } else { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *object_p = publishing_rest_support_xml_document_ref (value->data[0].v_pointer); -#line 5161 "RESTSupport.c" +#line 5465 "RESTSupport.c" } -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 5165 "RESTSupport.c" +#line 5469 "RESTSupport.c" } GParamSpec* publishing_rest_support_param_spec_xml_document (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { PublishingRESTSupportParamSpecXmlDocument* spec; -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_REST_SUPPORT_TYPE_XML_DOCUMENT), NULL); -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return G_PARAM_SPEC (spec); -#line 5179 "RESTSupport.c" +#line 5483 "RESTSupport.c" } gpointer publishing_rest_support_value_get_xml_document (const GValue* value) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_XML_DOCUMENT), NULL); -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return value->data[0].v_pointer; -#line 5188 "RESTSupport.c" +#line 5492 "RESTSupport.c" } void publishing_rest_support_value_set_xml_document (GValue* value, gpointer v_object) { PublishingRESTSupportXmlDocument* old; -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_XML_DOCUMENT)); -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" old = value->data[0].v_pointer; -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (v_object) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_REST_SUPPORT_TYPE_XML_DOCUMENT)); -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = v_object; -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_xml_document_ref (value->data[0].v_pointer); -#line 5208 "RESTSupport.c" +#line 5512 "RESTSupport.c" } else { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 5212 "RESTSupport.c" +#line 5516 "RESTSupport.c" } -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (old) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_xml_document_unref (old); -#line 5218 "RESTSupport.c" +#line 5522 "RESTSupport.c" } } void publishing_rest_support_value_take_xml_document (GValue* value, gpointer v_object) { PublishingRESTSupportXmlDocument* old; -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_XML_DOCUMENT)); -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" old = value->data[0].v_pointer; -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (v_object) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_REST_SUPPORT_TYPE_XML_DOCUMENT)); -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = v_object; -#line 5237 "RESTSupport.c" +#line 5541 "RESTSupport.c" } else { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 5241 "RESTSupport.c" +#line 5545 "RESTSupport.c" } -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (old) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_xml_document_unref (old); -#line 5247 "RESTSupport.c" +#line 5551 "RESTSupport.c" } } static void publishing_rest_support_xml_document_class_init (PublishingRESTSupportXmlDocumentClass * klass) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_xml_document_parent_class = g_type_class_peek_parent (klass); -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportXmlDocumentClass *) klass)->finalize = publishing_rest_support_xml_document_finalize; -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_type_class_add_private (klass, sizeof (PublishingRESTSupportXmlDocumentPrivate)); -#line 5259 "RESTSupport.c" +#line 5563 "RESTSupport.c" } static void publishing_rest_support_xml_document_instance_init (PublishingRESTSupportXmlDocument * self) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv = PUBLISHING_REST_SUPPORT_XML_DOCUMENT_GET_PRIVATE (self); -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->ref_count = 1; -#line 5268 "RESTSupport.c" +#line 5572 "RESTSupport.c" } static void publishing_rest_support_xml_document_finalize (PublishingRESTSupportXmlDocument* obj) { PublishingRESTSupportXmlDocument * self; xmlDoc* _tmp0_ = NULL; -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_REST_SUPPORT_TYPE_XML_DOCUMENT, PublishingRESTSupportXmlDocument); -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_destroy (self); -#line 494 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 552 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->document; -#line 494 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 552 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" xmlFreeDoc (_tmp0_); -#line 5283 "RESTSupport.c" +#line 5587 "RESTSupport.c" } @@ -5301,24 +5612,24 @@ GType publishing_rest_support_xml_document_get_type (void) { gpointer publishing_rest_support_xml_document_ref (gpointer instance) { PublishingRESTSupportXmlDocument* self; self = instance; -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_atomic_int_inc (&self->ref_count); -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return instance; -#line 5308 "RESTSupport.c" +#line 5612 "RESTSupport.c" } void publishing_rest_support_xml_document_unref (gpointer instance) { PublishingRESTSupportXmlDocument* self; self = instance; -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" PUBLISHING_REST_SUPPORT_XML_DOCUMENT_GET_CLASS (self)->finalize (self); -#line 481 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_type_free_instance ((GTypeInstance *) self); -#line 5321 "RESTSupport.c" +#line 5625 "RESTSupport.c" } } @@ -5333,21 +5644,21 @@ gchar* publishing_rest_support_decimal_entity_encode (const gchar* source) { GString* _tmp23_ = NULL; const gchar* _tmp24_ = NULL; gchar* _tmp25_ = NULL; -#line 567 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 625 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (source != NULL, NULL); -#line 568 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 626 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = g_string_new (""); -#line 568 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 626 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" encoded_str_builder = _tmp0_; -#line 569 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 627 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = source; -#line 569 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 627 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = g_strdup (_tmp1_); -#line 569 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 627 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" current_char = _tmp2_; -#line 570 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 628 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" while (TRUE) { -#line 5350 "RESTSupport.c" +#line 5654 "RESTSupport.c" gint current_char_value = 0; const gchar* _tmp3_ = NULL; gunichar _tmp4_ = 0U; @@ -5359,146 +5670,146 @@ gchar* publishing_rest_support_decimal_entity_encode (const gchar* source) { const gchar* _tmp20_ = NULL; const gchar* _tmp21_ = NULL; gchar* _tmp22_ = NULL; -#line 571 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 629 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = current_char; -#line 571 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 629 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = g_utf8_get_char_validated (_tmp3_, (gssize) -1); -#line 571 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 629 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" current_char_value = (gint) _tmp4_; -#line 574 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 632 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = current_char_value; -#line 574 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 632 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp5_ < 1) { -#line 575 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 633 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" break; -#line 5374 "RESTSupport.c" +#line 5678 "RESTSupport.c" } -#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = current_char_value; -#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp9_ < 128) { -#line 5380 "RESTSupport.c" +#line 5684 "RESTSupport.c" gint _tmp10_ = 0; -#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = current_char_value; -#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = _tmp10_ != ((gint) '&'); -#line 5386 "RESTSupport.c" +#line 5690 "RESTSupport.c" } else { -#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = FALSE; -#line 5390 "RESTSupport.c" +#line 5694 "RESTSupport.c" } -#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp8_) { -#line 5394 "RESTSupport.c" +#line 5698 "RESTSupport.c" gint _tmp11_ = 0; -#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp11_ = current_char_value; -#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = _tmp11_ != ((gint) '<'); -#line 5400 "RESTSupport.c" +#line 5704 "RESTSupport.c" } else { -#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = FALSE; -#line 5404 "RESTSupport.c" +#line 5708 "RESTSupport.c" } -#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp7_) { -#line 5408 "RESTSupport.c" +#line 5712 "RESTSupport.c" gint _tmp12_ = 0; -#line 580 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 638 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp12_ = current_char_value; -#line 580 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 638 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = _tmp12_ != ((gint) '>'); -#line 5414 "RESTSupport.c" +#line 5718 "RESTSupport.c" } else { -#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = FALSE; -#line 5418 "RESTSupport.c" +#line 5722 "RESTSupport.c" } -#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp6_) { -#line 5422 "RESTSupport.c" +#line 5726 "RESTSupport.c" GString* _tmp13_ = NULL; const gchar* _tmp14_ = NULL; gunichar _tmp15_ = 0U; -#line 581 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 639 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp13_ = encoded_str_builder; -#line 581 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 639 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp14_ = current_char; -#line 581 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 639 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp15_ = g_utf8_get_char_validated (_tmp14_, (gssize) -1); -#line 581 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 639 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_string_append_unichar (_tmp13_, _tmp15_); -#line 5434 "RESTSupport.c" +#line 5738 "RESTSupport.c" } else { GString* _tmp16_ = NULL; gint _tmp17_ = 0; gchar* _tmp18_ = NULL; gchar* _tmp19_ = NULL; -#line 583 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 641 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp16_ = encoded_str_builder; -#line 583 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 641 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp17_ = current_char_value; -#line 583 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 641 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp18_ = g_strdup_printf ("&#%d;", _tmp17_); -#line 583 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 641 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp19_ = _tmp18_; -#line 583 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 641 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_string_append (_tmp16_, _tmp19_); -#line 583 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 641 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp19_); -#line 5452 "RESTSupport.c" +#line 5756 "RESTSupport.c" } -#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 643 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp20_ = current_char; -#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 643 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp21_ = g_utf8_next_char (_tmp20_); -#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 643 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp22_ = g_strdup (_tmp21_); -#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 643 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (current_char); -#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 643 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" current_char = _tmp22_; -#line 5464 "RESTSupport.c" +#line 5768 "RESTSupport.c" } -#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 646 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp23_ = encoded_str_builder; -#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 646 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp24_ = _tmp23_->str; -#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 646 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp25_ = g_strdup (_tmp24_); -#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 646 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp25_; -#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 646 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (current_char); -#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 646 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_string_free0 (encoded_str_builder); -#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 646 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 5480 "RESTSupport.c" +#line 5784 "RESTSupport.c" } static SpitPublishingPublishable** _vala_array_dup2 (SpitPublishingPublishable** self, int length) { SpitPublishingPublishable** result; int i; -#line 601 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = g_new0 (SpitPublishingPublishable*, length + 1); -#line 601 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" for (i = 0; i < length; i++) { -#line 5491 "RESTSupport.c" +#line 5795 "RESTSupport.c" SpitPublishingPublishable* _tmp0_ = NULL; -#line 601 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = _g_object_ref0 (self[i]); -#line 601 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result[i] = _tmp0_; -#line 5497 "RESTSupport.c" +#line 5801 "RESTSupport.c" } -#line 601 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 5501 "RESTSupport.c" +#line 5805 "RESTSupport.c" } @@ -5510,44 +5821,44 @@ PublishingRESTSupportBatchUploader* publishing_rest_support_batch_uploader_const gint _tmp1__length1 = 0; PublishingRESTSupportSession* _tmp2_ = NULL; PublishingRESTSupportSession* _tmp3_ = NULL; -#line 600 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 658 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_SESSION (session), NULL); -#line 600 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 658 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportBatchUploader*) g_type_create_instance (object_type); -#line 601 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = publishables; -#line 601 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0__length1 = publishables_length1; -#line 601 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup2 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); -#line 601 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1__length1 = _tmp0__length1; -#line 601 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->publishables = (_vala_array_free (self->priv->publishables, self->priv->publishables_length1, (GDestroyNotify) g_object_unref), NULL); -#line 601 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->publishables = _tmp1_; -#line 601 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->publishables_length1 = _tmp1__length1; -#line 601 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->_publishables_size_ = self->priv->publishables_length1; -#line 602 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 660 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = session; -#line 602 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 660 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = _publishing_rest_support_session_ref0 (_tmp2_); -#line 602 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 660 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_session_unref0 (self->priv->session); -#line 602 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 660 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->session = _tmp3_; -#line 600 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 658 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 5543 "RESTSupport.c" +#line 5847 "RESTSupport.c" } static void _publishing_rest_support_batch_uploader_on_chunk_transmitted_publishing_rest_support_transaction_chunk_transmitted (PublishingRESTSupportTransaction* _sender, gint bytes_written_so_far, gint total_bytes, gpointer self) { -#line 623 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 681 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_batch_uploader_on_chunk_transmitted ((PublishingRESTSupportBatchUploader*) self, bytes_written_so_far, total_bytes); -#line 5550 "RESTSupport.c" +#line 5854 "RESTSupport.c" } @@ -5557,36 +5868,36 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup gint _tmp0__length1 = 0; gboolean _tmp23_ = FALSE; GError * _inner_error_ = NULL; -#line 605 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 663 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_BATCH_UPLOADER (self)); -#line 606 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 664 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->current_file = 0; -#line 607 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 665 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" stop = FALSE; -#line 608 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 666 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->publishables; -#line 608 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 666 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0__length1 = self->priv->publishables_length1; -#line 5570 "RESTSupport.c" +#line 5874 "RESTSupport.c" { SpitPublishingPublishable** publishable_collection = NULL; gint publishable_collection_length1 = 0; gint _publishable_collection_size_ = 0; gint publishable_it = 0; -#line 608 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 666 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishable_collection = _tmp0_; -#line 608 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 666 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishable_collection_length1 = _tmp0__length1; -#line 608 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 666 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" for (publishable_it = 0; publishable_it < _tmp0__length1; publishable_it = publishable_it + 1) { -#line 5582 "RESTSupport.c" +#line 5886 "RESTSupport.c" SpitPublishingPublishable* _tmp1_ = NULL; SpitPublishingPublishable* publishable = NULL; -#line 608 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 666 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = _g_object_ref0 (publishable_collection[publishable_it]); -#line 608 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 666 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishable = _tmp1_; -#line 5589 "RESTSupport.c" +#line 5893 "RESTSupport.c" { GFile* file = NULL; SpitPublishingPublishable* _tmp2_ = NULL; @@ -5609,104 +5920,104 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup guint _tmp20_ = 0U; gboolean _tmp21_ = FALSE; gint _tmp22_ = 0; -#line 609 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 667 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = publishable; -#line 609 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 667 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = spit_publishing_publishable_get_serialized_file (_tmp2_); -#line 609 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 667 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" file = _tmp3_; -#line 612 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 670 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = file; -#line 612 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 670 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp4_ == NULL) { -#line 5622 "RESTSupport.c" +#line 5926 "RESTSupport.c" gint _tmp5_ = 0; -#line 613 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 671 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = self->priv->current_file; -#line 613 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 671 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->current_file = _tmp5_ + 1; -#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 672 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (file); -#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 672 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (publishable); -#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 672 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" continue; -#line 5634 "RESTSupport.c" +#line 5938 "RESTSupport.c" } -#line 617 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 675 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = self->priv->current_file; -#line 617 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 675 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = self->priv->publishables; -#line 617 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 675 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7__length1 = self->priv->publishables_length1; -#line 617 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 675 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" fraction_complete = ((gdouble) _tmp6_) / _tmp7__length1; -#line 618 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 676 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = self->priv->status_updated; -#line 618 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 676 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8__target = self->priv->status_updated_target; -#line 618 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 676 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp8_ != NULL) { -#line 5650 "RESTSupport.c" +#line 5954 "RESTSupport.c" SpitPublishingProgressCallback _tmp9_ = NULL; void* _tmp9__target = NULL; gint _tmp10_ = 0; gdouble _tmp11_ = 0.0; -#line 619 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 677 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = self->priv->status_updated; -#line 619 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 677 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9__target = self->priv->status_updated_target; -#line 619 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 677 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = self->priv->current_file; -#line 619 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 677 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp11_ = fraction_complete; -#line 619 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 677 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ (_tmp10_ + 1, _tmp11_, _tmp9__target); -#line 5665 "RESTSupport.c" +#line 5969 "RESTSupport.c" } -#line 621 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp12_ = self->priv->publishables; -#line 621 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp12__length1 = self->priv->publishables_length1; -#line 621 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp13_ = self->priv->current_file; -#line 621 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp14_ = _tmp12_[_tmp13_]; -#line 621 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp15_ = publishing_rest_support_batch_uploader_create_transaction (self, _tmp14_); -#line 621 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" txn = _tmp15_; -#line 623 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 681 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp16_ = txn; -#line 623 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 681 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_connect (_tmp16_, "chunk-transmitted", (GCallback) _publishing_rest_support_batch_uploader_on_chunk_transmitted_publishing_rest_support_transaction_chunk_transmitted, self); -#line 5683 "RESTSupport.c" +#line 5987 "RESTSupport.c" { PublishingRESTSupportTransaction* _tmp17_ = NULL; -#line 626 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 684 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp17_ = txn; -#line 626 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 684 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_execute (_tmp17_, &_inner_error_); -#line 626 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 684 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 626 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 684 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 5694 "RESTSupport.c" +#line 5998 "RESTSupport.c" goto __catch3_spit_publishing_publishing_error; } -#line 626 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 684 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_transaction_unref0 (txn); -#line 626 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 684 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (file); -#line 626 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 684 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (publishable); -#line 626 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 684 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" 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); -#line 626 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 684 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 626 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 684 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 5709 "RESTSupport.c" +#line 6013 "RESTSupport.c" } } goto __finally3; @@ -5714,82 +6025,82 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup { GError* err = NULL; GError* _tmp18_ = NULL; -#line 625 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 683 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" err = _inner_error_; -#line 625 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 683 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = NULL; -#line 628 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 686 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp18_ = err; -#line 628 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 686 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_emit_by_name (self, "upload-error", _tmp18_); -#line 629 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 687 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" stop = TRUE; -#line 625 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 683 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_error_free0 (err); -#line 5729 "RESTSupport.c" +#line 6033 "RESTSupport.c" } __finally3: -#line 625 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 683 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 625 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 683 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_transaction_unref0 (txn); -#line 625 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 683 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (file); -#line 625 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 683 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (publishable); -#line 625 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 683 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 625 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 683 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 625 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 683 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 5746 "RESTSupport.c" +#line 6050 "RESTSupport.c" } -#line 632 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 690 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp19_ = txn; -#line 632 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 690 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("chunk-transmitted", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp20_, NULL, FALSE); -#line 632 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 690 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp19_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp20_, 0, NULL, (GCallback) _publishing_rest_support_batch_uploader_on_chunk_transmitted_publishing_rest_support_transaction_chunk_transmitted, self); -#line 634 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 692 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp21_ = stop; -#line 634 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 692 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp21_) { -#line 635 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 693 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_transaction_unref0 (txn); -#line 635 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 693 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (file); -#line 635 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 693 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (publishable); -#line 635 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 693 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" break; -#line 5766 "RESTSupport.c" +#line 6070 "RESTSupport.c" } -#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp22_ = self->priv->current_file; -#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->current_file = _tmp22_ + 1; -#line 608 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 666 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_transaction_unref0 (txn); -#line 608 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 666 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (file); -#line 608 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 666 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (publishable); -#line 5778 "RESTSupport.c" +#line 6082 "RESTSupport.c" } } } -#line 640 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 698 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp23_ = stop; -#line 640 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 698 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!_tmp23_) { -#line 5786 "RESTSupport.c" +#line 6090 "RESTSupport.c" gint _tmp24_ = 0; -#line 641 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 699 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp24_ = self->priv->current_file; -#line 641 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 699 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_emit_by_name (self, "upload-complete", _tmp24_); -#line 5792 "RESTSupport.c" +#line 6096 "RESTSupport.c" } } @@ -5808,52 +6119,52 @@ static void publishing_rest_support_batch_uploader_on_chunk_transmitted (Publish gdouble _tmp6_ = 0.0; SpitPublishingProgressCallback _tmp7_ = NULL; void* _tmp7__target = NULL; -#line 644 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 702 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_BATCH_UPLOADER (self)); -#line 645 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 703 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->publishables; -#line 645 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 703 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0__length1 = self->priv->publishables_length1; -#line 645 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 703 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" file_span = 1.0 / _tmp0__length1; -#line 646 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 704 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = bytes_written_so_far; -#line 646 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 704 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = total_bytes; -#line 646 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 704 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" this_file_fraction_complete = ((gdouble) _tmp1_) / _tmp2_; -#line 647 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 705 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = self->priv->current_file; -#line 647 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 705 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = file_span; -#line 647 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 705 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = this_file_fraction_complete; -#line 647 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 705 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = file_span; -#line 647 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 705 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" fraction_complete = (_tmp3_ * _tmp4_) + (_tmp5_ * _tmp6_); -#line 650 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 708 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = self->priv->status_updated; -#line 650 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 708 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7__target = self->priv->status_updated_target; -#line 650 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 708 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp7_ != NULL) { -#line 5841 "RESTSupport.c" +#line 6145 "RESTSupport.c" SpitPublishingProgressCallback _tmp8_ = NULL; void* _tmp8__target = NULL; gint _tmp9_ = 0; gdouble _tmp10_ = 0.0; -#line 651 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 709 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = self->priv->status_updated; -#line 651 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 709 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8__target = self->priv->status_updated_target; -#line 651 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 709 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = self->priv->current_file; -#line 651 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 709 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = fraction_complete; -#line 651 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 709 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ (_tmp9_ + 1, _tmp10_, _tmp8__target); -#line 5856 "RESTSupport.c" +#line 6160 "RESTSupport.c" } } @@ -5862,17 +6173,17 @@ PublishingRESTSupportSession* publishing_rest_support_batch_uploader_get_session PublishingRESTSupportSession* result = NULL; PublishingRESTSupportSession* _tmp0_ = NULL; PublishingRESTSupportSession* _tmp1_ = NULL; -#line 654 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 712 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_BATCH_UPLOADER (self), NULL); -#line 655 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 713 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->session; -#line 655 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 713 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = _publishing_rest_support_session_ref0 (_tmp0_); -#line 655 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 713 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp1_; -#line 655 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 713 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 5875 "RESTSupport.c" +#line 6179 "RESTSupport.c" } @@ -5883,41 +6194,41 @@ SpitPublishingPublishable* publishing_rest_support_batch_uploader_get_current_pu gint _tmp1_ = 0; SpitPublishingPublishable* _tmp2_ = NULL; SpitPublishingPublishable* _tmp3_ = NULL; -#line 658 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 716 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_BATCH_UPLOADER (self), NULL); -#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 717 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->publishables; -#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 717 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0__length1 = self->priv->publishables_length1; -#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 717 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->priv->current_file; -#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 717 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = _tmp0_[_tmp1_]; -#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 717 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = _g_object_ref0 (_tmp2_); -#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 717 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp3_; -#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 717 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 5902 "RESTSupport.c" +#line 6206 "RESTSupport.c" } static PublishingRESTSupportTransaction* publishing_rest_support_batch_uploader_real_create_transaction (PublishingRESTSupportBatchUploader* self, SpitPublishingPublishable* publishable) { -#line 662 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 720 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_batch_uploader_create_transaction'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 662 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 720 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 5911 "RESTSupport.c" +#line 6215 "RESTSupport.c" } PublishingRESTSupportTransaction* publishing_rest_support_batch_uploader_create_transaction (PublishingRESTSupportBatchUploader* self, SpitPublishingPublishable* publishable) { -#line 662 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 720 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_BATCH_UPLOADER (self), NULL); -#line 662 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 720 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return PUBLISHING_REST_SUPPORT_BATCH_UPLOADER_GET_CLASS (self)->create_transaction (self, publishable); -#line 5920 "RESTSupport.c" +#line 6224 "RESTSupport.c" } @@ -5926,258 +6237,258 @@ void publishing_rest_support_batch_uploader_upload (PublishingRESTSupportBatchUp void* _tmp0__target = NULL; SpitPublishingPublishable** _tmp1_ = NULL; gint _tmp1__length1 = 0; -#line 664 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 722 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_BATCH_UPLOADER (self)); -#line 665 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 723 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = status_updated; -#line 665 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 723 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0__target = status_updated_target; -#line 665 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 723 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->status_updated = _tmp0_; -#line 665 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 723 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->status_updated_target = _tmp0__target; -#line 667 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 725 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->priv->publishables; -#line 667 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 725 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1__length1 = self->priv->publishables_length1; -#line 667 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 725 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp1__length1 > 0) { -#line 668 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 726 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_batch_uploader_send_files (self); -#line 5947 "RESTSupport.c" +#line 6251 "RESTSupport.c" } } static void publishing_rest_support_value_batch_uploader_init (GValue* value) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 5955 "RESTSupport.c" +#line 6259 "RESTSupport.c" } static void publishing_rest_support_value_batch_uploader_free_value (GValue* value) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (value->data[0].v_pointer) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_batch_uploader_unref (value->data[0].v_pointer); -#line 5964 "RESTSupport.c" +#line 6268 "RESTSupport.c" } } static void publishing_rest_support_value_batch_uploader_copy_value (const GValue* src_value, GValue* dest_value) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (src_value->data[0].v_pointer) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" dest_value->data[0].v_pointer = publishing_rest_support_batch_uploader_ref (src_value->data[0].v_pointer); -#line 5974 "RESTSupport.c" +#line 6278 "RESTSupport.c" } else { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" dest_value->data[0].v_pointer = NULL; -#line 5978 "RESTSupport.c" +#line 6282 "RESTSupport.c" } } static gpointer publishing_rest_support_value_batch_uploader_peek_pointer (const GValue* value) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return value->data[0].v_pointer; -#line 5986 "RESTSupport.c" +#line 6290 "RESTSupport.c" } static gchar* publishing_rest_support_value_batch_uploader_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (collect_values[0].v_pointer) { -#line 5993 "RESTSupport.c" +#line 6297 "RESTSupport.c" PublishingRESTSupportBatchUploader* object; object = collect_values[0].v_pointer; -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (object->parent_instance.g_class == NULL) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 6000 "RESTSupport.c" +#line 6304 "RESTSupport.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 6004 "RESTSupport.c" +#line 6308 "RESTSupport.c" } -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = publishing_rest_support_batch_uploader_ref (object); -#line 6008 "RESTSupport.c" +#line 6312 "RESTSupport.c" } else { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 6012 "RESTSupport.c" +#line 6316 "RESTSupport.c" } -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 6016 "RESTSupport.c" +#line 6320 "RESTSupport.c" } static gchar* publishing_rest_support_value_batch_uploader_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PublishingRESTSupportBatchUploader** object_p; object_p = collect_values[0].v_pointer; -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!object_p) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 6027 "RESTSupport.c" +#line 6331 "RESTSupport.c" } -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!value->data[0].v_pointer) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *object_p = NULL; -#line 6033 "RESTSupport.c" +#line 6337 "RESTSupport.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *object_p = value->data[0].v_pointer; -#line 6037 "RESTSupport.c" +#line 6341 "RESTSupport.c" } else { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" *object_p = publishing_rest_support_batch_uploader_ref (value->data[0].v_pointer); -#line 6041 "RESTSupport.c" +#line 6345 "RESTSupport.c" } -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 6045 "RESTSupport.c" +#line 6349 "RESTSupport.c" } GParamSpec* publishing_rest_support_param_spec_batch_uploader (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { PublishingRESTSupportParamSpecBatchUploader* spec; -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER), NULL); -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return G_PARAM_SPEC (spec); -#line 6059 "RESTSupport.c" +#line 6363 "RESTSupport.c" } gpointer publishing_rest_support_value_get_batch_uploader (const GValue* value) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER), NULL); -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return value->data[0].v_pointer; -#line 6068 "RESTSupport.c" +#line 6372 "RESTSupport.c" } void publishing_rest_support_value_set_batch_uploader (GValue* value, gpointer v_object) { PublishingRESTSupportBatchUploader* old; -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER)); -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" old = value->data[0].v_pointer; -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (v_object) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER)); -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = v_object; -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_batch_uploader_ref (value->data[0].v_pointer); -#line 6088 "RESTSupport.c" +#line 6392 "RESTSupport.c" } else { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 6092 "RESTSupport.c" +#line 6396 "RESTSupport.c" } -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (old) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_batch_uploader_unref (old); -#line 6098 "RESTSupport.c" +#line 6402 "RESTSupport.c" } } void publishing_rest_support_value_take_batch_uploader (GValue* value, gpointer v_object) { PublishingRESTSupportBatchUploader* old; -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER)); -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" old = value->data[0].v_pointer; -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (v_object) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER)); -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = v_object; -#line 6117 "RESTSupport.c" +#line 6421 "RESTSupport.c" } else { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" value->data[0].v_pointer = NULL; -#line 6121 "RESTSupport.c" +#line 6425 "RESTSupport.c" } -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (old) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_batch_uploader_unref (old); -#line 6127 "RESTSupport.c" +#line 6431 "RESTSupport.c" } } static void publishing_rest_support_batch_uploader_class_init (PublishingRESTSupportBatchUploaderClass * klass) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_batch_uploader_parent_class = g_type_class_peek_parent (klass); -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportBatchUploaderClass *) klass)->finalize = publishing_rest_support_batch_uploader_finalize; -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_type_class_add_private (klass, sizeof (PublishingRESTSupportBatchUploaderPrivate)); -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportBatchUploaderClass *) klass)->create_transaction = publishing_rest_support_batch_uploader_real_create_transaction; -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_new ("upload_complete", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT); -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_new ("upload_error", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER); -#line 6145 "RESTSupport.c" +#line 6449 "RESTSupport.c" } static void publishing_rest_support_batch_uploader_instance_init (PublishingRESTSupportBatchUploader * self) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv = PUBLISHING_REST_SUPPORT_BATCH_UPLOADER_GET_PRIVATE (self); -#line 592 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 650 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->current_file = 0; -#line 593 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 651 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->publishables = NULL; -#line 593 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 651 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->publishables_length1 = 0; -#line 593 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 651 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->_publishables_size_ = self->priv->publishables_length1; -#line 594 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 652 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->session = NULL; -#line 595 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 653 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->status_updated = NULL; -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->ref_count = 1; -#line 6166 "RESTSupport.c" +#line 6470 "RESTSupport.c" } static void publishing_rest_support_batch_uploader_finalize (PublishingRESTSupportBatchUploader* obj) { PublishingRESTSupportBatchUploader * self; -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader); -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_destroy (self); -#line 593 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 651 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->publishables = (_vala_array_free (self->priv->publishables, self->priv->publishables_length1, (GDestroyNotify) g_object_unref), NULL); -#line 594 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 652 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_session_unref0 (self->priv->session); -#line 6180 "RESTSupport.c" +#line 6484 "RESTSupport.c" } @@ -6198,24 +6509,24 @@ GType publishing_rest_support_batch_uploader_get_type (void) { gpointer publishing_rest_support_batch_uploader_ref (gpointer instance) { PublishingRESTSupportBatchUploader* self; self = instance; -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_atomic_int_inc (&self->ref_count); -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return instance; -#line 6205 "RESTSupport.c" +#line 6509 "RESTSupport.c" } void publishing_rest_support_batch_uploader_unref (gpointer instance) { PublishingRESTSupportBatchUploader* self; self = instance; -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" PUBLISHING_REST_SUPPORT_BATCH_UPLOADER_GET_CLASS (self)->finalize (self); -#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_type_free_instance ((GTypeInstance *) self); -#line 6218 "RESTSupport.c" +#line 6522 "RESTSupport.c" } } @@ -6234,7 +6545,7 @@ static gunichar string_get_char (const gchar* self, glong index) { result = _tmp1_; #line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 6237 "RESTSupport.c" +#line 6541 "RESTSupport.c" } @@ -6248,201 +6559,201 @@ gchar* publishing_rest_support_asciify_string (const gchar* s) { GString* _tmp14_ = NULL; const gchar* _tmp15_ = NULL; gchar* _tmp16_ = NULL; -#line 675 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 733 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (s != NULL, NULL); -#line 676 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 734 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = s; -#line 676 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 734 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = g_utf8_normalize (_tmp0_, (gssize) -1, G_NORMALIZE_DEFAULT); -#line 676 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 734 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" t = _tmp1_; -#line 678 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 736 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = g_string_new (""); -#line 678 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 736 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" b = _tmp2_; -#line 6263 "RESTSupport.c" +#line 6567 "RESTSupport.c" { const gchar* u = NULL; const gchar* _tmp3_ = NULL; -#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = t; -#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" u = _tmp3_; -#line 6271 "RESTSupport.c" +#line 6575 "RESTSupport.c" { gboolean _tmp4_ = FALSE; -#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = TRUE; -#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" while (TRUE) { -#line 6278 "RESTSupport.c" +#line 6582 "RESTSupport.c" const gchar* _tmp7_ = NULL; gunichar _tmp8_ = 0U; gunichar c = 0U; const gchar* _tmp9_ = NULL; gunichar _tmp10_ = 0U; gunichar _tmp11_ = 0U; -#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!_tmp4_) { -#line 6287 "RESTSupport.c" +#line 6591 "RESTSupport.c" const gchar* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; -#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = u; -#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = g_utf8_next_char (_tmp5_); -#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" u = _tmp6_; -#line 6296 "RESTSupport.c" +#line 6600 "RESTSupport.c" } -#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = FALSE; -#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = u; -#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = string_get_char (_tmp7_, (glong) 0); -#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!(_tmp8_ != ((gunichar) 0))) { -#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" break; -#line 6308 "RESTSupport.c" +#line 6612 "RESTSupport.c" } -#line 680 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 738 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = u; -#line 680 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 738 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = string_get_char (_tmp9_, (glong) 0); -#line 680 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 738 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" c = _tmp10_; -#line 681 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 739 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp11_ = c; -#line 681 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 739 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (((gint) _tmp11_) < 128) { -#line 6320 "RESTSupport.c" +#line 6624 "RESTSupport.c" GString* _tmp12_ = NULL; gunichar _tmp13_ = 0U; -#line 682 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 740 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp12_ = b; -#line 682 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 740 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp13_ = c; -#line 682 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 740 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_string_append_unichar (_tmp12_, _tmp13_); -#line 6329 "RESTSupport.c" +#line 6633 "RESTSupport.c" } } } } -#line 685 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 743 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp14_ = b; -#line 685 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 743 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp15_ = _tmp14_->str; -#line 685 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 743 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp16_ = g_strdup (_tmp15_); -#line 685 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 743 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp16_; -#line 685 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 743 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_string_free0 (b); -#line 685 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 743 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (t); -#line 685 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 743 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 6348 "RESTSupport.c" +#line 6652 "RESTSupport.c" } static gchar* publishing_rest_support_google_session_real_get_user_name (PublishingRESTSupportGoogleSession* self) { -#line 689 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 747 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_session_get_user_name'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 689 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 747 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 6357 "RESTSupport.c" +#line 6661 "RESTSupport.c" } gchar* publishing_rest_support_google_session_get_user_name (PublishingRESTSupportGoogleSession* self) { -#line 689 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 747 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_SESSION (self), NULL); -#line 689 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 747 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return PUBLISHING_REST_SUPPORT_GOOGLE_SESSION_GET_CLASS (self)->get_user_name (self); -#line 6366 "RESTSupport.c" +#line 6670 "RESTSupport.c" } static gchar* publishing_rest_support_google_session_real_get_access_token (PublishingRESTSupportGoogleSession* self) { -#line 690 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 748 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_session_get_access_token'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 690 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 748 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 6375 "RESTSupport.c" +#line 6679 "RESTSupport.c" } gchar* publishing_rest_support_google_session_get_access_token (PublishingRESTSupportGoogleSession* self) { -#line 690 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 748 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_SESSION (self), NULL); -#line 690 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 748 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return PUBLISHING_REST_SUPPORT_GOOGLE_SESSION_GET_CLASS (self)->get_access_token (self); -#line 6384 "RESTSupport.c" +#line 6688 "RESTSupport.c" } static gchar* publishing_rest_support_google_session_real_get_refresh_token (PublishingRESTSupportGoogleSession* self) { -#line 691 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 749 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_session_get_refresh_token'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 691 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 749 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return NULL; -#line 6393 "RESTSupport.c" +#line 6697 "RESTSupport.c" } gchar* publishing_rest_support_google_session_get_refresh_token (PublishingRESTSupportGoogleSession* self) { -#line 691 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 749 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_SESSION (self), NULL); -#line 691 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 749 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return PUBLISHING_REST_SUPPORT_GOOGLE_SESSION_GET_CLASS (self)->get_refresh_token (self); -#line 6402 "RESTSupport.c" +#line 6706 "RESTSupport.c" } static void publishing_rest_support_google_session_real_deauthenticate (PublishingRESTSupportGoogleSession* self) { -#line 692 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 750 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_session_deauthenticate'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 692 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 750 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 6411 "RESTSupport.c" +#line 6715 "RESTSupport.c" } void publishing_rest_support_google_session_deauthenticate (PublishingRESTSupportGoogleSession* self) { -#line 692 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 750 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_SESSION (self)); -#line 692 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 750 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" PUBLISHING_REST_SUPPORT_GOOGLE_SESSION_GET_CLASS (self)->deauthenticate (self); -#line 6420 "RESTSupport.c" +#line 6724 "RESTSupport.c" } PublishingRESTSupportGoogleSession* publishing_rest_support_google_session_construct (GType object_type) { PublishingRESTSupportGoogleSession* self = NULL; -#line 688 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 746 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportGoogleSession*) publishing_rest_support_session_construct (object_type, NULL); -#line 688 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 746 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 6430 "RESTSupport.c" +#line 6734 "RESTSupport.c" } static void publishing_rest_support_google_session_class_init (PublishingRESTSupportGoogleSessionClass * klass) { -#line 688 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 746 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_session_parent_class = g_type_class_peek_parent (klass); -#line 688 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 746 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportGoogleSessionClass *) klass)->get_user_name = publishing_rest_support_google_session_real_get_user_name; -#line 688 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 746 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportGoogleSessionClass *) klass)->get_access_token = publishing_rest_support_google_session_real_get_access_token; -#line 688 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 746 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportGoogleSessionClass *) klass)->get_refresh_token = publishing_rest_support_google_session_real_get_refresh_token; -#line 688 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 746 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportGoogleSessionClass *) klass)->deauthenticate = publishing_rest_support_google_session_real_deauthenticate; -#line 6445 "RESTSupport.c" +#line 6749 "RESTSupport.c" } @@ -6469,50 +6780,50 @@ PublishingRESTSupportGooglePublisher* publishing_rest_support_google_publisher_c PublishingRESTSupportGooglePublisherGoogleSessionImpl* _tmp2_ = NULL; SpitPublishingService* _tmp3_ = NULL; SpitPublishingPluginHost* _tmp4_ = NULL; -#line 870 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 880 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_SERVICE (service), NULL); -#line 870 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 880 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (host), NULL); -#line 870 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 880 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (scope != NULL, NULL); -#line 870 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 880 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportGooglePublisher*) g_object_new (object_type, NULL); -#line 872 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 882 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = scope; -#line 872 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 882 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = g_strdup (_tmp0_); -#line 872 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 882 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->priv->scope); -#line 872 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 882 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->scope = _tmp1_; -#line 873 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 883 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = publishing_rest_support_google_publisher_google_session_impl_new (); -#line 873 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 883 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_session_unref0 (self->priv->session); -#line 873 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 883 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->session = _tmp2_; -#line 874 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 884 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = service; -#line 874 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 884 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->service = _tmp3_; -#line 875 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 885 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = host; -#line 875 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 885 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->host = _tmp4_; -#line 876 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 886 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (self->priv->web_auth_pane); -#line 876 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 886 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->web_auth_pane = NULL; -#line 870 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 880 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 6508 "RESTSupport.c" +#line 6812 "RESTSupport.c" } static void _publishing_rest_support_google_publisher_on_web_auth_pane_authorized_publishing_rest_support_google_publisher_web_authentication_pane_authorized (PublishingRESTSupportGooglePublisherWebAuthenticationPane* _sender, const gchar* auth_code, gpointer self) { -#line 880 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 890 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_on_web_auth_pane_authorized ((PublishingRESTSupportGooglePublisher*) self, auth_code); -#line 6515 "RESTSupport.c" +#line 6819 "RESTSupport.c" } @@ -6523,50 +6834,50 @@ static void publishing_rest_support_google_publisher_on_web_auth_pane_authorized const gchar* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; const gchar* _tmp5_ = NULL; -#line 879 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 889 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 879 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 889 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (auth_code != NULL); -#line 880 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 890 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->web_auth_pane; -#line 880 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 890 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("authorized", PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE, &_tmp1_, NULL, FALSE); -#line 880 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 890 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_rest_support_google_publisher_on_web_auth_pane_authorized_publishing_rest_support_google_publisher_web_authentication_pane_authorized, self); -#line 882 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 892 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = self->priv->scope; -#line 882 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 892 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = auth_code; -#line 882 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_debug ("RESTSupport.vala:882: EVENT: user authorized scope %s with auth_code %" \ +#line 892 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_debug ("RESTSupport.vala:892: EVENT: user authorized scope %s with auth_code %" \ "s", _tmp2_, _tmp3_); -#line 884 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 894 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = publishing_rest_support_google_publisher_is_running (self); -#line 884 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 894 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!_tmp4_) { -#line 885 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 895 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 6548 "RESTSupport.c" +#line 6852 "RESTSupport.c" } -#line 887 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 897 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = auth_code; -#line 887 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 897 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_do_get_access_tokens (self, _tmp5_); -#line 6554 "RESTSupport.c" +#line 6858 "RESTSupport.c" } static void _publishing_rest_support_google_publisher_on_get_access_tokens_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) { -#line 891 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 901 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_on_get_access_tokens_complete ((PublishingRESTSupportGooglePublisher*) self, _sender); -#line 6561 "RESTSupport.c" +#line 6865 "RESTSupport.c" } static void _publishing_rest_support_google_publisher_on_get_access_tokens_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) { -#line 892 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 902 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_on_get_access_tokens_error ((PublishingRESTSupportGooglePublisher*) self, _sender, err); -#line 6568 "RESTSupport.c" +#line 6872 "RESTSupport.c" } @@ -6579,44 +6890,44 @@ static void publishing_rest_support_google_publisher_on_get_access_tokens_comple PublishingRESTSupportTransaction* _tmp5_ = NULL; gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 890 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 900 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 890 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 900 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn)); -#line 891 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 901 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = txn; -#line 891 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 901 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 891 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 901 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_rest_support_google_publisher_on_get_access_tokens_complete_publishing_rest_support_transaction_completed, self); -#line 892 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 902 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = txn; -#line 892 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 902 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 892 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 902 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_rest_support_google_publisher_on_get_access_tokens_error_publishing_rest_support_transaction_network_error, self); -#line 894 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_debug ("RESTSupport.vala:894: %s", "EVENT: network transaction to exchange authorization code for access t" \ +#line 904 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_debug ("RESTSupport.vala:904: %s", "EVENT: network transaction to exchange authorization code for access t" \ "okens " "completed successfully."); -#line 897 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 907 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = publishing_rest_support_google_publisher_is_running (self); -#line 897 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 907 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!_tmp4_) { -#line 898 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 908 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 6605 "RESTSupport.c" +#line 6909 "RESTSupport.c" } -#line 900 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 910 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = txn; -#line 900 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 910 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = publishing_rest_support_transaction_get_response (_tmp5_); -#line 900 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 910 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = _tmp6_; -#line 900 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 910 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_do_extract_tokens (self, _tmp7_); -#line 900 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 910 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp7_); -#line 6617 "RESTSupport.c" +#line 6921 "RESTSupport.c" } @@ -6631,62 +6942,62 @@ static void publishing_rest_support_google_publisher_on_get_access_tokens_error gboolean _tmp7_ = FALSE; SpitPublishingPluginHost* _tmp8_ = NULL; GError* _tmp9_ = NULL; -#line 903 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 913 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 903 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 913 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn)); -#line 905 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 915 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = txn; -#line 905 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 915 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 905 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 915 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_rest_support_google_publisher_on_get_access_tokens_complete_publishing_rest_support_transaction_completed, self); -#line 906 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 916 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = txn; -#line 906 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 916 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 906 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 916 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_rest_support_google_publisher_on_get_access_tokens_error_publishing_rest_support_transaction_network_error, self); -#line 908 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 918 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = txn; -#line 908 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 918 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = publishing_rest_support_transaction_get_response (_tmp4_); -#line 908 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 918 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = _tmp5_; -#line 908 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 918 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_debug ("EVENT: network transaction to exchange authorization code for access t" \ "okens " "failed; response = '%s'", _tmp6_); -#line 908 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 918 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp6_); -#line 911 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 921 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = publishing_rest_support_google_publisher_is_running (self); -#line 911 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 921 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!_tmp7_) { -#line 912 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 922 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 6664 "RESTSupport.c" +#line 6968 "RESTSupport.c" } -#line 914 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 924 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = self->priv->host; -#line 914 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 924 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = err; -#line 914 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 924 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spit_publishing_plugin_host_post_error (_tmp8_, _tmp9_); -#line 6672 "RESTSupport.c" +#line 6976 "RESTSupport.c" } static void _publishing_rest_support_google_publisher_on_refresh_access_token_transaction_completed_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) { -#line 919 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 929 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_on_refresh_access_token_transaction_completed ((PublishingRESTSupportGooglePublisher*) self, _sender); -#line 6679 "RESTSupport.c" +#line 6983 "RESTSupport.c" } static void _publishing_rest_support_google_publisher_on_refresh_access_token_transaction_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) { -#line 920 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 930 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_on_refresh_access_token_transaction_error ((PublishingRESTSupportGooglePublisher*) self, _sender, err); -#line 6686 "RESTSupport.c" +#line 6990 "RESTSupport.c" } @@ -6701,54 +7012,54 @@ static void publishing_rest_support_google_publisher_on_refresh_access_token_tra PublishingRESTSupportTransaction* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 917 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 927 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 917 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 927 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn)); -#line 919 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 929 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = txn; -#line 919 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 929 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 919 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 929 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_rest_support_google_publisher_on_refresh_access_token_transaction_completed_publishing_rest_support_transaction_completed, self); -#line 920 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 930 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = txn; -#line 920 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 930 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 920 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 930 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_rest_support_google_publisher_on_refresh_access_token_transaction_error_publishing_rest_support_transaction_network_error, self); -#line 922 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_debug ("RESTSupport.vala:922: EVENT: refresh access token transaction complete" \ +#line 932 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_debug ("RESTSupport.vala:932: EVENT: refresh access token transaction complete" \ "d successfully."); -#line 924 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 934 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = publishing_rest_support_google_publisher_is_running (self); -#line 924 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 934 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!_tmp4_) { -#line 925 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 935 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 6725 "RESTSupport.c" +#line 7029 "RESTSupport.c" } -#line 927 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 937 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = self->priv->session; -#line 927 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 937 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession)); -#line 927 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 937 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp6_) { -#line 928 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 938 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 6735 "RESTSupport.c" +#line 7039 "RESTSupport.c" } -#line 930 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 940 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = txn; -#line 930 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 940 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = publishing_rest_support_transaction_get_response (_tmp7_); -#line 930 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 940 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = _tmp8_; -#line 930 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 940 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_do_extract_tokens (self, _tmp9_); -#line 930 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 940 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp9_); -#line 6747 "RESTSupport.c" +#line 7051 "RESTSupport.c" } @@ -6764,62 +7075,62 @@ static void publishing_rest_support_google_publisher_on_refresh_access_token_tra guint _tmp8_ = 0U; SpitPublishingPluginHost* _tmp9_ = NULL; GError* _tmp10_ = NULL; -#line 933 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 943 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 933 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 943 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn)); -#line 935 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 945 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = txn; -#line 935 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 945 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 935 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 945 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_rest_support_google_publisher_on_refresh_access_token_transaction_completed_publishing_rest_support_transaction_completed, self); -#line 936 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 946 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = txn; -#line 936 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 946 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 936 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 946 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_rest_support_google_publisher_on_refresh_access_token_transaction_error_publishing_rest_support_transaction_network_error, self); -#line 938 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_debug ("RESTSupport.vala:938: EVENT: refresh access token transaction caused a" \ +#line 948 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_debug ("RESTSupport.vala:948: EVENT: refresh access token transaction caused a" \ " network error."); -#line 940 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 950 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = publishing_rest_support_google_publisher_is_running (self); -#line 940 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 950 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!_tmp4_) { -#line 941 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 951 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 6787 "RESTSupport.c" +#line 7091 "RESTSupport.c" } -#line 943 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 953 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = self->priv->session; -#line 943 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 953 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession)); -#line 943 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 953 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp6_) { -#line 944 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 954 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 6797 "RESTSupport.c" +#line 7101 "RESTSupport.c" } -#line 948 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 958 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = txn; -#line 948 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 958 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = publishing_rest_support_transaction_get_status_code (_tmp7_); -#line 948 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 958 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp8_ == ((guint) 400)) { -#line 949 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 959 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_do_logout (self); -#line 950 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 960 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 6809 "RESTSupport.c" +#line 7113 "RESTSupport.c" } -#line 953 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 963 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = self->priv->host; -#line 953 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 963 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = err; -#line 953 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 963 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spit_publishing_plugin_host_post_error (_tmp9_, _tmp10_); -#line 6817 "RESTSupport.c" +#line 7121 "RESTSupport.c" } @@ -6829,34 +7140,34 @@ static void publishing_rest_support_google_publisher_on_refresh_token_available PublishingRESTSupportGooglePublisherGoogleSessionImpl* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; -#line 956 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 966 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 956 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 966 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (token != NULL); -#line 957 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 967 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = token; -#line 957 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_debug ("RESTSupport.vala:957: EVENT: an OAuth refresh token has become availab" \ +#line 967 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_debug ("RESTSupport.vala:967: EVENT: an OAuth refresh token has become availab" \ "le; token = '%s'.", _tmp0_); -#line 959 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 969 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = publishing_rest_support_google_publisher_is_running (self); -#line 959 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 969 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!_tmp1_) { -#line 960 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 970 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 6841 "RESTSupport.c" +#line 7145 "RESTSupport.c" } -#line 962 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 972 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = self->priv->session; -#line 962 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 972 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = token; -#line 962 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 972 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = g_strdup (_tmp3_); -#line 962 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 972 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp2_->refresh_token); -#line 962 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 972 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_->refresh_token = _tmp4_; -#line 6853 "RESTSupport.c" +#line 7157 "RESTSupport.c" } @@ -6866,50 +7177,50 @@ static void publishing_rest_support_google_publisher_on_access_token_available ( PublishingRESTSupportGooglePublisherGoogleSessionImpl* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; -#line 965 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 975 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 965 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 975 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (token != NULL); -#line 966 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 976 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = token; -#line 966 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_debug ("RESTSupport.vala:966: EVENT: an OAuth access token has become availabl" \ +#line 976 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_debug ("RESTSupport.vala:976: EVENT: an OAuth access token has become availabl" \ "e; token = '%s'.", _tmp0_); -#line 968 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 978 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = publishing_rest_support_google_publisher_is_running (self); -#line 968 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 978 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!_tmp1_) { -#line 969 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 979 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 6877 "RESTSupport.c" +#line 7181 "RESTSupport.c" } -#line 971 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 981 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = self->priv->session; -#line 971 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 981 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = token; -#line 971 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 981 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = g_strdup (_tmp3_); -#line 971 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 981 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp2_->access_token); -#line 971 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 981 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_->access_token = _tmp4_; -#line 973 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 983 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_do_fetch_username (self); -#line 6891 "RESTSupport.c" +#line 7195 "RESTSupport.c" } static void _publishing_rest_support_google_publisher_on_fetch_username_transaction_completed_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) { -#line 977 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 987 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_on_fetch_username_transaction_completed ((PublishingRESTSupportGooglePublisher*) self, _sender); -#line 6898 "RESTSupport.c" +#line 7202 "RESTSupport.c" } static void _publishing_rest_support_google_publisher_on_fetch_username_transaction_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) { -#line 978 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 988 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_on_fetch_username_transaction_error ((PublishingRESTSupportGooglePublisher*) self, _sender, err); -#line 6905 "RESTSupport.c" +#line 7209 "RESTSupport.c" } @@ -6922,44 +7233,44 @@ static void publishing_rest_support_google_publisher_on_fetch_username_transacti PublishingRESTSupportTransaction* _tmp5_ = NULL; gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 976 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 986 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 976 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 986 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn)); -#line 977 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 987 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = txn; -#line 977 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 987 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 977 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 987 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_rest_support_google_publisher_on_fetch_username_transaction_completed_publishing_rest_support_transaction_completed, self); -#line 978 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 988 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = txn; -#line 978 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 988 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 978 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 988 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_rest_support_google_publisher_on_fetch_username_transaction_error_publishing_rest_support_transaction_network_error, self); -#line 980 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_debug ("RESTSupport.vala:980: EVENT: username fetch transaction completed succ" \ +#line 990 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_debug ("RESTSupport.vala:990: EVENT: username fetch transaction completed succ" \ "essfully."); -#line 982 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 992 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = publishing_rest_support_google_publisher_is_running (self); -#line 982 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 992 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!_tmp4_) { -#line 983 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 993 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 6942 "RESTSupport.c" +#line 7246 "RESTSupport.c" } -#line 985 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 995 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = txn; -#line 985 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 995 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = publishing_rest_support_transaction_get_response (_tmp5_); -#line 985 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 995 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = _tmp6_; -#line 985 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 995 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_do_extract_username (self, _tmp7_); -#line 985 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 995 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp7_); -#line 6954 "RESTSupport.c" +#line 7258 "RESTSupport.c" } @@ -6971,40 +7282,40 @@ static void publishing_rest_support_google_publisher_on_fetch_username_transacti gboolean _tmp4_ = FALSE; SpitPublishingPluginHost* _tmp5_ = NULL; GError* _tmp6_ = NULL; -#line 988 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 998 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 988 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 998 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn)); -#line 990 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1000 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = txn; -#line 990 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1000 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 990 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1000 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_rest_support_google_publisher_on_fetch_username_transaction_completed_publishing_rest_support_transaction_completed, self); -#line 991 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1001 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = txn; -#line 991 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1001 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 991 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1001 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_rest_support_google_publisher_on_fetch_username_transaction_error_publishing_rest_support_transaction_network_error, self); -#line 993 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_debug ("RESTSupport.vala:993: EVENT: username fetch transaction caused a netwo" \ -"rk error"); -#line 995 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1003 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_debug ("RESTSupport.vala:1003: EVENT: username fetch transaction caused a netw" \ +"ork error"); +#line 1005 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = publishing_rest_support_google_publisher_is_running (self); -#line 995 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1005 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!_tmp4_) { -#line 996 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1006 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 6990 "RESTSupport.c" +#line 7294 "RESTSupport.c" } -#line 998 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1008 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = self->priv->host; -#line 998 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1008 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = err; -#line 998 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1008 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spit_publishing_plugin_host_post_error (_tmp5_, _tmp6_); -#line 6998 "RESTSupport.c" +#line 7302 "RESTSupport.c" } @@ -7015,49 +7326,49 @@ static void publishing_rest_support_google_publisher_do_get_access_tokens (Publi const gchar* _tmp2_ = NULL; PublishingRESTSupportGooglePublisherGetAccessTokensTransaction* _tmp3_ = NULL; GError * _inner_error_ = NULL; -#line 1001 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1011 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 1001 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1011 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (auth_code != NULL); -#line 1002 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_debug ("RESTSupport.vala:1002: ACTION: exchanging authorization code for acces" \ +#line 1012 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_debug ("RESTSupport.vala:1012: ACTION: exchanging authorization code for acces" \ "s & refresh tokens"); -#line 1004 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1014 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->host; -#line 1004 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1014 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spit_publishing_plugin_host_install_login_wait_pane (_tmp0_); -#line 1006 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1016 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->priv->session; -#line 1006 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1016 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = auth_code; -#line 1006 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1016 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = publishing_rest_support_google_publisher_get_access_tokens_transaction_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp2_); -#line 1006 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1016 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" tokens_txn = _tmp3_; -#line 1007 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1017 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (tokens_txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_rest_support_google_publisher_on_get_access_tokens_complete_publishing_rest_support_transaction_completed, self, 0); -#line 1008 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1018 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (tokens_txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_rest_support_google_publisher_on_get_access_tokens_error_publishing_rest_support_transaction_network_error, self, 0); -#line 7031 "RESTSupport.c" +#line 7335 "RESTSupport.c" { -#line 1011 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1021 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (tokens_txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); -#line 1011 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1021 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1011 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1021 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 7039 "RESTSupport.c" +#line 7343 "RESTSupport.c" goto __catch4_spit_publishing_publishing_error; } -#line 1011 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1021 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_transaction_unref0 (tokens_txn); -#line 1011 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1021 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" 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); -#line 1011 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1021 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 1011 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1021 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 7050 "RESTSupport.c" +#line 7354 "RESTSupport.c" } } goto __finally4; @@ -7066,36 +7377,36 @@ static void publishing_rest_support_google_publisher_do_get_access_tokens (Publi GError* err = NULL; SpitPublishingPluginHost* _tmp4_ = NULL; GError* _tmp5_ = NULL; -#line 1010 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" err = _inner_error_; -#line 1010 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = NULL; -#line 1013 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1023 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = self->priv->host; -#line 1013 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1023 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = err; -#line 1013 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1023 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spit_publishing_plugin_host_post_error (_tmp4_, _tmp5_); -#line 1010 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_error_free0 (err); -#line 7071 "RESTSupport.c" +#line 7375 "RESTSupport.c" } __finally4: -#line 1010 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1010 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_transaction_unref0 (tokens_txn); -#line 1010 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1010 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 1010 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 7084 "RESTSupport.c" +#line 7388 "RESTSupport.c" } -#line 1001 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1011 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_transaction_unref0 (tokens_txn); -#line 7088 "RESTSupport.c" +#line 7392 "RESTSupport.c" } @@ -7132,110 +7443,110 @@ static void publishing_rest_support_google_publisher_do_hosted_web_authenticatio PublishingRESTSupportGooglePublisherWebAuthenticationPane* _tmp28_ = NULL; SpitPublishingPluginHost* _tmp29_ = NULL; PublishingRESTSupportGooglePublisherWebAuthenticationPane* _tmp30_ = NULL; -#line 1017 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1027 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 1018 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_debug ("RESTSupport.vala:1018: ACTION: running OAuth authentication flow in ho" \ +#line 1028 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_debug ("RESTSupport.vala:1028: ACTION: running OAuth authentication flow in ho" \ "sted web pane."); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = soup_uri_encode ("urn:ietf:wg:oauth:2.0:oob", NULL); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = _tmp0_; -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = g_strconcat ("https://accounts.google.com/o/oauth2/auth?" "response_type=code&" "client_id=" PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_OAUTH_CLIENT_ID "&" "redirect_uri=", _tmp1_, NULL); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = _tmp2_; -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = g_strconcat (_tmp3_, "&", NULL); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = _tmp4_; -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = g_strconcat (_tmp5_, "scope=", NULL); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = _tmp6_; -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = self->priv->scope; -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = soup_uri_encode (_tmp8_, NULL); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = _tmp9_; -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp11_ = g_strconcat (_tmp7_, _tmp10_, NULL); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp12_ = _tmp11_; -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp13_ = g_strconcat (_tmp12_, "+", NULL); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp14_ = _tmp13_; -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp15_ = soup_uri_encode ("https://www.googleapis.com/auth/userinfo.profile", NULL); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp16_ = _tmp15_; -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp17_ = g_strconcat (_tmp14_, _tmp16_, NULL); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp18_ = _tmp17_; -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp19_ = g_strconcat (_tmp18_, "&", NULL); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp20_ = _tmp19_; -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp21_ = g_strconcat (_tmp20_, "state=connect&", NULL); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp22_ = _tmp21_; -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp23_ = g_strconcat (_tmp22_, "access_type=offline&", NULL); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp24_ = _tmp23_; -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp25_ = g_strconcat (_tmp24_, "approval_prompt=force", NULL); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp26_ = _tmp25_; -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp24_); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp22_); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp20_); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp18_); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp16_); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp14_); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp12_); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp10_); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp7_); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp5_); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp3_); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp1_); -#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - user_authorization_url = _tmp26_; #line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + user_authorization_url = _tmp26_; +#line 1040 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp27_ = publishing_rest_support_google_publisher_web_authentication_pane_new (user_authorization_url); -#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1040 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (self->priv->web_auth_pane); -#line 1030 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1040 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv->web_auth_pane = _tmp27_; -#line 1031 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1041 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp28_ = self->priv->web_auth_pane; -#line 1031 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1041 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_connect_object (_tmp28_, "authorized", (GCallback) _publishing_rest_support_google_publisher_on_web_auth_pane_authorized_publishing_rest_support_google_publisher_web_authentication_pane_authorized, self, 0); -#line 1033 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1043 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp29_ = self->priv->host; -#line 1033 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1043 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp30_ = self->priv->web_auth_pane; -#line 1033 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1043 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spit_publishing_plugin_host_install_dialog_pane (_tmp29_, G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL); -#line 1017 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1027 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (user_authorization_url); -#line 7227 "RESTSupport.c" +#line 7531 "RESTSupport.c" } @@ -7245,45 +7556,45 @@ static void publishing_rest_support_google_publisher_do_exchange_refresh_token_f PublishingRESTSupportGooglePublisherGoogleSessionImpl* _tmp1_ = NULL; PublishingRESTSupportGooglePublisherRefreshAccessTokenTransaction* _tmp2_ = NULL; GError * _inner_error_ = NULL; -#line 1037 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1047 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 1038 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_debug ("RESTSupport.vala:1038: ACTION: exchanging OAuth refresh token for OAut" \ +#line 1048 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_debug ("RESTSupport.vala:1048: ACTION: exchanging OAuth refresh token for OAut" \ "h access token."); -#line 1040 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1050 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->host; -#line 1040 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1050 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spit_publishing_plugin_host_install_login_wait_pane (_tmp0_); -#line 1042 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1052 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->priv->session; -#line 1042 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1052 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = publishing_rest_support_google_publisher_refresh_access_token_transaction_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession)); -#line 1042 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1052 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" txn = _tmp2_; -#line 1044 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1054 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_rest_support_google_publisher_on_refresh_access_token_transaction_completed_publishing_rest_support_transaction_completed, self, 0); -#line 1045 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1055 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_rest_support_google_publisher_on_refresh_access_token_transaction_error_publishing_rest_support_transaction_network_error, self, 0); -#line 7255 "RESTSupport.c" +#line 7559 "RESTSupport.c" { -#line 1048 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1058 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); -#line 1048 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1058 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1048 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1058 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 7263 "RESTSupport.c" +#line 7567 "RESTSupport.c" goto __catch5_spit_publishing_publishing_error; } -#line 1048 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1058 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_transaction_unref0 (txn); -#line 1048 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1058 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" 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); -#line 1048 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1058 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 1048 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1058 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 7274 "RESTSupport.c" +#line 7578 "RESTSupport.c" } } goto __finally5; @@ -7292,43 +7603,43 @@ static void publishing_rest_support_google_publisher_do_exchange_refresh_token_f GError* err = NULL; SpitPublishingPluginHost* _tmp3_ = NULL; GError* _tmp4_ = NULL; -#line 1047 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1057 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" err = _inner_error_; -#line 1047 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1057 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = NULL; -#line 1050 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1060 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = self->priv->host; -#line 1050 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1060 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = err; -#line 1050 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1060 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spit_publishing_plugin_host_post_error (_tmp3_, _tmp4_); -#line 1047 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1057 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_error_free0 (err); -#line 7295 "RESTSupport.c" +#line 7599 "RESTSupport.c" } __finally5: -#line 1047 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1057 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1047 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1057 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_transaction_unref0 (txn); -#line 1047 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1057 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1047 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1057 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 1047 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1057 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 7308 "RESTSupport.c" +#line 7612 "RESTSupport.c" } -#line 1037 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1047 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_transaction_unref0 (txn); -#line 7312 "RESTSupport.c" +#line 7616 "RESTSupport.c" } static gpointer _json_object_ref0 (gpointer self) { -#line 1067 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1077 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self ? json_object_ref (self) : NULL; -#line 7319 "RESTSupport.c" +#line 7623 "RESTSupport.c" } @@ -7348,30 +7659,30 @@ static void publishing_rest_support_google_publisher_do_extract_tokens (Publishi JsonObject* _tmp29_ = NULL; gboolean _tmp30_ = FALSE; GError * _inner_error_ = NULL; -#line 1054 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1064 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 1054 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1064 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (response_body != NULL); -#line 1055 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_debug ("RESTSupport.vala:1055: ACTION: extracting OAuth tokens from body of se" \ +#line 1065 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_debug ("RESTSupport.vala:1065: ACTION: extracting OAuth tokens from body of se" \ "rver response"); -#line 1057 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1067 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = json_parser_new (); -#line 1057 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1067 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" parser = _tmp0_; -#line 7349 "RESTSupport.c" +#line 7653 "RESTSupport.c" { JsonParser* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 1060 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1070 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = parser; -#line 1060 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1070 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = response_body; -#line 1060 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1070 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" json_parser_load_from_data (_tmp1_, _tmp2_, (gssize) -1, &_inner_error_); -#line 1060 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1070 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 7361 "RESTSupport.c" +#line 7665 "RESTSupport.c" goto __catch6_g_error; } } @@ -7386,183 +7697,183 @@ static void publishing_rest_support_google_publisher_do_extract_tokens (Publishi gchar* _tmp7_ = NULL; GError* _tmp8_ = NULL; GError* _tmp9_ = NULL; -#line 1059 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" err = _inner_error_; -#line 1059 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = NULL; -#line 1062 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1072 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = self->priv->host; -#line 1062 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1072 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = err; -#line 1062 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1072 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = _tmp4_->message; -#line 1062 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1072 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = g_strconcat ("Couldn't parse JSON response: ", _tmp5_, NULL); -#line 1062 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1072 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = _tmp6_; -#line 1062 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1072 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, _tmp7_); -#line 1062 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1072 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = _tmp8_; -#line 1062 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1072 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spit_publishing_plugin_host_post_error (_tmp3_, _tmp9_); -#line 1062 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1072 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_error_free0 (_tmp9_); -#line 1062 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1072 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp7_); -#line 1064 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1074 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_error_free0 (err); -#line 1064 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1074 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (parser); -#line 1064 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1074 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 7406 "RESTSupport.c" +#line 7710 "RESTSupport.c" } __finally6: -#line 1059 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1059 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (parser); -#line 1059 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1059 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 1059 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 7419 "RESTSupport.c" +#line 7723 "RESTSupport.c" } -#line 1067 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1077 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = parser; -#line 1067 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1077 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp11_ = json_parser_get_root (_tmp10_); -#line 1067 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1077 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp12_ = json_node_get_object (_tmp11_); -#line 1067 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1077 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp13_ = _json_object_ref0 (_tmp12_); -#line 1067 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1077 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" response_obj = _tmp13_; -#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp15_ = response_obj; -#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp16_ = json_object_has_member (_tmp15_, "access_token"); -#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (!_tmp16_) { -#line 7437 "RESTSupport.c" +#line 7741 "RESTSupport.c" JsonObject* _tmp17_ = NULL; gboolean _tmp18_ = FALSE; -#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp17_ = response_obj; -#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp18_ = json_object_has_member (_tmp17_, "refresh_token"); -#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp14_ = !_tmp18_; -#line 7446 "RESTSupport.c" +#line 7750 "RESTSupport.c" } else { -#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp14_ = FALSE; -#line 7450 "RESTSupport.c" +#line 7754 "RESTSupport.c" } -#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp14_) { -#line 7454 "RESTSupport.c" +#line 7758 "RESTSupport.c" SpitPublishingPluginHost* _tmp19_ = NULL; GError* _tmp20_ = NULL; GError* _tmp21_ = NULL; -#line 1070 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1080 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp19_ = self->priv->host; -#line 1070 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1080 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp20_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, "neither access_token nor refresh_token not present in server response"); -#line 1070 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1080 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp21_ = _tmp20_; -#line 1070 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1080 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spit_publishing_plugin_host_post_error (_tmp19_, _tmp21_); -#line 1070 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1080 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_error_free0 (_tmp21_); -#line 1072 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1082 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _json_object_unref0 (response_obj); -#line 1072 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1082 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (parser); -#line 1072 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1082 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 7474 "RESTSupport.c" +#line 7778 "RESTSupport.c" } -#line 1075 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1085 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp22_ = response_obj; -#line 1075 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1085 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp23_ = json_object_has_member (_tmp22_, "refresh_token"); -#line 1075 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1085 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp23_) { -#line 7482 "RESTSupport.c" +#line 7786 "RESTSupport.c" gchar* refresh_token = NULL; JsonObject* _tmp24_ = NULL; const gchar* _tmp25_ = NULL; gchar* _tmp26_ = NULL; const gchar* _tmp27_ = NULL; -#line 1076 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1086 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp24_ = response_obj; -#line 1076 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1086 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp25_ = json_object_get_string_member (_tmp24_, "refresh_token"); -#line 1076 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1086 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp26_ = g_strdup (_tmp25_); -#line 1076 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1086 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" refresh_token = _tmp26_; -#line 1078 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1088 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp27_ = refresh_token; -#line 1078 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1088 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (g_strcmp0 (_tmp27_, "") != 0) { -#line 7500 "RESTSupport.c" +#line 7804 "RESTSupport.c" const gchar* _tmp28_ = NULL; -#line 1079 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1089 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp28_ = refresh_token; -#line 1079 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1089 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_on_refresh_token_available (self, _tmp28_); -#line 7506 "RESTSupport.c" +#line 7810 "RESTSupport.c" } -#line 1075 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1085 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (refresh_token); -#line 7510 "RESTSupport.c" +#line 7814 "RESTSupport.c" } -#line 1082 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1092 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp29_ = response_obj; -#line 1082 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1092 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp30_ = json_object_has_member (_tmp29_, "access_token"); -#line 1082 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1092 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp30_) { -#line 7518 "RESTSupport.c" +#line 7822 "RESTSupport.c" gchar* access_token = NULL; JsonObject* _tmp31_ = NULL; const gchar* _tmp32_ = NULL; gchar* _tmp33_ = NULL; const gchar* _tmp34_ = NULL; -#line 1083 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1093 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp31_ = response_obj; -#line 1083 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1093 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp32_ = json_object_get_string_member (_tmp31_, "access_token"); -#line 1083 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1093 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp33_ = g_strdup (_tmp32_); -#line 1083 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1093 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" access_token = _tmp33_; -#line 1085 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1095 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp34_ = access_token; -#line 1085 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1095 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (g_strcmp0 (_tmp34_, "") != 0) { -#line 7536 "RESTSupport.c" +#line 7840 "RESTSupport.c" const gchar* _tmp35_ = NULL; -#line 1086 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1096 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp35_ = access_token; -#line 1086 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1096 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_on_access_token_available (self, _tmp35_); -#line 7542 "RESTSupport.c" +#line 7846 "RESTSupport.c" } -#line 1082 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1092 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (access_token); -#line 7546 "RESTSupport.c" +#line 7850 "RESTSupport.c" } -#line 1054 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1064 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _json_object_unref0 (response_obj); -#line 1054 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1064 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (parser); -#line 7552 "RESTSupport.c" +#line 7856 "RESTSupport.c" } @@ -7573,36 +7884,36 @@ static void publishing_rest_support_google_publisher_do_fetch_username (Publishi PublishingRESTSupportGooglePublisherGoogleSessionImpl* _tmp2_ = NULL; PublishingRESTSupportGooglePublisherUsernameFetchTransaction* _tmp3_ = NULL; GError * _inner_error_ = NULL; -#line 1090 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1100 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 1091 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_debug ("RESTSupport.vala:1091: ACTION: running network transaction to fetch us" \ +#line 1101 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_debug ("RESTSupport.vala:1101: ACTION: running network transaction to fetch us" \ "ername."); -#line 1093 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1103 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->host; -#line 1093 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1103 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spit_publishing_plugin_host_install_login_wait_pane (_tmp0_); -#line 1094 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1104 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->priv->host; -#line 1094 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1104 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spit_publishing_plugin_host_set_service_locked (_tmp1_, TRUE); -#line 1096 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1106 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = self->priv->session; -#line 1096 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1106 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = publishing_rest_support_google_publisher_username_fetch_transaction_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_SESSION, PublishingRESTSupportGoogleSession)); -#line 1096 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1106 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" txn = _tmp3_; -#line 1097 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1107 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_rest_support_google_publisher_on_fetch_username_transaction_completed_publishing_rest_support_transaction_completed, self, 0); -#line 1098 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1108 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_rest_support_google_publisher_on_fetch_username_transaction_error_publishing_rest_support_transaction_network_error, self, 0); -#line 7585 "RESTSupport.c" +#line 7889 "RESTSupport.c" { -#line 1101 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1111 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); -#line 1101 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1111 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 7591 "RESTSupport.c" +#line 7895 "RESTSupport.c" goto __catch7_g_error; } } @@ -7612,36 +7923,36 @@ static void publishing_rest_support_google_publisher_do_fetch_username (Publishi GError* err = NULL; SpitPublishingPluginHost* _tmp4_ = NULL; GError* _tmp5_ = NULL; -#line 1100 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" err = _inner_error_; -#line 1100 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = NULL; -#line 1103 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1113 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = self->priv->host; -#line 1103 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1113 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = err; -#line 1103 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1113 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spit_publishing_plugin_host_post_error (_tmp4_, _tmp5_); -#line 1100 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_error_free0 (err); -#line 7613 "RESTSupport.c" +#line 7917 "RESTSupport.c" } __finally7: -#line 1100 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1100 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_transaction_unref0 (txn); -#line 1100 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1100 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 1100 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 7626 "RESTSupport.c" +#line 7930 "RESTSupport.c" } -#line 1090 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1100 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_transaction_unref0 (txn); -#line 7630 "RESTSupport.c" +#line 7934 "RESTSupport.c" } @@ -7660,30 +7971,30 @@ static void publishing_rest_support_google_publisher_do_extract_username (Publis PublishingRESTSupportGooglePublisherGoogleSessionImpl* _tmp32_ = NULL; gboolean _tmp33_ = FALSE; GError * _inner_error_ = NULL; -#line 1107 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 1107 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (response_body != NULL); -#line 1108 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_debug ("RESTSupport.vala:1108: ACTION: extracting username from body of server" \ +#line 1118 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_debug ("RESTSupport.vala:1118: ACTION: extracting username from body of server" \ " response"); -#line 1110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1120 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = json_parser_new (); -#line 1110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1120 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" parser = _tmp0_; -#line 7659 "RESTSupport.c" +#line 7963 "RESTSupport.c" { JsonParser* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 1113 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1123 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = parser; -#line 1113 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1123 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = response_body; -#line 1113 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1123 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" json_parser_load_from_data (_tmp1_, _tmp2_, (gssize) -1, &_inner_error_); -#line 1113 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1123 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 7671 "RESTSupport.c" +#line 7975 "RESTSupport.c" goto __catch8_g_error; } } @@ -7698,177 +8009,177 @@ static void publishing_rest_support_google_publisher_do_extract_username (Publis gchar* _tmp7_ = NULL; GError* _tmp8_ = NULL; GError* _tmp9_ = NULL; -#line 1112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" err = _inner_error_; -#line 1112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _inner_error_ = NULL; -#line 1115 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = self->priv->host; -#line 1115 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = err; -#line 1115 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = _tmp4_->message; -#line 1115 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = g_strconcat ("Couldn't parse JSON response: ", _tmp5_, NULL); -#line 1115 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = _tmp6_; -#line 1115 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, _tmp7_); -#line 1115 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = _tmp8_; -#line 1115 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spit_publishing_plugin_host_post_error (_tmp3_, _tmp9_); -#line 1115 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_error_free0 (_tmp9_); -#line 1115 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp7_); -#line 1117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1127 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_error_free0 (err); -#line 1117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1127 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (parser); -#line 1117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1127 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 7716 "RESTSupport.c" +#line 8020 "RESTSupport.c" } __finally8: -#line 1112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (parser); -#line 1112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_clear_error (&_inner_error_); -#line 1112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 7729 "RESTSupport.c" +#line 8033 "RESTSupport.c" } -#line 1120 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1130 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp10_ = parser; -#line 1120 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1130 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp11_ = json_parser_get_root (_tmp10_); -#line 1120 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1130 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp12_ = json_node_get_object (_tmp11_); -#line 1120 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1130 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp13_ = _json_object_ref0 (_tmp12_); -#line 1120 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1130 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" response_obj = _tmp13_; -#line 1122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1132 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp14_ = response_obj; -#line 1122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1132 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp15_ = json_object_has_member (_tmp14_, "name"); -#line 1122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1132 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp15_) { -#line 7747 "RESTSupport.c" +#line 8051 "RESTSupport.c" gchar* username = NULL; JsonObject* _tmp16_ = NULL; const gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; const gchar* _tmp19_ = NULL; -#line 1123 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp16_ = response_obj; -#line 1123 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp17_ = json_object_get_string_member (_tmp16_, "name"); -#line 1123 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp18_ = g_strdup (_tmp17_); -#line 1123 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" username = _tmp18_; -#line 1125 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1135 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp19_ = username; -#line 1125 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1135 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (g_strcmp0 (_tmp19_, "") != 0) { -#line 7765 "RESTSupport.c" +#line 8069 "RESTSupport.c" PublishingRESTSupportGooglePublisherGoogleSessionImpl* _tmp20_ = NULL; const gchar* _tmp21_ = NULL; gchar* _tmp22_ = NULL; -#line 1126 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp20_ = self->priv->session; -#line 1126 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp21_ = username; -#line 1126 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp22_ = g_strdup (_tmp21_); -#line 1126 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp20_->user_name); -#line 1126 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp20_->user_name = _tmp22_; -#line 7779 "RESTSupport.c" +#line 8083 "RESTSupport.c" } -#line 1122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1132 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (username); -#line 7783 "RESTSupport.c" +#line 8087 "RESTSupport.c" } -#line 1129 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp23_ = response_obj; -#line 1129 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp24_ = json_object_has_member (_tmp23_, "access_token"); -#line 1129 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp24_) { -#line 7791 "RESTSupport.c" +#line 8095 "RESTSupport.c" gchar* access_token = NULL; JsonObject* _tmp25_ = NULL; const gchar* _tmp26_ = NULL; gchar* _tmp27_ = NULL; const gchar* _tmp28_ = NULL; -#line 1130 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1140 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp25_ = response_obj; -#line 1130 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1140 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp26_ = json_object_get_string_member (_tmp25_, "access_token"); -#line 1130 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1140 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp27_ = g_strdup (_tmp26_); -#line 1130 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1140 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" access_token = _tmp27_; -#line 1132 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1142 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp28_ = access_token; -#line 1132 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1142 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (g_strcmp0 (_tmp28_, "") != 0) { -#line 7809 "RESTSupport.c" +#line 8113 "RESTSupport.c" PublishingRESTSupportGooglePublisherGoogleSessionImpl* _tmp29_ = NULL; const gchar* _tmp30_ = NULL; gchar* _tmp31_ = NULL; -#line 1133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1143 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp29_ = self->priv->session; -#line 1133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1143 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp30_ = access_token; -#line 1133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1143 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp31_ = g_strdup (_tmp30_); -#line 1133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1143 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp29_->access_token); -#line 1133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1143 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp29_->access_token = _tmp31_; -#line 7823 "RESTSupport.c" +#line 8127 "RESTSupport.c" } -#line 1129 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (access_token); -#line 7827 "RESTSupport.c" +#line 8131 "RESTSupport.c" } -#line 1138 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1148 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp32_ = self->priv->session; -#line 1138 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1148 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp33_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession)); -#line 1138 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1148 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _vala_assert (_tmp33_, "session.is_authenticated()"); -#line 1140 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1150 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_on_login_flow_complete (self); -#line 1107 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _json_object_unref0 (response_obj); -#line 1107 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (parser); -#line 7841 "RESTSupport.c" +#line 8145 "RESTSupport.c" } SpitPublishingPluginHost* publishing_rest_support_google_publisher_get_host (PublishingRESTSupportGooglePublisher* self) { SpitPublishingPluginHost* result = NULL; SpitPublishingPluginHost* _tmp0_ = NULL; -#line 1143 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1153 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self), NULL); -#line 1144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1154 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->host; -#line 1144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1154 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp0_; -#line 1144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1154 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 7856 "RESTSupport.c" +#line 8160 "RESTSupport.c" } @@ -7876,177 +8187,177 @@ PublishingRESTSupportGoogleSession* publishing_rest_support_google_publisher_get PublishingRESTSupportGoogleSession* result = NULL; PublishingRESTSupportGooglePublisherGoogleSessionImpl* _tmp0_ = NULL; PublishingRESTSupportGoogleSession* _tmp1_ = NULL; -#line 1147 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1157 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self), NULL); -#line 1148 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1158 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->session; -#line 1148 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1158 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = _publishing_rest_support_session_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_SESSION, PublishingRESTSupportGoogleSession)); -#line 1148 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1158 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp1_; -#line 1148 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1158 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 7874 "RESTSupport.c" +#line 8178 "RESTSupport.c" } void publishing_rest_support_google_publisher_start_oauth_flow (PublishingRESTSupportGooglePublisher* self, const gchar* refresh_token) { gboolean _tmp0_ = FALSE; const gchar* _tmp1_ = NULL; -#line 1151 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1161 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 1152 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1162 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = refresh_token; -#line 1152 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1162 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp1_ != NULL) { -#line 7887 "RESTSupport.c" +#line 8191 "RESTSupport.c" const gchar* _tmp2_ = NULL; -#line 1152 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1162 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = refresh_token; -#line 1152 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1162 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = g_strcmp0 (_tmp2_, "") != 0; -#line 7893 "RESTSupport.c" +#line 8197 "RESTSupport.c" } else { -#line 1152 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1162 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = FALSE; -#line 7897 "RESTSupport.c" +#line 8201 "RESTSupport.c" } -#line 1152 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1162 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp0_) { -#line 7901 "RESTSupport.c" +#line 8205 "RESTSupport.c" PublishingRESTSupportGooglePublisherGoogleSessionImpl* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 1153 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = self->priv->session; -#line 1153 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = refresh_token; -#line 1153 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = g_strdup (_tmp4_); -#line 1153 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp3_->refresh_token); -#line 1153 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_->refresh_token = _tmp5_; -#line 1154 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1164 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_do_exchange_refresh_token_for_access_token (self); -#line 7917 "RESTSupport.c" +#line 8221 "RESTSupport.c" } else { gboolean _tmp6_ = FALSE; -#line 1156 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1166 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = publishing_rest_support_google_publisher_web_authentication_pane_is_cache_dirty (); -#line 1156 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1166 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" if (_tmp6_) { -#line 7924 "RESTSupport.c" +#line 8228 "RESTSupport.c" SpitPublishingPluginHost* _tmp7_ = NULL; const gchar* _tmp8_ = NULL; -#line 1157 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1167 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = self->priv->host; -#line 1157 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1167 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = _ ("You have already logged in and out of a Google service during this Sho" \ "twell session.\n" \ "\n" \ "To continue publishing to Google services, quit and restart Shotwell, " \ "then try publishing again."); -#line 1157 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1167 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" spit_publishing_plugin_host_install_static_message_pane (_tmp7_, _tmp8_, SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL); -#line 1158 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1168 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 7935 "RESTSupport.c" +#line 8239 "RESTSupport.c" } -#line 1161 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1171 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_do_hosted_web_authentication (self); -#line 7939 "RESTSupport.c" +#line 8243 "RESTSupport.c" } } static void publishing_rest_support_google_publisher_real_on_login_flow_complete (PublishingRESTSupportGooglePublisher* self) { -#line 1165 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1175 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_publisher_on_login_flow_complete'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 1165 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1175 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 7949 "RESTSupport.c" +#line 8253 "RESTSupport.c" } void publishing_rest_support_google_publisher_on_login_flow_complete (PublishingRESTSupportGooglePublisher* self) { -#line 1165 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1175 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 1165 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1175 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_GET_CLASS (self)->on_login_flow_complete (self); -#line 7958 "RESTSupport.c" +#line 8262 "RESTSupport.c" } static void publishing_rest_support_google_publisher_real_do_logout (PublishingRESTSupportGooglePublisher* self) { -#line 1167 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1177 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_publisher_do_logout'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 1167 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1177 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 7967 "RESTSupport.c" +#line 8271 "RESTSupport.c" } void publishing_rest_support_google_publisher_do_logout (PublishingRESTSupportGooglePublisher* self) { -#line 1167 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1177 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 1167 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1177 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_GET_CLASS (self)->do_logout (self); -#line 7976 "RESTSupport.c" +#line 8280 "RESTSupport.c" } static gboolean publishing_rest_support_google_publisher_real_is_running (PublishingRESTSupportGooglePublisher* self) { -#line 1169 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1179 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_publisher_is_running'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 1169 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1179 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return FALSE; -#line 7985 "RESTSupport.c" +#line 8289 "RESTSupport.c" } gboolean publishing_rest_support_google_publisher_is_running (PublishingRESTSupportGooglePublisher* self) { -#line 1169 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1179 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self), FALSE); -#line 1169 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1179 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_GET_CLASS (self)->is_running (self); -#line 7994 "RESTSupport.c" +#line 8298 "RESTSupport.c" } static void publishing_rest_support_google_publisher_real_start (PublishingRESTSupportGooglePublisher* self) { -#line 1171 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1181 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_publisher_start'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 1171 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1181 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 8003 "RESTSupport.c" +#line 8307 "RESTSupport.c" } void publishing_rest_support_google_publisher_start (PublishingRESTSupportGooglePublisher* self) { -#line 1171 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1181 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 1171 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1181 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_GET_CLASS (self)->start (self); -#line 8012 "RESTSupport.c" +#line 8316 "RESTSupport.c" } static void publishing_rest_support_google_publisher_real_stop (PublishingRESTSupportGooglePublisher* self) { -#line 1173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1183 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_publisher_stop'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 1173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1183 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 8021 "RESTSupport.c" +#line 8325 "RESTSupport.c" } void publishing_rest_support_google_publisher_stop (PublishingRESTSupportGooglePublisher* self) { -#line 1173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1183 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self)); -#line 1173 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1183 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_GET_CLASS (self)->stop (self); -#line 8030 "RESTSupport.c" +#line 8334 "RESTSupport.c" } @@ -8055,46 +8366,46 @@ static SpitPublishingService* publishing_rest_support_google_publisher_real_get_ SpitPublishingService* result = NULL; SpitPublishingService* _tmp0_ = NULL; SpitPublishingService* _tmp1_ = NULL; -#line 1175 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher); -#line 1176 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1186 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->priv->service; -#line 1176 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1186 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 1176 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1186 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp1_; -#line 1176 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 1186 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 8049 "RESTSupport.c" +#line 8353 "RESTSupport.c" } static PublishingRESTSupportGooglePublisherGoogleSessionImpl* publishing_rest_support_google_publisher_google_session_impl_construct (GType object_type) { PublishingRESTSupportGooglePublisherGoogleSessionImpl* self = NULL; -#line 704 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 762 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportGooglePublisherGoogleSessionImpl*) publishing_rest_support_google_session_construct (object_type); -#line 705 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 763 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->access_token); -#line 705 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 763 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->access_token = NULL; -#line 706 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 764 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->user_name); -#line 706 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 764 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->user_name = NULL; -#line 707 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 765 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->refresh_token); -#line 707 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 765 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->refresh_token = NULL; -#line 704 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 762 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 8071 "RESTSupport.c" +#line 8375 "RESTSupport.c" } static PublishingRESTSupportGooglePublisherGoogleSessionImpl* publishing_rest_support_google_publisher_google_session_impl_new (void) { -#line 704 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 762 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return publishing_rest_support_google_publisher_google_session_impl_construct (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_GOOGLE_SESSION_IMPL); -#line 8078 "RESTSupport.c" +#line 8382 "RESTSupport.c" } @@ -8102,15 +8413,15 @@ static gboolean publishing_rest_support_google_publisher_google_session_impl_rea PublishingRESTSupportGooglePublisherGoogleSessionImpl * self; gboolean result = FALSE; const gchar* _tmp0_ = NULL; -#line 710 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 768 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_GOOGLE_SESSION_IMPL, PublishingRESTSupportGooglePublisherGoogleSessionImpl); -#line 711 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 769 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->access_token; -#line 711 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 769 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp0_ != NULL; -#line 711 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 769 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 8094 "RESTSupport.c" +#line 8398 "RESTSupport.c" } @@ -8120,21 +8431,21 @@ static gchar* publishing_rest_support_google_publisher_google_session_impl_real_ const gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; -#line 714 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 772 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_GOOGLE_SESSION_IMPL, PublishingRESTSupportGooglePublisherGoogleSessionImpl); -#line 715 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 773 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->user_name; -#line 715 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 773 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _vala_assert (_tmp0_ != NULL, "user_name != null"); -#line 716 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 774 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->user_name; -#line 716 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 774 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = g_strdup (_tmp1_); -#line 716 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 774 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp2_; -#line 716 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 774 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 8118 "RESTSupport.c" +#line 8422 "RESTSupport.c" } @@ -8144,21 +8455,21 @@ static gchar* publishing_rest_support_google_publisher_google_session_impl_real_ gboolean _tmp0_ = FALSE; const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; -#line 719 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 777 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_GOOGLE_SESSION_IMPL, PublishingRESTSupportGooglePublisherGoogleSessionImpl); -#line 720 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 778 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession)); -#line 720 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 778 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _vala_assert (_tmp0_, "is_authenticated()"); -#line 721 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 779 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->access_token; -#line 721 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 779 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = g_strdup (_tmp1_); -#line 721 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 779 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp2_; -#line 721 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 779 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 8142 "RESTSupport.c" +#line 8446 "RESTSupport.c" } @@ -8168,60 +8479,60 @@ static gchar* publishing_rest_support_google_publisher_google_session_impl_real_ const gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; -#line 724 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 782 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_GOOGLE_SESSION_IMPL, PublishingRESTSupportGooglePublisherGoogleSessionImpl); -#line 725 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 783 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = self->refresh_token; -#line 725 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 783 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _vala_assert (_tmp0_ != NULL, "refresh_token != null"); -#line 726 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 784 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = self->refresh_token; -#line 726 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 784 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = g_strdup (_tmp1_); -#line 726 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 784 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp2_; -#line 726 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 784 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 8166 "RESTSupport.c" +#line 8470 "RESTSupport.c" } static void publishing_rest_support_google_publisher_google_session_impl_real_deauthenticate (PublishingRESTSupportGoogleSession* base) { PublishingRESTSupportGooglePublisherGoogleSessionImpl * self; -#line 729 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 787 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_GOOGLE_SESSION_IMPL, PublishingRESTSupportGooglePublisherGoogleSessionImpl); -#line 730 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 788 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->access_token); -#line 730 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 788 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->access_token = NULL; -#line 731 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 789 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->user_name); -#line 731 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 789 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->user_name = NULL; -#line 732 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 790 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->refresh_token); -#line 732 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 790 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->refresh_token = NULL; -#line 8186 "RESTSupport.c" +#line 8490 "RESTSupport.c" } static void publishing_rest_support_google_publisher_google_session_impl_class_init (PublishingRESTSupportGooglePublisherGoogleSessionImplClass * klass) { -#line 699 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 757 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_google_session_impl_parent_class = g_type_class_peek_parent (klass); -#line 699 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 757 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportSessionClass *) klass)->finalize = publishing_rest_support_google_publisher_google_session_impl_finalize; -#line 699 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 757 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportSessionClass *) klass)->is_authenticated = publishing_rest_support_google_publisher_google_session_impl_real_is_authenticated; -#line 699 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 757 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportGoogleSessionClass *) klass)->get_user_name = publishing_rest_support_google_publisher_google_session_impl_real_get_user_name; -#line 699 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 757 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportGoogleSessionClass *) klass)->get_access_token = publishing_rest_support_google_publisher_google_session_impl_real_get_access_token; -#line 699 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 757 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportGoogleSessionClass *) klass)->get_refresh_token = publishing_rest_support_google_publisher_google_session_impl_real_get_refresh_token; -#line 699 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 757 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportGoogleSessionClass *) klass)->deauthenticate = publishing_rest_support_google_publisher_google_session_impl_real_deauthenticate; -#line 8205 "RESTSupport.c" +#line 8509 "RESTSupport.c" } @@ -8231,17 +8542,17 @@ static void publishing_rest_support_google_publisher_google_session_impl_instanc static void publishing_rest_support_google_publisher_google_session_impl_finalize (PublishingRESTSupportSession* obj) { PublishingRESTSupportGooglePublisherGoogleSessionImpl * self; -#line 699 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 757 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_GOOGLE_SESSION_IMPL, PublishingRESTSupportGooglePublisherGoogleSessionImpl); -#line 700 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 758 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->access_token); -#line 701 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 759 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->user_name); -#line 702 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 760 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->refresh_token); -#line 699 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 757 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" PUBLISHING_REST_SUPPORT_SESSION_CLASS (publishing_rest_support_google_publisher_google_session_impl_parent_class)->finalize (obj); -#line 8225 "RESTSupport.c" +#line 8529 "RESTSupport.c" } @@ -8257,115 +8568,38 @@ static GType publishing_rest_support_google_publisher_google_session_impl_get_ty } -static void _publishing_rest_support_google_publisher_web_authentication_pane_on_page_load_changed_webkit_web_view_load_changed (WebKitWebView* _sender, WebKitLoadEvent load_event, gpointer self) { -#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - publishing_rest_support_google_publisher_web_authentication_pane_on_page_load_changed ((PublishingRESTSupportGooglePublisherWebAuthenticationPane*) self, load_event); -#line 8244 "RESTSupport.c" -} - - -static gboolean __lambda4_ (PublishingRESTSupportGooglePublisherWebAuthenticationPane* self) { - gboolean result = FALSE; -#line 754 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - result = FALSE; -#line 754 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - return result; -#line 8254 "RESTSupport.c" -} - - -static gboolean ___lambda4__webkit_web_view_context_menu (WebKitWebView* _sender, WebKitContextMenu* context_menu, GdkEvent* event, WebKitHitTestResult* hit_test_result, gpointer self) { - gboolean result; - result = __lambda4_ ((PublishingRESTSupportGooglePublisherWebAuthenticationPane*) self); -#line 754 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - return result; -#line 8263 "RESTSupport.c" -} - - static PublishingRESTSupportGooglePublisherWebAuthenticationPane* publishing_rest_support_google_publisher_web_authentication_pane_construct (GType object_type, const gchar* auth_sequence_start_url) { PublishingRESTSupportGooglePublisherWebAuthenticationPane * self = NULL; const gchar* _tmp0_ = NULL; - gchar* _tmp1_ = NULL; - GtkBox* _tmp2_ = NULL; - WebKitWebView* _tmp3_ = NULL; - WebKitWebView* _tmp4_ = NULL; - WebKitSettings* _tmp5_ = NULL; - WebKitWebView* _tmp6_ = NULL; - WebKitWebView* _tmp7_ = NULL; - GtkBox* _tmp8_ = NULL; - WebKitWebView* _tmp9_ = NULL; -#line 745 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 799 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (auth_sequence_start_url != NULL, NULL); -#line 745 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - self = (PublishingRESTSupportGooglePublisherWebAuthenticationPane*) g_object_new (object_type, NULL); -#line 746 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 800 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = auth_sequence_start_url; -#line 746 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp1_ = g_strdup (_tmp0_); -#line 746 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _g_free0 (self->priv->auth_sequence_start_url); -#line 746 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - self->priv->auth_sequence_start_url = _tmp1_; -#line 748 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp2_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); -#line 748 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_object_ref_sink (_tmp2_); -#line 748 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _g_object_unref0 (self->priv->pane_widget); -#line 748 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - self->priv->pane_widget = _tmp2_; -#line 750 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp3_ = (WebKitWebView*) webkit_web_view_new (); -#line 750 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_object_ref_sink (_tmp3_); -#line 750 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _g_object_unref0 (self->priv->webview); -#line 750 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - self->priv->webview = _tmp3_; -#line 751 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp4_ = self->priv->webview; -#line 751 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp5_ = webkit_web_view_get_settings (_tmp4_); -#line 751 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - webkit_settings_set_enable_plugins (_tmp5_, FALSE); -#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp6_ = self->priv->webview; -#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_signal_connect_object (_tmp6_, "load-changed", (GCallback) _publishing_rest_support_google_publisher_web_authentication_pane_on_page_load_changed_webkit_web_view_load_changed, self, 0); -#line 754 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp7_ = self->priv->webview; -#line 754 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_signal_connect_object (_tmp7_, "context-menu", (GCallback) ___lambda4__webkit_web_view_context_menu, self, 0); -#line 756 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp8_ = self->priv->pane_widget; -#line 756 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp9_ = self->priv->webview; -#line 756 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - gtk_box_pack_start (_tmp8_, G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0); -#line 745 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 800 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + self = (PublishingRESTSupportGooglePublisherWebAuthenticationPane*) g_object_new (object_type, "login-uri", _tmp0_, NULL); +#line 799 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 8329 "RESTSupport.c" +#line 8556 "RESTSupport.c" } static PublishingRESTSupportGooglePublisherWebAuthenticationPane* publishing_rest_support_google_publisher_web_authentication_pane_new (const gchar* auth_sequence_start_url) { -#line 745 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 799 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return publishing_rest_support_google_publisher_web_authentication_pane_construct (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE, auth_sequence_start_url); -#line 8336 "RESTSupport.c" +#line 8563 "RESTSupport.c" } static gboolean publishing_rest_support_google_publisher_web_authentication_pane_is_cache_dirty (void) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 760 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 804 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = publishing_rest_support_google_publisher_web_authentication_pane_cache_dirty; -#line 760 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 804 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" result = _tmp0_; -#line 760 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 804 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return result; -#line 8349 "RESTSupport.c" +#line 8576 "RESTSupport.c" } @@ -8392,7 +8626,7 @@ static gint string_index_of (const gchar* self, const gchar* needle, gint start_ _tmp3_ = _result_; #line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { -#line 8376 "RESTSupport.c" +#line 8603 "RESTSupport.c" gchar* _tmp4_ = NULL; #line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _result_; @@ -8400,13 +8634,13 @@ static gint string_index_of (const gchar* self, const gchar* needle, gint start_ result = (gint) (_tmp4_ - ((gchar*) self)); #line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 8384 "RESTSupport.c" +#line 8611 "RESTSupport.c" } else { #line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = -1; #line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 8390 "RESTSupport.c" +#line 8617 "RESTSupport.c" } } @@ -8430,7 +8664,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { _tmp3_ = end; #line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { -#line 8414 "RESTSupport.c" +#line 8641 "RESTSupport.c" glong _tmp4_ = 0L; #line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; @@ -8438,7 +8672,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { result = _tmp4_; #line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 8422 "RESTSupport.c" +#line 8649 "RESTSupport.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; @@ -8450,7 +8684,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { result = (glong) (_tmp5_ - _tmp6_); #line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 8434 "RESTSupport.c" +#line 8661 "RESTSupport.c" } } @@ -8474,21 +8708,21 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp1_ = offset; #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { -#line 8458 "RESTSupport.c" +#line 8685 "RESTSupport.c" glong _tmp2_ = 0L; #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); -#line 8464 "RESTSupport.c" +#line 8691 "RESTSupport.c" } else { #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; -#line 8468 "RESTSupport.c" +#line 8695 "RESTSupport.c" } #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { -#line 8472 "RESTSupport.c" +#line 8699 "RESTSupport.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; @@ -8500,7 +8734,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); #line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; -#line 8484 "RESTSupport.c" +#line 8711 "RESTSupport.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; @@ -8510,13 +8744,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp7_ = _tmp6_; #line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; -#line 8494 "RESTSupport.c" +#line 8721 "RESTSupport.c" } #line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; #line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { -#line 8500 "RESTSupport.c" +#line 8727 "RESTSupport.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; @@ -8530,7 +8764,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp11_ = offset; #line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); -#line 8514 "RESTSupport.c" +#line 8741 "RESTSupport.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; @@ -8540,13 +8774,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp13_ = string_length; #line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); -#line 8524 "RESTSupport.c" +#line 8751 "RESTSupport.c" } #line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; #line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { -#line 8530 "RESTSupport.c" +#line 8757 "RESTSupport.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; #line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -8555,7 +8789,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp16_ = offset; #line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; -#line 8539 "RESTSupport.c" +#line 8766 "RESTSupport.c" } #line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; @@ -8575,265 +8809,116 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { result = _tmp22_; #line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 8559 "RESTSupport.c" +#line 8786 "RESTSupport.c" } -static void publishing_rest_support_google_publisher_web_authentication_pane_on_page_load (PublishingRESTSupportGooglePublisherWebAuthenticationPane* self) { - GtkBox* _tmp0_ = NULL; - GdkWindow* _tmp1_ = NULL; - GdkCursor* _tmp2_ = NULL; - GdkCursor* _tmp3_ = NULL; +static void publishing_rest_support_google_publisher_web_authentication_pane_real_on_page_load (ShotwellPluginsCommonWebAuthenticationPane* base) { + PublishingRESTSupportGooglePublisherWebAuthenticationPane * self; gchar* page_title = NULL; - WebKitWebView* _tmp4_ = NULL; + WebKitWebView* _tmp0_ = NULL; + WebKitWebView* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; - gchar* _tmp6_ = NULL; - const gchar* _tmp7_ = NULL; - gint _tmp8_ = 0; -#line 763 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_return_if_fail (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_IS_WEB_AUTHENTICATION_PANE (self)); -#line 764 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp0_ = self->priv->pane_widget; -#line 764 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 764 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp2_ = gdk_cursor_new (GDK_LEFT_PTR); -#line 764 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp3_ = _tmp2_; -#line 764 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - gdk_window_set_cursor (_tmp1_, _tmp3_); -#line 764 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _g_object_unref0 (_tmp3_); -#line 766 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp4_ = self->priv->webview; -#line 766 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp5_ = webkit_web_view_get_title (_tmp4_); -#line 766 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp6_ = g_strdup (_tmp5_); -#line 766 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - page_title = _tmp6_; -#line 767 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp7_ = page_title; -#line 767 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp8_ = string_index_of (_tmp7_, "state=connect", 0); -#line 767 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - if (_tmp8_ > 0) { -#line 8602 "RESTSupport.c" + gint _tmp6_ = 0; +#line 807 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE, PublishingRESTSupportGooglePublisherWebAuthenticationPane); +#line 808 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp0_ = shotwell_plugins_common_web_authentication_pane_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane)); +#line 808 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp1_ = _tmp0_; +#line 808 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp2_ = webkit_web_view_get_title (_tmp1_); +#line 808 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp3_ = g_strdup (_tmp2_); +#line 808 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp4_ = _tmp3_; +#line 808 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _g_object_unref0 (_tmp1_); +#line 808 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + page_title = _tmp4_; +#line 809 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp5_ = page_title; +#line 809 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp6_ = string_index_of (_tmp5_, "state=connect", 0); +#line 809 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + if (_tmp6_ > 0) { +#line 8822 "RESTSupport.c" gint auth_code_field_start = 0; - const gchar* _tmp9_ = NULL; - gint _tmp10_ = 0; - gint _tmp11_ = 0; + const gchar* _tmp7_ = NULL; + gint _tmp8_ = 0; + gint _tmp9_ = 0; gchar* auth_code = NULL; - const gchar* _tmp12_ = NULL; - gint _tmp13_ = 0; - gchar* _tmp14_ = NULL; - const gchar* _tmp15_ = NULL; -#line 768 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp9_ = page_title; -#line 768 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp10_ = string_index_of (_tmp9_, "code=", 0); -#line 768 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - auth_code_field_start = _tmp10_; -#line 769 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp11_ = auth_code_field_start; -#line 769 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - if (_tmp11_ < 0) { -#line 770 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + const gchar* _tmp10_ = NULL; + gint _tmp11_ = 0; + gchar* _tmp12_ = NULL; + const gchar* _tmp13_ = NULL; +#line 810 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp7_ = page_title; +#line 810 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp8_ = string_index_of (_tmp7_, "code=", 0); +#line 810 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + auth_code_field_start = _tmp8_; +#line 811 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp9_ = auth_code_field_start; +#line 811 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + if (_tmp9_ < 0) { +#line 812 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (page_title); -#line 770 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 812 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return; -#line 8626 "RESTSupport.c" +#line 8846 "RESTSupport.c" } -#line 772 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp12_ = page_title; -#line 772 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp13_ = auth_code_field_start; -#line 772 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp14_ = string_substring (_tmp12_, (glong) (_tmp13_ + 5), (glong) -1); -#line 772 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - auth_code = _tmp14_; -#line 775 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 814 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp10_ = page_title; +#line 814 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp11_ = auth_code_field_start; +#line 814 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp12_ = string_substring (_tmp10_, (glong) (_tmp11_ + 5), (glong) -1); +#line 814 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + auth_code = _tmp12_; +#line 817 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_web_authentication_pane_cache_dirty = TRUE; -#line 777 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp15_ = auth_code; -#line 777 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_signal_emit_by_name (self, "authorized", _tmp15_); -#line 767 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 819 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + _tmp13_ = auth_code; +#line 819 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + g_signal_emit_by_name (self, "authorized", _tmp13_); +#line 809 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (auth_code); -#line 8644 "RESTSupport.c" - } -#line 763 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _g_free0 (page_title); -#line 8648 "RESTSupport.c" -} - - -static void publishing_rest_support_google_publisher_web_authentication_pane_on_load_started (PublishingRESTSupportGooglePublisherWebAuthenticationPane* self) { - GtkBox* _tmp0_ = NULL; - GdkWindow* _tmp1_ = NULL; - GdkCursor* _tmp2_ = NULL; - GdkCursor* _tmp3_ = NULL; -#line 781 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_return_if_fail (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_IS_WEB_AUTHENTICATION_PANE (self)); -#line 782 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp0_ = self->priv->pane_widget; -#line 782 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 782 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp2_ = gdk_cursor_new (GDK_WATCH); -#line 782 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp3_ = _tmp2_; -#line 782 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - gdk_window_set_cursor (_tmp1_, _tmp3_); -#line 782 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _g_object_unref0 (_tmp3_); -#line 8671 "RESTSupport.c" -} - - -static void publishing_rest_support_google_publisher_web_authentication_pane_on_page_load_changed (PublishingRESTSupportGooglePublisherWebAuthenticationPane* self, WebKitLoadEvent load_event) { - WebKitLoadEvent _tmp0_ = 0; -#line 785 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_return_if_fail (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_IS_WEB_AUTHENTICATION_PANE (self)); -#line 786 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp0_ = load_event; -#line 786 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - switch (_tmp0_) { -#line 786 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - case WEBKIT_LOAD_STARTED: -#line 8685 "RESTSupport.c" - { -#line 788 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - publishing_rest_support_google_publisher_web_authentication_pane_on_load_started (self); -#line 789 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - break; -#line 8691 "RESTSupport.c" - } -#line 786 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - case WEBKIT_LOAD_FINISHED: -#line 8695 "RESTSupport.c" - { -#line 791 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - publishing_rest_support_google_publisher_web_authentication_pane_on_page_load (self); -#line 792 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - break; -#line 8701 "RESTSupport.c" - } - default: -#line 786 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - break; -#line 8706 "RESTSupport.c" +#line 8864 "RESTSupport.c" } -#line 795 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - return; -#line 8710 "RESTSupport.c" -} - - -static SpitPublishingDialogPaneGeometryOptions publishing_rest_support_google_publisher_web_authentication_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) { - PublishingRESTSupportGooglePublisherWebAuthenticationPane * self; - SpitPublishingDialogPaneGeometryOptions result = 0; -#line 798 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE, PublishingRESTSupportGooglePublisherWebAuthenticationPane); -#line 799 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE; -#line 799 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - return result; -#line 8723 "RESTSupport.c" -} - - -static GtkWidget* publishing_rest_support_google_publisher_web_authentication_pane_real_get_widget (SpitPublishingDialogPane* base) { - PublishingRESTSupportGooglePublisherWebAuthenticationPane * self; - GtkWidget* result = NULL; - GtkBox* _tmp0_ = NULL; - GtkWidget* _tmp1_ = NULL; -#line 802 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE, PublishingRESTSupportGooglePublisherWebAuthenticationPane); -#line 803 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp0_ = self->priv->pane_widget; -#line 803 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 803 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - result = _tmp1_; -#line 803 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - return result; -#line 8742 "RESTSupport.c" -} - - -static void publishing_rest_support_google_publisher_web_authentication_pane_real_on_pane_installed (SpitPublishingDialogPane* base) { - PublishingRESTSupportGooglePublisherWebAuthenticationPane * self; - WebKitWebView* _tmp0_ = NULL; - const gchar* _tmp1_ = NULL; -#line 806 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE, PublishingRESTSupportGooglePublisherWebAuthenticationPane); -#line 807 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp0_ = self->priv->webview; #line 807 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _tmp1_ = self->priv->auth_sequence_start_url; -#line 807 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - webkit_web_view_load_uri (_tmp0_, _tmp1_); -#line 8758 "RESTSupport.c" -} - - -static void publishing_rest_support_google_publisher_web_authentication_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) { - PublishingRESTSupportGooglePublisherWebAuthenticationPane * self; -#line 810 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE, PublishingRESTSupportGooglePublisherWebAuthenticationPane); -#line 8766 "RESTSupport.c" + _g_free0 (page_title); +#line 8868 "RESTSupport.c" } static void publishing_rest_support_google_publisher_web_authentication_pane_class_init (PublishingRESTSupportGooglePublisherWebAuthenticationPaneClass * klass) { -#line 736 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 794 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_web_authentication_pane_parent_class = g_type_class_peek_parent (klass); -#line 736 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - g_type_class_add_private (klass, sizeof (PublishingRESTSupportGooglePublisherWebAuthenticationPanePrivate)); -#line 736 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 794 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" + ((ShotwellPluginsCommonWebAuthenticationPaneClass *) klass)->on_page_load = publishing_rest_support_google_publisher_web_authentication_pane_real_on_page_load; +#line 794 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" G_OBJECT_CLASS (klass)->finalize = publishing_rest_support_google_publisher_web_authentication_pane_finalize; -#line 736 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 794 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_signal_new ("authorized", PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); -#line 8779 "RESTSupport.c" -} - - -static void publishing_rest_support_google_publisher_web_authentication_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) { -#line 736 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - publishing_rest_support_google_publisher_web_authentication_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface); -#line 736 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) publishing_rest_support_google_publisher_web_authentication_pane_real_get_preferred_geometry; -#line 736 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_rest_support_google_publisher_web_authentication_pane_real_get_widget; -#line 736 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_rest_support_google_publisher_web_authentication_pane_real_on_pane_installed; -#line 736 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_rest_support_google_publisher_web_authentication_pane_real_on_pane_uninstalled; -#line 8794 "RESTSupport.c" +#line 8881 "RESTSupport.c" } static void publishing_rest_support_google_publisher_web_authentication_pane_instance_init (PublishingRESTSupportGooglePublisherWebAuthenticationPane * self) { -#line 736 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - self->priv = PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_WEB_AUTHENTICATION_PANE_GET_PRIVATE (self); -#line 8801 "RESTSupport.c" } static void publishing_rest_support_google_publisher_web_authentication_pane_finalize (GObject* obj) { PublishingRESTSupportGooglePublisherWebAuthenticationPane * self; -#line 736 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 794 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE, PublishingRESTSupportGooglePublisherWebAuthenticationPane); -#line 739 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _g_object_unref0 (self->priv->webview); -#line 740 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _g_object_unref0 (self->priv->pane_widget); -#line 741 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" - _g_free0 (self->priv->auth_sequence_start_url); -#line 736 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 794 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" G_OBJECT_CLASS (publishing_rest_support_google_publisher_web_authentication_pane_parent_class)->finalize (obj); -#line 8817 "RESTSupport.c" +#line 8895 "RESTSupport.c" } @@ -8841,10 +8926,8 @@ static GType publishing_rest_support_google_publisher_web_authentication_pane_ge static volatile gsize publishing_rest_support_google_publisher_web_authentication_pane_type_id__volatile = 0; if (g_once_init_enter (&publishing_rest_support_google_publisher_web_authentication_pane_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (PublishingRESTSupportGooglePublisherWebAuthenticationPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) publishing_rest_support_google_publisher_web_authentication_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PublishingRESTSupportGooglePublisherWebAuthenticationPane), 0, (GInstanceInitFunc) publishing_rest_support_google_publisher_web_authentication_pane_instance_init, NULL }; - static const GInterfaceInfo spit_publishing_dialog_pane_info = { (GInterfaceInitFunc) publishing_rest_support_google_publisher_web_authentication_pane_spit_publishing_dialog_pane_interface_init, (GInterfaceFinalizeFunc) NULL, NULL}; GType publishing_rest_support_google_publisher_web_authentication_pane_type_id; - publishing_rest_support_google_publisher_web_authentication_pane_type_id = g_type_register_static (G_TYPE_OBJECT, "PublishingRESTSupportGooglePublisherWebAuthenticationPane", &g_define_type_info, 0); - g_type_add_interface_static (publishing_rest_support_google_publisher_web_authentication_pane_type_id, SPIT_PUBLISHING_TYPE_DIALOG_PANE, &spit_publishing_dialog_pane_info); + publishing_rest_support_google_publisher_web_authentication_pane_type_id = g_type_register_static (SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, "PublishingRESTSupportGooglePublisherWebAuthenticationPane", &g_define_type_info, 0); g_once_init_leave (&publishing_rest_support_google_publisher_web_authentication_pane_type_id__volatile, publishing_rest_support_google_publisher_web_authentication_pane_type_id); } return publishing_rest_support_google_publisher_web_authentication_pane_type_id__volatile; @@ -8855,43 +8938,43 @@ static PublishingRESTSupportGooglePublisherGetAccessTokensTransaction* publishin PublishingRESTSupportGooglePublisherGetAccessTokensTransaction* self = NULL; PublishingRESTSupportSession* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 817 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 827 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_SESSION (session), NULL); -#line 817 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 827 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (auth_code != NULL, NULL); -#line 818 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 828 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = session; -#line 818 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 828 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportGooglePublisherGetAccessTokensTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, _tmp0_, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_GET_ACCESS_TOKENS_TRANSACTION_ENDPOINT_URL, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST); -#line 820 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 830 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = auth_code; -#line 820 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 830 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "code", _tmp1_); -#line 821 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 831 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "client_id", PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_OAUTH_CLIENT_ID); -#line 822 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 832 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "client_secret", PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_OAUTH_CLIENT_SECRET); -#line 823 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 833 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "redirect_uri", "urn:ietf:wg:oauth:2.0:oob"); -#line 824 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 834 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "grant_type", "authorization_code"); -#line 817 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 827 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 8861 "RESTSupport.c" +#line 8937 "RESTSupport.c" } static PublishingRESTSupportGooglePublisherGetAccessTokensTransaction* publishing_rest_support_google_publisher_get_access_tokens_transaction_new (PublishingRESTSupportSession* session, const gchar* auth_code) { -#line 817 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 827 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return publishing_rest_support_google_publisher_get_access_tokens_transaction_construct (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_GET_ACCESS_TOKENS_TRANSACTION, session, auth_code); -#line 8868 "RESTSupport.c" +#line 8944 "RESTSupport.c" } static void publishing_rest_support_google_publisher_get_access_tokens_transaction_class_init (PublishingRESTSupportGooglePublisherGetAccessTokensTransactionClass * klass) { -#line 814 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 824 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_get_access_tokens_transaction_parent_class = g_type_class_peek_parent (klass); -#line 8875 "RESTSupport.c" +#line 8951 "RESTSupport.c" } @@ -8917,45 +9000,45 @@ static PublishingRESTSupportGooglePublisherRefreshAccessTokenTransaction* publis PublishingRESTSupportSession* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 831 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 841 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_SESSION (session), NULL); -#line 832 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 842 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = session; -#line 832 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 842 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportGooglePublisherRefreshAccessTokenTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, _tmp0_, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_REFRESH_ACCESS_TOKEN_TRANSACTION_ENDPOINT_URL, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST); -#line 834 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 844 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "client_id", PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_OAUTH_CLIENT_ID); -#line 835 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 845 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "client_secret", PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_OAUTH_CLIENT_SECRET); -#line 836 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 846 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = session; -#line 836 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 846 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = publishing_rest_support_google_session_get_refresh_token (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_SESSION, PublishingRESTSupportGoogleSession)); -#line 836 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 846 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = _tmp2_; -#line 836 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 846 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "refresh_token", _tmp3_); -#line 836 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 846 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp3_); -#line 837 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 847 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "grant_type", "refresh_token"); -#line 831 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 841 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 8925 "RESTSupport.c" +#line 9001 "RESTSupport.c" } static PublishingRESTSupportGooglePublisherRefreshAccessTokenTransaction* publishing_rest_support_google_publisher_refresh_access_token_transaction_new (PublishingRESTSupportSession* session) { -#line 831 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 841 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return publishing_rest_support_google_publisher_refresh_access_token_transaction_construct (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_REFRESH_ACCESS_TOKEN_TRANSACTION, session); -#line 8932 "RESTSupport.c" +#line 9008 "RESTSupport.c" } static void publishing_rest_support_google_publisher_refresh_access_token_transaction_class_init (PublishingRESTSupportGooglePublisherRefreshAccessTokenTransactionClass * klass) { -#line 828 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 838 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_refresh_access_token_transaction_parent_class = g_type_class_peek_parent (klass); -#line 8939 "RESTSupport.c" +#line 9015 "RESTSupport.c" } @@ -8980,28 +9063,28 @@ static PublishingRESTSupportGooglePublisherAuthenticatedTransaction* publishing_ PublishingRESTSupportGoogleSession* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; PublishingRESTSupportHttpMethod _tmp2_ = 0; -#line 842 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 852 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_SESSION (session), NULL); -#line 842 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 852 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (endpoint_url != NULL, NULL); -#line 844 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 854 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = session; -#line 844 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 854 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = endpoint_url; -#line 844 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 854 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = method; -#line 844 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 854 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportGooglePublisherAuthenticatedTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, _tmp2_); -#line 842 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 852 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 8978 "RESTSupport.c" +#line 9054 "RESTSupport.c" } static PublishingRESTSupportGooglePublisherAuthenticatedTransaction* publishing_rest_support_google_publisher_authenticated_transaction_new_with_endpoint_url (PublishingRESTSupportGoogleSession* session, const gchar* endpoint_url, PublishingRESTSupportHttpMethod method) { -#line 842 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 852 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return publishing_rest_support_google_publisher_authenticated_transaction_construct_with_endpoint_url (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_AUTHENTICATED_TRANSACTION, session, endpoint_url, method); -#line 8985 "RESTSupport.c" +#line 9061 "RESTSupport.c" } @@ -9017,57 +9100,57 @@ PublishingRESTSupportGooglePublisherAuthenticatedTransaction* publishing_rest_su gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 847 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 857 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_SESSION (session), NULL); -#line 847 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 857 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (endpoint_url != NULL, NULL); -#line 849 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 859 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = session; -#line 849 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 859 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp1_ = endpoint_url; -#line 849 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 859 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp2_ = method; -#line 849 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 859 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportGooglePublisherAuthenticatedTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, _tmp2_); -#line 850 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 860 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp3_ = session; -#line 850 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 860 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp4_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession)); -#line 850 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 860 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _vala_assert (_tmp4_, "session.is_authenticated()"); -#line 852 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 862 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp5_ = session; -#line 852 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 862 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp6_ = publishing_rest_support_google_session_get_access_token (_tmp5_); -#line 852 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 862 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp7_ = _tmp6_; -#line 852 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 862 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp8_ = g_strconcat ("Bearer ", _tmp7_, NULL); -#line 852 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 862 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp9_ = _tmp8_; -#line 852 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 862 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_transaction_add_header (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "Authorization", _tmp9_); -#line 852 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 862 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp9_); -#line 852 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 862 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (_tmp7_); -#line 847 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 857 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 9037 "RESTSupport.c" +#line 9113 "RESTSupport.c" } PublishingRESTSupportGooglePublisherAuthenticatedTransaction* publishing_rest_support_google_publisher_authenticated_transaction_new (PublishingRESTSupportGoogleSession* session, const gchar* endpoint_url, PublishingRESTSupportHttpMethod method) { -#line 847 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 857 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return publishing_rest_support_google_publisher_authenticated_transaction_construct (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_AUTHENTICATED_TRANSACTION, session, endpoint_url, method); -#line 9044 "RESTSupport.c" +#line 9120 "RESTSupport.c" } static void publishing_rest_support_google_publisher_authenticated_transaction_class_init (PublishingRESTSupportGooglePublisherAuthenticatedTransactionClass * klass) { -#line 841 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 851 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_authenticated_transaction_parent_class = g_type_class_peek_parent (klass); -#line 9051 "RESTSupport.c" +#line 9127 "RESTSupport.c" } @@ -9090,29 +9173,29 @@ GType publishing_rest_support_google_publisher_authenticated_transaction_get_typ static PublishingRESTSupportGooglePublisherUsernameFetchTransaction* publishing_rest_support_google_publisher_username_fetch_transaction_construct (GType object_type, PublishingRESTSupportGoogleSession* session) { PublishingRESTSupportGooglePublisherUsernameFetchTransaction* self = NULL; PublishingRESTSupportGoogleSession* _tmp0_ = NULL; -#line 859 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 869 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_SESSION (session), NULL); -#line 860 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 870 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _tmp0_ = session; -#line 860 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 870 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = (PublishingRESTSupportGooglePublisherUsernameFetchTransaction*) publishing_rest_support_google_publisher_authenticated_transaction_construct (object_type, _tmp0_, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_USERNAME_FETCH_TRANSACTION_ENDPOINT_URL, PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET); -#line 859 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 869 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return self; -#line 9082 "RESTSupport.c" +#line 9158 "RESTSupport.c" } static PublishingRESTSupportGooglePublisherUsernameFetchTransaction* publishing_rest_support_google_publisher_username_fetch_transaction_new (PublishingRESTSupportGoogleSession* session) { -#line 859 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 869 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" return publishing_rest_support_google_publisher_username_fetch_transaction_construct (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_USERNAME_FETCH_TRANSACTION, session); -#line 9089 "RESTSupport.c" +#line 9165 "RESTSupport.c" } static void publishing_rest_support_google_publisher_username_fetch_transaction_class_init (PublishingRESTSupportGooglePublisherUsernameFetchTransactionClass * klass) { -#line 856 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 866 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_username_fetch_transaction_parent_class = g_type_class_peek_parent (klass); -#line 9096 "RESTSupport.c" +#line 9172 "RESTSupport.c" } @@ -9133,61 +9216,61 @@ static GType publishing_rest_support_google_publisher_username_fetch_transaction static void publishing_rest_support_google_publisher_class_init (PublishingRESTSupportGooglePublisherClass * klass) { -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_parent_class = g_type_class_peek_parent (klass); -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" g_type_class_add_private (klass, sizeof (PublishingRESTSupportGooglePublisherPrivate)); -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportGooglePublisherClass *) klass)->on_login_flow_complete = publishing_rest_support_google_publisher_real_on_login_flow_complete; -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportGooglePublisherClass *) klass)->do_logout = publishing_rest_support_google_publisher_real_do_logout; -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportGooglePublisherClass *) klass)->is_running = publishing_rest_support_google_publisher_real_is_running; -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportGooglePublisherClass *) klass)->start = publishing_rest_support_google_publisher_real_start; -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" ((PublishingRESTSupportGooglePublisherClass *) klass)->stop = publishing_rest_support_google_publisher_real_stop; -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" G_OBJECT_CLASS (klass)->finalize = publishing_rest_support_google_publisher_finalize; -#line 9133 "RESTSupport.c" +#line 9209 "RESTSupport.c" } static void publishing_rest_support_google_publisher_spit_publishing_publisher_interface_init (SpitPublishingPublisherIface * iface) { -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" publishing_rest_support_google_publisher_spit_publishing_publisher_parent_iface = g_type_interface_peek_parent (iface); -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" iface->is_running = (gboolean (*)(SpitPublishingPublisher*)) publishing_rest_support_google_publisher_is_running; -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" iface->start = (void (*)(SpitPublishingPublisher*)) publishing_rest_support_google_publisher_start; -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" iface->stop = (void (*)(SpitPublishingPublisher*)) publishing_rest_support_google_publisher_stop; -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" iface->get_service = (SpitPublishingService* (*)(SpitPublishingPublisher*)) publishing_rest_support_google_publisher_real_get_service; -#line 9148 "RESTSupport.c" +#line 9224 "RESTSupport.c" } static void publishing_rest_support_google_publisher_instance_init (PublishingRESTSupportGooglePublisher * self) { -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self->priv = PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_GET_PRIVATE (self); -#line 9155 "RESTSupport.c" +#line 9231 "RESTSupport.c" } static void publishing_rest_support_google_publisher_finalize (GObject* obj) { PublishingRESTSupportGooglePublisher * self; -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher); -#line 864 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 874 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_free0 (self->priv->scope); -#line 865 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 875 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _publishing_rest_support_session_unref0 (self->priv->session); -#line 866 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 876 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" _g_object_unref0 (self->priv->web_auth_pane); -#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" +#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala" G_OBJECT_CLASS (publishing_rest_support_google_publisher_parent_class)->finalize (obj); -#line 9171 "RESTSupport.c" +#line 9247 "RESTSupport.c" } diff --git a/plugins/common/RESTSupport.vala b/plugins/common/RESTSupport.vala index 838192e..1a9052b 100644 --- a/plugins/common/RESTSupport.vala +++ b/plugins/common/RESTSupport.vala @@ -33,7 +33,7 @@ public abstract class Session { public Session(string? endpoint_url = null) { this.endpoint_url = endpoint_url; - soup_session = new Soup.SessionAsync(); + soup_session = new Soup.Session (); this.soup_session.ssl_use_system_ca_file = true; } @@ -73,6 +73,11 @@ public abstract class Session { soup_session.request_unqueued.disconnect(notify_wire_message_unqueued); } + + public void set_insecure () { + this.soup_session.ssl_use_system_ca_file = false; + this.soup_session.ssl_strict = false; + } } public enum HttpMethod { @@ -186,6 +191,59 @@ public class Transaction { } } + /* Texts copied from epiphany */ + public string detailed_error_from_tls_flags (out TlsCertificate cert) { + TlsCertificateFlags tls_errors; + this.message.get_https_status (out cert, out tls_errors); + + var list = new Gee.ArrayList<string> (); + if (TlsCertificateFlags.BAD_IDENTITY in tls_errors) { + /* Possible error message when a site presents a bad certificate. */ + list.add (_("⚫ This website presented identification that belongs to a different website.")); + } + + if (TlsCertificateFlags.EXPIRED in tls_errors) { + /* Possible error message when a site presents a bad certificate. */ + list.add (_("⚫ This website’s identification is too old to trust. Check the date on your computer’s calendar.")); + } + + if (TlsCertificateFlags.UNKNOWN_CA in tls_errors) { + /* Possible error message when a site presents a bad certificate. */ + list.add (_("⚫ This website’s identification was not issued by a trusted organization.")); + } + + if (TlsCertificateFlags.GENERIC_ERROR in tls_errors) { + /* Possible error message when a site presents a bad certificate. */ + list.add (_("⚫ This website’s identification could not be processed. It may be corrupted.")); + } + + if (TlsCertificateFlags.REVOKED in tls_errors) { + /* Possible error message when a site presents a bad certificate. */ + list.add (_("⚫ This website’s identification has been revoked by the trusted organization that issued it.")); + } + + if (TlsCertificateFlags.INSECURE in tls_errors) { + /* Possible error message when a site presents a bad certificate. */ + list.add (_("⚫ This website’s identification cannot be trusted because it uses very weak encryption.")); + } + + if (TlsCertificateFlags.NOT_ACTIVATED in tls_errors) { + /* Possible error message when a site presents a bad certificate. */ + list.add (_("⚫ This website’s identification is only valid for future dates. Check the date on your computer’s calendar.")); + } + + var builder = new StringBuilder (); + if (list.size == 1) { + builder.append (list.get (0)); + } else { + foreach (var entry in list) { + builder.append_printf ("%s\n", entry); + } + } + + return builder.str; + } + protected void check_response(Soup.Message message) throws Spit.Publishing.PublishingError { switch (message.status_code) { case Soup.KnownStatusCode.OK: @@ -733,37 +791,21 @@ public abstract class GooglePublisher : Object, Spit.Publishing.Publisher { } } - private class WebAuthenticationPane : Spit.Publishing.DialogPane, Object { + private class WebAuthenticationPane : Shotwell.Plugins.Common.WebAuthenticationPane { public static bool cache_dirty = false; - private WebKit.WebView webview; - private Gtk.Box pane_widget; - private string auth_sequence_start_url; - public signal void authorized(string auth_code); public WebAuthenticationPane(string auth_sequence_start_url) { - this.auth_sequence_start_url = auth_sequence_start_url; - - pane_widget = new Gtk.Box(Gtk.Orientation.VERTICAL, 0); - - webview = new WebKit.WebView(); - webview.get_settings().enable_plugins = false; - - webview.load_changed.connect(on_page_load_changed); - webview.context_menu.connect(() => { return false; }); - - pane_widget.pack_start(webview, true, true, 0); + Object (login_uri : auth_sequence_start_url); } public static bool is_cache_dirty() { return cache_dirty; } - private void on_page_load() { - pane_widget.get_window().set_cursor(new Gdk.Cursor(Gdk.CursorType.LEFT_PTR)); - - string page_title = webview.get_title(); + public override void on_page_load() { + string page_title = get_view ().get_title(); if (page_title.index_of("state=connect") > 0) { int auth_code_field_start = page_title.index_of("code="); if (auth_code_field_start < 0) @@ -777,38 +819,6 @@ public abstract class GooglePublisher : Object, Spit.Publishing.Publisher { authorized(auth_code); } } - - private void on_load_started() { - pane_widget.get_window().set_cursor(new Gdk.Cursor(Gdk.CursorType.WATCH)); - } - - private void on_page_load_changed (WebKit.LoadEvent load_event) { - switch (load_event) { - case WebKit.LoadEvent.STARTED: - on_load_started(); - break; - case WebKit.LoadEvent.FINISHED: - on_page_load(); - break; - } - - return; - } - - public Spit.Publishing.DialogPane.GeometryOptions get_preferred_geometry() { - return Spit.Publishing.DialogPane.GeometryOptions.NONE; - } - - public Gtk.Widget get_widget() { - return pane_widget; - } - - public void on_pane_installed() { - webview.load_uri(auth_sequence_start_url); - } - - public void on_pane_uninstalled() { - } } private class GetAccessTokensTransaction : Publishing.RESTSupport.Transaction { diff --git a/plugins/common/WebAuthenticationPane.c b/plugins/common/WebAuthenticationPane.c new file mode 100644 index 0000000..e430441 --- /dev/null +++ b/plugins/common/WebAuthenticationPane.c @@ -0,0 +1,575 @@ +/* WebAuthenticationPane.c generated by valac 0.34.1, the Vala compiler + * generated from WebAuthenticationPane.vala, do not modify */ + +/* Copyright 2016 Jens Georg <mail@jensge.org> + * + * This software is licensed under the GNU LGPL (version 2.1 or later). + * See the COPYING file in this distribution. + */ + +#include <glib.h> +#include <glib-object.h> +#include "shotwell-plugin-dev-1.0.h" +#include <stdlib.h> +#include <string.h> +#include <webkit2/webkit2.h> +#include <gtk/gtk.h> +#include <gdk/gdk.h> + + +#define SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE (shotwell_plugins_common_web_authentication_pane_get_type ()) +#define SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane)) +#define SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPaneClass)) +#define SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE)) +#define SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE)) +#define SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPaneClass)) + +typedef struct _ShotwellPluginsCommonWebAuthenticationPane ShotwellPluginsCommonWebAuthenticationPane; +typedef struct _ShotwellPluginsCommonWebAuthenticationPaneClass ShotwellPluginsCommonWebAuthenticationPaneClass; +typedef struct _ShotwellPluginsCommonWebAuthenticationPanePrivate ShotwellPluginsCommonWebAuthenticationPanePrivate; +#define _g_free0(var) (var = (g_free (var), NULL)) +#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) + +struct _ShotwellPluginsCommonWebAuthenticationPane { + GObject parent_instance; + ShotwellPluginsCommonWebAuthenticationPanePrivate * priv; +}; + +struct _ShotwellPluginsCommonWebAuthenticationPaneClass { + GObjectClass parent_class; + void (*on_page_load) (ShotwellPluginsCommonWebAuthenticationPane* self); +}; + +struct _ShotwellPluginsCommonWebAuthenticationPanePrivate { + SpitPublishingDialogPaneGeometryOptions _preferred_geometry; + gchar* _login_uri; + WebKitWebView* webview; + GtkBox* pane_widget; +}; + + +static gpointer shotwell_plugins_common_web_authentication_pane_parent_class = NULL; +static SpitPublishingDialogPaneIface* shotwell_plugins_common_web_authentication_pane_spit_publishing_dialog_pane_parent_iface = NULL; + +GType shotwell_plugins_common_web_authentication_pane_get_type (void) G_GNUC_CONST; +#define SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPanePrivate)) +enum { + SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_DUMMY_PROPERTY, + SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_PREFERRED_GEOMETRY, + SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_LOGIN_URI +}; +static void shotwell_plugins_common_web_authentication_pane_real_constructed (GObject* base); +static void shotwell_plugins_common_web_authentication_pane_on_page_load_changed (ShotwellPluginsCommonWebAuthenticationPane* self, WebKitLoadEvent load_event); +static void _shotwell_plugins_common_web_authentication_pane_on_page_load_changed_webkit_web_view_load_changed (WebKitWebView* _sender, WebKitLoadEvent load_event, gpointer self); +static gboolean __lambda4_ (ShotwellPluginsCommonWebAuthenticationPane* self); +static gboolean ___lambda4__webkit_web_view_context_menu (WebKitWebView* _sender, WebKitContextMenu* context_menu, GdkEvent* event, WebKitHitTestResult* hit_test_result, gpointer self); +void shotwell_plugins_common_web_authentication_pane_on_page_load (ShotwellPluginsCommonWebAuthenticationPane* self); +static void shotwell_plugins_common_web_authentication_pane_real_on_page_load (ShotwellPluginsCommonWebAuthenticationPane* self); +void shotwell_plugins_common_web_authentication_pane_set_cursor (ShotwellPluginsCommonWebAuthenticationPane* self, GdkCursorType type); +WebKitWebView* shotwell_plugins_common_web_authentication_pane_get_view (ShotwellPluginsCommonWebAuthenticationPane* self); +static SpitPublishingDialogPaneGeometryOptions shotwell_plugins_common_web_authentication_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base); +SpitPublishingDialogPaneGeometryOptions shotwell_plugins_common_web_authentication_pane_get_preferred_geometry (ShotwellPluginsCommonWebAuthenticationPane* self); +static GtkWidget* shotwell_plugins_common_web_authentication_pane_real_get_widget (SpitPublishingDialogPane* base); +static void shotwell_plugins_common_web_authentication_pane_real_on_pane_installed (SpitPublishingDialogPane* base); +gchar* shotwell_plugins_common_web_authentication_pane_get_login_uri (ShotwellPluginsCommonWebAuthenticationPane* self); +static void shotwell_plugins_common_web_authentication_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base); +ShotwellPluginsCommonWebAuthenticationPane* shotwell_plugins_common_web_authentication_pane_construct (GType object_type); +static void shotwell_plugins_common_web_authentication_pane_set_preferred_geometry (ShotwellPluginsCommonWebAuthenticationPane* self, SpitPublishingDialogPaneGeometryOptions value); +static void shotwell_plugins_common_web_authentication_pane_set_login_uri (ShotwellPluginsCommonWebAuthenticationPane* self, const gchar* value); +static void shotwell_plugins_common_web_authentication_pane_finalize (GObject* obj); +static void _vala_shotwell_plugins_common_web_authentication_pane_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); +static void _vala_shotwell_plugins_common_web_authentication_pane_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); + + +static void _shotwell_plugins_common_web_authentication_pane_on_page_load_changed_webkit_web_view_load_changed (WebKitWebView* _sender, WebKitLoadEvent load_event, gpointer self) { +#line 25 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + shotwell_plugins_common_web_authentication_pane_on_page_load_changed ((ShotwellPluginsCommonWebAuthenticationPane*) self, load_event); +#line 88 "WebAuthenticationPane.c" +} + + +static gboolean __lambda4_ (ShotwellPluginsCommonWebAuthenticationPane* self) { + gboolean result = FALSE; +#line 26 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + result = FALSE; +#line 26 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + return result; +#line 98 "WebAuthenticationPane.c" +} + + +static gboolean ___lambda4__webkit_web_view_context_menu (WebKitWebView* _sender, WebKitContextMenu* context_menu, GdkEvent* event, WebKitHitTestResult* hit_test_result, gpointer self) { + gboolean result; + result = __lambda4_ ((ShotwellPluginsCommonWebAuthenticationPane*) self); +#line 26 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + return result; +#line 107 "WebAuthenticationPane.c" +} + + +static void shotwell_plugins_common_web_authentication_pane_real_constructed (GObject* base) { + ShotwellPluginsCommonWebAuthenticationPane * self; + WebKitWebView* _tmp0_ = NULL; + WebKitWebView* _tmp1_ = NULL; + WebKitSettings* _tmp2_ = NULL; + WebKitWebView* _tmp3_ = NULL; + WebKitWebView* _tmp4_ = NULL; + GtkBox* _tmp5_ = NULL; + GtkBox* _tmp6_ = NULL; + WebKitWebView* _tmp7_ = NULL; +#line 19 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane); +#line 20 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + G_OBJECT_CLASS (shotwell_plugins_common_web_authentication_pane_parent_class)->constructed (G_TYPE_CHECK_INSTANCE_CAST (self, G_TYPE_OBJECT, GObject)); +#line 22 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp0_ = (WebKitWebView*) webkit_web_view_new (); +#line 22 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_object_ref_sink (_tmp0_); +#line 22 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _g_object_unref0 (self->priv->webview); +#line 22 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + self->priv->webview = _tmp0_; +#line 23 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp1_ = self->priv->webview; +#line 23 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp2_ = webkit_web_view_get_settings (_tmp1_); +#line 23 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + webkit_settings_set_enable_plugins (_tmp2_, FALSE); +#line 25 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp3_ = self->priv->webview; +#line 25 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_signal_connect_object (_tmp3_, "load-changed", (GCallback) _shotwell_plugins_common_web_authentication_pane_on_page_load_changed_webkit_web_view_load_changed, self, 0); +#line 26 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp4_ = self->priv->webview; +#line 26 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_signal_connect_object (_tmp4_, "context-menu", (GCallback) ___lambda4__webkit_web_view_context_menu, self, 0); +#line 28 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp5_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); +#line 28 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_object_ref_sink (_tmp5_); +#line 28 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _g_object_unref0 (self->priv->pane_widget); +#line 28 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + self->priv->pane_widget = _tmp5_; +#line 29 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp6_ = self->priv->pane_widget; +#line 29 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp7_ = self->priv->webview; +#line 29 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + gtk_box_pack_start (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0); +#line 161 "WebAuthenticationPane.c" +} + + +static void shotwell_plugins_common_web_authentication_pane_real_on_page_load (ShotwellPluginsCommonWebAuthenticationPane* self) { +#line 32 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_critical ("Type `%s' does not implement abstract method `shotwell_plugins_common_web_authentication_pane_on_page_load'", g_type_name (G_TYPE_FROM_INSTANCE (self))); +#line 32 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + return; +#line 170 "WebAuthenticationPane.c" +} + + +void shotwell_plugins_common_web_authentication_pane_on_page_load (ShotwellPluginsCommonWebAuthenticationPane* self) { +#line 32 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_return_if_fail (SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE (self)); +#line 32 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_GET_CLASS (self)->on_page_load (self); +#line 179 "WebAuthenticationPane.c" +} + + +static gpointer _g_object_ref0 (gpointer self) { +#line 35 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + return self ? g_object_ref (self) : NULL; +#line 186 "WebAuthenticationPane.c" +} + + +void shotwell_plugins_common_web_authentication_pane_set_cursor (ShotwellPluginsCommonWebAuthenticationPane* self, GdkCursorType type) { + GdkWindow* window = NULL; + GtkBox* _tmp0_ = NULL; + GdkWindow* _tmp1_ = NULL; + GdkWindow* _tmp2_ = NULL; + GdkDisplay* display = NULL; + GdkDisplay* _tmp3_ = NULL; + GdkDisplay* _tmp4_ = NULL; + GdkCursor* cursor = NULL; + GdkCursorType _tmp5_ = 0; + GdkCursor* _tmp6_ = NULL; +#line 34 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_return_if_fail (SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE (self)); +#line 35 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp0_ = self->priv->pane_widget; +#line 35 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); +#line 35 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp2_ = _g_object_ref0 (_tmp1_); +#line 35 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + window = _tmp2_; +#line 36 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp3_ = gdk_window_get_display (window); +#line 36 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp4_ = _g_object_ref0 (_tmp3_); +#line 36 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + display = _tmp4_; +#line 37 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp5_ = type; +#line 37 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp6_ = gdk_cursor_new_for_display (display, _tmp5_); +#line 37 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + cursor = _tmp6_; +#line 38 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + gdk_window_set_cursor (window, cursor); +#line 34 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _g_object_unref0 (cursor); +#line 34 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _g_object_unref0 (display); +#line 34 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _g_object_unref0 (window); +#line 231 "WebAuthenticationPane.c" +} + + +static void shotwell_plugins_common_web_authentication_pane_on_page_load_changed (ShotwellPluginsCommonWebAuthenticationPane* self, WebKitLoadEvent load_event) { + WebKitLoadEvent _tmp0_ = 0; +#line 41 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_return_if_fail (SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE (self)); +#line 42 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp0_ = load_event; +#line 42 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + switch (_tmp0_) { +#line 42 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + case WEBKIT_LOAD_STARTED: +#line 42 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + case WEBKIT_LOAD_REDIRECTED: +#line 247 "WebAuthenticationPane.c" + { +#line 45 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + shotwell_plugins_common_web_authentication_pane_set_cursor (self, GDK_WATCH); +#line 46 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + break; +#line 253 "WebAuthenticationPane.c" + } +#line 42 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + case WEBKIT_LOAD_FINISHED: +#line 257 "WebAuthenticationPane.c" + { +#line 48 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + shotwell_plugins_common_web_authentication_pane_set_cursor (self, GDK_LEFT_PTR); +#line 49 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + shotwell_plugins_common_web_authentication_pane_on_page_load (self); +#line 50 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + break; +#line 265 "WebAuthenticationPane.c" + } + default: + { +#line 52 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + break; +#line 271 "WebAuthenticationPane.c" + } + } +} + + +WebKitWebView* shotwell_plugins_common_web_authentication_pane_get_view (ShotwellPluginsCommonWebAuthenticationPane* self) { + WebKitWebView* result = NULL; + WebKitWebView* _tmp0_ = NULL; + WebKitWebView* _tmp1_ = NULL; +#line 56 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_return_val_if_fail (SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE (self), NULL); +#line 57 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp0_ = self->priv->webview; +#line 57 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp1_ = _g_object_ref0 (_tmp0_); +#line 57 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + result = _tmp1_; +#line 57 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + return result; +#line 291 "WebAuthenticationPane.c" +} + + +static SpitPublishingDialogPaneGeometryOptions shotwell_plugins_common_web_authentication_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) { + ShotwellPluginsCommonWebAuthenticationPane * self; + SpitPublishingDialogPaneGeometryOptions result = 0; + SpitPublishingDialogPaneGeometryOptions _tmp0_ = 0; +#line 60 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane); +#line 61 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp0_ = self->priv->_preferred_geometry; +#line 61 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + result = _tmp0_; +#line 61 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + return result; +#line 307 "WebAuthenticationPane.c" +} + + +static GtkWidget* shotwell_plugins_common_web_authentication_pane_real_get_widget (SpitPublishingDialogPane* base) { + ShotwellPluginsCommonWebAuthenticationPane * self; + GtkWidget* result = NULL; + GtkBox* _tmp0_ = NULL; + GtkWidget* _tmp1_ = NULL; +#line 64 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane); +#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp0_ = self->priv->pane_widget; +#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); +#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + result = _tmp1_; +#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + return result; +#line 326 "WebAuthenticationPane.c" +} + + +static void shotwell_plugins_common_web_authentication_pane_real_on_pane_installed (SpitPublishingDialogPane* base) { + ShotwellPluginsCommonWebAuthenticationPane * self; + WebKitWebView* _tmp0_ = NULL; + WebKitWebView* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; +#line 68 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane); +#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp0_ = shotwell_plugins_common_web_authentication_pane_get_view (self); +#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp1_ = _tmp0_; +#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp2_ = shotwell_plugins_common_web_authentication_pane_get_login_uri (self); +#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp3_ = _tmp2_; +#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp4_ = _tmp3_; +#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + webkit_web_view_load_uri (_tmp1_, _tmp4_); +#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _g_free0 (_tmp4_); +#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _g_object_unref0 (_tmp1_); +#line 355 "WebAuthenticationPane.c" +} + + +static void shotwell_plugins_common_web_authentication_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) { + ShotwellPluginsCommonWebAuthenticationPane * self; +#line 72 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane); +#line 363 "WebAuthenticationPane.c" +} + + +ShotwellPluginsCommonWebAuthenticationPane* shotwell_plugins_common_web_authentication_pane_construct (GType object_type) { + ShotwellPluginsCommonWebAuthenticationPane * self = NULL; +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + self = (ShotwellPluginsCommonWebAuthenticationPane*) g_object_new (object_type, NULL); +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + return self; +#line 373 "WebAuthenticationPane.c" +} + + +SpitPublishingDialogPaneGeometryOptions shotwell_plugins_common_web_authentication_pane_get_preferred_geometry (ShotwellPluginsCommonWebAuthenticationPane* self) { + SpitPublishingDialogPaneGeometryOptions result; + SpitPublishingDialogPaneGeometryOptions _tmp0_ = 0; +#line 11 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_return_val_if_fail (SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE (self), 0); +#line 11 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp0_ = self->priv->_preferred_geometry; +#line 11 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + result = _tmp0_; +#line 11 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + return result; +#line 388 "WebAuthenticationPane.c" +} + + +static void shotwell_plugins_common_web_authentication_pane_set_preferred_geometry (ShotwellPluginsCommonWebAuthenticationPane* self, SpitPublishingDialogPaneGeometryOptions value) { + SpitPublishingDialogPaneGeometryOptions _tmp0_ = 0; +#line 11 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_return_if_fail (SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE (self)); +#line 11 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp0_ = value; +#line 11 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + self->priv->_preferred_geometry = _tmp0_; +#line 11 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_object_notify ((GObject *) self, "preferred-geometry"); +#line 402 "WebAuthenticationPane.c" +} + + +gchar* shotwell_plugins_common_web_authentication_pane_get_login_uri (ShotwellPluginsCommonWebAuthenticationPane* self) { + gchar* result; + const gchar* _tmp0_ = NULL; + gchar* _tmp1_ = NULL; +#line 14 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_return_val_if_fail (SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE (self), NULL); +#line 14 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp0_ = self->priv->_login_uri; +#line 14 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp1_ = g_strdup (_tmp0_); +#line 14 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + result = _tmp1_; +#line 14 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + return result; +#line 420 "WebAuthenticationPane.c" +} + + +static void shotwell_plugins_common_web_authentication_pane_set_login_uri (ShotwellPluginsCommonWebAuthenticationPane* self, const gchar* value) { + const gchar* _tmp0_ = NULL; + gchar* _tmp1_ = NULL; +#line 14 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_return_if_fail (SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE (self)); +#line 14 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp0_ = value; +#line 14 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _tmp1_ = g_strdup (_tmp0_); +#line 14 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _g_free0 (self->priv->_login_uri); +#line 14 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + self->priv->_login_uri = _tmp1_; +#line 14 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_object_notify ((GObject *) self, "login-uri"); +#line 439 "WebAuthenticationPane.c" +} + + +static void shotwell_plugins_common_web_authentication_pane_class_init (ShotwellPluginsCommonWebAuthenticationPaneClass * klass) { +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + shotwell_plugins_common_web_authentication_pane_parent_class = g_type_class_peek_parent (klass); +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_type_class_add_private (klass, sizeof (ShotwellPluginsCommonWebAuthenticationPanePrivate)); +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + ((GObjectClass *) klass)->constructed = shotwell_plugins_common_web_authentication_pane_real_constructed; +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + ((ShotwellPluginsCommonWebAuthenticationPaneClass *) klass)->on_page_load = shotwell_plugins_common_web_authentication_pane_real_on_page_load; +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + G_OBJECT_CLASS (klass)->get_property = _vala_shotwell_plugins_common_web_authentication_pane_get_property; +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + G_OBJECT_CLASS (klass)->set_property = _vala_shotwell_plugins_common_web_authentication_pane_set_property; +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + G_OBJECT_CLASS (klass)->finalize = shotwell_plugins_common_web_authentication_pane_finalize; +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_object_class_install_property (G_OBJECT_CLASS (klass), SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_PREFERRED_GEOMETRY, g_param_spec_enum ("preferred-geometry", "preferred-geometry", "preferred-geometry", SPIT_PUBLISHING_DIALOG_PANE_TYPE_GEOMETRY_OPTIONS, SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_object_class_install_property (G_OBJECT_CLASS (klass), SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_LOGIN_URI, g_param_spec_string ("login-uri", "login-uri", "login-uri", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); +#line 462 "WebAuthenticationPane.c" +} + + +static void shotwell_plugins_common_web_authentication_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) { +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + shotwell_plugins_common_web_authentication_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface); +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) shotwell_plugins_common_web_authentication_pane_real_get_preferred_geometry; +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) shotwell_plugins_common_web_authentication_pane_real_get_widget; +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) shotwell_plugins_common_web_authentication_pane_real_on_pane_installed; +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) shotwell_plugins_common_web_authentication_pane_real_on_pane_uninstalled; +#line 477 "WebAuthenticationPane.c" +} + + +static void shotwell_plugins_common_web_authentication_pane_instance_init (ShotwellPluginsCommonWebAuthenticationPane * self) { +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + self->priv = SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_GET_PRIVATE (self); +#line 10 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + self->priv->_preferred_geometry = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE; +#line 486 "WebAuthenticationPane.c" +} + + +static void shotwell_plugins_common_web_authentication_pane_finalize (GObject* obj) { + ShotwellPluginsCommonWebAuthenticationPane * self; +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (obj, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane); +#line 14 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _g_free0 (self->priv->_login_uri); +#line 16 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _g_object_unref0 (self->priv->webview); +#line 17 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + _g_object_unref0 (self->priv->pane_widget); +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + G_OBJECT_CLASS (shotwell_plugins_common_web_authentication_pane_parent_class)->finalize (obj); +#line 502 "WebAuthenticationPane.c" +} + + +GType shotwell_plugins_common_web_authentication_pane_get_type (void) { + static volatile gsize shotwell_plugins_common_web_authentication_pane_type_id__volatile = 0; + if (g_once_init_enter (&shotwell_plugins_common_web_authentication_pane_type_id__volatile)) { + static const GTypeInfo g_define_type_info = { sizeof (ShotwellPluginsCommonWebAuthenticationPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) shotwell_plugins_common_web_authentication_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ShotwellPluginsCommonWebAuthenticationPane), 0, (GInstanceInitFunc) shotwell_plugins_common_web_authentication_pane_instance_init, NULL }; + static const GInterfaceInfo spit_publishing_dialog_pane_info = { (GInterfaceInitFunc) shotwell_plugins_common_web_authentication_pane_spit_publishing_dialog_pane_interface_init, (GInterfaceFinalizeFunc) NULL, NULL}; + GType shotwell_plugins_common_web_authentication_pane_type_id; + shotwell_plugins_common_web_authentication_pane_type_id = g_type_register_static (G_TYPE_OBJECT, "ShotwellPluginsCommonWebAuthenticationPane", &g_define_type_info, G_TYPE_FLAG_ABSTRACT); + g_type_add_interface_static (shotwell_plugins_common_web_authentication_pane_type_id, SPIT_PUBLISHING_TYPE_DIALOG_PANE, &spit_publishing_dialog_pane_info); + g_once_init_leave (&shotwell_plugins_common_web_authentication_pane_type_id__volatile, shotwell_plugins_common_web_authentication_pane_type_id); + } + return shotwell_plugins_common_web_authentication_pane_type_id__volatile; +} + + +static void _vala_shotwell_plugins_common_web_authentication_pane_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { + ShotwellPluginsCommonWebAuthenticationPane * self; + self = G_TYPE_CHECK_INSTANCE_CAST (object, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane); +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + switch (property_id) { +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + case SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_PREFERRED_GEOMETRY: +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_value_set_enum (value, shotwell_plugins_common_web_authentication_pane_get_preferred_geometry (self)); +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + break; +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + case SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_LOGIN_URI: +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + g_value_take_string (value, shotwell_plugins_common_web_authentication_pane_get_login_uri (self)); +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + break; +#line 537 "WebAuthenticationPane.c" + default: +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + break; +#line 543 "WebAuthenticationPane.c" + } +} + + +static void _vala_shotwell_plugins_common_web_authentication_pane_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { + ShotwellPluginsCommonWebAuthenticationPane * self; + self = G_TYPE_CHECK_INSTANCE_CAST (object, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane); +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + switch (property_id) { +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + case SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_PREFERRED_GEOMETRY: +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + shotwell_plugins_common_web_authentication_pane_set_preferred_geometry (self, g_value_get_enum (value)); +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + break; +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + case SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_LOGIN_URI: +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + shotwell_plugins_common_web_authentication_pane_set_login_uri (self, g_value_get_string (value)); +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + break; +#line 565 "WebAuthenticationPane.c" + default: +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); +#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala" + break; +#line 571 "WebAuthenticationPane.c" + } +} + + + diff --git a/plugins/common/WebAuthenticationPane.vala b/plugins/common/WebAuthenticationPane.vala new file mode 100644 index 0000000..0a77cf6 --- /dev/null +++ b/plugins/common/WebAuthenticationPane.vala @@ -0,0 +1,75 @@ +/* Copyright 2016 Jens Georg <mail@jensge.org> + * + * This software is licensed under the GNU LGPL (version 2.1 or later). + * See the COPYING file in this distribution. + */ +using Spit.Publishing; + +namespace Shotwell.Plugins.Common { + public abstract class WebAuthenticationPane : Spit.Publishing.DialogPane, Object { + public DialogPane.GeometryOptions preferred_geometry { + get; construct; default = DialogPane.GeometryOptions.NONE; + } + + public string login_uri { owned get; construct; } + + private WebKit.WebView webview; + private Gtk.Box pane_widget; + + public override void constructed () { + base.constructed (); + + this.webview = new WebKit.WebView (); + this.webview.get_settings ().enable_plugins = false; + + this.webview.load_changed.connect (this.on_page_load_changed); + this.webview.context_menu.connect ( () => { return false; }); + + this.pane_widget = new Gtk.Box (Gtk.Orientation.VERTICAL, 0); + this.pane_widget.pack_start (this.webview, true, true, 0); + } + + public abstract void on_page_load (); + + protected void set_cursor (Gdk.CursorType type) { + var window = pane_widget.get_window (); + var display = window.get_display (); + var cursor = new Gdk.Cursor.for_display (display, type); + window.set_cursor (cursor); + } + + private void on_page_load_changed (WebKit.LoadEvent load_event) { + switch (load_event) { + case WebKit.LoadEvent.STARTED: + case WebKit.LoadEvent.REDIRECTED: + this.set_cursor (Gdk.CursorType.WATCH); + break; + case WebKit.LoadEvent.FINISHED: + this.set_cursor (Gdk.CursorType.LEFT_PTR); + this.on_page_load (); + break; + default: + break; + } + } + + public WebKit.WebView get_view () { + return this.webview; + } + + public DialogPane.GeometryOptions get_preferred_geometry() { + return this.preferred_geometry; + } + + public Gtk.Widget get_widget() { + return pane_widget; + } + + public void on_pane_installed () { + this.get_view ().load_uri (this.login_uri); + } + + public void on_pane_uninstalled() { + } + } +} diff --git a/plugins/shotwell-plugin-common.h b/plugins/shotwell-plugin-common.h index f0e19f5..4cae37f 100644 --- a/plugins/shotwell-plugin-common.h +++ b/plugins/shotwell-plugin-common.h @@ -10,10 +10,12 @@ #include <glib-object.h> #include <libsoup/soup.h> #include "shotwell-plugin-dev-1.0.h" +#include <gio/gio.h> #include <gee.h> #include <libxml/tree.h> -#include <gio/gio.h> #include <gdk-pixbuf/gdk-pixbuf.h> +#include <gdk/gdk.h> +#include <webkit2/webkit2.h> G_BEGIN_DECLS @@ -119,6 +121,17 @@ typedef struct _PublishingRESTSupportGooglePublisherAuthenticatedTransaction Pub typedef struct _PublishingRESTSupportGooglePublisherAuthenticatedTransactionClass PublishingRESTSupportGooglePublisherAuthenticatedTransactionClass; typedef struct _PublishingRESTSupportGooglePublisherAuthenticatedTransactionPrivate PublishingRESTSupportGooglePublisherAuthenticatedTransactionPrivate; +#define SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE (shotwell_plugins_common_web_authentication_pane_get_type ()) +#define SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane)) +#define SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPaneClass)) +#define SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE)) +#define SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE)) +#define SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPaneClass)) + +typedef struct _ShotwellPluginsCommonWebAuthenticationPane ShotwellPluginsCommonWebAuthenticationPane; +typedef struct _ShotwellPluginsCommonWebAuthenticationPaneClass ShotwellPluginsCommonWebAuthenticationPaneClass; +typedef struct _ShotwellPluginsCommonWebAuthenticationPanePrivate ShotwellPluginsCommonWebAuthenticationPanePrivate; + struct _PublishingRESTSupportSession { GTypeInstance parent_instance; volatile int ref_count; @@ -236,6 +249,16 @@ struct _PublishingRESTSupportGooglePublisherAuthenticatedTransactionClass { PublishingRESTSupportTransactionClass parent_class; }; +struct _ShotwellPluginsCommonWebAuthenticationPane { + GObject parent_instance; + ShotwellPluginsCommonWebAuthenticationPanePrivate * priv; +}; + +struct _ShotwellPluginsCommonWebAuthenticationPaneClass { + GObjectClass parent_class; + void (*on_page_load) (ShotwellPluginsCommonWebAuthenticationPane* self); +}; + gchar* publishing_rest_support_hmac_sha1 (const gchar* key, const gchar* message); gpointer publishing_rest_support_session_ref (gpointer instance); @@ -254,6 +277,7 @@ gchar* publishing_rest_support_session_get_endpoint_url (PublishingRESTSupportSe void publishing_rest_support_session_stop_transactions (PublishingRESTSupportSession* self); gboolean publishing_rest_support_session_are_transactions_stopped (PublishingRESTSupportSession* self); void publishing_rest_support_session_send_wire_message (PublishingRESTSupportSession* self, SoupMessage* message); +void publishing_rest_support_session_set_insecure (PublishingRESTSupportSession* self); GType publishing_rest_support_http_method_get_type (void) G_GNUC_CONST; gchar* publishing_rest_support_http_method_to_string (PublishingRESTSupportHttpMethod self); PublishingRESTSupportHttpMethod publishing_rest_support_http_method_from_string (const gchar* str); @@ -280,6 +304,7 @@ PublishingRESTSupportTransaction* publishing_rest_support_transaction_new (Publi PublishingRESTSupportTransaction* publishing_rest_support_transaction_construct (GType object_type, PublishingRESTSupportSession* parent_session, PublishingRESTSupportHttpMethod method); PublishingRESTSupportTransaction* publishing_rest_support_transaction_new_with_endpoint_url (PublishingRESTSupportSession* parent_session, const gchar* endpoint_url, PublishingRESTSupportHttpMethod method); PublishingRESTSupportTransaction* publishing_rest_support_transaction_construct_with_endpoint_url (GType object_type, PublishingRESTSupportSession* parent_session, const gchar* endpoint_url, PublishingRESTSupportHttpMethod method); +gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (PublishingRESTSupportTransaction* self, GTlsCertificate** cert); void publishing_rest_support_transaction_check_response (PublishingRESTSupportTransaction* self, SoupMessage* message, GError** error); PublishingRESTSupportArgument** publishing_rest_support_transaction_get_arguments (PublishingRESTSupportTransaction* self, int* result_length1); PublishingRESTSupportArgument** publishing_rest_support_transaction_get_sorted_arguments (PublishingRESTSupportTransaction* self, int* result_length1); @@ -375,6 +400,13 @@ PublishingRESTSupportGooglePublisherAuthenticatedTransaction* publishing_rest_su #define RESOURCES_TRANSLATORS _ ("translator-credits") GdkPixbuf** resources_load_icon_set (GFile* icon_file, int* result_length1); GdkPixbuf** resources_load_from_resource (const gchar* resource_path, int* result_length1); +GType shotwell_plugins_common_web_authentication_pane_get_type (void) G_GNUC_CONST; +void shotwell_plugins_common_web_authentication_pane_on_page_load (ShotwellPluginsCommonWebAuthenticationPane* self); +void shotwell_plugins_common_web_authentication_pane_set_cursor (ShotwellPluginsCommonWebAuthenticationPane* self, GdkCursorType type); +WebKitWebView* shotwell_plugins_common_web_authentication_pane_get_view (ShotwellPluginsCommonWebAuthenticationPane* self); +ShotwellPluginsCommonWebAuthenticationPane* shotwell_plugins_common_web_authentication_pane_construct (GType object_type); +SpitPublishingDialogPaneGeometryOptions shotwell_plugins_common_web_authentication_pane_get_preferred_geometry (ShotwellPluginsCommonWebAuthenticationPane* self); +gchar* shotwell_plugins_common_web_authentication_pane_get_login_uri (ShotwellPluginsCommonWebAuthenticationPane* self); G_END_DECLS diff --git a/plugins/shotwell-plugin-common.vapi b/plugins/shotwell-plugin-common.vapi index 8b1a0e1..f6213af 100644 --- a/plugins/shotwell-plugin-common.vapi +++ b/plugins/shotwell-plugin-common.vapi @@ -54,6 +54,7 @@ namespace Publishing { protected void notify_authentication_failed (Spit.Publishing.PublishingError err); protected void notify_wire_message_unqueued (Soup.Message message); public void send_wire_message (Soup.Message message); + public void set_insecure (); public void stop_transactions (); public signal void authenticated (); public signal void authentication_failed (Spit.Publishing.PublishingError err); @@ -65,6 +66,7 @@ namespace Publishing { public void add_argument (string name, string value); protected virtual void add_header (string key, string value); protected void check_response (Soup.Message message) throws Spit.Publishing.PublishingError; + public string detailed_error_from_tls_flags (out GLib.TlsCertificate cert); public virtual void execute () throws Spit.Publishing.PublishingError; public Publishing.RESTSupport.Argument[] get_arguments (); public string? get_endpoint_url (); @@ -137,3 +139,19 @@ namespace Resources { [CCode (cheader_filename = "shotwell-plugin-common.h")] public static Gdk.Pixbuf[]? load_icon_set (GLib.File? icon_file); } +namespace Shotwell { + namespace Plugins { + namespace Common { + [CCode (cheader_filename = "shotwell-plugin-common.h")] + public abstract class WebAuthenticationPane : Spit.Publishing.DialogPane, GLib.Object { + public WebAuthenticationPane (); + public override void constructed (); + public WebKit.WebView get_view (); + public abstract void on_page_load (); + protected void set_cursor (Gdk.CursorType type); + public string login_uri { owned get; construct; } + public Spit.Publishing.DialogPane.GeometryOptions preferred_geometry { get; construct; } + } + } + } +} diff --git a/plugins/shotwell-publishing-extras/GalleryConnector.c b/plugins/shotwell-publishing-extras/GalleryConnector.c index 716b48e..f658eef 100644 --- a/plugins/shotwell-publishing-extras/GalleryConnector.c +++ b/plugins/shotwell-publishing-extras/GalleryConnector.c @@ -829,8 +829,8 @@ enum { }; #define PUBLISHING_GALLERY3_GALLERY_PUBLISHER_BAD_FILE_MSG _ ("\n" \ "\n" \ -"The file \"%s\" may not be supported by or may be too large for this i" \ -"nstance of Gallery3.") +"The file “%s” may not be supported by or may be too large for this ins" \ +"tance of Gallery3.") #define PUBLISHING_GALLERY3_GALLERY_PUBLISHER_BAD_MOVIE_MSG _ ("\n" \ "Note that Gallery3 only supports the video types that Flowplayer does.") PublishingGallery3Session* publishing_gallery3_session_new (void); @@ -7320,7 +7320,7 @@ static void publishing_gallery3_gallery_publisher_do_show_publishing_options_pan #line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/GalleryConnector.vala" _tmp4_ = self->priv->host; #line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/GalleryConnector.vala" - _tmp5_ = _ ("A file required for publishing is unavailable. Publishing to %s can't " \ + _tmp5_ = _ ("A file required for publishing is unavailable. Publishing to %s can’t " \ "continue."); #line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/GalleryConnector.vala" _tmp6_ = g_strdup_printf (_tmp5_, PUBLISHING_GALLERY3_SERVICE_NAME); @@ -11459,7 +11459,7 @@ PublishingGallery3CredentialsPane* publishing_gallery3_credentials_pane_construc #line 1771 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/GalleryConnector.vala" _tmp4_ = host; #line 1771 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/GalleryConnector.vala" - _tmp5_ = _ ("A file required for publishing is unavailable. Publishing to %s can't " \ + _tmp5_ = _ ("A file required for publishing is unavailable. Publishing to %s can’t " \ "continue."); #line 1771 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/GalleryConnector.vala" _tmp6_ = g_strdup_printf (_tmp5_, PUBLISHING_GALLERY3_SERVICE_NAME); diff --git a/plugins/shotwell-publishing-extras/GalleryConnector.vala b/plugins/shotwell-publishing-extras/GalleryConnector.vala index ee7bd19..9932862 100644 --- a/plugins/shotwell-publishing-extras/GalleryConnector.vala +++ b/plugins/shotwell-publishing-extras/GalleryConnector.vala @@ -798,7 +798,7 @@ private class GalleryUploadTransaction : public class GalleryPublisher : Spit.Publishing.Publisher, GLib.Object { - private const string BAD_FILE_MSG = _("\n\nThe file \"%s\" may not be supported by or may be too large for this instance of Gallery3."); + private const string BAD_FILE_MSG = _("\n\nThe file “%s” may not be supported by or may be too large for this instance of Gallery3."); private const string BAD_MOVIE_MSG = _("\nNote that Gallery3 only supports the video types that Flowplayer does."); private weak Spit.Publishing.PluginHost host = null; @@ -1018,7 +1018,7 @@ public class GalleryPublisher : Spit.Publishing.Publisher, GLib.Object { warning("Could not parse UI file! Error: %s.", e.message); host.post_error( new Spit.Publishing.PublishingError.LOCAL_FILE_ERROR( - _("A file required for publishing is unavailable. Publishing to %s can't continue.") + _("A file required for publishing is unavailable. Publishing to %s can’t continue.") .printf(SERVICE_NAME) ) ); @@ -1770,7 +1770,7 @@ internal class CredentialsPane : Spit.Publishing.DialogPane, GLib.Object { warning("Could not parse UI file! Error: %s.", e.message); host.post_error( new Spit.Publishing.PublishingError.LOCAL_FILE_ERROR( - _("A file required for publishing is unavailable. Publishing to %s can't continue.") + _("A file required for publishing is unavailable. Publishing to %s can’t continue.") .printf(SERVICE_NAME) ) ); diff --git a/plugins/shotwell-publishing-extras/RajcePublishing.c b/plugins/shotwell-publishing-extras/RajcePublishing.c index 9ede44f..2888418 100644 --- a/plugins/shotwell-publishing-extras/RajcePublishing.c +++ b/plugins/shotwell-publishing-extras/RajcePublishing.c @@ -1035,7 +1035,7 @@ static void rajce_service_real_get_info (SpitPluggable* base, SpitPluggableInfo* #line 39 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala" (*info).authors = _tmp0_; #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala" - _tmp1_ = _ ("Copyright (C) 2013 rajce.net"); + _tmp1_ = _ ("Copyright © 2013 rajce.net"); #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala" _tmp2_ = g_strdup (_tmp1_); #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala" @@ -6664,7 +6664,7 @@ PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_construc #line 895 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala" _tmp55_ = self->priv->login_button; #line 895 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala" - _tmp56_ = _ ("Login"); + _tmp56_ = _ ("Log in"); #line 895 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala" gtk_button_set_label (_tmp55_, _tmp56_); #line 897 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala" diff --git a/plugins/shotwell-publishing-extras/RajcePublishing.vala b/plugins/shotwell-publishing-extras/RajcePublishing.vala index 4cf232c..b304f13 100644 --- a/plugins/shotwell-publishing-extras/RajcePublishing.vala +++ b/plugins/shotwell-publishing-extras/RajcePublishing.vala @@ -37,7 +37,7 @@ public class RajceService : Object, Spit.Pluggable, Spit.Publishing.Service public void get_info(ref Spit.PluggableInfo info) { info.authors = "rajce.net developers"; - info.copyright = _("Copyright (C) 2013 rajce.net"); + info.copyright = _("Copyright © 2013 rajce.net"); info.translators = Resources.TRANSLATORS; info.version = _VERSION; info.website_name = Resources.WEBSITE_NAME; @@ -892,7 +892,7 @@ internal class AuthenticationPane : Spit.Publishing.DialogPane, Object label2.set_label(_("_Email address") ); label3.set_label(_("_Password") ); remember_checkbutton.set_label(_("_Remember") ); - login_button.set_label(_("Login") ); + login_button.set_label(_("Log in") ); username_entry.changed.connect(on_user_changed); password_entry.changed.connect(on_password_changed); diff --git a/plugins/shotwell-publishing-extras/TumblrPublishing.c b/plugins/shotwell-publishing-extras/TumblrPublishing.c index 71b6574..6dfaa9a 100644 --- a/plugins/shotwell-publishing-extras/TumblrPublishing.c +++ b/plugins/shotwell-publishing-extras/TumblrPublishing.c @@ -1604,7 +1604,7 @@ static PublishingTumblrSizeEntry** publishing_tumblr_tumblr_publisher_create_siz #line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" _tmp1__length1 = _result__length1; #line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" - _tmp2_ = _ ("500 x 375 pixels"); + _tmp2_ = _ ("500 × 375 pixels"); #line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" _tmp3_ = publishing_tumblr_size_entry_new (_tmp2_, 500); #line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" @@ -1614,7 +1614,7 @@ static PublishingTumblrSizeEntry** publishing_tumblr_tumblr_publisher_create_siz #line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" _tmp4__length1 = _result__length1; #line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" - _tmp5_ = _ ("1024 x 768 pixels"); + _tmp5_ = _ ("1024 × 768 pixels"); #line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" _tmp6_ = publishing_tumblr_size_entry_new (_tmp5_, 1024); #line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" @@ -1624,7 +1624,7 @@ static PublishingTumblrSizeEntry** publishing_tumblr_tumblr_publisher_create_siz #line 107 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" _tmp7__length1 = _result__length1; #line 107 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" - _tmp8_ = _ ("1280 x 853 pixels"); + _tmp8_ = _ ("1280 × 853 pixels"); #line 107 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" _tmp9_ = publishing_tumblr_size_entry_new (_tmp8_, 1280); #line 107 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" @@ -2452,7 +2452,7 @@ static void publishing_tumblr_tumblr_publisher_do_parse_token_info_from_auth_req #line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" _tmp10_ = self->priv->host; #line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" - _tmp11_ = _ ("'%s' isn't a valid response to an OAuth authentication request"); + _tmp11_ = _ ("“%s” isn’t a valid response to an OAuth authentication request"); #line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" _tmp12_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, _tmp11_); #line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" @@ -2554,7 +2554,7 @@ static void publishing_tumblr_tumblr_publisher_do_parse_token_info_from_auth_req #line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" _tmp27_ = self->priv->host; #line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" - _tmp28_ = _ ("'%s' isn't a valid response to an OAuth authentication request"); + _tmp28_ = _ ("“%s” isn’t a valid response to an OAuth authentication request"); #line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" _tmp29_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, _tmp28_); #line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" @@ -3894,7 +3894,7 @@ static void publishing_tumblr_tumblr_publisher_real_start (SpitPublishingPublish #line 3878 "TumblrPublishing.c" const gchar* _tmp2_ = NULL; #line 559 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" - _tmp2_ = _ ("TumblrPublisher: start( ): can't start; this publisher is not restarta" \ + _tmp2_ = _ ("TumblrPublisher: start( ): can’t start; this publisher is not restarta" \ "ble."); #line 559 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala" g_error ("TumblrPublishing.vala:559: %s", _tmp2_); diff --git a/plugins/shotwell-publishing-extras/TumblrPublishing.vala b/plugins/shotwell-publishing-extras/TumblrPublishing.vala index 3f5a2ed..bc6fcec 100644 --- a/plugins/shotwell-publishing-extras/TumblrPublishing.vala +++ b/plugins/shotwell-publishing-extras/TumblrPublishing.vala @@ -102,12 +102,12 @@ public class TumblrPublisher : Spit.Publishing.Publisher, GLib.Object { private SizeEntry[] create_sizes() { SizeEntry[] result = new SizeEntry[0]; - result += new SizeEntry(_("500 x 375 pixels"), 500); - result += new SizeEntry(_("1024 x 768 pixels"), 1024); - result += new SizeEntry(_("1280 x 853 pixels"), 1280); + result += new SizeEntry(_("500 × 375 pixels"), 500); + result += new SizeEntry(_("1024 × 768 pixels"), 1024); + result += new SizeEntry(_("1280 × 853 pixels"), 1280); //Larger images make no sense for Tumblr -// result += new SizeEntry(_("2048 x 1536 pixels"), 2048); -// result += new SizeEntry(_("4096 x 3072 pixels"), 4096); +// result += new SizeEntry(_("2048 × 1536 pixels"), 2048); +// result += new SizeEntry(_("4096 × 3072 pixels"), 4096); // result += new SizeEntry(_("Original size"), ORIGINAL_SIZE); return result; @@ -308,7 +308,7 @@ public class TumblrPublisher : Spit.Publishing.Publisher, GLib.Object { if (split_pair.length != 2) host.post_error(new Spit.Publishing.PublishingError.MALFORMED_RESPONSE( - _("'%s' isn't a valid response to an OAuth authentication request"))); + _("“%s” isn’t a valid response to an OAuth authentication request"))); if (split_pair[0] == "oauth_token") oauth_token = split_pair[1]; @@ -318,7 +318,7 @@ public class TumblrPublisher : Spit.Publishing.Publisher, GLib.Object { if (oauth_token == null || oauth_token_secret == null) host.post_error(new Spit.Publishing.PublishingError.MALFORMED_RESPONSE( - _("'%s' isn't a valid response to an OAuth authentication request"))); + _("“%s” isn’t a valid response to an OAuth authentication request"))); session.set_access_phase_credentials(oauth_token, oauth_token_secret); } @@ -556,7 +556,7 @@ public class TumblrPublisher : Spit.Publishing.Publisher, GLib.Object { return; if (was_started) - error(_("TumblrPublisher: start( ): can't start; this publisher is not restartable.")); + error(_("TumblrPublisher: start( ): can’t start; this publisher is not restartable.")); debug("TumblrPublisher: starting interaction."); diff --git a/plugins/shotwell-publishing-extras/YandexPublishing.c b/plugins/shotwell-publishing-extras/YandexPublishing.c index d13a33b..93f4aeb 100644 --- a/plugins/shotwell-publishing-extras/YandexPublishing.c +++ b/plugins/shotwell-publishing-extras/YandexPublishing.c @@ -15,8 +15,8 @@ #include <glib/gi18n-lib.h> #include "shotwell-plugin-common.h" #include <webkit2/webkit2.h> -#include <gtk/gtk.h> #include <gdk/gdk.h> +#include <gtk/gtk.h> #include <gee.h> #include <libsoup/soup.h> #include <glib/gstdio.h> @@ -82,9 +82,9 @@ typedef struct _PublishingYandexSessionPrivate PublishingYandexSessionPrivate; typedef struct _PublishingYandexWebAuthPane PublishingYandexWebAuthPane; typedef struct _PublishingYandexWebAuthPaneClass PublishingYandexWebAuthPaneClass; typedef struct _PublishingYandexWebAuthPanePrivate PublishingYandexWebAuthPanePrivate; -#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL))) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) +#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_match_info_unref0(var) ((var == NULL) ? NULL : (var = (g_match_info_unref (var), NULL))) #define __vala_WebKitNavigationAction_free0(var) ((var == NULL) ? NULL : (var = (_vala_WebKitNavigationAction_free (var), NULL))) @@ -177,20 +177,16 @@ struct _PublishingYandexSessionPrivate { }; struct _PublishingYandexWebAuthPane { - GObject parent_instance; + ShotwellPluginsCommonWebAuthenticationPane parent_instance; PublishingYandexWebAuthPanePrivate * priv; }; struct _PublishingYandexWebAuthPaneClass { - GObjectClass parent_class; + ShotwellPluginsCommonWebAuthenticationPaneClass parent_class; }; struct _PublishingYandexWebAuthPanePrivate { - WebKitWebView* webview; - GtkBox* pane_widget; - GtkScrolledWindow* webview_frame; GRegex* re; - gchar* login_url; }; struct _PublishingYandexPublishOptions { @@ -283,7 +279,6 @@ static SpitPublishingServiceIface* yandex_service_spit_publishing_service_parent static gpointer publishing_yandex_transaction_parent_class = NULL; static gpointer publishing_yandex_session_parent_class = NULL; static gpointer publishing_yandex_web_auth_pane_parent_class = NULL; -static SpitPublishingDialogPaneIface* publishing_yandex_web_auth_pane_spit_publishing_dialog_pane_parent_iface = NULL; static gpointer publishing_yandex_publish_options_parent_class = NULL; static gpointer publishing_yandex_publishing_options_pane_parent_class = NULL; static SpitPublishingDialogPaneIface* publishing_yandex_publishing_options_pane_spit_publishing_dialog_pane_parent_iface = NULL; @@ -339,20 +334,12 @@ enum { }; PublishingYandexWebAuthPane* publishing_yandex_web_auth_pane_new (const gchar* login_url); PublishingYandexWebAuthPane* publishing_yandex_web_auth_pane_construct (GType object_type, const gchar* login_url); -static void publishing_yandex_web_auth_pane_on_page_load_changed (PublishingYandexWebAuthPane* self, WebKitLoadEvent load_event); -static void _publishing_yandex_web_auth_pane_on_page_load_changed_webkit_web_view_load_changed (WebKitWebView* _sender, WebKitLoadEvent load_event, gpointer self); +static void publishing_yandex_web_auth_pane_real_constructed (GObject* base); static gboolean publishing_yandex_web_auth_pane_on_decide_policy (PublishingYandexWebAuthPane* self, WebKitPolicyDecision* decision, WebKitPolicyDecisionType type); static gboolean _publishing_yandex_web_auth_pane_on_decide_policy_webkit_web_view_decide_policy (WebKitWebView* _sender, WebKitPolicyDecision* decision, WebKitPolicyDecisionType type, gpointer self); -static gboolean __lambda4_ (PublishingYandexWebAuthPane* self); -static gboolean ___lambda4__webkit_web_view_context_menu (WebKitWebView* _sender, WebKitContextMenu* context_menu, GdkEvent* event, WebKitHitTestResult* hit_test_result, gpointer self); -static void publishing_yandex_web_auth_pane_on_page_load (PublishingYandexWebAuthPane* self); +static void publishing_yandex_web_auth_pane_real_on_page_load (ShotwellPluginsCommonWebAuthenticationPane* base); static WebKitNavigationAction* _vala_WebKitNavigationAction_copy (WebKitNavigationAction* self); static void _vala_WebKitNavigationAction_free (WebKitNavigationAction* self); -static void publishing_yandex_web_auth_pane_on_load_started (PublishingYandexWebAuthPane* self); -static GtkWidget* publishing_yandex_web_auth_pane_real_get_widget (SpitPublishingDialogPane* base); -static SpitPublishingDialogPaneGeometryOptions publishing_yandex_web_auth_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base); -static void publishing_yandex_web_auth_pane_real_on_pane_installed (SpitPublishingDialogPane* base); -static void publishing_yandex_web_auth_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base); static void publishing_yandex_web_auth_pane_finalize (GObject* obj); gpointer publishing_yandex_publish_options_ref (gpointer instance); void publishing_yandex_publish_options_unref (gpointer instance); @@ -475,7 +462,7 @@ static gint yandex_service_real_get_pluggable_interface (SpitPluggable* base, gi result = _tmp2_; #line 9 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 479 "YandexPublishing.c" +#line 466 "YandexPublishing.c" } @@ -488,7 +475,7 @@ static const gchar* yandex_service_real_get_id (SpitPluggable* base) { result = "org.yorba.shotwell.publishing.yandex-fotki"; #line 13 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 492 "YandexPublishing.c" +#line 479 "YandexPublishing.c" } @@ -501,7 +488,7 @@ static const gchar* yandex_service_real_get_pluggable_name (SpitPluggable* base) result = "Yandex.Fotki"; #line 17 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 505 "YandexPublishing.c" +#line 492 "YandexPublishing.c" } @@ -568,7 +555,7 @@ static void yandex_service_real_get_info (SpitPluggable* base, SpitPluggableInfo _g_free0 ((*info).license); #line 28 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" (*info).license = _tmp8_; -#line 572 "YandexPublishing.c" +#line 559 "YandexPublishing.c" } @@ -589,7 +576,7 @@ static SpitPublishingPublisher* yandex_service_real_create_publisher (SpitPublis result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher); #line 32 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 593 "YandexPublishing.c" +#line 580 "YandexPublishing.c" } @@ -602,7 +589,7 @@ static SpitPublishingPublisherMediaType yandex_service_real_get_supported_media result = SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO; #line 36 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 606 "YandexPublishing.c" +#line 593 "YandexPublishing.c" } @@ -610,7 +597,7 @@ static void yandex_service_real_activation (SpitPluggable* base, gboolean enable YandexService * self; #line 39 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_YANDEX_SERVICE, YandexService); -#line 614 "YandexPublishing.c" +#line 601 "YandexPublishing.c" } @@ -620,21 +607,21 @@ YandexService* yandex_service_construct (GType object_type) { self = (YandexService*) g_object_new (object_type, NULL); #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return self; -#line 624 "YandexPublishing.c" +#line 611 "YandexPublishing.c" } YandexService* yandex_service_new (void) { #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return yandex_service_construct (TYPE_YANDEX_SERVICE); -#line 631 "YandexPublishing.c" +#line 618 "YandexPublishing.c" } static void yandex_service_class_init (YandexServiceClass * klass) { #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" yandex_service_parent_class = g_type_class_peek_parent (klass); -#line 638 "YandexPublishing.c" +#line 625 "YandexPublishing.c" } @@ -651,7 +638,7 @@ static void yandex_service_spit_pluggable_interface_init (SpitPluggableIface * i iface->get_info = (void (*)(SpitPluggable*, SpitPluggableInfo*)) yandex_service_real_get_info; #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" iface->activation = (void (*)(SpitPluggable*, gboolean)) yandex_service_real_activation; -#line 655 "YandexPublishing.c" +#line 642 "YandexPublishing.c" } @@ -662,7 +649,7 @@ static void yandex_service_spit_publishing_service_interface_init (SpitPublishin iface->create_publisher = (SpitPublishingPublisher* (*)(SpitPublishingService*, SpitPublishingPluginHost*)) yandex_service_real_create_publisher; #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" iface->get_supported_media = (SpitPublishingPublisherMediaType (*)(SpitPublishingService*)) yandex_service_real_get_supported_media; -#line 666 "YandexPublishing.c" +#line 653 "YandexPublishing.c" } @@ -707,14 +694,14 @@ PublishingYandexTransaction* publishing_yandex_transaction_construct_with_url (G publishing_yandex_transaction_add_headers (self); #line 50 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return self; -#line 711 "YandexPublishing.c" +#line 698 "YandexPublishing.c" } PublishingYandexTransaction* publishing_yandex_transaction_new_with_url (PublishingYandexSession* session, const gchar* url, PublishingRESTSupportHttpMethod method) { #line 50 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return publishing_yandex_transaction_construct_with_url (PUBLISHING_YANDEX_TYPE_TRANSACTION, session, url, method); -#line 718 "YandexPublishing.c" +#line 705 "YandexPublishing.c" } @@ -737,7 +724,7 @@ static void publishing_yandex_transaction_add_headers (PublishingYandexTransacti _publishing_rest_support_session_unref0 (_tmp1_); #line 56 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_tmp3_) { -#line 741 "YandexPublishing.c" +#line 728 "YandexPublishing.c" PublishingRESTSupportSession* _tmp4_ = NULL; PublishingYandexSession* _tmp5_ = NULL; gchar* _tmp6_ = NULL; @@ -766,7 +753,7 @@ static void publishing_yandex_transaction_add_headers (PublishingYandexTransacti _publishing_rest_support_session_unref0 (_tmp5_); #line 58 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_rest_support_transaction_add_header (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "Connection", "close"); -#line 770 "YandexPublishing.c" +#line 757 "YandexPublishing.c" } } @@ -787,14 +774,14 @@ PublishingYandexTransaction* publishing_yandex_transaction_construct (GType obje publishing_yandex_transaction_add_headers (self); #line 62 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return self; -#line 791 "YandexPublishing.c" +#line 778 "YandexPublishing.c" } PublishingYandexTransaction* publishing_yandex_transaction_new (PublishingYandexSession* session, PublishingRESTSupportHttpMethod method) { #line 62 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return publishing_yandex_transaction_construct (PUBLISHING_YANDEX_TYPE_TRANSACTION, session, method); -#line 798 "YandexPublishing.c" +#line 785 "YandexPublishing.c" } @@ -813,14 +800,14 @@ void publishing_yandex_transaction_add_data (PublishingYandexTransaction* self, _tmp1_ = type; #line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_rest_support_transaction_set_custom_payload (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), _tmp0_, _tmp1_, (gulong) 0); -#line 817 "YandexPublishing.c" +#line 804 "YandexPublishing.c" } static void publishing_yandex_transaction_class_init (PublishingYandexTransactionClass * klass) { #line 49 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_transaction_parent_class = g_type_class_peek_parent (klass); -#line 824 "YandexPublishing.c" +#line 811 "YandexPublishing.c" } @@ -846,14 +833,14 @@ PublishingYandexSession* publishing_yandex_session_construct (GType object_type) self = (PublishingYandexSession*) publishing_rest_support_session_construct (object_type, NULL); #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return self; -#line 850 "YandexPublishing.c" +#line 837 "YandexPublishing.c" } PublishingYandexSession* publishing_yandex_session_new (void) { #line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return publishing_yandex_session_construct (PUBLISHING_YANDEX_TYPE_SESSION); -#line 857 "YandexPublishing.c" +#line 844 "YandexPublishing.c" } @@ -869,7 +856,7 @@ static gboolean publishing_yandex_session_real_is_authenticated (PublishingRESTS result = _tmp0_ != NULL; #line 79 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 873 "YandexPublishing.c" +#line 860 "YandexPublishing.c" } @@ -880,7 +867,7 @@ void publishing_yandex_session_deauthenticate (PublishingYandexSession* self) { _g_free0 (self->priv->auth_token); #line 83 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->auth_token = NULL; -#line 884 "YandexPublishing.c" +#line 871 "YandexPublishing.c" } @@ -899,7 +886,7 @@ void publishing_yandex_session_set_auth_token (PublishingYandexSession* self, co _g_free0 (self->priv->auth_token); #line 87 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->auth_token = _tmp1_; -#line 903 "YandexPublishing.c" +#line 890 "YandexPublishing.c" } @@ -917,7 +904,7 @@ gchar* publishing_yandex_session_get_auth_token (PublishingYandexSession* self) result = _tmp1_; #line 91 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 921 "YandexPublishing.c" +#line 908 "YandexPublishing.c" } @@ -930,7 +917,7 @@ static void publishing_yandex_session_class_init (PublishingYandexSessionClass * g_type_class_add_private (klass, sizeof (PublishingYandexSessionPrivate)); #line 72 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" ((PublishingRESTSupportSessionClass *) klass)->is_authenticated = publishing_yandex_session_real_is_authenticated; -#line 934 "YandexPublishing.c" +#line 921 "YandexPublishing.c" } @@ -939,7 +926,7 @@ static void publishing_yandex_session_instance_init (PublishingYandexSession * s self->priv = PUBLISHING_YANDEX_SESSION_GET_PRIVATE (self); #line 73 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->auth_token = NULL; -#line 943 "YandexPublishing.c" +#line 930 "YandexPublishing.c" } @@ -951,7 +938,7 @@ static void publishing_yandex_session_finalize (PublishingRESTSupportSession* ob _g_free0 (self->priv->auth_token); #line 72 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" PUBLISHING_REST_SUPPORT_SESSION_CLASS (publishing_yandex_session_parent_class)->finalize (obj); -#line 955 "YandexPublishing.c" +#line 942 "YandexPublishing.c" } @@ -967,279 +954,167 @@ GType publishing_yandex_session_get_type (void) { } -static void _publishing_yandex_web_auth_pane_on_page_load_changed_webkit_web_view_load_changed (WebKitWebView* _sender, WebKitLoadEvent load_event, gpointer self) { -#line 124 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - publishing_yandex_web_auth_pane_on_page_load_changed ((PublishingYandexWebAuthPane*) self, load_event); -#line 974 "YandexPublishing.c" -} - - -static gboolean _publishing_yandex_web_auth_pane_on_decide_policy_webkit_web_view_decide_policy (WebKitWebView* _sender, WebKitPolicyDecision* decision, WebKitPolicyDecisionType type, gpointer self) { - gboolean result; - result = publishing_yandex_web_auth_pane_on_decide_policy ((PublishingYandexWebAuthPane*) self, decision, type); -#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - return result; -#line 983 "YandexPublishing.c" +PublishingYandexWebAuthPane* publishing_yandex_web_auth_pane_construct (GType object_type, const gchar* login_url) { + PublishingYandexWebAuthPane * self = NULL; + const gchar* _tmp0_ = NULL; +#line 101 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_return_val_if_fail (login_url != NULL, NULL); +#line 102 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + _tmp0_ = login_url; +#line 102 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + self = (PublishingYandexWebAuthPane*) g_object_new (object_type, "login-uri", _tmp0_, "preferred-geometry", SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE, NULL); +#line 101 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + return self; +#line 969 "YandexPublishing.c" } -static gboolean __lambda4_ (PublishingYandexWebAuthPane* self) { - gboolean result = FALSE; -#line 126 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - result = FALSE; -#line 126 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - return result; -#line 993 "YandexPublishing.c" +PublishingYandexWebAuthPane* publishing_yandex_web_auth_pane_new (const gchar* login_url) { +#line 101 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + return publishing_yandex_web_auth_pane_construct (PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, login_url); +#line 976 "YandexPublishing.c" } -static gboolean ___lambda4__webkit_web_view_context_menu (WebKitWebView* _sender, WebKitContextMenu* context_menu, GdkEvent* event, WebKitHitTestResult* hit_test_result, gpointer self) { +static gboolean _publishing_yandex_web_auth_pane_on_decide_policy_webkit_web_view_decide_policy (WebKitWebView* _sender, WebKitPolicyDecision* decision, WebKitPolicyDecisionType type, gpointer self) { gboolean result; - result = __lambda4_ ((PublishingYandexWebAuthPane*) self); -#line 126 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + result = publishing_yandex_web_auth_pane_on_decide_policy ((PublishingYandexWebAuthPane*) self, decision, type); +#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 1002 "YandexPublishing.c" +#line 985 "YandexPublishing.c" } -PublishingYandexWebAuthPane* publishing_yandex_web_auth_pane_construct (GType object_type, const gchar* login_url) { - PublishingYandexWebAuthPane * self = NULL; - const gchar* _tmp0_ = NULL; - gchar* _tmp1_ = NULL; - GtkBox* _tmp7_ = NULL; - GtkScrolledWindow* _tmp8_ = NULL; - GtkScrolledWindow* _tmp9_ = NULL; - GtkScrolledWindow* _tmp10_ = NULL; - WebKitWebView* _tmp11_ = NULL; - WebKitWebView* _tmp12_ = NULL; - WebKitSettings* _tmp13_ = NULL; - WebKitWebView* _tmp14_ = NULL; - WebKitWebView* _tmp15_ = NULL; - WebKitWebView* _tmp16_ = NULL; - GtkScrolledWindow* _tmp17_ = NULL; - WebKitWebView* _tmp18_ = NULL; - GtkBox* _tmp19_ = NULL; - GtkScrolledWindow* _tmp20_ = NULL; +static void publishing_yandex_web_auth_pane_real_constructed (GObject* base) { + PublishingYandexWebAuthPane * self; + WebKitWebView* _tmp3_ = NULL; + WebKitWebView* _tmp4_ = NULL; GError * _inner_error_ = NULL; -#line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_return_val_if_fail (login_url != NULL, NULL); -#line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - self = (PublishingYandexWebAuthPane*) g_object_new (object_type, NULL); #line 107 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp0_ = login_url; -#line 107 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp1_ = g_strdup (_tmp0_); -#line 107 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _g_free0 (self->priv->login_url); -#line 107 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - self->priv->login_url = _tmp1_; -#line 1037 "YandexPublishing.c" + self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, PublishingYandexWebAuthPane); +#line 996 "YandexPublishing.c" { + GRegex* _tmp0_ = NULL; + GRegex* _tmp1_ = NULL; GRegex* _tmp2_ = NULL; - GRegex* _tmp3_ = NULL; - GRegex* _tmp4_ = NULL; -#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp3_ = g_regex_new ("(.*)#access_token=([a-zA-Z0-9]*)&", 0, 0, &_inner_error_); -#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp2_ = _tmp3_; -#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + _tmp1_ = g_regex_new ("(.*)#access_token=([a-zA-Z0-9]*)&", 0, 0, &_inner_error_); +#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + _tmp0_ = _tmp1_; +#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 1050 "YandexPublishing.c" +#line 1009 "YandexPublishing.c" goto __catch39_g_regex_error; } -#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" 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); -#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - return NULL; -#line 1059 "YandexPublishing.c" +#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + return; +#line 1018 "YandexPublishing.c" } -#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp4_ = _tmp2_; -#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp2_ = NULL; -#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + _tmp2_ = _tmp0_; +#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + _tmp0_ = NULL; +#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_regex_unref0 (self->priv->re); -#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - self->priv->re = _tmp4_; #line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _g_regex_unref0 (_tmp2_); -#line 1071 "YandexPublishing.c" + self->priv->re = _tmp2_; +#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + _g_regex_unref0 (_tmp0_); +#line 1030 "YandexPublishing.c" } goto __finally39; __catch39_g_regex_error: { GError* e = NULL; - GError* _tmp5_ = NULL; - const gchar* _tmp6_ = NULL; -#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" e = _inner_error_; -#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _inner_error_ = NULL; -#line 112 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp5_ = e; -#line 112 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp6_ = _tmp5_->message; -#line 112 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_critical ("YandexPublishing.vala:112: %s", _tmp6_); -#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_assert_not_reached (); +#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_error_free0 (e); -#line 1091 "YandexPublishing.c" +#line 1044 "YandexPublishing.c" } __finally39: -#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - return NULL; -#line 1102 "YandexPublishing.c" +#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + return; +#line 1055 "YandexPublishing.c" } -#line 115 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp7_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); -#line 115 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_object_ref_sink (_tmp7_); -#line 115 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _g_object_unref0 (self->priv->pane_widget); -#line 115 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - self->priv->pane_widget = _tmp7_; -#line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp8_ = (GtkScrolledWindow*) gtk_scrolled_window_new (NULL, NULL); -#line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_object_ref_sink (_tmp8_); -#line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _g_object_unref0 (self->priv->webview_frame); -#line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - self->priv->webview_frame = _tmp8_; -#line 118 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp9_ = self->priv->webview_frame; -#line 118 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - gtk_scrolled_window_set_shadow_type (_tmp9_, GTK_SHADOW_ETCHED_IN); -#line 119 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp10_ = self->priv->webview_frame; -#line 119 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - gtk_scrolled_window_set_policy (_tmp10_, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); -#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp11_ = (WebKitWebView*) webkit_web_view_new (); -#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_object_ref_sink (_tmp11_); -#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _g_object_unref0 (self->priv->webview); -#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - self->priv->webview = _tmp11_; -#line 122 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp12_ = self->priv->webview; -#line 122 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp13_ = webkit_web_view_get_settings (_tmp12_); -#line 122 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - webkit_settings_set_enable_plugins (_tmp13_, FALSE); -#line 124 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp14_ = self->priv->webview; -#line 124 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_signal_connect_object (_tmp14_, "load-changed", (GCallback) _publishing_yandex_web_auth_pane_on_page_load_changed_webkit_web_view_load_changed, self, 0); -#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp15_ = self->priv->webview; -#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_signal_connect_object (_tmp15_, "decide-policy", (GCallback) _publishing_yandex_web_auth_pane_on_decide_policy_webkit_web_view_decide_policy, self, 0); -#line 126 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp16_ = self->priv->webview; -#line 126 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_signal_connect_object (_tmp16_, "context-menu", (GCallback) ___lambda4__webkit_web_view_context_menu, self, 0); -#line 128 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp17_ = self->priv->webview_frame; -#line 128 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp18_ = self->priv->webview; -#line 128 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget)); -#line 129 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp19_ = self->priv->pane_widget; -#line 129 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp20_ = self->priv->webview_frame; -#line 129 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - gtk_box_pack_start (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0); -#line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - return self; -#line 1168 "YandexPublishing.c" -} - - -PublishingYandexWebAuthPane* publishing_yandex_web_auth_pane_new (const gchar* login_url) { -#line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - return publishing_yandex_web_auth_pane_construct (PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, login_url); -#line 1175 "YandexPublishing.c" +#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + _tmp3_ = shotwell_plugins_common_web_authentication_pane_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane)); +#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + _tmp4_ = _tmp3_; +#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_signal_connect_object (_tmp4_, "decide-policy", (GCallback) _publishing_yandex_web_auth_pane_on_decide_policy_webkit_web_view_decide_policy, self, 0); +#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + _g_object_unref0 (_tmp4_); +#line 1065 "YandexPublishing.c" } -static void publishing_yandex_web_auth_pane_on_page_load (PublishingYandexWebAuthPane* self) { - GtkBox* _tmp0_ = NULL; - GdkWindow* _tmp1_ = NULL; - GdkCursor* _tmp2_ = NULL; - GdkCursor* _tmp3_ = NULL; -#line 132 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_return_if_fail (PUBLISHING_YANDEX_IS_WEB_AUTH_PANE (self)); -#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp0_ = self->priv->pane_widget; -#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp2_ = gdk_cursor_new (GDK_LEFT_PTR); -#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp3_ = _tmp2_; -#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - gdk_window_set_cursor (_tmp1_, _tmp3_); -#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _g_object_unref0 (_tmp3_); -#line 1198 "YandexPublishing.c" +static void publishing_yandex_web_auth_pane_real_on_page_load (ShotwellPluginsCommonWebAuthenticationPane* base) { + PublishingYandexWebAuthPane * self; +#line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, PublishingYandexWebAuthPane); +#line 1073 "YandexPublishing.c" } static gpointer _g_object_ref0 (gpointer self) { -#line 140 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 123 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return self ? g_object_ref (self) : NULL; -#line 1205 "YandexPublishing.c" +#line 1080 "YandexPublishing.c" } static WebKitNavigationAction* _vala_WebKitNavigationAction_copy (WebKitNavigationAction* self) { -#line 141 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 124 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return g_boxed_copy (webkit_navigation_action_get_type (), self); -#line 1212 "YandexPublishing.c" +#line 1087 "YandexPublishing.c" } static gpointer __vala_WebKitNavigationAction_copy0 (gpointer self) { -#line 141 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 124 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return self ? _vala_WebKitNavigationAction_copy (self) : NULL; -#line 1219 "YandexPublishing.c" +#line 1094 "YandexPublishing.c" } static void _vala_WebKitNavigationAction_free (WebKitNavigationAction* self) { -#line 155 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_boxed_free (webkit_navigation_action_get_type (), self); -#line 1226 "YandexPublishing.c" +#line 1101 "YandexPublishing.c" } static gboolean publishing_yandex_web_auth_pane_on_decide_policy (PublishingYandexWebAuthPane* self, WebKitPolicyDecision* decision, WebKitPolicyDecisionType type) { gboolean result = FALSE; WebKitPolicyDecisionType _tmp0_ = 0; -#line 136 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 119 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (PUBLISHING_YANDEX_IS_WEB_AUTH_PANE (self), FALSE); -#line 136 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 119 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (WEBKIT_IS_POLICY_DECISION (decision), FALSE); -#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = type; -#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" switch (_tmp0_) { -#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" case WEBKIT_POLICY_DECISION_TYPE_NAVIGATION_ACTION: -#line 1243 "YandexPublishing.c" +#line 1118 "YandexPublishing.c" { WebKitNavigationPolicyDecision* n_decision = NULL; WebKitPolicyDecision* _tmp1_ = NULL; @@ -1261,54 +1136,54 @@ static gboolean publishing_yandex_web_auth_pane_on_decide_policy (PublishingYand const gchar* _tmp14_ = NULL; GMatchInfo* _tmp15_ = NULL; gboolean _tmp16_ = FALSE; - WebKitPolicyDecision* _tmp32_ = NULL; -#line 140 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + WebKitPolicyDecision* _tmp28_ = NULL; +#line 123 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = decision; -#line 140 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 123 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, webkit_navigation_policy_decision_get_type (), WebKitNavigationPolicyDecision)); -#line 140 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 123 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" n_decision = _tmp2_; -#line 141 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 124 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = n_decision; -#line 141 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 124 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = webkit_navigation_policy_decision_get_navigation_action (_tmp3_); -#line 141 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 124 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = _tmp4_; -#line 141 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 124 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = __vala_WebKitNavigationAction_copy0 (_tmp5_); -#line 141 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 124 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" action = _tmp6_; -#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp7_ = action; -#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp8_ = webkit_navigation_action_get_request (_tmp7_); -#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp9_ = webkit_uri_request_get_uri (_tmp8_); -#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp10_ = _tmp9_; -#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp11_ = g_strdup (_tmp10_); -#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" uri = _tmp11_; -#line 143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 126 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp12_ = uri; -#line 143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_debug ("YandexPublishing.vala:143: Navigating to '%s'", _tmp12_); -#line 145 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 126 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_debug ("YandexPublishing.vala:126: Navigating to '%s'", _tmp12_); +#line 128 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" info = NULL; -#line 147 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 130 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp13_ = self->priv->re; -#line 147 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 130 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp14_ = uri; -#line 147 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 130 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp16_ = g_regex_match (_tmp13_, _tmp14_, 0, &_tmp15_); -#line 147 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 130 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_match_info_unref0 (info); -#line 147 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 130 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" info = _tmp15_; -#line 147 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 130 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_tmp16_) { -#line 1312 "YandexPublishing.c" +#line 1187 "YandexPublishing.c" gchar* access_token = NULL; GMatchInfo* _tmp17_ = NULL; gchar** _tmp18_ = NULL; @@ -1319,243 +1194,111 @@ static gboolean publishing_yandex_web_auth_pane_on_decide_policy (PublishingYand gchar* _tmp22_ = NULL; gchar* _tmp23_ = NULL; const gchar* _tmp24_ = NULL; - GtkBox* _tmp25_ = NULL; - GdkWindow* _tmp26_ = NULL; - GdkCursor* _tmp27_ = NULL; - GdkCursor* _tmp28_ = NULL; - const gchar* _tmp29_ = NULL; -#line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + const gchar* _tmp25_ = NULL; +#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp17_ = info; -#line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp19_ = _tmp18_ = g_match_info_fetch_all (_tmp17_); -#line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp20_ = _tmp19_; -#line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp20__length1 = _vala_array_length (_tmp18_); -#line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp21_ = _tmp20_[2]; -#line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp22_ = g_strdup (_tmp21_); -#line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp23_ = _tmp22_; -#line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp20_ = (_vala_array_free (_tmp20_, _tmp20__length1, (GDestroyNotify) g_free), NULL); -#line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" access_token = _tmp23_; -#line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp24_ = access_token; -#line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_debug ("YandexPublishing.vala:150: Load completed: %s", _tmp24_); -#line 151 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp25_ = self->priv->pane_widget; -#line 151 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp26_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_widget_get_type (), GtkWidget)); -#line 151 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp27_ = gdk_cursor_new (GDK_LEFT_PTR); -#line 151 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp28_ = _tmp27_; -#line 151 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - gdk_window_set_cursor (_tmp26_, _tmp28_); -#line 151 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _g_object_unref0 (_tmp28_); -#line 152 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp29_ = access_token; -#line 152 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - if (_tmp29_ != NULL) { -#line 1366 "YandexPublishing.c" - const gchar* _tmp30_ = NULL; - WebKitPolicyDecision* _tmp31_ = NULL; -#line 153 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp30_ = access_token; -#line 153 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_signal_emit_by_name (self, "login-succeeded", _tmp30_); -#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp31_ = decision; -#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - webkit_policy_decision_ignore (_tmp31_); -#line 155 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_debug ("YandexPublishing.vala:133: Load completed: %s", _tmp24_); +#line 134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + shotwell_plugins_common_web_authentication_pane_set_cursor (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane), GDK_LEFT_PTR); +#line 135 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + _tmp25_ = access_token; +#line 135 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + if (_tmp25_ != NULL) { +#line 1227 "YandexPublishing.c" + const gchar* _tmp26_ = NULL; + WebKitPolicyDecision* _tmp27_ = NULL; +#line 136 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + _tmp26_ = access_token; +#line 136 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_signal_emit_by_name (self, "login-succeeded", _tmp26_); +#line 137 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + _tmp27_ = decision; +#line 137 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + webkit_policy_decision_ignore (_tmp27_); +#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (access_token); -#line 155 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_match_info_unref0 (info); -#line 155 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (uri); -#line 155 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" __vala_WebKitNavigationAction_free0 (action); -#line 155 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (n_decision); -#line 155 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" break; -#line 1389 "YandexPublishing.c" +#line 1250 "YandexPublishing.c" } else { -#line 157 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 140 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_emit_by_name (self, "login-failed"); -#line 1393 "YandexPublishing.c" +#line 1254 "YandexPublishing.c" } -#line 147 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 130 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (access_token); -#line 1397 "YandexPublishing.c" +#line 1258 "YandexPublishing.c" } -#line 159 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp32_ = decision; -#line 159 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - webkit_policy_decision_use (_tmp32_); -#line 160 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + _tmp28_ = decision; +#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + webkit_policy_decision_use (_tmp28_); +#line 143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_match_info_unref0 (info); -#line 160 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (uri); -#line 160 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" __vala_WebKitNavigationAction_free0 (action); -#line 160 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (n_decision); -#line 160 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" break; -#line 1413 "YandexPublishing.c" +#line 1274 "YandexPublishing.c" } -#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" case WEBKIT_POLICY_DECISION_TYPE_RESPONSE: -#line 1417 "YandexPublishing.c" +#line 1278 "YandexPublishing.c" { - WebKitPolicyDecision* _tmp33_ = NULL; -#line 162 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp33_ = decision; -#line 162 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - webkit_policy_decision_use (_tmp33_); -#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + WebKitPolicyDecision* _tmp29_ = NULL; +#line 145 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + _tmp29_ = decision; +#line 145 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + webkit_policy_decision_use (_tmp29_); +#line 146 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" break; -#line 1426 "YandexPublishing.c" +#line 1287 "YandexPublishing.c" } default: { -#line 165 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" result = FALSE; -#line 165 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 1434 "YandexPublishing.c" +#line 1295 "YandexPublishing.c" } } -#line 167 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" result = TRUE; -#line 167 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - return result; -#line 1441 "YandexPublishing.c" -} - - -static void publishing_yandex_web_auth_pane_on_load_started (PublishingYandexWebAuthPane* self) { - GtkBox* _tmp0_ = NULL; - GdkWindow* _tmp1_ = NULL; - GdkCursor* _tmp2_ = NULL; - GdkCursor* _tmp3_ = NULL; -#line 170 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_return_if_fail (PUBLISHING_YANDEX_IS_WEB_AUTH_PANE (self)); -#line 171 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp0_ = self->priv->pane_widget; -#line 171 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 171 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp2_ = gdk_cursor_new (GDK_WATCH); -#line 171 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp3_ = _tmp2_; -#line 171 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - gdk_window_set_cursor (_tmp1_, _tmp3_); -#line 171 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _g_object_unref0 (_tmp3_); -#line 1464 "YandexPublishing.c" -} - - -static void publishing_yandex_web_auth_pane_on_page_load_changed (PublishingYandexWebAuthPane* self, WebKitLoadEvent load_event) { - WebKitLoadEvent _tmp0_ = 0; -#line 174 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_return_if_fail (PUBLISHING_YANDEX_IS_WEB_AUTH_PANE (self)); -#line 175 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp0_ = load_event; -#line 175 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - switch (_tmp0_) { -#line 175 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - case WEBKIT_LOAD_STARTED: -#line 1478 "YandexPublishing.c" - { -#line 177 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - publishing_yandex_web_auth_pane_on_load_started (self); -#line 178 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - break; -#line 1484 "YandexPublishing.c" - } -#line 175 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - case WEBKIT_LOAD_FINISHED: -#line 1488 "YandexPublishing.c" - { -#line 180 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - publishing_yandex_web_auth_pane_on_page_load (self); -#line 181 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - break; -#line 1494 "YandexPublishing.c" - } - default: -#line 175 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - break; -#line 1499 "YandexPublishing.c" - } -#line 184 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - return; -#line 1503 "YandexPublishing.c" -} - - -static GtkWidget* publishing_yandex_web_auth_pane_real_get_widget (SpitPublishingDialogPane* base) { - PublishingYandexWebAuthPane * self; - GtkWidget* result = NULL; - GtkBox* _tmp0_ = NULL; - GtkWidget* _tmp1_ = NULL; -#line 187 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, PublishingYandexWebAuthPane); -#line 188 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp0_ = self->priv->pane_widget; -#line 188 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 188 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - result = _tmp1_; -#line 188 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - return result; -#line 1522 "YandexPublishing.c" -} - - -static SpitPublishingDialogPaneGeometryOptions publishing_yandex_web_auth_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) { - PublishingYandexWebAuthPane * self; - SpitPublishingDialogPaneGeometryOptions result = 0; -#line 191 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, PublishingYandexWebAuthPane); -#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE; -#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 1535 "YandexPublishing.c" -} - - -static void publishing_yandex_web_auth_pane_real_on_pane_installed (SpitPublishingDialogPane* base) { - PublishingYandexWebAuthPane * self; - WebKitWebView* _tmp0_ = NULL; - const gchar* _tmp1_ = NULL; -#line 195 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, PublishingYandexWebAuthPane); -#line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp0_ = self->priv->webview; -#line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _tmp1_ = self->priv->login_url; -#line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - webkit_web_view_load_uri (_tmp0_, _tmp1_); -#line 1551 "YandexPublishing.c" -} - - -static void publishing_yandex_web_auth_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) { - PublishingYandexWebAuthPane * self; -#line 199 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, PublishingYandexWebAuthPane); -#line 1559 "YandexPublishing.c" +#line 1302 "YandexPublishing.c" } @@ -1565,42 +1308,23 @@ static void publishing_yandex_web_auth_pane_class_init (PublishingYandexWebAuthP #line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingYandexWebAuthPanePrivate)); #line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + ((GObjectClass *) klass)->constructed = publishing_yandex_web_auth_pane_real_constructed; +#line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + ((ShotwellPluginsCommonWebAuthenticationPaneClass *) klass)->on_page_load = publishing_yandex_web_auth_pane_real_on_page_load; +#line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" G_OBJECT_CLASS (klass)->finalize = publishing_yandex_web_auth_pane_finalize; #line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_new ("login_succeeded", PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); #line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_new ("login_failed", PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 1574 "YandexPublishing.c" -} - - -static void publishing_yandex_web_auth_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) { -#line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - publishing_yandex_web_auth_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface); -#line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_yandex_web_auth_pane_real_get_widget; -#line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) publishing_yandex_web_auth_pane_real_get_preferred_geometry; -#line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_yandex_web_auth_pane_real_on_pane_installed; -#line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_yandex_web_auth_pane_real_on_pane_uninstalled; -#line 1589 "YandexPublishing.c" +#line 1321 "YandexPublishing.c" } static void publishing_yandex_web_auth_pane_instance_init (PublishingYandexWebAuthPane * self) { #line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv = PUBLISHING_YANDEX_WEB_AUTH_PANE_GET_PRIVATE (self); -#line 96 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - self->priv->webview = NULL; -#line 97 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - self->priv->pane_widget = NULL; -#line 98 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - self->priv->webview_frame = NULL; -#line 101 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - self->priv->login_url = NULL; -#line 1604 "YandexPublishing.c" +#line 1328 "YandexPublishing.c" } @@ -1609,18 +1333,10 @@ static void publishing_yandex_web_auth_pane_finalize (GObject* obj) { #line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, PublishingYandexWebAuthPane); #line 96 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _g_object_unref0 (self->priv->webview); -#line 97 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _g_object_unref0 (self->priv->pane_widget); -#line 98 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _g_object_unref0 (self->priv->webview_frame); -#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_regex_unref0 (self->priv->re); -#line 101 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - _g_free0 (self->priv->login_url); #line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" G_OBJECT_CLASS (publishing_yandex_web_auth_pane_parent_class)->finalize (obj); -#line 1624 "YandexPublishing.c" +#line 1340 "YandexPublishing.c" } @@ -1628,10 +1344,8 @@ GType publishing_yandex_web_auth_pane_get_type (void) { static volatile gsize publishing_yandex_web_auth_pane_type_id__volatile = 0; if (g_once_init_enter (&publishing_yandex_web_auth_pane_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (PublishingYandexWebAuthPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) publishing_yandex_web_auth_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PublishingYandexWebAuthPane), 0, (GInstanceInitFunc) publishing_yandex_web_auth_pane_instance_init, NULL }; - static const GInterfaceInfo spit_publishing_dialog_pane_info = { (GInterfaceInitFunc) publishing_yandex_web_auth_pane_spit_publishing_dialog_pane_interface_init, (GInterfaceFinalizeFunc) NULL, NULL}; GType publishing_yandex_web_auth_pane_type_id; - publishing_yandex_web_auth_pane_type_id = g_type_register_static (G_TYPE_OBJECT, "PublishingYandexWebAuthPane", &g_define_type_info, 0); - g_type_add_interface_static (publishing_yandex_web_auth_pane_type_id, SPIT_PUBLISHING_TYPE_DIALOG_PANE, &spit_publishing_dialog_pane_info); + publishing_yandex_web_auth_pane_type_id = g_type_register_static (SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, "PublishingYandexWebAuthPane", &g_define_type_info, 0); g_once_init_leave (&publishing_yandex_web_auth_pane_type_id__volatile, publishing_yandex_web_auth_pane_type_id); } return publishing_yandex_web_auth_pane_type_id__volatile; @@ -1640,238 +1354,238 @@ GType publishing_yandex_web_auth_pane_get_type (void) { PublishingYandexPublishOptions* publishing_yandex_publish_options_construct (GType object_type) { PublishingYandexPublishOptions* self = NULL; -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = (PublishingYandexPublishOptions*) g_type_create_instance (object_type); -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return self; -#line 1648 "YandexPublishing.c" +#line 1362 "YandexPublishing.c" } PublishingYandexPublishOptions* publishing_yandex_publish_options_new (void) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return publishing_yandex_publish_options_construct (PUBLISHING_YANDEX_TYPE_PUBLISH_OPTIONS); -#line 1655 "YandexPublishing.c" +#line 1369 "YandexPublishing.c" } static void publishing_yandex_value_publish_options_init (GValue* value) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" value->data[0].v_pointer = NULL; -#line 1662 "YandexPublishing.c" +#line 1376 "YandexPublishing.c" } static void publishing_yandex_value_publish_options_free_value (GValue* value) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (value->data[0].v_pointer) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_publish_options_unref (value->data[0].v_pointer); -#line 1671 "YandexPublishing.c" +#line 1385 "YandexPublishing.c" } } static void publishing_yandex_value_publish_options_copy_value (const GValue* src_value, GValue* dest_value) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (src_value->data[0].v_pointer) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" dest_value->data[0].v_pointer = publishing_yandex_publish_options_ref (src_value->data[0].v_pointer); -#line 1681 "YandexPublishing.c" +#line 1395 "YandexPublishing.c" } else { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 1685 "YandexPublishing.c" +#line 1399 "YandexPublishing.c" } } static gpointer publishing_yandex_value_publish_options_peek_pointer (const GValue* value) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return value->data[0].v_pointer; -#line 1693 "YandexPublishing.c" +#line 1407 "YandexPublishing.c" } static gchar* publishing_yandex_value_publish_options_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (collect_values[0].v_pointer) { -#line 1700 "YandexPublishing.c" +#line 1414 "YandexPublishing.c" PublishingYandexPublishOptions* object; object = collect_values[0].v_pointer; -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (object->parent_instance.g_class == NULL) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1707 "YandexPublishing.c" +#line 1421 "YandexPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1711 "YandexPublishing.c" +#line 1425 "YandexPublishing.c" } -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" value->data[0].v_pointer = publishing_yandex_publish_options_ref (object); -#line 1715 "YandexPublishing.c" +#line 1429 "YandexPublishing.c" } else { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" value->data[0].v_pointer = NULL; -#line 1719 "YandexPublishing.c" +#line 1433 "YandexPublishing.c" } -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return NULL; -#line 1723 "YandexPublishing.c" +#line 1437 "YandexPublishing.c" } static gchar* publishing_yandex_value_publish_options_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PublishingYandexPublishOptions** object_p; object_p = collect_values[0].v_pointer; -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (!object_p) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 1734 "YandexPublishing.c" +#line 1448 "YandexPublishing.c" } -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (!value->data[0].v_pointer) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" *object_p = NULL; -#line 1740 "YandexPublishing.c" +#line 1454 "YandexPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" *object_p = value->data[0].v_pointer; -#line 1744 "YandexPublishing.c" +#line 1458 "YandexPublishing.c" } else { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" *object_p = publishing_yandex_publish_options_ref (value->data[0].v_pointer); -#line 1748 "YandexPublishing.c" +#line 1462 "YandexPublishing.c" } -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return NULL; -#line 1752 "YandexPublishing.c" +#line 1466 "YandexPublishing.c" } GParamSpec* publishing_yandex_param_spec_publish_options (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { PublishingYandexParamSpecPublishOptions* spec; -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_YANDEX_TYPE_PUBLISH_OPTIONS), NULL); -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return G_PARAM_SPEC (spec); -#line 1766 "YandexPublishing.c" +#line 1480 "YandexPublishing.c" } gpointer publishing_yandex_value_get_publish_options (const GValue* value) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_YANDEX_TYPE_PUBLISH_OPTIONS), NULL); -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return value->data[0].v_pointer; -#line 1775 "YandexPublishing.c" +#line 1489 "YandexPublishing.c" } void publishing_yandex_value_set_publish_options (GValue* value, gpointer v_object) { PublishingYandexPublishOptions* old; -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_YANDEX_TYPE_PUBLISH_OPTIONS)); -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" old = value->data[0].v_pointer; -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (v_object) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_YANDEX_TYPE_PUBLISH_OPTIONS)); -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" value->data[0].v_pointer = v_object; -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_publish_options_ref (value->data[0].v_pointer); -#line 1795 "YandexPublishing.c" +#line 1509 "YandexPublishing.c" } else { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" value->data[0].v_pointer = NULL; -#line 1799 "YandexPublishing.c" +#line 1513 "YandexPublishing.c" } -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (old) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_publish_options_unref (old); -#line 1805 "YandexPublishing.c" +#line 1519 "YandexPublishing.c" } } void publishing_yandex_value_take_publish_options (GValue* value, gpointer v_object) { PublishingYandexPublishOptions* old; -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_YANDEX_TYPE_PUBLISH_OPTIONS)); -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" old = value->data[0].v_pointer; -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (v_object) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_YANDEX_TYPE_PUBLISH_OPTIONS)); -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" value->data[0].v_pointer = v_object; -#line 1824 "YandexPublishing.c" +#line 1538 "YandexPublishing.c" } else { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" value->data[0].v_pointer = NULL; -#line 1828 "YandexPublishing.c" +#line 1542 "YandexPublishing.c" } -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (old) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_publish_options_unref (old); -#line 1834 "YandexPublishing.c" +#line 1548 "YandexPublishing.c" } } static void publishing_yandex_publish_options_class_init (PublishingYandexPublishOptionsClass * klass) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_publish_options_parent_class = g_type_class_peek_parent (klass); -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" ((PublishingYandexPublishOptionsClass *) klass)->finalize = publishing_yandex_publish_options_finalize; -#line 1844 "YandexPublishing.c" +#line 1558 "YandexPublishing.c" } static void publishing_yandex_publish_options_instance_init (PublishingYandexPublishOptions * self) { -#line 204 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 155 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->disable_comments = FALSE; -#line 205 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 156 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->hide_original = FALSE; -#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 159 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->destination_album = NULL; -#line 209 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 160 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->destination_album_url = NULL; -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->ref_count = 1; -#line 1859 "YandexPublishing.c" +#line 1573 "YandexPublishing.c" } static void publishing_yandex_publish_options_finalize (PublishingYandexPublishOptions* obj) { PublishingYandexPublishOptions * self; -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_YANDEX_TYPE_PUBLISH_OPTIONS, PublishingYandexPublishOptions); -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_destroy (self); -#line 206 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 157 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (self->access_type); -#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 159 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (self->destination_album); -#line 209 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 160 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (self->destination_album_url); -#line 1875 "YandexPublishing.c" +#line 1589 "YandexPublishing.c" } @@ -1892,24 +1606,24 @@ GType publishing_yandex_publish_options_get_type (void) { gpointer publishing_yandex_publish_options_ref (gpointer instance) { PublishingYandexPublishOptions* self; self = instance; -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_atomic_int_inc (&self->ref_count); -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return instance; -#line 1900 "YandexPublishing.c" +#line 1614 "YandexPublishing.c" } void publishing_yandex_publish_options_unref (gpointer instance) { PublishingYandexPublishOptions* self; self = instance; -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" PUBLISHING_YANDEX_PUBLISH_OPTIONS_GET_CLASS (self)->finalize (self); -#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 1913 "YandexPublishing.c" +#line 1627 "YandexPublishing.c" } } @@ -1917,29 +1631,29 @@ void publishing_yandex_publish_options_unref (gpointer instance) { static SpitPublishingDialogPaneGeometryOptions publishing_yandex_publishing_options_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) { PublishingYandexPublishingOptionsPane * self; SpitPublishingDialogPaneGeometryOptions result = 0; -#line 224 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 175 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_PUBLISHING_OPTIONS_PANE, PublishingYandexPublishingOptionsPane); -#line 225 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 176 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE; -#line 225 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 176 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 1927 "YandexPublishing.c" +#line 1641 "YandexPublishing.c" } static void publishing_yandex_publishing_options_pane_real_on_pane_installed (SpitPublishingDialogPane* base) { PublishingYandexPublishingOptionsPane * self; -#line 227 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 178 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_PUBLISHING_OPTIONS_PANE, PublishingYandexPublishingOptionsPane); -#line 1935 "YandexPublishing.c" +#line 1649 "YandexPublishing.c" } static void publishing_yandex_publishing_options_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) { PublishingYandexPublishingOptionsPane * self; -#line 229 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 180 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_PUBLISHING_OPTIONS_PANE, PublishingYandexPublishingOptionsPane); -#line 1943 "YandexPublishing.c" +#line 1657 "YandexPublishing.c" } @@ -1948,31 +1662,31 @@ static GtkWidget* publishing_yandex_publishing_options_pane_real_get_widget (Spi GtkWidget* result = NULL; GtkBox* _tmp0_ = NULL; GtkWidget* _tmp1_ = NULL; -#line 231 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 182 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_PUBLISHING_OPTIONS_PANE, PublishingYandexPublishingOptionsPane); -#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 183 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = self->priv->box; -#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 183 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 183 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" result = _tmp1_; -#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 183 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 1962 "YandexPublishing.c" +#line 1676 "YandexPublishing.c" } static void _publishing_yandex_publishing_options_pane_on_publish_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_publishing_options_pane_on_publish_clicked ((PublishingYandexPublishingOptionsPane*) self); -#line 1969 "YandexPublishing.c" +#line 1683 "YandexPublishing.c" } static void _publishing_yandex_publishing_options_pane_on_logout_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 209 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_publishing_options_pane_on_logout_clicked ((PublishingYandexPublishingOptionsPane*) self); -#line 1976 "YandexPublishing.c" +#line 1690 "YandexPublishing.c" } @@ -1981,27 +1695,27 @@ PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane PublishingYandexPublishOptions* _tmp0_ = NULL; GtkBox* _tmp1_ = NULL; GError * _inner_error_ = NULL; -#line 235 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (PUBLISHING_YANDEX_IS_PUBLISH_OPTIONS (options), NULL); -#line 235 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (GEE_IS_HASH_MAP (list), NULL); -#line 235 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (host), NULL); -#line 235 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = (PublishingYandexPublishingOptionsPane*) g_object_new (object_type, NULL); -#line 237 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 188 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = options; -#line 237 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 188 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->options = _tmp0_; -#line 239 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 190 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); -#line 239 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 190 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_object_ref_sink (_tmp1_); -#line 239 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 190 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (self->priv->box); -#line 239 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 190 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->box = _tmp1_; -#line 2005 "YandexPublishing.c" +#line 1719 "YandexPublishing.c" { GtkBuilder* _tmp2_ = NULL; GtkBuilder* _tmp3_ = NULL; @@ -2026,44 +1740,44 @@ PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane GtkBox* _tmp33_ = NULL; GtkBox* _tmp34_ = NULL; GtkAlignment* _tmp35_ = NULL; -#line 242 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 193 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = gtk_builder_new (); -#line 242 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 193 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (self->priv->builder); -#line 242 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 193 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->builder = _tmp2_; -#line 243 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 194 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = self->priv->builder; -#line 243 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 194 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" gtk_builder_add_from_resource (_tmp3_, PLUGIN_RESOURCE_PATH "/yandex_publish_model.ui", &_inner_error_); -#line 243 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 194 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2042 "YandexPublishing.c" +#line 1756 "YandexPublishing.c" goto __catch40_g_error; } -#line 245 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = self->priv->builder; -#line 245 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" gtk_builder_connect_signals (_tmp4_, NULL); -#line 246 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 197 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = self->priv->builder; -#line 246 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 197 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = gtk_builder_get_object (_tmp5_, "alignment"); -#line 246 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 197 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, gtk_alignment_get_type ()) ? ((GtkAlignment*) _tmp6_) : NULL); -#line 246 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 197 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" align = _tmp7_; -#line 248 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 199 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp8_ = self->priv->builder; -#line 248 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 199 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp9_ = gtk_builder_get_object (_tmp8_, "album_list"); -#line 248 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 199 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp10_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp9_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp9_) : NULL); -#line 248 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 199 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (self->priv->album_list); -#line 248 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 199 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->album_list = _tmp10_; -#line 2067 "YandexPublishing.c" +#line 1781 "YandexPublishing.c" { GeeIterator* _key_it = NULL; GeeHashMap* _tmp11_ = NULL; @@ -2072,25 +1786,25 @@ PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane GeeSet* _tmp14_ = NULL; GeeIterator* _tmp15_ = NULL; GeeIterator* _tmp16_ = NULL; -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp11_ = list; -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp12_ = gee_abstract_map_get_keys (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_MAP, GeeMap)); -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp13_ = _tmp12_; -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp14_ = _tmp13_; -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp15_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp16_ = _tmp15_; -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (_tmp14_); -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _key_it = _tmp16_; -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" while (TRUE) { -#line 2094 "YandexPublishing.c" +#line 1808 "YandexPublishing.c" GeeIterator* _tmp17_ = NULL; gboolean _tmp18_ = FALSE; gchar* key = NULL; @@ -2098,83 +1812,83 @@ PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane gpointer _tmp20_ = NULL; GtkComboBoxText* _tmp21_ = NULL; const gchar* _tmp22_ = NULL; -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp17_ = _key_it; -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp18_ = gee_iterator_next (_tmp17_); -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (!_tmp18_) { -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" break; -#line 2110 "YandexPublishing.c" +#line 1824 "YandexPublishing.c" } -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp19_ = _key_it; -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp20_ = gee_iterator_get (_tmp19_); -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" key = (gchar*) _tmp20_; -#line 250 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 201 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp21_ = self->priv->album_list; -#line 250 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 201 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp22_ = key; -#line 250 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 201 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" gtk_combo_box_text_append_text (_tmp21_, _tmp22_); -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (key); -#line 2126 "YandexPublishing.c" +#line 1840 "YandexPublishing.c" } -#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (_key_it); -#line 2130 "YandexPublishing.c" +#line 1844 "YandexPublishing.c" } -#line 252 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp23_ = self->priv->album_list; -#line 252 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_combo_box_get_type (), GtkComboBox), 0); -#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 205 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp24_ = self->priv->builder; -#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 205 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp25_ = gtk_builder_get_object (_tmp24_, "publish_button"); -#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 205 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp26_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp25_, gtk_button_get_type ()) ? ((GtkButton*) _tmp25_) : NULL); -#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 205 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (self->priv->publish_button); -#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 205 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->publish_button = _tmp26_; -#line 255 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 206 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp27_ = self->priv->builder; -#line 255 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 206 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp28_ = gtk_builder_get_object (_tmp27_, "logout_button"); -#line 255 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 206 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp29_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp28_, gtk_button_get_type ()) ? ((GtkButton*) _tmp28_) : NULL); -#line 255 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 206 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (self->priv->logout_button); -#line 255 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 206 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->logout_button = _tmp29_; -#line 257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp30_ = self->priv->publish_button; -#line 257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_connect_object (_tmp30_, "clicked", (GCallback) _publishing_yandex_publishing_options_pane_on_publish_clicked_gtk_button_clicked, self, 0); -#line 258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 209 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp31_ = self->priv->logout_button; -#line 258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 209 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_connect_object (_tmp31_, "clicked", (GCallback) _publishing_yandex_publishing_options_pane_on_logout_clicked_gtk_button_clicked, self, 0); -#line 260 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp32_ = align; -#line 260 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp33_ = self->priv->box; -#line 260 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" gtk_widget_reparent (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_widget_get_type (), GtkWidget), G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, gtk_widget_get_type (), GtkWidget)); -#line 261 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp34_ = self->priv->box; -#line 261 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp35_ = align; -#line 261 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" gtk_box_set_child_packing (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0, GTK_PACK_START); -#line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (align); -#line 2178 "YandexPublishing.c" +#line 1892 "YandexPublishing.c" } goto __finally40; __catch40_g_error: @@ -2182,50 +1896,50 @@ PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane GError* e = NULL; GError* _tmp36_ = NULL; const gchar* _tmp37_ = NULL; -#line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" e = _inner_error_; -#line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _inner_error_ = NULL; -#line 263 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp36_ = e; -#line 263 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp37_ = _tmp36_->message; -#line 263 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_warning ("YandexPublishing.vala:263: Could not load UI: %s", _tmp37_); -#line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_warning ("YandexPublishing.vala:214: Could not load UI: %s", _tmp37_); +#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_error_free0 (e); -#line 2198 "YandexPublishing.c" +#line 1912 "YandexPublishing.c" } __finally40: -#line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return NULL; -#line 2209 "YandexPublishing.c" +#line 1923 "YandexPublishing.c" } -#line 235 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return self; -#line 2213 "YandexPublishing.c" +#line 1927 "YandexPublishing.c" } PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane_new (PublishingYandexPublishOptions* options, GeeHashMap* list, SpitPublishingPluginHost* host) { -#line 235 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return publishing_yandex_publishing_options_pane_construct (PUBLISHING_YANDEX_TYPE_PUBLISHING_OPTIONS_PANE, options, list, host); -#line 2220 "YandexPublishing.c" +#line 1934 "YandexPublishing.c" } static void publishing_yandex_publishing_options_pane_on_logout_clicked (PublishingYandexPublishingOptionsPane* self) { -#line 267 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 218 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 268 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 219 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_emit_by_name (self, "logout"); -#line 2229 "YandexPublishing.c" +#line 1943 "YandexPublishing.c" } @@ -2254,136 +1968,136 @@ static void publishing_yandex_publishing_options_pane_on_publish_clicked (Publis GtkComboBoxText* _tmp19_ = NULL; PublishingYandexPublishOptions* _tmp20_ = NULL; gchar* _tmp21_ = NULL; -#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = self->priv->options; -#line 272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = self->priv->album_list; -#line 272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = gtk_combo_box_text_get_active_text (_tmp1_); -#line 272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp0_->destination_album); -#line 272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_->destination_album = _tmp2_; -#line 274 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 225 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = self->priv->builder; -#line 274 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 225 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = gtk_builder_get_object (_tmp3_, "hide_original_check"); -#line 274 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 225 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp4_) : NULL); -#line 274 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 225 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" tmp = _tmp5_; -#line 275 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 226 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = self->priv->options; -#line 275 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 226 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp7_ = tmp; -#line 275 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 226 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp8_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 275 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 226 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp9_ = _tmp8_; -#line 275 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 226 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_->hide_original = _tmp9_; -#line 277 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 228 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp10_ = self->priv->builder; -#line 277 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 228 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp11_ = gtk_builder_get_object (_tmp10_, "disable_comments_check"); -#line 277 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 228 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp12_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp11_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp11_) : NULL); -#line 277 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 228 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (tmp); -#line 277 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 228 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" tmp = _tmp12_; -#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 229 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp13_ = self->priv->options; -#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 229 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp14_ = tmp; -#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 229 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp15_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 229 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp16_ = _tmp15_; -#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 229 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp13_->disable_comments = _tmp16_; -#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 231 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp17_ = self->priv->builder; -#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 231 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp18_ = gtk_builder_get_object (_tmp17_, "access_type_list"); -#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 231 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp19_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp18_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp18_) : NULL); -#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 231 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" access_type = _tmp19_; -#line 281 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp20_ = self->priv->options; -#line 281 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp21_ = gtk_combo_box_text_get_active_text (access_type); -#line 281 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp20_->access_type); -#line 281 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp20_->access_type = _tmp21_; -#line 283 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 234 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_emit_by_name (self, "publish"); -#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (access_type); -#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (tmp); -#line 2330 "YandexPublishing.c" +#line 2044 "YandexPublishing.c" } static void publishing_yandex_publishing_options_pane_class_init (PublishingYandexPublishingOptionsPaneClass * klass) { -#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_publishing_options_pane_parent_class = g_type_class_peek_parent (klass); -#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingYandexPublishingOptionsPanePrivate)); -#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" G_OBJECT_CLASS (klass)->finalize = publishing_yandex_publishing_options_pane_finalize; -#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_new ("publish", PUBLISHING_YANDEX_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_new ("logout", PUBLISHING_YANDEX_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 2345 "YandexPublishing.c" +#line 2059 "YandexPublishing.c" } static void publishing_yandex_publishing_options_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) { -#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_publishing_options_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface); -#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) publishing_yandex_publishing_options_pane_real_get_preferred_geometry; -#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_yandex_publishing_options_pane_real_on_pane_installed; -#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_yandex_publishing_options_pane_real_on_pane_uninstalled; -#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_yandex_publishing_options_pane_real_get_widget; -#line 2360 "YandexPublishing.c" +#line 2074 "YandexPublishing.c" } static void publishing_yandex_publishing_options_pane_instance_init (PublishingYandexPublishingOptionsPane * self) { -#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv = PUBLISHING_YANDEX_PUBLISHING_OPTIONS_PANE_GET_PRIVATE (self); -#line 2367 "YandexPublishing.c" +#line 2081 "YandexPublishing.c" } static void publishing_yandex_publishing_options_pane_finalize (GObject* obj) { PublishingYandexPublishingOptionsPane * self; -#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_YANDEX_TYPE_PUBLISHING_OPTIONS_PANE, PublishingYandexPublishingOptionsPane); -#line 213 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 164 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (self->priv->box); -#line 214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 165 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (self->priv->builder); -#line 215 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 166 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (self->priv->logout_button); -#line 216 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 167 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (self->priv->publish_button); -#line 217 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 168 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (self->priv->album_list); -#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" G_OBJECT_CLASS (publishing_yandex_publishing_options_pane_parent_class)->finalize (obj); -#line 2387 "YandexPublishing.c" +#line 2101 "YandexPublishing.c" } @@ -2407,32 +2121,32 @@ PublishingYandexUploader* publishing_yandex_uploader_construct (GType object_typ SpitPublishingPublishable** _tmp1_ = NULL; gint _tmp1__length1 = 0; PublishingYandexPublishOptions* _tmp2_ = NULL; -#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (PUBLISHING_YANDEX_IS_SESSION (session), NULL); -#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (PUBLISHING_YANDEX_IS_PUBLISH_OPTIONS (options), NULL); -#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 242 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = session; -#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 242 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = photos; -#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 242 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1__length1 = photos_length1; -#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 242 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = (PublishingYandexUploader*) publishing_rest_support_batch_uploader_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, _tmp1__length1); -#line 293 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 244 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = options; -#line 293 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 244 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->options = _tmp2_; -#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return self; -#line 2429 "YandexPublishing.c" +#line 2143 "YandexPublishing.c" } PublishingYandexUploader* publishing_yandex_uploader_new (PublishingYandexSession* session, PublishingYandexPublishOptions* options, SpitPublishingPublishable** photos, int photos_length1) { -#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return publishing_yandex_uploader_construct (PUBLISHING_YANDEX_TYPE_UPLOADER, session, options, photos, photos_length1); -#line 2436 "YandexPublishing.c" +#line 2150 "YandexPublishing.c" } @@ -2446,65 +2160,65 @@ static PublishingRESTSupportTransaction* publishing_yandex_uploader_real_create_ SpitPublishingPublishable* _tmp4_ = NULL; PublishingYandexUploadTransaction* _tmp5_ = NULL; PublishingRESTSupportTransaction* _tmp6_ = NULL; -#line 296 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 247 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_UPLOADER, PublishingYandexUploader); -#line 296 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 247 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (publishable), NULL); -#line 297 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_debug ("YandexPublishing.vala:297: create transaction"); -#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 248 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_debug ("YandexPublishing.vala:248: create transaction"); +#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = publishing_rest_support_batch_uploader_get_session (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader)); -#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_YANDEX_TYPE_SESSION, PublishingYandexSession); -#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = self->priv->options; -#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = publishing_rest_support_batch_uploader_get_current_publishable (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader)); -#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = _tmp3_; -#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = publishing_yandex_upload_transaction_new (_tmp1_, _tmp2_, _tmp4_); -#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction); -#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (_tmp4_); -#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_session_unref0 (_tmp1_); -#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" result = _tmp6_; -#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 2478 "YandexPublishing.c" +#line 2192 "YandexPublishing.c" } static void publishing_yandex_uploader_class_init (PublishingYandexUploaderClass * klass) { -#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 238 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_uploader_parent_class = g_type_class_peek_parent (klass); -#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 238 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" ((PublishingRESTSupportBatchUploaderClass *) klass)->finalize = publishing_yandex_uploader_finalize; -#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 238 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingYandexUploaderPrivate)); -#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 238 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" ((PublishingRESTSupportBatchUploaderClass *) klass)->create_transaction = publishing_yandex_uploader_real_create_transaction; -#line 2491 "YandexPublishing.c" +#line 2205 "YandexPublishing.c" } static void publishing_yandex_uploader_instance_init (PublishingYandexUploader * self) { -#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 238 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv = PUBLISHING_YANDEX_UPLOADER_GET_PRIVATE (self); -#line 2498 "YandexPublishing.c" +#line 2212 "YandexPublishing.c" } static void publishing_yandex_uploader_finalize (PublishingRESTSupportBatchUploader* obj) { PublishingYandexUploader * self; -#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 238 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_YANDEX_TYPE_UPLOADER, PublishingYandexUploader); -#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 238 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" PUBLISHING_REST_SUPPORT_BATCH_UPLOADER_CLASS (publishing_yandex_uploader_parent_class)->finalize (obj); -#line 2508 "YandexPublishing.c" +#line 2222 "YandexPublishing.c" } @@ -2524,7 +2238,7 @@ static gchar* bool_to_string (gboolean self) { gchar* result = NULL; #line 37 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (self) { -#line 2528 "YandexPublishing.c" +#line 2242 "YandexPublishing.c" gchar* _tmp0_ = NULL; #line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = g_strdup ("true"); @@ -2532,7 +2246,7 @@ static gchar* bool_to_string (gboolean self) { result = _tmp0_; #line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 2536 "YandexPublishing.c" +#line 2250 "YandexPublishing.c" } else { gchar* _tmp1_ = NULL; #line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -2541,15 +2255,15 @@ static gchar* bool_to_string (gboolean self) { result = _tmp1_; #line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 2545 "YandexPublishing.c" +#line 2259 "YandexPublishing.c" } } static void _vala_SoupMultipart_free (SoupMultipart* self) { -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_boxed_free (soup_multipart_get_type (), self); -#line 2553 "YandexPublishing.c" +#line 2267 "YandexPublishing.c" } @@ -2593,27 +2307,27 @@ static guint8* string_get_data (const gchar* self, int* result_length1) { if (result_length1) { #line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result_length1 = _tmp4__length1; -#line 2597 "YandexPublishing.c" +#line 2311 "YandexPublishing.c" } #line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; #line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 2603 "YandexPublishing.c" +#line 2317 "YandexPublishing.c" } static void _g_free0_ (gpointer var) { -#line 334 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" var = (g_free (var), NULL); -#line 2610 "YandexPublishing.c" +#line 2324 "YandexPublishing.c" } static void _vala_SoupBuffer_free (SoupBuffer* self) { -#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_boxed_free (soup_buffer_get_type (), self); -#line 2617 "YandexPublishing.c" +#line 2331 "YandexPublishing.c" } @@ -2686,91 +2400,91 @@ PublishingYandexUploadTransaction* publishing_yandex_upload_transaction_construc gchar* _tmp67_ = NULL; SoupMessageHeaders* _tmp68_ = NULL; GError * _inner_error_ = NULL; -#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (PUBLISHING_YANDEX_IS_SESSION (session), NULL); -#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (PUBLISHING_YANDEX_IS_PUBLISH_OPTIONS (options), NULL); -#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (photo), NULL); -#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 255 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = session; -#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 255 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = options; -#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 255 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = _tmp1_->destination_album_url; -#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 255 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = (PublishingYandexUploadTransaction*) publishing_yandex_transaction_construct_with_url (object_type, _tmp0_, _tmp2_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST); -#line 306 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_rest_support_transaction_set_custom_payload (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "qwe", "image/jpeg", (gulong) 1); -#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 259 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = photo; -#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 259 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = spit_publishing_publishable_get_publishing_name (_tmp3_); -#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 259 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = _tmp4_; -#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 259 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = options; -#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 259 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp7_ = _tmp6_->destination_album; -#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 259 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp8_ = options; -#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 259 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp9_ = _tmp8_->destination_album_url; -#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_debug ("YandexPublishing.vala:308: Uploading '%s' -> %s : %s", _tmp5_, _tmp7_, _tmp9_); -#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 259 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_debug ("YandexPublishing.vala:259: Uploading '%s' -> %s : %s", _tmp5_, _tmp7_, _tmp9_); +#line 259 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp5_); -#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 261 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp10_ = soup_multipart_new ("multipart/form-data"); -#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 261 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" message_parts = _tmp10_; -#line 311 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 262 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp11_ = photo; -#line 311 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 262 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp12_ = spit_publishing_publishable_get_publishing_name (_tmp11_); -#line 311 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 262 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp13_ = _tmp12_; -#line 311 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 262 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" soup_multipart_append_form_string (message_parts, "title", _tmp13_); -#line 311 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 262 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp13_); -#line 312 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 263 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp14_ = options; -#line 312 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 263 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp15_ = _tmp14_->hide_original; -#line 312 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 263 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp16_ = bool_to_string (_tmp15_); -#line 312 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 263 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp17_ = _tmp16_; -#line 312 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 263 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" soup_multipart_append_form_string (message_parts, "hide_original", _tmp17_); -#line 312 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 263 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp17_); -#line 313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 264 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp18_ = options; -#line 313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 264 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp19_ = _tmp18_->disable_comments; -#line 313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 264 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp20_ = bool_to_string (_tmp19_); -#line 313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 264 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp21_ = _tmp20_; -#line 313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 264 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" soup_multipart_append_form_string (message_parts, "disable_comments", _tmp21_); -#line 313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 264 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp21_); -#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 265 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp22_ = options; -#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 265 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp23_ = _tmp22_->access_type; -#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 265 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp24_ = g_utf8_strdown (_tmp23_, (gssize) -1); -#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 265 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp25_ = _tmp24_; -#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 265 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" soup_multipart_append_form_string (message_parts, "access", _tmp25_); -#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 265 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp25_); -#line 2774 "YandexPublishing.c" +#line 2488 "YandexPublishing.c" { SpitPublishingPublishable* _tmp26_ = NULL; GFile* _tmp27_ = NULL; @@ -2779,46 +2493,46 @@ PublishingYandexUploadTransaction* publishing_yandex_upload_transaction_construc gchar* _tmp30_ = NULL; gchar* _tmp31_ = NULL; gsize _tmp32_ = 0UL; -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp26_ = photo; -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp27_ = spit_publishing_publishable_get_serialized_file (_tmp26_); -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp28_ = _tmp27_; -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp29_ = g_file_get_path (_tmp28_); -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp30_ = _tmp29_; -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_file_get_contents (_tmp30_, &_tmp31_, &_tmp32_, &_inner_error_); -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (photo_data); -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" photo_data = _tmp31_; -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" data_length = _tmp32_; -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp30_); -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (_tmp28_); -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_inner_error_->domain == G_FILE_ERROR) { -#line 2809 "YandexPublishing.c" +#line 2523 "YandexPublishing.c" goto __catch41_g_file_error; } -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (photo_data); -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" __vala_SoupMultipart_free0 (message_parts); -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" 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); -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return NULL; -#line 2822 "YandexPublishing.c" +#line 2536 "YandexPublishing.c" } } goto __finally41; @@ -2832,170 +2546,170 @@ PublishingYandexUploadTransaction* publishing_yandex_upload_transaction_construc gchar* _tmp37_ = NULL; GError* _tmp38_ = NULL; const gchar* _tmp39_ = NULL; -#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 270 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" e = _inner_error_; -#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 270 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _inner_error_ = NULL; -#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 273 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp33_ = photo; -#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 273 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp34_ = spit_publishing_publishable_get_serialized_file (_tmp33_); -#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 273 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp35_ = _tmp34_; -#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 273 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp36_ = g_file_get_path (_tmp35_); -#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 273 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp37_ = _tmp36_; -#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 273 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp38_ = e; -#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 273 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp39_ = _tmp38_->message; -#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_critical ("YandexPublishing.vala:322: Failed to read data file '%s': %s", _tmp37_, _tmp39_); -#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 273 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_critical ("YandexPublishing.vala:273: Failed to read data file '%s': %s", _tmp37_, _tmp39_); +#line 273 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp37_); -#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 273 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (_tmp35_); -#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 270 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_error_free0 (e); -#line 2862 "YandexPublishing.c" +#line 2576 "YandexPublishing.c" } __finally41: -#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 270 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 270 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (photo_data); -#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 270 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" __vala_SoupMultipart_free0 (message_parts); -#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 270 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 270 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 270 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return NULL; -#line 2877 "YandexPublishing.c" +#line 2591 "YandexPublishing.c" } -#line 325 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 276 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp40_ = soup_multipart_get_length (message_parts); -#line 325 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 276 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" image_part_num = _tmp40_; -#line 327 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp41_ = string_get_data (photo_data, &_tmp41__length1); -#line 327 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp42_ = _tmp41_; -#line 327 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp42__length1 = _tmp41__length1; -#line 327 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp43_ = soup_buffer_new (SOUP_MEMORY_COPY, _tmp42_ + 0, ((gint) data_length) - 0); -#line 327 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" bindable_data = _tmp43_; -#line 328 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp44_ = photo; -#line 328 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp45_ = spit_publishing_publishable_get_serialized_file (_tmp44_); -#line 328 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp46_ = _tmp45_; -#line 328 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp47_ = g_file_get_path (_tmp46_); -#line 328 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp48_ = _tmp47_; -#line 328 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" soup_multipart_append_form_file (message_parts, "", _tmp48_, "image/jpeg", bindable_data); -#line 328 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp48_); -#line 328 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (_tmp46_); -#line 332 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 283 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" soup_multipart_get_part (message_parts, image_part_num, &_tmp49_, &_tmp50_); -#line 332 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 283 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" image_part_header = _tmp49_; -#line 332 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 283 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" image_part_body = _tmp50_; -#line 334 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp51_ = g_str_hash; -#line 334 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp52_ = g_str_equal; -#line 334 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp53_ = g_hash_table_new_full (_tmp51_, _tmp52_, _g_free0_, _g_free0_); -#line 334 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _result_ = _tmp53_; -#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 286 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp54_ = g_strdup ("name"); -#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 286 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp55_ = g_strdup ("image"); -#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 286 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_hash_table_insert (_result_, _tmp54_, _tmp55_); -#line 336 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp56_ = g_strdup ("filename"); -#line 336 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp57_ = g_strdup ("unused"); -#line 336 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_hash_table_insert (_result_, _tmp56_, _tmp57_); -#line 338 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 289 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" soup_message_headers_set_content_disposition (image_part_header, "form-data", _result_); -#line 340 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp58_ = publishing_rest_support_transaction_get_endpoint_url (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction)); -#line 340 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp59_ = _tmp58_; -#line 340 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp60_ = soup_form_request_new_from_multipart (_tmp59_, message_parts); -#line 340 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp61_ = _tmp60_; -#line 340 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp59_); -#line 340 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" outbound_message = _tmp61_; -#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp62_ = outbound_message->request_headers; -#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp63_ = session; -#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp64_ = publishing_yandex_session_get_auth_token (_tmp63_); -#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp65_ = _tmp64_; -#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp66_ = g_strdup_printf ("OAuth %s", _tmp65_); -#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp67_ = _tmp66_; -#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" soup_message_headers_append (_tmp62_, "Authorization", _tmp67_); -#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp67_); -#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp65_); -#line 342 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 293 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp68_ = outbound_message->request_headers; -#line 342 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 293 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" soup_message_headers_append (_tmp68_, "Connection", "close"); -#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 294 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_rest_support_transaction_set_message (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), outbound_message); -#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (outbound_message); -#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_hash_table_unref0 (_result_); -#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" __vala_SoupBuffer_free0 (bindable_data); -#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (photo_data); -#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" __vala_SoupMultipart_free0 (message_parts); -#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return self; -#line 2985 "YandexPublishing.c" +#line 2699 "YandexPublishing.c" } PublishingYandexUploadTransaction* publishing_yandex_upload_transaction_new (PublishingYandexSession* session, PublishingYandexPublishOptions* options, SpitPublishingPublishable* photo) { -#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return publishing_yandex_upload_transaction_construct (PUBLISHING_YANDEX_TYPE_UPLOAD_TRANSACTION, session, options, photo); -#line 2992 "YandexPublishing.c" +#line 2706 "YandexPublishing.c" } static void publishing_yandex_upload_transaction_class_init (PublishingYandexUploadTransactionClass * klass) { -#line 302 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 253 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_upload_transaction_parent_class = g_type_class_peek_parent (klass); -#line 2999 "YandexPublishing.c" +#line 2713 "YandexPublishing.c" } @@ -3022,48 +2736,48 @@ PublishingYandexYandexPublisher* publishing_yandex_yandex_publisher_construct (G PublishingYandexSession* _tmp2_ = NULL; GeeHashMap* _tmp3_ = NULL; PublishingYandexPublishOptions* _tmp4_ = NULL; -#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_SERVICE (service), NULL); -#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (host), NULL); -#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = (PublishingYandexYandexPublisher*) g_object_new (object_type, NULL); -#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 315 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = service; -#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 315 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->service = _tmp0_; -#line 365 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = host; -#line 365 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->host = _tmp1_; -#line 366 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 317 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = publishing_yandex_session_new (); -#line 366 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 317 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_session_unref0 (self->priv->session); -#line 366 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 317 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->session = _tmp2_; -#line 367 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 318 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -#line 367 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 318 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (self->priv->album_list); -#line 367 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 318 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->album_list = _tmp3_; -#line 368 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = publishing_yandex_publish_options_new (); -#line 368 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_yandex_publish_options_unref0 (self->priv->options); -#line 368 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->options = _tmp4_; -#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return self; -#line 3060 "YandexPublishing.c" +#line 2774 "YandexPublishing.c" } PublishingYandexYandexPublisher* publishing_yandex_yandex_publisher_new (SpitPublishingService* service, SpitPublishingPluginHost* host) { -#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return publishing_yandex_yandex_publisher_construct (PUBLISHING_YANDEX_TYPE_YANDEX_PUBLISHER, service, host); -#line 3067 "YandexPublishing.c" +#line 2781 "YandexPublishing.c" } @@ -3071,46 +2785,46 @@ gchar* publishing_yandex_yandex_publisher_get_persistent_auth_token (PublishingY gchar* result = NULL; SpitPublishingPluginHost* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self), NULL); -#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 323 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = self->priv->host; -#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 323 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = spit_host_interface_get_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "auth_token", NULL); -#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 323 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" result = _tmp1_; -#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 323 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 3085 "YandexPublishing.c" +#line 2799 "YandexPublishing.c" } void publishing_yandex_yandex_publisher_set_persistent_auth_token (PublishingYandexYandexPublisher* self, const gchar* auth_token) { SpitPublishingPluginHost* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 326 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 326 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (auth_token != NULL); -#line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 327 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = self->priv->host; -#line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 327 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = auth_token; -#line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 327 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_host_interface_set_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "auth_token", _tmp1_); -#line 3102 "YandexPublishing.c" +#line 2816 "YandexPublishing.c" } void publishing_yandex_yandex_publisher_invalidate_persistent_session (PublishingYandexYandexPublisher* self) { SpitPublishingPluginHost* _tmp0_ = NULL; -#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 331 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = self->priv->host; -#line 380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 331 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_host_interface_unset_config_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "auth_token"); -#line 3114 "YandexPublishing.c" +#line 2828 "YandexPublishing.c" } @@ -3119,21 +2833,21 @@ gboolean publishing_yandex_yandex_publisher_is_persistent_session_available (Pub gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 334 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self), FALSE); -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = publishing_yandex_yandex_publisher_get_persistent_auth_token (self); -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = _tmp0_; -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = _tmp1_ != NULL; -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp1_); -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" result = _tmp2_; -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 3137 "YandexPublishing.c" +#line 2851 "YandexPublishing.c" } @@ -3141,15 +2855,15 @@ static gboolean publishing_yandex_yandex_publisher_real_is_running (SpitPublishi PublishingYandexYandexPublisher * self; gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 387 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 338 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_YANDEX_PUBLISHER, PublishingYandexYandexPublisher); -#line 388 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 339 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = self->priv->running; -#line 388 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 339 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" result = _tmp0_; -#line 388 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 339 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 3153 "YandexPublishing.c" +#line 2867 "YandexPublishing.c" } @@ -3158,62 +2872,62 @@ static SpitPublishingService* publishing_yandex_yandex_publisher_real_get_servic SpitPublishingService* result = NULL; SpitPublishingService* _tmp0_ = NULL; SpitPublishingService* _tmp1_ = NULL; -#line 391 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 342 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_YANDEX_PUBLISHER, PublishingYandexYandexPublisher); -#line 392 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = self->priv->service; -#line 392 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 392 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" result = _tmp1_; -#line 392 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 3172 "YandexPublishing.c" +#line 2886 "YandexPublishing.c" } static gchar* publishing_yandex_yandex_publisher_check_response (PublishingYandexYandexPublisher* self, PublishingRESTSupportXmlDocument* doc) { gchar* result = NULL; -#line 395 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 346 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self), NULL); -#line 395 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 346 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_XML_DOCUMENT (doc), NULL); -#line 396 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" result = NULL; -#line 396 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 3186 "YandexPublishing.c" +#line 2900 "YandexPublishing.c" } static void publishing_yandex_yandex_publisher_parse_album_entry (PublishingYandexYandexPublisher* self, xmlNode* e, GError** error) { gchar* title = NULL; gchar* link = NULL; -#line 399 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 400 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 351 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" title = NULL; -#line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 352 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" link = NULL; -#line 3199 "YandexPublishing.c" +#line 2913 "YandexPublishing.c" { xmlNode* c = NULL; xmlNode* _tmp0_ = NULL; xmlNode* _tmp1_ = NULL; -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = e; -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = _tmp0_->children; -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" c = _tmp1_; -#line 3210 "YandexPublishing.c" +#line 2924 "YandexPublishing.c" { gboolean _tmp2_ = FALSE; -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = TRUE; -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" while (TRUE) { -#line 3217 "YandexPublishing.c" +#line 2931 "YandexPublishing.c" xmlNode* _tmp5_ = NULL; xmlNode* _tmp6_ = NULL; const gchar* _tmp7_ = NULL; @@ -3222,156 +2936,156 @@ static void publishing_yandex_yandex_publisher_parse_album_entry (PublishingYand const gchar* _tmp12_ = NULL; gboolean _tmp18_ = FALSE; const gchar* _tmp19_ = NULL; -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (!_tmp2_) { -#line 3228 "YandexPublishing.c" +#line 2942 "YandexPublishing.c" xmlNode* _tmp3_ = NULL; xmlNode* _tmp4_ = NULL; -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = c; -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = _tmp3_->next; -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" c = _tmp4_; -#line 3237 "YandexPublishing.c" +#line 2951 "YandexPublishing.c" } -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = FALSE; -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = c; -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (!(_tmp5_ != NULL)) { -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" break; -#line 3247 "YandexPublishing.c" +#line 2961 "YandexPublishing.c" } -#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 355 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = c; -#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 355 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp7_ = _tmp6_->name; -#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 355 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (g_strcmp0 (_tmp7_, "title") == 0) { -#line 3255 "YandexPublishing.c" +#line 2969 "YandexPublishing.c" xmlNode* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 405 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 356 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp8_ = c; -#line 405 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 356 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp9_ = (gchar*) xmlNodeGetContent (_tmp8_); -#line 405 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 356 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (title); -#line 405 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 356 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" title = _tmp9_; -#line 3266 "YandexPublishing.c" +#line 2980 "YandexPublishing.c" } -#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp11_ = c; -#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp12_ = _tmp11_->name; -#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (g_strcmp0 (_tmp12_, "link") == 0) { -#line 3274 "YandexPublishing.c" +#line 2988 "YandexPublishing.c" xmlNode* _tmp13_ = NULL; gchar* _tmp14_ = NULL; gchar* _tmp15_ = NULL; -#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp13_ = c; -#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp14_ = (gchar*) xmlGetProp (_tmp13_, (xmlChar*) "rel"); -#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp15_ = _tmp14_; -#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp10_ = g_strcmp0 (_tmp15_, "photos") == 0; -#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp15_); -#line 3288 "YandexPublishing.c" +#line 3002 "YandexPublishing.c" } else { -#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp10_ = FALSE; -#line 3292 "YandexPublishing.c" +#line 3006 "YandexPublishing.c" } -#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_tmp10_) { -#line 3296 "YandexPublishing.c" +#line 3010 "YandexPublishing.c" xmlNode* _tmp16_ = NULL; gchar* _tmp17_ = NULL; -#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp16_ = c; -#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp17_ = (gchar*) xmlGetProp (_tmp16_, (xmlChar*) "href"); -#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (link); -#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" link = _tmp17_; -#line 3307 "YandexPublishing.c" +#line 3021 "YandexPublishing.c" } -#line 410 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp19_ = title; -#line 410 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_tmp19_ != NULL) { -#line 3313 "YandexPublishing.c" +#line 3027 "YandexPublishing.c" const gchar* _tmp20_ = NULL; -#line 410 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp20_ = link; -#line 410 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp18_ = _tmp20_ != NULL; -#line 3319 "YandexPublishing.c" +#line 3033 "YandexPublishing.c" } else { -#line 410 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp18_ = FALSE; -#line 3323 "YandexPublishing.c" +#line 3037 "YandexPublishing.c" } -#line 410 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_tmp18_) { -#line 3327 "YandexPublishing.c" +#line 3041 "YandexPublishing.c" const gchar* _tmp21_ = NULL; const gchar* _tmp22_ = NULL; GeeHashMap* _tmp23_ = NULL; const gchar* _tmp24_ = NULL; const gchar* _tmp25_ = NULL; -#line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 362 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp21_ = title; -#line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 362 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp22_ = link; -#line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_debug ("YandexPublishing.vala:411: Added album: '%s', link: %s", _tmp21_, _tmp22_); -#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 362 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_debug ("YandexPublishing.vala:362: Added album: '%s', link: %s", _tmp21_, _tmp22_); +#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp23_ = self->priv->album_list; -#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp24_ = title; -#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp25_ = link; -#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp24_, _tmp25_); -#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (title); -#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" title = NULL; -#line 414 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 365 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (link); -#line 414 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 365 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" link = NULL; -#line 415 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 366 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" break; -#line 3357 "YandexPublishing.c" +#line 3071 "YandexPublishing.c" } } } } -#line 399 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (link); -#line 399 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (title); -#line 3366 "YandexPublishing.c" +#line 3080 "YandexPublishing.c" } static gchar* _publishing_yandex_yandex_publisher_check_response_publishing_rest_support_xml_document_check_for_error_response (PublishingRESTSupportXmlDocument* doc, gpointer self) { gchar* result; result = publishing_yandex_yandex_publisher_check_response ((PublishingYandexYandexPublisher*) self, doc); -#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return result; -#line 3375 "YandexPublishing.c" +#line 3089 "YandexPublishing.c" } @@ -3384,71 +3098,71 @@ void publishing_yandex_yandex_publisher_parse_album_creation (PublishingYandexYa xmlNode* _tmp3_ = NULL; xmlNode* _tmp4_ = NULL; GError * _inner_error_ = NULL; -#line 420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (data != NULL); -#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = data; -#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = publishing_rest_support_xml_document_parse_string (_tmp0_, _publishing_yandex_yandex_publisher_check_response_publishing_rest_support_xml_document_check_for_error_response, self, &_inner_error_); -#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" doc = _tmp1_; -#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_propagate_error (error, _inner_error_); -#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 3406 "YandexPublishing.c" +#line 3120 "YandexPublishing.c" } else { -#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 3414 "YandexPublishing.c" +#line 3128 "YandexPublishing.c" } } -#line 422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = doc; -#line 422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = publishing_rest_support_xml_document_get_root_node (_tmp2_); -#line 422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" root = _tmp3_; -#line 424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = root; -#line 424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_parse_album_entry (self, _tmp4_, &_inner_error_); -#line 424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_propagate_error (error, _inner_error_); -#line 424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 3437 "YandexPublishing.c" +#line 3151 "YandexPublishing.c" } else { -#line 424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 3447 "YandexPublishing.c" +#line 3161 "YandexPublishing.c" } } -#line 420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 3452 "YandexPublishing.c" +#line 3166 "YandexPublishing.c" } @@ -3460,144 +3174,144 @@ void publishing_yandex_yandex_publisher_parse_album_list (PublishingYandexYandex PublishingRESTSupportXmlDocument* _tmp2_ = NULL; xmlNode* _tmp3_ = NULL; GError * _inner_error_ = NULL; -#line 427 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 378 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 427 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 378 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (data != NULL); -#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = data; -#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = publishing_rest_support_xml_document_parse_string (_tmp0_, _publishing_yandex_yandex_publisher_check_response_publishing_rest_support_xml_document_check_for_error_response, self, &_inner_error_); -#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" doc = _tmp1_; -#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_propagate_error (error, _inner_error_); -#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 3482 "YandexPublishing.c" +#line 3196 "YandexPublishing.c" } else { -#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 3490 "YandexPublishing.c" +#line 3204 "YandexPublishing.c" } } -#line 429 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = doc; -#line 429 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = publishing_rest_support_xml_document_get_root_node (_tmp2_); -#line 429 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" root = _tmp3_; -#line 3499 "YandexPublishing.c" +#line 3213 "YandexPublishing.c" { xmlNode* e = NULL; xmlNode* _tmp4_ = NULL; xmlNode* _tmp5_ = NULL; -#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = root; -#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = _tmp4_->children; -#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" e = _tmp5_; -#line 3510 "YandexPublishing.c" +#line 3224 "YandexPublishing.c" { gboolean _tmp6_ = FALSE; -#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = TRUE; -#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" while (TRUE) { -#line 3517 "YandexPublishing.c" +#line 3231 "YandexPublishing.c" xmlNode* _tmp9_ = NULL; xmlNode* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; xmlNode* _tmp12_ = NULL; -#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (!_tmp6_) { -#line 3524 "YandexPublishing.c" +#line 3238 "YandexPublishing.c" xmlNode* _tmp7_ = NULL; xmlNode* _tmp8_ = NULL; -#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp7_ = e; -#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp8_ = _tmp7_->next; -#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" e = _tmp8_; -#line 3533 "YandexPublishing.c" +#line 3247 "YandexPublishing.c" } -#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = FALSE; -#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp9_ = e; -#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (!(_tmp9_ != NULL)) { -#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" break; -#line 3543 "YandexPublishing.c" +#line 3257 "YandexPublishing.c" } -#line 432 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp10_ = e; -#line 432 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp11_ = _tmp10_->name; -#line 432 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (g_strcmp0 (_tmp11_, "entry") != 0) { -#line 433 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" continue; -#line 3553 "YandexPublishing.c" +#line 3267 "YandexPublishing.c" } -#line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp12_ = e; -#line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_parse_album_entry (self, _tmp12_, &_inner_error_); -#line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_propagate_error (error, _inner_error_); -#line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 3569 "YandexPublishing.c" +#line 3283 "YandexPublishing.c" } else { -#line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 3579 "YandexPublishing.c" +#line 3293 "YandexPublishing.c" } } } } } -#line 427 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 378 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 3587 "YandexPublishing.c" +#line 3301 "YandexPublishing.c" } static void _publishing_yandex_yandex_publisher_album_creation_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) { -#line 440 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 391 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_album_creation_complete ((PublishingYandexYandexPublisher*) self, _sender); -#line 3594 "YandexPublishing.c" +#line 3308 "YandexPublishing.c" } static void _publishing_yandex_yandex_publisher_album_creation_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) { -#line 441 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 392 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_album_creation_error ((PublishingYandexYandexPublisher*) self, _sender, err); -#line 3601 "YandexPublishing.c" +#line 3315 "YandexPublishing.c" } @@ -3608,29 +3322,29 @@ static void publishing_yandex_yandex_publisher_album_creation_error (PublishingY guint _tmp3_ = 0U; GError* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; -#line 439 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 390 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 439 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 390 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (t)); -#line 440 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 391 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = t; -#line 440 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 391 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 440 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 391 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_album_creation_complete_publishing_rest_support_transaction_completed, self); -#line 441 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 392 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = t; -#line 441 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 392 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 441 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 392 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_album_creation_error_publishing_rest_support_transaction_network_error, self); -#line 443 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 394 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = err; -#line 443 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 394 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = _tmp4_->message; -#line 443 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_warning ("YandexPublishing.vala:443: Album creation error: %s", _tmp5_); -#line 3634 "YandexPublishing.c" +#line 394 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_warning ("YandexPublishing.vala:394: Album creation error: %s", _tmp5_); +#line 3348 "YandexPublishing.c" } @@ -3646,51 +3360,51 @@ static void publishing_yandex_yandex_publisher_album_creation_complete (Publishi gchar* _tmp13_ = NULL; gboolean _tmp14_ = FALSE; GError * _inner_error_ = NULL; -#line 446 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 397 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 446 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 397 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (t)); -#line 447 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 398 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = t; -#line 447 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 398 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 447 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 398 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_album_creation_complete_publishing_rest_support_transaction_completed, self); -#line 448 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 399 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = t; -#line 448 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 399 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 448 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 399 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_album_creation_error_publishing_rest_support_transaction_network_error, self); -#line 3666 "YandexPublishing.c" +#line 3380 "YandexPublishing.c" { PublishingRESTSupportTransaction* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = t; -#line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = publishing_rest_support_transaction_get_response (_tmp4_); -#line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = _tmp5_; -#line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_parse_album_creation (self, _tmp6_, &_inner_error_); -#line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp6_); -#line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3685 "YandexPublishing.c" +#line 3399 "YandexPublishing.c" goto __catch42_spit_publishing_publishing_error; } -#line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" 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); -#line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 3694 "YandexPublishing.c" +#line 3408 "YandexPublishing.c" } } goto __finally42; @@ -3699,67 +3413,67 @@ static void publishing_yandex_yandex_publisher_album_creation_complete (Publishi GError* err = NULL; SpitPublishingPluginHost* _tmp7_ = NULL; GError* _tmp8_ = NULL; -#line 450 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" err = _inner_error_; -#line 450 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _inner_error_ = NULL; -#line 453 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp7_ = self->priv->host; -#line 453 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp8_ = err; -#line 453 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_post_error (_tmp7_, _tmp8_); -#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 405 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_error_free0 (err); -#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 405 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 3717 "YandexPublishing.c" +#line 3431 "YandexPublishing.c" } __finally42: -#line 450 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 450 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 450 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 450 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 3728 "YandexPublishing.c" +#line 3442 "YandexPublishing.c" } -#line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp9_ = self->priv->album_list; -#line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp10_ = self->priv->options; -#line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp11_ = _tmp10_->destination_album; -#line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp12_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp11_); -#line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp13_ = (gchar*) _tmp12_; -#line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp14_ = _tmp13_ != NULL; -#line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp13_); -#line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_tmp14_) { -#line 458 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 409 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_start_upload (self); -#line 3748 "YandexPublishing.c" +#line 3462 "YandexPublishing.c" } else { SpitPublishingPluginHost* _tmp15_ = NULL; GError* _tmp16_ = NULL; GError* _tmp17_ = NULL; -#line 460 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp15_ = self->priv->host; -#line 460 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp16_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_PROTOCOL_ERROR, "Server did not create album"); -#line 460 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp17_ = _tmp16_; -#line 460 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_post_error (_tmp15_, _tmp17_); -#line 460 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_error_free0 (_tmp17_); -#line 3763 "YandexPublishing.c" +#line 3477 "YandexPublishing.c" } } @@ -3776,59 +3490,59 @@ static void publishing_yandex_yandex_publisher_create_destination_album (Publish const gchar* _tmp5_ = NULL; PublishingYandexTransaction* _tmp6_ = NULL; GError * _inner_error_ = NULL; -#line 463 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 414 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 415 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = self->priv->options; -#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 415 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = _tmp0_->destination_album; -#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 415 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = g_strdup (_tmp1_); -#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 415 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" album = _tmp2_; -#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = g_strdup_printf ("<entry xmlns=\"http://www.w3.org/2005/Atom\" xmlns:f=\"yandex:fotki\">" \ "<title>%s</title></entry>", album); -#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" data = _tmp3_; -#line 467 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 418 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = self->priv->session; -#line 467 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 418 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = self->priv->service_url; -#line 467 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 418 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = publishing_yandex_transaction_new_with_url (_tmp4_, _tmp5_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST); -#line 467 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 418 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" t = _tmp6_; -#line 469 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_transaction_add_data (t, "application/atom+xml; charset=utf-8; type=entry", data); -#line 471 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_yandex_yandex_publisher_album_creation_complete_publishing_rest_support_transaction_completed, self, 0); -#line 472 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 423 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_yandex_yandex_publisher_album_creation_error_publishing_rest_support_transaction_network_error, self, 0); -#line 3808 "YandexPublishing.c" +#line 3522 "YandexPublishing.c" { -#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); -#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3816 "YandexPublishing.c" +#line 3530 "YandexPublishing.c" goto __catch43_spit_publishing_publishing_error; } -#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_transaction_unref0 (t); -#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (data); -#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (album); -#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" 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); -#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 3831 "YandexPublishing.c" +#line 3545 "YandexPublishing.c" } } goto __finally43; @@ -3837,58 +3551,58 @@ static void publishing_yandex_yandex_publisher_create_destination_album (Publish GError* err = NULL; SpitPublishingPluginHost* _tmp7_ = NULL; GError* _tmp8_ = NULL; -#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" err = _inner_error_; -#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _inner_error_ = NULL; -#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp7_ = self->priv->host; -#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp8_ = err; -#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_post_error (_tmp7_, _tmp8_); -#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_error_free0 (err); -#line 3852 "YandexPublishing.c" +#line 3566 "YandexPublishing.c" } __finally43: -#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_transaction_unref0 (t); -#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (data); -#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (album); -#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 3869 "YandexPublishing.c" +#line 3583 "YandexPublishing.c" } -#line 463 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 414 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_transaction_unref0 (t); -#line 463 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 414 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (data); -#line 463 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 414 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (album); -#line 3877 "YandexPublishing.c" +#line 3591 "YandexPublishing.c" } static void _publishing_yandex_yandex_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete (PublishingRESTSupportBatchUploader* _sender, gint num_photos_published, gpointer self) { -#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 433 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_on_upload_complete ((PublishingYandexYandexPublisher*) self, _sender, num_photos_published); -#line 3884 "YandexPublishing.c" +#line 3598 "YandexPublishing.c" } static void _publishing_yandex_yandex_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error (PublishingRESTSupportBatchUploader* _sender, GError* err, gpointer self) { -#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_on_upload_error ((PublishingYandexYandexPublisher*) self, _sender, err); -#line 3891 "YandexPublishing.c" +#line 3605 "YandexPublishing.c" } @@ -3900,51 +3614,51 @@ static void publishing_yandex_yandex_publisher_on_upload_complete (PublishingYan gint _tmp4_ = 0; SpitPublishingPluginHost* _tmp8_ = NULL; SpitPublishingPluginHost* _tmp9_ = NULL; -#line 481 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 432 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 481 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 432 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_BATCH_UPLOADER (uploader)); -#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 433 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = uploader; -#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 433 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("upload-complete", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, &_tmp1_, NULL, FALSE); -#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 433 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete, self); -#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = uploader; -#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("upload-error", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, &_tmp3_, NULL, FALSE); -#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error, self); -#line 485 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 436 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = num_published; -#line 485 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 436 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_tmp4_ == 0) { -#line 3923 "YandexPublishing.c" +#line 3637 "YandexPublishing.c" SpitPublishingPluginHost* _tmp5_ = NULL; GError* _tmp6_ = NULL; GError* _tmp7_ = NULL; -#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 437 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = self->priv->host; -#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 437 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR, ""); -#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 437 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp7_ = _tmp6_; -#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 437 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_post_error (_tmp5_, _tmp7_); -#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 437 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_error_free0 (_tmp7_); -#line 3937 "YandexPublishing.c" +#line 3651 "YandexPublishing.c" } -#line 488 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 439 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp8_ = self->priv->host; -#line 488 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 439 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_set_service_locked (_tmp8_, FALSE); -#line 490 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 441 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp9_ = self->priv->host; -#line 490 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 441 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_install_success_pane (_tmp9_); -#line 3947 "YandexPublishing.c" +#line 3661 "YandexPublishing.c" } @@ -3955,29 +3669,29 @@ static void publishing_yandex_yandex_publisher_on_upload_error (PublishingYandex guint _tmp3_ = 0U; GError* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; -#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 444 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 444 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_BATCH_UPLOADER (uploader)); -#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 445 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = uploader; -#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 445 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("upload-complete", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, &_tmp1_, NULL, FALSE); -#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 445 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete, self); -#line 495 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 446 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = uploader; -#line 495 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 446 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("upload-error", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, &_tmp3_, NULL, FALSE); -#line 495 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 446 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error, self); -#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 448 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = err; -#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 448 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = _tmp4_->message; -#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_warning ("YandexPublishing.vala:497: Photo upload error: %s", _tmp5_); -#line 3980 "YandexPublishing.c" +#line 448 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_warning ("YandexPublishing.vala:448: Photo upload error: %s", _tmp5_); +#line 3694 "YandexPublishing.c" } @@ -3989,37 +3703,37 @@ static void publishing_yandex_yandex_publisher_on_upload_status_updated (Publish void* _tmp2__target = NULL; gint _tmp3_ = 0; gdouble _tmp4_ = 0.0; -#line 500 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 501 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 452 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = completed_fraction; -#line 501 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_debug ("YandexPublishing.vala:501: EVENT: uploader reports upload %.2f percent" \ +#line 452 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_debug ("YandexPublishing.vala:452: EVENT: uploader reports upload %.2f percent" \ " complete.", 100.0 * _tmp0_); -#line 503 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = self->priv->progress_reporter; -#line 503 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1__target = self->priv->progress_reporter_target; -#line 503 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _vala_assert (_tmp1_ != NULL, "progress_reporter != null"); -#line 505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 456 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = self->priv->progress_reporter; -#line 505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 456 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2__target = self->priv->progress_reporter_target; -#line 505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 456 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = file_number; -#line 505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 456 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = completed_fraction; -#line 505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 456 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ (_tmp3_, _tmp4_, _tmp2__target); -#line 4014 "YandexPublishing.c" +#line 3728 "YandexPublishing.c" } static void _publishing_yandex_yandex_publisher_on_upload_status_updated_spit_publishing_progress_callback (gint file_number, gdouble fraction_complete, gpointer self) { -#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 470 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_on_upload_status_updated ((PublishingYandexYandexPublisher*) self, file_number, fraction_complete); -#line 4021 "YandexPublishing.c" +#line 3735 "YandexPublishing.c" } @@ -4044,100 +3758,100 @@ static void publishing_yandex_yandex_publisher_start_upload (PublishingYandexYan PublishingYandexSession* _tmp13_ = NULL; PublishingYandexPublishOptions* _tmp14_ = NULL; PublishingYandexUploader* _tmp15_ = NULL; -#line 508 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 459 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 509 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 460 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = self->priv->host; -#line 509 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 460 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_set_service_locked (_tmp0_, TRUE); -#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 462 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = self->priv->host; -#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 462 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = spit_publishing_plugin_host_serialize_publishables (_tmp1_, 0, FALSE, &_tmp2_, &_tmp3_); -#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 462 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" (self->priv->progress_reporter_target_destroy_notify == NULL) ? NULL : (self->priv->progress_reporter_target_destroy_notify (self->priv->progress_reporter_target), NULL); -#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 462 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->progress_reporter = NULL; -#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 462 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->progress_reporter_target = NULL; -#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 462 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->progress_reporter_target_destroy_notify = NULL; -#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 462 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->progress_reporter = _tmp4_; -#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 462 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->progress_reporter_target = _tmp2_; -#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 462 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->progress_reporter_target_destroy_notify = _tmp3_; -#line 513 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = self->priv->options; -#line 513 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = self->priv->album_list; -#line 513 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp7_ = self->priv->options; -#line 513 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp8_ = _tmp7_->destination_album; -#line 513 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp9_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp8_); -#line 513 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp5_->destination_album_url); -#line 513 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_->destination_album_url = (gchar*) _tmp9_; -#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp10_ = self->priv->host; -#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp12_ = spit_publishing_plugin_host_get_publishables (_tmp10_, &_tmp11_); -#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishables = _tmp12_; -#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishables_length1 = _tmp11_; -#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishables_size_ = publishables_length1; -#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 466 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp13_ = self->priv->session; -#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 466 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp14_ = self->priv->options; -#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 466 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp15_ = publishing_yandex_uploader_new (_tmp13_, _tmp14_, publishables, publishables_length1); -#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 466 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" uploader = _tmp15_; -#line 517 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 468 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (uploader, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader), "upload-complete", (GCallback) _publishing_yandex_yandex_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete, self, 0); -#line 518 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 469 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (uploader, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader), "upload-error", (GCallback) _publishing_yandex_yandex_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error, self, 0); -#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 470 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_rest_support_batch_uploader_upload (G_TYPE_CHECK_INSTANCE_CAST (uploader, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader), _publishing_yandex_yandex_publisher_on_upload_status_updated_spit_publishing_progress_callback, self); -#line 508 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 459 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_batch_uploader_unref0 (uploader); -#line 508 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 459 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishables = (_vala_array_free (publishables, publishables_length1, (GDestroyNotify) g_object_unref), NULL); -#line 4112 "YandexPublishing.c" +#line 3826 "YandexPublishing.c" } static void publishing_yandex_yandex_publisher_on_logout (PublishingYandexYandexPublisher* self) { gboolean _tmp0_ = FALSE; PublishingYandexSession* _tmp1_ = NULL; -#line 522 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 473 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = spit_publishing_publisher_is_running (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher)); -#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (!_tmp0_) { -#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 4127 "YandexPublishing.c" +#line 3841 "YandexPublishing.c" } -#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = self->priv->session; -#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_session_deauthenticate (_tmp1_); -#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_invalidate_persistent_session (self); -#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 480 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->running = FALSE; -#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_publisher_start (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher)); -#line 4139 "YandexPublishing.c" +#line 3853 "YandexPublishing.c" } @@ -4155,64 +3869,64 @@ static void publishing_yandex_yandex_publisher_on_publish (PublishingYandexYande gpointer _tmp10_ = NULL; gchar* _tmp11_ = NULL; gboolean _tmp12_ = FALSE; -#line 534 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 485 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = self->priv->options; -#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = _tmp0_->destination_album; -#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = self->priv->album_list; -#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = self->priv->options; -#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = _tmp3_->destination_album; -#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp4_); -#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = (gchar*) _tmp5_; -#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_debug ("YandexPublishing.vala:535: Going to publish to '%s' : %s", _tmp1_, _tmp6_); -#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_debug ("YandexPublishing.vala:486: Going to publish to '%s' : %s", _tmp1_, _tmp6_); +#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp6_); -#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp7_ = self->priv->album_list; -#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp8_ = self->priv->options; -#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp9_ = _tmp8_->destination_album; -#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp10_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp9_); -#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp11_ = (gchar*) _tmp10_; -#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp12_ = _tmp11_ == NULL; -#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp11_); -#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_tmp12_) { -#line 537 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 488 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_create_destination_album (self); -#line 4195 "YandexPublishing.c" +#line 3909 "YandexPublishing.c" } else { -#line 539 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 490 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_start_upload (self); -#line 4199 "YandexPublishing.c" +#line 3913 "YandexPublishing.c" } } static void _publishing_yandex_yandex_publisher_service_get_album_list_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) { -#line 543 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_service_get_album_list_complete ((PublishingYandexYandexPublisher*) self, _sender); -#line 4207 "YandexPublishing.c" +#line 3921 "YandexPublishing.c" } static void _publishing_yandex_yandex_publisher_service_get_album_list_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) { -#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 495 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_service_get_album_list_error ((PublishingYandexYandexPublisher*) self, _sender, err); -#line 4214 "YandexPublishing.c" +#line 3928 "YandexPublishing.c" } @@ -4223,45 +3937,45 @@ void publishing_yandex_yandex_publisher_service_get_album_list_error (Publishing guint _tmp3_ = 0U; GError* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; -#line 542 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 542 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (t)); -#line 543 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = t; -#line 543 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 543 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_service_get_album_list_complete_publishing_rest_support_transaction_completed, self); -#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 495 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = t; -#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 495 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 495 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_service_get_album_list_error_publishing_rest_support_transaction_network_error, self); -#line 546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_invalidate_persistent_session (self); -#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = err; -#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = _tmp4_->message; -#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_warning ("YandexPublishing.vala:547: Failed to get album list: %s", _tmp5_); -#line 4249 "YandexPublishing.c" +#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_warning ("YandexPublishing.vala:498: Failed to get album list: %s", _tmp5_); +#line 3963 "YandexPublishing.c" } static void _publishing_yandex_yandex_publisher_on_publish_publishing_yandex_publishing_options_pane_publish (PublishingYandexPublishingOptionsPane* _sender, gpointer self) { -#line 564 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_on_publish ((PublishingYandexYandexPublisher*) self); -#line 4256 "YandexPublishing.c" +#line 3970 "YandexPublishing.c" } static void _publishing_yandex_yandex_publisher_on_logout_publishing_yandex_publishing_options_pane_logout (PublishingYandexPublishingOptionsPane* _sender, gpointer self) { -#line 565 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_on_logout ((PublishingYandexYandexPublisher*) self); -#line 4263 "YandexPublishing.c" +#line 3977 "YandexPublishing.c" } @@ -4280,61 +3994,61 @@ void publishing_yandex_yandex_publisher_service_get_album_list_complete (Publish PublishingYandexPublishingOptionsPane* _tmp15_ = NULL; SpitPublishingPluginHost* _tmp16_ = NULL; GError * _inner_error_ = NULL; -#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 501 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 501 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (t)); -#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 502 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = t; -#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 502 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 502 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_service_get_album_list_complete_publishing_rest_support_transaction_completed, self); -#line 552 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 503 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = t; -#line 552 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 503 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 552 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 503 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_service_get_album_list_error_publishing_rest_support_transaction_network_error, self); -#line 554 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = t; -#line 554 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = publishing_rest_support_transaction_get_response (_tmp4_); -#line 554 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = _tmp5_; -#line 554 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_debug ("YandexPublishing.vala:554: service_get_album_list_complete: %s", _tmp6_); -#line 554 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_debug ("YandexPublishing.vala:505: service_get_album_list_complete: %s", _tmp6_); +#line 505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp6_); -#line 4308 "YandexPublishing.c" +#line 4022 "YandexPublishing.c" { PublishingRESTSupportTransaction* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 556 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp7_ = t; -#line 556 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp8_ = publishing_rest_support_transaction_get_response (_tmp7_); -#line 556 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp9_ = _tmp8_; -#line 556 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_parse_album_list (self, _tmp9_, &_inner_error_); -#line 556 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp9_); -#line 556 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 556 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 4327 "YandexPublishing.c" +#line 4041 "YandexPublishing.c" goto __catch44_spit_publishing_publishing_error; } -#line 556 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" 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); -#line 556 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 556 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 4336 "YandexPublishing.c" +#line 4050 "YandexPublishing.c" } } goto __finally44; @@ -4343,52 +4057,52 @@ void publishing_yandex_yandex_publisher_service_get_album_list_complete (Publish GError* err = NULL; SpitPublishingPluginHost* _tmp10_ = NULL; GError* _tmp11_ = NULL; -#line 555 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" err = _inner_error_; -#line 555 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _inner_error_ = NULL; -#line 558 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 509 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp10_ = self->priv->host; -#line 558 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 509 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp11_ = err; -#line 558 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 509 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_post_error (_tmp10_, _tmp11_); -#line 555 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_error_free0 (err); -#line 4357 "YandexPublishing.c" +#line 4071 "YandexPublishing.c" } __finally44: -#line 555 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 555 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 555 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 555 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 4368 "YandexPublishing.c" +#line 4082 "YandexPublishing.c" } -#line 561 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp12_ = self->priv->options; -#line 561 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp13_ = self->priv->album_list; -#line 561 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp14_ = self->priv->host; -#line 561 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp15_ = publishing_yandex_publishing_options_pane_new (_tmp12_, _tmp13_, _tmp14_); -#line 561 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_options_pane = _tmp15_; -#line 564 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_connect_object (publishing_options_pane, "publish", (GCallback) _publishing_yandex_yandex_publisher_on_publish_publishing_yandex_publishing_options_pane_publish, self, 0); -#line 565 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_connect_object (publishing_options_pane, "logout", (GCallback) _publishing_yandex_yandex_publisher_on_logout_publishing_yandex_publishing_options_pane_logout, self, 0); -#line 566 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 517 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp16_ = self->priv->host; -#line 566 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 517 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_install_dialog_pane (_tmp16_, G_TYPE_CHECK_INSTANCE_CAST (publishing_options_pane, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL); -#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 501 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (publishing_options_pane); -#line 4390 "YandexPublishing.c" +#line 4104 "YandexPublishing.c" } @@ -4400,50 +4114,50 @@ void publishing_yandex_yandex_publisher_service_get_album_list (PublishingYandex const gchar* _tmp3_ = NULL; PublishingYandexTransaction* _tmp4_ = NULL; GError * _inner_error_ = NULL; -#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (url != NULL); -#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 521 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = url; -#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 521 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = g_strdup (_tmp0_); -#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 521 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (self->priv->service_url); -#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 521 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->service_url = _tmp1_; -#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = self->priv->session; -#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = url; -#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = publishing_yandex_transaction_new_with_url (_tmp2_, _tmp3_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET); -#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" t = _tmp4_; -#line 573 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_yandex_yandex_publisher_service_get_album_list_complete_publishing_rest_support_transaction_completed, self, 0); -#line 574 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_yandex_yandex_publisher_service_get_album_list_error_publishing_rest_support_transaction_network_error, self, 0); -#line 4426 "YandexPublishing.c" +#line 4140 "YandexPublishing.c" { -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 4434 "YandexPublishing.c" +#line 4148 "YandexPublishing.c" goto __catch45_spit_publishing_publishing_error; } -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_transaction_unref0 (t); -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" 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); -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 4445 "YandexPublishing.c" +#line 4159 "YandexPublishing.c" } } goto __finally45; @@ -4452,50 +4166,50 @@ void publishing_yandex_yandex_publisher_service_get_album_list (PublishingYandex GError* err = NULL; SpitPublishingPluginHost* _tmp5_ = NULL; GError* _tmp6_ = NULL; -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" err = _inner_error_; -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _inner_error_ = NULL; -#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = self->priv->host; -#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = err; -#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_post_error (_tmp5_, _tmp6_); -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_error_free0 (err); -#line 4466 "YandexPublishing.c" +#line 4180 "YandexPublishing.c" } __finally45: -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_transaction_unref0 (t); -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 4479 "YandexPublishing.c" +#line 4193 "YandexPublishing.c" } -#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_transaction_unref0 (t); -#line 4483 "YandexPublishing.c" +#line 4197 "YandexPublishing.c" } static void _publishing_yandex_yandex_publisher_fetch_account_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) { -#line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_fetch_account_complete ((PublishingYandexYandexPublisher*) self, _sender); -#line 4490 "YandexPublishing.c" +#line 4204 "YandexPublishing.c" } static void _publishing_yandex_yandex_publisher_fetch_account_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) { -#line 585 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_fetch_account_error ((PublishingYandexYandexPublisher*) self, _sender, err); -#line 4497 "YandexPublishing.c" +#line 4211 "YandexPublishing.c" } @@ -4506,29 +4220,29 @@ void publishing_yandex_yandex_publisher_fetch_account_error (PublishingYandexYan guint _tmp3_ = 0U; GError* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; -#line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 534 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 534 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (t)); -#line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = t; -#line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_fetch_account_complete_publishing_rest_support_transaction_completed, self); -#line 585 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = t; -#line 585 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 585 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_fetch_account_error_publishing_rest_support_transaction_network_error, self); -#line 587 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 538 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = err; -#line 587 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 538 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = _tmp4_->message; -#line 587 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_warning ("YandexPublishing.vala:587: Failed to fetch account info: %s", _tmp5_); -#line 4530 "YandexPublishing.c" +#line 538 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_warning ("YandexPublishing.vala:538: Failed to fetch account info: %s", _tmp5_); +#line 4244 "YandexPublishing.c" } @@ -4541,33 +4255,33 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; GError * _inner_error_ = NULL; -#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 541 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 541 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (t)); -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 542 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = t; -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 542 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 542 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_fetch_account_complete_publishing_rest_support_transaction_completed, self); -#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 543 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = t; -#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 543 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 543 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_fetch_account_error_publishing_rest_support_transaction_network_error, self); -#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = t; -#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = publishing_rest_support_transaction_get_response (_tmp4_); -#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = _tmp5_; -#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_debug ("YandexPublishing.vala:594: account info: %s", _tmp6_); -#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_debug ("YandexPublishing.vala:545: account info: %s", _tmp6_); +#line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp6_); -#line 4569 "YandexPublishing.c" +#line 4283 "YandexPublishing.c" { PublishingRESTSupportXmlDocument* doc = NULL; PublishingRESTSupportTransaction* _tmp7_ = NULL; @@ -4578,114 +4292,114 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex xmlNode* root = NULL; PublishingRESTSupportXmlDocument* _tmp12_ = NULL; xmlNode* _tmp13_ = NULL; -#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp7_ = t; -#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp8_ = publishing_rest_support_transaction_get_response (_tmp7_); -#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp9_ = _tmp8_; -#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp10_ = publishing_rest_support_xml_document_parse_string (_tmp9_, _publishing_yandex_yandex_publisher_check_response_publishing_rest_support_xml_document_check_for_error_response, self, &_inner_error_); -#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp11_ = _tmp10_; -#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp9_); -#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" doc = _tmp11_; -#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 4598 "YandexPublishing.c" +#line 4312 "YandexPublishing.c" goto __catch46_spit_publishing_publishing_error; } -#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" 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); -#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 4607 "YandexPublishing.c" +#line 4321 "YandexPublishing.c" } -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 548 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp12_ = doc; -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 548 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp13_ = publishing_rest_support_xml_document_get_root_node (_tmp12_); -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 548 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" root = _tmp13_; -#line 4615 "YandexPublishing.c" +#line 4329 "YandexPublishing.c" { xmlNode* work = NULL; xmlNode* _tmp14_ = NULL; xmlNode* _tmp15_ = NULL; -#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp14_ = root; -#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp15_ = _tmp14_->children; -#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" work = _tmp15_; -#line 4626 "YandexPublishing.c" +#line 4340 "YandexPublishing.c" { gboolean _tmp16_ = FALSE; -#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp16_ = TRUE; -#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" while (TRUE) { -#line 4633 "YandexPublishing.c" +#line 4347 "YandexPublishing.c" xmlNode* _tmp19_ = NULL; xmlNode* _tmp20_ = NULL; const gchar* _tmp21_ = NULL; -#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (!_tmp16_) { -#line 4639 "YandexPublishing.c" +#line 4353 "YandexPublishing.c" xmlNode* _tmp17_ = NULL; xmlNode* _tmp18_ = NULL; -#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp17_ = work; -#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp18_ = _tmp17_->next; -#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" work = _tmp18_; -#line 4648 "YandexPublishing.c" +#line 4362 "YandexPublishing.c" } -#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp16_ = FALSE; -#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp19_ = work; -#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (!(_tmp19_ != NULL)) { -#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" break; -#line 4658 "YandexPublishing.c" +#line 4372 "YandexPublishing.c" } -#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp20_ = work; -#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp21_ = _tmp20_->name; -#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (g_strcmp0 (_tmp21_, "workspace") != 0) { -#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 552 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" continue; -#line 4668 "YandexPublishing.c" +#line 4382 "YandexPublishing.c" } { xmlNode* c = NULL; xmlNode* _tmp22_ = NULL; xmlNode* _tmp23_ = NULL; -#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp22_ = work; -#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp23_ = _tmp22_->children; -#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" c = _tmp23_; -#line 4680 "YandexPublishing.c" +#line 4394 "YandexPublishing.c" { gboolean _tmp24_ = FALSE; -#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp24_ = TRUE; -#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" while (TRUE) { -#line 4687 "YandexPublishing.c" +#line 4401 "YandexPublishing.c" xmlNode* _tmp27_ = NULL; xmlNode* _tmp28_ = NULL; const gchar* _tmp29_ = NULL; @@ -4693,52 +4407,52 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex gchar* _tmp31_ = NULL; gchar* _tmp32_ = NULL; gboolean _tmp33_ = FALSE; -#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (!_tmp24_) { -#line 4697 "YandexPublishing.c" +#line 4411 "YandexPublishing.c" xmlNode* _tmp25_ = NULL; xmlNode* _tmp26_ = NULL; -#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp25_ = c; -#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp26_ = _tmp25_->next; -#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" c = _tmp26_; -#line 4706 "YandexPublishing.c" +#line 4420 "YandexPublishing.c" } -#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp24_ = FALSE; -#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp27_ = c; -#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (!(_tmp27_ != NULL)) { -#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" break; -#line 4716 "YandexPublishing.c" +#line 4430 "YandexPublishing.c" } -#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 554 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp28_ = c; -#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 554 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp29_ = _tmp28_->name; -#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 554 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (g_strcmp0 (_tmp29_, "collection") != 0) { -#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 555 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" continue; -#line 4726 "YandexPublishing.c" +#line 4440 "YandexPublishing.c" } -#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 557 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp30_ = c; -#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 557 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp31_ = (gchar*) xmlGetProp (_tmp30_, (xmlChar*) "id"); -#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 557 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp32_ = _tmp31_; -#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 557 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp33_ = g_strcmp0 (_tmp32_, "album-list") == 0; -#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 557 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp32_); -#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 557 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_tmp33_) { -#line 4740 "YandexPublishing.c" +#line 4454 "YandexPublishing.c" gchar* url = NULL; xmlNode* _tmp34_ = NULL; gchar* _tmp35_ = NULL; @@ -4746,31 +4460,31 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex gchar* _tmp37_ = NULL; gchar* _tmp38_ = NULL; const gchar* _tmp39_ = NULL; -#line 607 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 558 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp34_ = c; -#line 607 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 558 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp35_ = (gchar*) xmlGetProp (_tmp34_, (xmlChar*) "href"); -#line 607 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 558 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" url = _tmp35_; -#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 560 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp36_ = self->priv->session; -#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 560 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp37_ = publishing_yandex_session_get_auth_token (_tmp36_); -#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 560 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp38_ = _tmp37_; -#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 560 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_set_persistent_auth_token (self, _tmp38_); -#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 560 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp38_); -#line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 561 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp39_ = url; -#line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 561 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_service_get_album_list (self, _tmp39_); -#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 562 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (url); -#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 562 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" break; -#line 4772 "YandexPublishing.c" +#line 4486 "YandexPublishing.c" } } } @@ -4778,9 +4492,9 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex } } } -#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 4782 "YandexPublishing.c" +#line 4496 "YandexPublishing.c" } goto __finally46; __catch46_spit_publishing_publishing_error: @@ -4788,30 +4502,30 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex GError* err = NULL; SpitPublishingPluginHost* _tmp40_ = NULL; GError* _tmp41_ = NULL; -#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" err = _inner_error_; -#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _inner_error_ = NULL; -#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 567 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp40_ = self->priv->host; -#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 567 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp41_ = err; -#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 567 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_post_error (_tmp40_, _tmp41_); -#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_error_free0 (err); -#line 4802 "YandexPublishing.c" +#line 4516 "YandexPublishing.c" } __finally46: -#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 4813 "YandexPublishing.c" +#line 4527 "YandexPublishing.c" } } @@ -4823,46 +4537,46 @@ void publishing_yandex_yandex_publisher_fetch_account_information (PublishingYan PublishingYandexSession* _tmp2_ = NULL; PublishingYandexTransaction* _tmp3_ = NULL; GError * _inner_error_ = NULL; -#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 571 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 571 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (auth_token != NULL); -#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = self->priv->session; -#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = auth_token; -#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_session_set_auth_token (_tmp0_, _tmp1_); -#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 574 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = self->priv->session; -#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 574 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = publishing_yandex_transaction_new_with_url (_tmp2_, "http://api-fotki.yandex.ru/api/me/", PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET); -#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 574 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" t = _tmp3_; -#line 624 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_yandex_yandex_publisher_fetch_account_complete_publishing_rest_support_transaction_completed, self, 0); -#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_yandex_yandex_publisher_fetch_account_error_publishing_rest_support_transaction_network_error, self, 0); -#line 4845 "YandexPublishing.c" +#line 4559 "YandexPublishing.c" { -#line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); -#line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 4853 "YandexPublishing.c" +#line 4567 "YandexPublishing.c" goto __catch47_spit_publishing_publishing_error; } -#line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_transaction_unref0 (t); -#line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" 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); -#line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 4864 "YandexPublishing.c" +#line 4578 "YandexPublishing.c" } } goto __finally47; @@ -4871,36 +4585,36 @@ void publishing_yandex_yandex_publisher_fetch_account_information (PublishingYan GError* err = NULL; SpitPublishingPluginHost* _tmp4_ = NULL; GError* _tmp5_ = NULL; -#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" err = _inner_error_; -#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _inner_error_ = NULL; -#line 630 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 581 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = self->priv->host; -#line 630 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 581 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = err; -#line 630 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 581 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_post_error (_tmp4_, _tmp5_); -#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_error_free0 (err); -#line 4885 "YandexPublishing.c" +#line 4599 "YandexPublishing.c" } __finally47: -#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_transaction_unref0 (t); -#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_clear_error (&_inner_error_); -#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 4898 "YandexPublishing.c" +#line 4612 "YandexPublishing.c" } -#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 571 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_transaction_unref0 (t); -#line 4902 "YandexPublishing.c" +#line 4616 "YandexPublishing.c" } @@ -4909,50 +4623,50 @@ static void publishing_yandex_yandex_publisher_web_auth_login_succeeded (Publish SpitPublishingPluginHost* _tmp1_ = NULL; SpitPublishingPluginHost* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; -#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 585 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 585 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (access_token != NULL); -#line 635 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = access_token; -#line 635 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_debug ("YandexPublishing.vala:635: login succeeded with token %s", _tmp0_); -#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_debug ("YandexPublishing.vala:586: login succeeded with token %s", _tmp0_); +#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = self->priv->host; -#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_set_service_locked (_tmp1_, TRUE); -#line 638 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = self->priv->host; -#line 638 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_install_account_fetch_wait_pane (_tmp2_); -#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = access_token; -#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_fetch_account_information (self, _tmp3_); -#line 4931 "YandexPublishing.c" +#line 4645 "YandexPublishing.c" } static void publishing_yandex_yandex_publisher_web_auth_login_failed (PublishingYandexYandexPublisher* self) { -#line 643 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 644 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_debug ("YandexPublishing.vala:644: login failed"); -#line 4940 "YandexPublishing.c" +#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_debug ("YandexPublishing.vala:595: login failed"); +#line 4654 "YandexPublishing.c" } static void _publishing_yandex_yandex_publisher_web_auth_login_succeeded_publishing_yandex_web_auth_pane_login_succeeded (PublishingYandexWebAuthPane* _sender, const gchar* success_url, gpointer self) { -#line 651 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_web_auth_login_succeeded ((PublishingYandexYandexPublisher*) self, success_url); -#line 4947 "YandexPublishing.c" +#line 4661 "YandexPublishing.c" } static void _publishing_yandex_yandex_publisher_web_auth_login_failed_publishing_yandex_web_auth_pane_login_failed (PublishingYandexWebAuthPane* _sender, gpointer self) { -#line 652 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_web_auth_login_failed ((PublishingYandexYandexPublisher*) self); -#line 4954 "YandexPublishing.c" +#line 4668 "YandexPublishing.c" } @@ -4965,61 +4679,61 @@ static void publishing_yandex_yandex_publisher_start_web_auth (PublishingYandexY PublishingYandexWebAuthPane* _tmp5_ = NULL; SpitPublishingPluginHost* _tmp6_ = NULL; PublishingYandexWebAuthPane* _tmp7_ = NULL; -#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 648 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = self->priv->host; -#line 648 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_set_service_locked (_tmp0_, FALSE); -#line 650 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = g_strdup_printf ("http://oauth.yandex.ru/authorize?client_id=%s&response_type=token", PUBLISHING_YANDEX_client_id); -#line 650 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = _tmp1_; -#line 650 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = publishing_yandex_web_auth_pane_new (_tmp2_); -#line 650 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (self->priv->web_auth_pane); -#line 650 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->web_auth_pane = _tmp3_; -#line 650 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp2_); -#line 651 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = self->priv->web_auth_pane; -#line 651 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_connect_object (_tmp4_, "login-succeeded", (GCallback) _publishing_yandex_yandex_publisher_web_auth_login_succeeded_publishing_yandex_web_auth_pane_login_succeeded, self, 0); -#line 652 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = self->priv->web_auth_pane; -#line 652 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_signal_connect_object (_tmp5_, "login-failed", (GCallback) _publishing_yandex_yandex_publisher_web_auth_login_failed_publishing_yandex_web_auth_pane_login_failed, self, 0); -#line 654 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = self->priv->host; -#line 654 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp7_ = self->priv->web_auth_pane; -#line 654 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_install_dialog_pane (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL); -#line 4999 "YandexPublishing.c" +#line 4713 "YandexPublishing.c" } static void _publishing_yandex_yandex_publisher_start_web_auth_spit_publishing_login_callback (gpointer self) { -#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_start_web_auth ((PublishingYandexYandexPublisher*) self); -#line 5006 "YandexPublishing.c" +#line 4720 "YandexPublishing.c" } static void publishing_yandex_yandex_publisher_show_welcome_page (PublishingYandexYandexPublisher* self) { SpitPublishingPluginHost* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 657 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self)); -#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = self->priv->host; -#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = _ ("You are not currently logged into Yandex.Fotki."); -#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" spit_publishing_plugin_host_install_welcome_pane (_tmp0_, _tmp1_, _publishing_yandex_yandex_publisher_start_web_auth_spit_publishing_login_callback, self); -#line 5021 "YandexPublishing.c" +#line 4735 "YandexPublishing.c" } @@ -5028,152 +4742,152 @@ static void publishing_yandex_yandex_publisher_real_start (SpitPublishingPublish gboolean _tmp0_ = FALSE; SpitPublishingPluginHost* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 662 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_YANDEX_PUBLISHER, PublishingYandexYandexPublisher); -#line 663 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 614 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp0_ = spit_publishing_publisher_is_running (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher)); -#line 663 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 614 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_tmp0_) { -#line 664 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 615 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" return; -#line 5038 "YandexPublishing.c" +#line 4752 "YandexPublishing.c" } -#line 666 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp1_ = self->priv->host; -#line 666 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_tmp1_ == NULL) { -#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_error ("YandexPublishing.vala:667: YandexPublisher: start( ): can't start; thi" \ +#line 618 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_error ("YandexPublishing.vala:618: YandexPublisher: start( ): can't start; thi" \ "s publisher is not restartable."); -#line 5046 "YandexPublishing.c" +#line 4760 "YandexPublishing.c" } -#line 669 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_debug ("YandexPublishing.vala:669: YandexPublisher: starting interaction."); -#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_debug ("YandexPublishing.vala:620: YandexPublisher: starting interaction."); +#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->running = TRUE; -#line 673 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 624 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp2_ = publishing_yandex_yandex_publisher_is_persistent_session_available (self); -#line 673 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 624 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" if (_tmp2_) { -#line 5056 "YandexPublishing.c" +#line 4770 "YandexPublishing.c" PublishingYandexSession* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 674 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp3_ = self->priv->session; -#line 674 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp4_ = publishing_yandex_yandex_publisher_get_persistent_auth_token (self); -#line 674 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp5_ = _tmp4_; -#line 674 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_session_set_auth_token (_tmp3_, _tmp5_); -#line 674 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp5_); -#line 676 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp6_ = publishing_yandex_yandex_publisher_get_persistent_auth_token (self); -#line 676 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _tmp7_ = _tmp6_; -#line 676 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_fetch_account_information (self, _tmp7_); -#line 676 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (_tmp7_); -#line 5080 "YandexPublishing.c" +#line 4794 "YandexPublishing.c" } else { -#line 678 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 629 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_show_welcome_page (self); -#line 5084 "YandexPublishing.c" +#line 4798 "YandexPublishing.c" } } static void publishing_yandex_yandex_publisher_real_stop (SpitPublishingPublisher* base) { PublishingYandexYandexPublisher * self; -#line 682 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_YANDEX_PUBLISHER, PublishingYandexYandexPublisher); -#line 683 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" - g_debug ("YandexPublishing.vala:683: YandexPublisher: stop( ) invoked."); -#line 685 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" + g_debug ("YandexPublishing.vala:634: YandexPublisher: stop( ) invoked."); +#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->host = NULL; -#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->running = FALSE; -#line 5099 "YandexPublishing.c" +#line 4813 "YandexPublishing.c" } static void publishing_yandex_yandex_publisher_class_init (PublishingYandexYandexPublisherClass * klass) { -#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_parent_class = g_type_class_peek_parent (klass); -#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingYandexYandexPublisherPrivate)); -#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" G_OBJECT_CLASS (klass)->finalize = publishing_yandex_yandex_publisher_finalize; -#line 5110 "YandexPublishing.c" +#line 4824 "YandexPublishing.c" } static void publishing_yandex_yandex_publisher_spit_publishing_publisher_interface_init (SpitPublishingPublisherIface * iface) { -#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" publishing_yandex_yandex_publisher_spit_publishing_publisher_parent_iface = g_type_interface_peek_parent (iface); -#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" iface->is_running = (gboolean (*)(SpitPublishingPublisher*)) publishing_yandex_yandex_publisher_real_is_running; -#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" iface->get_service = (SpitPublishingService* (*)(SpitPublishingPublisher*)) publishing_yandex_yandex_publisher_real_get_service; -#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" iface->start = (void (*)(SpitPublishingPublisher*)) publishing_yandex_yandex_publisher_real_start; -#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" iface->stop = (void (*)(SpitPublishingPublisher*)) publishing_yandex_yandex_publisher_real_stop; -#line 5125 "YandexPublishing.c" +#line 4839 "YandexPublishing.c" } static void publishing_yandex_yandex_publisher_instance_init (PublishingYandexYandexPublisher * self) { -#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv = PUBLISHING_YANDEX_YANDEX_PUBLISHER_GET_PRIVATE (self); -#line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->host = NULL; -#line 349 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->progress_reporter = NULL; -#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 301 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->service = NULL; -#line 352 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->service_url = NULL; -#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 305 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->album_list = NULL; -#line 357 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->running = FALSE; -#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->web_auth_pane = NULL; -#line 5146 "YandexPublishing.c" +#line 4860 "YandexPublishing.c" } static void publishing_yandex_yandex_publisher_finalize (GObject* obj) { PublishingYandexYandexPublisher * self; -#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_YANDEX_TYPE_YANDEX_PUBLISHER, PublishingYandexYandexPublisher); -#line 349 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" (self->priv->progress_reporter_target_destroy_notify == NULL) ? NULL : (self->priv->progress_reporter_target_destroy_notify (self->priv->progress_reporter_target), NULL); -#line 349 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->progress_reporter = NULL; -#line 349 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->progress_reporter_target = NULL; -#line 349 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" self->priv->progress_reporter_target_destroy_notify = NULL; -#line 352 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_free0 (self->priv->service_url); -#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 305 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (self->priv->album_list); -#line 355 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 306 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_yandex_publish_options_unref0 (self->priv->options); -#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _g_object_unref0 (self->priv->web_auth_pane); -#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 312 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" _publishing_rest_support_session_unref0 (self->priv->session); -#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" +#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala" G_OBJECT_CLASS (publishing_yandex_yandex_publisher_parent_class)->finalize (obj); -#line 5174 "YandexPublishing.c" +#line 4888 "YandexPublishing.c" } diff --git a/plugins/shotwell-publishing-extras/YandexPublishing.vala b/plugins/shotwell-publishing-extras/YandexPublishing.vala index 2ee67cf..2eb78f3 100644 --- a/plugins/shotwell-publishing-extras/YandexPublishing.vala +++ b/plugins/shotwell-publishing-extras/YandexPublishing.vala @@ -92,46 +92,29 @@ internal class Session : Publishing.RESTSupport.Session { } } -internal class WebAuthPane : Spit.Publishing.DialogPane, GLib.Object { - private WebKit.WebView webview = null; - private Gtk.Box pane_widget = null; - private Gtk.ScrolledWindow webview_frame = null; - +internal class WebAuthPane : Shotwell.Plugins.Common.WebAuthenticationPane { private Regex re; - private string? login_url = null; public signal void login_succeeded(string success_url); public signal void login_failed(); public WebAuthPane(string login_url) { - this.login_url = login_url; + Object (login_uri : login_url, + preferred_geometry : + Spit.Publishing.DialogPane.GeometryOptions.RESIZABLE); + } + public override void constructed () { try { this.re = new Regex("(.*)#access_token=([a-zA-Z0-9]*)&"); } catch (RegexError e) { - critical("%s", e.message); + assert_not_reached (); } - pane_widget = new Gtk.Box(Gtk.Orientation.VERTICAL, 0); - - webview_frame = new Gtk.ScrolledWindow(null, null); - webview_frame.set_shadow_type(Gtk.ShadowType.ETCHED_IN); - webview_frame.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC); - - webview = new WebKit.WebView(); - webview.get_settings().enable_plugins = false; - - webview.load_changed.connect(on_page_load_changed); - webview.decide_policy.connect(on_decide_policy); - webview.context_menu.connect(() => { return false; }); - - webview_frame.add(webview); - pane_widget.pack_start(webview_frame, true, true, 0); + this.get_view ().decide_policy.connect (on_decide_policy); } - private void on_page_load() { - pane_widget.get_window().set_cursor(new Gdk.Cursor(Gdk.CursorType.LEFT_PTR)); - } + public override void on_page_load () { } private bool on_decide_policy (WebKit.PolicyDecision decision, WebKit.PolicyDecisionType type) { @@ -148,7 +131,7 @@ internal class WebAuthPane : Spit.Publishing.DialogPane, GLib.Object { string access_token = info.fetch_all()[2]; debug("Load completed: %s", access_token); - pane_widget.get_window().set_cursor(new Gdk.Cursor(Gdk.CursorType.LEFT_PTR)); + this.set_cursor (Gdk.CursorType.LEFT_PTR); if (access_token != null) { login_succeeded(access_token); decision.ignore(); @@ -166,38 +149,6 @@ internal class WebAuthPane : Spit.Publishing.DialogPane, GLib.Object { } return true; } - - private void on_load_started() { - pane_widget.get_window().set_cursor(new Gdk.Cursor(Gdk.CursorType.WATCH)); - } - - private void on_page_load_changed (WebKit.LoadEvent load_event) { - switch (load_event) { - case WebKit.LoadEvent.STARTED: - on_load_started(); - break; - case WebKit.LoadEvent.FINISHED: - on_page_load(); - break; - } - - return; - } - - public Gtk.Widget get_widget() { - return pane_widget; - } - - public Spit.Publishing.DialogPane.GeometryOptions get_preferred_geometry() { - return Spit.Publishing.DialogPane.GeometryOptions.RESIZABLE; - } - - public void on_pane_installed() { - webview.load_uri(login_url); - } - - public void on_pane_uninstalled() { - } } internal class PublishOptions { diff --git a/plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui b/plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui index dc8b373..1f2dfae 100644 --- a/plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui +++ b/plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui @@ -5,7 +5,7 @@ <property name="label" translatable="yes">Go _Back</property> </object> <object class="GtkAction" id="login_action"> - <property name="label" translatable="yes">_Login</property> + <property name="label" translatable="yes">_Log in</property> </object> <object class="GtkGrid" id="gallery3_auth_pane_widget"> <property name="visible">True</property> @@ -142,7 +142,7 @@ </child> <child> <object class="GtkButton" id="login_button"> - <property name="label" translatable="yes">_Login</property> + <property name="label" translatable="yes">_Log in</property> <property name="related_action">login_action</property> <property name="width_request">102</property> <property name="visible">True</property> diff --git a/plugins/shotwell-publishing-extras/rajce_authentication_pane.ui b/plugins/shotwell-publishing-extras/rajce_authentication_pane.ui index 72ac53c..496304f 100644 --- a/plugins/shotwell-publishing-extras/rajce_authentication_pane.ui +++ b/plugins/shotwell-publishing-extras/rajce_authentication_pane.ui @@ -122,7 +122,7 @@ <property name="can_focus">False</property> <child> <object class="GtkButton" id="login_button"> - <property name="label" translatable="yes">Login</property> + <property name="label" translatable="yes">Log in</property> <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> diff --git a/plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui b/plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui index 131a547..98f03b8 100644 --- a/plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui +++ b/plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui @@ -104,7 +104,7 @@ <property name="can_focus">False</property> <child> <object class="GtkButton" id="login_button"> - <property name="label" translatable="yes">Login</property> + <property name="label" translatable="yes">Log in</property> <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> diff --git a/plugins/shotwell-publishing/FacebookPublishing.c b/plugins/shotwell-publishing/FacebookPublishing.c index eaf143c..4b08588 100644 --- a/plugins/shotwell-publishing/FacebookPublishing.c +++ b/plugins/shotwell-publishing/FacebookPublishing.c @@ -21,9 +21,8 @@ #include <libsoup/soup.h> #include <float.h> #include <math.h> -#include <webkit2/webkit2.h> -#include <gdk/gdk.h> #include <locale.h> +#include <webkit2/webkit2.h> #include <gobject/gvaluecollector.h> @@ -318,21 +317,12 @@ struct _PublishingFacebookFacebookPublisherPrivate { }; struct _PublishingFacebookWebAuthenticationPane { - GObject parent_instance; + ShotwellPluginsCommonWebAuthenticationPane parent_instance; PublishingFacebookWebAuthenticationPanePrivate * priv; }; struct _PublishingFacebookWebAuthenticationPaneClass { - GObjectClass parent_class; -}; - -struct _PublishingFacebookWebAuthenticationPanePrivate { - WebKitWebView* webview; - GtkBox* pane_widget; - GtkScrolledWindow* webview_frame; - PublishingFacebookWebAuthenticationPaneLocaleLookup** locale_lookup_table; - gint locale_lookup_table_length1; - gint _locale_lookup_table_size_; + ShotwellPluginsCommonWebAuthenticationPaneClass parent_class; }; struct _PublishingFacebookWebAuthenticationPaneLocaleLookup { @@ -551,8 +541,12 @@ static SpitPublishingPublisherIface* publishing_facebook_facebook_publisher_spit static gpointer publishing_facebook_web_authentication_pane_parent_class = NULL; static gboolean publishing_facebook_web_authentication_pane_cache_dirty; static gboolean publishing_facebook_web_authentication_pane_cache_dirty = FALSE; +static PublishingFacebookWebAuthenticationPaneLocaleLookup** publishing_facebook_web_authentication_pane_locale_lookup_table; +static gint publishing_facebook_web_authentication_pane_locale_lookup_table_length1; +static PublishingFacebookWebAuthenticationPaneLocaleLookup** publishing_facebook_web_authentication_pane_locale_lookup_table = NULL; +static gint publishing_facebook_web_authentication_pane_locale_lookup_table_length1 = 0; +static gint _publishing_facebook_web_authentication_pane_locale_lookup_table_size_ = 0; static gpointer publishing_facebook_web_authentication_pane_locale_lookup_parent_class = NULL; -static SpitPublishingDialogPaneIface* publishing_facebook_web_authentication_pane_spit_publishing_dialog_pane_parent_iface = NULL; static gpointer publishing_facebook_publishing_options_pane_parent_class = NULL; static gpointer publishing_facebook_publishing_options_pane_privacy_description_parent_class = NULL; static SpitPublishingDialogPaneIface* publishing_facebook_publishing_options_pane_spit_publishing_dialog_pane_parent_iface = NULL; @@ -590,7 +584,7 @@ static void facebook_service_finalize (GObject* obj); #define PUBLISHING_FACEBOOK_DEFAULT_ALBUM_NAME _ ("Shotwell Connect") #define PUBLISHING_FACEBOOK_SERVICE_WELCOME_MESSAGE _ ("You are not currently logged into Facebook.\n" \ "\n" \ -"If you don't yet have a Facebook account, you can create one during th" \ +"If you don’t yet have a Facebook account, you can create one during th" \ "e login process. During login, Shotwell Connect may ask you for permis" \ "sion to upload photos and publish to your feed. These permissions are " \ "required for Shotwell Connect to function.") @@ -751,6 +745,9 @@ static void publishing_facebook_facebook_publisher_real_stop (SpitPublishingPubl void publishing_facebook_graph_session_stop_transactions (PublishingFacebookGraphSession* self); static gboolean publishing_facebook_facebook_publisher_real_is_running (SpitPublishingPublisher* base); static void publishing_facebook_facebook_publisher_finalize (GObject* obj); +enum { + PUBLISHING_FACEBOOK_WEB_AUTHENTICATION_PANE_DUMMY_PROPERTY +}; static gpointer publishing_facebook_web_authentication_pane_locale_lookup_ref (gpointer instance); static void publishing_facebook_web_authentication_pane_locale_lookup_unref (gpointer instance); static GParamSpec* publishing_facebook_web_authentication_pane_param_spec_locale_lookup (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) G_GNUC_UNUSED; @@ -758,24 +755,11 @@ static void publishing_facebook_web_authentication_pane_value_set_locale_lookup static void publishing_facebook_web_authentication_pane_value_take_locale_lookup (GValue* value, gpointer v_object) G_GNUC_UNUSED; static gpointer publishing_facebook_web_authentication_pane_value_get_locale_lookup (const GValue* value) G_GNUC_UNUSED; static GType publishing_facebook_web_authentication_pane_locale_lookup_get_type (void) G_GNUC_CONST G_GNUC_UNUSED; -#define PUBLISHING_FACEBOOK_WEB_AUTHENTICATION_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_FACEBOOK_TYPE_WEB_AUTHENTICATION_PANE, PublishingFacebookWebAuthenticationPanePrivate)) -enum { - PUBLISHING_FACEBOOK_WEB_AUTHENTICATION_PANE_DUMMY_PROPERTY -}; static PublishingFacebookWebAuthenticationPaneLocaleLookup* publishing_facebook_web_authentication_pane_locale_lookup_new (const gchar* prefix, const gchar* translation, const gchar* exception_code, const gchar* exception_translation, const gchar* exception_code_2, const gchar* exception_translation_2); static PublishingFacebookWebAuthenticationPaneLocaleLookup* publishing_facebook_web_authentication_pane_locale_lookup_construct (GType object_type, const gchar* prefix, const gchar* translation, const gchar* exception_code, const gchar* exception_translation, const gchar* exception_code_2, const gchar* exception_translation_2); -static void publishing_facebook_web_authentication_pane_on_page_load_changed (PublishingFacebookWebAuthenticationPane* self, WebKitLoadEvent load_event); -static void _publishing_facebook_web_authentication_pane_on_page_load_changed_webkit_web_view_load_changed (WebKitWebView* _sender, WebKitLoadEvent load_event, gpointer self); -static gboolean __lambda4_ (PublishingFacebookWebAuthenticationPane* self); -static gboolean ___lambda4__webkit_web_view_context_menu (WebKitWebView* _sender, WebKitContextMenu* context_menu, GdkEvent* event, WebKitHitTestResult* hit_test_result, gpointer self); -static gchar* publishing_facebook_web_authentication_pane_get_system_locale_as_facebook_locale (PublishingFacebookWebAuthenticationPane* self); -static gchar* publishing_facebook_web_authentication_pane_get_login_url (PublishingFacebookWebAuthenticationPane* self); -static void publishing_facebook_web_authentication_pane_on_page_load (PublishingFacebookWebAuthenticationPane* self); -static void publishing_facebook_web_authentication_pane_on_load_started (PublishingFacebookWebAuthenticationPane* self); -static GtkWidget* publishing_facebook_web_authentication_pane_real_get_widget (SpitPublishingDialogPane* base); -static SpitPublishingDialogPaneGeometryOptions publishing_facebook_web_authentication_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base); -static void publishing_facebook_web_authentication_pane_real_on_pane_installed (SpitPublishingDialogPane* base); -static void publishing_facebook_web_authentication_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base); +static gchar* publishing_facebook_web_authentication_pane_get_login_url (void); +static gchar* publishing_facebook_web_authentication_pane_get_system_locale_as_facebook_locale (void); +static void publishing_facebook_web_authentication_pane_real_on_page_load (ShotwellPluginsCommonWebAuthenticationPane* base); enum { PUBLISHING_FACEBOOK_WEB_AUTHENTICATION_PANE_LOCALE_LOOKUP_DUMMY_PROPERTY }; @@ -931,7 +915,7 @@ FacebookService* facebook_service_construct (GType object_type, GFile* resource_ _tmp0__length1 = facebook_service_icon_pixbuf_set_length1; #line 13 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp0_ == NULL) { -#line 927 "FacebookPublishing.c" +#line 911 "FacebookPublishing.c" gint _tmp1_ = 0; GdkPixbuf** _tmp2_ = NULL; #line 14 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" @@ -944,18 +928,18 @@ FacebookService* facebook_service_construct (GType object_type, GFile* resource_ facebook_service_icon_pixbuf_set_length1 = _tmp1_; #line 14 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _facebook_service_icon_pixbuf_set_size_ = facebook_service_icon_pixbuf_set_length1; -#line 940 "FacebookPublishing.c" +#line 924 "FacebookPublishing.c" } #line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 944 "FacebookPublishing.c" +#line 928 "FacebookPublishing.c" } FacebookService* facebook_service_new (GFile* resource_directory) { #line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return facebook_service_construct (TYPE_FACEBOOK_SERVICE, resource_directory); -#line 951 "FacebookPublishing.c" +#line 935 "FacebookPublishing.c" } @@ -977,7 +961,7 @@ static gint facebook_service_real_get_pluggable_interface (SpitPluggable* base, result = _tmp2_; #line 19 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 973 "FacebookPublishing.c" +#line 957 "FacebookPublishing.c" } @@ -990,7 +974,7 @@ static const gchar* facebook_service_real_get_id (SpitPluggable* base) { result = "org.yorba.shotwell.publishing.facebook"; #line 24 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 986 "FacebookPublishing.c" +#line 970 "FacebookPublishing.c" } @@ -1003,14 +987,14 @@ static const gchar* facebook_service_real_get_pluggable_name (SpitPluggable* bas result = "Facebook"; #line 28 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 999 "FacebookPublishing.c" +#line 983 "FacebookPublishing.c" } static gpointer _g_object_ref0 (gpointer self) { #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self ? g_object_ref (self) : NULL; -#line 1006 "FacebookPublishing.c" +#line 990 "FacebookPublishing.c" } @@ -1021,17 +1005,17 @@ static GdkPixbuf** _vala_array_dup1 (GdkPixbuf** self, int length) { result = g_new0 (GdkPixbuf*, length + 1); #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" for (i = 0; i < length; i++) { -#line 1017 "FacebookPublishing.c" +#line 1001 "FacebookPublishing.c" GdkPixbuf* _tmp0_ = NULL; #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = _g_object_ref0 (self[i]); #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result[i] = _tmp0_; -#line 1023 "FacebookPublishing.c" +#line 1007 "FacebookPublishing.c" } #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 1027 "FacebookPublishing.c" +#line 1011 "FacebookPublishing.c" } @@ -1113,7 +1097,7 @@ static void facebook_service_real_get_info (SpitPluggable* base, SpitPluggableIn (*info).icons = _tmp9_; #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" (*info).icons_length1 = _tmp9__length1; -#line 1109 "FacebookPublishing.c" +#line 1093 "FacebookPublishing.c" } @@ -1121,7 +1105,7 @@ static void facebook_service_real_activation (SpitPluggable* base, gboolean enab FacebookService * self; #line 43 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_FACEBOOK_SERVICE, FacebookService); -#line 1117 "FacebookPublishing.c" +#line 1101 "FacebookPublishing.c" } @@ -1142,7 +1126,7 @@ static SpitPublishingPublisher* facebook_service_real_create_publisher (SpitPubl result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher); #line 47 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 1138 "FacebookPublishing.c" +#line 1122 "FacebookPublishing.c" } @@ -1155,7 +1139,7 @@ static SpitPublishingPublisherMediaType facebook_service_real_get_supported_medi result = SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO | SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO; #line 51 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 1151 "FacebookPublishing.c" +#line 1135 "FacebookPublishing.c" } @@ -1164,7 +1148,7 @@ static void facebook_service_class_init (FacebookServiceClass * klass) { facebook_service_parent_class = g_type_class_peek_parent (klass); #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_OBJECT_CLASS (klass)->finalize = facebook_service_finalize; -#line 1160 "FacebookPublishing.c" +#line 1144 "FacebookPublishing.c" } @@ -1181,7 +1165,7 @@ static void facebook_service_spit_pluggable_interface_init (SpitPluggableIface * iface->get_info = (void (*)(SpitPluggable*, SpitPluggableInfo*)) facebook_service_real_get_info; #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" iface->activation = (void (*)(SpitPluggable*, gboolean)) facebook_service_real_activation; -#line 1177 "FacebookPublishing.c" +#line 1161 "FacebookPublishing.c" } @@ -1192,7 +1176,7 @@ static void facebook_service_spit_publishing_service_interface_init (SpitPublish iface->create_publisher = (SpitPublishingPublisher* (*)(SpitPublishingService*, SpitPublishingPluginHost*)) facebook_service_real_create_publisher; #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" iface->get_supported_media = (SpitPublishingPublisherMediaType (*)(SpitPublishingService*)) facebook_service_real_get_supported_media; -#line 1188 "FacebookPublishing.c" +#line 1172 "FacebookPublishing.c" } @@ -1206,7 +1190,7 @@ static void facebook_service_finalize (GObject* obj) { self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_FACEBOOK_SERVICE, FacebookService); #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_OBJECT_CLASS (facebook_service_parent_class)->finalize (obj); -#line 1202 "FacebookPublishing.c" +#line 1186 "FacebookPublishing.c" } @@ -1256,21 +1240,21 @@ PublishingFacebookAlbum* publishing_facebook_album_construct (GType object_type, self->id = _tmp3_; #line 74 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 1252 "FacebookPublishing.c" +#line 1236 "FacebookPublishing.c" } PublishingFacebookAlbum* publishing_facebook_album_new (const gchar* name, const gchar* id) { #line 74 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return publishing_facebook_album_construct (PUBLISHING_FACEBOOK_TYPE_ALBUM, name, id); -#line 1259 "FacebookPublishing.c" +#line 1243 "FacebookPublishing.c" } static void publishing_facebook_value_album_init (GValue* value) { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 1266 "FacebookPublishing.c" +#line 1250 "FacebookPublishing.c" } @@ -1279,7 +1263,7 @@ static void publishing_facebook_value_album_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_album_unref (value->data[0].v_pointer); -#line 1275 "FacebookPublishing.c" +#line 1259 "FacebookPublishing.c" } } @@ -1289,11 +1273,11 @@ static void publishing_facebook_value_album_copy_value (const GValue* src_value, if (src_value->data[0].v_pointer) { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" dest_value->data[0].v_pointer = publishing_facebook_album_ref (src_value->data[0].v_pointer); -#line 1285 "FacebookPublishing.c" +#line 1269 "FacebookPublishing.c" } else { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 1289 "FacebookPublishing.c" +#line 1273 "FacebookPublishing.c" } } @@ -1301,37 +1285,37 @@ static void publishing_facebook_value_album_copy_value (const GValue* src_value, static gpointer publishing_facebook_value_album_peek_pointer (const GValue* value) { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return value->data[0].v_pointer; -#line 1297 "FacebookPublishing.c" +#line 1281 "FacebookPublishing.c" } static gchar* publishing_facebook_value_album_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (collect_values[0].v_pointer) { -#line 1304 "FacebookPublishing.c" +#line 1288 "FacebookPublishing.c" PublishingFacebookAlbum* object; object = collect_values[0].v_pointer; #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (object->parent_instance.g_class == NULL) { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1311 "FacebookPublishing.c" +#line 1295 "FacebookPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1315 "FacebookPublishing.c" +#line 1299 "FacebookPublishing.c" } #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = publishing_facebook_album_ref (object); -#line 1319 "FacebookPublishing.c" +#line 1303 "FacebookPublishing.c" } else { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 1323 "FacebookPublishing.c" +#line 1307 "FacebookPublishing.c" } #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 1327 "FacebookPublishing.c" +#line 1311 "FacebookPublishing.c" } @@ -1342,25 +1326,25 @@ static gchar* publishing_facebook_value_album_lcopy_value (const GValue* value, if (!object_p) { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 1338 "FacebookPublishing.c" +#line 1322 "FacebookPublishing.c" } #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!value->data[0].v_pointer) { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = NULL; -#line 1344 "FacebookPublishing.c" +#line 1328 "FacebookPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = value->data[0].v_pointer; -#line 1348 "FacebookPublishing.c" +#line 1332 "FacebookPublishing.c" } else { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = publishing_facebook_album_ref (value->data[0].v_pointer); -#line 1352 "FacebookPublishing.c" +#line 1336 "FacebookPublishing.c" } #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 1356 "FacebookPublishing.c" +#line 1340 "FacebookPublishing.c" } @@ -1374,7 +1358,7 @@ GParamSpec* publishing_facebook_param_spec_album (const gchar* name, const gchar G_PARAM_SPEC (spec)->value_type = object_type; #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return G_PARAM_SPEC (spec); -#line 1370 "FacebookPublishing.c" +#line 1354 "FacebookPublishing.c" } @@ -1383,7 +1367,7 @@ gpointer publishing_facebook_value_get_album (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_ALBUM), NULL); #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return value->data[0].v_pointer; -#line 1379 "FacebookPublishing.c" +#line 1363 "FacebookPublishing.c" } @@ -1403,17 +1387,17 @@ void publishing_facebook_value_set_album (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_album_ref (value->data[0].v_pointer); -#line 1399 "FacebookPublishing.c" +#line 1383 "FacebookPublishing.c" } else { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 1403 "FacebookPublishing.c" +#line 1387 "FacebookPublishing.c" } #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (old) { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_album_unref (old); -#line 1409 "FacebookPublishing.c" +#line 1393 "FacebookPublishing.c" } } @@ -1432,17 +1416,17 @@ void publishing_facebook_value_take_album (GValue* value, gpointer v_object) { g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = v_object; -#line 1428 "FacebookPublishing.c" +#line 1412 "FacebookPublishing.c" } else { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 1432 "FacebookPublishing.c" +#line 1416 "FacebookPublishing.c" } #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (old) { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_album_unref (old); -#line 1438 "FacebookPublishing.c" +#line 1422 "FacebookPublishing.c" } } @@ -1452,14 +1436,14 @@ static void publishing_facebook_album_class_init (PublishingFacebookAlbumClass * publishing_facebook_album_parent_class = g_type_class_peek_parent (klass); #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ((PublishingFacebookAlbumClass *) klass)->finalize = publishing_facebook_album_finalize; -#line 1448 "FacebookPublishing.c" +#line 1432 "FacebookPublishing.c" } static void publishing_facebook_album_instance_init (PublishingFacebookAlbum * self) { #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->ref_count = 1; -#line 1455 "FacebookPublishing.c" +#line 1439 "FacebookPublishing.c" } @@ -1473,7 +1457,7 @@ static void publishing_facebook_album_finalize (PublishingFacebookAlbum* obj) { _g_free0 (self->name); #line 72 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->id); -#line 1469 "FacebookPublishing.c" +#line 1453 "FacebookPublishing.c" } @@ -1498,7 +1482,7 @@ gpointer publishing_facebook_album_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return instance; -#line 1494 "FacebookPublishing.c" +#line 1478 "FacebookPublishing.c" } @@ -1511,7 +1495,7 @@ void publishing_facebook_album_unref (gpointer instance) { PUBLISHING_FACEBOOK_ALBUM_GET_CLASS (self)->finalize (self); #line 70 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 1507 "FacebookPublishing.c" +#line 1491 "FacebookPublishing.c" } } @@ -1522,7 +1506,7 @@ gchar* publishing_facebook_resolution_get_name (PublishingFacebookResolution sel switch (self) { #line 85 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" case PUBLISHING_FACEBOOK_RESOLUTION_STANDARD: -#line 1518 "FacebookPublishing.c" +#line 1502 "FacebookPublishing.c" { const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; @@ -1534,11 +1518,11 @@ gchar* publishing_facebook_resolution_get_name (PublishingFacebookResolution sel result = _tmp1_; #line 87 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 1530 "FacebookPublishing.c" +#line 1514 "FacebookPublishing.c" } #line 85 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" case PUBLISHING_FACEBOOK_RESOLUTION_HIGH: -#line 1534 "FacebookPublishing.c" +#line 1518 "FacebookPublishing.c" { const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; @@ -1550,7 +1534,7 @@ gchar* publishing_facebook_resolution_get_name (PublishingFacebookResolution sel result = _tmp3_; #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 1546 "FacebookPublishing.c" +#line 1530 "FacebookPublishing.c" } default: { @@ -1559,7 +1543,7 @@ gchar* publishing_facebook_resolution_get_name (PublishingFacebookResolution sel _tmp4_ = g_enum_get_value (g_type_class_ref (PUBLISHING_FACEBOOK_TYPE_RESOLUTION), self); #line 93 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_error ("FacebookPublishing.vala:93: Unknown resolution %s", (_tmp4_ != NULL) ? _tmp4_->value_name : NULL); -#line 1555 "FacebookPublishing.c" +#line 1539 "FacebookPublishing.c" } } } @@ -1571,23 +1555,23 @@ gint publishing_facebook_resolution_get_pixels (PublishingFacebookResolution sel switch (self) { #line 98 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" case PUBLISHING_FACEBOOK_RESOLUTION_STANDARD: -#line 1567 "FacebookPublishing.c" +#line 1551 "FacebookPublishing.c" { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = 720; #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 1573 "FacebookPublishing.c" +#line 1557 "FacebookPublishing.c" } #line 98 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" case PUBLISHING_FACEBOOK_RESOLUTION_HIGH: -#line 1577 "FacebookPublishing.c" +#line 1561 "FacebookPublishing.c" { #line 103 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = 2048; #line 103 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 1583 "FacebookPublishing.c" +#line 1567 "FacebookPublishing.c" } default: { @@ -1596,7 +1580,7 @@ gint publishing_facebook_resolution_get_pixels (PublishingFacebookResolution sel _tmp0_ = g_enum_get_value (g_type_class_ref (PUBLISHING_FACEBOOK_TYPE_RESOLUTION), self); #line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_error ("FacebookPublishing.vala:106: Unknown resolution %s", (_tmp0_ != NULL) ? _tmp0_->value_name : NULL); -#line 1592 "FacebookPublishing.c" +#line 1576 "FacebookPublishing.c" } } } @@ -1642,21 +1626,21 @@ PublishingFacebookPublishingParameters* publishing_facebook_publishing_parameter self->resolution = PUBLISHING_FACEBOOK_RESOLUTION_HIGH; #line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 1638 "FacebookPublishing.c" +#line 1622 "FacebookPublishing.c" } PublishingFacebookPublishingParameters* publishing_facebook_publishing_parameters_new (void) { #line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return publishing_facebook_publishing_parameters_construct (PUBLISHING_FACEBOOK_TYPE_PUBLISHING_PARAMETERS); -#line 1645 "FacebookPublishing.c" +#line 1629 "FacebookPublishing.c" } static gpointer _publishing_facebook_album_ref0 (gpointer self) { #line 139 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self ? publishing_facebook_album_ref (self) : NULL; -#line 1652 "FacebookPublishing.c" +#line 1636 "FacebookPublishing.c" } @@ -1667,13 +1651,13 @@ static void _vala_array_add6 (PublishingFacebookAlbum*** array, int* length, int *size = (*size) ? (2 * (*size)) : 4; #line 139 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *array = g_renew (PublishingFacebookAlbum*, *array, (*size) + 1); -#line 1663 "FacebookPublishing.c" +#line 1647 "FacebookPublishing.c" } #line 139 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" (*array)[(*length)++] = value; #line 139 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" (*array)[*length] = NULL; -#line 1669 "FacebookPublishing.c" +#line 1653 "FacebookPublishing.c" } @@ -1699,7 +1683,7 @@ void publishing_facebook_publishing_parameters_add_album (PublishingFacebookPubl _tmp0__length1 = self->albums_length1; #line 135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp0_ == NULL) { -#line 1695 "FacebookPublishing.c" +#line 1679 "FacebookPublishing.c" PublishingFacebookAlbum** _tmp1_ = NULL; #line 136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = g_new0 (PublishingFacebookAlbum*, 0 + 1); @@ -1711,7 +1695,7 @@ void publishing_facebook_publishing_parameters_add_album (PublishingFacebookPubl self->albums_length1 = 0; #line 136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->_albums_size_ = self->albums_length1; -#line 1707 "FacebookPublishing.c" +#line 1691 "FacebookPublishing.c" } #line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = name; @@ -1731,7 +1715,7 @@ void publishing_facebook_publishing_parameters_add_album (PublishingFacebookPubl _vala_array_add6 (&self->albums, &self->albums_length1, &self->_albums_size_, _tmp6_); #line 134 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_album_unref0 (new_album); -#line 1727 "FacebookPublishing.c" +#line 1711 "FacebookPublishing.c" } @@ -1747,20 +1731,20 @@ void publishing_facebook_publishing_parameters_set_target_album_by_name (Publish self->target_album = PUBLISHING_FACEBOOK_PUBLISHING_PARAMETERS_UNKNOWN_ALBUM; #line 145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 1743 "FacebookPublishing.c" +#line 1727 "FacebookPublishing.c" } { gint i = 0; #line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" i = 0; -#line 1749 "FacebookPublishing.c" +#line 1733 "FacebookPublishing.c" { gboolean _tmp1_ = FALSE; #line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = TRUE; #line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" while (TRUE) { -#line 1756 "FacebookPublishing.c" +#line 1740 "FacebookPublishing.c" gint _tmp3_ = 0; PublishingFacebookAlbum** _tmp4_ = NULL; gint _tmp4__length1 = 0; @@ -1772,13 +1756,13 @@ void publishing_facebook_publishing_parameters_set_target_album_by_name (Publish const gchar* _tmp9_ = NULL; #line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!_tmp1_) { -#line 1768 "FacebookPublishing.c" +#line 1752 "FacebookPublishing.c" gint _tmp2_ = 0; #line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = i; #line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" i = _tmp2_ + 1; -#line 1774 "FacebookPublishing.c" +#line 1758 "FacebookPublishing.c" } #line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = FALSE; @@ -1792,7 +1776,7 @@ void publishing_facebook_publishing_parameters_set_target_album_by_name (Publish if (!(_tmp3_ < _tmp4__length1)) { #line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" break; -#line 1788 "FacebookPublishing.c" +#line 1772 "FacebookPublishing.c" } #line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = self->albums; @@ -1808,7 +1792,7 @@ void publishing_facebook_publishing_parameters_set_target_album_by_name (Publish _tmp9_ = name; #line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (g_strcmp0 (_tmp8_, _tmp9_) == 0) { -#line 1804 "FacebookPublishing.c" +#line 1788 "FacebookPublishing.c" gint _tmp10_ = 0; #line 151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = i; @@ -1816,14 +1800,14 @@ void publishing_facebook_publishing_parameters_set_target_album_by_name (Publish self->target_album = _tmp10_; #line 152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 1812 "FacebookPublishing.c" +#line 1796 "FacebookPublishing.c" } } } } #line 156 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->target_album = PUBLISHING_FACEBOOK_PUBLISHING_PARAMETERS_UNKNOWN_ALBUM; -#line 1819 "FacebookPublishing.c" +#line 1803 "FacebookPublishing.c" } @@ -1848,14 +1832,14 @@ gchar* publishing_facebook_publishing_parameters_get_target_album_name (Publishi if (_tmp1_ == NULL) { #line 160 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = TRUE; -#line 1844 "FacebookPublishing.c" +#line 1828 "FacebookPublishing.c" } else { gint _tmp2_ = 0; #line 160 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = self->target_album; #line 160 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = _tmp2_ == PUBLISHING_FACEBOOK_PUBLISHING_PARAMETERS_UNKNOWN_ALBUM; -#line 1851 "FacebookPublishing.c" +#line 1835 "FacebookPublishing.c" } #line 160 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp0_) { @@ -1863,7 +1847,7 @@ gchar* publishing_facebook_publishing_parameters_get_target_album_name (Publishi result = NULL; #line 161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 1859 "FacebookPublishing.c" +#line 1843 "FacebookPublishing.c" } #line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = self->albums; @@ -1881,7 +1865,7 @@ gchar* publishing_facebook_publishing_parameters_get_target_album_name (Publishi result = _tmp7_; #line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 1877 "FacebookPublishing.c" +#line 1861 "FacebookPublishing.c" } @@ -1906,14 +1890,14 @@ gchar* publishing_facebook_publishing_parameters_get_target_album_id (Publishing if (_tmp1_ == NULL) { #line 167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = TRUE; -#line 1902 "FacebookPublishing.c" +#line 1886 "FacebookPublishing.c" } else { gint _tmp2_ = 0; #line 167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = self->target_album; #line 167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = _tmp2_ == PUBLISHING_FACEBOOK_PUBLISHING_PARAMETERS_UNKNOWN_ALBUM; -#line 1909 "FacebookPublishing.c" +#line 1893 "FacebookPublishing.c" } #line 167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp0_) { @@ -1921,7 +1905,7 @@ gchar* publishing_facebook_publishing_parameters_get_target_album_id (Publishing result = NULL; #line 168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 1917 "FacebookPublishing.c" +#line 1901 "FacebookPublishing.c" } #line 170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = self->albums; @@ -1939,14 +1923,14 @@ gchar* publishing_facebook_publishing_parameters_get_target_album_id (Publishing result = _tmp7_; #line 170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 1935 "FacebookPublishing.c" +#line 1919 "FacebookPublishing.c" } static void publishing_facebook_value_publishing_parameters_init (GValue* value) { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 1942 "FacebookPublishing.c" +#line 1926 "FacebookPublishing.c" } @@ -1955,7 +1939,7 @@ static void publishing_facebook_value_publishing_parameters_free_value (GValue* if (value->data[0].v_pointer) { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_parameters_unref (value->data[0].v_pointer); -#line 1951 "FacebookPublishing.c" +#line 1935 "FacebookPublishing.c" } } @@ -1965,11 +1949,11 @@ static void publishing_facebook_value_publishing_parameters_copy_value (const GV if (src_value->data[0].v_pointer) { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" dest_value->data[0].v_pointer = publishing_facebook_publishing_parameters_ref (src_value->data[0].v_pointer); -#line 1961 "FacebookPublishing.c" +#line 1945 "FacebookPublishing.c" } else { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 1965 "FacebookPublishing.c" +#line 1949 "FacebookPublishing.c" } } @@ -1977,37 +1961,37 @@ static void publishing_facebook_value_publishing_parameters_copy_value (const GV static gpointer publishing_facebook_value_publishing_parameters_peek_pointer (const GValue* value) { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return value->data[0].v_pointer; -#line 1973 "FacebookPublishing.c" +#line 1957 "FacebookPublishing.c" } static gchar* publishing_facebook_value_publishing_parameters_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (collect_values[0].v_pointer) { -#line 1980 "FacebookPublishing.c" +#line 1964 "FacebookPublishing.c" PublishingFacebookPublishingParameters* object; object = collect_values[0].v_pointer; #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (object->parent_instance.g_class == NULL) { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1987 "FacebookPublishing.c" +#line 1971 "FacebookPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1991 "FacebookPublishing.c" +#line 1975 "FacebookPublishing.c" } #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = publishing_facebook_publishing_parameters_ref (object); -#line 1995 "FacebookPublishing.c" +#line 1979 "FacebookPublishing.c" } else { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 1999 "FacebookPublishing.c" +#line 1983 "FacebookPublishing.c" } #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 2003 "FacebookPublishing.c" +#line 1987 "FacebookPublishing.c" } @@ -2018,25 +2002,25 @@ static gchar* publishing_facebook_value_publishing_parameters_lcopy_value (const if (!object_p) { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 2014 "FacebookPublishing.c" +#line 1998 "FacebookPublishing.c" } #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!value->data[0].v_pointer) { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = NULL; -#line 2020 "FacebookPublishing.c" +#line 2004 "FacebookPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = value->data[0].v_pointer; -#line 2024 "FacebookPublishing.c" +#line 2008 "FacebookPublishing.c" } else { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = publishing_facebook_publishing_parameters_ref (value->data[0].v_pointer); -#line 2028 "FacebookPublishing.c" +#line 2012 "FacebookPublishing.c" } #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 2032 "FacebookPublishing.c" +#line 2016 "FacebookPublishing.c" } @@ -2050,7 +2034,7 @@ GParamSpec* publishing_facebook_param_spec_publishing_parameters (const gchar* n G_PARAM_SPEC (spec)->value_type = object_type; #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return G_PARAM_SPEC (spec); -#line 2046 "FacebookPublishing.c" +#line 2030 "FacebookPublishing.c" } @@ -2059,7 +2043,7 @@ gpointer publishing_facebook_value_get_publishing_parameters (const GValue* valu g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_PUBLISHING_PARAMETERS), NULL); #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return value->data[0].v_pointer; -#line 2055 "FacebookPublishing.c" +#line 2039 "FacebookPublishing.c" } @@ -2079,17 +2063,17 @@ void publishing_facebook_value_set_publishing_parameters (GValue* value, gpointe value->data[0].v_pointer = v_object; #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_parameters_ref (value->data[0].v_pointer); -#line 2075 "FacebookPublishing.c" +#line 2059 "FacebookPublishing.c" } else { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 2079 "FacebookPublishing.c" +#line 2063 "FacebookPublishing.c" } #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (old) { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_parameters_unref (old); -#line 2085 "FacebookPublishing.c" +#line 2069 "FacebookPublishing.c" } } @@ -2108,17 +2092,17 @@ void publishing_facebook_value_take_publishing_parameters (GValue* value, gpoint g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = v_object; -#line 2104 "FacebookPublishing.c" +#line 2088 "FacebookPublishing.c" } else { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 2108 "FacebookPublishing.c" +#line 2092 "FacebookPublishing.c" } #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (old) { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_parameters_unref (old); -#line 2114 "FacebookPublishing.c" +#line 2098 "FacebookPublishing.c" } } @@ -2128,14 +2112,14 @@ static void publishing_facebook_publishing_parameters_class_init (PublishingFace publishing_facebook_publishing_parameters_parent_class = g_type_class_peek_parent (klass); #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ((PublishingFacebookPublishingParametersClass *) klass)->finalize = publishing_facebook_publishing_parameters_finalize; -#line 2124 "FacebookPublishing.c" +#line 2108 "FacebookPublishing.c" } static void publishing_facebook_publishing_parameters_instance_init (PublishingFacebookPublishingParameters * self) { #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->ref_count = 1; -#line 2131 "FacebookPublishing.c" +#line 2115 "FacebookPublishing.c" } @@ -2151,7 +2135,7 @@ static void publishing_facebook_publishing_parameters_finalize (PublishingFacebo _g_free0 (self->new_album_name); #line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->privacy_object); -#line 2147 "FacebookPublishing.c" +#line 2131 "FacebookPublishing.c" } @@ -2176,7 +2160,7 @@ gpointer publishing_facebook_publishing_parameters_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return instance; -#line 2172 "FacebookPublishing.c" +#line 2156 "FacebookPublishing.c" } @@ -2189,7 +2173,7 @@ void publishing_facebook_publishing_parameters_unref (gpointer instance) { PUBLISHING_FACEBOOK_PUBLISHING_PARAMETERS_GET_CLASS (self)->finalize (self); #line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 2185 "FacebookPublishing.c" +#line 2169 "FacebookPublishing.c" } } @@ -2197,7 +2181,7 @@ void publishing_facebook_publishing_parameters_unref (gpointer instance) { static void _publishing_facebook_facebook_publisher_on_session_authenticated_publishing_facebook_graph_session_authenticated (PublishingFacebookGraphSession* _sender, gpointer self) { #line 197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_session_authenticated ((PublishingFacebookFacebookPublisher*) self); -#line 2193 "FacebookPublishing.c" +#line 2177 "FacebookPublishing.c" } @@ -2242,14 +2226,14 @@ PublishingFacebookFacebookPublisher* publishing_facebook_facebook_publisher_cons g_signal_connect_object (_tmp4_, "authenticated", (GCallback) _publishing_facebook_facebook_publisher_on_session_authenticated_publishing_facebook_graph_session_authenticated, self, 0); #line 187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 2238 "FacebookPublishing.c" +#line 2222 "FacebookPublishing.c" } PublishingFacebookFacebookPublisher* publishing_facebook_facebook_publisher_new (SpitPublishingService* service, SpitPublishingPluginHost* host) { #line 187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return publishing_facebook_facebook_publisher_construct (PUBLISHING_FACEBOOK_TYPE_FACEBOOK_PUBLISHER, service, host); -#line 2245 "FacebookPublishing.c" +#line 2229 "FacebookPublishing.c" } @@ -2269,18 +2253,18 @@ static gboolean publishing_facebook_facebook_publisher_is_persistent_session_val _tmp1_ = token; #line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp1_ != NULL) { -#line 2265 "FacebookPublishing.c" +#line 2249 "FacebookPublishing.c" const gchar* _tmp2_ = NULL; #line 204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = token; #line 204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_debug ("FacebookPublishing.vala:204: existing Facebook session found in config" \ "uration database (access_token = %s).", _tmp2_); -#line 2271 "FacebookPublishing.c" +#line 2255 "FacebookPublishing.c" } else { #line 207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_debug ("FacebookPublishing.vala:207: no existing Facebook session available."); -#line 2275 "FacebookPublishing.c" +#line 2259 "FacebookPublishing.c" } #line 209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = token; @@ -2290,7 +2274,7 @@ static gboolean publishing_facebook_facebook_publisher_is_persistent_session_val _g_free0 (token); #line 209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 2285 "FacebookPublishing.c" +#line 2269 "FacebookPublishing.c" } @@ -2308,7 +2292,7 @@ static gchar* publishing_facebook_facebook_publisher_get_persistent_access_token result = _tmp1_; #line 213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 2303 "FacebookPublishing.c" +#line 2287 "FacebookPublishing.c" } @@ -2326,7 +2310,7 @@ static gboolean publishing_facebook_facebook_publisher_get_persistent_strip_meta result = _tmp1_; #line 217 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 2321 "FacebookPublishing.c" +#line 2305 "FacebookPublishing.c" } @@ -2343,7 +2327,7 @@ static void publishing_facebook_facebook_publisher_set_persistent_access_token ( _tmp1_ = access_token; #line 221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spit_host_interface_set_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "access_token", _tmp1_); -#line 2338 "FacebookPublishing.c" +#line 2322 "FacebookPublishing.c" } @@ -2358,7 +2342,7 @@ static void publishing_facebook_facebook_publisher_set_persistent_strip_metadata _tmp1_ = strip_metadata; #line 225 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spit_host_interface_set_config_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "strip_metadata", _tmp1_); -#line 2353 "FacebookPublishing.c" +#line 2337 "FacebookPublishing.c" } @@ -2376,7 +2360,7 @@ gint publishing_facebook_facebook_publisher_get_persistent_default_size (Publish result = _tmp1_; #line 231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 2371 "FacebookPublishing.c" +#line 2355 "FacebookPublishing.c" } @@ -2391,7 +2375,7 @@ void publishing_facebook_facebook_publisher_set_persistent_default_size (Publish _tmp1_ = size; #line 235 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spit_host_interface_set_config_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "default_size", _tmp1_); -#line 2386 "FacebookPublishing.c" +#line 2370 "FacebookPublishing.c" } @@ -2402,14 +2386,14 @@ static void publishing_facebook_facebook_publisher_invalidate_persistent_session g_debug ("FacebookPublishing.vala:239: invalidating saved Facebook session."); #line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_set_persistent_access_token (self, ""); -#line 2397 "FacebookPublishing.c" +#line 2381 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_login_clicked_spit_publishing_login_callback (gpointer self) { #line 247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_login_clicked ((PublishingFacebookFacebookPublisher*) self); -#line 2404 "FacebookPublishing.c" +#line 2388 "FacebookPublishing.c" } @@ -2428,21 +2412,21 @@ static void publishing_facebook_facebook_publisher_do_show_service_welcome_pane _tmp1_ = self->priv->host; #line 248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spit_publishing_plugin_host_set_service_locked (_tmp1_, FALSE); -#line 2423 "FacebookPublishing.c" +#line 2407 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_endpoint_test_completed_publishing_facebook_graph_message_completed (PublishingFacebookGraphMessage* _sender, gpointer self) { #line 258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_endpoint_test_completed ((PublishingFacebookFacebookPublisher*) self, _sender); -#line 2430 "FacebookPublishing.c" +#line 2414 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_endpoint_test_error_publishing_facebook_graph_message_failed (PublishingFacebookGraphMessage* _sender, GError* err, gpointer self) { #line 259 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_endpoint_test_error ((PublishingFacebookFacebookPublisher*) self, _sender, err); -#line 2437 "FacebookPublishing.c" +#line 2421 "FacebookPublishing.c" } @@ -2466,7 +2450,7 @@ static void publishing_facebook_facebook_publisher_do_test_connection_to_endpoin #line 255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = self->priv->host; #line 255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp2_ = _ ("Testing connection to Facebook..."); + _tmp2_ = _ ("Testing connection to Facebook…"); #line 255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spit_publishing_plugin_host_install_static_message_pane (_tmp1_, _tmp2_, SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL); #line 257 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" @@ -2485,21 +2469,21 @@ static void publishing_facebook_facebook_publisher_do_test_connection_to_endpoin publishing_facebook_graph_session_send_message (_tmp5_, endpoint_test_message); #line 251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_graph_message_unref0 (endpoint_test_message); -#line 2479 "FacebookPublishing.c" +#line 2463 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_fetch_user_info_completed_publishing_facebook_graph_message_completed (PublishingFacebookGraphMessage* _sender, gpointer self) { #line 272 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_fetch_user_info_completed ((PublishingFacebookFacebookPublisher*) self, _sender); -#line 2486 "FacebookPublishing.c" +#line 2470 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_fetch_user_info_error_publishing_facebook_graph_message_failed (PublishingFacebookGraphMessage* _sender, GError* err, gpointer self) { #line 273 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_fetch_user_info_error ((PublishingFacebookFacebookPublisher*) self, _sender, err); -#line 2493 "FacebookPublishing.c" +#line 2477 "FacebookPublishing.c" } @@ -2538,21 +2522,21 @@ static void publishing_facebook_facebook_publisher_do_fetch_user_info (Publishin publishing_facebook_graph_session_send_message (_tmp4_, user_info_message); #line 264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_graph_message_unref0 (user_info_message); -#line 2532 "FacebookPublishing.c" +#line 2516 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_fetch_albums_completed_publishing_facebook_graph_message_completed (PublishingFacebookGraphMessage* _sender, gpointer self) { #line 286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_fetch_albums_completed ((PublishingFacebookFacebookPublisher*) self, _sender); -#line 2539 "FacebookPublishing.c" +#line 2523 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_fetch_albums_error_publishing_facebook_graph_message_failed (PublishingFacebookGraphMessage* _sender, GError* err, gpointer self) { #line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_fetch_albums_error ((PublishingFacebookFacebookPublisher*) self, _sender, err); -#line 2546 "FacebookPublishing.c" +#line 2530 "FacebookPublishing.c" } @@ -2605,35 +2589,35 @@ static void publishing_facebook_facebook_publisher_do_fetch_album_descriptions ( publishing_facebook_graph_session_send_message (_tmp8_, albums_message); #line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_graph_message_unref0 (albums_message); -#line 2599 "FacebookPublishing.c" +#line 2583 "FacebookPublishing.c" } static JsonNode* _vala_JsonNode_copy (JsonNode* self) { #line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_boxed_copy (json_node_get_type (), self); -#line 2606 "FacebookPublishing.c" +#line 2590 "FacebookPublishing.c" } static gpointer __vala_JsonNode_copy0 (gpointer self) { #line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self ? _vala_JsonNode_copy (self) : NULL; -#line 2613 "FacebookPublishing.c" +#line 2597 "FacebookPublishing.c" } static gpointer _json_object_ref0 (gpointer self) { #line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self ? json_object_ref (self) : NULL; -#line 2620 "FacebookPublishing.c" +#line 2604 "FacebookPublishing.c" } static void _vala_JsonNode_free (JsonNode* self) { #line 295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_boxed_free (json_node_get_type (), self); -#line 2627 "FacebookPublishing.c" +#line 2611 "FacebookPublishing.c" } @@ -2646,7 +2630,7 @@ static void publishing_facebook_facebook_publisher_do_extract_user_info_from_jso #line 293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_debug ("FacebookPublishing.vala:293: ACTION: extracting user info from JSON re" \ "sponse."); -#line 2639 "FacebookPublishing.c" +#line 2623 "FacebookPublishing.c" { JsonParser* parser = NULL; JsonParser* _tmp0_ = NULL; @@ -2680,7 +2664,7 @@ static void publishing_facebook_facebook_publisher_do_extract_user_info_from_jso if (G_UNLIKELY (_inner_error_ != NULL)) { #line 297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (parser); -#line 2673 "FacebookPublishing.c" +#line 2657 "FacebookPublishing.c" goto __catch0_g_error; } #line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" @@ -2725,7 +2709,7 @@ static void publishing_facebook_facebook_publisher_do_extract_user_info_from_jso __vala_JsonNode_free0 (root); #line 295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (parser); -#line 2718 "FacebookPublishing.c" +#line 2702 "FacebookPublishing.c" } goto __finally0; __catch0_g_error: @@ -2758,7 +2742,7 @@ static void publishing_facebook_facebook_publisher_do_extract_user_info_from_jso _g_error_free0 (_error_); #line 305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 2751 "FacebookPublishing.c" +#line 2735 "FacebookPublishing.c" } __finally0: #line 295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" @@ -2769,18 +2753,18 @@ static void publishing_facebook_facebook_publisher_do_extract_user_info_from_jso g_clear_error (&_inner_error_); #line 295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 2762 "FacebookPublishing.c" +#line 2746 "FacebookPublishing.c" } #line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_user_info_extracted (self); -#line 2766 "FacebookPublishing.c" +#line 2750 "FacebookPublishing.c" } static gpointer _json_array_ref0 (gpointer self) { #line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self ? json_array_ref (self) : NULL; -#line 2773 "FacebookPublishing.c" +#line 2757 "FacebookPublishing.c" } @@ -2793,7 +2777,7 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json ( #line 312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_debug ("FacebookPublishing.vala:312: ACTION: extracting album info from JSON r" \ "esponse."); -#line 2785 "FacebookPublishing.c" +#line 2769 "FacebookPublishing.c" { JsonParser* parser = NULL; JsonParser* _tmp0_ = NULL; @@ -2827,7 +2811,7 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json ( if (G_UNLIKELY (_inner_error_ != NULL)) { #line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (parser); -#line 2819 "FacebookPublishing.c" +#line 2803 "FacebookPublishing.c" goto __catch1_g_error; } #line 318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" @@ -2866,19 +2850,19 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json ( _tmp12_->albums_length1 = 0; #line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp12_->_albums_size_ = _tmp12_->albums_length1; -#line 2858 "FacebookPublishing.c" +#line 2842 "FacebookPublishing.c" { gint i = 0; #line 324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" i = 0; -#line 2863 "FacebookPublishing.c" +#line 2847 "FacebookPublishing.c" { gboolean _tmp14_ = FALSE; #line 324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp14_ = TRUE; #line 324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" while (TRUE) { -#line 2870 "FacebookPublishing.c" +#line 2854 "FacebookPublishing.c" gint _tmp16_ = 0; JsonArray* _tmp17_ = NULL; guint _tmp18_ = 0U; @@ -2900,13 +2884,13 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json ( const gchar* _tmp31_ = NULL; #line 324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!_tmp14_) { -#line 2892 "FacebookPublishing.c" +#line 2876 "FacebookPublishing.c" gint _tmp15_ = 0; #line 324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp15_ = i; #line 324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" i = _tmp15_ + 1; -#line 2898 "FacebookPublishing.c" +#line 2882 "FacebookPublishing.c" } #line 324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp14_ = FALSE; @@ -2920,7 +2904,7 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json ( if (!(((guint) _tmp16_) < _tmp18_)) { #line 324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" break; -#line 2912 "FacebookPublishing.c" +#line 2896 "FacebookPublishing.c" } #line 325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp19_ = album_list; @@ -2962,7 +2946,7 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json ( _g_free0 (album_id); #line 324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _json_object_unref0 (current_album); -#line 2954 "FacebookPublishing.c" +#line 2938 "FacebookPublishing.c" } } } @@ -2974,7 +2958,7 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json ( __vala_JsonNode_free0 (root); #line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (parser); -#line 2966 "FacebookPublishing.c" +#line 2950 "FacebookPublishing.c" } goto __finally1; __catch1_g_error: @@ -3007,7 +2991,7 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json ( _g_error_free0 (_error_); #line 338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 2999 "FacebookPublishing.c" +#line 2983 "FacebookPublishing.c" } __finally1: #line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" @@ -3018,25 +3002,25 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json ( g_clear_error (&_inner_error_); #line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 3010 "FacebookPublishing.c" +#line 2994 "FacebookPublishing.c" } #line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_albums_extracted (self); -#line 3014 "FacebookPublishing.c" +#line 2998 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_create_album_completed_publishing_facebook_graph_message_completed (PublishingFacebookGraphMessage* _sender, gpointer self) { #line 353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_create_album_completed ((PublishingFacebookFacebookPublisher*) self, _sender); -#line 3021 "FacebookPublishing.c" +#line 3005 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_create_album_error_publishing_facebook_graph_message_failed (PublishingFacebookGraphMessage* _sender, GError* err, gpointer self) { #line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_create_album_error ((PublishingFacebookFacebookPublisher*) self, _sender, err); -#line 3028 "FacebookPublishing.c" +#line 3012 "FacebookPublishing.c" } @@ -3070,7 +3054,7 @@ static void publishing_facebook_facebook_publisher_do_create_new_album (Publishi #line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = self->priv->host; #line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp4_ = _ ("Creating album..."); + _tmp4_ = _ ("Creating album…"); #line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spit_publishing_plugin_host_install_static_message_pane (_tmp3_, _tmp4_, SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL); #line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" @@ -3097,21 +3081,21 @@ static void publishing_facebook_facebook_publisher_do_create_new_album (Publishi publishing_facebook_graph_session_send_message (_tmp11_, create_album_message); #line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_graph_message_unref0 (create_album_message); -#line 3088 "FacebookPublishing.c" +#line 3072 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_publishing_options_pane_logout_publishing_facebook_publishing_options_pane_logout (PublishingFacebookPublishingOptionsPane* _sender, gpointer self) { #line 380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_publishing_options_pane_logout ((PublishingFacebookFacebookPublisher*) self); -#line 3095 "FacebookPublishing.c" +#line 3079 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_publishing_options_pane_publish_publishing_facebook_publishing_options_pane_publish (PublishingFacebookPublishingOptionsPane* _sender, const gchar* target_album, const gchar* privacy_setting, PublishingFacebookResolution target_resolution, gboolean strip_metadata, gpointer self) { #line 381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_publishing_options_pane_publish ((PublishingFacebookFacebookPublisher*) self, target_album, privacy_setting, target_resolution, strip_metadata); -#line 3102 "FacebookPublishing.c" +#line 3086 "FacebookPublishing.c" } @@ -3145,7 +3129,7 @@ static void publishing_facebook_facebook_publisher_do_show_publishing_options_pa _tmp1_ = gtk_builder_new (); #line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" builder = _tmp1_; -#line 3136 "FacebookPublishing.c" +#line 3120 "FacebookPublishing.c" { GtkBuilder* _tmp2_ = NULL; #line 368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" @@ -3154,7 +3138,7 @@ static void publishing_facebook_facebook_publisher_do_show_publishing_options_pa gtk_builder_add_from_resource (_tmp2_, PLUGIN_RESOURCE_PATH "/" "facebook_publishing_options_pane.ui", &_inner_error_); #line 368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 3145 "FacebookPublishing.c" +#line 3129 "FacebookPublishing.c" goto __catch2_g_error; } } @@ -3182,7 +3166,7 @@ static void publishing_facebook_facebook_publisher_do_show_publishing_options_pa _tmp5_ = self->priv->host; #line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = _ ("A file required for publishing is unavailable. Publishing to Facebook " \ -"can't continue."); +"can’t continue."); #line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR, _tmp6_); #line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" @@ -3197,7 +3181,7 @@ static void publishing_facebook_facebook_publisher_do_show_publishing_options_pa _g_object_unref0 (builder); #line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 3187 "FacebookPublishing.c" +#line 3171 "FacebookPublishing.c" } __finally2: #line 365 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" @@ -3210,7 +3194,7 @@ static void publishing_facebook_facebook_publisher_do_show_publishing_options_pa g_clear_error (&_inner_error_); #line 365 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 3200 "FacebookPublishing.c" +#line 3184 "FacebookPublishing.c" } #line 378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = self->priv->username; @@ -3250,7 +3234,7 @@ static void publishing_facebook_facebook_publisher_do_show_publishing_options_pa spit_publishing_plugin_host_install_dialog_pane (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL); #line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (builder); -#line 3240 "FacebookPublishing.c" +#line 3224 "FacebookPublishing.c" } @@ -3266,7 +3250,7 @@ static void publishing_facebook_facebook_publisher_do_logout (PublishingFacebook self->priv->running = FALSE; #line 392 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spit_publishing_publisher_start (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher)); -#line 3255 "FacebookPublishing.c" +#line 3239 "FacebookPublishing.c" } @@ -3280,7 +3264,7 @@ static void publishing_facebook_facebook_publisher_do_add_new_local_album_from_j g_return_if_fail (album_name != NULL); #line 395 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (json != NULL); -#line 3269 "FacebookPublishing.c" +#line 3253 "FacebookPublishing.c" { JsonParser* parser = NULL; JsonParser* _tmp0_ = NULL; @@ -3315,7 +3299,7 @@ static void publishing_facebook_facebook_publisher_do_add_new_local_album_from_j if (G_UNLIKELY (_inner_error_ != NULL)) { #line 398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (parser); -#line 3304 "FacebookPublishing.c" +#line 3288 "FacebookPublishing.c" goto __catch3_g_error; } #line 400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" @@ -3358,7 +3342,7 @@ static void publishing_facebook_facebook_publisher_do_add_new_local_album_from_j __vala_JsonNode_free0 (root); #line 396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (parser); -#line 3347 "FacebookPublishing.c" +#line 3331 "FacebookPublishing.c" } goto __finally3; __catch3_g_error: @@ -3391,7 +3375,7 @@ static void publishing_facebook_facebook_publisher_do_add_new_local_album_from_j _g_error_free0 (_error_); #line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 3380 "FacebookPublishing.c" +#line 3364 "FacebookPublishing.c" } __finally3: #line 396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" @@ -3402,7 +3386,7 @@ static void publishing_facebook_facebook_publisher_do_add_new_local_album_from_j g_clear_error (&_inner_error_); #line 396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 3391 "FacebookPublishing.c" +#line 3375 "FacebookPublishing.c" } #line 410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp20_ = self->priv->publishing_params; @@ -3412,21 +3396,21 @@ static void publishing_facebook_facebook_publisher_do_add_new_local_album_from_j publishing_facebook_publishing_parameters_set_target_album_by_name (_tmp20_, _tmp21_); #line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_do_upload (self); -#line 3401 "FacebookPublishing.c" +#line 3385 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_web_auth_pane_login_succeeded_publishing_facebook_web_authentication_pane_login_succeeded (PublishingFacebookWebAuthenticationPane* _sender, const gchar* success_url, gpointer self) { #line 420 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_web_auth_pane_login_succeeded ((PublishingFacebookFacebookPublisher*) self, success_url); -#line 3408 "FacebookPublishing.c" +#line 3392 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_web_auth_pane_login_failed_publishing_facebook_web_authentication_pane_login_failed (PublishingFacebookWebAuthenticationPane* _sender, gpointer self) { #line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_web_auth_pane_login_failed ((PublishingFacebookFacebookPublisher*) self); -#line 3415 "FacebookPublishing.c" +#line 3399 "FacebookPublishing.c" } @@ -3465,7 +3449,7 @@ static void publishing_facebook_facebook_publisher_do_hosted_web_authentication _tmp5_ = self->priv->web_auth_pane; #line 423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spit_publishing_plugin_host_install_dialog_pane (_tmp4_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL); -#line 3454 "FacebookPublishing.c" +#line 3438 "FacebookPublishing.c" } @@ -3492,7 +3476,7 @@ static gint string_index_of (const gchar* self, const gchar* needle, gint start_ _tmp3_ = _result_; #line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { -#line 3481 "FacebookPublishing.c" +#line 3465 "FacebookPublishing.c" gchar* _tmp4_ = NULL; #line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _result_; @@ -3500,13 +3484,13 @@ static gint string_index_of (const gchar* self, const gchar* needle, gint start_ result = (gint) (_tmp4_ - ((gchar*) self)); #line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 3489 "FacebookPublishing.c" +#line 3473 "FacebookPublishing.c" } else { #line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = -1; #line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 3495 "FacebookPublishing.c" +#line 3479 "FacebookPublishing.c" } } @@ -3540,7 +3524,7 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { _tmp2_ = start; #line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_ < ((glong) 0)) { -#line 3529 "FacebookPublishing.c" +#line 3513 "FacebookPublishing.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; #line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -3549,13 +3533,13 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { _tmp4_ = start; #line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" start = _tmp3_ + _tmp4_; -#line 3538 "FacebookPublishing.c" +#line 3522 "FacebookPublishing.c" } #line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; #line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp5_ < ((glong) 0)) { -#line 3544 "FacebookPublishing.c" +#line 3528 "FacebookPublishing.c" glong _tmp6_ = 0L; glong _tmp7_ = 0L; #line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -3564,13 +3548,13 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { _tmp7_ = end; #line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp6_ + _tmp7_; -#line 3553 "FacebookPublishing.c" +#line 3537 "FacebookPublishing.c" } #line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = start; #line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp9_ >= ((glong) 0)) { -#line 3559 "FacebookPublishing.c" +#line 3543 "FacebookPublishing.c" glong _tmp10_ = 0L; glong _tmp11_ = 0L; #line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -3579,11 +3563,11 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { _tmp11_ = string_length; #line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp10_ <= _tmp11_; -#line 3568 "FacebookPublishing.c" +#line 3552 "FacebookPublishing.c" } else { #line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = FALSE; -#line 3572 "FacebookPublishing.c" +#line 3556 "FacebookPublishing.c" } #line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp8_, NULL); @@ -3591,7 +3575,7 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { _tmp13_ = end; #line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13_ >= ((glong) 0)) { -#line 3580 "FacebookPublishing.c" +#line 3564 "FacebookPublishing.c" glong _tmp14_ = 0L; glong _tmp15_ = 0L; #line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -3600,11 +3584,11 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { _tmp15_ = string_length; #line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ <= _tmp15_; -#line 3589 "FacebookPublishing.c" +#line 3573 "FacebookPublishing.c" } else { #line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; -#line 3593 "FacebookPublishing.c" +#line 3577 "FacebookPublishing.c" } #line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_, NULL); @@ -3626,7 +3610,7 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { result = _tmp21_; #line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 3615 "FacebookPublishing.c" +#line 3599 "FacebookPublishing.c" } @@ -3651,7 +3635,7 @@ static gint string_index_of_char (const gchar* self, gunichar c, gint start_inde _tmp3_ = _result_; #line 1010 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { -#line 3640 "FacebookPublishing.c" +#line 3624 "FacebookPublishing.c" gchar* _tmp4_ = NULL; #line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _result_; @@ -3659,13 +3643,13 @@ static gint string_index_of_char (const gchar* self, gunichar c, gint start_inde result = (gint) (_tmp4_ - ((gchar*) self)); #line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 3648 "FacebookPublishing.c" +#line 3632 "FacebookPublishing.c" } else { #line 1013 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = -1; #line 1013 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 3654 "FacebookPublishing.c" +#line 3638 "FacebookPublishing.c" } } @@ -3679,7 +3663,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_return_val_if_fail (old != NULL, NULL); #line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); -#line 3668 "FacebookPublishing.c" +#line 3652 "FacebookPublishing.c" { GRegex* regex = NULL; const gchar* _tmp0_ = NULL; @@ -3710,7 +3694,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 3699 "FacebookPublishing.c" +#line 3683 "FacebookPublishing.c" goto __catch4_g_regex_error; } #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -3719,7 +3703,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_clear_error (&_inner_error_); #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; -#line 3708 "FacebookPublishing.c" +#line 3692 "FacebookPublishing.c" } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; @@ -3735,7 +3719,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_regex_unref0 (regex); #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 3724 "FacebookPublishing.c" +#line 3708 "FacebookPublishing.c" goto __catch4_g_regex_error; } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -3746,7 +3730,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_clear_error (&_inner_error_); #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; -#line 3735 "FacebookPublishing.c" +#line 3719 "FacebookPublishing.c" } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; @@ -3760,7 +3744,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_regex_unref0 (regex); #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 3749 "FacebookPublishing.c" +#line 3733 "FacebookPublishing.c" } goto __finally4; __catch4_g_regex_error: @@ -3774,7 +3758,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_assert_not_reached (); #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); -#line 3763 "FacebookPublishing.c" +#line 3747 "FacebookPublishing.c" } __finally4: #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -3785,7 +3769,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_clear_error (&_inner_error_); #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; -#line 3774 "FacebookPublishing.c" +#line 3758 "FacebookPublishing.c" } } @@ -3838,7 +3822,7 @@ static void publishing_facebook_facebook_publisher_do_authenticate_session (Publ _tmp5_ = index; #line 438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp5_ >= 0) { -#line 3826 "FacebookPublishing.c" +#line 3810 "FacebookPublishing.c" const gchar* _tmp6_ = NULL; gint _tmp7_ = 0; const gchar* _tmp8_ = NULL; @@ -3861,13 +3845,13 @@ static void publishing_facebook_facebook_publisher_do_authenticate_session (Publ _g_free0 (access_token); #line 439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" access_token = _tmp11_; -#line 3849 "FacebookPublishing.c" +#line 3833 "FacebookPublishing.c" } #line 440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp12_ = access_token; #line 440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp12_ == NULL) { -#line 3855 "FacebookPublishing.c" +#line 3839 "FacebookPublishing.c" SpitPublishingPluginHost* _tmp13_ = NULL; GError* _tmp14_ = NULL; GError* _tmp15_ = NULL; @@ -3887,7 +3871,7 @@ static void publishing_facebook_facebook_publisher_do_authenticate_session (Publ _g_free0 (decoded_uri); #line 443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 3875 "FacebookPublishing.c" +#line 3859 "FacebookPublishing.c" } #line 447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" trailing_params = NULL; @@ -3901,7 +3885,7 @@ static void publishing_facebook_facebook_publisher_do_authenticate_session (Publ _tmp18_ = index; #line 449 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp18_ >= 0) { -#line 3889 "FacebookPublishing.c" +#line 3873 "FacebookPublishing.c" const gchar* _tmp19_ = NULL; gint _tmp20_ = 0; const gchar* _tmp21_ = NULL; @@ -3924,13 +3908,13 @@ static void publishing_facebook_facebook_publisher_do_authenticate_session (Publ _g_free0 (trailing_params); #line 450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" trailing_params = _tmp24_; -#line 3912 "FacebookPublishing.c" +#line 3896 "FacebookPublishing.c" } #line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp25_ = trailing_params; #line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp25_ != NULL) { -#line 3918 "FacebookPublishing.c" +#line 3902 "FacebookPublishing.c" const gchar* _tmp26_ = NULL; const gchar* _tmp27_ = NULL; gchar* _tmp28_ = NULL; @@ -3944,7 +3928,7 @@ static void publishing_facebook_facebook_publisher_do_authenticate_session (Publ _g_free0 (access_token); #line 452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" access_token = _tmp28_; -#line 3932 "FacebookPublishing.c" +#line 3916 "FacebookPublishing.c" } #line 455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp29_ = access_token; @@ -3970,7 +3954,7 @@ static void publishing_facebook_facebook_publisher_do_authenticate_session (Publ _g_free0 (access_token); #line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (decoded_uri); -#line 3958 "FacebookPublishing.c" +#line 3942 "FacebookPublishing.c" } @@ -3993,28 +3977,28 @@ static void publishing_facebook_facebook_publisher_do_save_session_information ( publishing_facebook_facebook_publisher_set_persistent_access_token (self, _tmp2_); #line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp2_); -#line 3980 "FacebookPublishing.c" +#line 3964 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_upload_complete_publishing_facebook_uploader_upload_complete (PublishingFacebookUploader* _sender, gint num_photos_published, gpointer self) { #line 488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_upload_complete ((PublishingFacebookFacebookPublisher*) self, _sender, num_photos_published); -#line 3987 "FacebookPublishing.c" +#line 3971 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_upload_error_publishing_facebook_uploader_upload_error (PublishingFacebookUploader* _sender, GError* err, gpointer self) { #line 489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_upload_error ((PublishingFacebookFacebookPublisher*) self, _sender, err); -#line 3994 "FacebookPublishing.c" +#line 3978 "FacebookPublishing.c" } static void _publishing_facebook_facebook_publisher_on_upload_status_updated_spit_publishing_progress_callback (gint file_number, gdouble fraction_complete, gpointer self) { #line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_upload_status_updated ((PublishingFacebookFacebookPublisher*) self, file_number, fraction_complete); -#line 4001 "FacebookPublishing.c" +#line 3985 "FacebookPublishing.c" } @@ -4055,7 +4039,7 @@ static void publishing_facebook_facebook_publisher_do_upload (PublishingFacebook _tmp2_ = _tmp1_->target_album; #line 470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp2_ == PUBLISHING_FACEBOOK_PUBLISHING_PARAMETERS_UNKNOWN_ALBUM) { -#line 4042 "FacebookPublishing.c" +#line 4026 "FacebookPublishing.c" gchar* _tmp3_ = NULL; #line 470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = g_strdup ("(none)"); @@ -4063,7 +4047,7 @@ static void publishing_facebook_facebook_publisher_do_upload (PublishingFacebook _g_free0 (_tmp0_); #line 470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = _tmp3_; -#line 4050 "FacebookPublishing.c" +#line 4034 "FacebookPublishing.c" } else { PublishingFacebookPublishingParameters* _tmp4_ = NULL; gchar* _tmp5_ = NULL; @@ -4075,7 +4059,7 @@ static void publishing_facebook_facebook_publisher_do_upload (PublishingFacebook _g_free0 (_tmp0_); #line 471 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = _tmp5_; -#line 4062 "FacebookPublishing.c" +#line 4046 "FacebookPublishing.c" } #line 469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_debug ("FacebookPublishing.vala:469: ACTION: uploading photos to album '%s'", _tmp0_); @@ -4119,7 +4103,7 @@ static void publishing_facebook_facebook_publisher_do_upload (PublishingFacebook _g_free0 (_tmp0_); #line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4106 "FacebookPublishing.c" +#line 4090 "FacebookPublishing.c" } #line 485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp17_ = self->priv->host; @@ -4161,7 +4145,7 @@ static void publishing_facebook_facebook_publisher_do_upload (PublishingFacebook publishables = (_vala_array_free (publishables, publishables_length1, (GDestroyNotify) g_object_unref), NULL); #line 468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp0_); -#line 4148 "FacebookPublishing.c" +#line 4132 "FacebookPublishing.c" } @@ -4180,7 +4164,7 @@ static void publishing_facebook_facebook_publisher_do_show_success_pane (Publish _tmp1_ = self->priv->host; #line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spit_publishing_plugin_host_install_success_pane (_tmp1_); -#line 4167 "FacebookPublishing.c" +#line 4151 "FacebookPublishing.c" } @@ -4194,7 +4178,7 @@ static void publishing_facebook_facebook_publisher_on_generic_error (PublishingF if (g_error_matches (_tmp0_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_EXPIRED_SESSION)) { #line 503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_do_logout (self); -#line 4181 "FacebookPublishing.c" +#line 4165 "FacebookPublishing.c" } else { SpitPublishingPluginHost* _tmp1_ = NULL; GError* _tmp2_ = NULL; @@ -4204,7 +4188,7 @@ static void publishing_facebook_facebook_publisher_on_generic_error (PublishingF _tmp2_ = _error_; #line 505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spit_publishing_plugin_host_post_error (_tmp1_, _tmp2_); -#line 4191 "FacebookPublishing.c" +#line 4175 "FacebookPublishing.c" } } @@ -4219,14 +4203,14 @@ static void publishing_facebook_facebook_publisher_on_login_clicked (PublishingF if (!_tmp0_) { #line 510 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4206 "FacebookPublishing.c" +#line 4190 "FacebookPublishing.c" } #line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_debug ("FacebookPublishing.vala:512: EVENT: user clicked 'Login' on welcome pa" \ "ne."); #line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_do_test_connection_to_endpoint (self); -#line 4212 "FacebookPublishing.c" +#line 4196 "FacebookPublishing.c" } @@ -4258,14 +4242,14 @@ static void publishing_facebook_facebook_publisher_on_endpoint_test_completed (P if (!_tmp4_) { #line 522 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4244 "FacebookPublishing.c" +#line 4228 "FacebookPublishing.c" } #line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_debug ("FacebookPublishing.vala:524: EVENT: endpoint test transaction detected" \ " that the Facebook endpoint is alive."); #line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_do_hosted_web_authentication (self); -#line 4250 "FacebookPublishing.c" +#line 4234 "FacebookPublishing.c" } @@ -4302,7 +4286,7 @@ static void publishing_facebook_facebook_publisher_on_endpoint_test_error (Publi if (!_tmp4_) { #line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4287 "FacebookPublishing.c" +#line 4271 "FacebookPublishing.c" } #line 537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = _error_; @@ -4321,7 +4305,7 @@ static void publishing_facebook_facebook_publisher_on_endpoint_test_error (Publi _tmp9_ = _error_; #line 540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_generic_error (self, _tmp9_); -#line 4305 "FacebookPublishing.c" +#line 4289 "FacebookPublishing.c" } @@ -4338,7 +4322,7 @@ static void publishing_facebook_facebook_publisher_on_web_auth_pane_login_succee if (!_tmp0_) { #line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4322 "FacebookPublishing.c" +#line 4306 "FacebookPublishing.c" } #line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_debug ("FacebookPublishing.vala:547: EVENT: hosted web login succeeded."); @@ -4346,7 +4330,7 @@ static void publishing_facebook_facebook_publisher_on_web_auth_pane_login_succee _tmp1_ = success_url; #line 549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_do_authenticate_session (self, _tmp1_); -#line 4330 "FacebookPublishing.c" +#line 4314 "FacebookPublishing.c" } @@ -4360,13 +4344,13 @@ static void publishing_facebook_facebook_publisher_on_web_auth_pane_login_failed if (!_tmp0_) { #line 556 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4344 "FacebookPublishing.c" +#line 4328 "FacebookPublishing.c" } #line 558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_debug ("FacebookPublishing.vala:558: EVENT: hosted web login failed."); #line 566 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_do_show_service_welcome_pane (self); -#line 4350 "FacebookPublishing.c" +#line 4334 "FacebookPublishing.c" } @@ -4390,7 +4374,7 @@ static void publishing_facebook_facebook_publisher_on_session_authenticated (Pub if (!_tmp2_) { #line 573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4374 "FacebookPublishing.c" +#line 4358 "FacebookPublishing.c" } #line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = self->priv->graph_session; @@ -4405,7 +4389,7 @@ static void publishing_facebook_facebook_publisher_on_session_authenticated (Pub publishing_facebook_facebook_publisher_do_save_session_information (self); #line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_do_fetch_user_info (self); -#line 4388 "FacebookPublishing.c" +#line 4372 "FacebookPublishing.c" } @@ -4443,7 +4427,7 @@ static void publishing_facebook_facebook_publisher_on_fetch_user_info_completed if (!_tmp4_) { #line 587 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4426 "FacebookPublishing.c" +#line 4410 "FacebookPublishing.c" } #line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = message; @@ -4466,7 +4450,7 @@ static void publishing_facebook_facebook_publisher_on_fetch_user_info_completed publishing_facebook_facebook_publisher_do_extract_user_info_from_json (self, _tmp10_); #line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp10_); -#line 4448 "FacebookPublishing.c" +#line 4432 "FacebookPublishing.c" } @@ -4499,7 +4483,7 @@ static void publishing_facebook_facebook_publisher_on_fetch_user_info_error (Pub if (!_tmp4_) { #line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4481 "FacebookPublishing.c" +#line 4465 "FacebookPublishing.c" } #line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_debug ("FacebookPublishing.vala:602: EVENT: fetching user info generated and e" \ @@ -4508,7 +4492,7 @@ static void publishing_facebook_facebook_publisher_on_fetch_user_info_error (Pub _tmp5_ = _error_; #line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_generic_error (self, _tmp5_); -#line 4489 "FacebookPublishing.c" +#line 4473 "FacebookPublishing.c" } @@ -4524,7 +4508,7 @@ static void publishing_facebook_facebook_publisher_on_user_info_extracted (Publi if (!_tmp0_) { #line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4505 "FacebookPublishing.c" +#line 4489 "FacebookPublishing.c" } #line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = self->priv->uid; @@ -4535,7 +4519,7 @@ static void publishing_facebook_facebook_publisher_on_user_info_extracted (Publi "onse: uid = %s; name = %s.", _tmp1_, _tmp2_); #line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_do_fetch_album_descriptions (self); -#line 4515 "FacebookPublishing.c" +#line 4499 "FacebookPublishing.c" } @@ -4573,7 +4557,7 @@ static void publishing_facebook_facebook_publisher_on_fetch_albums_completed (Pu if (!_tmp4_) { #line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4553 "FacebookPublishing.c" +#line 4537 "FacebookPublishing.c" } #line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = message; @@ -4596,7 +4580,7 @@ static void publishing_facebook_facebook_publisher_on_fetch_albums_completed (Pu publishing_facebook_facebook_publisher_do_extract_albums_from_json (self, _tmp10_); #line 626 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp10_); -#line 4575 "FacebookPublishing.c" +#line 4559 "FacebookPublishing.c" } @@ -4629,7 +4613,7 @@ static void publishing_facebook_facebook_publisher_on_fetch_albums_error (Publis if (!_tmp4_) { #line 635 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4608 "FacebookPublishing.c" +#line 4592 "FacebookPublishing.c" } #line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_debug ("FacebookPublishing.vala:637: EVENT: album description fetch attempt ge" \ @@ -4638,7 +4622,7 @@ static void publishing_facebook_facebook_publisher_on_fetch_albums_error (Publis _tmp5_ = err; #line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_generic_error (self, _tmp5_); -#line 4616 "FacebookPublishing.c" +#line 4600 "FacebookPublishing.c" } @@ -4655,7 +4639,7 @@ static void publishing_facebook_facebook_publisher_on_albums_extracted (Publishi if (!_tmp0_) { #line 644 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4633 "FacebookPublishing.c" +#line 4617 "FacebookPublishing.c" } #line 646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = self->priv->publishing_params; @@ -4668,7 +4652,7 @@ static void publishing_facebook_facebook_publisher_on_albums_extracted (Publishi "rom JSON response", _tmp2__length1); #line 649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_do_show_publishing_options_pane (self); -#line 4645 "FacebookPublishing.c" +#line 4629 "FacebookPublishing.c" } @@ -4698,14 +4682,14 @@ static void publishing_facebook_facebook_publisher_on_publishing_options_pane_lo if (!_tmp4_) { #line 657 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4675 "FacebookPublishing.c" +#line 4659 "FacebookPublishing.c" } #line 659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_debug ("FacebookPublishing.vala:659: EVENT: user clicked 'Logout' in publishin" \ "g options pane."); #line 661 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_do_logout (self); -#line 4681 "FacebookPublishing.c" +#line 4665 "FacebookPublishing.c" } @@ -4747,7 +4731,7 @@ static void publishing_facebook_facebook_publisher_on_publishing_options_pane_pu if (!_tmp4_) { #line 670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4723 "FacebookPublishing.c" +#line 4707 "FacebookPublishing.c" } #line 672 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_debug ("FacebookPublishing.vala:672: EVENT: user clicked 'Publish' in publishi" \ @@ -4786,7 +4770,7 @@ static void publishing_facebook_facebook_publisher_on_publishing_options_pane_pu _tmp14_ = target_album; #line 680 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp14_ != NULL) { -#line 4761 "FacebookPublishing.c" +#line 4745 "FacebookPublishing.c" PublishingFacebookPublishingParameters* _tmp15_ = NULL; const gchar* _tmp16_ = NULL; PublishingFacebookPublishingParameters* _tmp17_ = NULL; @@ -4805,7 +4789,7 @@ static void publishing_facebook_facebook_publisher_on_publishing_options_pane_pu if (_tmp18_ != PUBLISHING_FACEBOOK_PUBLISHING_PARAMETERS_UNKNOWN_ALBUM) { #line 685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_do_upload (self); -#line 4780 "FacebookPublishing.c" +#line 4764 "FacebookPublishing.c" } else { PublishingFacebookPublishingParameters* _tmp19_ = NULL; const gchar* _tmp20_ = NULL; @@ -4822,12 +4806,12 @@ static void publishing_facebook_facebook_publisher_on_publishing_options_pane_pu _tmp19_->new_album_name = _tmp21_; #line 688 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_do_create_new_album (self); -#line 4797 "FacebookPublishing.c" +#line 4781 "FacebookPublishing.c" } } else { #line 692 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_do_upload (self); -#line 4802 "FacebookPublishing.c" +#line 4786 "FacebookPublishing.c" } } @@ -4876,7 +4860,7 @@ static void publishing_facebook_facebook_publisher_on_create_album_completed (Pu if (!_tmp6_) { #line 703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4851 "FacebookPublishing.c" +#line 4835 "FacebookPublishing.c" } #line 705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = message; @@ -4903,7 +4887,7 @@ static void publishing_facebook_facebook_publisher_on_create_album_completed (Pu publishing_facebook_facebook_publisher_do_add_new_local_album_from_json (self, _tmp11_, _tmp14_); #line 708 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp14_); -#line 4877 "FacebookPublishing.c" +#line 4861 "FacebookPublishing.c" } @@ -4936,7 +4920,7 @@ static void publishing_facebook_facebook_publisher_on_create_album_error (Publis if (!_tmp4_) { #line 717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4910 "FacebookPublishing.c" +#line 4894 "FacebookPublishing.c" } #line 719 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_debug ("FacebookPublishing.vala:719: EVENT: attempt to create new album genera" \ @@ -4945,7 +4929,7 @@ static void publishing_facebook_facebook_publisher_on_create_album_error (Publis _tmp5_ = err; #line 721 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_on_generic_error (self, _tmp5_); -#line 4918 "FacebookPublishing.c" +#line 4902 "FacebookPublishing.c" } @@ -4966,7 +4950,7 @@ static void publishing_facebook_facebook_publisher_on_upload_status_updated (Pub if (!_tmp0_) { #line 726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4939 "FacebookPublishing.c" +#line 4923 "FacebookPublishing.c" } #line 728 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = completed_fraction; @@ -4989,7 +4973,7 @@ static void publishing_facebook_facebook_publisher_on_upload_status_updated (Pub _tmp5_ = completed_fraction; #line 732 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ (_tmp4_, _tmp5_, _tmp3__target); -#line 4961 "FacebookPublishing.c" +#line 4945 "FacebookPublishing.c" } @@ -5022,7 +5006,7 @@ static void publishing_facebook_facebook_publisher_on_upload_complete (Publishin if (!_tmp4_) { #line 740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 4994 "FacebookPublishing.c" +#line 4978 "FacebookPublishing.c" } #line 742 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = num_published; @@ -5031,7 +5015,7 @@ static void publishing_facebook_facebook_publisher_on_upload_complete (Publishin "%d items published.", _tmp5_); #line 744 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_do_show_success_pane (self); -#line 5002 "FacebookPublishing.c" +#line 4986 "FacebookPublishing.c" } @@ -5067,7 +5051,7 @@ static void publishing_facebook_facebook_publisher_on_upload_error (PublishingFa if (!_tmp4_) { #line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 5038 "FacebookPublishing.c" +#line 5022 "FacebookPublishing.c" } #line 754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = err; @@ -5082,7 +5066,7 @@ static void publishing_facebook_facebook_publisher_on_upload_error (PublishingFa _tmp8_ = err; #line 756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spit_publishing_plugin_host_post_error (_tmp7_, _tmp8_); -#line 5052 "FacebookPublishing.c" +#line 5036 "FacebookPublishing.c" } @@ -5101,7 +5085,7 @@ static SpitPublishingService* publishing_facebook_facebook_publisher_real_get_se result = _tmp1_; #line 760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 5071 "FacebookPublishing.c" +#line 5055 "FacebookPublishing.c" } @@ -5116,7 +5100,7 @@ gchar* publishing_facebook_facebook_publisher_get_service_name (PublishingFacebo result = _tmp0_; #line 764 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 5086 "FacebookPublishing.c" +#line 5070 "FacebookPublishing.c" } @@ -5131,7 +5115,7 @@ gchar* publishing_facebook_facebook_publisher_get_user_visible_name (PublishingF result = _tmp0_; #line 768 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 5101 "FacebookPublishing.c" +#line 5085 "FacebookPublishing.c" } @@ -5148,7 +5132,7 @@ static void publishing_facebook_facebook_publisher_real_start (SpitPublishingPub if (_tmp0_) { #line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 5118 "FacebookPublishing.c" +#line 5102 "FacebookPublishing.c" } #line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_debug ("FacebookPublishing.vala:775: FacebookPublisher: starting interaction."); @@ -5164,7 +5148,7 @@ static void publishing_facebook_facebook_publisher_real_start (SpitPublishingPub _tmp2_ = publishing_facebook_facebook_publisher_is_persistent_session_valid (self); #line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp2_) { -#line 5134 "FacebookPublishing.c" +#line 5118 "FacebookPublishing.c" PublishingFacebookGraphSession* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; @@ -5178,14 +5162,14 @@ static void publishing_facebook_facebook_publisher_real_start (SpitPublishingPub publishing_facebook_graph_session_authenticate (_tmp3_, _tmp5_); #line 787 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp5_); -#line 5148 "FacebookPublishing.c" +#line 5132 "FacebookPublishing.c" } else { gboolean _tmp6_ = FALSE; #line 789 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = publishing_facebook_web_authentication_pane_is_cache_dirty (); #line 789 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp6_) { -#line 5155 "FacebookPublishing.c" +#line 5139 "FacebookPublishing.c" SpitPublishingPluginHost* _tmp7_ = NULL; SpitPublishingPluginHost* _tmp8_ = NULL; #line 790 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" @@ -5196,11 +5180,11 @@ static void publishing_facebook_facebook_publisher_real_start (SpitPublishingPub _tmp8_ = self->priv->host; #line 791 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spit_publishing_plugin_host_install_static_message_pane (_tmp8_, PUBLISHING_FACEBOOK_RESTART_ERROR_MESSAGE, SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL); -#line 5166 "FacebookPublishing.c" +#line 5150 "FacebookPublishing.c" } else { #line 794 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_do_show_service_welcome_pane (self); -#line 5170 "FacebookPublishing.c" +#line 5154 "FacebookPublishing.c" } } } @@ -5217,19 +5201,19 @@ static void publishing_facebook_facebook_publisher_real_stop (SpitPublishingPubl _tmp0_ = self->priv->graph_session; #line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp0_ != NULL) { -#line 5187 "FacebookPublishing.c" +#line 5171 "FacebookPublishing.c" PublishingFacebookGraphSession* _tmp1_ = NULL; #line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = self->priv->graph_session; #line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_stop_transactions (_tmp1_); -#line 5193 "FacebookPublishing.c" +#line 5177 "FacebookPublishing.c" } #line 805 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->host = NULL; #line 806 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->running = FALSE; -#line 5199 "FacebookPublishing.c" +#line 5183 "FacebookPublishing.c" } @@ -5245,7 +5229,7 @@ static gboolean publishing_facebook_facebook_publisher_real_is_running (SpitPubl result = _tmp0_; #line 810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 5215 "FacebookPublishing.c" +#line 5199 "FacebookPublishing.c" } @@ -5256,7 +5240,7 @@ static void publishing_facebook_facebook_publisher_class_init (PublishingFaceboo g_type_class_add_private (klass, sizeof (PublishingFacebookFacebookPublisherPrivate)); #line 174 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_OBJECT_CLASS (klass)->finalize = publishing_facebook_facebook_publisher_finalize; -#line 5226 "FacebookPublishing.c" +#line 5210 "FacebookPublishing.c" } @@ -5271,7 +5255,7 @@ static void publishing_facebook_facebook_publisher_spit_publishing_publisher_int iface->stop = (void (*)(SpitPublishingPublisher*)) publishing_facebook_facebook_publisher_real_stop; #line 174 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" iface->is_running = (gboolean (*)(SpitPublishingPublisher*)) publishing_facebook_facebook_publisher_real_is_running; -#line 5241 "FacebookPublishing.c" +#line 5225 "FacebookPublishing.c" } @@ -5296,7 +5280,7 @@ static void publishing_facebook_facebook_publisher_instance_init (PublishingFace self->priv->uid = NULL; #line 185 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->username = NULL; -#line 5266 "FacebookPublishing.c" +#line 5250 "FacebookPublishing.c" } @@ -5328,7 +5312,7 @@ static void publishing_facebook_facebook_publisher_finalize (GObject* obj) { _g_free0 (self->priv->username); #line 174 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_OBJECT_CLASS (publishing_facebook_facebook_publisher_parent_class)->finalize (obj); -#line 5298 "FacebookPublishing.c" +#line 5282 "FacebookPublishing.c" } @@ -5346,124 +5330,35 @@ GType publishing_facebook_facebook_publisher_get_type (void) { } -static void _publishing_facebook_web_authentication_pane_on_page_load_changed_webkit_web_view_load_changed (WebKitWebView* _sender, WebKitLoadEvent load_event, gpointer self) { -#line 833 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - publishing_facebook_web_authentication_pane_on_page_load_changed ((PublishingFacebookWebAuthenticationPane*) self, load_event); -#line 5319 "FacebookPublishing.c" -} - - -static gboolean __lambda4_ (PublishingFacebookWebAuthenticationPane* self) { - gboolean result = FALSE; -#line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - result = TRUE; -#line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - return result; -#line 5329 "FacebookPublishing.c" -} - - -static gboolean ___lambda4__webkit_web_view_context_menu (WebKitWebView* _sender, WebKitContextMenu* context_menu, GdkEvent* event, WebKitHitTestResult* hit_test_result, gpointer self) { - gboolean result; - result = __lambda4_ ((PublishingFacebookWebAuthenticationPane*) self); -#line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - return result; -#line 5338 "FacebookPublishing.c" -} - - PublishingFacebookWebAuthenticationPane* publishing_facebook_web_authentication_pane_construct (GType object_type) { PublishingFacebookWebAuthenticationPane * self = NULL; - GtkBox* _tmp0_ = NULL; - GtkScrolledWindow* _tmp1_ = NULL; - GtkScrolledWindow* _tmp2_ = NULL; - GtkScrolledWindow* _tmp3_ = NULL; - WebKitWebView* _tmp4_ = NULL; - WebKitWebView* _tmp5_ = NULL; - WebKitSettings* _tmp6_ = NULL; - WebKitWebView* _tmp7_ = NULL; - WebKitWebView* _tmp8_ = NULL; - GtkScrolledWindow* _tmp9_ = NULL; - WebKitWebView* _tmp10_ = NULL; - GtkBox* _tmp11_ = NULL; - GtkScrolledWindow* _tmp12_ = NULL; -#line 823 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self = (PublishingFacebookWebAuthenticationPane*) g_object_new (object_type, NULL); -#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp0_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); -#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_object_ref_sink (_tmp0_); -#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _g_object_unref0 (self->priv->pane_widget); -#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self->priv->pane_widget = _tmp0_; -#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp1_ = (GtkScrolledWindow*) gtk_scrolled_window_new (NULL, NULL); -#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_object_ref_sink (_tmp1_); -#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _g_object_unref0 (self->priv->webview_frame); -#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self->priv->webview_frame = _tmp1_; -#line 827 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp2_ = self->priv->webview_frame; -#line 827 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - gtk_scrolled_window_set_shadow_type (_tmp2_, GTK_SHADOW_ETCHED_IN); -#line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp3_ = self->priv->webview_frame; -#line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - gtk_scrolled_window_set_policy (_tmp3_, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); -#line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp4_ = (WebKitWebView*) webkit_web_view_new (); -#line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_object_ref_sink (_tmp4_); -#line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _g_object_unref0 (self->priv->webview); -#line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self->priv->webview = _tmp4_; -#line 831 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp5_ = self->priv->webview; -#line 831 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp6_ = webkit_web_view_get_settings (_tmp5_); -#line 831 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - webkit_settings_set_enable_plugins (_tmp6_, FALSE); -#line 833 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp7_ = self->priv->webview; -#line 833 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_signal_connect_object (_tmp7_, "load-changed", (GCallback) _publishing_facebook_web_authentication_pane_on_page_load_changed_webkit_web_view_load_changed, self, 0); -#line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp8_ = self->priv->webview; -#line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_signal_connect_object (_tmp8_, "context-menu", (GCallback) ___lambda4__webkit_web_view_context_menu, self, 0); -#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp9_ = self->priv->webview_frame; -#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp10_ = self->priv->webview; -#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget)); -#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp11_ = self->priv->pane_widget; -#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp12_ = self->priv->webview_frame; -#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - gtk_box_pack_start (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0); -#line 823 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + gchar* _tmp0_ = NULL; + gchar* _tmp1_ = NULL; +#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp0_ = publishing_facebook_web_authentication_pane_get_login_url (); +#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp1_ = _tmp0_; +#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + self = (PublishingFacebookWebAuthenticationPane*) g_object_new (object_type, "login-uri", _tmp1_, NULL); +#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _g_free0 (_tmp1_); +#line 820 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 5419 "FacebookPublishing.c" +#line 5314 "FacebookPublishing.c" } PublishingFacebookWebAuthenticationPane* publishing_facebook_web_authentication_pane_new (void) { -#line 823 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 820 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return publishing_facebook_web_authentication_pane_construct (PUBLISHING_FACEBOOK_TYPE_WEB_AUTHENTICATION_PANE); -#line 5426 "FacebookPublishing.c" +#line 5321 "FacebookPublishing.c" } static gpointer _publishing_facebook_web_authentication_pane_locale_lookup_ref0 (gpointer self) { -#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self ? publishing_facebook_web_authentication_pane_locale_lookup_ref (self) : NULL; -#line 5433 "FacebookPublishing.c" +#line 5328 "FacebookPublishing.c" } @@ -5483,11 +5378,11 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { result = _tmp1_ != NULL; #line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 5453 "FacebookPublishing.c" +#line 5348 "FacebookPublishing.c" } -static gchar* publishing_facebook_web_authentication_pane_get_system_locale_as_facebook_locale (PublishingFacebookWebAuthenticationPane* self) { +static gchar* publishing_facebook_web_authentication_pane_get_system_locale_as_facebook_locale (void) { gchar* result = NULL; const gchar* raw_system_locale = NULL; const gchar* _tmp0_ = NULL; @@ -5505,81 +5400,79 @@ static gchar* publishing_facebook_web_authentication_pane_get_system_locale_as_f PublishingFacebookWebAuthenticationPaneLocaleLookup** _tmp12_ = NULL; gint _tmp12__length1 = 0; gchar* _tmp43_ = NULL; -#line 909 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_WEB_AUTHENTICATION_PANE (self), NULL); -#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 894 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = setlocale (LC_ALL, ""); -#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 894 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" raw_system_locale = _tmp0_; -#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 895 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = raw_system_locale; -#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 895 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp2_ == NULL) { -#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 895 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = TRUE; -#line 5487 "FacebookPublishing.c" +#line 5380 "FacebookPublishing.c" } else { const gchar* _tmp3_ = NULL; -#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 895 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = raw_system_locale; -#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 895 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = g_strcmp0 (_tmp3_, "") == 0; -#line 5494 "FacebookPublishing.c" +#line 5387 "FacebookPublishing.c" } -#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 895 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp1_) { -#line 5498 "FacebookPublishing.c" +#line 5391 "FacebookPublishing.c" gchar* _tmp4_ = NULL; -#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = g_strdup ("www"); -#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp4_; -#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 5506 "FacebookPublishing.c" +#line 5399 "FacebookPublishing.c" } -#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = raw_system_locale; -#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = _tmp6_ = g_strsplit (_tmp5_, ".", 0); -#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = _tmp7_; -#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8__length1 = _vala_array_length (_tmp6_); -#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = _tmp8_[0]; -#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = g_strdup (_tmp9_); -#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp11_ = _tmp10_; -#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = (_vala_array_free (_tmp8_, _tmp8__length1, (GDestroyNotify) g_free), NULL); -#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" system_locale = _tmp11_; -#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp12_ = self->priv->locale_lookup_table; -#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp12__length1 = self->priv->locale_lookup_table_length1; -#line 5530 "FacebookPublishing.c" +#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp12_ = publishing_facebook_web_authentication_pane_locale_lookup_table; +#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp12__length1 = publishing_facebook_web_authentication_pane_locale_lookup_table_length1; +#line 5423 "FacebookPublishing.c" { PublishingFacebookWebAuthenticationPaneLocaleLookup** locale_lookup_collection = NULL; gint locale_lookup_collection_length1 = 0; gint _locale_lookup_collection_size_ = 0; gint locale_lookup_it = 0; -#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" locale_lookup_collection = _tmp12_; -#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" locale_lookup_collection_length1 = _tmp12__length1; -#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" for (locale_lookup_it = 0; locale_lookup_it < _tmp12__length1; locale_lookup_it = locale_lookup_it + 1) { -#line 5542 "FacebookPublishing.c" +#line 5435 "FacebookPublishing.c" PublishingFacebookWebAuthenticationPaneLocaleLookup* _tmp13_ = NULL; PublishingFacebookWebAuthenticationPaneLocaleLookup* locale_lookup = NULL; -#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp13_ = _publishing_facebook_web_authentication_pane_locale_lookup_ref0 (locale_lookup_collection[locale_lookup_it]); -#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" locale_lookup = _tmp13_; -#line 5549 "FacebookPublishing.c" +#line 5442 "FacebookPublishing.c" { const gchar* _tmp14_ = NULL; PublishingFacebookWebAuthenticationPaneLocaleLookup* _tmp15_ = NULL; @@ -5592,465 +5485,336 @@ static gchar* publishing_facebook_web_authentication_pane_get_system_locale_as_f PublishingFacebookWebAuthenticationPaneLocaleLookup* _tmp40_ = NULL; const gchar* _tmp41_ = NULL; gchar* _tmp42_ = NULL; -#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 901 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp14_ = system_locale; -#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 901 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp15_ = locale_lookup; -#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 901 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp16_ = _tmp15_->prefix; -#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 901 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp17_ = g_str_has_prefix (_tmp14_, _tmp16_); -#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 901 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!_tmp17_) { -#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 902 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_web_authentication_pane_locale_lookup_unref0 (locale_lookup); -#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 902 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" continue; -#line 5576 "FacebookPublishing.c" +#line 5469 "FacebookPublishing.c" } -#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 904 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp18_ = locale_lookup; -#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 904 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp19_ = _tmp18_->exception_code; -#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 904 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp19_ != NULL) { -#line 5584 "FacebookPublishing.c" +#line 5477 "FacebookPublishing.c" PublishingFacebookWebAuthenticationPaneLocaleLookup* _tmp20_ = NULL; const gchar* _tmp21_ = NULL; const gchar* _tmp22_ = NULL; PublishingFacebookWebAuthenticationPaneLocaleLookup* _tmp23_ = NULL; const gchar* _tmp24_ = NULL; gboolean _tmp25_ = FALSE; -#line 921 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp20_ = locale_lookup; -#line 921 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp21_ = _tmp20_->exception_translation; -#line 921 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_assert (_tmp21_ != NULL, "locale_lookup.exception_translation != null"); -#line 923 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp22_ = system_locale; -#line 923 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp23_ = locale_lookup; -#line 923 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp24_ = _tmp23_->exception_code; -#line 923 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp25_ = string_contains (_tmp22_, _tmp24_); -#line 923 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp25_) { -#line 5607 "FacebookPublishing.c" +#line 5500 "FacebookPublishing.c" PublishingFacebookWebAuthenticationPaneLocaleLookup* _tmp26_ = NULL; const gchar* _tmp27_ = NULL; gchar* _tmp28_ = NULL; -#line 924 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 908 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp26_ = locale_lookup; -#line 924 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 908 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp27_ = _tmp26_->exception_translation; -#line 924 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 908 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp28_ = g_strdup (_tmp27_); -#line 924 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 908 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp28_; -#line 924 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 908 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_web_authentication_pane_locale_lookup_unref0 (locale_lookup); -#line 924 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 908 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (system_locale); -#line 924 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 908 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 5625 "FacebookPublishing.c" +#line 5518 "FacebookPublishing.c" } } -#line 927 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp29_ = locale_lookup; -#line 927 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp30_ = _tmp29_->exception_code_2; -#line 927 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp30_ != NULL) { -#line 5634 "FacebookPublishing.c" +#line 5527 "FacebookPublishing.c" PublishingFacebookWebAuthenticationPaneLocaleLookup* _tmp31_ = NULL; const gchar* _tmp32_ = NULL; const gchar* _tmp33_ = NULL; PublishingFacebookWebAuthenticationPaneLocaleLookup* _tmp34_ = NULL; const gchar* _tmp35_ = NULL; gboolean _tmp36_ = FALSE; -#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp31_ = locale_lookup; -#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp32_ = _tmp31_->exception_translation_2; -#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_assert (_tmp32_ != NULL, "locale_lookup.exception_translation_2 != null"); -#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp33_ = system_locale; -#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp34_ = locale_lookup; -#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp35_ = _tmp34_->exception_code_2; -#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp36_ = string_contains (_tmp33_, _tmp35_); -#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp36_) { -#line 5657 "FacebookPublishing.c" +#line 5550 "FacebookPublishing.c" PublishingFacebookWebAuthenticationPaneLocaleLookup* _tmp37_ = NULL; const gchar* _tmp38_ = NULL; gchar* _tmp39_ = NULL; -#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 915 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp37_ = locale_lookup; -#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 915 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp38_ = _tmp37_->exception_translation_2; -#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 915 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp39_ = g_strdup (_tmp38_); -#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 915 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp39_; -#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 915 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_web_authentication_pane_locale_lookup_unref0 (locale_lookup); -#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 915 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (system_locale); -#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 915 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 5675 "FacebookPublishing.c" +#line 5568 "FacebookPublishing.c" } } -#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp40_ = locale_lookup; -#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp41_ = _tmp40_->translation; -#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp42_ = g_strdup (_tmp41_); -#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp42_; -#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_web_authentication_pane_locale_lookup_unref0 (locale_lookup); -#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (system_locale); -#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 5692 "FacebookPublishing.c" +#line 5585 "FacebookPublishing.c" } } } -#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp43_ = g_strdup ("www"); -#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp43_; -#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (system_locale); -#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 5704 "FacebookPublishing.c" +#line 5597 "FacebookPublishing.c" } -static gchar* publishing_facebook_web_authentication_pane_get_login_url (PublishingFacebookWebAuthenticationPane* self) { +static gchar* publishing_facebook_web_authentication_pane_get_login_url (void) { gchar* result = NULL; gchar* facebook_locale = NULL; gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_WEB_AUTHENTICATION_PANE (self), NULL); -#line 942 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp0_ = publishing_facebook_web_authentication_pane_get_system_locale_as_facebook_locale (self); -#line 942 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 926 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp0_ = publishing_facebook_web_authentication_pane_get_system_locale_as_facebook_locale (); +#line 926 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" facebook_locale = _tmp0_; -#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = g_strdup_printf ("https://%s.facebook.com/dialog/oauth?client_id=%s&redirect_uri=https:/" \ "/www.facebook.com/connect/login_success.html&display=popup&scope=publi" \ "sh_actions,user_photos,user_videos&response_type=token", facebook_locale, PUBLISHING_FACEBOOK_APPLICATION_ID); -#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp1_; -#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (facebook_locale); -#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 5727 "FacebookPublishing.c" +#line 5618 "FacebookPublishing.c" } -static void publishing_facebook_web_authentication_pane_on_page_load (PublishingFacebookWebAuthenticationPane* self) { - GtkBox* _tmp0_ = NULL; - GdkWindow* _tmp1_ = NULL; - GdkCursor* _tmp2_ = NULL; - GdkCursor* _tmp3_ = NULL; +static void publishing_facebook_web_authentication_pane_real_on_page_load (ShotwellPluginsCommonWebAuthenticationPane* base) { + PublishingFacebookWebAuthenticationPane * self; gchar* loaded_url = NULL; - WebKitWebView* _tmp4_ = NULL; - const gchar* _tmp5_ = NULL; + WebKitWebView* _tmp0_ = NULL; + WebKitWebView* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + const gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; - const gchar* _tmp8_ = NULL; - gchar* _tmp9_ = NULL; - gchar* _tmp10_ = NULL; - const gchar* _tmp11_ = NULL; - gboolean _tmp12_ = FALSE; - const gchar* _tmp24_ = NULL; - gboolean _tmp25_ = FALSE; - const gchar* _tmp29_ = NULL; - gboolean _tmp30_ = FALSE; -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_return_if_fail (PUBLISHING_FACEBOOK_IS_WEB_AUTHENTICATION_PANE (self)); -#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp0_ = self->priv->pane_widget; -#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp2_ = gdk_cursor_new (GDK_LEFT_PTR); -#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + gchar* _tmp8_ = NULL; + const gchar* _tmp9_ = NULL; + gboolean _tmp10_ = FALSE; + const gchar* _tmp22_ = NULL; + gboolean _tmp23_ = FALSE; + const gchar* _tmp28_ = NULL; + gboolean _tmp29_ = FALSE; +#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_TYPE_WEB_AUTHENTICATION_PANE, PublishingFacebookWebAuthenticationPane); +#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp0_ = shotwell_plugins_common_web_authentication_pane_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane)); +#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp1_ = _tmp0_; +#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp2_ = webkit_web_view_get_uri (_tmp1_); +#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = _tmp2_; -#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - gdk_window_set_cursor (_tmp1_, _tmp3_); -#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _g_object_unref0 (_tmp3_); -#line 949 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp4_ = self->priv->webview; -#line 949 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp5_ = webkit_web_view_get_uri (_tmp4_); -#line 949 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp6_ = _tmp5_; -#line 949 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp7_ = g_strdup (_tmp6_); -#line 949 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - loaded_url = _tmp7_; -#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp8_ = loaded_url; -#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp9_ = g_strconcat ("loaded url: ", _tmp8_, NULL); -#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp10_ = _tmp9_; -#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_debug ("FacebookPublishing.vala:950: %s", _tmp10_); -#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _g_free0 (_tmp10_); -#line 953 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp11_ = loaded_url; -#line 953 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp12_ = string_contains (_tmp11_, "?"); -#line 953 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - if (_tmp12_) { -#line 5790 "FacebookPublishing.c" +#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp4_ = g_strdup (_tmp3_); +#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp5_ = _tmp4_; +#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _g_object_unref0 (_tmp1_); +#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + loaded_url = _tmp5_; +#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp6_ = loaded_url; +#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp7_ = g_strconcat ("loaded url: ", _tmp6_, NULL); +#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp8_ = _tmp7_; +#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + g_debug ("FacebookPublishing.vala:933: %s", _tmp8_); +#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _g_free0 (_tmp8_); +#line 936 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp9_ = loaded_url; +#line 936 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp10_ = string_contains (_tmp9_, "?"); +#line 936 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + if (_tmp10_) { +#line 5674 "FacebookPublishing.c" gint index = 0; + const gchar* _tmp11_ = NULL; + gint _tmp12_ = 0; + gchar* params = NULL; const gchar* _tmp13_ = NULL; gint _tmp14_ = 0; - gchar* params = NULL; const gchar* _tmp15_ = NULL; gint _tmp16_ = 0; - const gchar* _tmp17_ = NULL; - gint _tmp18_ = 0; - gint _tmp19_ = 0; - gchar* _tmp20_ = NULL; - const gchar* _tmp21_ = NULL; - const gchar* _tmp22_ = NULL; - gchar* _tmp23_ = NULL; -#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + gint _tmp17_ = 0; + gchar* _tmp18_ = NULL; + const gchar* _tmp19_ = NULL; + const gchar* _tmp20_ = NULL; + gchar* _tmp21_ = NULL; +#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp11_ = loaded_url; +#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp12_ = string_index_of_char (_tmp11_, (gunichar) '?', 0); +#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + index = _tmp12_; +#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp13_ = loaded_url; -#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp14_ = string_index_of_char (_tmp13_, (gunichar) '?', 0); -#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - index = _tmp14_; -#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp14_ = index; +#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp15_ = loaded_url; -#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp16_ = index; -#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp17_ = loaded_url; -#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp18_ = strlen (_tmp17_); -#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp19_ = _tmp18_; -#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp20_ = string_slice (_tmp15_, (glong) _tmp16_, (glong) _tmp19_); -#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - params = _tmp20_; -#line 956 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp21_ = loaded_url; -#line 956 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp22_ = params; -#line 956 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp23_ = string_replace (_tmp21_, _tmp22_, ""); -#line 956 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp16_ = strlen (_tmp15_); +#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp17_ = _tmp16_; +#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp18_ = string_slice (_tmp13_, (glong) _tmp14_, (glong) _tmp17_); +#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + params = _tmp18_; +#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp19_ = loaded_url; +#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp20_ = params; +#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp21_ = string_replace (_tmp19_, _tmp20_, ""); +#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (loaded_url); -#line 956 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - loaded_url = _tmp23_; -#line 953 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + loaded_url = _tmp21_; +#line 936 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (params); -#line 5836 "FacebookPublishing.c" - } -#line 960 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp24_ = loaded_url; -#line 960 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp25_ = string_contains (_tmp24_, "login_success"); -#line 960 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - if (_tmp25_) { -#line 5844 "FacebookPublishing.c" - WebKitWebView* _tmp26_ = NULL; +#line 5720 "FacebookPublishing.c" + } +#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp22_ = loaded_url; +#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp23_ = string_contains (_tmp22_, "login_success"); +#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + if (_tmp23_) { +#line 5728 "FacebookPublishing.c" + WebKitWebView* _tmp24_ = NULL; + WebKitWebView* _tmp25_ = NULL; + const gchar* _tmp26_ = NULL; const gchar* _tmp27_ = NULL; - const gchar* _tmp28_ = NULL; -#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_web_authentication_pane_cache_dirty = TRUE; -#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp26_ = self->priv->webview; -#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp27_ = webkit_web_view_get_uri (_tmp26_); -#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp28_ = _tmp27_; -#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_signal_emit_by_name (self, "login-succeeded", _tmp28_); -#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp24_ = shotwell_plugins_common_web_authentication_pane_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane)); +#line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp25_ = _tmp24_; +#line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp26_ = webkit_web_view_get_uri (_tmp25_); +#line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp27_ = _tmp26_; +#line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + g_signal_emit_by_name (self, "login-succeeded", _tmp27_); +#line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _g_object_unref0 (_tmp25_); +#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (loaded_url); -#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 5862 "FacebookPublishing.c" +#line 5751 "FacebookPublishing.c" } -#line 967 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp29_ = loaded_url; -#line 967 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp30_ = string_contains (_tmp29_, "login_failure"); -#line 967 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - if (_tmp30_) { -#line 968 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp28_ = loaded_url; +#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp29_ = string_contains (_tmp28_, "login_failure"); +#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + if (_tmp29_) { +#line 951 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_emit_by_name (self, "login-failed"); -#line 969 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 952 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (loaded_url); -#line 969 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 952 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 5876 "FacebookPublishing.c" +#line 5765 "FacebookPublishing.c" } -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (loaded_url); -#line 5880 "FacebookPublishing.c" -} - - -static void publishing_facebook_web_authentication_pane_on_load_started (PublishingFacebookWebAuthenticationPane* self) { - GtkBox* _tmp0_ = NULL; - GdkWindow* _tmp1_ = NULL; - GdkCursor* _tmp2_ = NULL; - GdkCursor* _tmp3_ = NULL; -#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_return_if_fail (PUBLISHING_FACEBOOK_IS_WEB_AUTHENTICATION_PANE (self)); -#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp0_ = self->priv->pane_widget; -#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp2_ = gdk_cursor_new (GDK_WATCH); -#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp3_ = _tmp2_; -#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - gdk_window_set_cursor (_tmp1_, _tmp3_); -#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _g_object_unref0 (_tmp3_); -#line 5903 "FacebookPublishing.c" -} - - -static void publishing_facebook_web_authentication_pane_on_page_load_changed (PublishingFacebookWebAuthenticationPane* self, WebKitLoadEvent load_event) { - WebKitLoadEvent _tmp0_ = 0; -#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_return_if_fail (PUBLISHING_FACEBOOK_IS_WEB_AUTHENTICATION_PANE (self)); -#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp0_ = load_event; -#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - switch (_tmp0_) { -#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - case WEBKIT_LOAD_STARTED: -#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - case WEBKIT_LOAD_REDIRECTED: -#line 5919 "FacebookPublishing.c" - { -#line 981 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - publishing_facebook_web_authentication_pane_on_load_started (self); -#line 982 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - break; -#line 5925 "FacebookPublishing.c" - } -#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - case WEBKIT_LOAD_FINISHED: -#line 5929 "FacebookPublishing.c" - { -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - publishing_facebook_web_authentication_pane_on_page_load (self); -#line 985 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - break; -#line 5935 "FacebookPublishing.c" - } - default: -#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - break; -#line 5940 "FacebookPublishing.c" - } -#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - return; -#line 5944 "FacebookPublishing.c" +#line 5769 "FacebookPublishing.c" } gboolean publishing_facebook_web_authentication_pane_is_cache_dirty (void) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = publishing_facebook_web_authentication_pane_cache_dirty; -#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp0_; -#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 5957 "FacebookPublishing.c" -} - - -static GtkWidget* publishing_facebook_web_authentication_pane_real_get_widget (SpitPublishingDialogPane* base) { - PublishingFacebookWebAuthenticationPane * self; - GtkWidget* result = NULL; - GtkBox* _tmp0_ = NULL; - GtkWidget* _tmp1_ = NULL; -#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_TYPE_WEB_AUTHENTICATION_PANE, PublishingFacebookWebAuthenticationPane); -#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp0_ = self->priv->pane_widget; -#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - result = _tmp1_; -#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - return result; -#line 5976 "FacebookPublishing.c" -} - - -static SpitPublishingDialogPaneGeometryOptions publishing_facebook_web_authentication_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) { - PublishingFacebookWebAuthenticationPane * self; - SpitPublishingDialogPaneGeometryOptions result = 0; -#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_TYPE_WEB_AUTHENTICATION_PANE, PublishingFacebookWebAuthenticationPane); -#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE; -#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - return result; -#line 5989 "FacebookPublishing.c" -} - - -static void publishing_facebook_web_authentication_pane_real_on_pane_installed (SpitPublishingDialogPane* base) { - PublishingFacebookWebAuthenticationPane * self; - WebKitWebView* _tmp0_ = NULL; - gchar* _tmp1_ = NULL; - gchar* _tmp2_ = NULL; -#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_TYPE_WEB_AUTHENTICATION_PANE, PublishingFacebookWebAuthenticationPane); -#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp0_ = self->priv->webview; -#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp1_ = publishing_facebook_web_authentication_pane_get_login_url (self); -#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp2_ = _tmp1_; -#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - webkit_web_view_load_uri (_tmp0_, _tmp2_); -#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _g_free0 (_tmp2_); -#line 6010 "FacebookPublishing.c" -} - - -static void publishing_facebook_web_authentication_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) { - PublishingFacebookWebAuthenticationPane * self; -#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_TYPE_WEB_AUTHENTICATION_PANE, PublishingFacebookWebAuthenticationPane); -#line 6018 "FacebookPublishing.c" +#line 5782 "FacebookPublishing.c" } @@ -6068,288 +5832,288 @@ static PublishingFacebookWebAuthenticationPaneLocaleLookup* publishing_facebook_ gchar* _tmp9_ = NULL; const gchar* _tmp10_ = NULL; gchar* _tmp11_ = NULL; -#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 832 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (prefix != NULL, NULL); -#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 832 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (translation != NULL, NULL); -#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 832 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = (PublishingFacebookWebAuthenticationPaneLocaleLookup*) g_type_create_instance (object_type); -#line 851 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 835 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = prefix; -#line 851 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 835 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = g_strdup (_tmp0_); -#line 851 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 835 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->prefix); -#line 851 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 835 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->prefix = _tmp1_; -#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = translation; -#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = g_strdup (_tmp2_); -#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->translation); -#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->translation = _tmp3_; -#line 853 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = exception_code; -#line 853 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = g_strdup (_tmp4_); -#line 853 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->exception_code); -#line 853 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->exception_code = _tmp5_; -#line 854 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 838 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = exception_translation; -#line 854 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 838 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = g_strdup (_tmp6_); -#line 854 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 838 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->exception_translation); -#line 854 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 838 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->exception_translation = _tmp7_; -#line 855 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 839 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = exception_code_2; -#line 855 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 839 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = g_strdup (_tmp8_); -#line 855 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 839 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->exception_code_2); -#line 855 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 839 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->exception_code_2 = _tmp9_; -#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = exception_translation_2; -#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp11_ = g_strdup (_tmp10_); -#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->exception_translation_2); -#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->exception_translation_2 = _tmp11_; -#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 832 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 6092 "FacebookPublishing.c" +#line 5856 "FacebookPublishing.c" } static PublishingFacebookWebAuthenticationPaneLocaleLookup* publishing_facebook_web_authentication_pane_locale_lookup_new (const gchar* prefix, const gchar* translation, const gchar* exception_code, const gchar* exception_translation, const gchar* exception_code_2, const gchar* exception_translation_2) { -#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 832 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return publishing_facebook_web_authentication_pane_locale_lookup_construct (PUBLISHING_FACEBOOK_WEB_AUTHENTICATION_PANE_TYPE_LOCALE_LOOKUP, prefix, translation, exception_code, exception_translation, exception_code_2, exception_translation_2); -#line 6099 "FacebookPublishing.c" +#line 5863 "FacebookPublishing.c" } static void publishing_facebook_web_authentication_pane_value_locale_lookup_init (GValue* value) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 6106 "FacebookPublishing.c" +#line 5870 "FacebookPublishing.c" } static void publishing_facebook_web_authentication_pane_value_locale_lookup_free_value (GValue* value) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (value->data[0].v_pointer) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_web_authentication_pane_locale_lookup_unref (value->data[0].v_pointer); -#line 6115 "FacebookPublishing.c" +#line 5879 "FacebookPublishing.c" } } static void publishing_facebook_web_authentication_pane_value_locale_lookup_copy_value (const GValue* src_value, GValue* dest_value) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (src_value->data[0].v_pointer) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" dest_value->data[0].v_pointer = publishing_facebook_web_authentication_pane_locale_lookup_ref (src_value->data[0].v_pointer); -#line 6125 "FacebookPublishing.c" +#line 5889 "FacebookPublishing.c" } else { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 6129 "FacebookPublishing.c" +#line 5893 "FacebookPublishing.c" } } static gpointer publishing_facebook_web_authentication_pane_value_locale_lookup_peek_pointer (const GValue* value) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return value->data[0].v_pointer; -#line 6137 "FacebookPublishing.c" +#line 5901 "FacebookPublishing.c" } static gchar* publishing_facebook_web_authentication_pane_value_locale_lookup_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (collect_values[0].v_pointer) { -#line 6144 "FacebookPublishing.c" +#line 5908 "FacebookPublishing.c" PublishingFacebookWebAuthenticationPaneLocaleLookup* object; object = collect_values[0].v_pointer; -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (object->parent_instance.g_class == NULL) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 6151 "FacebookPublishing.c" +#line 5915 "FacebookPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 6155 "FacebookPublishing.c" +#line 5919 "FacebookPublishing.c" } -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = publishing_facebook_web_authentication_pane_locale_lookup_ref (object); -#line 6159 "FacebookPublishing.c" +#line 5923 "FacebookPublishing.c" } else { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 6163 "FacebookPublishing.c" +#line 5927 "FacebookPublishing.c" } -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 6167 "FacebookPublishing.c" +#line 5931 "FacebookPublishing.c" } static gchar* publishing_facebook_web_authentication_pane_value_locale_lookup_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PublishingFacebookWebAuthenticationPaneLocaleLookup** object_p; object_p = collect_values[0].v_pointer; -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!object_p) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 6178 "FacebookPublishing.c" +#line 5942 "FacebookPublishing.c" } -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!value->data[0].v_pointer) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = NULL; -#line 6184 "FacebookPublishing.c" +#line 5948 "FacebookPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = value->data[0].v_pointer; -#line 6188 "FacebookPublishing.c" +#line 5952 "FacebookPublishing.c" } else { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = publishing_facebook_web_authentication_pane_locale_lookup_ref (value->data[0].v_pointer); -#line 6192 "FacebookPublishing.c" +#line 5956 "FacebookPublishing.c" } -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 6196 "FacebookPublishing.c" +#line 5960 "FacebookPublishing.c" } static GParamSpec* publishing_facebook_web_authentication_pane_param_spec_locale_lookup (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { PublishingFacebookWebAuthenticationPaneParamSpecLocaleLookup* spec; -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_FACEBOOK_WEB_AUTHENTICATION_PANE_TYPE_LOCALE_LOOKUP), NULL); -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return G_PARAM_SPEC (spec); -#line 6210 "FacebookPublishing.c" +#line 5974 "FacebookPublishing.c" } static gpointer publishing_facebook_web_authentication_pane_value_get_locale_lookup (const GValue* value) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_WEB_AUTHENTICATION_PANE_TYPE_LOCALE_LOOKUP), NULL); -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return value->data[0].v_pointer; -#line 6219 "FacebookPublishing.c" +#line 5983 "FacebookPublishing.c" } static void publishing_facebook_web_authentication_pane_value_set_locale_lookup (GValue* value, gpointer v_object) { PublishingFacebookWebAuthenticationPaneLocaleLookup* old; -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_WEB_AUTHENTICATION_PANE_TYPE_LOCALE_LOOKUP)); -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" old = value->data[0].v_pointer; -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (v_object) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_FACEBOOK_WEB_AUTHENTICATION_PANE_TYPE_LOCALE_LOOKUP)); -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = v_object; -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_web_authentication_pane_locale_lookup_ref (value->data[0].v_pointer); -#line 6239 "FacebookPublishing.c" +#line 6003 "FacebookPublishing.c" } else { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 6243 "FacebookPublishing.c" +#line 6007 "FacebookPublishing.c" } -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (old) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_web_authentication_pane_locale_lookup_unref (old); -#line 6249 "FacebookPublishing.c" +#line 6013 "FacebookPublishing.c" } } static void publishing_facebook_web_authentication_pane_value_take_locale_lookup (GValue* value, gpointer v_object) { PublishingFacebookWebAuthenticationPaneLocaleLookup* old; -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_WEB_AUTHENTICATION_PANE_TYPE_LOCALE_LOOKUP)); -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" old = value->data[0].v_pointer; -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (v_object) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_FACEBOOK_WEB_AUTHENTICATION_PANE_TYPE_LOCALE_LOOKUP)); -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = v_object; -#line 6268 "FacebookPublishing.c" +#line 6032 "FacebookPublishing.c" } else { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 6272 "FacebookPublishing.c" +#line 6036 "FacebookPublishing.c" } -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (old) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_web_authentication_pane_locale_lookup_unref (old); -#line 6278 "FacebookPublishing.c" +#line 6042 "FacebookPublishing.c" } } static void publishing_facebook_web_authentication_pane_locale_lookup_class_init (PublishingFacebookWebAuthenticationPaneLocaleLookupClass * klass) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_web_authentication_pane_locale_lookup_parent_class = g_type_class_peek_parent (klass); -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ((PublishingFacebookWebAuthenticationPaneLocaleLookupClass *) klass)->finalize = publishing_facebook_web_authentication_pane_locale_lookup_finalize; -#line 6288 "FacebookPublishing.c" +#line 6052 "FacebookPublishing.c" } static void publishing_facebook_web_authentication_pane_locale_lookup_instance_init (PublishingFacebookWebAuthenticationPaneLocaleLookup * self) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->ref_count = 1; -#line 6295 "FacebookPublishing.c" +#line 6059 "FacebookPublishing.c" } static void publishing_facebook_web_authentication_pane_locale_lookup_finalize (PublishingFacebookWebAuthenticationPaneLocaleLookup* obj) { PublishingFacebookWebAuthenticationPaneLocaleLookup * self; -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_WEB_AUTHENTICATION_PANE_TYPE_LOCALE_LOOKUP, PublishingFacebookWebAuthenticationPaneLocaleLookup); -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_handlers_destroy (self); -#line 841 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 825 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->prefix); -#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->translation); -#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 827 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->exception_code); -#line 844 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->exception_translation); -#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 829 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->exception_code_2); -#line 846 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->exception_translation_2); -#line 6317 "FacebookPublishing.c" +#line 6081 "FacebookPublishing.c" } @@ -6370,59 +6134,29 @@ static GType publishing_facebook_web_authentication_pane_locale_lookup_get_type static gpointer publishing_facebook_web_authentication_pane_locale_lookup_ref (gpointer instance) { PublishingFacebookWebAuthenticationPaneLocaleLookup* self; self = instance; -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_atomic_int_inc (&self->ref_count); -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return instance; -#line 6342 "FacebookPublishing.c" +#line 6106 "FacebookPublishing.c" } static void publishing_facebook_web_authentication_pane_locale_lookup_unref (gpointer instance) { PublishingFacebookWebAuthenticationPaneLocaleLookup* self; self = instance; -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" PUBLISHING_FACEBOOK_WEB_AUTHENTICATION_PANE_LOCALE_LOOKUP_GET_CLASS (self)->finalize (self); -#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 6355 "FacebookPublishing.c" +#line 6119 "FacebookPublishing.c" } } static void publishing_facebook_web_authentication_pane_class_init (PublishingFacebookWebAuthenticationPaneClass * klass) { -#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - publishing_facebook_web_authentication_pane_parent_class = g_type_class_peek_parent (klass); -#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_type_class_add_private (klass, sizeof (PublishingFacebookWebAuthenticationPanePrivate)); -#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - G_OBJECT_CLASS (klass)->finalize = publishing_facebook_web_authentication_pane_finalize; -#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_signal_new ("login_succeeded", PUBLISHING_FACEBOOK_TYPE_WEB_AUTHENTICATION_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); -#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_signal_new ("login_failed", PUBLISHING_FACEBOOK_TYPE_WEB_AUTHENTICATION_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 6371 "FacebookPublishing.c" -} - - -static void publishing_facebook_web_authentication_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) { -#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - publishing_facebook_web_authentication_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface); -#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_facebook_web_authentication_pane_real_get_widget; -#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) publishing_facebook_web_authentication_pane_real_get_preferred_geometry; -#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_facebook_web_authentication_pane_real_on_pane_installed; -#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_facebook_web_authentication_pane_real_on_pane_uninstalled; -#line 6386 "FacebookPublishing.c" -} - - -static void publishing_facebook_web_authentication_pane_instance_init (PublishingFacebookWebAuthenticationPane * self) { PublishingFacebookWebAuthenticationPaneLocaleLookup* _tmp0_ = NULL; PublishingFacebookWebAuthenticationPaneLocaleLookup* _tmp1_ = NULL; PublishingFacebookWebAuthenticationPaneLocaleLookup* _tmp2_ = NULL; @@ -6470,202 +6204,206 @@ static void publishing_facebook_web_authentication_pane_instance_init (Publishin PublishingFacebookWebAuthenticationPaneLocaleLookup* _tmp44_ = NULL; PublishingFacebookWebAuthenticationPaneLocaleLookup** _tmp45_ = NULL; #line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self->priv = PUBLISHING_FACEBOOK_WEB_AUTHENTICATION_PANE_GET_PRIVATE (self); -#line 815 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self->priv->webview = NULL; -#line 816 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self->priv->pane_widget = NULL; -#line 817 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self->priv->webview_frame = NULL; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + publishing_facebook_web_authentication_pane_parent_class = g_type_class_peek_parent (klass); +#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + ((ShotwellPluginsCommonWebAuthenticationPaneClass *) klass)->on_page_load = publishing_facebook_web_authentication_pane_real_on_page_load; +#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + G_OBJECT_CLASS (klass)->finalize = publishing_facebook_web_authentication_pane_finalize; +#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + g_signal_new ("login_succeeded", PUBLISHING_FACEBOOK_TYPE_WEB_AUTHENTICATION_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); +#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + g_signal_new ("login_failed", PUBLISHING_FACEBOOK_TYPE_WEB_AUTHENTICATION_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("es", "es-la", "ES", "es-es", NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("en", "en-gb", "US", "en-us", NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("fr", "fr-fr", "CA", "fr-ca", NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("pt", "pt-br", "PT", "pt-pt", NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("zh", "zh-cn", "HK", "zh-hk", "TW", "zh-tw"); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("af", "af-za", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("ar", "ar-ar", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("nb", "nb-no", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("no", "nb-no", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("id", "id-id", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("ms", "ms-my", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp11_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("ca", "ca-es", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp12_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("cs", "cs-cz", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp13_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("cy", "cy-gb", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp14_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("da", "da-dk", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp15_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("de", "de-de", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp16_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("tl", "tl-ph", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp17_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("ko", "ko-kr", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp18_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("hr", "hr-hr", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp19_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("it", "it-it", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp20_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("lt", "lt-lt", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp21_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("hu", "hu-hu", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp22_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("nl", "nl-nl", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp23_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("ja", "ja-jp", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp24_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("nb", "nb-no", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp25_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("no", "nb-no", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp26_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("pl", "pl-pl", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp27_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("ro", "ro-ro", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp28_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("ru", "ru-ru", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp29_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("sk", "sk-sk", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp30_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("sl", "sl-si", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp31_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("sv", "sv-se", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp32_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("th", "th-th", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp33_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("vi", "vi-vn", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp34_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("tr", "tr-tr", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp35_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("el", "el-gr", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp36_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("bg", "bg-bg", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp37_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("sr", "sr-rs", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp38_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("he", "he-il", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp39_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("hi", "hi-in", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp40_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("bn", "bn-in", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp41_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("pa", "pa-in", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp42_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("ta", "ta-in", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp43_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("te", "te-in", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp44_ = publishing_facebook_web_authentication_pane_locale_lookup_new ("ml", "ml-in", NULL, NULL, NULL, NULL); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_ = g_new0 (PublishingFacebookWebAuthenticationPaneLocaleLookup*, 45 + 1); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[0] = _tmp0_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[1] = _tmp1_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[2] = _tmp2_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[3] = _tmp3_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[4] = _tmp4_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[5] = _tmp5_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[6] = _tmp6_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[7] = _tmp7_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[8] = _tmp8_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[9] = _tmp9_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[10] = _tmp10_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[11] = _tmp11_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[12] = _tmp12_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[13] = _tmp13_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[14] = _tmp14_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[15] = _tmp15_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[16] = _tmp16_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[17] = _tmp17_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[18] = _tmp18_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[19] = _tmp19_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[20] = _tmp20_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[21] = _tmp21_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[22] = _tmp22_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[23] = _tmp23_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[24] = _tmp24_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[25] = _tmp25_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[26] = _tmp26_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[27] = _tmp27_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[28] = _tmp28_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[29] = _tmp29_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[30] = _tmp30_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[31] = _tmp31_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[32] = _tmp32_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[33] = _tmp33_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[34] = _tmp34_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[35] = _tmp35_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[36] = _tmp36_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[37] = _tmp37_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[38] = _tmp38_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[39] = _tmp39_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[40] = _tmp40_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[41] = _tmp41_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[42] = _tmp42_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[43] = _tmp43_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_[44] = _tmp44_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self->priv->locale_lookup_table = _tmp45_; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self->priv->locale_lookup_table_length1 = 45; -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self->priv->_locale_lookup_table_size_ = self->priv->locale_lookup_table_length1; -#line 6633 "FacebookPublishing.c" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + publishing_facebook_web_authentication_pane_locale_lookup_table = _tmp45_; +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + publishing_facebook_web_authentication_pane_locale_lookup_table_length1 = 45; +#line 6367 "FacebookPublishing.c" +} + + +static void publishing_facebook_web_authentication_pane_instance_init (PublishingFacebookWebAuthenticationPane * self) { } @@ -6673,17 +6411,9 @@ static void publishing_facebook_web_authentication_pane_finalize (GObject* obj) PublishingFacebookWebAuthenticationPane * self; #line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_TYPE_WEB_AUTHENTICATION_PANE, PublishingFacebookWebAuthenticationPane); -#line 815 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _g_object_unref0 (self->priv->webview); -#line 816 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _g_object_unref0 (self->priv->pane_widget); -#line 817 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _g_object_unref0 (self->priv->webview_frame); -#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self->priv->locale_lookup_table = (_vala_array_free (self->priv->locale_lookup_table, self->priv->locale_lookup_table_length1, (GDestroyNotify) publishing_facebook_web_authentication_pane_locale_lookup_unref), NULL); #line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_OBJECT_CLASS (publishing_facebook_web_authentication_pane_parent_class)->finalize (obj); -#line 6651 "FacebookPublishing.c" +#line 6381 "FacebookPublishing.c" } @@ -6691,10 +6421,8 @@ GType publishing_facebook_web_authentication_pane_get_type (void) { static volatile gsize publishing_facebook_web_authentication_pane_type_id__volatile = 0; if (g_once_init_enter (&publishing_facebook_web_authentication_pane_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (PublishingFacebookWebAuthenticationPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) publishing_facebook_web_authentication_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PublishingFacebookWebAuthenticationPane), 0, (GInstanceInitFunc) publishing_facebook_web_authentication_pane_instance_init, NULL }; - static const GInterfaceInfo spit_publishing_dialog_pane_info = { (GInterfaceInitFunc) publishing_facebook_web_authentication_pane_spit_publishing_dialog_pane_interface_init, (GInterfaceFinalizeFunc) NULL, NULL}; GType publishing_facebook_web_authentication_pane_type_id; - publishing_facebook_web_authentication_pane_type_id = g_type_register_static (G_TYPE_OBJECT, "PublishingFacebookWebAuthenticationPane", &g_define_type_info, 0); - g_type_add_interface_static (publishing_facebook_web_authentication_pane_type_id, SPIT_PUBLISHING_TYPE_DIALOG_PANE, &spit_publishing_dialog_pane_info); + publishing_facebook_web_authentication_pane_type_id = g_type_register_static (SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, "PublishingFacebookWebAuthenticationPane", &g_define_type_info, 0); g_once_init_leave (&publishing_facebook_web_authentication_pane_type_id__volatile, publishing_facebook_web_authentication_pane_type_id); } return publishing_facebook_web_authentication_pane_type_id__volatile; @@ -6704,56 +6432,56 @@ GType publishing_facebook_web_authentication_pane_get_type (void) { static PublishingFacebookAlbum** _vala_array_dup2 (PublishingFacebookAlbum** self, int length) { PublishingFacebookAlbum** result; int i; -#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = g_new0 (PublishingFacebookAlbum*, length + 1); -#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" for (i = 0; i < length; i++) { -#line 6676 "FacebookPublishing.c" +#line 6404 "FacebookPublishing.c" PublishingFacebookAlbum* _tmp0_ = NULL; -#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = _publishing_facebook_album_ref0 (self[i]); -#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result[i] = _tmp0_; -#line 6682 "FacebookPublishing.c" +#line 6410 "FacebookPublishing.c" } -#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 6686 "FacebookPublishing.c" +#line 6414 "FacebookPublishing.c" } static void _publishing_facebook_publishing_options_pane_on_create_new_toggled_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_on_create_new_toggled ((PublishingFacebookPublishingOptionsPane*) self); -#line 6693 "FacebookPublishing.c" +#line 6421 "FacebookPublishing.c" } static void _publishing_facebook_publishing_options_pane_on_use_existing_toggled_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_on_use_existing_toggled ((PublishingFacebookPublishingOptionsPane*) self); -#line 6700 "FacebookPublishing.c" +#line 6428 "FacebookPublishing.c" } static void _publishing_facebook_publishing_options_pane_on_publish_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 1095 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1045 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_on_publish_button_clicked ((PublishingFacebookPublishingOptionsPane*) self); -#line 6707 "FacebookPublishing.c" +#line 6435 "FacebookPublishing.c" } static void _publishing_facebook_publishing_options_pane_on_logout_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 1096 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_on_logout_button_clicked ((PublishingFacebookPublishingOptionsPane*) self); -#line 6714 "FacebookPublishing.c" +#line 6442 "FacebookPublishing.c" } static void _publishing_facebook_publishing_options_pane_on_size_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { -#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1050 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_on_size_changed ((PublishingFacebookPublishingOptionsPane*) self); -#line 6721 "FacebookPublishing.c" +#line 6449 "FacebookPublishing.c" } @@ -6833,315 +6561,315 @@ PublishingFacebookPublishingOptionsPane* publishing_facebook_publishing_options_ GtkRadioButton* _tmp70_ = NULL; GtkComboBoxText* _tmp75_ = NULL; SpitPublishingPublisherMediaType _tmp76_ = 0; -#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (username != NULL, NULL); -#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (publisher), NULL); -#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (GTK_IS_BUILDER (builder), NULL); -#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = (PublishingFacebookPublishingOptionsPane*) g_object_new (object_type, NULL); -#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = builder; -#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->builder); -#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->builder = _tmp1_; -#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = builder; -#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_assert (_tmp2_ != NULL, "builder != null"); -#line 1058 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = builder; -#line 1058 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = gtk_builder_get_objects (_tmp3_); -#line 1058 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = _tmp4_; -#line 1058 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = g_slist_length (_tmp5_); -#line 1058 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_assert (_tmp6_ > ((guint) 0), "builder.get_objects().length() > 0"); -#line 1058 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_slist_free0 (_tmp5_); -#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = albums; -#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7__length1 = albums_length1; -#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = (_tmp7_ != NULL) ? _vala_array_dup2 (_tmp7_, _tmp7__length1) : ((gpointer) _tmp7_); -#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8__length1 = _tmp7__length1; -#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->albums = (_vala_array_free (self->priv->albums, self->priv->albums_length1, (GDestroyNotify) publishing_facebook_album_unref), NULL); -#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->albums = _tmp8_; -#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->albums_length1 = _tmp8__length1; -#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->_albums_size_ = self->priv->albums_length1; -#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = publishing_facebook_publishing_options_pane_create_privacy_descriptions (self, &_tmp9_); -#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->privacy_descriptions = (_vala_array_free (self->priv->privacy_descriptions, self->priv->privacy_descriptions_length1, (GDestroyNotify) publishing_facebook_publishing_options_pane_privacy_description_unref), NULL); -#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->privacy_descriptions = _tmp10_; -#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->privacy_descriptions_length1 = _tmp9_; -#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->_privacy_descriptions_size_ = self->priv->privacy_descriptions_length1; -#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp12_ = publishing_facebook_publishing_options_pane_create_resolution_list (self, &_tmp11_); -#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->possible_resolutions = (g_free (self->priv->possible_resolutions), NULL); -#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->possible_resolutions = _tmp12_; -#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->possible_resolutions_length1 = _tmp11_; -#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->_possible_resolutions_size_ = self->priv->possible_resolutions_length1; -#line 1064 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp13_ = publisher; -#line 1064 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp14_ = _g_object_ref0 (_tmp13_); -#line 1064 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->publisher); -#line 1064 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->publisher = _tmp14_; -#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1017 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp15_ = media_type; -#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1017 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->media_type = _tmp15_; -#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp16_ = builder; -#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp17_ = gtk_builder_get_object (_tmp16_, "facebook_pane_box"); -#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp18_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_box_get_type (), GtkBox)); -#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->pane_widget); -#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->pane_widget = _tmp18_; -#line 1070 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1020 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp19_ = self->priv->pane_widget; -#line 1070 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1020 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_container_get_type (), GtkContainer), (guint) 16); -#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp20_ = self->priv->builder; -#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp21_ = gtk_builder_get_object (_tmp20_, "use_existing_radio"); -#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp22_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_radio_button_get_type (), GtkRadioButton)); -#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->use_existing_radio); -#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->use_existing_radio = _tmp22_; -#line 1073 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp23_ = self->priv->builder; -#line 1073 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp24_ = gtk_builder_get_object (_tmp23_, "create_new_radio"); -#line 1073 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp25_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_radio_button_get_type (), GtkRadioButton)); -#line 1073 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->create_new_radio); -#line 1073 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->create_new_radio = _tmp25_; -#line 1074 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp26_ = self->priv->builder; -#line 1074 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp27_ = gtk_builder_get_object (_tmp26_, "existing_albums_combo"); -#line 1074 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp28_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_combo_box_text_get_type (), GtkComboBoxText)); -#line 1074 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->existing_albums_combo); -#line 1074 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->existing_albums_combo = _tmp28_; -#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp29_ = self->priv->builder; -#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp30_ = gtk_builder_get_object (_tmp29_, "visibility_combo"); -#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp31_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_combo_box_text_get_type (), GtkComboBoxText)); -#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->visibility_combo); -#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->visibility_combo = _tmp31_; -#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1026 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp32_ = self->priv->builder; -#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1026 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp33_ = gtk_builder_get_object (_tmp32_, "publish_button"); -#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1026 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp34_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, gtk_button_get_type (), GtkButton)); -#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1026 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->publish_button); -#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1026 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->publish_button = _tmp34_; -#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp35_ = self->priv->builder; -#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp36_ = gtk_builder_get_object (_tmp35_, "logout_button"); -#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp37_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, gtk_button_get_type (), GtkButton)); -#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->logout_button); -#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->logout_button = _tmp37_; -#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp38_ = self->priv->builder; -#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp39_ = gtk_builder_get_object (_tmp38_, "new_album_entry"); -#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp40_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, gtk_entry_get_type (), GtkEntry)); -#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->new_album_entry); -#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->new_album_entry = _tmp40_; -#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1029 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp41_ = self->priv->builder; -#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1029 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp42_ = gtk_builder_get_object (_tmp41_, "resolution_combo"); -#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1029 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp43_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_combo_box_text_get_type (), GtkComboBoxText)); -#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1029 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->resolution_combo); -#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1029 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->resolution_combo = _tmp43_; -#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp44_ = self->priv->builder; -#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_ = gtk_builder_get_object (_tmp44_, "how_to_label"); -#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp46_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_label_get_type (), GtkLabel)); -#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->how_to_label); -#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->how_to_label = _tmp46_; -#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp47_ = self->priv->builder; -#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp48_ = gtk_builder_get_object (_tmp47_, "strip_metadata_check"); -#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp49_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_check_button_get_type (), GtkCheckButton)); -#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->strip_metadata_check); -#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->strip_metadata_check = _tmp49_; -#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp50_ = self->priv->create_new_radio; -#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_button_get_type (), GtkButton), "clicked", (GCallback) _publishing_facebook_publishing_options_pane_on_create_new_toggled_gtk_button_clicked, self, 0); -#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp51_ = self->priv->use_existing_radio; -#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, gtk_button_get_type (), GtkButton), "clicked", (GCallback) _publishing_facebook_publishing_options_pane_on_use_existing_toggled_gtk_button_clicked, self, 0); -#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp52_ = username; -#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp53_ = g_strdup_printf (PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_HEADER_LABEL_TEXT, _tmp52_); -#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" label_text = _tmp53_; -#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp54_ = media_type; -#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if ((_tmp54_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) != 0) { -#line 7013 "FacebookPublishing.c" +#line 6741 "FacebookPublishing.c" const gchar* _tmp55_ = NULL; gchar* _tmp56_ = NULL; -#line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp55_ = label_text; -#line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp56_ = g_strconcat (_tmp55_, PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_PHOTOS_LABEL_TEXT, NULL); -#line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (label_text); -#line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" label_text = _tmp56_; -#line 7024 "FacebookPublishing.c" +#line 6752 "FacebookPublishing.c" } -#line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1039 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp57_ = self->priv->how_to_label; -#line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1039 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp58_ = label_text; -#line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1039 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_label_set_label (_tmp57_, _tmp58_); -#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp59_ = self->priv->strip_metadata_check; -#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp60_ = strip_metadata; -#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp60_); -#line 1092 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_setup_visibility_combo (self); -#line 1093 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp61_ = self->priv->visibility_combo; -#line 1093 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, gtk_combo_box_get_type (), GtkComboBox), 0); -#line 1095 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1045 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp62_ = self->priv->publish_button; -#line 1095 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1045 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_connect_object (_tmp62_, "clicked", (GCallback) _publishing_facebook_publishing_options_pane_on_publish_button_clicked_gtk_button_clicked, self, 0); -#line 1096 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp63_ = self->priv->logout_button; -#line 1096 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_connect_object (_tmp63_, "clicked", (GCallback) _publishing_facebook_publishing_options_pane_on_logout_button_clicked_gtk_button_clicked, self, 0); -#line 1098 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_setup_resolution_combo (self); -#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp64_ = self->priv->resolution_combo; -#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp65_ = publisher; -#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp66_ = publishing_facebook_facebook_publisher_get_persistent_default_size (_tmp65_); -#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, gtk_combo_box_get_type (), GtkComboBox), _tmp66_); -#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1050 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp67_ = self->priv->resolution_combo; -#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1050 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _publishing_facebook_publishing_options_pane_on_size_changed_gtk_combo_box_changed, self, 0); -#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp70_ = self->priv->create_new_radio; -#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp70_ != NULL) { -#line 7070 "FacebookPublishing.c" +#line 6798 "FacebookPublishing.c" GtkRadioButton* _tmp71_ = NULL; gboolean _tmp72_ = FALSE; gboolean _tmp73_ = FALSE; -#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp71_ = self->priv->create_new_radio; -#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp72_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp73_ = _tmp72_; -#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp69_ = _tmp73_; -#line 7082 "FacebookPublishing.c" +#line 6810 "FacebookPublishing.c" } else { -#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp69_ = FALSE; -#line 7086 "FacebookPublishing.c" +#line 6814 "FacebookPublishing.c" } -#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp69_) { -#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp68_ = TRUE; -#line 7092 "FacebookPublishing.c" +#line 6820 "FacebookPublishing.c" } else { SpitPublishingPublisherMediaType _tmp74_ = 0; -#line 1107 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp74_ = media_type; -#line 1107 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp68_ = (_tmp74_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) != 0; -#line 7099 "FacebookPublishing.c" +#line 6827 "FacebookPublishing.c" } -#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1055 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp75_ = self->priv->visibility_combo; -#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1055 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, gtk_widget_get_type (), GtkWidget), _tmp68_); -#line 1110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp76_ = media_type; -#line 1110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp76_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) { -#line 7109 "FacebookPublishing.c" +#line 6837 "FacebookPublishing.c" GtkCheckButton* _tmp77_ = NULL; GtkCheckButton* _tmp78_ = NULL; GtkComboBoxText* _tmp79_ = NULL; @@ -7149,117 +6877,117 @@ PublishingFacebookPublishingOptionsPane* publishing_facebook_publishing_options_ GtkRadioButton* _tmp81_ = NULL; GtkComboBoxText* _tmp82_ = NULL; GtkEntry* _tmp83_ = NULL; -#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp77_ = self->priv->strip_metadata_check; -#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, gtk_toggle_button_get_type (), GtkToggleButton), FALSE); -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1062 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp78_ = self->priv->strip_metadata_check; -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1062 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp78_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1113 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp79_ = self->priv->resolution_combo; -#line 1113 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp79_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1064 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp80_ = self->priv->use_existing_radio; -#line 1114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1064 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp80_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1065 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp81_ = self->priv->create_new_radio; -#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1065 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp81_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1116 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1066 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp82_ = self->priv->existing_albums_combo; -#line 1116 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1066 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp82_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp83_ = self->priv->new_album_entry; -#line 1117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp83_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 7145 "FacebookPublishing.c" +#line 6873 "FacebookPublishing.c" } -#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (label_text); -#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 7151 "FacebookPublishing.c" +#line 6879 "FacebookPublishing.c" } PublishingFacebookPublishingOptionsPane* publishing_facebook_publishing_options_pane_new (const gchar* username, PublishingFacebookAlbum** albums, int albums_length1, SpitPublishingPublisherMediaType media_type, PublishingFacebookFacebookPublisher* publisher, GtkBuilder* builder, gboolean strip_metadata) { -#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return publishing_facebook_publishing_options_pane_construct (PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, username, albums, albums_length1, media_type, publisher, builder, strip_metadata); -#line 7158 "FacebookPublishing.c" +#line 6886 "FacebookPublishing.c" } static gboolean publishing_facebook_publishing_options_pane_publishing_photos (PublishingFacebookPublishingOptionsPane* self) { gboolean result = FALSE; SpitPublishingPublisherMediaType _tmp0_ = 0; -#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1071 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self), FALSE); -#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->media_type; -#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = (_tmp0_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) != 0; -#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 7173 "FacebookPublishing.c" +#line 6901 "FacebookPublishing.c" } static gpointer _publishing_facebook_publishing_options_pane_privacy_description_ref0 (gpointer self) { -#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self ? publishing_facebook_publishing_options_pane_privacy_description_ref (self) : NULL; -#line 7180 "FacebookPublishing.c" +#line 6908 "FacebookPublishing.c" } static void publishing_facebook_publishing_options_pane_setup_visibility_combo (PublishingFacebookPublishingOptionsPane* self) { PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp0_ = NULL; gint _tmp0__length1 = 0; -#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->privacy_descriptions; -#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0__length1 = self->priv->privacy_descriptions_length1; -#line 7193 "FacebookPublishing.c" +#line 6921 "FacebookPublishing.c" { PublishingFacebookPublishingOptionsPanePrivacyDescription** p_collection = NULL; gint p_collection_length1 = 0; gint _p_collection_size_ = 0; gint p_it = 0; -#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" p_collection = _tmp0_; -#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" p_collection_length1 = _tmp0__length1; -#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" for (p_it = 0; p_it < _tmp0__length1; p_it = p_it + 1) { -#line 7205 "FacebookPublishing.c" +#line 6933 "FacebookPublishing.c" PublishingFacebookPublishingOptionsPanePrivacyDescription* _tmp1_ = NULL; PublishingFacebookPublishingOptionsPanePrivacyDescription* p = NULL; -#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = _publishing_facebook_publishing_options_pane_privacy_description_ref0 (p_collection[p_it]); -#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" p = _tmp1_; -#line 7212 "FacebookPublishing.c" +#line 6940 "FacebookPublishing.c" { GtkComboBoxText* _tmp2_ = NULL; PublishingFacebookPublishingOptionsPanePrivacyDescription* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = self->priv->visibility_combo; -#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = p; -#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = _tmp3_->description; -#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_combo_box_text_append_text (_tmp2_, _tmp4_); -#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_publishing_options_pane_privacy_description_unref0 (p); -#line 7227 "FacebookPublishing.c" +#line 6955 "FacebookPublishing.c" } } } @@ -7269,47 +6997,47 @@ static void publishing_facebook_publishing_options_pane_setup_visibility_combo ( static void publishing_facebook_publishing_options_pane_setup_resolution_combo (PublishingFacebookPublishingOptionsPane* self) { PublishingFacebookResolution* _tmp0_ = NULL; gint _tmp0__length1 = 0; -#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->possible_resolutions; -#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0__length1 = self->priv->possible_resolutions_length1; -#line 7243 "FacebookPublishing.c" +#line 6971 "FacebookPublishing.c" { PublishingFacebookResolution* res_collection = NULL; gint res_collection_length1 = 0; gint _res_collection_size_ = 0; gint res_it = 0; -#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" res_collection = _tmp0_; -#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" res_collection_length1 = _tmp0__length1; -#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" for (res_it = 0; res_it < _tmp0__length1; res_it = res_it + 1) { -#line 7255 "FacebookPublishing.c" +#line 6983 "FacebookPublishing.c" PublishingFacebookResolution res = 0; -#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" res = res_collection[res_it]; -#line 7259 "FacebookPublishing.c" +#line 6987 "FacebookPublishing.c" { GtkComboBoxText* _tmp1_ = NULL; PublishingFacebookResolution _tmp2_ = 0; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; -#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1082 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = self->priv->resolution_combo; -#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1082 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = res; -#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1082 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = publishing_facebook_resolution_get_name (_tmp2_); -#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1082 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = _tmp3_; -#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1082 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_combo_box_text_append_text (_tmp1_, _tmp4_); -#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1082 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp4_); -#line 7277 "FacebookPublishing.c" +#line 7005 "FacebookPublishing.c" } } } @@ -7320,41 +7048,41 @@ static void publishing_facebook_publishing_options_pane_on_use_existing_toggled GtkRadioButton* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 1135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->use_existing_radio; -#line 1136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = _tmp1_; -#line 1136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp2_) { -#line 7298 "FacebookPublishing.c" +#line 7026 "FacebookPublishing.c" GtkComboBoxText* _tmp3_ = NULL; GtkEntry* _tmp4_ = NULL; GtkComboBoxText* _tmp5_ = NULL; SpitPublishingPublisherMediaType _tmp6_ = 0; GtkComboBoxText* _tmp7_ = NULL; -#line 1137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = self->priv->existing_albums_combo; -#line 1137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = self->priv->new_album_entry; -#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1093 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = self->priv->visibility_combo; -#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1093 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = self->priv->media_type; -#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1093 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), (_tmp6_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) != 0); -#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1095 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = self->priv->existing_albums_combo; -#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1095 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget)); -#line 7322 "FacebookPublishing.c" +#line 7050 "FacebookPublishing.c" } } @@ -7363,38 +7091,38 @@ static void publishing_facebook_publishing_options_pane_on_create_new_toggled (P GtkRadioButton* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 1149 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->create_new_radio; -#line 1150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = _tmp1_; -#line 1150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp2_) { -#line 7341 "FacebookPublishing.c" +#line 7069 "FacebookPublishing.c" GtkComboBoxText* _tmp3_ = NULL; GtkEntry* _tmp4_ = NULL; GtkEntry* _tmp5_ = NULL; GtkComboBoxText* _tmp6_ = NULL; -#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1101 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = self->priv->existing_albums_combo; -#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1101 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = self->priv->new_album_entry; -#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1103 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = self->priv->new_album_entry; -#line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1103 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget)); -#line 1157 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1107 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = self->priv->visibility_combo; -#line 1157 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1107 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 7362 "FacebookPublishing.c" +#line 7090 "FacebookPublishing.c" } } @@ -7403,26 +7131,26 @@ static void publishing_facebook_publishing_options_pane_on_size_changed (Publish PublishingFacebookFacebookPublisher* _tmp0_ = NULL; GtkComboBoxText* _tmp1_ = NULL; gint _tmp2_ = 0; -#line 1161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->publisher; -#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = self->priv->resolution_combo; -#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox)); -#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_facebook_publisher_set_persistent_default_size (_tmp0_, _tmp2_); -#line 7381 "FacebookPublishing.c" +#line 7109 "FacebookPublishing.c" } static void publishing_facebook_publishing_options_pane_on_logout_button_clicked (PublishingFacebookPublishingOptionsPane* self) { -#line 1165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1166 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1116 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_emit_by_name (self, "logout"); -#line 7390 "FacebookPublishing.c" +#line 7118 "FacebookPublishing.c" } @@ -7443,29 +7171,29 @@ static void publishing_facebook_publishing_options_pane_on_publish_button_clicke PublishingFacebookResolution _tmp21_ = 0; GtkCheckButton* _tmp22_ = NULL; gboolean _tmp23_ = FALSE; -#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1119 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->privacy_descriptions; -#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0__length1 = self->priv->privacy_descriptions_length1; -#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = self->priv->visibility_combo; -#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox)); -#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = _tmp0_[_tmp2_]; -#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = _tmp3_->privacy_setting; -#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = g_strdup (_tmp4_); -#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" privacy_setting = _tmp5_; -#line 1175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = publishing_facebook_publishing_options_pane_publishing_photos (self); -#line 1175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp6_) { -#line 7433 "FacebookPublishing.c" +#line 7161 "FacebookPublishing.c" PublishingFacebookResolution* _tmp7_ = NULL; gint _tmp7__length1 = 0; GtkComboBoxText* _tmp8_ = NULL; @@ -7474,131 +7202,131 @@ static void publishing_facebook_publishing_options_pane_on_publish_button_clicke GtkRadioButton* _tmp11_ = NULL; gboolean _tmp12_ = FALSE; gboolean _tmp13_ = FALSE; -#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = self->priv->possible_resolutions; -#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7__length1 = self->priv->possible_resolutions_length1; -#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = self->priv->resolution_combo; -#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_combo_box_get_type (), GtkComboBox)); -#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = _tmp7_[_tmp9_]; -#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" resolution_setting = _tmp10_; -#line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp11_ = self->priv->use_existing_radio; -#line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp12_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp13_ = _tmp12_; -#line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp13_) { -#line 7462 "FacebookPublishing.c" +#line 7190 "FacebookPublishing.c" GtkComboBoxText* _tmp14_ = NULL; gchar* _tmp15_ = NULL; -#line 1178 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp14_ = self->priv->existing_albums_combo; -#line 1178 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp15_ = gtk_combo_box_text_get_active_text (_tmp14_); -#line 1178 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (album_name); -#line 1178 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" album_name = _tmp15_; -#line 7473 "FacebookPublishing.c" +#line 7201 "FacebookPublishing.c" } else { GtkEntry* _tmp16_ = NULL; const gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; -#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp16_ = self->priv->new_album_entry; -#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp17_ = gtk_entry_get_text (_tmp16_); -#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp18_ = g_strdup (_tmp17_); -#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (album_name); -#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" album_name = _tmp18_; -#line 7488 "FacebookPublishing.c" +#line 7216 "FacebookPublishing.c" } } else { -#line 1183 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" resolution_setting = PUBLISHING_FACEBOOK_RESOLUTION_STANDARD; -#line 1184 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (album_name); -#line 1184 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" album_name = NULL; -#line 7497 "FacebookPublishing.c" +#line 7225 "FacebookPublishing.c" } -#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp19_ = album_name; -#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp20_ = privacy_setting; -#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp21_ = resolution_setting; -#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp22_ = self->priv->strip_metadata_check; -#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp23_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_emit_by_name (self, "publish", _tmp19_, _tmp20_, _tmp21_, _tmp23_); -#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1119 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (privacy_setting); -#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1119 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (album_name); -#line 7515 "FacebookPublishing.c" +#line 7243 "FacebookPublishing.c" } static void _vala_array_add7 (PublishingFacebookPublishingOptionsPanePrivacyDescription*** array, int* length, int* size, PublishingFacebookPublishingOptionsPanePrivacyDescription* value) { -#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if ((*length) == (*size)) { -#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *array = g_renew (PublishingFacebookPublishingOptionsPanePrivacyDescription*, *array, (*size) + 1); -#line 7526 "FacebookPublishing.c" +#line 7254 "FacebookPublishing.c" } -#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" (*array)[(*length)++] = value; -#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" (*array)[*length] = NULL; -#line 7532 "FacebookPublishing.c" +#line 7260 "FacebookPublishing.c" } static void _vala_array_add8 (PublishingFacebookPublishingOptionsPanePrivacyDescription*** array, int* length, int* size, PublishingFacebookPublishingOptionsPanePrivacyDescription* value) { -#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if ((*length) == (*size)) { -#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *array = g_renew (PublishingFacebookPublishingOptionsPanePrivacyDescription*, *array, (*size) + 1); -#line 7543 "FacebookPublishing.c" +#line 7271 "FacebookPublishing.c" } -#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" (*array)[(*length)++] = value; -#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" (*array)[*length] = NULL; -#line 7549 "FacebookPublishing.c" +#line 7277 "FacebookPublishing.c" } static void _vala_array_add9 (PublishingFacebookPublishingOptionsPanePrivacyDescription*** array, int* length, int* size, PublishingFacebookPublishingOptionsPanePrivacyDescription* value) { -#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if ((*length) == (*size)) { -#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *array = g_renew (PublishingFacebookPublishingOptionsPanePrivacyDescription*, *array, (*size) + 1); -#line 7560 "FacebookPublishing.c" +#line 7288 "FacebookPublishing.c" } -#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" (*array)[(*length)++] = value; -#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" (*array)[*length] = NULL; -#line 7566 "FacebookPublishing.c" +#line 7294 "FacebookPublishing.c" } @@ -7622,91 +7350,91 @@ static PublishingFacebookPublishingOptionsPanePrivacyDescription** publishing_fa PublishingFacebookPublishingOptionsPanePrivacyDescription* _tmp9_ = NULL; PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp10_ = NULL; gint _tmp10__length1 = 0; -#line 1190 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1140 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self), NULL); -#line 1191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1141 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = g_new0 (PublishingFacebookPublishingOptionsPanePrivacyDescription*, 0 + 1); -#line 1191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1141 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _result_ = _tmp0_; -#line 1191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1141 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _result__length1 = 0; -#line 1191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1141 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" __result__size_ = _result__length1; -#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = _result_; -#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1__length1 = _result__length1; -#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = _ ("Just me"); -#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = publishing_facebook_publishing_options_pane_privacy_description_new (_tmp2_, "{ 'value' : 'SELF' }"); -#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_array_add7 (&_result_, &_result__length1, &__result__size_, _tmp3_); -#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = _result_; -#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4__length1 = _result__length1; -#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = _ ("Friends"); -#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = publishing_facebook_publishing_options_pane_privacy_description_new (_tmp5_, "{ 'value' : 'ALL_FRIENDS' }"); -#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_array_add8 (&_result_, &_result__length1, &__result__size_, _tmp6_); -#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = _result_; -#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7__length1 = _result__length1; -#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = _ ("Everyone"); -#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = publishing_facebook_publishing_options_pane_privacy_description_new (_tmp8_, "{ 'value' : 'EVERYONE' }"); -#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_array_add9 (&_result_, &_result__length1, &__result__size_, _tmp9_); -#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = _result_; -#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10__length1 = _result__length1; -#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (result_length1) { -#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *result_length1 = _tmp10__length1; -#line 7638 "FacebookPublishing.c" +#line 7366 "FacebookPublishing.c" } -#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp10_; -#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 7644 "FacebookPublishing.c" +#line 7372 "FacebookPublishing.c" } static void _vala_array_add10 (PublishingFacebookResolution** array, int* length, int* size, PublishingFacebookResolution value) { -#line 1203 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if ((*length) == (*size)) { -#line 1203 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 1203 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *array = g_renew (PublishingFacebookResolution, *array, *size); -#line 7655 "FacebookPublishing.c" +#line 7383 "FacebookPublishing.c" } -#line 1203 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" (*array)[(*length)++] = value; -#line 7659 "FacebookPublishing.c" +#line 7387 "FacebookPublishing.c" } static void _vala_array_add11 (PublishingFacebookResolution** array, int* length, int* size, PublishingFacebookResolution value) { -#line 1204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if ((*length) == (*size)) { -#line 1204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 1204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *array = g_renew (PublishingFacebookResolution, *array, *size); -#line 7670 "FacebookPublishing.c" +#line 7398 "FacebookPublishing.c" } -#line 1204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" (*array)[(*length)++] = value; -#line 7674 "FacebookPublishing.c" +#line 7402 "FacebookPublishing.c" } @@ -7722,120 +7450,120 @@ static PublishingFacebookResolution* publishing_facebook_publishing_options_pane gint _tmp2__length1 = 0; PublishingFacebookResolution* _tmp3_ = NULL; gint _tmp3__length1 = 0; -#line 1200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self), NULL); -#line 1201 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = g_new0 (PublishingFacebookResolution, 0); -#line 1201 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _result_ = _tmp0_; -#line 1201 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _result__length1 = 0; -#line 1201 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" __result__size_ = _result__length1; -#line 1203 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = _result_; -#line 1203 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1__length1 = _result__length1; -#line 1203 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_array_add10 (&_result_, &_result__length1, &__result__size_, PUBLISHING_FACEBOOK_RESOLUTION_STANDARD); -#line 1204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = _result_; -#line 1204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2__length1 = _result__length1; -#line 1204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_array_add11 (&_result_, &_result__length1, &__result__size_, PUBLISHING_FACEBOOK_RESOLUTION_HIGH); -#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = _result_; -#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3__length1 = _result__length1; -#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (result_length1) { -#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *result_length1 = _tmp3__length1; -#line 7720 "FacebookPublishing.c" +#line 7448 "FacebookPublishing.c" } -#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp3_; -#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 7726 "FacebookPublishing.c" +#line 7454 "FacebookPublishing.c" } void publishing_facebook_publishing_options_pane_installed (PublishingFacebookPublishingOptionsPane* self) { gboolean _tmp0_ = FALSE; GtkButton* _tmp24_ = NULL; -#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1160 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = publishing_facebook_publishing_options_pane_publishing_photos (self); -#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1160 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp0_) { -#line 7739 "FacebookPublishing.c" +#line 7467 "FacebookPublishing.c" PublishingFacebookAlbum** _tmp1_ = NULL; gint _tmp1__length1 = 0; -#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = self->priv->albums; -#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1__length1 = self->priv->albums_length1; -#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp1__length1 == 0) { -#line 7748 "FacebookPublishing.c" +#line 7476 "FacebookPublishing.c" GtkRadioButton* _tmp2_ = NULL; GtkEntry* _tmp3_ = NULL; GtkComboBoxText* _tmp4_ = NULL; GtkRadioButton* _tmp5_ = NULL; -#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = self->priv->create_new_radio; -#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE); -#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = self->priv->new_album_entry; -#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_entry_set_text (_tmp3_, PUBLISHING_FACEBOOK_DEFAULT_ALBUM_NAME); -#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1164 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = self->priv->existing_albums_combo; -#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1164 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = self->priv->use_existing_radio; -#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 7769 "FacebookPublishing.c" +#line 7497 "FacebookPublishing.c" } else { gint default_album_seq_num = 0; gint ticker = 0; PublishingFacebookAlbum** _tmp6_ = NULL; gint _tmp6__length1 = 0; gint _tmp15_ = 0; -#line 1217 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" default_album_seq_num = -1; -#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ticker = 0; -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = self->priv->albums; -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6__length1 = self->priv->albums_length1; -#line 7784 "FacebookPublishing.c" +#line 7512 "FacebookPublishing.c" { PublishingFacebookAlbum** album_collection = NULL; gint album_collection_length1 = 0; gint _album_collection_size_ = 0; gint album_it = 0; -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" album_collection = _tmp6_; -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" album_collection_length1 = _tmp6__length1; -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" for (album_it = 0; album_it < _tmp6__length1; album_it = album_it + 1) { -#line 7796 "FacebookPublishing.c" +#line 7524 "FacebookPublishing.c" PublishingFacebookAlbum* _tmp7_ = NULL; PublishingFacebookAlbum* album = NULL; -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = _publishing_facebook_album_ref0 (album_collection[album_it]); -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" album = _tmp7_; -#line 7803 "FacebookPublishing.c" +#line 7531 "FacebookPublishing.c" { GtkComboBoxText* _tmp8_ = NULL; PublishingFacebookAlbum* _tmp9_ = NULL; @@ -7843,101 +7571,101 @@ void publishing_facebook_publishing_options_pane_installed (PublishingFacebookPu PublishingFacebookAlbum* _tmp11_ = NULL; const gchar* _tmp12_ = NULL; gint _tmp14_ = 0; -#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = self->priv->existing_albums_combo; -#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = album; -#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = _tmp9_->name; -#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_combo_box_text_append_text (_tmp8_, _tmp10_); -#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp11_ = album; -#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp12_ = _tmp11_->name; -#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (g_strcmp0 (_tmp12_, PUBLISHING_FACEBOOK_DEFAULT_ALBUM_NAME) == 0) { -#line 7825 "FacebookPublishing.c" +#line 7553 "FacebookPublishing.c" gint _tmp13_ = 0; -#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp13_ = ticker; -#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" default_album_seq_num = _tmp13_; -#line 7831 "FacebookPublishing.c" +#line 7559 "FacebookPublishing.c" } -#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp14_ = ticker; -#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ticker = _tmp14_ + 1; -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_album_unref0 (album); -#line 7839 "FacebookPublishing.c" +#line 7567 "FacebookPublishing.c" } } } -#line 1225 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp15_ = default_album_seq_num; -#line 1225 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp15_ != -1) { -#line 7847 "FacebookPublishing.c" +#line 7575 "FacebookPublishing.c" GtkComboBoxText* _tmp16_ = NULL; gint _tmp17_ = 0; GtkRadioButton* _tmp18_ = NULL; GtkEntry* _tmp19_ = NULL; -#line 1226 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp16_ = self->priv->existing_albums_combo; -#line 1226 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp17_ = default_album_seq_num; -#line 1226 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_combo_box_get_type (), GtkComboBox), _tmp17_); -#line 1227 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp18_ = self->priv->use_existing_radio; -#line 1227 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE); -#line 1228 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1178 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp19_ = self->priv->new_album_entry; -#line 1228 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1178 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 7866 "FacebookPublishing.c" +#line 7594 "FacebookPublishing.c" } else { GtkRadioButton* _tmp20_ = NULL; GtkComboBoxText* _tmp21_ = NULL; GtkComboBoxText* _tmp22_ = NULL; GtkEntry* _tmp23_ = NULL; -#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp20_ = self->priv->create_new_radio; -#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE); -#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp21_ = self->priv->existing_albums_combo; -#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_combo_box_get_type (), GtkComboBox), 0); -#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1183 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp22_ = self->priv->existing_albums_combo; -#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1183 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1184 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp23_ = self->priv->new_album_entry; -#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1184 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_entry_set_text (_tmp23_, PUBLISHING_FACEBOOK_DEFAULT_ALBUM_NAME); -#line 7888 "FacebookPublishing.c" +#line 7616 "FacebookPublishing.c" } } } -#line 1239 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1189 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp24_ = self->priv->publish_button; -#line 1239 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1189 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_widget_get_type (), GtkWidget)); -#line 7896 "FacebookPublishing.c" +#line 7624 "FacebookPublishing.c" } static void publishing_facebook_publishing_options_pane_notify_logout (PublishingFacebookPublishingOptionsPane* self) { -#line 1242 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1192 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_emit_by_name (self, "logout"); -#line 7905 "FacebookPublishing.c" +#line 7633 "FacebookPublishing.c" } @@ -7947,23 +7675,23 @@ static void publishing_facebook_publishing_options_pane_notify_publish (Publishi PublishingFacebookResolution _tmp2_ = 0; GtkCheckButton* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 1246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (privacy_setting != NULL); -#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = target_album; -#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = privacy_setting; -#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = target_resolution; -#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = self->priv->strip_metadata_check; -#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_emit_by_name (self, "publish", _tmp0_, _tmp1_, _tmp2_, _tmp4_); -#line 7931 "FacebookPublishing.c" +#line 7659 "FacebookPublishing.c" } @@ -7972,58 +7700,58 @@ static GtkWidget* publishing_facebook_publishing_options_pane_real_get_widget (S GtkWidget* result = NULL; GtkBox* _tmp0_ = NULL; GtkWidget* _tmp1_ = NULL; -#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, PublishingFacebookPublishingOptionsPane); -#line 1251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1201 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->pane_widget; -#line 1251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1201 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 1251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1201 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp1_; -#line 1251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1201 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 7950 "FacebookPublishing.c" +#line 7678 "FacebookPublishing.c" } static SpitPublishingDialogPaneGeometryOptions publishing_facebook_publishing_options_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) { PublishingFacebookPublishingOptionsPane * self; SpitPublishingDialogPaneGeometryOptions result = 0; -#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, PublishingFacebookPublishingOptionsPane); -#line 1255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE; -#line 1255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 7963 "FacebookPublishing.c" +#line 7691 "FacebookPublishing.c" } static void _publishing_facebook_publishing_options_pane_notify_logout_publishing_facebook_publishing_options_pane_logout (PublishingFacebookPublishingOptionsPane* _sender, gpointer self) { -#line 1259 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_notify_logout ((PublishingFacebookPublishingOptionsPane*) self); -#line 7970 "FacebookPublishing.c" +#line 7698 "FacebookPublishing.c" } static void _publishing_facebook_publishing_options_pane_notify_publish_publishing_facebook_publishing_options_pane_publish (PublishingFacebookPublishingOptionsPane* _sender, const gchar* target_album, const gchar* privacy_setting, PublishingFacebookResolution target_resolution, gboolean strip_metadata, gpointer self) { -#line 1260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_notify_publish ((PublishingFacebookPublishingOptionsPane*) self, target_album, privacy_setting, target_resolution); -#line 7977 "FacebookPublishing.c" +#line 7705 "FacebookPublishing.c" } static void publishing_facebook_publishing_options_pane_real_on_pane_installed (SpitPublishingDialogPane* base) { PublishingFacebookPublishingOptionsPane * self; -#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, PublishingFacebookPublishingOptionsPane); -#line 1259 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_connect_object (self, "logout", (GCallback) _publishing_facebook_publishing_options_pane_notify_logout_publishing_facebook_publishing_options_pane_logout, self, 0); -#line 1260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_connect_object (self, "publish", (GCallback) _publishing_facebook_publishing_options_pane_notify_publish_publishing_facebook_publishing_options_pane_publish, self, 0); -#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_installed (self); -#line 7991 "FacebookPublishing.c" +#line 7719 "FacebookPublishing.c" } @@ -8031,17 +7759,17 @@ static void publishing_facebook_publishing_options_pane_real_on_pane_uninstalled PublishingFacebookPublishingOptionsPane * self; guint _tmp0_ = 0U; guint _tmp1_ = 0U; -#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, PublishingFacebookPublishingOptionsPane); -#line 1266 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_parse_name ("logout", PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, &_tmp0_, NULL, FALSE); -#line 1266 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_handlers_disconnect_matched (self, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp0_, 0, NULL, (GCallback) _publishing_facebook_publishing_options_pane_notify_logout_publishing_facebook_publishing_options_pane_logout, self); -#line 1267 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1217 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_parse_name ("publish", PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, &_tmp1_, NULL, FALSE); -#line 1267 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1217 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_handlers_disconnect_matched (self, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_facebook_publishing_options_pane_notify_publish_publishing_facebook_publishing_options_pane_publish, self); -#line 8009 "FacebookPublishing.c" +#line 7737 "FacebookPublishing.c" } @@ -8052,27 +7780,27 @@ static void g_cclosure_user_marshal_VOID__STRING_STRING_ENUM_BOOLEAN (GClosure * register gpointer data1; register gpointer data2; cc = (GCClosure *) closure; -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (n_param_values == 5); -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (G_CCLOSURE_SWAP_DATA (closure)) { -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" data1 = closure->data; -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" data2 = param_values->data[0].v_pointer; -#line 8028 "FacebookPublishing.c" +#line 7756 "FacebookPublishing.c" } else { -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" data1 = param_values->data[0].v_pointer; -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" data2 = closure->data; -#line 8034 "FacebookPublishing.c" +#line 7762 "FacebookPublishing.c" } -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" callback = (GMarshalFunc_VOID__STRING_STRING_ENUM_BOOLEAN) (marshal_data ? marshal_data : cc->callback); -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" callback (data1, g_value_get_string (param_values + 1), g_value_get_string (param_values + 2), g_value_get_enum (param_values + 3), g_value_get_boolean (param_values + 4), data2); -#line 8040 "FacebookPublishing.c" +#line 7768 "FacebookPublishing.c" } @@ -8082,248 +7810,248 @@ static PublishingFacebookPublishingOptionsPanePrivacyDescription* publishing_fac gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (description != NULL, NULL); -#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (privacy_setting != NULL, NULL); -#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = (PublishingFacebookPublishingOptionsPanePrivacyDescription*) g_type_create_instance (object_type); -#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = description; -#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->description); -#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->description = _tmp1_; -#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 998 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = privacy_setting; -#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 998 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = g_strdup (_tmp2_); -#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 998 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->privacy_setting); -#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 998 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->privacy_setting = _tmp3_; -#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 8074 "FacebookPublishing.c" +#line 7802 "FacebookPublishing.c" } static PublishingFacebookPublishingOptionsPanePrivacyDescription* publishing_facebook_publishing_options_pane_privacy_description_new (const gchar* description, const gchar* privacy_setting) { -#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return publishing_facebook_publishing_options_pane_privacy_description_construct (PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_TYPE_PRIVACY_DESCRIPTION, description, privacy_setting); -#line 8081 "FacebookPublishing.c" +#line 7809 "FacebookPublishing.c" } static void publishing_facebook_publishing_options_pane_value_privacy_description_init (GValue* value) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 8088 "FacebookPublishing.c" +#line 7816 "FacebookPublishing.c" } static void publishing_facebook_publishing_options_pane_value_privacy_description_free_value (GValue* value) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (value->data[0].v_pointer) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_privacy_description_unref (value->data[0].v_pointer); -#line 8097 "FacebookPublishing.c" +#line 7825 "FacebookPublishing.c" } } static void publishing_facebook_publishing_options_pane_value_privacy_description_copy_value (const GValue* src_value, GValue* dest_value) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (src_value->data[0].v_pointer) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" dest_value->data[0].v_pointer = publishing_facebook_publishing_options_pane_privacy_description_ref (src_value->data[0].v_pointer); -#line 8107 "FacebookPublishing.c" +#line 7835 "FacebookPublishing.c" } else { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 8111 "FacebookPublishing.c" +#line 7839 "FacebookPublishing.c" } } static gpointer publishing_facebook_publishing_options_pane_value_privacy_description_peek_pointer (const GValue* value) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return value->data[0].v_pointer; -#line 8119 "FacebookPublishing.c" +#line 7847 "FacebookPublishing.c" } static gchar* publishing_facebook_publishing_options_pane_value_privacy_description_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (collect_values[0].v_pointer) { -#line 8126 "FacebookPublishing.c" +#line 7854 "FacebookPublishing.c" PublishingFacebookPublishingOptionsPanePrivacyDescription* object; object = collect_values[0].v_pointer; -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (object->parent_instance.g_class == NULL) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 8133 "FacebookPublishing.c" +#line 7861 "FacebookPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 8137 "FacebookPublishing.c" +#line 7865 "FacebookPublishing.c" } -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = publishing_facebook_publishing_options_pane_privacy_description_ref (object); -#line 8141 "FacebookPublishing.c" +#line 7869 "FacebookPublishing.c" } else { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 8145 "FacebookPublishing.c" +#line 7873 "FacebookPublishing.c" } -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 8149 "FacebookPublishing.c" +#line 7877 "FacebookPublishing.c" } static gchar* publishing_facebook_publishing_options_pane_value_privacy_description_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PublishingFacebookPublishingOptionsPanePrivacyDescription** object_p; object_p = collect_values[0].v_pointer; -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!object_p) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 8160 "FacebookPublishing.c" +#line 7888 "FacebookPublishing.c" } -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!value->data[0].v_pointer) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = NULL; -#line 8166 "FacebookPublishing.c" +#line 7894 "FacebookPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = value->data[0].v_pointer; -#line 8170 "FacebookPublishing.c" +#line 7898 "FacebookPublishing.c" } else { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = publishing_facebook_publishing_options_pane_privacy_description_ref (value->data[0].v_pointer); -#line 8174 "FacebookPublishing.c" +#line 7902 "FacebookPublishing.c" } -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 8178 "FacebookPublishing.c" +#line 7906 "FacebookPublishing.c" } static GParamSpec* publishing_facebook_publishing_options_pane_param_spec_privacy_description (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { PublishingFacebookPublishingOptionsPaneParamSpecPrivacyDescription* spec; -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_TYPE_PRIVACY_DESCRIPTION), NULL); -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return G_PARAM_SPEC (spec); -#line 8192 "FacebookPublishing.c" +#line 7920 "FacebookPublishing.c" } static gpointer publishing_facebook_publishing_options_pane_value_get_privacy_description (const GValue* value) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_TYPE_PRIVACY_DESCRIPTION), NULL); -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return value->data[0].v_pointer; -#line 8201 "FacebookPublishing.c" +#line 7929 "FacebookPublishing.c" } static void publishing_facebook_publishing_options_pane_value_set_privacy_description (GValue* value, gpointer v_object) { PublishingFacebookPublishingOptionsPanePrivacyDescription* old; -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_TYPE_PRIVACY_DESCRIPTION)); -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" old = value->data[0].v_pointer; -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (v_object) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_TYPE_PRIVACY_DESCRIPTION)); -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = v_object; -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_privacy_description_ref (value->data[0].v_pointer); -#line 8221 "FacebookPublishing.c" +#line 7949 "FacebookPublishing.c" } else { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 8225 "FacebookPublishing.c" +#line 7953 "FacebookPublishing.c" } -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (old) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_privacy_description_unref (old); -#line 8231 "FacebookPublishing.c" +#line 7959 "FacebookPublishing.c" } } static void publishing_facebook_publishing_options_pane_value_take_privacy_description (GValue* value, gpointer v_object) { PublishingFacebookPublishingOptionsPanePrivacyDescription* old; -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_TYPE_PRIVACY_DESCRIPTION)); -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" old = value->data[0].v_pointer; -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (v_object) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_TYPE_PRIVACY_DESCRIPTION)); -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = v_object; -#line 8250 "FacebookPublishing.c" +#line 7978 "FacebookPublishing.c" } else { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 8254 "FacebookPublishing.c" +#line 7982 "FacebookPublishing.c" } -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (old) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_privacy_description_unref (old); -#line 8260 "FacebookPublishing.c" +#line 7988 "FacebookPublishing.c" } } static void publishing_facebook_publishing_options_pane_privacy_description_class_init (PublishingFacebookPublishingOptionsPanePrivacyDescriptionClass * klass) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_privacy_description_parent_class = g_type_class_peek_parent (klass); -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ((PublishingFacebookPublishingOptionsPanePrivacyDescriptionClass *) klass)->finalize = publishing_facebook_publishing_options_pane_privacy_description_finalize; -#line 8270 "FacebookPublishing.c" +#line 7998 "FacebookPublishing.c" } static void publishing_facebook_publishing_options_pane_privacy_description_instance_init (PublishingFacebookPublishingOptionsPanePrivacyDescription * self) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->ref_count = 1; -#line 8277 "FacebookPublishing.c" +#line 8005 "FacebookPublishing.c" } static void publishing_facebook_publishing_options_pane_privacy_description_finalize (PublishingFacebookPublishingOptionsPanePrivacyDescription* obj) { PublishingFacebookPublishingOptionsPanePrivacyDescription * self; -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_TYPE_PRIVACY_DESCRIPTION, PublishingFacebookPublishingOptionsPanePrivacyDescription); -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_handlers_destroy (self); -#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 993 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->description); -#line 1044 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->privacy_setting); -#line 8291 "FacebookPublishing.c" +#line 8019 "FacebookPublishing.c" } @@ -8344,134 +8072,134 @@ static GType publishing_facebook_publishing_options_pane_privacy_description_get static gpointer publishing_facebook_publishing_options_pane_privacy_description_ref (gpointer instance) { PublishingFacebookPublishingOptionsPanePrivacyDescription* self; self = instance; -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_atomic_int_inc (&self->ref_count); -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return instance; -#line 8316 "FacebookPublishing.c" +#line 8044 "FacebookPublishing.c" } static void publishing_facebook_publishing_options_pane_privacy_description_unref (gpointer instance) { PublishingFacebookPublishingOptionsPanePrivacyDescription* self; self = instance; -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_PRIVACY_DESCRIPTION_GET_CLASS (self)->finalize (self); -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 8329 "FacebookPublishing.c" +#line 8057 "FacebookPublishing.c" } } static void publishing_facebook_publishing_options_pane_class_init (PublishingFacebookPublishingOptionsPaneClass * klass) { -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_parent_class = g_type_class_peek_parent (klass); -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingFacebookPublishingOptionsPanePrivate)); -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_OBJECT_CLASS (klass)->finalize = publishing_facebook_publishing_options_pane_finalize; -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_new ("logout", PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_new ("publish", PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__STRING_STRING_ENUM_BOOLEAN, G_TYPE_NONE, 4, G_TYPE_STRING, G_TYPE_STRING, PUBLISHING_FACEBOOK_TYPE_RESOLUTION, G_TYPE_BOOLEAN); -#line 8345 "FacebookPublishing.c" +#line 8073 "FacebookPublishing.c" } static void publishing_facebook_publishing_options_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) { -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_publishing_options_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface); -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_facebook_publishing_options_pane_real_get_widget; -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) publishing_facebook_publishing_options_pane_real_get_preferred_geometry; -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_facebook_publishing_options_pane_real_on_pane_installed; -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_facebook_publishing_options_pane_real_on_pane_uninstalled; -#line 8360 "FacebookPublishing.c" +#line 8088 "FacebookPublishing.c" } static void publishing_facebook_publishing_options_pane_instance_init (PublishingFacebookPublishingOptionsPane * self) { -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv = PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_GET_PRIVATE (self); -#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->pane_widget = NULL; -#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 964 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->use_existing_radio = NULL; -#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 965 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->create_new_radio = NULL; -#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 966 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->existing_albums_combo = NULL; -#line 1017 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 967 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->visibility_combo = NULL; -#line 1018 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 968 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->new_album_entry = NULL; -#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 969 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->strip_metadata_check = NULL; -#line 1020 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 970 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->publish_button = NULL; -#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->logout_button = NULL; -#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->how_to_label = NULL; -#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->albums = NULL; -#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->albums_length1 = 0; -#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->_albums_size_ = self->priv->albums_length1; -#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->publisher = NULL; -#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->resolution_combo = NULL; -#line 8397 "FacebookPublishing.c" +#line 8125 "FacebookPublishing.c" } static void publishing_facebook_publishing_options_pane_finalize (GObject* obj) { PublishingFacebookPublishingOptionsPane * self; -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, PublishingFacebookPublishingOptionsPane); -#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->builder); -#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->pane_widget); -#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 964 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->use_existing_radio); -#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 965 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->create_new_radio); -#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 966 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->existing_albums_combo); -#line 1017 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 967 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->visibility_combo); -#line 1018 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 968 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->new_album_entry); -#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 969 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->strip_metadata_check); -#line 1020 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 970 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->publish_button); -#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->logout_button); -#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->how_to_label); -#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->albums = (_vala_array_free (self->priv->albums, self->priv->albums_length1, (GDestroyNotify) publishing_facebook_album_unref), NULL); -#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->publisher); -#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->privacy_descriptions = (_vala_array_free (self->priv->privacy_descriptions, self->priv->privacy_descriptions_length1, (GDestroyNotify) publishing_facebook_publishing_options_pane_privacy_description_unref), NULL); -#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->possible_resolutions = (g_free (self->priv->possible_resolutions), NULL); -#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->resolution_combo); -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_OBJECT_CLASS (publishing_facebook_publishing_options_pane_parent_class)->finalize (obj); -#line 8439 "FacebookPublishing.c" +#line 8167 "FacebookPublishing.c" } @@ -8491,52 +8219,52 @@ GType publishing_facebook_publishing_options_pane_get_type (void) { gchar* publishing_facebook_endpoint_to_uri (PublishingFacebookEndpoint self) { gchar* result = NULL; -#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1227 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" switch (self) { -#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1227 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" case PUBLISHING_FACEBOOK_ENDPOINT_DEFAULT: -#line 8463 "FacebookPublishing.c" +#line 8191 "FacebookPublishing.c" { gchar* _tmp0_ = NULL; -#line 1279 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = g_strdup ("https://graph.facebook.com/"); -#line 1279 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp0_; -#line 1279 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 8472 "FacebookPublishing.c" +#line 8200 "FacebookPublishing.c" } -#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1227 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" case PUBLISHING_FACEBOOK_ENDPOINT_VIDEO: -#line 8476 "FacebookPublishing.c" +#line 8204 "FacebookPublishing.c" { gchar* _tmp1_ = NULL; -#line 1282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = g_strdup ("https://graph-video.facebook.com/"); -#line 1282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp1_; -#line 1282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 8485 "FacebookPublishing.c" +#line 8213 "FacebookPublishing.c" } -#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1227 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" case PUBLISHING_FACEBOOK_ENDPOINT_TEST_CONNECTION: -#line 8489 "FacebookPublishing.c" +#line 8217 "FacebookPublishing.c" { gchar* _tmp2_ = NULL; -#line 1285 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1235 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = g_strdup ("https://www.facebook.com/"); -#line 1285 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1235 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp2_; -#line 1285 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1235 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 8498 "FacebookPublishing.c" +#line 8226 "FacebookPublishing.c" } default: { -#line 1288 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1238 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_assert_not_reached (); -#line 8504 "FacebookPublishing.c" +#line 8232 "FacebookPublishing.c" } } } @@ -8555,48 +8283,48 @@ GType publishing_facebook_endpoint_get_type (void) { static gchar* publishing_facebook_graph_message_real_get_uri (PublishingFacebookGraphMessage* self) { -#line 1298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_critical ("Type `%s' does not implement abstract method `publishing_facebook_graph_message_get_uri'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 1298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 8527 "FacebookPublishing.c" +#line 8255 "FacebookPublishing.c" } gchar* publishing_facebook_graph_message_get_uri (PublishingFacebookGraphMessage* self) { -#line 1298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_MESSAGE (self), NULL); -#line 1298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return PUBLISHING_FACEBOOK_GRAPH_MESSAGE_GET_CLASS (self)->get_uri (self); -#line 8536 "FacebookPublishing.c" +#line 8264 "FacebookPublishing.c" } static gchar* publishing_facebook_graph_message_real_get_response_body (PublishingFacebookGraphMessage* self) { -#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_critical ("Type `%s' does not implement abstract method `publishing_facebook_graph_message_get_response_body'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 8545 "FacebookPublishing.c" +#line 8273 "FacebookPublishing.c" } gchar* publishing_facebook_graph_message_get_response_body (PublishingFacebookGraphMessage* self) { -#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_MESSAGE (self), NULL); -#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return PUBLISHING_FACEBOOK_GRAPH_MESSAGE_GET_CLASS (self)->get_response_body (self); -#line 8554 "FacebookPublishing.c" +#line 8282 "FacebookPublishing.c" } PublishingFacebookGraphMessage* publishing_facebook_graph_message_construct (GType object_type) { PublishingFacebookGraphMessage* self = NULL; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = (PublishingFacebookGraphMessage*) g_type_create_instance (object_type); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 8564 "FacebookPublishing.c" +#line 8292 "FacebookPublishing.c" } @@ -8607,243 +8335,243 @@ static void g_cclosure_user_marshal_VOID__INT_INT (GClosure * closure, GValue * register gpointer data1; register gpointer data2; cc = (GCClosure *) closure; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (n_param_values == 3); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (G_CCLOSURE_SWAP_DATA (closure)) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" data1 = closure->data; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" data2 = param_values->data[0].v_pointer; -#line 8583 "FacebookPublishing.c" +#line 8311 "FacebookPublishing.c" } else { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" data1 = param_values->data[0].v_pointer; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" data2 = closure->data; -#line 8589 "FacebookPublishing.c" +#line 8317 "FacebookPublishing.c" } -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" callback = (GMarshalFunc_VOID__INT_INT) (marshal_data ? marshal_data : cc->callback); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" callback (data1, g_value_get_int (param_values + 1), g_value_get_int (param_values + 2), data2); -#line 8595 "FacebookPublishing.c" +#line 8323 "FacebookPublishing.c" } static void publishing_facebook_value_graph_message_init (GValue* value) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 8602 "FacebookPublishing.c" +#line 8330 "FacebookPublishing.c" } static void publishing_facebook_value_graph_message_free_value (GValue* value) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (value->data[0].v_pointer) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_message_unref (value->data[0].v_pointer); -#line 8611 "FacebookPublishing.c" +#line 8339 "FacebookPublishing.c" } } static void publishing_facebook_value_graph_message_copy_value (const GValue* src_value, GValue* dest_value) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (src_value->data[0].v_pointer) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" dest_value->data[0].v_pointer = publishing_facebook_graph_message_ref (src_value->data[0].v_pointer); -#line 8621 "FacebookPublishing.c" +#line 8349 "FacebookPublishing.c" } else { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 8625 "FacebookPublishing.c" +#line 8353 "FacebookPublishing.c" } } static gpointer publishing_facebook_value_graph_message_peek_pointer (const GValue* value) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return value->data[0].v_pointer; -#line 8633 "FacebookPublishing.c" +#line 8361 "FacebookPublishing.c" } static gchar* publishing_facebook_value_graph_message_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (collect_values[0].v_pointer) { -#line 8640 "FacebookPublishing.c" +#line 8368 "FacebookPublishing.c" PublishingFacebookGraphMessage* object; object = collect_values[0].v_pointer; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (object->parent_instance.g_class == NULL) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 8647 "FacebookPublishing.c" +#line 8375 "FacebookPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 8651 "FacebookPublishing.c" +#line 8379 "FacebookPublishing.c" } -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = publishing_facebook_graph_message_ref (object); -#line 8655 "FacebookPublishing.c" +#line 8383 "FacebookPublishing.c" } else { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 8659 "FacebookPublishing.c" +#line 8387 "FacebookPublishing.c" } -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 8663 "FacebookPublishing.c" +#line 8391 "FacebookPublishing.c" } static gchar* publishing_facebook_value_graph_message_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PublishingFacebookGraphMessage** object_p; object_p = collect_values[0].v_pointer; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!object_p) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 8674 "FacebookPublishing.c" +#line 8402 "FacebookPublishing.c" } -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!value->data[0].v_pointer) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = NULL; -#line 8680 "FacebookPublishing.c" +#line 8408 "FacebookPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = value->data[0].v_pointer; -#line 8684 "FacebookPublishing.c" +#line 8412 "FacebookPublishing.c" } else { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = publishing_facebook_graph_message_ref (value->data[0].v_pointer); -#line 8688 "FacebookPublishing.c" +#line 8416 "FacebookPublishing.c" } -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 8692 "FacebookPublishing.c" +#line 8420 "FacebookPublishing.c" } GParamSpec* publishing_facebook_param_spec_graph_message (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { PublishingFacebookParamSpecGraphMessage* spec; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE), NULL); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return G_PARAM_SPEC (spec); -#line 8706 "FacebookPublishing.c" +#line 8434 "FacebookPublishing.c" } gpointer publishing_facebook_value_get_graph_message (const GValue* value) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE), NULL); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return value->data[0].v_pointer; -#line 8715 "FacebookPublishing.c" +#line 8443 "FacebookPublishing.c" } void publishing_facebook_value_set_graph_message (GValue* value, gpointer v_object) { PublishingFacebookGraphMessage* old; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE)); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" old = value->data[0].v_pointer; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (v_object) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE)); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = v_object; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_message_ref (value->data[0].v_pointer); -#line 8735 "FacebookPublishing.c" +#line 8463 "FacebookPublishing.c" } else { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 8739 "FacebookPublishing.c" +#line 8467 "FacebookPublishing.c" } -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (old) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_message_unref (old); -#line 8745 "FacebookPublishing.c" +#line 8473 "FacebookPublishing.c" } } void publishing_facebook_value_take_graph_message (GValue* value, gpointer v_object) { PublishingFacebookGraphMessage* old; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE)); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" old = value->data[0].v_pointer; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (v_object) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE)); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = v_object; -#line 8764 "FacebookPublishing.c" +#line 8492 "FacebookPublishing.c" } else { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 8768 "FacebookPublishing.c" +#line 8496 "FacebookPublishing.c" } -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (old) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_message_unref (old); -#line 8774 "FacebookPublishing.c" +#line 8502 "FacebookPublishing.c" } } static void publishing_facebook_graph_message_class_init (PublishingFacebookGraphMessageClass * klass) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_message_parent_class = g_type_class_peek_parent (klass); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ((PublishingFacebookGraphMessageClass *) klass)->finalize = publishing_facebook_graph_message_finalize; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ((PublishingFacebookGraphMessageClass *) klass)->get_uri = publishing_facebook_graph_message_real_get_uri; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ((PublishingFacebookGraphMessageClass *) klass)->get_response_body = publishing_facebook_graph_message_real_get_response_body; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_new ("completed", PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_new ("failed", PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_new ("data_transmitted", PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__INT_INT, G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_INT); -#line 8794 "FacebookPublishing.c" +#line 8522 "FacebookPublishing.c" } static void publishing_facebook_graph_message_instance_init (PublishingFacebookGraphMessage * self) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->ref_count = 1; -#line 8801 "FacebookPublishing.c" +#line 8529 "FacebookPublishing.c" } static void publishing_facebook_graph_message_finalize (PublishingFacebookGraphMessage* obj) { PublishingFacebookGraphMessage * self; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_handlers_destroy (self); -#line 8811 "FacebookPublishing.c" +#line 8539 "FacebookPublishing.c" } @@ -8864,86 +8592,86 @@ GType publishing_facebook_graph_message_get_type (void) { gpointer publishing_facebook_graph_message_ref (gpointer instance) { PublishingFacebookGraphMessage* self; self = instance; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_atomic_int_inc (&self->ref_count); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return instance; -#line 8836 "FacebookPublishing.c" +#line 8564 "FacebookPublishing.c" } void publishing_facebook_graph_message_unref (gpointer instance) { PublishingFacebookGraphMessage* self; self = instance; -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" PUBLISHING_FACEBOOK_GRAPH_MESSAGE_GET_CLASS (self)->finalize (self); -#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 8849 "FacebookPublishing.c" +#line 8577 "FacebookPublishing.c" } } static void _publishing_facebook_graph_session_on_request_unqueued_soup_session_request_unqueued (SoupSession* _sender, SoupMessage* msg, gpointer self) { -#line 1478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_on_request_unqueued ((PublishingFacebookGraphSession*) self, msg); -#line 8857 "FacebookPublishing.c" +#line 8585 "FacebookPublishing.c" } PublishingFacebookGraphSession* publishing_facebook_graph_session_construct (GType object_type) { PublishingFacebookGraphSession* self = NULL; - SoupSessionAsync* _tmp0_ = NULL; + SoupSession* _tmp0_ = NULL; SoupSession* _tmp1_ = NULL; SoupSession* _tmp2_ = NULL; SoupSession* _tmp3_ = NULL; -#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = (PublishingFacebookGraphSession*) g_type_create_instance (object_type); -#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - _tmp0_ = (SoupSessionAsync*) soup_session_async_new (); -#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + _tmp0_ = soup_session_new (); +#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->soup_session); -#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - self->priv->soup_session = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, soup_session_get_type (), SoupSession); -#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + self->priv->soup_session = _tmp0_; +#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = self->priv->soup_session; -#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_connect (_tmp1_, "request-unqueued", (GCallback) _publishing_facebook_graph_session_on_request_unqueued_soup_session_request_unqueued, self); -#line 1471 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = self->priv->soup_session; -#line 1471 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_object_set (_tmp2_, "timeout", (guint) 15, NULL); -#line 1472 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->priv->access_token); -#line 1472 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->access_token = NULL; -#line 1473 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_graph_message_unref0 (self->priv->current_message); -#line 1473 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->current_message = NULL; -#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = self->priv->soup_session; -#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_object_set (_tmp3_, "ssl-use-system-ca-file", TRUE, NULL); -#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 8897 "FacebookPublishing.c" +#line 8625 "FacebookPublishing.c" } PublishingFacebookGraphSession* publishing_facebook_graph_session_new (void) { -#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return publishing_facebook_graph_session_construct (PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION); -#line 8904 "FacebookPublishing.c" +#line 8632 "FacebookPublishing.c" } static gpointer _publishing_facebook_graph_message_ref0 (gpointer self) { -#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self ? publishing_facebook_graph_message_ref (self) : NULL; -#line 8911 "FacebookPublishing.c" +#line 8639 "FacebookPublishing.c" } @@ -8951,48 +8679,48 @@ static void publishing_facebook_graph_session_manage_message (PublishingFacebook PublishingFacebookGraphMessage* _tmp0_ = NULL; PublishingFacebookGraphMessage* _tmp1_ = NULL; PublishingFacebookGraphMessage* _tmp2_ = NULL; -#line 1481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1431 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self)); -#line 1481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1431 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_MESSAGE (msg)); -#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->current_message; -#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_assert (_tmp0_ == NULL, "current_message == null"); -#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = msg; -#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = _publishing_facebook_graph_message_ref0 (_tmp1_); -#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_graph_message_unref0 (self->priv->current_message); -#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->current_message = _tmp2_; -#line 8935 "FacebookPublishing.c" +#line 8663 "FacebookPublishing.c" } static void publishing_facebook_graph_session_unmanage_message (PublishingFacebookGraphSession* self, PublishingFacebookGraphMessage* msg) { PublishingFacebookGraphMessage* _tmp0_ = NULL; -#line 1487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1437 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self)); -#line 1487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1437 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_MESSAGE (msg)); -#line 1488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->current_message; -#line 1488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_assert (_tmp0_ != NULL, "current_message != null"); -#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_graph_message_unref0 (self->priv->current_message); -#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->current_message = NULL; -#line 8953 "FacebookPublishing.c" +#line 8681 "FacebookPublishing.c" } static void _publishing_facebook_graph_session_graph_message_impl_on_wrote_body_data_soup_message_wrote_body_data (SoupMessage* _sender, SoupBuffer* chunk, gpointer self) { -#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1459 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_graph_message_impl_on_wrote_body_data ((PublishingFacebookGraphSessionGraphMessageImpl*) self, chunk); -#line 8960 "FacebookPublishing.c" +#line 8688 "FacebookPublishing.c" } @@ -9019,149 +8747,149 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac guint _tmp27_ = 0U; GError* _tmp68_ = NULL; GError* _tmp80_ = NULL; -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self)); -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (SOUP_IS_MESSAGE (msg)); -#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1444 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->current_message; -#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1444 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_assert (_tmp0_ != NULL, "current_message != null"); -#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = self->priv->current_message; -#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = _publishing_facebook_graph_message_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)); -#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" real_message = _tmp2_; -#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = real_message; -#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = _tmp3_->soup_message; -#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = msg; -#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_assert (_tmp4_ == _tmp5_, "real_message.soup_message == msg"); -#line 1500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = msg; -#line 1500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_object_get (_tmp8_, "status-code", &_tmp9_, NULL); -#line 1500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = _tmp9_; -#line 1500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp10_ == ((guint) SOUP_STATUS_IO_ERROR)) { -#line 1500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = TRUE; -#line 9019 "FacebookPublishing.c" +#line 8747 "FacebookPublishing.c" } else { SoupMessage* _tmp11_ = NULL; guint _tmp12_ = 0U; guint _tmp13_ = 0U; -#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp11_ = msg; -#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_object_get (_tmp11_, "status-code", &_tmp12_, NULL); -#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp13_ = _tmp12_; -#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = _tmp13_ == ((guint) SOUP_STATUS_MALFORMED); -#line 9032 "FacebookPublishing.c" +#line 8760 "FacebookPublishing.c" } -#line 1500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp7_) { -#line 1500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = TRUE; -#line 9038 "FacebookPublishing.c" +#line 8766 "FacebookPublishing.c" } else { SoupMessage* _tmp14_ = NULL; guint _tmp15_ = 0U; guint _tmp16_ = 0U; -#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp14_ = msg; -#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_object_get (_tmp14_, "status-code", &_tmp15_, NULL); -#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp16_ = _tmp15_; -#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = _tmp16_ == ((guint) SOUP_STATUS_TRY_AGAIN); -#line 9051 "FacebookPublishing.c" +#line 8779 "FacebookPublishing.c" } -#line 1500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp6_) { -#line 9055 "FacebookPublishing.c" +#line 8783 "FacebookPublishing.c" PublishingFacebookGraphSessionGraphMessageImpl* _tmp17_ = NULL; SoupSession* _tmp18_ = NULL; SoupMessage* _tmp19_ = NULL; SoupMessage* _tmp20_ = NULL; -#line 1503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp17_ = real_message; -#line 1503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp17_->bytes_so_far = 0; -#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp18_ = self->priv->soup_session; -#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp19_ = msg; -#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp20_ = _g_object_ref0 (_tmp19_); -#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" soup_session_queue_message (_tmp18_, _tmp20_, NULL, NULL); -#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_graph_message_unref0 (real_message); -#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 9076 "FacebookPublishing.c" +#line 8804 "FacebookPublishing.c" } -#line 1508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp21_ = real_message; -#line 1508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_unmanage_message (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage)); -#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1459 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp22_ = msg; -#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1459 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp23_ = real_message; -#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1459 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_parse_name ("wrote-body-data", soup_message_get_type (), &_tmp24_, NULL, FALSE); -#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1459 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_handlers_disconnect_matched (_tmp22_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp24_, 0, NULL, (GCallback) _publishing_facebook_graph_session_graph_message_impl_on_wrote_body_data_soup_message_wrote_body_data, _tmp23_); -#line 1511 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1461 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _error_ = NULL; -#line 1512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp25_ = msg; -#line 1512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_object_get (_tmp25_, "status-code", &_tmp26_, NULL); -#line 1512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp27_ = _tmp26_; -#line 1512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" switch (_tmp27_) { -#line 1512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" case SOUP_STATUS_OK: -#line 1512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" case SOUP_STATUS_CREATED: -#line 9104 "FacebookPublishing.c" +#line 8832 "FacebookPublishing.c" { -#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" break; -#line 9108 "FacebookPublishing.c" +#line 8836 "FacebookPublishing.c" } -#line 1512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" case PUBLISHING_FACEBOOK_EXPIRED_SESSION_STATUS_CODE: -#line 9112 "FacebookPublishing.c" +#line 8840 "FacebookPublishing.c" { GError* _tmp28_ = NULL; -#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp28_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_EXPIRED_SESSION, "OAuth Access Token has Expired. Logout user."); -#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_error_free0 (_error_); -#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _error_ = _tmp28_; -#line 1522 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1472 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" break; -#line 9123 "FacebookPublishing.c" +#line 8851 "FacebookPublishing.c" } -#line 1512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" case SOUP_STATUS_CANT_RESOLVE: -#line 1512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" case SOUP_STATUS_CANT_RESOLVE_PROXY: -#line 9129 "FacebookPublishing.c" +#line 8857 "FacebookPublishing.c" { PublishingFacebookGraphSessionGraphMessageImpl* _tmp29_ = NULL; gchar* _tmp30_ = NULL; @@ -9170,35 +8898,35 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac guint _tmp33_ = 0U; guint _tmp34_ = 0U; GError* _tmp35_ = NULL; -#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp29_ = real_message; -#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp30_ = publishing_facebook_graph_message_get_uri (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage)); -#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp31_ = _tmp30_; -#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp32_ = msg; -#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_object_get (_tmp32_, "status-code", &_tmp33_, NULL); -#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp34_ = _tmp33_; -#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp35_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_NO_ANSWER, "Unable to resolve %s (error code %u)", _tmp31_, _tmp34_); -#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_error_free0 (_error_); -#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _error_ = _tmp35_; -#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp31_); -#line 1528 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" break; -#line 9160 "FacebookPublishing.c" +#line 8888 "FacebookPublishing.c" } -#line 1512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" case SOUP_STATUS_CANT_CONNECT: -#line 1512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" case SOUP_STATUS_CANT_CONNECT_PROXY: -#line 9166 "FacebookPublishing.c" +#line 8894 "FacebookPublishing.c" { PublishingFacebookGraphSessionGraphMessageImpl* _tmp36_ = NULL; gchar* _tmp37_ = NULL; @@ -9207,44 +8935,44 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac guint _tmp40_ = 0U; guint _tmp41_ = 0U; GError* _tmp42_ = NULL; -#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp36_ = real_message; -#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp37_ = publishing_facebook_graph_message_get_uri (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage)); -#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp38_ = _tmp37_; -#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp39_ = msg; -#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_object_get (_tmp39_, "status-code", &_tmp40_, NULL); -#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp41_ = _tmp40_; -#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp42_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_NO_ANSWER, "Unable to connect to %s (error code %u)", _tmp38_, _tmp41_); -#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_error_free0 (_error_); -#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _error_ = _tmp42_; -#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp38_); -#line 1534 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" break; -#line 9197 "FacebookPublishing.c" +#line 8925 "FacebookPublishing.c" } default: { SoupMessage* _tmp43_ = NULL; guint _tmp44_ = 0U; guint _tmp45_ = 0U; -#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp43_ = msg; -#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_object_get (_tmp43_, "status-code", &_tmp44_, NULL); -#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_ = _tmp44_; -#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp45_ >= ((guint) 100)) { -#line 9212 "FacebookPublishing.c" +#line 8940 "FacebookPublishing.c" PublishingFacebookGraphSessionGraphMessageImpl* _tmp46_ = NULL; gchar* _tmp47_ = NULL; gchar* _tmp48_ = NULL; @@ -9256,37 +8984,37 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac gchar* _tmp54_ = NULL; gchar* _tmp55_ = NULL; GError* _tmp56_ = NULL; -#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp46_ = real_message; -#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp47_ = publishing_facebook_graph_message_get_uri (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage)); -#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp48_ = _tmp47_; -#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp49_ = msg; -#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_object_get (_tmp49_, "status-code", &_tmp50_, NULL); -#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp51_ = _tmp50_; -#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp52_ = msg; -#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_object_get (_tmp52_, "reason-phrase", &_tmp53_, NULL); -#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp54_ = _tmp53_; -#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp55_ = _tmp54_; -#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp56_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_NO_ANSWER, "Service %s returned HTTP status code %u %s", _tmp48_, _tmp51_, _tmp55_); -#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_error_free0 (_error_); -#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _error_ = _tmp56_; -#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp55_); -#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp48_); -#line 9254 "FacebookPublishing.c" +#line 8982 "FacebookPublishing.c" } else { SoupMessage* _tmp57_ = NULL; gchar* _tmp58_ = NULL; @@ -9299,172 +9027,172 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac guint _tmp65_ = 0U; guint _tmp66_ = 0U; GError* _tmp67_ = NULL; -#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp57_ = msg; -#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_object_get (_tmp57_, "reason-phrase", &_tmp58_, NULL); -#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp59_ = _tmp58_; -#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp60_ = _tmp59_; -#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_debug ("FacebookPublishing.vala:1544: %s", _tmp60_); -#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + g_debug ("FacebookPublishing.vala:1494: %s", _tmp60_); +#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp60_); -#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp61_ = real_message; -#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp62_ = publishing_facebook_graph_message_get_uri (G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage)); -#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp63_ = _tmp62_; -#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp64_ = msg; -#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_object_get (_tmp64_, "status-code", &_tmp65_, NULL); -#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp66_ = _tmp65_; -#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp67_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_NO_ANSWER, "Failure communicating with %s (error code %u)", _tmp63_, _tmp66_); -#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_error_free0 (_error_); -#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _error_ = _tmp67_; -#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp63_); -#line 9299 "FacebookPublishing.c" +#line 9027 "FacebookPublishing.c" } -#line 1549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" break; -#line 9303 "FacebookPublishing.c" +#line 9031 "FacebookPublishing.c" } } -#line 1553 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp68_ = _error_; -#line 1553 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp68_ == NULL) { -#line 9310 "FacebookPublishing.c" +#line 9038 "FacebookPublishing.c" gboolean _tmp69_ = FALSE; SoupMessage* _tmp70_ = NULL; SoupMessageBody* _tmp71_ = NULL; guint8* _tmp72_ = NULL; gint _tmp72__length1 = 0; -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp70_ = msg; -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp71_ = _tmp70_->response_body; -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp72_ = _tmp71_->data; -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp72__length1 = (gint) _tmp71_->length; -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp72_ == NULL) { -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp69_ = TRUE; -#line 9328 "FacebookPublishing.c" +#line 9056 "FacebookPublishing.c" } else { SoupMessage* _tmp73_ = NULL; SoupMessageBody* _tmp74_ = NULL; guint8* _tmp75_ = NULL; gint _tmp75__length1 = 0; -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp73_ = msg; -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp74_ = _tmp73_->response_body; -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp75_ = _tmp74_->data; -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp75__length1 = (gint) _tmp74_->length; -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp69_ = _tmp75__length1 == 0; -#line 9344 "FacebookPublishing.c" +#line 9072 "FacebookPublishing.c" } -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp69_) { -#line 9348 "FacebookPublishing.c" +#line 9076 "FacebookPublishing.c" PublishingFacebookGraphSessionGraphMessageImpl* _tmp76_ = NULL; gchar* _tmp77_ = NULL; gchar* _tmp78_ = NULL; GError* _tmp79_ = NULL; -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp76_ = real_message; -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp77_ = publishing_facebook_graph_message_get_uri (G_TYPE_CHECK_INSTANCE_CAST (_tmp76_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage)); -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp78_ = _tmp77_; -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp79_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, "No response data from %s", _tmp78_); -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_error_free0 (_error_); -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _error_ = _tmp79_; -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp78_); -#line 9367 "FacebookPublishing.c" +#line 9095 "FacebookPublishing.c" } } -#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp80_ = _error_; -#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp80_ == NULL) { -#line 9374 "FacebookPublishing.c" +#line 9102 "FacebookPublishing.c" PublishingFacebookGraphSessionGraphMessageImpl* _tmp81_ = NULL; -#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp81_ = real_message; -#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp81_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage), "completed"); -#line 9380 "FacebookPublishing.c" +#line 9108 "FacebookPublishing.c" } else { PublishingFacebookGraphSessionGraphMessageImpl* _tmp82_ = NULL; GError* _tmp83_ = NULL; -#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1511 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp82_ = real_message; -#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1511 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp83_ = _error_; -#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1511 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp82_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage), "failed", _tmp83_); -#line 9390 "FacebookPublishing.c" +#line 9118 "FacebookPublishing.c" } -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_error_free0 (_error_); -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_graph_message_unref0 (real_message); -#line 9396 "FacebookPublishing.c" +#line 9124 "FacebookPublishing.c" } void publishing_facebook_graph_session_authenticate (PublishingFacebookGraphSession* self, const gchar* access_token) { const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self)); -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (access_token != NULL); -#line 1565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = access_token; -#line 1565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->priv->access_token); -#line 1565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->access_token = _tmp1_; -#line 1566 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_emit_by_name (self, "authenticated"); -#line 9417 "FacebookPublishing.c" +#line 9145 "FacebookPublishing.c" } gboolean publishing_facebook_graph_session_is_authenticated (PublishingFacebookGraphSession* self) { gboolean result = FALSE; const gchar* _tmp0_ = NULL; -#line 1569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self), FALSE); -#line 1570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->access_token; -#line 1570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp0_ != NULL; -#line 1570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 9432 "FacebookPublishing.c" +#line 9160 "FacebookPublishing.c" } @@ -9473,36 +9201,36 @@ gchar* publishing_facebook_graph_session_get_access_token (PublishingFacebookGra gboolean _tmp0_ = FALSE; const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; -#line 1573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self), NULL); -#line 1574 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = publishing_facebook_graph_session_is_authenticated (self); -#line 1574 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_assert (_tmp0_, "is_authenticated()"); -#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = self->priv->access_token; -#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = g_strdup (_tmp1_); -#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp2_; -#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 9455 "FacebookPublishing.c" +#line 9183 "FacebookPublishing.c" } PublishingFacebookGraphMessage* publishing_facebook_graph_session_new_endpoint_test (PublishingFacebookGraphSession* self) { PublishingFacebookGraphMessage* result = NULL; PublishingFacebookGraphSessionGraphEndpointProbeMessage* _tmp0_ = NULL; -#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1528 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self), NULL); -#line 1579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = publishing_facebook_graph_session_graph_endpoint_probe_message_new (self); -#line 1579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage); -#line 1579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 9470 "FacebookPublishing.c" +#line 9198 "FacebookPublishing.c" } @@ -9511,21 +9239,21 @@ PublishingFacebookGraphMessage* publishing_facebook_graph_session_new_query (Pub const gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; PublishingFacebookGraphSessionGraphQueryMessage* _tmp2_ = NULL; -#line 1582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self), NULL); -#line 1582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (resource_path != NULL, NULL); -#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = resource_path; -#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = self->priv->access_token; -#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = publishing_facebook_graph_session_graph_query_message_new (self, _tmp0_, _tmp1_); -#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage); -#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 9493 "FacebookPublishing.c" +#line 9221 "FacebookPublishing.c" } @@ -9537,29 +9265,29 @@ PublishingFacebookGraphMessage* publishing_facebook_graph_session_new_upload (Pu gboolean _tmp3_ = FALSE; const gchar* _tmp4_ = NULL; PublishingFacebookGraphSessionGraphUploadMessage* _tmp5_ = NULL; -#line 1586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self), NULL); -#line 1586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (resource_path != NULL, NULL); -#line 1586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (publishable), NULL); -#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->access_token; -#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = resource_path; -#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = publishable; -#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = suppress_titling; -#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = resource_privacy; -#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = publishing_facebook_graph_session_graph_upload_message_new (self, _tmp0_, _tmp1_, _tmp2_, _tmp3_, _tmp4_); -#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage); -#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 9527 "FacebookPublishing.c" +#line 9255 "FacebookPublishing.c" } @@ -9569,25 +9297,25 @@ PublishingFacebookGraphMessage* publishing_facebook_graph_session_new_create_alb const gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; PublishingFacebookGraphSessionGraphCreateAlbumMessage* _tmp3_ = NULL; -#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self), NULL); -#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (album_name != NULL, NULL); -#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (privacy != NULL, NULL); -#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->access_token; -#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = album_name; -#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = privacy; -#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = publishing_facebook_graph_session_graph_create_album_message_new (self, _tmp0_, _tmp1_, _tmp2_); -#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage); -#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 9555 "FacebookPublishing.c" +#line 9283 "FacebookPublishing.c" } @@ -9605,81 +9333,81 @@ void publishing_facebook_graph_session_send_message (PublishingFacebookGraphSess gchar* _tmp9_ = NULL; PublishingFacebookGraphSessionGraphMessageImpl* _tmp10_ = NULL; gboolean _tmp11_ = FALSE; -#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1546 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self)); -#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1546 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_MESSAGE (message)); -#line 1597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = message; -#line 1597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = _publishing_facebook_graph_message_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)); -#line 1597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" real_message = _tmp1_; -#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = real_message; -#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = _tmp2_->soup_message; -#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = soup_message_get_uri (_tmp3_); -#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = _tmp4_; -#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = soup_uri_to_string (_tmp5_, FALSE); -#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = _tmp6_; -#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = g_strconcat ("making HTTP request to URI: ", _tmp7_, NULL); -#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = _tmp8_; -#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" - g_debug ("FacebookPublishing.vala:1599: %s", _tmp9_); -#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" + g_debug ("FacebookPublishing.vala:1549: %s", _tmp9_); +#line 1549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp9_); -#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp7_); -#line 1601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = real_message; -#line 1601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp11_ = publishing_facebook_graph_session_graph_message_impl_prepare_for_transmission (_tmp10_); -#line 1601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp11_) { -#line 9611 "FacebookPublishing.c" +#line 9339 "FacebookPublishing.c" PublishingFacebookGraphMessage* _tmp12_ = NULL; SoupSession* _tmp13_ = NULL; PublishingFacebookGraphSessionGraphMessageImpl* _tmp14_ = NULL; SoupMessage* _tmp15_ = NULL; SoupMessage* _tmp16_ = NULL; -#line 1602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp12_ = message; -#line 1602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_manage_message (self, _tmp12_); -#line 1603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1553 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp13_ = self->priv->soup_session; -#line 1603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1553 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp14_ = real_message; -#line 1603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1553 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp15_ = _tmp14_->soup_message; -#line 1603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1553 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp16_ = _g_object_ref0 (_tmp15_); -#line 1603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1553 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" soup_session_queue_message (_tmp13_, _tmp16_, NULL, NULL); -#line 9631 "FacebookPublishing.c" +#line 9359 "FacebookPublishing.c" } -#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1546 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_graph_message_unref0 (real_message); -#line 9635 "FacebookPublishing.c" +#line 9363 "FacebookPublishing.c" } void publishing_facebook_graph_session_stop_transactions (PublishingFacebookGraphSession* self) { SoupSession* _tmp0_ = NULL; -#line 1607 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self)); -#line 1608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->soup_session; -#line 1608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" soup_session_abort (_tmp0_); -#line 9647 "FacebookPublishing.c" +#line 9375 "FacebookPublishing.c" } @@ -9693,39 +9421,39 @@ static PublishingFacebookGraphSessionGraphMessageImpl* publishing_facebook_graph PublishingFacebookEndpoint _tmp4_ = 0; gchar* _tmp5_ = NULL; GError * _inner_error_ = NULL; -#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (host_session), NULL); -#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (relative_uri != NULL, NULL); -#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (access_token != NULL, NULL); -#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = (PublishingFacebookGraphSessionGraphMessageImpl*) publishing_facebook_graph_message_construct (object_type); -#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = method; -#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->method = _tmp0_; -#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = access_token; -#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = g_strdup (_tmp1_); -#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->access_token); -#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->access_token = _tmp2_; -#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = host_session; -#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->host_session = _tmp3_; -#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1266 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->bytes_so_far = 0; -#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1268 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = endpoint; -#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1268 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = publishing_facebook_endpoint_to_uri (_tmp4_); -#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1268 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" endpoint_uri = _tmp5_; -#line 9693 "FacebookPublishing.c" +#line 9421 "FacebookPublishing.c" { GRegex* starting_slashes = NULL; GRegex* _tmp6_ = NULL; @@ -9737,129 +9465,129 @@ static PublishingFacebookGraphSessionGraphMessageImpl* publishing_facebook_graph gchar* _tmp12_ = NULL; gchar* _tmp13_ = NULL; gchar* _tmp14_ = NULL; -#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1270 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = g_regex_new ("^/+", 0, 0, &_inner_error_); -#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1270 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" starting_slashes = _tmp6_; -#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1270 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1270 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 9713 "FacebookPublishing.c" +#line 9441 "FacebookPublishing.c" goto __catch5_g_regex_error; } -#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1270 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (endpoint_uri); -#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1270 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" 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); -#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1270 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_clear_error (&_inner_error_); -#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1270 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 9724 "FacebookPublishing.c" +#line 9452 "FacebookPublishing.c" } -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = starting_slashes; -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = relative_uri; -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = g_regex_replace (_tmp8_, _tmp9_, (gssize) -1, 0, "", 0, &_inner_error_); -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = _tmp10_; -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_regex_unref0 (starting_slashes); -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 9740 "FacebookPublishing.c" +#line 9468 "FacebookPublishing.c" goto __catch5_g_regex_error; } -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_regex_unref0 (starting_slashes); -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (endpoint_uri); -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" 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); -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_clear_error (&_inner_error_); -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 9753 "FacebookPublishing.c" +#line 9481 "FacebookPublishing.c" } -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp11_ = endpoint_uri; -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp12_ = _tmp7_; -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = NULL; -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp13_ = _tmp12_; -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp14_ = g_strconcat (_tmp11_, _tmp13_, NULL); -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->uri); -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->uri = _tmp14_; -#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp13_); -#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp7_); -#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_regex_unref0 (starting_slashes); -#line 9775 "FacebookPublishing.c" +#line 9503 "FacebookPublishing.c" } goto __finally5; __catch5_g_regex_error: { GError* err = NULL; -#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" err = _inner_error_; -#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _inner_error_ = NULL; -#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1273 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_assert_not_reached (); -#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_error_free0 (err); -#line 9789 "FacebookPublishing.c" +#line 9517 "FacebookPublishing.c" } __finally5: -#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (endpoint_uri); -#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_clear_error (&_inner_error_); -#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 9802 "FacebookPublishing.c" +#line 9530 "FacebookPublishing.c" } -#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (endpoint_uri); -#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 9808 "FacebookPublishing.c" +#line 9536 "FacebookPublishing.c" } static gboolean publishing_facebook_graph_session_graph_message_impl_real_prepare_for_transmission (PublishingFacebookGraphSessionGraphMessageImpl* self) { gboolean result = FALSE; -#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1278 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = TRUE; -#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1278 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 9818 "FacebookPublishing.c" +#line 9546 "FacebookPublishing.c" } gboolean publishing_facebook_graph_session_graph_message_impl_prepare_for_transmission (PublishingFacebookGraphSessionGraphMessageImpl* self) { -#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_GRAPH_SESSION_IS_GRAPH_MESSAGE_IMPL (self), FALSE); -#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return PUBLISHING_FACEBOOK_GRAPH_SESSION_GRAPH_MESSAGE_IMPL_GET_CLASS (self)->prepare_for_transmission (self); -#line 9827 "FacebookPublishing.c" +#line 9555 "FacebookPublishing.c" } @@ -9868,17 +9596,17 @@ static gchar* publishing_facebook_graph_session_graph_message_impl_real_get_uri gchar* result = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1281 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl); -#line 1332 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->uri; -#line 1332 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1332 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp1_; -#line 1332 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 9846 "FacebookPublishing.c" +#line 9574 "FacebookPublishing.c" } @@ -9890,23 +9618,23 @@ static gchar* publishing_facebook_graph_session_graph_message_impl_real_get_resp guint8* _tmp2_ = NULL; gint _tmp2__length1 = 0; gchar* _tmp3_ = NULL; -#line 1335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1285 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl); -#line 1336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->soup_message; -#line 1336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = _tmp0_->response_body; -#line 1336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = _tmp1_->data; -#line 1336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2__length1 = (gint) _tmp1_->length; -#line 1336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = g_strdup ((const gchar*) _tmp2_); -#line 1336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = _tmp3_; -#line 1336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 9874 "FacebookPublishing.c" +#line 9602 "FacebookPublishing.c" } @@ -9918,44 +9646,44 @@ static void publishing_facebook_graph_session_graph_message_impl_on_wrote_body_d SoupMessage* _tmp4_ = NULL; SoupMessageBody* _tmp5_ = NULL; gint64 _tmp6_ = 0LL; -#line 1339 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_GRAPH_SESSION_IS_GRAPH_MESSAGE_IMPL (self)); -#line 1339 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (chunk != NULL); -#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->bytes_so_far; -#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = chunk; -#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = _tmp1_->length; -#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->bytes_so_far = _tmp0_ + ((gint) _tmp2_); -#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = self->bytes_so_far; -#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = self->soup_message; -#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = _tmp4_->request_body; -#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = _tmp5_->length; -#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage), "data-transmitted", _tmp3_, (gint) _tmp6_); -#line 9908 "FacebookPublishing.c" +#line 9636 "FacebookPublishing.c" } static void publishing_facebook_graph_session_graph_message_impl_class_init (PublishingFacebookGraphSessionGraphMessageImplClass * klass) { -#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_graph_message_impl_parent_class = g_type_class_peek_parent (klass); -#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ((PublishingFacebookGraphMessageClass *) klass)->finalize = publishing_facebook_graph_session_graph_message_impl_finalize; -#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ((PublishingFacebookGraphSessionGraphMessageImplClass *) klass)->prepare_for_transmission = publishing_facebook_graph_session_graph_message_impl_real_prepare_for_transmission; -#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ((PublishingFacebookGraphMessageClass *) klass)->get_uri = publishing_facebook_graph_session_graph_message_impl_real_get_uri; -#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ((PublishingFacebookGraphMessageClass *) klass)->get_response_body = publishing_facebook_graph_session_graph_message_impl_real_get_response_body; -#line 9923 "FacebookPublishing.c" +#line 9651 "FacebookPublishing.c" } @@ -9965,17 +9693,17 @@ static void publishing_facebook_graph_session_graph_message_impl_instance_init ( static void publishing_facebook_graph_session_graph_message_impl_finalize (PublishingFacebookGraphMessage* obj) { PublishingFacebookGraphSessionGraphMessageImpl * self; -#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl); -#line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->uri); -#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->access_token); -#line 1307 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->soup_message); -#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" PUBLISHING_FACEBOOK_GRAPH_MESSAGE_CLASS (publishing_facebook_graph_session_graph_message_impl_parent_class)->finalize (obj); -#line 9943 "FacebookPublishing.c" +#line 9671 "FacebookPublishing.c" } @@ -9992,9 +9720,9 @@ static GType publishing_facebook_graph_session_graph_message_impl_get_type (void static void _vala_SoupURI_free (SoupURI* self) { -#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_boxed_free (soup_uri_get_type (), self); -#line 9962 "FacebookPublishing.c" +#line 9690 "FacebookPublishing.c" } @@ -10017,79 +9745,79 @@ static PublishingFacebookGraphSessionGraphQueryMessage* publishing_facebook_grap gchar* _tmp13_ = NULL; SoupMessage* _tmp14_ = NULL; SoupMessage* _tmp15_ = NULL; -#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (host_session), NULL); -#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (relative_uri != NULL, NULL); -#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (access_token != NULL, NULL); -#line 1349 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = host_session; -#line 1349 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = relative_uri; -#line 1349 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = access_token; -#line 1349 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = (PublishingFacebookGraphSessionGraphQueryMessage*) publishing_facebook_graph_session_graph_message_impl_construct (object_type, _tmp0_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET, _tmp1_, _tmp2_, PUBLISHING_FACEBOOK_ENDPOINT_DEFAULT); -#line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->uri; -#line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = g_strconcat (_tmp3_, "?access_token=", NULL); -#line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = _tmp4_; -#line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = access_token; -#line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = g_strconcat (_tmp5_, _tmp6_, NULL); -#line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = _tmp7_; -#line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = soup_uri_new (_tmp8_); -#line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = _tmp9_; -#line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp8_); -#line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp5_); -#line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" destination_uri = _tmp10_; -#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp11_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->method; -#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp12_ = publishing_rest_support_http_method_to_string (_tmp11_); -#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp13_ = _tmp12_; -#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp14_ = soup_message_new_from_uri (_tmp13_, destination_uri); -#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->soup_message); -#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->soup_message = _tmp14_; -#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp13_); -#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp15_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->soup_message; -#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_connect (_tmp15_, "wrote-body-data", (GCallback) _publishing_facebook_graph_session_graph_message_impl_on_wrote_body_data_soup_message_wrote_body_data, G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)); -#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" __vala_SoupURI_free0 (destination_uri); -#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 10043 "FacebookPublishing.c" +#line 9771 "FacebookPublishing.c" } static PublishingFacebookGraphSessionGraphQueryMessage* publishing_facebook_graph_session_graph_query_message_new (PublishingFacebookGraphSession* host_session, const gchar* relative_uri, const gchar* access_token) { -#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return publishing_facebook_graph_session_graph_query_message_construct (PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_QUERY_MESSAGE, host_session, relative_uri, access_token); -#line 10050 "FacebookPublishing.c" +#line 9778 "FacebookPublishing.c" } static void publishing_facebook_graph_session_graph_query_message_class_init (PublishingFacebookGraphSessionGraphQueryMessageClass * klass) { -#line 1346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1296 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_graph_query_message_parent_class = g_type_class_peek_parent (klass); -#line 10057 "FacebookPublishing.c" +#line 9785 "FacebookPublishing.c" } @@ -10120,55 +9848,55 @@ static PublishingFacebookGraphSessionGraphEndpointProbeMessage* publishing_faceb SoupURI* _tmp6_ = NULL; SoupMessage* _tmp7_ = NULL; SoupMessage* _tmp8_ = NULL; -#line 1358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (host_session), NULL); -#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1309 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = host_session; -#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1309 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = (PublishingFacebookGraphSessionGraphEndpointProbeMessage*) publishing_facebook_graph_session_graph_message_impl_construct (object_type, _tmp0_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET, "/", "", PUBLISHING_FACEBOOK_ENDPOINT_TEST_CONNECTION); -#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->method; -#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = publishing_rest_support_http_method_to_string (_tmp1_); -#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = _tmp2_; -#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->uri; -#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = soup_uri_new (_tmp4_); -#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = _tmp5_; -#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = soup_message_new_from_uri (_tmp3_, _tmp6_); -#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->soup_message); -#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->soup_message = _tmp7_; -#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" __vala_SoupURI_free0 (_tmp6_); -#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp3_); -#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->soup_message; -#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_connect (_tmp8_, "wrote-body-data", (GCallback) _publishing_facebook_graph_session_graph_message_impl_on_wrote_body_data_soup_message_wrote_body_data, G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)); -#line 1358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 10122 "FacebookPublishing.c" +#line 9850 "FacebookPublishing.c" } static PublishingFacebookGraphSessionGraphEndpointProbeMessage* publishing_facebook_graph_session_graph_endpoint_probe_message_new (PublishingFacebookGraphSession* host_session) { -#line 1358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return publishing_facebook_graph_session_graph_endpoint_probe_message_construct (PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_ENDPOINT_PROBE_MESSAGE, host_session); -#line 10129 "FacebookPublishing.c" +#line 9857 "FacebookPublishing.c" } static void publishing_facebook_graph_session_graph_endpoint_probe_message_class_init (PublishingFacebookGraphSessionGraphEndpointProbeMessageClass * klass) { -#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1307 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_graph_endpoint_probe_message_parent_class = g_type_class_peek_parent (klass); -#line 10136 "FacebookPublishing.c" +#line 9864 "FacebookPublishing.c" } @@ -10199,21 +9927,21 @@ static gchar* g_date_time_to_string (GDateTime* self) { result = _tmp0_; #line 2835 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 10167 "FacebookPublishing.c" +#line 9895 "FacebookPublishing.c" } static void _vala_SoupMultipart_free (SoupMultipart* self) { -#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_boxed_free (soup_multipart_get_type (), self); -#line 10174 "FacebookPublishing.c" +#line 9902 "FacebookPublishing.c" } static void _vala_SoupBuffer_free (SoupBuffer* self) { -#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_boxed_free (soup_buffer_get_type (), self); -#line 10181 "FacebookPublishing.c" +#line 9909 "FacebookPublishing.c" } @@ -10286,64 +10014,64 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra SoupMessage* _tmp79_ = NULL; SoupMessageBody* _tmp80_ = NULL; GError * _inner_error_ = NULL; -#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (host_session), NULL); -#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (access_token != NULL, NULL); -#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (relative_uri != NULL, NULL); -#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (publishable), NULL); -#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = publishable; -#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = spit_publishing_publishable_get_media_type (_tmp1_); -#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp2_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) { -#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = PUBLISHING_FACEBOOK_ENDPOINT_VIDEO; -#line 10270 "FacebookPublishing.c" +#line 9998 "FacebookPublishing.c" } else { -#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = PUBLISHING_FACEBOOK_ENDPOINT_DEFAULT; -#line 10274 "FacebookPublishing.c" +#line 10002 "FacebookPublishing.c" } -#line 1374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = host_session; -#line 1374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = relative_uri; -#line 1374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = access_token; -#line 1374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = (PublishingFacebookGraphSessionGraphUploadMessage*) publishing_facebook_graph_session_graph_message_impl_construct (object_type, _tmp3_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST, _tmp4_, _tmp5_, _tmp0_); -#line 1381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = publishable; -#line 1381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = spit_publishing_publishable_get_media_type (_tmp7_); -#line 1381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp8_ != SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) { -#line 1381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = TRUE; -#line 10292 "FacebookPublishing.c" +#line 10020 "FacebookPublishing.c" } else { const gchar* _tmp9_ = NULL; -#line 1382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1332 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = resource_privacy; -#line 1382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1332 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = _tmp9_ != NULL; -#line 10299 "FacebookPublishing.c" +#line 10027 "FacebookPublishing.c" } -#line 1381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_assert (_tmp6_, "publishable.get_media_type() != Spit.Publishing.Publisher.MediaType.VIDEO || resource_privacy != null"); -#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = publishable; -#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp11_ = _g_object_ref0 (_tmp10_); -#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->publishable); -#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->publishable = _tmp11_; -#line 10311 "FacebookPublishing.c" +#line 10039 "FacebookPublishing.c" { GMappedFile* _tmp12_ = NULL; SpitPublishingPublishable* _tmp13_ = NULL; @@ -10354,330 +10082,330 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra GMappedFile* _tmp18_ = NULL; GMappedFile* _tmp19_ = NULL; GMappedFile* _tmp20_ = NULL; -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp13_ = publishable; -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp14_ = spit_publishing_publishable_get_serialized_file (_tmp13_); -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp15_ = _tmp14_; -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp16_ = g_file_get_path (_tmp15_); -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp17_ = _tmp16_; -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp18_ = g_mapped_file_new (_tmp17_, FALSE, &_inner_error_); -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp19_ = _tmp18_; -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp17_); -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (_tmp15_); -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp12_ = _tmp19_; -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_inner_error_->domain == G_FILE_ERROR) { -#line 10346 "FacebookPublishing.c" +#line 10074 "FacebookPublishing.c" goto __catch6_g_file_error; } -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" 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); -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_clear_error (&_inner_error_); -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 10355 "FacebookPublishing.c" +#line 10083 "FacebookPublishing.c" } -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp20_ = _tmp12_; -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp12_ = NULL; -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_mapped_file_unref0 (self->priv->mapped_file); -#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->mapped_file = _tmp20_; -#line 1387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1337 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_mapped_file_unref0 (_tmp12_); -#line 10367 "FacebookPublishing.c" +#line 10095 "FacebookPublishing.c" } goto __finally6; __catch6_g_file_error: { GError* e = NULL; -#line 1387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1337 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" e = _inner_error_; -#line 1387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1337 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _inner_error_ = NULL; -#line 1391 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_error_free0 (e); -#line 1391 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 10381 "FacebookPublishing.c" +#line 10109 "FacebookPublishing.c" } __finally6: -#line 1387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1337 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1337 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1337 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_clear_error (&_inner_error_); -#line 1387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1337 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 10392 "FacebookPublishing.c" +#line 10120 "FacebookPublishing.c" } -#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp21_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->method; -#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp22_ = publishing_rest_support_http_method_to_string (_tmp21_); -#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp23_ = _tmp22_; -#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp24_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->uri; -#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp25_ = soup_uri_new (_tmp24_); -#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp26_ = _tmp25_; -#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp27_ = soup_message_new_from_uri (_tmp23_, _tmp26_); -#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->soup_message); -#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->soup_message = _tmp27_; -#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" __vala_SoupURI_free0 (_tmp26_); -#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp23_); -#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp28_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->soup_message; -#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_connect (_tmp28_, "wrote-body-data", (GCallback) _publishing_facebook_graph_session_graph_message_impl_on_wrote_body_data_soup_message_wrote_body_data, G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)); -#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp29_ = self->priv->mapped_file; -#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp30_ = g_mapped_file_get_contents (_tmp29_); -#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" payload = (guint8*) _tmp30_; -#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" payload_length1 = -1; -#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _payload_size_ = payload_length1; -#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp31_ = self->priv->mapped_file; -#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp32_ = g_mapped_file_get_length (_tmp31_); -#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" payload_length1 = (gint) _tmp32_; -#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp33_ = payload_length1; -#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp34_ = payload; -#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp34__length1 = payload_length1; -#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp35_ = soup_buffer_new (SOUP_MEMORY_TEMPORARY, _tmp34_, _tmp34__length1); -#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" image_data = _tmp35_; -#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp36_ = soup_multipart_new ("multipart/form-data"); -#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" mp_envelope = _tmp36_; -#line 1404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp37_ = mp_envelope; -#line 1404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp38_ = access_token; -#line 1404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" soup_multipart_append_form_string (_tmp37_, "access_token", _tmp38_); -#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp39_ = publishable; -#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp40_ = spit_publishing_publishable_get_media_type (_tmp39_); -#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp40_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) { -#line 10462 "FacebookPublishing.c" +#line 10190 "FacebookPublishing.c" SoupMultipart* _tmp41_ = NULL; const gchar* _tmp42_ = NULL; -#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp41_ = mp_envelope; -#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp42_ = resource_privacy; -#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" soup_multipart_append_form_string (_tmp41_, "privacy", _tmp42_); -#line 10471 "FacebookPublishing.c" +#line 10199 "FacebookPublishing.c" } -#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp43_ = publishable; -#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp44_ = spit_publishing_publishable_get_param_string (_tmp43_, "title"); -#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishable_title = _tmp44_; -#line 1411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1361 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp46_ = suppress_titling; -#line 1411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1361 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!_tmp46_) { -#line 10483 "FacebookPublishing.c" +#line 10211 "FacebookPublishing.c" const gchar* _tmp47_ = NULL; -#line 1411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1361 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp47_ = publishable_title; -#line 1411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1361 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_ = _tmp47_ != NULL; -#line 10489 "FacebookPublishing.c" +#line 10217 "FacebookPublishing.c" } else { -#line 1411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1361 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp45_ = FALSE; -#line 10493 "FacebookPublishing.c" +#line 10221 "FacebookPublishing.c" } -#line 1411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1361 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp45_) { -#line 10497 "FacebookPublishing.c" +#line 10225 "FacebookPublishing.c" SoupMultipart* _tmp48_ = NULL; const gchar* _tmp49_ = NULL; -#line 1412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp48_ = mp_envelope; -#line 1412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp49_ = publishable_title; -#line 1412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" soup_multipart_append_form_string (_tmp48_, "name", _tmp49_); -#line 10506 "FacebookPublishing.c" +#line 10234 "FacebookPublishing.c" } -#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1365 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp50_ = publishable; -#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1365 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp51_ = spit_publishing_publishable_get_param_string (_tmp50_, "comment"); -#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1365 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishable_comment = _tmp51_; -#line 1416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp53_ = suppress_titling; -#line 1416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!_tmp53_) { -#line 10518 "FacebookPublishing.c" +#line 10246 "FacebookPublishing.c" const gchar* _tmp54_ = NULL; -#line 1416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp54_ = publishable_comment; -#line 1416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp52_ = _tmp54_ != NULL; -#line 10524 "FacebookPublishing.c" +#line 10252 "FacebookPublishing.c" } else { -#line 1416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp52_ = FALSE; -#line 10528 "FacebookPublishing.c" +#line 10256 "FacebookPublishing.c" } -#line 1416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp52_) { -#line 10532 "FacebookPublishing.c" +#line 10260 "FacebookPublishing.c" SoupMultipart* _tmp55_ = NULL; const gchar* _tmp56_ = NULL; -#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp55_ = mp_envelope; -#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp56_ = publishable_comment; -#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" soup_multipart_append_form_string (_tmp55_, "message", _tmp56_); -#line 10541 "FacebookPublishing.c" +#line 10269 "FacebookPublishing.c" } -#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp57_ = suppress_titling; -#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!_tmp57_) { -#line 10547 "FacebookPublishing.c" +#line 10275 "FacebookPublishing.c" SoupMultipart* _tmp58_ = NULL; SpitPublishingPublishable* _tmp59_ = NULL; GDateTime* _tmp60_ = NULL; GDateTime* _tmp61_ = NULL; gchar* _tmp62_ = NULL; gchar* _tmp63_ = NULL; -#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp58_ = mp_envelope; -#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp59_ = publishable; -#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp60_ = spit_publishing_publishable_get_exposure_date_time (_tmp59_); -#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp61_ = _tmp60_; -#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp62_ = g_date_time_to_string (_tmp61_); -#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp63_ = _tmp62_; -#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" soup_multipart_append_form_string (_tmp58_, "backdated_time", _tmp63_); -#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp63_); -#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_date_time_unref0 (_tmp61_); -#line 10572 "FacebookPublishing.c" +#line 10300 "FacebookPublishing.c" } -#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp65_ = publishable; -#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp66_ = spit_publishing_publishable_get_media_type (_tmp65_); -#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp66_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) { -#line 1425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp64_ = "video"; -#line 10582 "FacebookPublishing.c" +#line 10310 "FacebookPublishing.c" } else { -#line 1425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp64_ = "image/jpeg"; -#line 10586 "FacebookPublishing.c" +#line 10314 "FacebookPublishing.c" } -#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp67_ = g_strdup (_tmp64_); -#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" source_file_mime_type = _tmp67_; -#line 1426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp68_ = mp_envelope; -#line 1426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp69_ = publishable; -#line 1426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp70_ = spit_publishing_publishable_get_serialized_file (_tmp69_); -#line 1426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp71_ = _tmp70_; -#line 1426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp72_ = g_file_get_basename (_tmp71_); -#line 1426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp73_ = _tmp72_; -#line 1426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp74_ = source_file_mime_type; -#line 1426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp75_ = image_data; -#line 1426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" soup_multipart_append_form_file (_tmp68_, "source", _tmp73_, _tmp74_, _tmp75_); -#line 1426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp73_); -#line 1426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (_tmp71_); -#line 1429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp76_ = mp_envelope; -#line 1429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp77_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->soup_message; -#line 1429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp78_ = _tmp77_->request_headers; -#line 1429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp79_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->soup_message; -#line 1429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp80_ = _tmp79_->request_body; -#line 1429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" soup_multipart_to_message (_tmp76_, _tmp78_, _tmp80_); -#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (source_file_mime_type); -#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (publishable_comment); -#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (publishable_title); -#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" __vala_SoupMultipart_free0 (mp_envelope); -#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" __vala_SoupBuffer_free0 (image_data); -#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 10638 "FacebookPublishing.c" +#line 10366 "FacebookPublishing.c" } static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_graph_session_graph_upload_message_new (PublishingFacebookGraphSession* host_session, const gchar* access_token, const gchar* relative_uri, SpitPublishingPublishable* publishable, gboolean suppress_titling, const gchar* resource_privacy) { -#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return publishing_facebook_graph_session_graph_upload_message_construct (PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_UPLOAD_MESSAGE, host_session, access_token, relative_uri, publishable, suppress_titling, resource_privacy); -#line 10645 "FacebookPublishing.c" +#line 10373 "FacebookPublishing.c" } @@ -10685,13 +10413,13 @@ static gboolean publishing_facebook_graph_session_graph_upload_message_real_prep PublishingFacebookGraphSessionGraphUploadMessage * self; gboolean result = FALSE; GMappedFile* _tmp0_ = NULL; -#line 1432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_UPLOAD_MESSAGE, PublishingFacebookGraphSessionGraphUploadMessage); -#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->mapped_file; -#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp0_ == NULL) { -#line 10659 "FacebookPublishing.c" +#line 10387 "FacebookPublishing.c" SpitPublishingPublishable* _tmp1_ = NULL; GFile* _tmp2_ = NULL; GFile* _tmp3_ = NULL; @@ -10701,82 +10429,82 @@ static gboolean publishing_facebook_graph_session_graph_upload_message_real_prep gchar* _tmp7_ = NULL; GError* _tmp8_ = NULL; GError* _tmp9_ = NULL; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = self->priv->publishable; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = spit_publishing_publishable_get_serialized_file (_tmp1_); -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = _tmp2_; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = g_file_get_path (_tmp3_); -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = _tmp4_; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = g_strdup_printf ("File %s is unavailable.", _tmp5_); -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = _tmp6_; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR, _tmp7_); -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = _tmp8_; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage), "failed", _tmp9_); -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_error_free0 (_tmp9_); -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp7_); -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp5_); -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (_tmp3_); -#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = FALSE; -#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 10701 "FacebookPublishing.c" +#line 10429 "FacebookPublishing.c" } else { -#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = TRUE; -#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 10707 "FacebookPublishing.c" +#line 10435 "FacebookPublishing.c" } } static void publishing_facebook_graph_session_graph_upload_message_class_init (PublishingFacebookGraphSessionGraphUploadMessageClass * klass) { -#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_graph_upload_message_parent_class = g_type_class_peek_parent (klass); -#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ((PublishingFacebookGraphMessageClass *) klass)->finalize = publishing_facebook_graph_session_graph_upload_message_finalize; -#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingFacebookGraphSessionGraphUploadMessagePrivate)); -#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ((PublishingFacebookGraphSessionGraphMessageImplClass *) klass)->prepare_for_transmission = publishing_facebook_graph_session_graph_upload_message_real_prepare_for_transmission; -#line 10721 "FacebookPublishing.c" +#line 10449 "FacebookPublishing.c" } static void publishing_facebook_graph_session_graph_upload_message_instance_init (PublishingFacebookGraphSessionGraphUploadMessage * self) { -#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv = PUBLISHING_FACEBOOK_GRAPH_SESSION_GRAPH_UPLOAD_MESSAGE_GET_PRIVATE (self); -#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->mapped_file = NULL; -#line 10730 "FacebookPublishing.c" +#line 10458 "FacebookPublishing.c" } static void publishing_facebook_graph_session_graph_upload_message_finalize (PublishingFacebookGraphMessage* obj) { PublishingFacebookGraphSessionGraphUploadMessage * self; -#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_UPLOAD_MESSAGE, PublishingFacebookGraphSessionGraphUploadMessage); -#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_mapped_file_unref0 (self->priv->mapped_file); -#line 1369 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->publishable); -#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" PUBLISHING_FACEBOOK_GRAPH_MESSAGE_CLASS (publishing_facebook_graph_session_graph_upload_message_parent_class)->finalize (obj); -#line 10744 "FacebookPublishing.c" +#line 10472 "FacebookPublishing.c" } @@ -10814,105 +10542,105 @@ static PublishingFacebookGraphSessionGraphCreateAlbumMessage* publishing_faceboo SoupMessageHeaders* _tmp17_ = NULL; SoupMessage* _tmp18_ = NULL; SoupMessageBody* _tmp19_ = NULL; -#line 1444 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (host_session), NULL); -#line 1444 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (access_token != NULL, NULL); -#line 1444 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (album_name != NULL, NULL); -#line 1444 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (album_privacy != NULL, NULL); -#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = host_session; -#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = access_token; -#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = (PublishingFacebookGraphSessionGraphCreateAlbumMessage*) publishing_facebook_graph_session_graph_message_impl_construct (object_type, _tmp0_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST, "/me/albums", _tmp1_, PUBLISHING_FACEBOOK_ENDPOINT_DEFAULT); -#line 1448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = album_privacy; -#line 1448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp3_ != NULL) { -#line 10800 "FacebookPublishing.c" +#line 10528 "FacebookPublishing.c" const gchar* _tmp4_ = NULL; -#line 1448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = album_privacy; -#line 1448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = g_strcmp0 (_tmp4_, "") != 0; -#line 10806 "FacebookPublishing.c" +#line 10534 "FacebookPublishing.c" } else { -#line 1448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = FALSE; -#line 10810 "FacebookPublishing.c" +#line 10538 "FacebookPublishing.c" } -#line 1448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _vala_assert (_tmp2_, "album_privacy != null && album_privacy != \"\""); -#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->method; -#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = publishing_rest_support_http_method_to_string (_tmp5_); -#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = _tmp6_; -#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->uri; -#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = soup_uri_new (_tmp8_); -#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = _tmp9_; -#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp11_ = soup_message_new_from_uri (_tmp7_, _tmp10_); -#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->soup_message); -#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->soup_message = _tmp11_; -#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" __vala_SoupURI_free0 (_tmp10_); -#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp7_); -#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp12_ = soup_multipart_new ("multipart/form-data"); -#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" mp_envelope = _tmp12_; -#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp13_ = access_token; -#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" soup_multipart_append_form_string (mp_envelope, "access_token", _tmp13_); -#line 1455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp14_ = album_name; -#line 1455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" soup_multipart_append_form_string (mp_envelope, "name", _tmp14_); -#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp15_ = album_privacy; -#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" soup_multipart_append_form_string (mp_envelope, "privacy", _tmp15_); -#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp16_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->soup_message; -#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp17_ = _tmp16_->request_headers; -#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp18_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->soup_message; -#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp19_ = _tmp18_->request_body; -#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" soup_multipart_to_message (mp_envelope, _tmp17_, _tmp19_); -#line 1444 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" __vala_SoupMultipart_free0 (mp_envelope); -#line 1444 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 10866 "FacebookPublishing.c" +#line 10594 "FacebookPublishing.c" } static PublishingFacebookGraphSessionGraphCreateAlbumMessage* publishing_facebook_graph_session_graph_create_album_message_new (PublishingFacebookGraphSession* host_session, const gchar* access_token, const gchar* album_name, const gchar* album_privacy) { -#line 1444 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return publishing_facebook_graph_session_graph_create_album_message_construct (PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_CREATE_ALBUM_MESSAGE, host_session, access_token, album_name, album_privacy); -#line 10873 "FacebookPublishing.c" +#line 10601 "FacebookPublishing.c" } static void publishing_facebook_graph_session_graph_create_album_message_class_init (PublishingFacebookGraphSessionGraphCreateAlbumMessageClass * klass) { -#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1393 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_graph_create_album_message_parent_class = g_type_class_peek_parent (klass); -#line 10880 "FacebookPublishing.c" +#line 10608 "FacebookPublishing.c" } @@ -10933,204 +10661,204 @@ static GType publishing_facebook_graph_session_graph_create_album_message_get_ty static void publishing_facebook_value_graph_session_init (GValue* value) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 10903 "FacebookPublishing.c" +#line 10631 "FacebookPublishing.c" } static void publishing_facebook_value_graph_session_free_value (GValue* value) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (value->data[0].v_pointer) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_unref (value->data[0].v_pointer); -#line 10912 "FacebookPublishing.c" +#line 10640 "FacebookPublishing.c" } } static void publishing_facebook_value_graph_session_copy_value (const GValue* src_value, GValue* dest_value) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (src_value->data[0].v_pointer) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" dest_value->data[0].v_pointer = publishing_facebook_graph_session_ref (src_value->data[0].v_pointer); -#line 10922 "FacebookPublishing.c" +#line 10650 "FacebookPublishing.c" } else { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 10926 "FacebookPublishing.c" +#line 10654 "FacebookPublishing.c" } } static gpointer publishing_facebook_value_graph_session_peek_pointer (const GValue* value) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return value->data[0].v_pointer; -#line 10934 "FacebookPublishing.c" +#line 10662 "FacebookPublishing.c" } static gchar* publishing_facebook_value_graph_session_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (collect_values[0].v_pointer) { -#line 10941 "FacebookPublishing.c" +#line 10669 "FacebookPublishing.c" PublishingFacebookGraphSession* object; object = collect_values[0].v_pointer; -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (object->parent_instance.g_class == NULL) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 10948 "FacebookPublishing.c" +#line 10676 "FacebookPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 10952 "FacebookPublishing.c" +#line 10680 "FacebookPublishing.c" } -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = publishing_facebook_graph_session_ref (object); -#line 10956 "FacebookPublishing.c" +#line 10684 "FacebookPublishing.c" } else { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 10960 "FacebookPublishing.c" +#line 10688 "FacebookPublishing.c" } -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 10964 "FacebookPublishing.c" +#line 10692 "FacebookPublishing.c" } static gchar* publishing_facebook_value_graph_session_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PublishingFacebookGraphSession** object_p; object_p = collect_values[0].v_pointer; -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!object_p) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 10975 "FacebookPublishing.c" +#line 10703 "FacebookPublishing.c" } -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!value->data[0].v_pointer) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = NULL; -#line 10981 "FacebookPublishing.c" +#line 10709 "FacebookPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = value->data[0].v_pointer; -#line 10985 "FacebookPublishing.c" +#line 10713 "FacebookPublishing.c" } else { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = publishing_facebook_graph_session_ref (value->data[0].v_pointer); -#line 10989 "FacebookPublishing.c" +#line 10717 "FacebookPublishing.c" } -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 10993 "FacebookPublishing.c" +#line 10721 "FacebookPublishing.c" } GParamSpec* publishing_facebook_param_spec_graph_session (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { PublishingFacebookParamSpecGraphSession* spec; -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION), NULL); -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return G_PARAM_SPEC (spec); -#line 11007 "FacebookPublishing.c" +#line 10735 "FacebookPublishing.c" } gpointer publishing_facebook_value_get_graph_session (const GValue* value) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION), NULL); -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return value->data[0].v_pointer; -#line 11016 "FacebookPublishing.c" +#line 10744 "FacebookPublishing.c" } void publishing_facebook_value_set_graph_session (GValue* value, gpointer v_object) { PublishingFacebookGraphSession* old; -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION)); -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" old = value->data[0].v_pointer; -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (v_object) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION)); -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = v_object; -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_ref (value->data[0].v_pointer); -#line 11036 "FacebookPublishing.c" +#line 10764 "FacebookPublishing.c" } else { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 11040 "FacebookPublishing.c" +#line 10768 "FacebookPublishing.c" } -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (old) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_unref (old); -#line 11046 "FacebookPublishing.c" +#line 10774 "FacebookPublishing.c" } } void publishing_facebook_value_take_graph_session (GValue* value, gpointer v_object) { PublishingFacebookGraphSession* old; -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION)); -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" old = value->data[0].v_pointer; -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (v_object) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION)); -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = v_object; -#line 11065 "FacebookPublishing.c" +#line 10793 "FacebookPublishing.c" } else { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 11069 "FacebookPublishing.c" +#line 10797 "FacebookPublishing.c" } -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (old) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_unref (old); -#line 11075 "FacebookPublishing.c" +#line 10803 "FacebookPublishing.c" } } static void publishing_facebook_graph_session_class_init (PublishingFacebookGraphSessionClass * klass) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_parent_class = g_type_class_peek_parent (klass); -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ((PublishingFacebookGraphSessionClass *) klass)->finalize = publishing_facebook_graph_session_finalize; -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingFacebookGraphSessionPrivate)); -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_new ("authenticated", PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 11089 "FacebookPublishing.c" +#line 10817 "FacebookPublishing.c" } static void publishing_facebook_graph_session_instance_init (PublishingFacebookGraphSession * self) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv = PUBLISHING_FACEBOOK_GRAPH_SESSION_GET_PRIVATE (self); -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->ref_count = 1; -#line 11098 "FacebookPublishing.c" +#line 10826 "FacebookPublishing.c" } @@ -11138,23 +10866,23 @@ static void publishing_facebook_graph_session_finalize (PublishingFacebookGraphS PublishingFacebookGraphSession * self; SoupSession* _tmp0_ = NULL; guint _tmp1_ = 0U; -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION, PublishingFacebookGraphSession); -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_handlers_destroy (self); -#line 1478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->soup_session; -#line 1478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_parse_name ("request-unqueued", soup_session_get_type (), &_tmp1_, NULL, FALSE); -#line 1478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_facebook_graph_session_on_request_unqueued_soup_session_request_unqueued, self); -#line 1464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (self->priv->soup_session); -#line 1465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (self->priv->access_token); -#line 1466 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_graph_message_unref0 (self->priv->current_message); -#line 11122 "FacebookPublishing.c" +#line 10850 "FacebookPublishing.c" } @@ -11175,24 +10903,24 @@ GType publishing_facebook_graph_session_get_type (void) { gpointer publishing_facebook_graph_session_ref (gpointer instance) { PublishingFacebookGraphSession* self; self = instance; -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_atomic_int_inc (&self->ref_count); -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return instance; -#line 11147 "FacebookPublishing.c" +#line 10875 "FacebookPublishing.c" } void publishing_facebook_graph_session_unref (gpointer instance) { PublishingFacebookGraphSession* self; self = instance; -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" PUBLISHING_FACEBOOK_GRAPH_SESSION_GET_CLASS (self)->finalize (self); -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 11160 "FacebookPublishing.c" +#line 10888 "FacebookPublishing.c" } } @@ -11200,35 +10928,35 @@ void publishing_facebook_graph_session_unref (gpointer instance) { static SpitPublishingPublishable** _vala_array_dup3 (SpitPublishingPublishable** self, int length) { SpitPublishingPublishable** result; int i; -#line 1625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result = g_new0 (SpitPublishingPublishable*, length + 1); -#line 1625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" for (i = 0; i < length; i++) { -#line 11172 "FacebookPublishing.c" +#line 10900 "FacebookPublishing.c" SpitPublishingPublishable* _tmp0_ = NULL; -#line 1625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = _g_object_ref0 (self[i]); -#line 1625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" result[i] = _tmp0_; -#line 11178 "FacebookPublishing.c" +#line 10906 "FacebookPublishing.c" } -#line 1625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return result; -#line 11182 "FacebookPublishing.c" +#line 10910 "FacebookPublishing.c" } static gpointer _publishing_facebook_graph_session_ref0 (gpointer self) { -#line 1626 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self ? publishing_facebook_graph_session_ref (self) : NULL; -#line 11189 "FacebookPublishing.c" +#line 10917 "FacebookPublishing.c" } static gpointer _publishing_facebook_publishing_parameters_ref0 (gpointer self) { -#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self ? publishing_facebook_publishing_parameters_ref (self) : NULL; -#line 11196 "FacebookPublishing.c" +#line 10924 "FacebookPublishing.c" } @@ -11242,77 +10970,77 @@ PublishingFacebookUploader* publishing_facebook_uploader_construct (GType object PublishingFacebookGraphSession* _tmp3_ = NULL; PublishingFacebookPublishingParameters* _tmp4_ = NULL; PublishingFacebookPublishingParameters* _tmp5_ = NULL; -#line 1622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (session), NULL); -#line 1622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_PARAMETERS (publishing_params), NULL); -#line 1622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = (PublishingFacebookUploader*) g_type_create_instance (object_type); -#line 1624 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1574 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->current_file = 0; -#line 1625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = publishables; -#line 1625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0__length1 = publishables_length1; -#line 1625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup3 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); -#line 1625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1__length1 = _tmp0__length1; -#line 1625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->publishables = (_vala_array_free (self->priv->publishables, self->priv->publishables_length1, (GDestroyNotify) g_object_unref), NULL); -#line 1625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->publishables = _tmp1_; -#line 1625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->publishables_length1 = _tmp1__length1; -#line 1625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->_publishables_size_ = self->priv->publishables_length1; -#line 1626 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = session; -#line 1626 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = _publishing_facebook_graph_session_ref0 (_tmp2_); -#line 1626 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_graph_session_unref0 (self->priv->session); -#line 1626 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->session = _tmp3_; -#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = publishing_params; -#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = _publishing_facebook_publishing_parameters_ref0 (_tmp4_); -#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_publishing_parameters_unref0 (self->priv->publishing_params); -#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->publishing_params = _tmp5_; -#line 1622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return self; -#line 11252 "FacebookPublishing.c" +#line 10980 "FacebookPublishing.c" } PublishingFacebookUploader* publishing_facebook_uploader_new (PublishingFacebookGraphSession* session, PublishingFacebookPublishingParameters* publishing_params, SpitPublishingPublishable** publishables, int publishables_length1) { -#line 1622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return publishing_facebook_uploader_construct (PUBLISHING_FACEBOOK_TYPE_UPLOADER, session, publishing_params, publishables, publishables_length1); -#line 11259 "FacebookPublishing.c" +#line 10987 "FacebookPublishing.c" } static void _publishing_facebook_uploader_on_chunk_transmitted_publishing_facebook_graph_message_data_transmitted (PublishingFacebookGraphMessage* _sender, gint bytes_sent_so_far, gint total_bytes, gpointer self) { -#line 1649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_uploader_on_chunk_transmitted ((PublishingFacebookUploader*) self, bytes_sent_so_far, total_bytes); -#line 11266 "FacebookPublishing.c" +#line 10994 "FacebookPublishing.c" } static void _publishing_facebook_uploader_on_message_completed_publishing_facebook_graph_message_completed (PublishingFacebookGraphMessage* _sender, gpointer self) { -#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_uploader_on_message_completed ((PublishingFacebookUploader*) self, _sender); -#line 11273 "FacebookPublishing.c" +#line 11001 "FacebookPublishing.c" } static void _publishing_facebook_uploader_on_message_failed_publishing_facebook_graph_message_failed (PublishingFacebookGraphMessage* _sender, GError* err, gpointer self) { -#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_uploader_on_message_failed ((PublishingFacebookUploader*) self, _sender, err); -#line 11280 "FacebookPublishing.c" +#line 11008 "FacebookPublishing.c" } @@ -11350,167 +11078,167 @@ static void publishing_facebook_uploader_send_current_file (PublishingFacebookUp PublishingFacebookGraphMessage* _tmp32_ = NULL; PublishingFacebookGraphSession* _tmp33_ = NULL; PublishingFacebookGraphMessage* _tmp34_ = NULL; -#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_UPLOADER (self)); -#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1581 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->publishables; -#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1581 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0__length1 = self->priv->publishables_length1; -#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1581 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = self->priv->current_file; -#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1581 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = _tmp0_[_tmp1_]; -#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1581 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = _g_object_ref0 (_tmp2_); -#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1581 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishable = _tmp3_; -#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = publishable; -#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = spit_publishing_publishable_get_serialized_file (_tmp4_); -#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" file = _tmp5_; -#line 1635 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1585 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = file; -#line 1635 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1585 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp6_ == NULL) { -#line 11342 "FacebookPublishing.c" +#line 11070 "FacebookPublishing.c" gint _tmp7_ = 0; -#line 1636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = self->priv->current_file; -#line 1636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->current_file = _tmp7_ + 1; -#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1587 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (file); -#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1587 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (publishable); -#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1587 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return; -#line 11354 "FacebookPublishing.c" +#line 11082 "FacebookPublishing.c" } -#line 1641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = publishable; -#line 1641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = spit_publishing_publishable_get_media_type (_tmp9_); -#line 1641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp10_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) { -#line 11362 "FacebookPublishing.c" +#line 11090 "FacebookPublishing.c" PublishingFacebookPublishingParameters* _tmp11_ = NULL; gchar* _tmp12_ = NULL; gchar* _tmp13_ = NULL; gchar* _tmp14_ = NULL; -#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp11_ = self->priv->publishing_params; -#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp12_ = publishing_facebook_publishing_parameters_get_target_album_id (_tmp11_); -#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp13_ = _tmp12_; -#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp14_ = g_strdup_printf ("/%s/photos", _tmp13_); -#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp8_); -#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = _tmp14_; -#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp13_); -#line 11381 "FacebookPublishing.c" +#line 11109 "FacebookPublishing.c" } else { gchar* _tmp15_ = NULL; -#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp15_ = g_strdup ("/me/videos"); -#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp8_); -#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = _tmp15_; -#line 11390 "FacebookPublishing.c" +#line 11118 "FacebookPublishing.c" } -#line 1640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp16_ = g_strdup (_tmp8_); -#line 1640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" resource_uri = _tmp16_; -#line 1644 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp18_ = publishable; -#line 1644 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp19_ = spit_publishing_publishable_get_media_type (_tmp18_); -#line 1644 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp19_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) { -#line 11402 "FacebookPublishing.c" +#line 11130 "FacebookPublishing.c" PublishingFacebookPublishingParameters* _tmp20_ = NULL; const gchar* _tmp21_ = NULL; -#line 1645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp20_ = self->priv->publishing_params; -#line 1645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp21_ = _tmp20_->privacy_object; -#line 1645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp17_ = _tmp21_; -#line 11411 "FacebookPublishing.c" +#line 11139 "FacebookPublishing.c" } else { -#line 1645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp17_ = NULL; -#line 11415 "FacebookPublishing.c" +#line 11143 "FacebookPublishing.c" } -#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp22_ = g_strdup (_tmp17_); -#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" resource_privacy = _tmp22_; -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp23_ = self->priv->session; -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp24_ = resource_uri; -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp25_ = publishable; -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp26_ = self->priv->publishing_params; -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp27_ = _tmp26_->strip_metadata; -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp28_ = resource_privacy; -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp29_ = publishing_facebook_graph_session_new_upload (_tmp23_, _tmp24_, _tmp25_, _tmp27_, _tmp28_); -#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" upload_message = _tmp29_; -#line 1649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp30_ = upload_message; -#line 1649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_connect (_tmp30_, "data-transmitted", (GCallback) _publishing_facebook_uploader_on_chunk_transmitted_publishing_facebook_graph_message_data_transmitted, self); -#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp31_ = upload_message; -#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_connect (_tmp31_, "completed", (GCallback) _publishing_facebook_uploader_on_message_completed_publishing_facebook_graph_message_completed, self); -#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp32_ = upload_message; -#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_connect (_tmp32_, "failed", (GCallback) _publishing_facebook_uploader_on_message_failed_publishing_facebook_graph_message_failed, self); -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp33_ = self->priv->session; -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp34_ = upload_message; -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_graph_session_send_message (_tmp33_, _tmp34_); -#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_graph_message_unref0 (upload_message); -#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (resource_privacy); -#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (resource_uri); -#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_free0 (_tmp8_); -#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (file); -#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _g_object_unref0 (publishable); -#line 11467 "FacebookPublishing.c" +#line 11195 "FacebookPublishing.c" } static void publishing_facebook_uploader_send_files (PublishingFacebookUploader* self) { -#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_UPLOADER (self)); -#line 1657 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1607 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->current_file = 0; -#line 1658 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_uploader_send_current_file (self); -#line 11478 "FacebookPublishing.c" +#line 11206 "FacebookPublishing.c" } @@ -11528,52 +11256,52 @@ static void publishing_facebook_uploader_on_chunk_transmitted (PublishingFaceboo gdouble _tmp6_ = 0.0; SpitPublishingProgressCallback _tmp7_ = NULL; void* _tmp7__target = NULL; -#line 1661 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_UPLOADER (self)); -#line 1662 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = self->priv->publishables; -#line 1662 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0__length1 = self->priv->publishables_length1; -#line 1662 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" file_span = 1.0 / _tmp0__length1; -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = bytes_written_so_far; -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = total_bytes; -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" this_file_fraction_complete = ((gdouble) _tmp1_) / _tmp2_; -#line 1664 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp3_ = self->priv->current_file; -#line 1664 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = file_span; -#line 1664 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp5_ = this_file_fraction_complete; -#line 1664 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = file_span; -#line 1664 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" fraction_complete = (_tmp3_ * _tmp4_) + (_tmp5_ * _tmp6_); -#line 1667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = self->priv->status_updated; -#line 1667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7__target = self->priv->status_updated_target; -#line 1667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp7_ != NULL) { -#line 11526 "FacebookPublishing.c" +#line 11254 "FacebookPublishing.c" SpitPublishingProgressCallback _tmp8_ = NULL; void* _tmp8__target = NULL; gint _tmp9_ = 0; gdouble _tmp10_ = 0.0; -#line 1668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = self->priv->status_updated; -#line 1668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8__target = self->priv->status_updated_target; -#line 1668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = self->priv->current_file; -#line 1668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp10_ = fraction_complete; -#line 1668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ (_tmp9_ + 1, _tmp10_, _tmp8__target); -#line 11541 "FacebookPublishing.c" +#line 11269 "FacebookPublishing.c" } } @@ -11589,50 +11317,50 @@ static void publishing_facebook_uploader_on_message_completed (PublishingFaceboo gint _tmp7_ = 0; SpitPublishingPublishable** _tmp8_ = NULL; gint _tmp8__length1 = 0; -#line 1671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_UPLOADER (self)); -#line 1671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_MESSAGE (message)); -#line 1672 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = message; -#line 1672 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_parse_name ("data-transmitted", PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, &_tmp1_, NULL, FALSE); -#line 1672 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_facebook_uploader_on_chunk_transmitted_publishing_facebook_graph_message_data_transmitted, self); -#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = message; -#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, &_tmp3_, NULL, FALSE); -#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_facebook_uploader_on_message_completed_publishing_facebook_graph_message_completed, self); -#line 1674 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1624 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = message; -#line 1674 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1624 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_parse_name ("failed", PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, &_tmp5_, NULL, FALSE); -#line 1674 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1624 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _publishing_facebook_uploader_on_message_failed_publishing_facebook_graph_message_failed, self); -#line 1676 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1626 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = self->priv->current_file; -#line 1676 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1626 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->current_file = _tmp6_ + 1; -#line 1677 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp7_ = self->priv->current_file; -#line 1677 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8_ = self->priv->publishables; -#line 1677 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp8__length1 = self->priv->publishables_length1; -#line 1677 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp7_ < _tmp8__length1) { -#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1628 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_uploader_send_current_file (self); -#line 11593 "FacebookPublishing.c" +#line 11321 "FacebookPublishing.c" } else { gint _tmp9_ = 0; -#line 1680 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp9_ = self->priv->current_file; -#line 1680 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_emit_by_name (self, "upload-complete", _tmp9_); -#line 11600 "FacebookPublishing.c" +#line 11328 "FacebookPublishing.c" } } @@ -11645,33 +11373,33 @@ static void publishing_facebook_uploader_on_message_failed (PublishingFacebookUp PublishingFacebookGraphMessage* _tmp4_ = NULL; guint _tmp5_ = 0U; GError* _tmp6_ = NULL; -#line 1684 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_UPLOADER (self)); -#line 1684 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_MESSAGE (message)); -#line 1685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1635 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = message; -#line 1685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1635 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_parse_name ("data-transmitted", PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, &_tmp1_, NULL, FALSE); -#line 1685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1635 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_facebook_uploader_on_chunk_transmitted_publishing_facebook_graph_message_data_transmitted, self); -#line 1686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp2_ = message; -#line 1686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, &_tmp3_, NULL, FALSE); -#line 1686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_facebook_uploader_on_message_completed_publishing_facebook_graph_message_completed, self); -#line 1687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp4_ = message; -#line 1687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_parse_name ("failed", PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, &_tmp5_, NULL, FALSE); -#line 1687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _publishing_facebook_uploader_on_message_failed_publishing_facebook_graph_message_failed, self); -#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp6_ = _error_; -#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_emit_by_name (self, "upload-error", _tmp6_); -#line 11639 "FacebookPublishing.c" +#line 11367 "FacebookPublishing.c" } @@ -11680,248 +11408,248 @@ void publishing_facebook_uploader_upload (PublishingFacebookUploader* self, Spit void* _tmp0__target = NULL; SpitPublishingPublishable** _tmp1_ = NULL; gint _tmp1__length1 = 0; -#line 1692 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (PUBLISHING_FACEBOOK_IS_UPLOADER (self)); -#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0_ = status_updated; -#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp0__target = status_updated_target; -#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->status_updated = _tmp0_; -#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->status_updated_target = _tmp0__target; -#line 1695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1_ = self->priv->publishables; -#line 1695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _tmp1__length1 = self->priv->publishables_length1; -#line 1695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (_tmp1__length1 > 0) { -#line 1696 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_uploader_send_files (self); -#line 11666 "FacebookPublishing.c" +#line 11394 "FacebookPublishing.c" } } static void publishing_facebook_value_uploader_init (GValue* value) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 11674 "FacebookPublishing.c" +#line 11402 "FacebookPublishing.c" } static void publishing_facebook_value_uploader_free_value (GValue* value) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (value->data[0].v_pointer) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_uploader_unref (value->data[0].v_pointer); -#line 11683 "FacebookPublishing.c" +#line 11411 "FacebookPublishing.c" } } static void publishing_facebook_value_uploader_copy_value (const GValue* src_value, GValue* dest_value) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (src_value->data[0].v_pointer) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" dest_value->data[0].v_pointer = publishing_facebook_uploader_ref (src_value->data[0].v_pointer); -#line 11693 "FacebookPublishing.c" +#line 11421 "FacebookPublishing.c" } else { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 11697 "FacebookPublishing.c" +#line 11425 "FacebookPublishing.c" } } static gpointer publishing_facebook_value_uploader_peek_pointer (const GValue* value) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return value->data[0].v_pointer; -#line 11705 "FacebookPublishing.c" +#line 11433 "FacebookPublishing.c" } static gchar* publishing_facebook_value_uploader_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (collect_values[0].v_pointer) { -#line 11712 "FacebookPublishing.c" +#line 11440 "FacebookPublishing.c" PublishingFacebookUploader* object; object = collect_values[0].v_pointer; -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (object->parent_instance.g_class == NULL) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 11719 "FacebookPublishing.c" +#line 11447 "FacebookPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 11723 "FacebookPublishing.c" +#line 11451 "FacebookPublishing.c" } -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = publishing_facebook_uploader_ref (object); -#line 11727 "FacebookPublishing.c" +#line 11455 "FacebookPublishing.c" } else { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 11731 "FacebookPublishing.c" +#line 11459 "FacebookPublishing.c" } -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 11735 "FacebookPublishing.c" +#line 11463 "FacebookPublishing.c" } static gchar* publishing_facebook_value_uploader_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PublishingFacebookUploader** object_p; object_p = collect_values[0].v_pointer; -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!object_p) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 11746 "FacebookPublishing.c" +#line 11474 "FacebookPublishing.c" } -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (!value->data[0].v_pointer) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = NULL; -#line 11752 "FacebookPublishing.c" +#line 11480 "FacebookPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = value->data[0].v_pointer; -#line 11756 "FacebookPublishing.c" +#line 11484 "FacebookPublishing.c" } else { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" *object_p = publishing_facebook_uploader_ref (value->data[0].v_pointer); -#line 11760 "FacebookPublishing.c" +#line 11488 "FacebookPublishing.c" } -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return NULL; -#line 11764 "FacebookPublishing.c" +#line 11492 "FacebookPublishing.c" } GParamSpec* publishing_facebook_param_spec_uploader (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { PublishingFacebookParamSpecUploader* spec; -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_FACEBOOK_TYPE_UPLOADER), NULL); -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return G_PARAM_SPEC (spec); -#line 11778 "FacebookPublishing.c" +#line 11506 "FacebookPublishing.c" } gpointer publishing_facebook_value_get_uploader (const GValue* value) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_UPLOADER), NULL); -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return value->data[0].v_pointer; -#line 11787 "FacebookPublishing.c" +#line 11515 "FacebookPublishing.c" } void publishing_facebook_value_set_uploader (GValue* value, gpointer v_object) { PublishingFacebookUploader* old; -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_UPLOADER)); -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" old = value->data[0].v_pointer; -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (v_object) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_FACEBOOK_TYPE_UPLOADER)); -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = v_object; -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_uploader_ref (value->data[0].v_pointer); -#line 11807 "FacebookPublishing.c" +#line 11535 "FacebookPublishing.c" } else { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 11811 "FacebookPublishing.c" +#line 11539 "FacebookPublishing.c" } -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (old) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_uploader_unref (old); -#line 11817 "FacebookPublishing.c" +#line 11545 "FacebookPublishing.c" } } void publishing_facebook_value_take_uploader (GValue* value, gpointer v_object) { PublishingFacebookUploader* old; -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_UPLOADER)); -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" old = value->data[0].v_pointer; -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (v_object) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_FACEBOOK_TYPE_UPLOADER)); -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = v_object; -#line 11836 "FacebookPublishing.c" +#line 11564 "FacebookPublishing.c" } else { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" value->data[0].v_pointer = NULL; -#line 11840 "FacebookPublishing.c" +#line 11568 "FacebookPublishing.c" } -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (old) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_uploader_unref (old); -#line 11846 "FacebookPublishing.c" +#line 11574 "FacebookPublishing.c" } } static void publishing_facebook_uploader_class_init (PublishingFacebookUploaderClass * klass) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" publishing_facebook_uploader_parent_class = g_type_class_peek_parent (klass); -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" ((PublishingFacebookUploaderClass *) klass)->finalize = publishing_facebook_uploader_finalize; -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingFacebookUploaderPrivate)); -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_new ("upload_complete", PUBLISHING_FACEBOOK_TYPE_UPLOADER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT); -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_new ("upload_error", PUBLISHING_FACEBOOK_TYPE_UPLOADER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER); -#line 11862 "FacebookPublishing.c" +#line 11590 "FacebookPublishing.c" } static void publishing_facebook_uploader_instance_init (PublishingFacebookUploader * self) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv = PUBLISHING_FACEBOOK_UPLOADER_GET_PRIVATE (self); -#line 1617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1567 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->status_updated = NULL; -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->ref_count = 1; -#line 11873 "FacebookPublishing.c" +#line 11601 "FacebookPublishing.c" } static void publishing_facebook_uploader_finalize (PublishingFacebookUploader* obj) { PublishingFacebookUploader * self; -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_TYPE_UPLOADER, PublishingFacebookUploader); -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_signal_handlers_destroy (self); -#line 1614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" self->priv->publishables = (_vala_array_free (self->priv->publishables, self->priv->publishables_length1, (GDestroyNotify) g_object_unref), NULL); -#line 1615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_graph_session_unref0 (self->priv->session); -#line 1616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1566 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" _publishing_facebook_publishing_parameters_unref0 (self->priv->publishing_params); -#line 11889 "FacebookPublishing.c" +#line 11617 "FacebookPublishing.c" } @@ -11942,24 +11670,24 @@ GType publishing_facebook_uploader_get_type (void) { gpointer publishing_facebook_uploader_ref (gpointer instance) { PublishingFacebookUploader* self; self = instance; -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_atomic_int_inc (&self->ref_count); -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" return instance; -#line 11914 "FacebookPublishing.c" +#line 11642 "FacebookPublishing.c" } void publishing_facebook_uploader_unref (gpointer instance) { PublishingFacebookUploader* self; self = instance; -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" PUBLISHING_FACEBOOK_UPLOADER_GET_CLASS (self)->finalize (self); -#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 11927 "FacebookPublishing.c" +#line 11655 "FacebookPublishing.c" } } diff --git a/plugins/shotwell-publishing/FacebookPublishing.vala b/plugins/shotwell-publishing/FacebookPublishing.vala index 608e5c5..3fafe37 100644 --- a/plugins/shotwell-publishing/FacebookPublishing.vala +++ b/plugins/shotwell-publishing/FacebookPublishing.vala @@ -61,7 +61,7 @@ internal const string USER_VISIBLE_NAME = "Facebook"; internal const string APPLICATION_ID = "1612018629063184"; internal const string DEFAULT_ALBUM_NAME = _("Shotwell Connect"); internal const string SERVICE_WELCOME_MESSAGE = - _("You are not currently logged into Facebook.\n\nIf you don't yet have a Facebook account, you can create one during the login process. During login, Shotwell Connect may ask you for permission to upload photos and publish to your feed. These permissions are required for Shotwell Connect to function."); + _("You are not currently logged into Facebook.\n\nIf you don’t yet have a Facebook account, you can create one during the login process. During login, Shotwell Connect may ask you for permission to upload photos and publish to your feed. These permissions are required for Shotwell Connect to function."); internal const string RESTART_ERROR_MESSAGE = _("You have already logged in and out of Facebook during this Shotwell session.\nTo continue publishing to Facebook, quit and restart Shotwell, then try publishing again."); internal const string USER_AGENT = "Java/1.6.0_16"; @@ -252,7 +252,7 @@ public class FacebookPublisher : Spit.Publishing.Publisher, GLib.Object { debug("ACTION: testing connection to Facebook endpoint."); host.set_service_locked(true); - host.install_static_message_pane(_("Testing connection to Facebook...")); + host.install_static_message_pane(_("Testing connection to Facebook…")); GraphMessage endpoint_test_message = graph_session.new_endpoint_test(); endpoint_test_message.completed.connect(on_endpoint_test_completed); @@ -345,7 +345,7 @@ public class FacebookPublisher : Spit.Publishing.Publisher, GLib.Object { debug("ACTION: creating a new album named \"%s\".\n", publishing_params.new_album_name); host.set_service_locked(true); - host.install_static_message_pane(_("Creating album...")); + host.install_static_message_pane(_("Creating album…")); GraphMessage create_album_message = graph_session.new_create_album( publishing_params.new_album_name, publishing_params.privacy_object); @@ -371,7 +371,7 @@ public class FacebookPublisher : Spit.Publishing.Publisher, GLib.Object { warning("Could not parse UI file! Error: %s.", e.message); host.post_error( new Spit.Publishing.PublishingError.LOCAL_FILE_ERROR( - _("A file required for publishing is unavailable. Publishing to Facebook can't continue."))); + _("A file required for publishing is unavailable. Publishing to Facebook can’t continue."))); return; } @@ -811,30 +811,14 @@ public class FacebookPublisher : Spit.Publishing.Publisher, GLib.Object { } } -internal class WebAuthenticationPane : Spit.Publishing.DialogPane, Object { - private WebKit.WebView webview = null; - private Gtk.Box pane_widget = null; - private Gtk.ScrolledWindow webview_frame = null; +internal class WebAuthenticationPane : Shotwell.Plugins.Common.WebAuthenticationPane { private static bool cache_dirty = false; public signal void login_succeeded(string success_url); public signal void login_failed(); public WebAuthenticationPane() { - pane_widget = new Gtk.Box(Gtk.Orientation.VERTICAL, 0); - - webview_frame = new Gtk.ScrolledWindow(null, null); - webview_frame.set_shadow_type(Gtk.ShadowType.ETCHED_IN); - webview_frame.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC); - - webview = new WebKit.WebView(); - webview.get_settings().enable_plugins = false; - - webview.load_changed.connect(on_page_load_changed); - webview.context_menu.connect(() => { return true; }); - - webview_frame.add(webview); - pane_widget.pack_start(webview_frame, true, true, 0); + Object (login_uri : get_login_url ()); } private class LocaleLookup { @@ -858,7 +842,7 @@ internal class WebAuthenticationPane : Spit.Publishing.DialogPane, Object { } - private LocaleLookup[] locale_lookup_table = { + private static LocaleLookup[] locale_lookup_table = { new LocaleLookup( "es", "es-la", "ES", "es-es" ), new LocaleLookup( "en", "en-gb", "US", "en-us" ), new LocaleLookup( "fr", "fr-fr", "CA", "fr-ca" ), @@ -906,7 +890,7 @@ internal class WebAuthenticationPane : Spit.Publishing.DialogPane, Object { new LocaleLookup( "ml", "ml-in" ) }; - private string get_system_locale_as_facebook_locale() { + private static string get_system_locale_as_facebook_locale() { unowned string? raw_system_locale = Intl.setlocale(LocaleCategory.ALL, ""); if (raw_system_locale == null || raw_system_locale == "") return "www"; @@ -938,15 +922,14 @@ internal class WebAuthenticationPane : Spit.Publishing.DialogPane, Object { return "www"; } - private string get_login_url() { - string facebook_locale = get_system_locale_as_facebook_locale(); + private static string get_login_url() { + var facebook_locale = get_system_locale_as_facebook_locale(); + return "https://%s.facebook.com/dialog/oauth?client_id=%s&redirect_uri=https://www.facebook.com/connect/login_success.html&display=popup&scope=publish_actions,user_photos,user_videos&response_type=token".printf(facebook_locale, APPLICATION_ID); } - private void on_page_load() { - pane_widget.get_window().set_cursor(new Gdk.Cursor(Gdk.CursorType.LEFT_PTR)); - - string loaded_url = webview.uri.dup(); + public override void on_page_load() { + string loaded_url = get_view ().uri.dup(); debug("loaded url: " + loaded_url); // strip parameters from the loaded url @@ -959,7 +942,7 @@ internal class WebAuthenticationPane : Spit.Publishing.DialogPane, Object { // were we redirected to the facebook login success page? if (loaded_url.contains("login_success")) { cache_dirty = true; - login_succeeded(webview.uri); + login_succeeded(get_view ().uri); return; } @@ -970,42 +953,9 @@ internal class WebAuthenticationPane : Spit.Publishing.DialogPane, Object { } } - private void on_load_started() { - pane_widget.get_window().set_cursor(new Gdk.Cursor(Gdk.CursorType.WATCH)); - } - - private void on_page_load_changed (WebKit.LoadEvent load_event) { - switch (load_event) { - case WebKit.LoadEvent.STARTED: - case WebKit.LoadEvent.REDIRECTED: - on_load_started(); - break; - case WebKit.LoadEvent.FINISHED: - on_page_load(); - break; - } - - return; - } - public static bool is_cache_dirty() { return cache_dirty; } - - public Gtk.Widget get_widget() { - return pane_widget; - } - - public Spit.Publishing.DialogPane.GeometryOptions get_preferred_geometry() { - return Spit.Publishing.DialogPane.GeometryOptions.NONE; - } - - public void on_pane_installed() { - webview.load_uri(get_login_url()); - } - - public void on_pane_uninstalled() { - } } internal class PublishingOptionsPane : Spit.Publishing.DialogPane, GLib.Object { @@ -1466,8 +1416,8 @@ internal class GraphSession { private GraphMessage? current_message; public GraphSession() { - this.soup_session = new Soup.SessionAsync(); - this.soup_session.request_unqueued.connect(on_request_unqueued); + this.soup_session = new Soup.Session (); + this.soup_session.request_unqueued.connect (on_request_unqueued); this.soup_session.timeout = 15; this.access_token = null; this.current_message = null; @@ -1475,7 +1425,7 @@ internal class GraphSession { } ~GraphSession() { - soup_session.request_unqueued.disconnect(on_request_unqueued); + soup_session.request_unqueued.disconnect (on_request_unqueued); } private void manage_message(GraphMessage msg) { diff --git a/plugins/shotwell-publishing/FlickrPublishing.c b/plugins/shotwell-publishing/FlickrPublishing.c index 3bada95..e6d9a5e 100644 --- a/plugins/shotwell-publishing/FlickrPublishing.c +++ b/plugins/shotwell-publishing/FlickrPublishing.c @@ -506,7 +506,7 @@ static void flickr_service_finalize (GObject* obj); #define PUBLISHING_FLICKR_SERVICE_NAME "Flickr" #define PUBLISHING_FLICKR_SERVICE_WELCOME_MESSAGE _ ("You are not currently logged into Flickr.\n" \ "\n" \ -"Click Login to log into Flickr in your Web browser. You will have to " \ +"Click Log in to log into Flickr in your Web browser. You will have to " \ "authorize Shotwell Connect to link to your Flickr account.") #define PUBLISHING_FLICKR_RESTART_ERROR_MESSAGE _ ("You have already logged in and out of Flickr during this Shotwell sess" \ "ion.\n" \ @@ -2765,7 +2765,7 @@ static void publishing_flickr_flickr_publisher_do_run_authentication_request_tra #line 374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp1_ = self->priv->host; #line 374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" - _tmp2_ = _ ("Preparing for login..."); + _tmp2_ = _ ("Preparing for login…"); #line 374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" spit_publishing_plugin_host_install_static_message_pane (_tmp1_, _tmp2_, SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL); #line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3237,7 +3237,7 @@ static void publishing_flickr_flickr_publisher_do_show_pin_entry_pane (Publishin _tmp4_ = self->priv->host; #line 442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp5_ = _ ("A file required for publishing is unavailable. Publishing to Flickr ca" \ -"n't continue."); +"n’t continue."); #line 442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp6_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR, _tmp5_); #line 442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -3316,7 +3316,7 @@ static void publishing_flickr_flickr_publisher_do_verify_pin (PublishingFlickrFl #line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp2_ = self->priv->host; #line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" - _tmp3_ = _ ("Verifying authorization..."); + _tmp3_ = _ ("Verifying authorization…"); #line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" spit_publishing_plugin_host_install_static_message_pane (_tmp2_, _tmp3_, SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL); #line 459 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -4163,7 +4163,7 @@ static void publishing_flickr_flickr_publisher_do_show_publishing_options_pane ( _tmp5_ = self->priv->host; #line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp6_ = _ ("A file required for publishing is unavailable. Publishing to Flickr ca" \ -"n't continue."); +"n’t continue."); #line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp7_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR, _tmp6_); #line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -8615,7 +8615,7 @@ static PublishingFlickrPublishingOptionsPaneSizeEntry** publishing_flickr_publis #line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp1__length1 = _result__length1; #line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" - _tmp2_ = _ ("500 x 375 pixels"); + _tmp2_ = _ ("500 × 375 pixels"); #line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp3_ = publishing_flickr_publishing_options_pane_size_entry_new (_tmp2_, 500); #line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -8625,7 +8625,7 @@ static PublishingFlickrPublishingOptionsPaneSizeEntry** publishing_flickr_publis #line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp4__length1 = _result__length1; #line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" - _tmp5_ = _ ("1024 x 768 pixels"); + _tmp5_ = _ ("1024 × 768 pixels"); #line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp6_ = publishing_flickr_publishing_options_pane_size_entry_new (_tmp5_, 1024); #line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -8635,7 +8635,7 @@ static PublishingFlickrPublishingOptionsPaneSizeEntry** publishing_flickr_publis #line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp7__length1 = _result__length1; #line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" - _tmp8_ = _ ("2048 x 1536 pixels"); + _tmp8_ = _ ("2048 × 1536 pixels"); #line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp9_ = publishing_flickr_publishing_options_pane_size_entry_new (_tmp8_, 2048); #line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" @@ -8645,7 +8645,7 @@ static PublishingFlickrPublishingOptionsPaneSizeEntry** publishing_flickr_publis #line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp10__length1 = _result__length1; #line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" - _tmp11_ = _ ("4096 x 3072 pixels"); + _tmp11_ = _ ("4096 × 3072 pixels"); #line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" _tmp12_ = publishing_flickr_publishing_options_pane_size_entry_new (_tmp11_, 4096); #line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala" diff --git a/plugins/shotwell-publishing/FlickrPublishing.vala b/plugins/shotwell-publishing/FlickrPublishing.vala index 415e36a..c214ce9 100644 --- a/plugins/shotwell-publishing/FlickrPublishing.vala +++ b/plugins/shotwell-publishing/FlickrPublishing.vala @@ -57,7 +57,7 @@ namespace Publishing.Flickr { internal const string SERVICE_NAME = "Flickr"; internal const string SERVICE_WELCOME_MESSAGE = - _("You are not currently logged into Flickr.\n\nClick Login to log into Flickr in your Web browser. You will have to authorize Shotwell Connect to link to your Flickr account."); + _("You are not currently logged into Flickr.\n\nClick Log in to log into Flickr in your Web browser. You will have to authorize Shotwell Connect to link to your Flickr account."); internal const string RESTART_ERROR_MESSAGE = _("You have already logged in and out of Flickr during this Shotwell session.\nTo continue publishing to Flickr, quit and restart Shotwell, then try publishing again."); internal const string ENDPOINT_URL = "https://api.flickr.com/services/rest"; @@ -371,7 +371,7 @@ public class FlickrPublisher : Spit.Publishing.Publisher, GLib.Object { debug("ACTION: running authentication request transaction"); host.set_service_locked(true); - host.install_static_message_pane(_("Preparing for login...")); + host.install_static_message_pane(_("Preparing for login…")); AuthenticationRequestTransaction txn = new AuthenticationRequestTransaction(session); txn.completed.connect(on_auth_request_txn_completed); @@ -441,7 +441,7 @@ public class FlickrPublisher : Spit.Publishing.Publisher, GLib.Object { warning("Could not parse UI file! Error: %s.", e.message); host.post_error( new Spit.Publishing.PublishingError.LOCAL_FILE_ERROR( - _("A file required for publishing is unavailable. Publishing to Flickr can't continue."))); + _("A file required for publishing is unavailable. Publishing to Flickr can’t continue."))); return; } @@ -454,7 +454,7 @@ public class FlickrPublisher : Spit.Publishing.Publisher, GLib.Object { debug("ACTION: validating authorization PIN %s", pin); host.set_service_locked(true); - host.install_static_message_pane(_("Verifying authorization...")); + host.install_static_message_pane(_("Verifying authorization…")); AccessTokenFetchTransaction txn = new AccessTokenFetchTransaction(session, pin); txn.completed.connect(on_access_token_fetch_txn_completed); @@ -591,7 +591,7 @@ public class FlickrPublisher : Spit.Publishing.Publisher, GLib.Object { warning("Could not parse UI file! Error: %s.", e.message); host.post_error( new Spit.Publishing.PublishingError.LOCAL_FILE_ERROR( - _("A file required for publishing is unavailable. Publishing to Flickr can't continue."))); + _("A file required for publishing is unavailable. Publishing to Flickr can’t continue."))); return; } @@ -1228,10 +1228,10 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, GLib.Object { private SizeEntry[] create_sizes() { SizeEntry[] result = new SizeEntry[0]; - result += new SizeEntry(_("500 x 375 pixels"), 500); - result += new SizeEntry(_("1024 x 768 pixels"), 1024); - result += new SizeEntry(_("2048 x 1536 pixels"), 2048); - result += new SizeEntry(_("4096 x 3072 pixels"), 4096); + result += new SizeEntry(_("500 × 375 pixels"), 500); + result += new SizeEntry(_("1024 × 768 pixels"), 1024); + result += new SizeEntry(_("2048 × 1536 pixels"), 2048); + result += new SizeEntry(_("4096 × 3072 pixels"), 4096); result += new SizeEntry(_("Original size"), ORIGINAL_SIZE); return result; diff --git a/plugins/shotwell-publishing/PicasaPublishing.c b/plugins/shotwell-publishing/PicasaPublishing.c index abbd994..7e6e19a 100644 --- a/plugins/shotwell-publishing/PicasaPublishing.c +++ b/plugins/shotwell-publishing/PicasaPublishing.c @@ -364,9 +364,9 @@ static void picasa_service_real_activation (SpitPluggable* base, gboolean enable static void picasa_service_finalize (GObject* obj); #define PUBLISHING_PICASA_SERVICE_WELCOME_MESSAGE _ ("You are not currently logged into Picasa Web Albums.\n" \ "\n" \ -"Click Login to log into Picasa Web Albums in your Web browser. You wil" \ -"l have to authorize Shotwell Connect to link to your Picasa Web Albums" \ -" account.") +"Click Log in to log into Picasa Web Albums in your Web browser. You wi" \ +"ll have to authorize Shotwell Connect to link to your Picasa Web Album" \ +"s account.") #define PUBLISHING_PICASA_DEFAULT_ALBUM_NAME _ ("Shotwell Connect") gpointer publishing_picasa_publishing_parameters_ref (gpointer instance); void publishing_picasa_publishing_parameters_unref (gpointer instance); @@ -2582,7 +2582,7 @@ static void publishing_picasa_picasa_publisher_do_show_publishing_options_pane ( _tmp4_ = publishing_rest_support_google_publisher_get_host (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher)); #line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" _tmp5_ = _ ("A file required for publishing is unavailable. Publishing to Picasa ca" \ -"n't continue."); +"n’t continue."); #line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" _tmp6_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR, _tmp5_); #line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" @@ -2684,7 +2684,7 @@ static void publishing_picasa_picasa_publisher_do_create_album (PublishingPicasa #line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" _tmp5_ = publishing_rest_support_google_publisher_get_host (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher)); #line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" - _tmp6_ = _ ("Creating album..."); + _tmp6_ = _ ("Creating album…"); #line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" spit_publishing_plugin_host_install_static_message_pane (_tmp5_, _tmp6_, SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL); #line 381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" @@ -5997,7 +5997,7 @@ static PublishingPicasaPublishingOptionsPaneSizeDescription** publishing_picasa_ #line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" _tmp1__length1 = _result__length1; #line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" - _tmp2_ = _ ("Small (640 x 480 pixels)"); + _tmp2_ = _ ("Small (640 × 480 pixels)"); #line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" _tmp3_ = publishing_picasa_publishing_options_pane_size_description_new (_tmp2_, 640); #line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" @@ -6007,7 +6007,7 @@ static PublishingPicasaPublishingOptionsPaneSizeDescription** publishing_picasa_ #line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" _tmp4__length1 = _result__length1; #line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" - _tmp5_ = _ ("Medium (1024 x 768 pixels)"); + _tmp5_ = _ ("Medium (1024 × 768 pixels)"); #line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" _tmp6_ = publishing_picasa_publishing_options_pane_size_description_new (_tmp5_, 1024); #line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" @@ -6017,7 +6017,7 @@ static PublishingPicasaPublishingOptionsPaneSizeDescription** publishing_picasa_ #line 748 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" _tmp7__length1 = _result__length1; #line 748 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" - _tmp8_ = _ ("Recommended (1600 x 1200 pixels)"); + _tmp8_ = _ ("Recommended (1600 × 1200 pixels)"); #line 748 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" _tmp9_ = publishing_picasa_publishing_options_pane_size_description_new (_tmp8_, 1600); #line 748 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" @@ -6027,7 +6027,7 @@ static PublishingPicasaPublishingOptionsPaneSizeDescription** publishing_picasa_ #line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" _tmp10__length1 = _result__length1; #line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" - _tmp11_ = _ ("Google+ (2048 x 1536 pixels)"); + _tmp11_ = _ ("Google+ (2048 × 1536 pixels)"); #line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" _tmp12_ = publishing_picasa_publishing_options_pane_size_description_new (_tmp11_, 2048); #line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala" diff --git a/plugins/shotwell-publishing/PicasaPublishing.vala b/plugins/shotwell-publishing/PicasaPublishing.vala index a393c08..621ae12 100644 --- a/plugins/shotwell-publishing/PicasaPublishing.vala +++ b/plugins/shotwell-publishing/PicasaPublishing.vala @@ -56,7 +56,7 @@ public class PicasaService : Object, Spit.Pluggable, Spit.Publishing.Service { namespace Publishing.Picasa { internal const string SERVICE_WELCOME_MESSAGE = - _("You are not currently logged into Picasa Web Albums.\n\nClick Login to log into Picasa Web Albums in your Web browser. You will have to authorize Shotwell Connect to link to your Picasa Web Albums account."); + _("You are not currently logged into Picasa Web Albums.\n\nClick Log in to log into Picasa Web Albums in your Web browser. You will have to authorize Shotwell Connect to link to your Picasa Web Albums account."); internal const string DEFAULT_ALBUM_NAME = _("Shotwell Connect"); public class PicasaPublisher : Publishing.RESTSupport.GooglePublisher { @@ -358,7 +358,7 @@ public class PicasaPublisher : Publishing.RESTSupport.GooglePublisher { warning("Could not parse UI file! Error: %s.", e.message); get_host().post_error( new Spit.Publishing.PublishingError.LOCAL_FILE_ERROR( - _("A file required for publishing is unavailable. Publishing to Picasa can't continue."))); + _("A file required for publishing is unavailable. Publishing to Picasa can’t continue."))); return; } @@ -376,7 +376,7 @@ public class PicasaPublisher : Publishing.RESTSupport.GooglePublisher { debug("ACTION: creating new album '%s' on remote server.", publishing_parameters.get_target_album_name()); - get_host().install_static_message_pane(_("Creating album...")); + get_host().install_static_message_pane(_("Creating album…")); get_host().set_service_locked(true); @@ -743,10 +743,10 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, GLib.Object { private SizeDescription[] create_size_descriptions() { SizeDescription[] result = new SizeDescription[0]; - result += new SizeDescription(_("Small (640 x 480 pixels)"), 640); - result += new SizeDescription(_("Medium (1024 x 768 pixels)"), 1024); - result += new SizeDescription(_("Recommended (1600 x 1200 pixels)"), 1600); - result += new SizeDescription(_("Google+ (2048 x 1536 pixels)"), 2048); + result += new SizeDescription(_("Small (640 × 480 pixels)"), 640); + result += new SizeDescription(_("Medium (1024 × 768 pixels)"), 1024); + result += new SizeDescription(_("Recommended (1600 × 1200 pixels)"), 1600); + result += new SizeDescription(_("Google+ (2048 × 1536 pixels)"), 2048); result += new SizeDescription(_("Original Size"), PublishingParameters.ORIGINAL_SIZE); return result; diff --git a/plugins/shotwell-publishing/PiwigoPublishing.c b/plugins/shotwell-publishing/PiwigoPublishing.c index f8c3b68..f83e707 100644 --- a/plugins/shotwell-publishing/PiwigoPublishing.c +++ b/plugins/shotwell-publishing/PiwigoPublishing.c @@ -17,10 +17,12 @@ #include "shotwell-plugin-common.h" #include <glib/gi18n-lib.h> #include <gtk/gtk.h> +#include <libsoup/soup.h> #include <libxml/tree.h> #include <float.h> #include <math.h> -#include <libsoup/soup.h> +#include <gcr/gcr-base.h> +#include <ui/gcr-ui.h> #include <gobject/gvaluecollector.h> @@ -142,6 +144,17 @@ typedef struct _PublishingPiwigoTransactionClass PublishingPiwigoTransactionClas typedef struct _PublishingPiwigoSessionLoginTransaction PublishingPiwigoSessionLoginTransaction; typedef struct _PublishingPiwigoSessionLoginTransactionClass PublishingPiwigoSessionLoginTransactionClass; + +#define PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE (publishing_piwigo_ssl_error_pane_get_type ()) +#define PUBLISHING_PIWIGO_SSL_ERROR_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPane)) +#define PUBLISHING_PIWIGO_SSL_ERROR_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPaneClass)) +#define PUBLISHING_PIWIGO_IS_SSL_ERROR_PANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE)) +#define PUBLISHING_PIWIGO_IS_SSL_ERROR_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE)) +#define PUBLISHING_PIWIGO_SSL_ERROR_PANE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPaneClass)) + +typedef struct _PublishingPiwigoSSLErrorPane PublishingPiwigoSSLErrorPane; +typedef struct _PublishingPiwigoSSLErrorPaneClass PublishingPiwigoSSLErrorPaneClass; +#define __vala_SoupURI_free0(var) ((var == NULL) ? NULL : (var = (_vala_SoupURI_free (var), NULL))) #define _publishing_rest_support_transaction_unref0(var) ((var == NULL) ? NULL : (var = (publishing_rest_support_transaction_unref (var), NULL))) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) #define _publishing_rest_support_xml_document_unref0(var) ((var == NULL) ? NULL : (var = (publishing_rest_support_xml_document_unref (var), NULL))) @@ -220,11 +233,15 @@ typedef struct _PublishingPiwigoUploaderPrivate PublishingPiwigoUploaderPrivate; typedef struct _PublishingPiwigoImagesAddTransaction PublishingPiwigoImagesAddTransaction; typedef struct _PublishingPiwigoImagesAddTransactionClass PublishingPiwigoImagesAddTransactionClass; +typedef struct _PublishingPiwigoSSLErrorPanePrivate PublishingPiwigoSSLErrorPanePrivate; +typedef struct _Block1Data Block1Data; +#define _g_byte_array_unref0(var) ((var == NULL) ? NULL : (var = (g_byte_array_unref (var), NULL))) typedef struct _PublishingPiwigoAuthenticationPanePrivate PublishingPiwigoAuthenticationPanePrivate; typedef struct _PublishingPiwigoPublishingOptionsPanePrivate PublishingPiwigoPublishingOptionsPanePrivate; typedef struct _PublishingPiwigoSessionPrivate PublishingPiwigoSessionPrivate; typedef struct _PublishingPiwigoTransactionPrivate PublishingPiwigoTransactionPrivate; typedef struct _PublishingPiwigoSessionLoginTransactionPrivate PublishingPiwigoSessionLoginTransactionPrivate; +#define _publishing_rest_support_argument_unref0(var) ((var == NULL) ? NULL : (var = (publishing_rest_support_argument_unref (var), NULL))) typedef struct _PublishingPiwigoSessionGetStatusTransactionPrivate PublishingPiwigoSessionGetStatusTransactionPrivate; typedef struct _PublishingPiwigoCategoriesGetListTransactionPrivate PublishingPiwigoCategoriesGetListTransactionPrivate; typedef struct _PublishingPiwigoSessionLogoutTransactionPrivate PublishingPiwigoSessionLogoutTransactionPrivate; @@ -362,6 +379,26 @@ struct _PublishingPiwigoUploaderPrivate { PublishingPiwigoPublishingParameters* parameters; }; +struct _PublishingPiwigoSSLErrorPane { + GObject parent_instance; + PublishingPiwigoSSLErrorPanePrivate * priv; +}; + +struct _PublishingPiwigoSSLErrorPaneClass { + GObjectClass parent_class; +}; + +struct _PublishingPiwigoSSLErrorPanePrivate { + GtkBuilder* builder; + GtkWidget* content; +}; + +struct _Block1Data { + int _ref_count_; + PublishingPiwigoSSLErrorPane* self; + GTlsCertificate* cert; +}; + struct _PublishingPiwigoAuthenticationPane { GObject parent_instance; PublishingPiwigoAuthenticationPanePrivate * priv; @@ -522,6 +559,8 @@ static gpointer publishing_piwigo_publishing_parameters_parent_class = NULL; static gpointer publishing_piwigo_piwigo_publisher_parent_class = NULL; static SpitPublishingPublisherIface* publishing_piwigo_piwigo_publisher_spit_publishing_publisher_parent_iface = NULL; static gpointer publishing_piwigo_uploader_parent_class = NULL; +static gpointer publishing_piwigo_ssl_error_pane_parent_class = NULL; +static SpitPublishingDialogPaneIface* publishing_piwigo_ssl_error_pane_spit_publishing_dialog_pane_parent_iface = NULL; static gpointer publishing_piwigo_authentication_pane_parent_class = NULL; static gchar* publishing_piwigo_authentication_pane_INTRO_MESSAGE; static gchar* publishing_piwigo_authentication_pane_INTRO_MESSAGE = NULL; @@ -665,6 +704,14 @@ static void _publishing_piwigo_piwigo_publisher_on_authentication_pane_login_cli GtkWidget* publishing_piwigo_authentication_pane_get_default_widget (PublishingPiwigoAuthenticationPane* self); GType publishing_piwigo_transaction_get_type (void) G_GNUC_CONST; GType publishing_piwigo_session_login_transaction_get_type (void) G_GNUC_CONST; +static void publishing_piwigo_piwigo_publisher_do_show_ssl_downgrade_pane (PublishingPiwigoPiwigoPublisher* self, PublishingPiwigoSessionLoginTransaction* trans, const gchar* url); +GType publishing_piwigo_ssl_error_pane_get_type (void) G_GNUC_CONST; +PublishingPiwigoSSLErrorPane* publishing_piwigo_ssl_error_pane_new (PublishingPiwigoSessionLoginTransaction* transaction, const gchar* host); +PublishingPiwigoSSLErrorPane* publishing_piwigo_ssl_error_pane_construct (GType object_type, PublishingPiwigoSessionLoginTransaction* transaction, const gchar* host); +static void __lambda6_ (PublishingPiwigoPiwigoPublisher* self); +static void ___lambda6__publishing_piwigo_ssl_error_pane_proceed (PublishingPiwigoSSLErrorPane* _sender, gpointer self); +GtkWidget* publishing_piwigo_ssl_error_pane_get_default_widget (PublishingPiwigoSSLErrorPane* self); +static void _vala_SoupURI_free (SoupURI* self); gchar* publishing_piwigo_piwigo_publisher_normalise_url (const gchar* url); PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transaction_new (PublishingPiwigoSession* session, const gchar* url, const gchar* username, const gchar* password); PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transaction_construct (GType object_type, PublishingPiwigoSession* session, const gchar* url, const gchar* username, const gchar* password); @@ -753,6 +800,21 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_n PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_construct (GType object_type, PublishingPiwigoSession* session, PublishingPiwigoPublishingParameters* parameters, SpitPublishingPublishable* publishable); GType publishing_piwigo_images_add_transaction_get_type (void) G_GNUC_CONST; static void publishing_piwigo_uploader_finalize (PublishingRESTSupportBatchUploader* obj); +#define PUBLISHING_PIWIGO_SSL_ERROR_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPanePrivate)) +enum { + PUBLISHING_PIWIGO_SSL_ERROR_PANE_DUMMY_PROPERTY +}; +static Block1Data* block1_data_ref (Block1Data* _data1_); +static void block1_data_unref (void * _userdata_); +static void ___lambda4_ (Block1Data* _data1_); +static void ____lambda4__gtk_button_clicked (GtkButton* _sender, gpointer self); +static void ___lambda5_ (PublishingPiwigoSSLErrorPane* self); +static void ____lambda5__gtk_button_clicked (GtkButton* _sender, gpointer self); +static SpitPublishingDialogPaneGeometryOptions publishing_piwigo_ssl_error_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base); +static GtkWidget* publishing_piwigo_ssl_error_pane_real_get_widget (SpitPublishingDialogPane* base); +static void publishing_piwigo_ssl_error_pane_real_on_pane_installed (SpitPublishingDialogPane* base); +static void publishing_piwigo_ssl_error_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base); +static void publishing_piwigo_ssl_error_pane_finalize (GObject* obj); #define PUBLISHING_PIWIGO_AUTHENTICATION_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, PublishingPiwigoAuthenticationPanePrivate)) enum { PUBLISHING_PIWIGO_AUTHENTICATION_PANE_DUMMY_PROPERTY @@ -833,6 +895,8 @@ PublishingPiwigoTransaction* publishing_piwigo_transaction_construct_authenticat enum { PUBLISHING_PIWIGO_SESSION_LOGIN_TRANSACTION_DUMMY_PROPERTY }; +PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transaction_new_from_other (PublishingPiwigoSession* session, PublishingPiwigoTransaction* other); +PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transaction_construct_from_other (GType object_type, PublishingPiwigoSession* session, PublishingPiwigoTransaction* other); enum { PUBLISHING_PIWIGO_SESSION_GET_STATUS_TRANSACTION_DUMMY_PROPERTY }; @@ -870,7 +934,7 @@ PiwigoService* piwigo_service_construct (GType object_type, GFile* resource_dire _tmp0__length1 = piwigo_service_icon_pixbuf_set_length1; #line 13 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp0_ == NULL) { -#line 874 "PiwigoPublishing.c" +#line 938 "PiwigoPublishing.c" gint _tmp1_ = 0; GdkPixbuf** _tmp2_ = NULL; #line 14 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -883,18 +947,18 @@ PiwigoService* piwigo_service_construct (GType object_type, GFile* resource_dire piwigo_service_icon_pixbuf_set_length1 = _tmp1_; #line 14 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _piwigo_service_icon_pixbuf_set_size_ = piwigo_service_icon_pixbuf_set_length1; -#line 887 "PiwigoPublishing.c" +#line 951 "PiwigoPublishing.c" } #line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 891 "PiwigoPublishing.c" +#line 955 "PiwigoPublishing.c" } PiwigoService* piwigo_service_new (GFile* resource_directory) { #line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return piwigo_service_construct (TYPE_PIWIGO_SERVICE, resource_directory); -#line 898 "PiwigoPublishing.c" +#line 962 "PiwigoPublishing.c" } @@ -916,7 +980,7 @@ static gint piwigo_service_real_get_pluggable_interface (SpitPluggable* base, gi result = _tmp2_; #line 19 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 920 "PiwigoPublishing.c" +#line 984 "PiwigoPublishing.c" } @@ -929,7 +993,7 @@ static const gchar* piwigo_service_real_get_id (SpitPluggable* base) { result = "org.yorba.shotwell.publishing.piwigo"; #line 24 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 933 "PiwigoPublishing.c" +#line 997 "PiwigoPublishing.c" } @@ -942,14 +1006,14 @@ static const gchar* piwigo_service_real_get_pluggable_name (SpitPluggable* base) result = "Piwigo"; #line 28 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 946 "PiwigoPublishing.c" +#line 1010 "PiwigoPublishing.c" } static gpointer _g_object_ref0 (gpointer self) { #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self ? g_object_ref (self) : NULL; -#line 953 "PiwigoPublishing.c" +#line 1017 "PiwigoPublishing.c" } @@ -960,17 +1024,17 @@ static GdkPixbuf** _vala_array_dup10 (GdkPixbuf** self, int length) { result = g_new0 (GdkPixbuf*, length + 1); #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" for (i = 0; i < length; i++) { -#line 964 "PiwigoPublishing.c" +#line 1028 "PiwigoPublishing.c" GdkPixbuf* _tmp0_ = NULL; #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = _g_object_ref0 (self[i]); #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result[i] = _tmp0_; -#line 970 "PiwigoPublishing.c" +#line 1034 "PiwigoPublishing.c" } #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 974 "PiwigoPublishing.c" +#line 1038 "PiwigoPublishing.c" } @@ -1052,7 +1116,7 @@ static void piwigo_service_real_get_info (SpitPluggable* base, SpitPluggableInfo (*info).icons = _tmp9_; #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*info).icons_length1 = _tmp9__length1; -#line 1056 "PiwigoPublishing.c" +#line 1120 "PiwigoPublishing.c" } @@ -1060,7 +1124,7 @@ static void piwigo_service_real_activation (SpitPluggable* base, gboolean enable PiwigoService * self; #line 43 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PIWIGO_SERVICE, PiwigoService); -#line 1064 "PiwigoPublishing.c" +#line 1128 "PiwigoPublishing.c" } @@ -1081,7 +1145,7 @@ static SpitPublishingPublisher* piwigo_service_real_create_publisher (SpitPublis result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher); #line 47 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 1085 "PiwigoPublishing.c" +#line 1149 "PiwigoPublishing.c" } @@ -1094,7 +1158,7 @@ static SpitPublishingPublisherMediaType piwigo_service_real_get_supported_media result = SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO; #line 51 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 1098 "PiwigoPublishing.c" +#line 1162 "PiwigoPublishing.c" } @@ -1103,7 +1167,7 @@ static void piwigo_service_class_init (PiwigoServiceClass * klass) { piwigo_service_parent_class = g_type_class_peek_parent (klass); #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" G_OBJECT_CLASS (klass)->finalize = piwigo_service_finalize; -#line 1107 "PiwigoPublishing.c" +#line 1171 "PiwigoPublishing.c" } @@ -1120,7 +1184,7 @@ static void piwigo_service_spit_pluggable_interface_init (SpitPluggableIface * i iface->get_info = (void (*)(SpitPluggable*, SpitPluggableInfo*)) piwigo_service_real_get_info; #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" iface->activation = (void (*)(SpitPluggable*, gboolean)) piwigo_service_real_activation; -#line 1124 "PiwigoPublishing.c" +#line 1188 "PiwigoPublishing.c" } @@ -1131,7 +1195,7 @@ static void piwigo_service_spit_publishing_service_interface_init (SpitPublishin iface->create_publisher = (SpitPublishingPublisher* (*)(SpitPublishingService*, SpitPublishingPluginHost*)) piwigo_service_real_create_publisher; #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" iface->get_supported_media = (SpitPublishingPublisherMediaType (*)(SpitPublishingService*)) piwigo_service_real_get_supported_media; -#line 1135 "PiwigoPublishing.c" +#line 1199 "PiwigoPublishing.c" } @@ -1145,7 +1209,7 @@ static void piwigo_service_finalize (GObject* obj) { self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PIWIGO_SERVICE, PiwigoService); #line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" G_OBJECT_CLASS (piwigo_service_parent_class)->finalize (obj); -#line 1149 "PiwigoPublishing.c" +#line 1213 "PiwigoPublishing.c" } @@ -1210,14 +1274,14 @@ PublishingPiwigoCategory* publishing_piwigo_category_construct (GType object_typ self->comment = _tmp6_; #line 69 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 1214 "PiwigoPublishing.c" +#line 1278 "PiwigoPublishing.c" } PublishingPiwigoCategory* publishing_piwigo_category_new (gint id, const gchar* name, const gchar* uppercats, const gchar* comment) { #line 69 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_category_construct (PUBLISHING_PIWIGO_TYPE_CATEGORY, id, name, uppercats, comment); -#line 1221 "PiwigoPublishing.c" +#line 1285 "PiwigoPublishing.c" } @@ -1261,14 +1325,14 @@ PublishingPiwigoCategory* publishing_piwigo_category_construct_local (GType obje self->comment = _tmp5_; #line 76 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 1265 "PiwigoPublishing.c" +#line 1329 "PiwigoPublishing.c" } PublishingPiwigoCategory* publishing_piwigo_category_new_local (const gchar* name, gint parent_id, const gchar* comment) { #line 76 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_category_construct_local (PUBLISHING_PIWIGO_TYPE_CATEGORY, name, parent_id, comment); -#line 1272 "PiwigoPublishing.c" +#line 1336 "PiwigoPublishing.c" } @@ -1283,14 +1347,14 @@ gboolean publishing_piwigo_category_is_local (PublishingPiwigoCategory* self) { result = _tmp0_ == PUBLISHING_PIWIGO_CATEGORY_NO_ID; #line 86 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 1287 "PiwigoPublishing.c" +#line 1351 "PiwigoPublishing.c" } static void publishing_piwigo_value_category_init (GValue* value) { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 1294 "PiwigoPublishing.c" +#line 1358 "PiwigoPublishing.c" } @@ -1299,7 +1363,7 @@ static void publishing_piwigo_value_category_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_category_unref (value->data[0].v_pointer); -#line 1303 "PiwigoPublishing.c" +#line 1367 "PiwigoPublishing.c" } } @@ -1309,11 +1373,11 @@ static void publishing_piwigo_value_category_copy_value (const GValue* src_value if (src_value->data[0].v_pointer) { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" dest_value->data[0].v_pointer = publishing_piwigo_category_ref (src_value->data[0].v_pointer); -#line 1313 "PiwigoPublishing.c" +#line 1377 "PiwigoPublishing.c" } else { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 1317 "PiwigoPublishing.c" +#line 1381 "PiwigoPublishing.c" } } @@ -1321,37 +1385,37 @@ static void publishing_piwigo_value_category_copy_value (const GValue* src_value static gpointer publishing_piwigo_value_category_peek_pointer (const GValue* value) { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return value->data[0].v_pointer; -#line 1325 "PiwigoPublishing.c" +#line 1389 "PiwigoPublishing.c" } static gchar* publishing_piwigo_value_category_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (collect_values[0].v_pointer) { -#line 1332 "PiwigoPublishing.c" +#line 1396 "PiwigoPublishing.c" PublishingPiwigoCategory* object; object = collect_values[0].v_pointer; #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (object->parent_instance.g_class == NULL) { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1339 "PiwigoPublishing.c" +#line 1403 "PiwigoPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1343 "PiwigoPublishing.c" +#line 1407 "PiwigoPublishing.c" } #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = publishing_piwigo_category_ref (object); -#line 1347 "PiwigoPublishing.c" +#line 1411 "PiwigoPublishing.c" } else { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 1351 "PiwigoPublishing.c" +#line 1415 "PiwigoPublishing.c" } #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 1355 "PiwigoPublishing.c" +#line 1419 "PiwigoPublishing.c" } @@ -1362,25 +1426,25 @@ static gchar* publishing_piwigo_value_category_lcopy_value (const GValue* value, if (!object_p) { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 1366 "PiwigoPublishing.c" +#line 1430 "PiwigoPublishing.c" } #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!value->data[0].v_pointer) { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *object_p = NULL; -#line 1372 "PiwigoPublishing.c" +#line 1436 "PiwigoPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *object_p = value->data[0].v_pointer; -#line 1376 "PiwigoPublishing.c" +#line 1440 "PiwigoPublishing.c" } else { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *object_p = publishing_piwigo_category_ref (value->data[0].v_pointer); -#line 1380 "PiwigoPublishing.c" +#line 1444 "PiwigoPublishing.c" } #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 1384 "PiwigoPublishing.c" +#line 1448 "PiwigoPublishing.c" } @@ -1394,7 +1458,7 @@ GParamSpec* publishing_piwigo_param_spec_category (const gchar* name, const gcha G_PARAM_SPEC (spec)->value_type = object_type; #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return G_PARAM_SPEC (spec); -#line 1398 "PiwigoPublishing.c" +#line 1462 "PiwigoPublishing.c" } @@ -1403,7 +1467,7 @@ gpointer publishing_piwigo_value_get_category (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PIWIGO_TYPE_CATEGORY), NULL); #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return value->data[0].v_pointer; -#line 1407 "PiwigoPublishing.c" +#line 1471 "PiwigoPublishing.c" } @@ -1423,17 +1487,17 @@ void publishing_piwigo_value_set_category (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_category_ref (value->data[0].v_pointer); -#line 1427 "PiwigoPublishing.c" +#line 1491 "PiwigoPublishing.c" } else { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 1431 "PiwigoPublishing.c" +#line 1495 "PiwigoPublishing.c" } #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (old) { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_category_unref (old); -#line 1437 "PiwigoPublishing.c" +#line 1501 "PiwigoPublishing.c" } } @@ -1452,17 +1516,17 @@ void publishing_piwigo_value_take_category (GValue* value, gpointer v_object) { g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = v_object; -#line 1456 "PiwigoPublishing.c" +#line 1520 "PiwigoPublishing.c" } else { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 1460 "PiwigoPublishing.c" +#line 1524 "PiwigoPublishing.c" } #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (old) { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_category_unref (old); -#line 1466 "PiwigoPublishing.c" +#line 1530 "PiwigoPublishing.c" } } @@ -1472,14 +1536,14 @@ static void publishing_piwigo_category_class_init (PublishingPiwigoCategoryClass publishing_piwigo_category_parent_class = g_type_class_peek_parent (klass); #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" ((PublishingPiwigoCategoryClass *) klass)->finalize = publishing_piwigo_category_finalize; -#line 1476 "PiwigoPublishing.c" +#line 1540 "PiwigoPublishing.c" } static void publishing_piwigo_category_instance_init (PublishingPiwigoCategory * self) { #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->ref_count = 1; -#line 1483 "PiwigoPublishing.c" +#line 1547 "PiwigoPublishing.c" } @@ -1497,7 +1561,7 @@ static void publishing_piwigo_category_finalize (PublishingPiwigoCategory* obj) _g_free0 (self->display_name); #line 66 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->uppercats); -#line 1501 "PiwigoPublishing.c" +#line 1565 "PiwigoPublishing.c" } @@ -1522,7 +1586,7 @@ gpointer publishing_piwigo_category_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return instance; -#line 1526 "PiwigoPublishing.c" +#line 1590 "PiwigoPublishing.c" } @@ -1535,7 +1599,7 @@ void publishing_piwigo_category_unref (gpointer instance) { PUBLISHING_PIWIGO_CATEGORY_GET_CLASS (self)->finalize (self); #line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 1539 "PiwigoPublishing.c" +#line 1603 "PiwigoPublishing.c" } } @@ -1563,21 +1627,21 @@ PublishingPiwigoPermissionLevel* publishing_piwigo_permission_level_construct (G self->name = _tmp2_; #line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 1567 "PiwigoPublishing.c" +#line 1631 "PiwigoPublishing.c" } PublishingPiwigoPermissionLevel* publishing_piwigo_permission_level_new (gint id, const gchar* name) { #line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_permission_level_construct (PUBLISHING_PIWIGO_TYPE_PERMISSION_LEVEL, id, name); -#line 1574 "PiwigoPublishing.c" +#line 1638 "PiwigoPublishing.c" } static void publishing_piwigo_value_permission_level_init (GValue* value) { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 1581 "PiwigoPublishing.c" +#line 1645 "PiwigoPublishing.c" } @@ -1586,7 +1650,7 @@ static void publishing_piwigo_value_permission_level_free_value (GValue* value) if (value->data[0].v_pointer) { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_permission_level_unref (value->data[0].v_pointer); -#line 1590 "PiwigoPublishing.c" +#line 1654 "PiwigoPublishing.c" } } @@ -1596,11 +1660,11 @@ static void publishing_piwigo_value_permission_level_copy_value (const GValue* s if (src_value->data[0].v_pointer) { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" dest_value->data[0].v_pointer = publishing_piwigo_permission_level_ref (src_value->data[0].v_pointer); -#line 1600 "PiwigoPublishing.c" +#line 1664 "PiwigoPublishing.c" } else { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 1604 "PiwigoPublishing.c" +#line 1668 "PiwigoPublishing.c" } } @@ -1608,37 +1672,37 @@ static void publishing_piwigo_value_permission_level_copy_value (const GValue* s static gpointer publishing_piwigo_value_permission_level_peek_pointer (const GValue* value) { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return value->data[0].v_pointer; -#line 1612 "PiwigoPublishing.c" +#line 1676 "PiwigoPublishing.c" } static gchar* publishing_piwigo_value_permission_level_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (collect_values[0].v_pointer) { -#line 1619 "PiwigoPublishing.c" +#line 1683 "PiwigoPublishing.c" PublishingPiwigoPermissionLevel* object; object = collect_values[0].v_pointer; #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (object->parent_instance.g_class == NULL) { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1626 "PiwigoPublishing.c" +#line 1690 "PiwigoPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1630 "PiwigoPublishing.c" +#line 1694 "PiwigoPublishing.c" } #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = publishing_piwigo_permission_level_ref (object); -#line 1634 "PiwigoPublishing.c" +#line 1698 "PiwigoPublishing.c" } else { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 1638 "PiwigoPublishing.c" +#line 1702 "PiwigoPublishing.c" } #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 1642 "PiwigoPublishing.c" +#line 1706 "PiwigoPublishing.c" } @@ -1649,25 +1713,25 @@ static gchar* publishing_piwigo_value_permission_level_lcopy_value (const GValue if (!object_p) { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 1653 "PiwigoPublishing.c" +#line 1717 "PiwigoPublishing.c" } #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!value->data[0].v_pointer) { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *object_p = NULL; -#line 1659 "PiwigoPublishing.c" +#line 1723 "PiwigoPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *object_p = value->data[0].v_pointer; -#line 1663 "PiwigoPublishing.c" +#line 1727 "PiwigoPublishing.c" } else { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *object_p = publishing_piwigo_permission_level_ref (value->data[0].v_pointer); -#line 1667 "PiwigoPublishing.c" +#line 1731 "PiwigoPublishing.c" } #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 1671 "PiwigoPublishing.c" +#line 1735 "PiwigoPublishing.c" } @@ -1681,7 +1745,7 @@ GParamSpec* publishing_piwigo_param_spec_permission_level (const gchar* name, co G_PARAM_SPEC (spec)->value_type = object_type; #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return G_PARAM_SPEC (spec); -#line 1685 "PiwigoPublishing.c" +#line 1749 "PiwigoPublishing.c" } @@ -1690,7 +1754,7 @@ gpointer publishing_piwigo_value_get_permission_level (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PIWIGO_TYPE_PERMISSION_LEVEL), NULL); #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return value->data[0].v_pointer; -#line 1694 "PiwigoPublishing.c" +#line 1758 "PiwigoPublishing.c" } @@ -1710,17 +1774,17 @@ void publishing_piwigo_value_set_permission_level (GValue* value, gpointer v_obj value->data[0].v_pointer = v_object; #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_permission_level_ref (value->data[0].v_pointer); -#line 1714 "PiwigoPublishing.c" +#line 1778 "PiwigoPublishing.c" } else { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 1718 "PiwigoPublishing.c" +#line 1782 "PiwigoPublishing.c" } #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (old) { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_permission_level_unref (old); -#line 1724 "PiwigoPublishing.c" +#line 1788 "PiwigoPublishing.c" } } @@ -1739,17 +1803,17 @@ void publishing_piwigo_value_take_permission_level (GValue* value, gpointer v_ob g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = v_object; -#line 1743 "PiwigoPublishing.c" +#line 1807 "PiwigoPublishing.c" } else { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 1747 "PiwigoPublishing.c" +#line 1811 "PiwigoPublishing.c" } #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (old) { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_permission_level_unref (old); -#line 1753 "PiwigoPublishing.c" +#line 1817 "PiwigoPublishing.c" } } @@ -1759,14 +1823,14 @@ static void publishing_piwigo_permission_level_class_init (PublishingPiwigoPermi publishing_piwigo_permission_level_parent_class = g_type_class_peek_parent (klass); #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" ((PublishingPiwigoPermissionLevelClass *) klass)->finalize = publishing_piwigo_permission_level_finalize; -#line 1763 "PiwigoPublishing.c" +#line 1827 "PiwigoPublishing.c" } static void publishing_piwigo_permission_level_instance_init (PublishingPiwigoPermissionLevel * self) { #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->ref_count = 1; -#line 1770 "PiwigoPublishing.c" +#line 1834 "PiwigoPublishing.c" } @@ -1778,7 +1842,7 @@ static void publishing_piwigo_permission_level_finalize (PublishingPiwigoPermiss g_signal_handlers_destroy (self); #line 92 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->name); -#line 1782 "PiwigoPublishing.c" +#line 1846 "PiwigoPublishing.c" } @@ -1803,7 +1867,7 @@ gpointer publishing_piwigo_permission_level_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return instance; -#line 1807 "PiwigoPublishing.c" +#line 1871 "PiwigoPublishing.c" } @@ -1816,7 +1880,7 @@ void publishing_piwigo_permission_level_unref (gpointer instance) { PUBLISHING_PIWIGO_PERMISSION_LEVEL_GET_CLASS (self)->finalize (self); #line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 1820 "PiwigoPublishing.c" +#line 1884 "PiwigoPublishing.c" } } @@ -1844,21 +1908,21 @@ PublishingPiwigoSizeEntry* publishing_piwigo_size_entry_construct (GType object_ self->name = _tmp2_; #line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 1848 "PiwigoPublishing.c" +#line 1912 "PiwigoPublishing.c" } PublishingPiwigoSizeEntry* publishing_piwigo_size_entry_new (gint id, const gchar* name) { #line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_size_entry_construct (PUBLISHING_PIWIGO_TYPE_SIZE_ENTRY, id, name); -#line 1855 "PiwigoPublishing.c" +#line 1919 "PiwigoPublishing.c" } static void publishing_piwigo_value_size_entry_init (GValue* value) { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 1862 "PiwigoPublishing.c" +#line 1926 "PiwigoPublishing.c" } @@ -1867,7 +1931,7 @@ static void publishing_piwigo_value_size_entry_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_size_entry_unref (value->data[0].v_pointer); -#line 1871 "PiwigoPublishing.c" +#line 1935 "PiwigoPublishing.c" } } @@ -1877,11 +1941,11 @@ static void publishing_piwigo_value_size_entry_copy_value (const GValue* src_val if (src_value->data[0].v_pointer) { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" dest_value->data[0].v_pointer = publishing_piwigo_size_entry_ref (src_value->data[0].v_pointer); -#line 1881 "PiwigoPublishing.c" +#line 1945 "PiwigoPublishing.c" } else { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 1885 "PiwigoPublishing.c" +#line 1949 "PiwigoPublishing.c" } } @@ -1889,37 +1953,37 @@ static void publishing_piwigo_value_size_entry_copy_value (const GValue* src_val static gpointer publishing_piwigo_value_size_entry_peek_pointer (const GValue* value) { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return value->data[0].v_pointer; -#line 1893 "PiwigoPublishing.c" +#line 1957 "PiwigoPublishing.c" } static gchar* publishing_piwigo_value_size_entry_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (collect_values[0].v_pointer) { -#line 1900 "PiwigoPublishing.c" +#line 1964 "PiwigoPublishing.c" PublishingPiwigoSizeEntry* object; object = collect_values[0].v_pointer; #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (object->parent_instance.g_class == NULL) { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1907 "PiwigoPublishing.c" +#line 1971 "PiwigoPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1911 "PiwigoPublishing.c" +#line 1975 "PiwigoPublishing.c" } #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = publishing_piwigo_size_entry_ref (object); -#line 1915 "PiwigoPublishing.c" +#line 1979 "PiwigoPublishing.c" } else { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 1919 "PiwigoPublishing.c" +#line 1983 "PiwigoPublishing.c" } #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 1923 "PiwigoPublishing.c" +#line 1987 "PiwigoPublishing.c" } @@ -1930,25 +1994,25 @@ static gchar* publishing_piwigo_value_size_entry_lcopy_value (const GValue* valu if (!object_p) { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 1934 "PiwigoPublishing.c" +#line 1998 "PiwigoPublishing.c" } #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!value->data[0].v_pointer) { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *object_p = NULL; -#line 1940 "PiwigoPublishing.c" +#line 2004 "PiwigoPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *object_p = value->data[0].v_pointer; -#line 1944 "PiwigoPublishing.c" +#line 2008 "PiwigoPublishing.c" } else { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *object_p = publishing_piwigo_size_entry_ref (value->data[0].v_pointer); -#line 1948 "PiwigoPublishing.c" +#line 2012 "PiwigoPublishing.c" } #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 1952 "PiwigoPublishing.c" +#line 2016 "PiwigoPublishing.c" } @@ -1962,7 +2026,7 @@ GParamSpec* publishing_piwigo_param_spec_size_entry (const gchar* name, const gc G_PARAM_SPEC (spec)->value_type = object_type; #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return G_PARAM_SPEC (spec); -#line 1966 "PiwigoPublishing.c" +#line 2030 "PiwigoPublishing.c" } @@ -1971,7 +2035,7 @@ gpointer publishing_piwigo_value_get_size_entry (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PIWIGO_TYPE_SIZE_ENTRY), NULL); #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return value->data[0].v_pointer; -#line 1975 "PiwigoPublishing.c" +#line 2039 "PiwigoPublishing.c" } @@ -1991,17 +2055,17 @@ void publishing_piwigo_value_set_size_entry (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_size_entry_ref (value->data[0].v_pointer); -#line 1995 "PiwigoPublishing.c" +#line 2059 "PiwigoPublishing.c" } else { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 1999 "PiwigoPublishing.c" +#line 2063 "PiwigoPublishing.c" } #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (old) { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_size_entry_unref (old); -#line 2005 "PiwigoPublishing.c" +#line 2069 "PiwigoPublishing.c" } } @@ -2020,17 +2084,17 @@ void publishing_piwigo_value_take_size_entry (GValue* value, gpointer v_object) g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = v_object; -#line 2024 "PiwigoPublishing.c" +#line 2088 "PiwigoPublishing.c" } else { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 2028 "PiwigoPublishing.c" +#line 2092 "PiwigoPublishing.c" } #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (old) { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_size_entry_unref (old); -#line 2034 "PiwigoPublishing.c" +#line 2098 "PiwigoPublishing.c" } } @@ -2040,14 +2104,14 @@ static void publishing_piwigo_size_entry_class_init (PublishingPiwigoSizeEntryCl publishing_piwigo_size_entry_parent_class = g_type_class_peek_parent (klass); #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" ((PublishingPiwigoSizeEntryClass *) klass)->finalize = publishing_piwigo_size_entry_finalize; -#line 2044 "PiwigoPublishing.c" +#line 2108 "PiwigoPublishing.c" } static void publishing_piwigo_size_entry_instance_init (PublishingPiwigoSizeEntry * self) { #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->ref_count = 1; -#line 2051 "PiwigoPublishing.c" +#line 2115 "PiwigoPublishing.c" } @@ -2059,7 +2123,7 @@ static void publishing_piwigo_size_entry_finalize (PublishingPiwigoSizeEntry* ob g_signal_handlers_destroy (self); #line 102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->name); -#line 2063 "PiwigoPublishing.c" +#line 2127 "PiwigoPublishing.c" } @@ -2084,7 +2148,7 @@ gpointer publishing_piwigo_size_entry_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return instance; -#line 2088 "PiwigoPublishing.c" +#line 2152 "PiwigoPublishing.c" } @@ -2097,7 +2161,7 @@ void publishing_piwigo_size_entry_unref (gpointer instance) { PUBLISHING_PIWIGO_SIZE_ENTRY_GET_CLASS (self)->finalize (self); #line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 2101 "PiwigoPublishing.c" +#line 2165 "PiwigoPublishing.c" } } @@ -2108,21 +2172,21 @@ PublishingPiwigoPublishingParameters* publishing_piwigo_publishing_parameters_co self = (PublishingPiwigoPublishingParameters*) g_type_create_instance (object_type); #line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 2112 "PiwigoPublishing.c" +#line 2176 "PiwigoPublishing.c" } PublishingPiwigoPublishingParameters* publishing_piwigo_publishing_parameters_new (void) { #line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_publishing_parameters_construct (PUBLISHING_PIWIGO_TYPE_PUBLISHING_PARAMETERS); -#line 2119 "PiwigoPublishing.c" +#line 2183 "PiwigoPublishing.c" } static void publishing_piwigo_value_publishing_parameters_init (GValue* value) { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 2126 "PiwigoPublishing.c" +#line 2190 "PiwigoPublishing.c" } @@ -2131,7 +2195,7 @@ static void publishing_piwigo_value_publishing_parameters_free_value (GValue* va if (value->data[0].v_pointer) { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_parameters_unref (value->data[0].v_pointer); -#line 2135 "PiwigoPublishing.c" +#line 2199 "PiwigoPublishing.c" } } @@ -2141,11 +2205,11 @@ static void publishing_piwigo_value_publishing_parameters_copy_value (const GVal if (src_value->data[0].v_pointer) { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" dest_value->data[0].v_pointer = publishing_piwigo_publishing_parameters_ref (src_value->data[0].v_pointer); -#line 2145 "PiwigoPublishing.c" +#line 2209 "PiwigoPublishing.c" } else { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" dest_value->data[0].v_pointer = NULL; -#line 2149 "PiwigoPublishing.c" +#line 2213 "PiwigoPublishing.c" } } @@ -2153,37 +2217,37 @@ static void publishing_piwigo_value_publishing_parameters_copy_value (const GVal static gpointer publishing_piwigo_value_publishing_parameters_peek_pointer (const GValue* value) { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return value->data[0].v_pointer; -#line 2157 "PiwigoPublishing.c" +#line 2221 "PiwigoPublishing.c" } static gchar* publishing_piwigo_value_publishing_parameters_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (collect_values[0].v_pointer) { -#line 2164 "PiwigoPublishing.c" +#line 2228 "PiwigoPublishing.c" PublishingPiwigoPublishingParameters* object; object = collect_values[0].v_pointer; #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (object->parent_instance.g_class == NULL) { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 2171 "PiwigoPublishing.c" +#line 2235 "PiwigoPublishing.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 2175 "PiwigoPublishing.c" +#line 2239 "PiwigoPublishing.c" } #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = publishing_piwigo_publishing_parameters_ref (object); -#line 2179 "PiwigoPublishing.c" +#line 2243 "PiwigoPublishing.c" } else { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 2183 "PiwigoPublishing.c" +#line 2247 "PiwigoPublishing.c" } #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 2187 "PiwigoPublishing.c" +#line 2251 "PiwigoPublishing.c" } @@ -2194,25 +2258,25 @@ static gchar* publishing_piwigo_value_publishing_parameters_lcopy_value (const G if (!object_p) { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 2198 "PiwigoPublishing.c" +#line 2262 "PiwigoPublishing.c" } #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!value->data[0].v_pointer) { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *object_p = NULL; -#line 2204 "PiwigoPublishing.c" +#line 2268 "PiwigoPublishing.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *object_p = value->data[0].v_pointer; -#line 2208 "PiwigoPublishing.c" +#line 2272 "PiwigoPublishing.c" } else { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *object_p = publishing_piwigo_publishing_parameters_ref (value->data[0].v_pointer); -#line 2212 "PiwigoPublishing.c" +#line 2276 "PiwigoPublishing.c" } #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 2216 "PiwigoPublishing.c" +#line 2280 "PiwigoPublishing.c" } @@ -2226,7 +2290,7 @@ GParamSpec* publishing_piwigo_param_spec_publishing_parameters (const gchar* nam G_PARAM_SPEC (spec)->value_type = object_type; #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return G_PARAM_SPEC (spec); -#line 2230 "PiwigoPublishing.c" +#line 2294 "PiwigoPublishing.c" } @@ -2235,7 +2299,7 @@ gpointer publishing_piwigo_value_get_publishing_parameters (const GValue* value) g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PIWIGO_TYPE_PUBLISHING_PARAMETERS), NULL); #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return value->data[0].v_pointer; -#line 2239 "PiwigoPublishing.c" +#line 2303 "PiwigoPublishing.c" } @@ -2255,17 +2319,17 @@ void publishing_piwigo_value_set_publishing_parameters (GValue* value, gpointer value->data[0].v_pointer = v_object; #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_parameters_ref (value->data[0].v_pointer); -#line 2259 "PiwigoPublishing.c" +#line 2323 "PiwigoPublishing.c" } else { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 2263 "PiwigoPublishing.c" +#line 2327 "PiwigoPublishing.c" } #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (old) { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_parameters_unref (old); -#line 2269 "PiwigoPublishing.c" +#line 2333 "PiwigoPublishing.c" } } @@ -2284,17 +2348,17 @@ void publishing_piwigo_value_take_publishing_parameters (GValue* value, gpointer g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = v_object; -#line 2288 "PiwigoPublishing.c" +#line 2352 "PiwigoPublishing.c" } else { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" value->data[0].v_pointer = NULL; -#line 2292 "PiwigoPublishing.c" +#line 2356 "PiwigoPublishing.c" } #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (old) { #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_parameters_unref (old); -#line 2298 "PiwigoPublishing.c" +#line 2362 "PiwigoPublishing.c" } } @@ -2304,7 +2368,7 @@ static void publishing_piwigo_publishing_parameters_class_init (PublishingPiwigo publishing_piwigo_publishing_parameters_parent_class = g_type_class_peek_parent (klass); #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" ((PublishingPiwigoPublishingParametersClass *) klass)->finalize = publishing_piwigo_publishing_parameters_finalize; -#line 2308 "PiwigoPublishing.c" +#line 2372 "PiwigoPublishing.c" } @@ -2321,7 +2385,7 @@ static void publishing_piwigo_publishing_parameters_instance_init (PublishingPiw self->no_upload_tags = FALSE; #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->ref_count = 1; -#line 2325 "PiwigoPublishing.c" +#line 2389 "PiwigoPublishing.c" } @@ -2337,7 +2401,7 @@ static void publishing_piwigo_publishing_parameters_finalize (PublishingPiwigoPu _publishing_piwigo_permission_level_unref0 (self->perm_level); #line 113 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_size_entry_unref0 (self->photo_size); -#line 2341 "PiwigoPublishing.c" +#line 2405 "PiwigoPublishing.c" } @@ -2362,7 +2426,7 @@ gpointer publishing_piwigo_publishing_parameters_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return instance; -#line 2366 "PiwigoPublishing.c" +#line 2430 "PiwigoPublishing.c" } @@ -2375,7 +2439,7 @@ void publishing_piwigo_publishing_parameters_unref (gpointer instance) { PUBLISHING_PIWIGO_PUBLISHING_PARAMETERS_GET_CLASS (self)->finalize (self); #line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_type_free_instance ((GTypeInstance *) self); -#line 2379 "PiwigoPublishing.c" +#line 2443 "PiwigoPublishing.c" } } @@ -2419,14 +2483,14 @@ PublishingPiwigoPiwigoPublisher* publishing_piwigo_piwigo_publisher_construct (G self->priv->session = _tmp4_; #line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 2423 "PiwigoPublishing.c" +#line 2487 "PiwigoPublishing.c" } PublishingPiwigoPiwigoPublisher* publishing_piwigo_piwigo_publisher_new (SpitPublishingService* service, SpitPublishingPluginHost* host) { #line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_piwigo_publisher_construct (PUBLISHING_PIWIGO_TYPE_PIWIGO_PUBLISHER, service, host); -#line 2430 "PiwigoPublishing.c" +#line 2494 "PiwigoPublishing.c" } @@ -2445,7 +2509,7 @@ static SpitPublishingService* publishing_piwigo_piwigo_publisher_real_get_servic result = _tmp1_; #line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 2449 "PiwigoPublishing.c" +#line 2513 "PiwigoPublishing.c" } @@ -2463,7 +2527,7 @@ SpitPublishingPluginHost* publishing_piwigo_piwigo_publisher_get_host (Publishin result = _tmp1_; #line 146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 2467 "PiwigoPublishing.c" +#line 2531 "PiwigoPublishing.c" } @@ -2479,7 +2543,7 @@ static gboolean publishing_piwigo_piwigo_publisher_real_is_running (SpitPublishi result = _tmp0_; #line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 2483 "PiwigoPublishing.c" +#line 2547 "PiwigoPublishing.c" } @@ -2496,7 +2560,7 @@ static void publishing_piwigo_piwigo_publisher_real_start (SpitPublishingPublish if (_tmp0_) { #line 155 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 2500 "PiwigoPublishing.c" +#line 2564 "PiwigoPublishing.c" } #line 157 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_debug ("PiwigoPublishing.vala:157: PiwigoPublisher: starting interaction."); @@ -2512,7 +2576,7 @@ static void publishing_piwigo_piwigo_publisher_real_start (SpitPublishingPublish g_debug ("PiwigoPublishing.vala:162: PiwigoPublisher: session is authenticated."); #line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_fetch_categories (self); -#line 2516 "PiwigoPublishing.c" +#line 2580 "PiwigoPublishing.c" } else { gchar* persistent_url = NULL; gchar* _tmp3_ = NULL; @@ -2542,35 +2606,35 @@ static void publishing_piwigo_piwigo_publisher_real_start (SpitPublishingPublish _tmp8_ = persistent_url; #line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp8_ != NULL) { -#line 2545 "PiwigoPublishing.c" +#line 2609 "PiwigoPublishing.c" const gchar* _tmp9_ = NULL; #line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = persistent_username; #line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _tmp9_ != NULL; -#line 2551 "PiwigoPublishing.c" +#line 2615 "PiwigoPublishing.c" } else { #line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = FALSE; -#line 2555 "PiwigoPublishing.c" +#line 2619 "PiwigoPublishing.c" } #line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp7_) { -#line 2559 "PiwigoPublishing.c" +#line 2623 "PiwigoPublishing.c" const gchar* _tmp10_ = NULL; #line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = persistent_password; #line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _tmp10_ != NULL; -#line 2565 "PiwigoPublishing.c" +#line 2629 "PiwigoPublishing.c" } else { #line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = FALSE; -#line 2569 "PiwigoPublishing.c" +#line 2633 "PiwigoPublishing.c" } #line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp6_) { -#line 2573 "PiwigoPublishing.c" +#line 2637 "PiwigoPublishing.c" const gchar* _tmp11_ = NULL; const gchar* _tmp12_ = NULL; const gchar* _tmp13_ = NULL; @@ -2585,11 +2649,11 @@ static void publishing_piwigo_piwigo_publisher_real_start (SpitPublishingPublish _tmp14_ = publishing_piwigo_piwigo_publisher_get_remember_password (self); #line 170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_network_login (self, _tmp11_, _tmp12_, _tmp13_, _tmp14_); -#line 2588 "PiwigoPublishing.c" +#line 2652 "PiwigoPublishing.c" } else { #line 173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_authentication_pane (self, PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_INTRO); -#line 2592 "PiwigoPublishing.c" +#line 2656 "PiwigoPublishing.c" } #line 161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (persistent_password); @@ -2597,7 +2661,7 @@ static void publishing_piwigo_piwigo_publisher_real_start (SpitPublishingPublish _g_free0 (persistent_username); #line 161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (persistent_url); -#line 2600 "PiwigoPublishing.c" +#line 2664 "PiwigoPublishing.c" } } @@ -2608,7 +2672,7 @@ static void publishing_piwigo_piwigo_publisher_real_stop (SpitPublishingPublishe self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_PIWIGO_PUBLISHER, PublishingPiwigoPiwigoPublisher); #line 178 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->running = FALSE; -#line 2611 "PiwigoPublishing.c" +#line 2675 "PiwigoPublishing.c" } @@ -2626,7 +2690,7 @@ gchar* publishing_piwigo_piwigo_publisher_get_persistent_url (PublishingPiwigoPi result = _tmp1_; #line 184 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 2629 "PiwigoPublishing.c" +#line 2693 "PiwigoPublishing.c" } @@ -2643,7 +2707,7 @@ static void publishing_piwigo_piwigo_publisher_set_persistent_url (PublishingPiw _tmp1_ = url; #line 188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_host_interface_set_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "url", _tmp1_); -#line 2646 "PiwigoPublishing.c" +#line 2710 "PiwigoPublishing.c" } @@ -2661,7 +2725,7 @@ gchar* publishing_piwigo_piwigo_publisher_get_persistent_username (PublishingPiw result = _tmp1_; #line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 2664 "PiwigoPublishing.c" +#line 2728 "PiwigoPublishing.c" } @@ -2678,7 +2742,7 @@ static void publishing_piwigo_piwigo_publisher_set_persistent_username (Publishi _tmp1_ = username; #line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_host_interface_set_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "username", _tmp1_); -#line 2681 "PiwigoPublishing.c" +#line 2745 "PiwigoPublishing.c" } @@ -2696,7 +2760,7 @@ gchar* publishing_piwigo_piwigo_publisher_get_persistent_password (PublishingPiw result = _tmp1_; #line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 2699 "PiwigoPublishing.c" +#line 2763 "PiwigoPublishing.c" } @@ -2711,7 +2775,7 @@ static void publishing_piwigo_piwigo_publisher_set_persistent_password (Publishi _tmp1_ = password; #line 204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_host_interface_set_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "password", _tmp1_); -#line 2714 "PiwigoPublishing.c" +#line 2778 "PiwigoPublishing.c" } @@ -2729,7 +2793,7 @@ gboolean publishing_piwigo_piwigo_publisher_get_remember_password (PublishingPiw result = _tmp1_; #line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 2732 "PiwigoPublishing.c" +#line 2796 "PiwigoPublishing.c" } @@ -2744,7 +2808,7 @@ static void publishing_piwigo_piwigo_publisher_set_remember_password (Publishing _tmp1_ = remember_password; #line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_host_interface_set_config_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "remember-password", _tmp1_); -#line 2747 "PiwigoPublishing.c" +#line 2811 "PiwigoPublishing.c" } @@ -2762,7 +2826,7 @@ gint publishing_piwigo_piwigo_publisher_get_last_category (PublishingPiwigoPiwig result = _tmp1_; #line 216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 2765 "PiwigoPublishing.c" +#line 2829 "PiwigoPublishing.c" } @@ -2777,7 +2841,7 @@ static void publishing_piwigo_piwigo_publisher_set_last_category (PublishingPiwi _tmp1_ = last_category; #line 220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_host_interface_set_config_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-category", _tmp1_); -#line 2780 "PiwigoPublishing.c" +#line 2844 "PiwigoPublishing.c" } @@ -2795,7 +2859,7 @@ gint publishing_piwigo_piwigo_publisher_get_last_permission_level (PublishingPiw result = _tmp1_; #line 224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 2798 "PiwigoPublishing.c" +#line 2862 "PiwigoPublishing.c" } @@ -2810,7 +2874,7 @@ static void publishing_piwigo_piwigo_publisher_set_last_permission_level (Publis _tmp1_ = last_permission_level; #line 228 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_host_interface_set_config_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-permission-level", _tmp1_); -#line 2813 "PiwigoPublishing.c" +#line 2877 "PiwigoPublishing.c" } @@ -2828,7 +2892,7 @@ gint publishing_piwigo_piwigo_publisher_get_last_photo_size (PublishingPiwigoPiw result = _tmp1_; #line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 2831 "PiwigoPublishing.c" +#line 2895 "PiwigoPublishing.c" } @@ -2843,7 +2907,7 @@ static void publishing_piwigo_piwigo_publisher_set_last_photo_size (PublishingPi _tmp1_ = last_photo_size; #line 236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_host_interface_set_config_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-photo-size", _tmp1_); -#line 2846 "PiwigoPublishing.c" +#line 2910 "PiwigoPublishing.c" } @@ -2861,7 +2925,7 @@ static gboolean publishing_piwigo_piwigo_publisher_get_last_title_as_comment (Pu result = _tmp1_; #line 240 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 2864 "PiwigoPublishing.c" +#line 2928 "PiwigoPublishing.c" } @@ -2876,7 +2940,7 @@ static void publishing_piwigo_piwigo_publisher_set_last_title_as_comment (Publis _tmp1_ = title_as_comment; #line 244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_host_interface_set_config_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-title-as-comment", _tmp1_); -#line 2879 "PiwigoPublishing.c" +#line 2943 "PiwigoPublishing.c" } @@ -2894,7 +2958,7 @@ static gboolean publishing_piwigo_piwigo_publisher_get_last_no_upload_tags (Publ result = _tmp1_; #line 248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 2897 "PiwigoPublishing.c" +#line 2961 "PiwigoPublishing.c" } @@ -2909,7 +2973,7 @@ static void publishing_piwigo_piwigo_publisher_set_last_no_upload_tags (Publishi _tmp1_ = no_upload_tags; #line 252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_host_interface_set_config_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-no-upload-tags", _tmp1_); -#line 2912 "PiwigoPublishing.c" +#line 2976 "PiwigoPublishing.c" } @@ -2927,7 +2991,7 @@ static gboolean publishing_piwigo_piwigo_publisher_get_metadata_removal_choice ( result = _tmp1_; #line 256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 2930 "PiwigoPublishing.c" +#line 2994 "PiwigoPublishing.c" } @@ -2942,7 +3006,7 @@ static void publishing_piwigo_piwigo_publisher_set_metadata_removal_choice (Publ _tmp1_ = strip_metadata; #line 260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_host_interface_set_config_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "strip_metadata", _tmp1_); -#line 2945 "PiwigoPublishing.c" +#line 3009 "PiwigoPublishing.c" } @@ -2960,7 +3024,7 @@ static void publishing_piwigo_piwigo_publisher_set_metadata_removal_choice (Publ static void _publishing_piwigo_piwigo_publisher_on_authentication_pane_login_clicked_publishing_piwigo_authentication_pane_login (PublishingPiwigoAuthenticationPane* _sender, const gchar* url, const gchar* user, const gchar* password, gboolean remember_password, gpointer self) { #line 282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_authentication_pane_login_clicked ((PublishingPiwigoPiwigoPublisher*) self, url, user, password, remember_password); -#line 2963 "PiwigoPublishing.c" +#line 3027 "PiwigoPublishing.c" } @@ -3005,7 +3069,182 @@ static void publishing_piwigo_piwigo_publisher_do_show_authentication_pane (Publ _g_object_unref0 (_tmp6_); #line 276 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (authentication_pane); -#line 3008 "PiwigoPublishing.c" +#line 3072 "PiwigoPublishing.c" +} + + +static void __lambda6_ (PublishingPiwigoPiwigoPublisher* self) { + PublishingPiwigoSession* _tmp0_ = NULL; + PublishingPiwigoSession* _tmp1_ = NULL; + gchar* persistent_url = NULL; + gchar* _tmp2_ = NULL; + gchar* persistent_username = NULL; + gchar* _tmp3_ = NULL; + gchar* persistent_password = NULL; + gchar* _tmp4_ = NULL; + gboolean _tmp5_ = FALSE; + gboolean _tmp6_ = FALSE; + const gchar* _tmp7_ = NULL; +#line 293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:293: SSL: User wants us to retry with broken cer" \ +"tificate"); +#line 294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp0_ = publishing_piwigo_session_new (); +#line 294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _publishing_rest_support_session_unref0 (self->priv->session); +#line 294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + self->priv->session = _tmp0_; +#line 295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp1_ = self->priv->session; +#line 295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + publishing_rest_support_session_set_insecure (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession)); +#line 297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp2_ = publishing_piwigo_piwigo_publisher_get_persistent_url (self); +#line 297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + persistent_url = _tmp2_; +#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp3_ = publishing_piwigo_piwigo_publisher_get_persistent_username (self); +#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + persistent_username = _tmp3_; +#line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp4_ = publishing_piwigo_piwigo_publisher_get_persistent_password (self); +#line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + persistent_password = _tmp4_; +#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp7_ = persistent_url; +#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + if (_tmp7_ != NULL) { +#line 3116 "PiwigoPublishing.c" + const gchar* _tmp8_ = NULL; +#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp8_ = persistent_username; +#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp6_ = _tmp8_ != NULL; +#line 3122 "PiwigoPublishing.c" + } else { +#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp6_ = FALSE; +#line 3126 "PiwigoPublishing.c" + } +#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + if (_tmp6_) { +#line 3130 "PiwigoPublishing.c" + const gchar* _tmp9_ = NULL; +#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp9_ = persistent_password; +#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp5_ = _tmp9_ != NULL; +#line 3136 "PiwigoPublishing.c" + } else { +#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp5_ = FALSE; +#line 3140 "PiwigoPublishing.c" + } +#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + if (_tmp5_) { +#line 3144 "PiwigoPublishing.c" + const gchar* _tmp10_ = NULL; + const gchar* _tmp11_ = NULL; + const gchar* _tmp12_ = NULL; + gboolean _tmp13_ = FALSE; +#line 301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp10_ = persistent_url; +#line 301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp11_ = persistent_username; +#line 301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp12_ = persistent_password; +#line 301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp13_ = publishing_piwigo_piwigo_publisher_get_remember_password (self); +#line 301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + publishing_piwigo_piwigo_publisher_do_network_login (self, _tmp10_, _tmp11_, _tmp12_, _tmp13_); +#line 3159 "PiwigoPublishing.c" + } else { +#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + publishing_piwigo_piwigo_publisher_do_show_authentication_pane (self, PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_INTRO); +#line 3163 "PiwigoPublishing.c" + } +#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_free0 (persistent_password); +#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_free0 (persistent_username); +#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_free0 (persistent_url); +#line 3171 "PiwigoPublishing.c" +} + + +static void ___lambda6__publishing_piwigo_ssl_error_pane_proceed (PublishingPiwigoSSLErrorPane* _sender, gpointer self) { +#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + __lambda6_ ((PublishingPiwigoPiwigoPublisher*) self); +#line 3178 "PiwigoPublishing.c" +} + + +static void _vala_SoupURI_free (SoupURI* self) { +#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_boxed_free (soup_uri_get_type (), self); +#line 3185 "PiwigoPublishing.c" +} + + +static void publishing_piwigo_piwigo_publisher_do_show_ssl_downgrade_pane (PublishingPiwigoPiwigoPublisher* self, PublishingPiwigoSessionLoginTransaction* trans, const gchar* url) { + SoupURI* uri = NULL; + const gchar* _tmp0_ = NULL; + SoupURI* _tmp1_ = NULL; + SpitPublishingPluginHost* _tmp2_ = NULL; + PublishingPiwigoSSLErrorPane* ssl_pane = NULL; + PublishingPiwigoSessionLoginTransaction* _tmp3_ = NULL; + const gchar* _tmp4_ = NULL; + PublishingPiwigoSSLErrorPane* _tmp5_ = NULL; + SpitPublishingPluginHost* _tmp6_ = NULL; + SpitPublishingPluginHost* _tmp7_ = NULL; + GtkWidget* _tmp8_ = NULL; + GtkWidget* _tmp9_ = NULL; +#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); +#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_return_if_fail (PUBLISHING_PIWIGO_IS_SESSION_LOGIN_TRANSACTION (trans)); +#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_return_if_fail (url != NULL); +#line 289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp0_ = url; +#line 289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp1_ = soup_uri_new (_tmp0_); +#line 289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + uri = _tmp1_; +#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp2_ = self->priv->host; +#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + spit_publishing_plugin_host_set_service_locked (_tmp2_, FALSE); +#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp3_ = trans; +#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp4_ = soup_uri_get_host (uri); +#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp5_ = publishing_piwigo_ssl_error_pane_new (_tmp3_, _tmp4_); +#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + ssl_pane = _tmp5_; +#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_signal_connect_object (ssl_pane, "proceed", (GCallback) ___lambda6__publishing_piwigo_ssl_error_pane_proceed, self, 0); +#line 306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp6_ = self->priv->host; +#line 306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + spit_publishing_plugin_host_install_dialog_pane (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (ssl_pane, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CLOSE); +#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp7_ = self->priv->host; +#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp8_ = publishing_piwigo_ssl_error_pane_get_default_widget (ssl_pane); +#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp9_ = _tmp8_; +#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + spit_publishing_plugin_host_set_dialog_default_widget (_tmp7_, _tmp9_); +#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (_tmp9_); +#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (ssl_pane); +#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + __vala_SoupURI_free0 (uri); +#line 3246 "PiwigoPublishing.c" } @@ -3026,35 +3265,35 @@ static void publishing_piwigo_piwigo_publisher_on_authentication_pane_login_clic const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (url != NULL); -#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (username != NULL); -#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (password != NULL); -#line 301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:301: EVENT: on_authentication_pane_login_clicked"); -#line 302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:325: EVENT: on_authentication_pane_login_clicked"); +#line 326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->running; -#line 302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp0_) { -#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 3045 "PiwigoPublishing.c" +#line 3283 "PiwigoPublishing.c" } -#line 305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = url; -#line 305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = username; -#line 305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = password; -#line 305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = remember_password; -#line 305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_network_login (self, _tmp1_, _tmp2_, _tmp3_, _tmp4_); -#line 3057 "PiwigoPublishing.c" +#line 3295 "PiwigoPublishing.c" } @@ -3070,16 +3309,16 @@ static void publishing_piwigo_piwigo_publisher_on_authentication_pane_login_clic * @param password the password of the Piwigo user used to login */ static void _publishing_piwigo_piwigo_publisher_on_login_network_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) { -#line 332 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_login_network_error ((PublishingPiwigoPiwigoPublisher*) self, _sender, err); -#line 3075 "PiwigoPublishing.c" +#line 3313 "PiwigoPublishing.c" } static void _publishing_piwigo_piwigo_publisher_on_login_network_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) { -#line 333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_login_network_complete ((PublishingPiwigoPiwigoPublisher*) self, _sender); -#line 3082 "PiwigoPublishing.c" +#line 3320 "PiwigoPublishing.c" } @@ -3098,88 +3337,88 @@ static void publishing_piwigo_piwigo_publisher_do_network_login (PublishingPiwig PublishingPiwigoSessionLoginTransaction* _tmp11_ = NULL; PublishingPiwigoSessionLoginTransaction* _tmp12_ = NULL; GError * _inner_error_ = NULL; -#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (url != NULL); -#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (username != NULL); -#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (password != NULL); -#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:320: ACTION: logging in"); -#line 321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:344: ACTION: logging in"); +#line 345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->host; -#line 321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_set_service_locked (_tmp0_, TRUE); -#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = self->priv->host; -#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_install_login_wait_pane (_tmp1_); -#line 324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = remember_password; -#line 324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_set_remember_password (self, _tmp2_); -#line 325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 349 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = remember_password; -#line 325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 349 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp3_) { -#line 3127 "PiwigoPublishing.c" +#line 3365 "PiwigoPublishing.c" const gchar* _tmp4_ = NULL; -#line 326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = password; -#line 326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_set_persistent_password (self, _tmp4_); -#line 3133 "PiwigoPublishing.c" +#line 3371 "PiwigoPublishing.c" } else { -#line 328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_set_persistent_password (self, NULL); -#line 3137 "PiwigoPublishing.c" +#line 3375 "PiwigoPublishing.c" } -#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = self->priv->session; -#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = url; -#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = publishing_piwigo_piwigo_publisher_normalise_url (_tmp6_); -#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = _tmp7_; -#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = username; -#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = password; -#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = publishing_piwigo_session_login_transaction_new (_tmp5_, _tmp8_, _tmp9_, _tmp10_); -#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = _tmp11_; -#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp8_); -#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" login_trans = _tmp12_; -#line 332 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (login_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_piwigo_piwigo_publisher_on_login_network_error_publishing_rest_support_transaction_network_error, self, 0); -#line 333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (login_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_piwigo_piwigo_publisher_on_login_network_complete_publishing_rest_support_transaction_completed, self, 0); -#line 3163 "PiwigoPublishing.c" +#line 3401 "PiwigoPublishing.c" { -#line 336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (login_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); -#line 336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3171 "PiwigoPublishing.c" +#line 3409 "PiwigoPublishing.c" goto __catch32_spit_publishing_publishing_error; } -#line 336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (login_trans); -#line 336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 3182 "PiwigoPublishing.c" +#line 3420 "PiwigoPublishing.c" } } goto __finally32; @@ -3187,36 +3426,53 @@ static void publishing_piwigo_piwigo_publisher_do_network_login (PublishingPiwig { GError* err = NULL; GError* _tmp13_ = NULL; -#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" err = _inner_error_; -#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:338: ERROR: do_network_login"); -#line 339 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = err; -#line 339 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp13_); -#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + if (g_error_matches (_tmp13_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_SSL_FAILED)) { +#line 3436 "PiwigoPublishing.c" + const gchar* _tmp14_ = NULL; +#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:363: ERROR: SSL connection problems"); +#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp14_ = url; +#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + publishing_piwigo_piwigo_publisher_do_show_ssl_downgrade_pane (self, login_trans, _tmp14_); +#line 3444 "PiwigoPublishing.c" + } else { + GError* _tmp15_ = NULL; +#line 366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:366: ERROR: do_network_login"); +#line 367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp15_ = err; +#line 367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp15_); +#line 3453 "PiwigoPublishing.c" + } +#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 3202 "PiwigoPublishing.c" +#line 3457 "PiwigoPublishing.c" } __finally32: -#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (login_trans); -#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 3215 "PiwigoPublishing.c" +#line 3470 "PiwigoPublishing.c" } -#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (login_trans); -#line 3219 "PiwigoPublishing.c" +#line 3474 "PiwigoPublishing.c" } @@ -3230,95 +3486,95 @@ gchar* publishing_piwigo_piwigo_publisher_normalise_url (const gchar* url) { gboolean _tmp10_ = FALSE; const gchar* _tmp11_ = NULL; gboolean _tmp12_ = FALSE; -#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (url != NULL, NULL); -#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = url; -#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = g_strdup (_tmp0_); -#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" norm_url = _tmp1_; -#line 346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = norm_url; -#line 346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = g_str_has_suffix (_tmp2_, ".php"); -#line 346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp3_) { -#line 3247 "PiwigoPublishing.c" +#line 3502 "PiwigoPublishing.c" const gchar* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; const gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = norm_url; -#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = g_str_has_suffix (_tmp4_, "/"); -#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp5_) { -#line 3258 "PiwigoPublishing.c" +#line 3513 "PiwigoPublishing.c" const gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = norm_url; -#line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = g_strconcat (_tmp6_, "/", NULL); -#line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (norm_url); -#line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" norm_url = _tmp7_; -#line 3269 "PiwigoPublishing.c" +#line 3524 "PiwigoPublishing.c" } -#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = norm_url; -#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = g_strconcat (_tmp8_, PUBLISHING_PIWIGO_PIWIGO_WS, NULL); -#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (norm_url); -#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" norm_url = _tmp9_; -#line 3279 "PiwigoPublishing.c" +#line 3534 "PiwigoPublishing.c" } -#line 353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = norm_url; -#line 353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = g_str_has_prefix (_tmp11_, "http://"); -#line 353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp12_) { -#line 3287 "PiwigoPublishing.c" +#line 3542 "PiwigoPublishing.c" const gchar* _tmp13_ = NULL; gboolean _tmp14_ = FALSE; -#line 353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = norm_url; -#line 353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = g_str_has_prefix (_tmp13_, "https://"); -#line 353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = !_tmp14_; -#line 3296 "PiwigoPublishing.c" +#line 3551 "PiwigoPublishing.c" } else { -#line 353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = FALSE; -#line 3300 "PiwigoPublishing.c" +#line 3555 "PiwigoPublishing.c" } -#line 353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp10_) { -#line 3304 "PiwigoPublishing.c" +#line 3559 "PiwigoPublishing.c" const gchar* _tmp15_ = NULL; gchar* _tmp16_ = NULL; -#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = norm_url; -#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = g_strconcat ("http://", _tmp15_, NULL); -#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (norm_url); -#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" norm_url = _tmp16_; -#line 3315 "PiwigoPublishing.c" +#line 3570 "PiwigoPublishing.c" } -#line 357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = norm_url; -#line 357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 3321 "PiwigoPublishing.c" +#line 3576 "PiwigoPublishing.c" } @@ -3338,18 +3594,18 @@ gchar* publishing_piwigo_piwigo_publisher_normalise_url (const gchar* url) { static gchar* _publishing_piwigo_transaction_validate_xml_publishing_rest_support_xml_document_check_for_error_response (PublishingRESTSupportXmlDocument* doc, gpointer self) { gchar* result; result = publishing_piwigo_transaction_validate_xml (doc); -#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 3343 "PiwigoPublishing.c" +#line 3598 "PiwigoPublishing.c" } static gchar* _publishing_piwigo_transaction_get_error_code_publishing_rest_support_xml_document_check_for_error_response (PublishingRESTSupportXmlDocument* doc, gpointer self) { gchar* result; result = publishing_piwigo_transaction_get_error_code (doc); -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 3352 "PiwigoPublishing.c" +#line 3607 "PiwigoPublishing.c" } @@ -3367,111 +3623,110 @@ static void publishing_piwigo_piwigo_publisher_on_login_network_complete (Publis gchar* _tmp23_ = NULL; const gchar* _tmp24_ = NULL; PublishingPiwigoSession* _tmp25_ = NULL; - PublishingPiwigoSession* _tmp26_ = NULL; + const gchar* _tmp26_ = NULL; const gchar* _tmp27_ = NULL; const gchar* _tmp28_ = NULL; - const gchar* _tmp29_ = NULL; GError * _inner_error_ = NULL; -#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn)); -#line 374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:374: EVENT: on_login_network_complete"); -#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:403: EVENT: on_login_network_complete"); +#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = txn; -#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_login_network_complete_publishing_rest_support_transaction_completed, self); -#line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = txn; -#line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_login_network_error_publishing_rest_support_transaction_network_error, self); -#line 3393 "PiwigoPublishing.c" +#line 3647 "PiwigoPublishing.c" { PublishingRESTSupportTransaction* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; PublishingRESTSupportXmlDocument* _tmp7_ = NULL; PublishingRESTSupportXmlDocument* _tmp8_ = NULL; -#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = txn; -#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = publishing_rest_support_transaction_get_response (_tmp4_); -#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _tmp5_; -#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = publishing_rest_support_xml_document_parse_string (_tmp6_, _publishing_piwigo_transaction_validate_xml_publishing_rest_support_xml_document_check_for_error_response, NULL, &_inner_error_); -#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = _tmp7_; -#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (_tmp8_); -#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp6_); -#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3418 "PiwigoPublishing.c" +#line 3672 "PiwigoPublishing.c" goto __catch33_spit_publishing_publishing_error; } -#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 3427 "PiwigoPublishing.c" +#line 3681 "PiwigoPublishing.c" } } goto __finally33; __catch33_spit_publishing_publishing_error: { GError* err = NULL; -#line 378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" err = _inner_error_; -#line 378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 3438 "PiwigoPublishing.c" +#line 3692 "PiwigoPublishing.c" { PublishingRESTSupportTransaction* _tmp9_ = NULL; gchar* _tmp10_ = NULL; gchar* _tmp11_ = NULL; PublishingRESTSupportXmlDocument* _tmp12_ = NULL; PublishingRESTSupportXmlDocument* _tmp13_ = NULL; -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = txn; -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = publishing_rest_support_transaction_get_response (_tmp9_); -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = _tmp10_; -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = publishing_rest_support_xml_document_parse_string (_tmp11_, _publishing_piwigo_transaction_get_error_code_publishing_rest_support_xml_document_check_for_error_response, NULL, &_inner_error_); -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = _tmp12_; -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (_tmp13_); -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp11_); -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3463 "PiwigoPublishing.c" +#line 3717 "PiwigoPublishing.c" goto __catch34_spit_publishing_publishing_error; } -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 3474 "PiwigoPublishing.c" +#line 3728 "PiwigoPublishing.c" } } goto __finally34; @@ -3483,116 +3738,110 @@ static void publishing_piwigo_piwigo_publisher_on_login_network_complete (Publis const gchar* _tmp15_ = NULL; gint _tmp16_ = 0; gint _tmp17_ = 0; -#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" code = _inner_error_; -#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = code; -#line 387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = _tmp14_->message; -#line 387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = atoi (_tmp15_); -#line 387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" code_int = _tmp16_; -#line 388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = code_int; -#line 388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp17_ == 999) { -#line 389 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:389: ERROR: on_login_network_complete, code 999"); -#line 390 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:418: ERROR: on_login_network_complete, code 999"); +#line 419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_authentication_pane (self, PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_FAILED_RETRY_USER); -#line 3506 "PiwigoPublishing.c" +#line 3760 "PiwigoPublishing.c" } else { GError* _tmp18_ = NULL; -#line 392 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:392: ERROR: on_login_network_complete"); -#line 393 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:421: ERROR: on_login_network_complete"); +#line 422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = err; -#line 393 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp18_); -#line 3515 "PiwigoPublishing.c" +#line 3769 "PiwigoPublishing.c" } -#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (code); -#line 3519 "PiwigoPublishing.c" +#line 3773 "PiwigoPublishing.c" } __finally34: -#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 3534 "PiwigoPublishing.c" +#line 3788 "PiwigoPublishing.c" } -#line 396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 3540 "PiwigoPublishing.c" +#line 3794 "PiwigoPublishing.c" } __finally33: -#line 378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 3551 "PiwigoPublishing.c" +#line 3805 "PiwigoPublishing.c" } -#line 399 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = txn; -#line 399 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = publishing_rest_support_transaction_get_endpoint_url (_tmp19_); -#line 399 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" endpoint_url = _tmp20_; -#line 400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = endpoint_url; -#line 400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:400: Setting endpoint URL to %s", _tmp21_); -#line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:429: Setting endpoint URL to %s", _tmp21_); +#line 430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp22_ = txn; -#line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp23_ = publishing_piwigo_piwigo_publisher_get_pwg_id_from_transaction (self, _tmp22_); -#line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" pwg_id = _tmp23_; -#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp24_ = pwg_id; +#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:431: Setting session pwg_id to %s", _tmp24_); +#line 432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp25_ = self->priv->session; +#line 432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp26_ = pwg_id; +#line 432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + publishing_piwigo_session_set_pwg_id (_tmp25_, _tmp26_); +#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp27_ = endpoint_url; +#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp28_ = pwg_id; +#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + publishing_piwigo_piwigo_publisher_do_fetch_session_status (self, _tmp27_, _tmp28_); #line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:402: Setting session pwg_id to %s", _tmp24_); -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp25_ = publishing_piwigo_session_new (); -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _publishing_rest_support_session_unref0 (self->priv->session); -#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - self->priv->session = _tmp25_; -#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp26_ = self->priv->session; -#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp27_ = pwg_id; -#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - publishing_piwigo_session_set_pwg_id (_tmp26_, _tmp27_); -#line 406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp28_ = endpoint_url; -#line 406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp29_ = pwg_id; -#line 406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - publishing_piwigo_piwigo_publisher_do_fetch_session_status (self, _tmp28_, _tmp29_); -#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (pwg_id); -#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (endpoint_url); -#line 3595 "PiwigoPublishing.c" +#line 3843 "PiwigoPublishing.c" } @@ -3614,37 +3863,37 @@ static void publishing_piwigo_piwigo_publisher_on_login_network_error (Publishin guint _tmp3_ = 0U; PublishingPiwigoSession* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; -#line 420 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 420 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (bad_txn)); -#line 424 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:424: EVENT: on_login_network_error"); -#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:452: EVENT: on_login_network_error"); +#line 453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = bad_txn; -#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_login_network_complete_publishing_rest_support_transaction_completed, self); -#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = bad_txn; -#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_login_network_error_publishing_rest_support_transaction_network_error, self); -#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->session; -#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession)); -#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp5_) { -#line 429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 3643 "PiwigoPublishing.c" +#line 3891 "PiwigoPublishing.c" } -#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 459 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_authentication_pane (self, PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_FAILED_RETRY_URL); -#line 3647 "PiwigoPublishing.c" +#line 3895 "PiwigoPublishing.c" } @@ -3659,16 +3908,16 @@ static void publishing_piwigo_piwigo_publisher_on_login_network_error (Publishin * identity. */ static void _publishing_piwigo_piwigo_publisher_on_session_get_status_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) { -#line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_session_get_status_error ((PublishingPiwigoPiwigoPublisher*) self, _sender, err); -#line 3664 "PiwigoPublishing.c" +#line 3912 "PiwigoPublishing.c" } static void _publishing_piwigo_piwigo_publisher_on_session_get_status_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) { -#line 452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_session_get_status_complete ((PublishingPiwigoPiwigoPublisher*) self, _sender); -#line 3671 "PiwigoPublishing.c" +#line 3919 "PiwigoPublishing.c" } @@ -3678,29 +3927,29 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_session_status (Publishi PublishingPiwigoSession* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; GError * _inner_error_ = NULL; -#line 444 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 472 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 444 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 472 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (url != NULL); -#line 444 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 472 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (pwg_id != NULL); -#line 445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:445: ACTION: fetching session status"); -#line 446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 473 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:473: ACTION: fetching session status"); +#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->host; -#line 446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_set_service_locked (_tmp0_, TRUE); -#line 447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = self->priv->host; -#line 447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_install_account_fetch_wait_pane (_tmp1_); -#line 449 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->session; -#line 449 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession)); -#line 449 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp3_) { -#line 3703 "PiwigoPublishing.c" +#line 3951 "PiwigoPublishing.c" PublishingPiwigoSessionGetStatusTransaction* status_txn = NULL; PublishingPiwigoSession* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; @@ -3708,47 +3957,47 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_session_status (Publishi PublishingPiwigoSessionGetStatusTransaction* _tmp7_ = NULL; PublishingPiwigoSessionGetStatusTransaction* _tmp8_ = NULL; PublishingPiwigoSessionGetStatusTransaction* _tmp9_ = NULL; -#line 450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->session; -#line 450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = url; -#line 450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = pwg_id; -#line 450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = publishing_piwigo_session_get_status_transaction_new_unauthenticated (_tmp4_, _tmp5_, _tmp6_); -#line 450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" status_txn = _tmp7_; -#line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = status_txn; -#line 451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_error_publishing_rest_support_transaction_network_error, self, 0); -#line 452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = status_txn; -#line 452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_complete_publishing_rest_support_transaction_completed, self, 0); -#line 3729 "PiwigoPublishing.c" +#line 3977 "PiwigoPublishing.c" { PublishingPiwigoSessionGetStatusTransaction* _tmp10_ = NULL; -#line 455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = status_txn; -#line 455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); -#line 455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3740 "PiwigoPublishing.c" +#line 3988 "PiwigoPublishing.c" goto __catch35_spit_publishing_publishing_error; } -#line 455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (status_txn); -#line 455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 3751 "PiwigoPublishing.c" +#line 3999 "PiwigoPublishing.c" } } goto __finally35; @@ -3756,80 +4005,80 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_session_status (Publishi { GError* err = NULL; GError* _tmp11_ = NULL; -#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" err = _inner_error_; -#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:457: ERROR: do_fetch_session_status, not authent" \ +#line 485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:485: ERROR: do_fetch_session_status, not authent" \ "icated"); -#line 458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = err; -#line 458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp11_); -#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 3771 "PiwigoPublishing.c" +#line 4019 "PiwigoPublishing.c" } __finally35: -#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (status_txn); -#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 3784 "PiwigoPublishing.c" +#line 4032 "PiwigoPublishing.c" } -#line 449 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (status_txn); -#line 3788 "PiwigoPublishing.c" +#line 4036 "PiwigoPublishing.c" } else { PublishingPiwigoSessionGetStatusTransaction* status_txn = NULL; PublishingPiwigoSession* _tmp12_ = NULL; PublishingPiwigoSessionGetStatusTransaction* _tmp13_ = NULL; PublishingPiwigoSessionGetStatusTransaction* _tmp14_ = NULL; PublishingPiwigoSessionGetStatusTransaction* _tmp15_ = NULL; -#line 461 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = self->priv->session; -#line 461 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = publishing_piwigo_session_get_status_transaction_new (_tmp12_); -#line 461 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" status_txn = _tmp13_; -#line 462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = status_txn; -#line 462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_error_publishing_rest_support_transaction_network_error, self, 0); -#line 463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = status_txn; -#line 463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_complete_publishing_rest_support_transaction_completed, self, 0); -#line 3809 "PiwigoPublishing.c" +#line 4057 "PiwigoPublishing.c" { PublishingPiwigoSessionGetStatusTransaction* _tmp16_ = NULL; -#line 466 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = status_txn; -#line 466 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); -#line 466 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 466 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3820 "PiwigoPublishing.c" +#line 4068 "PiwigoPublishing.c" goto __catch36_spit_publishing_publishing_error; } -#line 466 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (status_txn); -#line 466 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 466 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 466 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 3831 "PiwigoPublishing.c" +#line 4079 "PiwigoPublishing.c" } } goto __finally36; @@ -3837,37 +4086,37 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_session_status (Publishi { GError* err = NULL; GError* _tmp17_ = NULL; -#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" err = _inner_error_; -#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:468: ERROR: do_fetch_session_status, authenticat" \ +#line 496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:496: ERROR: do_fetch_session_status, authenticat" \ "ed"); -#line 469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = err; -#line 469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp17_); -#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 3851 "PiwigoPublishing.c" +#line 4099 "PiwigoPublishing.c" } __finally36: -#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (status_txn); -#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 3864 "PiwigoPublishing.c" +#line 4112 "PiwigoPublishing.c" } -#line 449 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (status_txn); -#line 3868 "PiwigoPublishing.c" +#line 4116 "PiwigoPublishing.c" } } @@ -3887,31 +4136,31 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_complete (P PublishingPiwigoSession* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; GError * _inner_error_ = NULL; -#line 481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn)); -#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:482: EVENT: on_session_get_status_complete"); -#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 510 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:510: EVENT: on_session_get_status_complete"); +#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = txn; -#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_complete_publishing_rest_support_transaction_completed, self); -#line 484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = txn; -#line 484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_error_publishing_rest_support_transaction_network_error, self); -#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->session; -#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession)); -#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp5_) { -#line 3912 "PiwigoPublishing.c" +#line 4160 "PiwigoPublishing.c" gchar* endpoint_url = NULL; PublishingRESTSupportTransaction* _tmp6_ = NULL; gchar* _tmp7_ = NULL; @@ -3919,23 +4168,23 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_complete (P PublishingPiwigoSession* _tmp8_ = NULL; gchar* _tmp9_ = NULL; const gchar* _tmp10_ = NULL; -#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = txn; -#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = publishing_rest_support_transaction_get_endpoint_url (_tmp6_); -#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" endpoint_url = _tmp7_; -#line 488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = self->priv->session; -#line 488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = publishing_piwigo_session_get_pwg_id (_tmp8_); -#line 488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" pwg_id = _tmp9_; -#line 489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = pwg_id; -#line 489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:489: Fetching session status for pwg_id %s", _tmp10_); -#line 3936 "PiwigoPublishing.c" +#line 517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:517: Fetching session status for pwg_id %s", _tmp10_); +#line 4184 "PiwigoPublishing.c" { PublishingRESTSupportXmlDocument* doc = NULL; PublishingRESTSupportTransaction* _tmp11_ = NULL; @@ -3947,46 +4196,46 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_complete (P PublishingRESTSupportXmlDocument* _tmp16_ = NULL; xmlNode* _tmp17_ = NULL; xmlNode* username_node = NULL; -#line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = txn; -#line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = publishing_rest_support_transaction_get_response (_tmp11_); -#line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = _tmp12_; -#line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = publishing_rest_support_xml_document_parse_string (_tmp13_, _publishing_piwigo_transaction_validate_xml_publishing_rest_support_xml_document_check_for_error_response, NULL, &_inner_error_); -#line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = _tmp14_; -#line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp13_); -#line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" doc = _tmp15_; -#line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 3966 "PiwigoPublishing.c" +#line 4214 "PiwigoPublishing.c" goto __catch37_spit_publishing_publishing_error; } -#line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (pwg_id); -#line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (endpoint_url); -#line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 3979 "PiwigoPublishing.c" +#line 4227 "PiwigoPublishing.c" } -#line 495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = doc; -#line 495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = publishing_rest_support_xml_document_get_root_node (_tmp16_); -#line 495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" root = _tmp17_; -#line 3987 "PiwigoPublishing.c" +#line 4235 "PiwigoPublishing.c" { xmlNode* _tmp18_ = NULL; PublishingRESTSupportXmlDocument* _tmp19_ = NULL; @@ -4006,189 +4255,189 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_complete (P PublishingPiwigoSession* _tmp32_ = NULL; gchar* _tmp33_ = NULL; gchar* _tmp34_ = NULL; -#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = doc; -#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = root; -#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = publishing_rest_support_xml_document_get_named_child (_tmp19_, _tmp20_, "username", &_inner_error_); -#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = _tmp21_; -#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 4019 "PiwigoPublishing.c" +#line 4267 "PiwigoPublishing.c" goto __catch38_spit_publishing_publishing_error; } -#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (pwg_id); -#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (endpoint_url); -#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 4034 "PiwigoPublishing.c" +#line 4282 "PiwigoPublishing.c" } -#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" username_node = _tmp18_; -#line 499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp22_ = username_node; -#line 499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp23_ = (gchar*) xmlNodeGetContent (_tmp22_); -#line 499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" username = _tmp23_; -#line 500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp24_ = username; -#line 500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:500: Returned username is %s", _tmp24_); -#line 501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:528: Returned username is %s", _tmp24_); +#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp25_ = self->priv->session; -#line 501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp26_ = endpoint_url; -#line 501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp27_ = username; -#line 501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp28_ = pwg_id; -#line 501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_session_authenticate (_tmp25_, _tmp26_, _tmp27_, _tmp28_); -#line 502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp29_ = self->priv->session; -#line 502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp30_ = publishing_piwigo_session_get_pwg_url (_tmp29_); -#line 502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp31_ = _tmp30_; -#line 502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_set_persistent_url (self, _tmp31_); -#line 502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp31_); -#line 503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp32_ = self->priv->session; -#line 503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp33_ = publishing_piwigo_session_get_username (_tmp32_); -#line 503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp34_ = _tmp33_; -#line 503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_set_persistent_username (self, _tmp34_); -#line 503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp34_); -#line 504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_fetch_categories (self); -#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (username); -#line 4082 "PiwigoPublishing.c" +#line 4330 "PiwigoPublishing.c" } goto __finally38; __catch38_spit_publishing_publishing_error: { GError* err2 = NULL; GError* _tmp35_ = NULL; -#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" err2 = _inner_error_; -#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 506 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:506: ERROR: on_session_get_status_complete, inne" \ +#line 534 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:534: ERROR: on_session_get_status_complete, inne" \ "r"); -#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp35_ = err2; -#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp35_); -#line 508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err2); -#line 508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (pwg_id); -#line 508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (endpoint_url); -#line 508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 4109 "PiwigoPublishing.c" +#line 4357 "PiwigoPublishing.c" } __finally38: -#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 4118 "PiwigoPublishing.c" +#line 4366 "PiwigoPublishing.c" goto __catch37_spit_publishing_publishing_error; } -#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (pwg_id); -#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (endpoint_url); -#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 4133 "PiwigoPublishing.c" +#line 4381 "PiwigoPublishing.c" } -#line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 4137 "PiwigoPublishing.c" +#line 4385 "PiwigoPublishing.c" } goto __finally37; __catch37_spit_publishing_publishing_error: { GError* err = NULL; GError* _tmp36_ = NULL; -#line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" err = _inner_error_; -#line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:511: ERROR: on_session_get_status_complete, oute" \ +#line 539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:539: ERROR: on_session_get_status_complete, oute" \ "r"); -#line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp36_ = err; -#line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp36_); -#line 513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (pwg_id); -#line 513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (endpoint_url); -#line 513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 4162 "PiwigoPublishing.c" +#line 4410 "PiwigoPublishing.c" } __finally37: -#line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (pwg_id); -#line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (endpoint_url); -#line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 4177 "PiwigoPublishing.c" +#line 4425 "PiwigoPublishing.c" } -#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (pwg_id); -#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (endpoint_url); -#line 4183 "PiwigoPublishing.c" +#line 4431 "PiwigoPublishing.c" } else { -#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_fetch_categories (self); -#line 4187 "PiwigoPublishing.c" +#line 4435 "PiwigoPublishing.c" } } @@ -4203,31 +4452,31 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_error (Publ guint _tmp3_ = 0U; PublishingRESTSupportTransaction* _tmp4_ = NULL; GError* _tmp5_ = NULL; -#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (bad_txn)); -#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:530: EVENT: on_session_get_status_error"); -#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:558: EVENT: on_session_get_status_error"); +#line 559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = bad_txn; -#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_complete_publishing_rest_support_transaction_completed, self); -#line 532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = bad_txn; -#line 532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_error_publishing_rest_support_transaction_network_error, self); -#line 533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = bad_txn; -#line 533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = err; -#line 533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_network_error (self, _tmp4_, _tmp5_); -#line 4226 "PiwigoPublishing.c" +#line 4474 "PiwigoPublishing.c" } @@ -4238,16 +4487,16 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_error (Publ * to populate the publishing pane presented to the user. */ static void _publishing_piwigo_piwigo_publisher_on_category_fetch_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) { -#line 548 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_category_fetch_error ((PublishingPiwigoPiwigoPublisher*) self, _sender, err); -#line 4239 "PiwigoPublishing.c" +#line 4487 "PiwigoPublishing.c" } static void _publishing_piwigo_piwigo_publisher_on_category_fetch_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) { -#line 549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_category_fetch_complete ((PublishingPiwigoPiwigoPublisher*) self, _sender); -#line 4246 "PiwigoPublishing.c" +#line 4494 "PiwigoPublishing.c" } @@ -4258,48 +4507,48 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_categories (PublishingPi PublishingPiwigoSession* _tmp2_ = NULL; PublishingPiwigoCategoriesGetListTransaction* _tmp3_ = NULL; GError * _inner_error_ = NULL; -#line 542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:543: ACTION: fetching categories"); -#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:571: ACTION: fetching categories"); +#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->host; -#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_set_service_locked (_tmp0_, TRUE); -#line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = self->priv->host; -#line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_install_account_fetch_wait_pane (_tmp1_); -#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->session; -#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = publishing_piwigo_categories_get_list_transaction_new (_tmp2_); -#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cat_trans = _tmp3_; -#line 548 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (cat_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_piwigo_piwigo_publisher_on_category_fetch_error_publishing_rest_support_transaction_network_error, self, 0); -#line 549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (cat_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_piwigo_piwigo_publisher_on_category_fetch_complete_publishing_rest_support_transaction_completed, self, 0); -#line 4279 "PiwigoPublishing.c" +#line 4527 "PiwigoPublishing.c" { -#line 552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (cat_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); -#line 552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 4287 "PiwigoPublishing.c" +#line 4535 "PiwigoPublishing.c" goto __catch39_spit_publishing_publishing_error; } -#line 552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (cat_trans); -#line 552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 4298 "PiwigoPublishing.c" +#line 4546 "PiwigoPublishing.c" } } goto __finally39; @@ -4307,36 +4556,36 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_categories (PublishingPi { GError* err = NULL; GError* _tmp4_ = NULL; -#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" err = _inner_error_; -#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:554: ERROR: do_fetch_categories"); -#line 555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:582: ERROR: do_fetch_categories"); +#line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = err; -#line 555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp4_); -#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 4318 "PiwigoPublishing.c" +#line 4566 "PiwigoPublishing.c" } __finally39: -#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (cat_trans); -#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 4331 "PiwigoPublishing.c" +#line 4579 "PiwigoPublishing.c" } -#line 542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (cat_trans); -#line 4335 "PiwigoPublishing.c" +#line 4583 "PiwigoPublishing.c" } @@ -4348,19 +4597,19 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_categories (PublishingPi * publishing options pane. */ static void _vala_array_add34 (PublishingPiwigoCategory*** array, int* length, int* size, PublishingPiwigoCategory* value) { -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *array = g_renew (PublishingPiwigoCategory*, *array, (*size) + 1); -#line 4353 "PiwigoPublishing.c" +#line 4601 "PiwigoPublishing.c" } -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[(*length)++] = value; -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[*length] = NULL; -#line 4359 "PiwigoPublishing.c" +#line 4607 "PiwigoPublishing.c" } @@ -4375,49 +4624,49 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_complete (Publi PublishingPiwigoCategory** _tmp7_ = NULL; gint _tmp7__length1 = 0; GError * _inner_error_ = NULL; -#line 566 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 566 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn)); -#line 567 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:567: EVENT: on_category_fetch_complete"); -#line 568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:595: EVENT: on_category_fetch_complete"); +#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = txn; -#line 568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_fetch_complete_publishing_rest_support_transaction_completed, self); -#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = txn; -#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_fetch_error_publishing_rest_support_transaction_network_error, self); -#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = txn; -#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = publishing_rest_support_transaction_get_response (_tmp4_); -#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _tmp5_; -#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:570: PiwigoConnector: list of categories: %s", _tmp6_); -#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:598: PiwigoConnector: list of categories: %s", _tmp6_); +#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp6_); -#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = self->priv->categories; -#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7__length1 = self->priv->categories_length1; -#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp7_ != NULL) { -#line 573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->categories = (_vala_array_free (self->priv->categories, self->priv->categories_length1, (GDestroyNotify) publishing_piwigo_category_unref), NULL); -#line 573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->categories = NULL; -#line 573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->categories_length1 = 0; -#line 573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->_categories_size_ = self->priv->categories_length1; -#line 4416 "PiwigoPublishing.c" +#line 4664 "PiwigoPublishing.c" } { PublishingRESTSupportXmlDocument* doc = NULL; @@ -4443,73 +4692,73 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_complete (Publi gchar* _tmp20_ = NULL; gchar* uppercats = NULL; gchar* _tmp21_ = NULL; -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = txn; -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = publishing_rest_support_transaction_get_response (_tmp8_); -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = _tmp9_; -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = publishing_rest_support_xml_document_parse_string (_tmp10_, _publishing_piwigo_transaction_validate_xml_publishing_rest_support_xml_document_check_for_error_response, NULL, &_inner_error_); -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = _tmp11_; -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp10_); -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" doc = _tmp12_; -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 4460 "PiwigoPublishing.c" +#line 4708 "PiwigoPublishing.c" goto __catch40_spit_publishing_publishing_error; } -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 4469 "PiwigoPublishing.c" +#line 4717 "PiwigoPublishing.c" } -#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = doc; -#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = publishing_rest_support_xml_document_get_root_node (_tmp13_); -#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" root = _tmp14_; -#line 581 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = root; -#line 581 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = xmlFirstElementChild (_tmp15_); -#line 581 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" categories_node = _tmp16_; -#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = categories_node; -#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = _tmp17_->children; -#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" category_node_iter = _tmp18_; -#line 585 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = g_strdup (""); -#line 585 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" name = _tmp19_; -#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = g_strdup (""); -#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" id_string = _tmp20_; -#line 587 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = g_strdup (""); -#line 587 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" uppercats = _tmp21_; -#line 4501 "PiwigoPublishing.c" +#line 4749 "PiwigoPublishing.c" { gboolean _tmp22_ = FALSE; -#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp22_ = TRUE; -#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" while (TRUE) { -#line 4508 "PiwigoPublishing.c" +#line 4756 "PiwigoPublishing.c" xmlNode* _tmp25_ = NULL; xmlNode* _tmp26_ = NULL; PublishingRESTSupportXmlDocument* _tmp27_ = NULL; @@ -4534,186 +4783,186 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_complete (Publi const gchar* _tmp45_ = NULL; const gchar* _tmp46_ = NULL; PublishingPiwigoCategory* _tmp47_ = NULL; -#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp22_) { -#line 4535 "PiwigoPublishing.c" +#line 4783 "PiwigoPublishing.c" xmlNode* _tmp23_ = NULL; xmlNode* _tmp24_ = NULL; -#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp23_ = category_node_iter; -#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp24_ = _tmp23_->next; -#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" category_node_iter = _tmp24_; -#line 4544 "PiwigoPublishing.c" +#line 4792 "PiwigoPublishing.c" } -#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp22_ = FALSE; -#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp25_ = category_node_iter; -#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!(_tmp25_ != NULL)) { -#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 4554 "PiwigoPublishing.c" +#line 4802 "PiwigoPublishing.c" } -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp27_ = doc; -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp28_ = category_node_iter; -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp29_ = publishing_rest_support_xml_document_get_named_child (_tmp27_, _tmp28_, "name", &_inner_error_); -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp26_ = _tmp29_; -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (uppercats); -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (id_string); -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (name); -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 4576 "PiwigoPublishing.c" +#line 4824 "PiwigoPublishing.c" goto __catch40_spit_publishing_publishing_error; } -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (uppercats); -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (id_string); -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (name); -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 4593 "PiwigoPublishing.c" +#line 4841 "PiwigoPublishing.c" } -#line 589 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" name_node = _tmp26_; -#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp30_ = name_node; -#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp31_ = (gchar*) xmlNodeGetContent (_tmp30_); -#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (name); -#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" name = _tmp31_; -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp33_ = doc; -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp34_ = category_node_iter; -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp35_ = publishing_rest_support_xml_document_get_named_child (_tmp33_, _tmp34_, "uppercats", &_inner_error_); -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp32_ = _tmp35_; -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (uppercats); -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (id_string); -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (name); -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 4625 "PiwigoPublishing.c" +#line 4873 "PiwigoPublishing.c" goto __catch40_spit_publishing_publishing_error; } -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (uppercats); -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (id_string); -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (name); -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 4642 "PiwigoPublishing.c" +#line 4890 "PiwigoPublishing.c" } -#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" uppercats_node = _tmp32_; -#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp36_ = uppercats_node; -#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp37_ = (gchar*) xmlNodeGetContent (_tmp36_); -#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (uppercats); -#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" uppercats = (gchar*) _tmp37_; -#line 593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp38_ = category_node_iter; -#line 593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp39_ = (gchar*) xmlGetProp (_tmp38_, (xmlChar*) "id"); -#line 593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (id_string); -#line 593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" id_string = _tmp39_; -#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp40_ = self->priv->categories; -#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp40__length1 = self->priv->categories_length1; -#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp40_ == NULL) { -#line 4668 "PiwigoPublishing.c" +#line 4916 "PiwigoPublishing.c" PublishingPiwigoCategory** _tmp41_ = NULL; -#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp41_ = g_new0 (PublishingPiwigoCategory*, 0 + 1); -#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->categories = (_vala_array_free (self->priv->categories, self->priv->categories_length1, (GDestroyNotify) publishing_piwigo_category_unref), NULL); -#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->categories = _tmp41_; -#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->categories_length1 = 0; -#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->_categories_size_ = self->priv->categories_length1; -#line 4680 "PiwigoPublishing.c" +#line 4928 "PiwigoPublishing.c" } -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp42_ = self->priv->categories; -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp42__length1 = self->priv->categories_length1; -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp43_ = id_string; -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp44_ = atoi (_tmp43_); -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp45_ = name; -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp46_ = uppercats; -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp47_ = publishing_piwigo_category_new (_tmp44_, _tmp45_, _tmp46_, ""); -#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _vala_array_add34 (&self->priv->categories, &self->priv->categories_length1, &self->priv->_categories_size_, _tmp47_); -#line 4698 "PiwigoPublishing.c" +#line 4946 "PiwigoPublishing.c" } } { gint i = 0; -#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" i = 0; -#line 4705 "PiwigoPublishing.c" +#line 4953 "PiwigoPublishing.c" { gboolean _tmp48_ = FALSE; -#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp48_ = TRUE; -#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" while (TRUE) { -#line 4712 "PiwigoPublishing.c" +#line 4960 "PiwigoPublishing.c" gint _tmp50_ = 0; PublishingPiwigoCategory** _tmp51_ = NULL; gint _tmp51__length1 = 0; @@ -4736,111 +4985,111 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_complete (Publi GString* _tmp87_ = NULL; const gchar* _tmp88_ = NULL; gchar* _tmp89_ = NULL; -#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp48_) { -#line 4737 "PiwigoPublishing.c" +#line 4985 "PiwigoPublishing.c" gint _tmp49_ = 0; -#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp49_ = i; -#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" i = _tmp49_ + 1; -#line 4743 "PiwigoPublishing.c" +#line 4991 "PiwigoPublishing.c" } -#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp48_ = FALSE; -#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp50_ = i; -#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp51_ = self->priv->categories; -#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp51__length1 = self->priv->categories_length1; -#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!(_tmp50_ < _tmp51__length1)) { -#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 4757 "PiwigoPublishing.c" +#line 5005 "PiwigoPublishing.c" } -#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp52_ = self->priv->categories; -#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp52__length1 = self->priv->categories_length1; -#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp53_ = i; -#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp54_ = _tmp52_[_tmp53_]; -#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp55_ = _tmp54_->uppercats; -#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp57_ = _tmp56_ = g_strsplit (_tmp55_, ",", 0); -#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" upcatids = _tmp57_; -#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" upcatids_length1 = _vala_array_length (_tmp56_); -#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _upcatids_size_ = upcatids_length1; -#line 607 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 635 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp58_ = g_string_new (""); -#line 607 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 635 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" builder = _tmp58_; -#line 4781 "PiwigoPublishing.c" +#line 5029 "PiwigoPublishing.c" { gint j = 0; -#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" j = 0; -#line 4786 "PiwigoPublishing.c" +#line 5034 "PiwigoPublishing.c" { gboolean _tmp59_ = FALSE; -#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp59_ = TRUE; -#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" while (TRUE) { -#line 4793 "PiwigoPublishing.c" +#line 5041 "PiwigoPublishing.c" gint _tmp61_ = 0; gchar** _tmp62_ = NULL; gint _tmp62__length1 = 0; GString* _tmp63_ = NULL; GString* _tmp83_ = NULL; -#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp59_) { -#line 4801 "PiwigoPublishing.c" +#line 5049 "PiwigoPublishing.c" gint _tmp60_ = 0; -#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp60_ = j; -#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" j = _tmp60_ + 1; -#line 4807 "PiwigoPublishing.c" +#line 5055 "PiwigoPublishing.c" } -#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp59_ = FALSE; -#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp61_ = j; -#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp62_ = upcatids; -#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp62__length1 = upcatids_length1; -#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!(_tmp61_ < _tmp62__length1)) { -#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 4821 "PiwigoPublishing.c" +#line 5069 "PiwigoPublishing.c" } -#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp63_ = builder; -#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_string_append (_tmp63_, "/ "); -#line 4827 "PiwigoPublishing.c" +#line 5075 "PiwigoPublishing.c" { gint k = 0; -#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" k = 0; -#line 4832 "PiwigoPublishing.c" +#line 5080 "PiwigoPublishing.c" { gboolean _tmp64_ = FALSE; -#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp64_ = TRUE; -#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" while (TRUE) { -#line 4839 "PiwigoPublishing.c" +#line 5087 "PiwigoPublishing.c" gint _tmp66_ = 0; PublishingPiwigoCategory** _tmp67_ = NULL; gint _tmp67__length1 = 0; @@ -4856,165 +5105,165 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_complete (Publi gchar* _tmp75_ = NULL; gchar* _tmp76_ = NULL; gboolean _tmp77_ = FALSE; -#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp64_) { -#line 4857 "PiwigoPublishing.c" +#line 5105 "PiwigoPublishing.c" gint _tmp65_ = 0; -#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp65_ = k; -#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" k = _tmp65_ + 1; -#line 4863 "PiwigoPublishing.c" +#line 5111 "PiwigoPublishing.c" } -#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp64_ = FALSE; -#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp66_ = k; -#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp67_ = self->priv->categories; -#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp67__length1 = self->priv->categories_length1; -#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!(_tmp66_ < _tmp67__length1)) { -#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 4877 "PiwigoPublishing.c" +#line 5125 "PiwigoPublishing.c" } -#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp68_ = upcatids; -#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp68__length1 = upcatids_length1; -#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp69_ = j; -#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp70_ = _tmp68_[_tmp69_]; -#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp71_ = self->priv->categories; -#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp71__length1 = self->priv->categories_length1; -#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp72_ = k; -#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp73_ = _tmp71_[_tmp72_]; -#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp74_ = _tmp73_->id; -#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp75_ = g_strdup_printf ("%i", _tmp74_); -#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp76_ = _tmp75_; -#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp77_ = g_strcmp0 (_tmp70_, _tmp76_) == 0; -#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp76_); -#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp77_) { -#line 4907 "PiwigoPublishing.c" +#line 5155 "PiwigoPublishing.c" GString* _tmp78_ = NULL; PublishingPiwigoCategory** _tmp79_ = NULL; gint _tmp79__length1 = 0; gint _tmp80_ = 0; PublishingPiwigoCategory* _tmp81_ = NULL; const gchar* _tmp82_ = NULL; -#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp78_ = builder; -#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp79_ = self->priv->categories; -#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp79__length1 = self->priv->categories_length1; -#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp80_ = k; -#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp81_ = _tmp79_[_tmp80_]; -#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp82_ = _tmp81_->name; -#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_string_append (_tmp78_, _tmp82_); -#line 614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 4930 "PiwigoPublishing.c" +#line 5178 "PiwigoPublishing.c" } } } } -#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp83_ = builder; -#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_string_append (_tmp83_, " "); -#line 4939 "PiwigoPublishing.c" +#line 5187 "PiwigoPublishing.c" } } } -#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp84_ = self->priv->categories; -#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp84__length1 = self->priv->categories_length1; -#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp85_ = i; -#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp86_ = _tmp84_[_tmp85_]; -#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp87_ = builder; -#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp88_ = _tmp87_->str; -#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp89_ = g_strdup (_tmp88_); -#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp86_->display_name); -#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp86_->display_name = _tmp89_; -#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_string_free0 (builder); -#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" upcatids = (_vala_array_free (upcatids, upcatids_length1, (GDestroyNotify) g_free), NULL); -#line 4965 "PiwigoPublishing.c" +#line 5213 "PiwigoPublishing.c" } } } -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (uppercats); -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (id_string); -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (name); -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 4977 "PiwigoPublishing.c" +#line 5225 "PiwigoPublishing.c" } goto __finally40; __catch40_spit_publishing_publishing_error: { GError* err = NULL; GError* _tmp90_ = NULL; -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" err = _inner_error_; -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:622: ERROR: on_category_fetch_complete"); -#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:650: ERROR: on_category_fetch_complete"); +#line 651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp90_ = err; -#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp90_); -#line 624 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 652 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 624 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 652 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 4998 "PiwigoPublishing.c" +#line 5246 "PiwigoPublishing.c" } __finally40: -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 5009 "PiwigoPublishing.c" +#line 5257 "PiwigoPublishing.c" } -#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 655 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_publishing_options_pane (self); -#line 5013 "PiwigoPublishing.c" +#line 5261 "PiwigoPublishing.c" } @@ -5029,31 +5278,31 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_error (Publishi guint _tmp3_ = 0U; PublishingRESTSupportTransaction* _tmp4_ = NULL; GError* _tmp5_ = NULL; -#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 662 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 662 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (bad_txn)); -#line 638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:638: EVENT: on_category_fetch_error"); -#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:666: EVENT: on_category_fetch_error"); +#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = bad_txn; -#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_fetch_complete_publishing_rest_support_transaction_completed, self); -#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = bad_txn; -#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_fetch_error_publishing_rest_support_transaction_network_error, self); -#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = bad_txn; -#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = err; -#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_network_error (self, _tmp4_, _tmp5_); -#line 5052 "PiwigoPublishing.c" +#line 5300 "PiwigoPublishing.c" } @@ -5063,16 +5312,16 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_error (Publishi * This action method shows the publishing options pane. */ static void _publishing_piwigo_piwigo_publisher_on_publishing_options_pane_logout_clicked_publishing_piwigo_publishing_options_pane_logout (PublishingPiwigoPublishingOptionsPane* _sender, gpointer self) { -#line 656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 684 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_publishing_options_pane_logout_clicked ((PublishingPiwigoPiwigoPublisher*) self); -#line 5064 "PiwigoPublishing.c" +#line 5312 "PiwigoPublishing.c" } static void _publishing_piwigo_piwigo_publisher_on_publishing_options_pane_publish_clicked_publishing_piwigo_publishing_options_pane_publish (PublishingPiwigoPublishingOptionsPane* _sender, PublishingPiwigoPublishingParameters* parameters, gboolean strip_metadata, gpointer self) { -#line 657 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_publishing_options_pane_publish_clicked ((PublishingPiwigoPiwigoPublisher*) self, parameters, strip_metadata); -#line 5071 "PiwigoPublishing.c" +#line 5319 "PiwigoPublishing.c" } @@ -5092,55 +5341,55 @@ static void publishing_piwigo_piwigo_publisher_do_show_publishing_options_pane ( SpitPublishingPluginHost* _tmp10_ = NULL; GtkWidget* _tmp11_ = NULL; GtkWidget* _tmp12_ = NULL; -#line 649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 677 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:650: ACTION: installing publishing options pane"); -#line 652 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:678: ACTION: installing publishing options pane"); +#line 680 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->host; -#line 652 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 680 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_set_service_locked (_tmp0_, FALSE); -#line 653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = self->priv->categories; -#line 653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1__length1 = self->priv->categories_length1; -#line 653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = publishing_piwigo_piwigo_publisher_get_last_category (self); -#line 653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = publishing_piwigo_piwigo_publisher_get_last_permission_level (self); -#line 653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = publishing_piwigo_piwigo_publisher_get_last_photo_size (self); -#line 653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = publishing_piwigo_piwigo_publisher_get_last_title_as_comment (self); -#line 653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = publishing_piwigo_piwigo_publisher_get_last_no_upload_tags (self); -#line 653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = publishing_piwigo_piwigo_publisher_get_metadata_removal_choice (self); -#line 653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = publishing_piwigo_publishing_options_pane_new (self, _tmp1_, _tmp1__length1, _tmp2_, _tmp3_, _tmp4_, _tmp5_, _tmp6_, _tmp7_); -#line 653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" opts_pane = _tmp8_; -#line 656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 684 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (opts_pane, "logout", (GCallback) _publishing_piwigo_piwigo_publisher_on_publishing_options_pane_logout_clicked_publishing_piwigo_publishing_options_pane_logout, self, 0); -#line 657 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (opts_pane, "publish", (GCallback) _publishing_piwigo_piwigo_publisher_on_publishing_options_pane_publish_clicked_publishing_piwigo_publishing_options_pane_publish, self, 0); -#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = self->priv->host; -#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_install_dialog_pane (_tmp9_, G_TYPE_CHECK_INSTANCE_CAST (opts_pane, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CLOSE); -#line 659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = self->priv->host; -#line 659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = publishing_piwigo_publishing_options_pane_get_default_widget (opts_pane); -#line 659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = _tmp11_; -#line 659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_set_dialog_default_widget (_tmp10_, _tmp12_); -#line 659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (_tmp12_); -#line 649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 677 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (opts_pane); -#line 5139 "PiwigoPublishing.c" +#line 5387 "PiwigoPublishing.c" } @@ -5148,16 +5397,16 @@ static void publishing_piwigo_piwigo_publisher_do_show_publishing_options_pane ( * Event triggered when the user clicks logout in the publishing options pane. */ static void _publishing_piwigo_piwigo_publisher_on_logout_network_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) { -#line 668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 696 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_logout_network_error ((PublishingPiwigoPiwigoPublisher*) self, _sender, err); -#line 5149 "PiwigoPublishing.c" +#line 5397 "PiwigoPublishing.c" } static void _publishing_piwigo_piwigo_publisher_on_logout_network_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) { -#line 669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_logout_network_complete ((PublishingPiwigoPiwigoPublisher*) self, _sender); -#line 5156 "PiwigoPublishing.c" +#line 5404 "PiwigoPublishing.c" } @@ -5166,41 +5415,41 @@ static void publishing_piwigo_piwigo_publisher_on_publishing_options_pane_logout PublishingPiwigoSession* _tmp0_ = NULL; PublishingPiwigoSessionLogoutTransaction* _tmp1_ = NULL; GError * _inner_error_ = NULL; -#line 665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:666: EVENT: on_publishing_options_pane_logout_cl" \ +#line 694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:694: EVENT: on_publishing_options_pane_logout_cl" \ "icked"); -#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->session; -#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = publishing_piwigo_session_logout_transaction_new (_tmp0_); -#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" logout_trans = _tmp1_; -#line 668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 696 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (logout_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_piwigo_piwigo_publisher_on_logout_network_error_publishing_rest_support_transaction_network_error, self, 0); -#line 669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (logout_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_piwigo_piwigo_publisher_on_logout_network_complete_publishing_rest_support_transaction_completed, self, 0); -#line 5179 "PiwigoPublishing.c" +#line 5427 "PiwigoPublishing.c" { -#line 672 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (logout_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); -#line 672 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 672 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 5187 "PiwigoPublishing.c" +#line 5435 "PiwigoPublishing.c" goto __catch41_spit_publishing_publishing_error; } -#line 672 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (logout_trans); -#line 672 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 672 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 672 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 5198 "PiwigoPublishing.c" +#line 5446 "PiwigoPublishing.c" } } goto __finally41; @@ -5208,37 +5457,37 @@ static void publishing_piwigo_piwigo_publisher_on_publishing_options_pane_logout { GError* err = NULL; GError* _tmp2_ = NULL; -#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" err = _inner_error_; -#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 674 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:674: ERROR: on_publishing_options_pane_logout_cl" \ +#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:702: ERROR: on_publishing_options_pane_logout_cl" \ "icked"); -#line 675 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = err; -#line 675 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp2_); -#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 5218 "PiwigoPublishing.c" +#line 5466 "PiwigoPublishing.c" } __finally41: -#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (logout_trans); -#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 5231 "PiwigoPublishing.c" +#line 5479 "PiwigoPublishing.c" } -#line 665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (logout_trans); -#line 5235 "PiwigoPublishing.c" +#line 5483 "PiwigoPublishing.c" } @@ -5254,31 +5503,31 @@ static void publishing_piwigo_piwigo_publisher_on_logout_network_complete (Publi PublishingRESTSupportTransaction* _tmp2_ = NULL; guint _tmp3_ = 0U; PublishingPiwigoSession* _tmp4_ = NULL; -#line 685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 713 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 713 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn)); -#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:686: EVENT: on_logout_network_complete"); -#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:714: EVENT: on_logout_network_complete"); +#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = txn; -#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_logout_network_complete_publishing_rest_support_transaction_completed, self); -#line 688 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = txn; -#line 688 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 688 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_logout_network_error_publishing_rest_support_transaction_network_error, self); -#line 690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->session; -#line 690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_session_deauthenticate (_tmp4_); -#line 692 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_authentication_pane (self, PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_INTRO); -#line 5275 "PiwigoPublishing.c" +#line 5523 "PiwigoPublishing.c" } @@ -5292,31 +5541,31 @@ static void publishing_piwigo_piwigo_publisher_on_logout_network_error (Publishi guint _tmp3_ = 0U; PublishingRESTSupportTransaction* _tmp4_ = NULL; GError* _tmp5_ = NULL; -#line 698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (bad_txn)); -#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:702: EVENT: on_logout_network_error"); -#line 703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:730: EVENT: on_logout_network_error"); +#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = bad_txn; -#line 703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_logout_network_complete_publishing_rest_support_transaction_completed, self); -#line 704 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 732 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = bad_txn; -#line 704 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 732 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 704 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 732 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_logout_network_error_publishing_rest_support_transaction_network_error, self); -#line 705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = bad_txn; -#line 705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = err; -#line 705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_network_error (self, _tmp4_, _tmp5_); -#line 5313 "PiwigoPublishing.c" +#line 5561 "PiwigoPublishing.c" } @@ -5331,9 +5580,9 @@ static void publishing_piwigo_piwigo_publisher_on_logout_network_error (Publishi * @param parameters the publishing parameters */ static gpointer _publishing_piwigo_publishing_parameters_ref0 (gpointer self) { -#line 721 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self ? publishing_piwigo_publishing_parameters_ref (self) : NULL; -#line 5330 "PiwigoPublishing.c" +#line 5578 "PiwigoPublishing.c" } @@ -5344,50 +5593,50 @@ static void publishing_piwigo_piwigo_publisher_on_publishing_options_pane_publis PublishingPiwigoPublishingParameters* _tmp3_ = NULL; PublishingPiwigoCategory* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; -#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_PARAMETERS (parameters)); -#line 720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:720: EVENT: on_publishing_options_pane_publish_c" \ +#line 748 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:748: EVENT: on_publishing_options_pane_publish_c" \ "licked"); -#line 721 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = parameters; -#line 721 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _publishing_piwigo_publishing_parameters_ref0 (_tmp0_); -#line 721 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_publishing_parameters_unref0 (self->priv->parameters); -#line 721 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->parameters = _tmp1_; -#line 722 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = strip_metadata; -#line 722 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->strip_metadata = _tmp2_; -#line 724 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = parameters; -#line 724 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _tmp3_->category; -#line 724 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = publishing_piwigo_category_is_local (_tmp4_); -#line 724 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp5_) { -#line 5367 "PiwigoPublishing.c" +#line 5615 "PiwigoPublishing.c" PublishingPiwigoPublishingParameters* _tmp6_ = NULL; PublishingPiwigoCategory* _tmp7_ = NULL; -#line 725 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = parameters; -#line 725 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _tmp6_->category; -#line 725 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_create_category (self, _tmp7_); -#line 5376 "PiwigoPublishing.c" +#line 5624 "PiwigoPublishing.c" } else { gboolean _tmp8_ = FALSE; -#line 727 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = self->priv->strip_metadata; -#line 727 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_upload (self, _tmp8_); -#line 5383 "PiwigoPublishing.c" +#line 5631 "PiwigoPublishing.c" } } @@ -5422,21 +5671,21 @@ static gchar* string_strip (const gchar* self) { result = _result_; #line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 5418 "PiwigoPublishing.c" +#line 5666 "PiwigoPublishing.c" } static void _publishing_piwigo_piwigo_publisher_on_category_add_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) { -#line 751 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 779 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_category_add_error ((PublishingPiwigoPiwigoPublisher*) self, _sender, err); -#line 5425 "PiwigoPublishing.c" +#line 5673 "PiwigoPublishing.c" } static void _publishing_piwigo_piwigo_publisher_on_category_add_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) { -#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_category_add_complete ((PublishingPiwigoPiwigoPublisher*) self, _sender); -#line 5432 "PiwigoPublishing.c" +#line 5680 "PiwigoPublishing.c" } @@ -5468,100 +5717,100 @@ static void publishing_piwigo_piwigo_publisher_do_create_category (PublishingPiw PublishingPiwigoCategoriesAddTransaction* _tmp23_ = NULL; PublishingPiwigoCategoriesAddTransaction* _tmp24_ = NULL; GError * _inner_error_ = NULL; -#line 742 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 742 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_CATEGORY (category)); -#line 743 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = category; -#line 743 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _tmp0_->name; -#line 743 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = g_strdup_printf ("ACTION: creating a new category: %s", _tmp1_); -#line 743 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = _tmp2_; -#line 743 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:743: %s", _tmp3_); -#line 743 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:771: %s", _tmp3_); +#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp3_); -#line 744 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = category; -#line 744 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = publishing_piwigo_category_is_local (_tmp4_); -#line 744 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _vala_assert (_tmp5_, "category.is_local()"); -#line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = self->priv->host; -#line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_set_service_locked (_tmp6_, TRUE); -#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = self->priv->host; -#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp8_ = _ ("Creating album %s..."); -#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp8_ = _ ("Creating album %s…"); +#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = category; -#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = _tmp9_->name; -#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = g_strdup_printf (_tmp8_, _tmp10_); -#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = _tmp11_; -#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_install_static_message_pane (_tmp7_, _tmp12_, SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL); -#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp12_); -#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = self->priv->session; -#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = category; -#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = _tmp14_->name; -#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = string_strip (_tmp15_); -#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = _tmp16_; -#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = category; -#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = _tmp18_->uppercats; -#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = atoi (_tmp19_); -#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = category; -#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp22_ = _tmp21_->comment; -#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp23_ = publishing_piwigo_categories_add_transaction_new (_tmp13_, _tmp17_, _tmp20_, _tmp22_); -#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp24_ = _tmp23_; -#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp17_); -#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" creation_trans = _tmp24_; -#line 751 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 779 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (creation_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_piwigo_piwigo_publisher_on_category_add_error_publishing_rest_support_transaction_network_error, self, 0); -#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (creation_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_piwigo_piwigo_publisher_on_category_add_complete_publishing_rest_support_transaction_completed, self, 0); -#line 5538 "PiwigoPublishing.c" +#line 5786 "PiwigoPublishing.c" { -#line 755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (creation_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_); -#line 755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 5546 "PiwigoPublishing.c" +#line 5794 "PiwigoPublishing.c" goto __catch42_spit_publishing_publishing_error; } -#line 755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (creation_trans); -#line 755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 5557 "PiwigoPublishing.c" +#line 5805 "PiwigoPublishing.c" } } goto __finally42; @@ -5569,36 +5818,36 @@ static void publishing_piwigo_piwigo_publisher_do_create_category (PublishingPiw { GError* err = NULL; GError* _tmp25_ = NULL; -#line 754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" err = _inner_error_; -#line 754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 757 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:757: ERROR: do_create_category"); -#line 758 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:785: ERROR: do_create_category"); +#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp25_ = err; -#line 758 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp25_); -#line 754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 5577 "PiwigoPublishing.c" +#line 5825 "PiwigoPublishing.c" } __finally42: -#line 754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (creation_trans); -#line 754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 5590 "PiwigoPublishing.c" +#line 5838 "PiwigoPublishing.c" } -#line 742 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (creation_trans); -#line 5594 "PiwigoPublishing.c" +#line 5842 "PiwigoPublishing.c" } @@ -5615,25 +5864,25 @@ static void publishing_piwigo_piwigo_publisher_on_category_add_complete (Publish PublishingRESTSupportTransaction* _tmp2_ = NULL; guint _tmp3_ = 0U; GError * _inner_error_ = NULL; -#line 769 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 769 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn)); -#line 770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:770: EVENT: on_category_add_complete"); -#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 798 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:798: EVENT: on_category_add_complete"); +#line 799 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = txn; -#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 799 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 799 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_add_complete_publishing_rest_support_transaction_completed, self); -#line 772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = txn; -#line 772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_add_error_publishing_rest_support_transaction_network_error, self); -#line 5629 "PiwigoPublishing.c" +#line 5877 "PiwigoPublishing.c" { PublishingRESTSupportXmlDocument* doc = NULL; PublishingRESTSupportTransaction* _tmp4_ = NULL; @@ -5659,129 +5908,129 @@ static void publishing_piwigo_piwigo_publisher_on_category_add_complete (Publish PublishingPiwigoCategory* _tmp20_ = NULL; gint _tmp21_ = 0; gboolean _tmp22_ = FALSE; -#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = txn; -#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = publishing_rest_support_transaction_get_response (_tmp4_); -#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _tmp5_; -#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = publishing_rest_support_xml_document_parse_string (_tmp6_, _publishing_piwigo_transaction_validate_xml_publishing_rest_support_xml_document_check_for_error_response, NULL, &_inner_error_); -#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = _tmp7_; -#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp6_); -#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" doc = _tmp8_; -#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 5673 "PiwigoPublishing.c" +#line 5921 "PiwigoPublishing.c" goto __catch43_spit_publishing_publishing_error; } -#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 5682 "PiwigoPublishing.c" +#line 5930 "PiwigoPublishing.c" } -#line 779 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = doc; -#line 779 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = publishing_rest_support_xml_document_get_root_node (_tmp9_); -#line 779 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" rsp = _tmp10_; -#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = doc; -#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = rsp; -#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = publishing_rest_support_xml_document_get_named_child (_tmp12_, _tmp13_, "id", &_inner_error_); -#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = _tmp14_; -#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 5704 "PiwigoPublishing.c" +#line 5952 "PiwigoPublishing.c" goto __catch43_spit_publishing_publishing_error; } -#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 5715 "PiwigoPublishing.c" +#line 5963 "PiwigoPublishing.c" } -#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" id_node = _tmp11_; -#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = id_node; -#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = (gchar*) xmlNodeGetContent (_tmp15_); -#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" id_string = _tmp16_; -#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 811 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = id_string; -#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 811 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = atoi (_tmp17_); -#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 811 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" id = _tmp18_; -#line 784 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = self->priv->parameters; -#line 784 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = _tmp19_->category; -#line 784 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = id; -#line 784 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_->id = _tmp21_; -#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 813 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp22_ = self->priv->strip_metadata; -#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 813 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_upload (self, _tmp22_); -#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (id_string); -#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); -#line 5747 "PiwigoPublishing.c" +#line 5995 "PiwigoPublishing.c" } goto __finally43; __catch43_spit_publishing_publishing_error: { GError* err = NULL; GError* _tmp23_ = NULL; -#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" err = _inner_error_; -#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 787 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:787: ERROR: on_category_add_complete"); -#line 788 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 815 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:815: ERROR: on_category_add_complete"); +#line 816 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp23_ = err; -#line 788 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 816 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp23_); -#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 5766 "PiwigoPublishing.c" +#line 6014 "PiwigoPublishing.c" } __finally43: -#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 5777 "PiwigoPublishing.c" +#line 6025 "PiwigoPublishing.c" } } @@ -5796,31 +6045,31 @@ static void publishing_piwigo_piwigo_publisher_on_category_add_error (Publishing guint _tmp3_ = 0U; PublishingRESTSupportTransaction* _tmp4_ = NULL; GError* _tmp5_ = NULL; -#line 795 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 823 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 795 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 823 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (bad_txn)); -#line 799 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:799: EVENT: on_category_add_error"); -#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 827 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:827: EVENT: on_category_add_error"); +#line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = bad_txn; -#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE); -#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_add_complete_publishing_rest_support_transaction_completed, self); -#line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 829 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = bad_txn; -#line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 829 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE); -#line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 829 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_add_error_publishing_rest_support_transaction_network_error, self); -#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = bad_txn; -#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = err; -#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_network_error (self, _tmp4_, _tmp5_); -#line 5816 "PiwigoPublishing.c" +#line 6064 "PiwigoPublishing.c" } @@ -5828,23 +6077,23 @@ static void publishing_piwigo_piwigo_publisher_on_category_add_error (Publishing * Upload action: the big one, the one we've been waiting for! */ static void _publishing_piwigo_piwigo_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete (PublishingRESTSupportBatchUploader* _sender, gint num_photos_published, gpointer self) { -#line 825 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 853 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_upload_complete ((PublishingPiwigoPiwigoPublisher*) self, _sender, num_photos_published); -#line 5826 "PiwigoPublishing.c" +#line 6074 "PiwigoPublishing.c" } static void _publishing_piwigo_piwigo_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error (PublishingRESTSupportBatchUploader* _sender, GError* err, gpointer self) { -#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 854 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_upload_error ((PublishingPiwigoPiwigoPublisher*) self, _sender, err); -#line 5833 "PiwigoPublishing.c" +#line 6081 "PiwigoPublishing.c" } static void _publishing_piwigo_piwigo_publisher_on_upload_status_updated_spit_publishing_progress_callback (gint file_number, gdouble fraction_complete, gpointer self) { -#line 827 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 855 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_on_upload_status_updated ((PublishingPiwigoPiwigoPublisher*) self, file_number, fraction_complete); -#line 5840 "PiwigoPublishing.c" +#line 6088 "PiwigoPublishing.c" } @@ -5883,113 +6132,113 @@ static void publishing_piwigo_piwigo_publisher_do_upload (PublishingPiwigoPiwigo PublishingPiwigoSession* _tmp27_ = NULL; PublishingPiwigoPublishingParameters* _tmp28_ = NULL; PublishingPiwigoUploader* _tmp29_ = NULL; -#line 808 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = strip_metadata; -#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->strip_metadata = _tmp0_; -#line 810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:810: ACTION: uploading pictures"); -#line 812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 838 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:838: ACTION: uploading pictures"); +#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = self->priv->host; -#line 812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_set_service_locked (_tmp1_, TRUE); -#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->parameters; -#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = _tmp2_->category; -#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _tmp3_->id; -#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_set_last_category (self, _tmp4_); -#line 815 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = self->priv->parameters; -#line 815 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _tmp5_->perm_level; -#line 815 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _tmp6_->id; -#line 815 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_set_last_permission_level (self, _tmp7_); -#line 816 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 844 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = self->priv->parameters; -#line 816 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 844 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = _tmp8_->photo_size; -#line 816 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 844 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = _tmp9_->id; -#line 816 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 844 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_set_last_photo_size (self, _tmp10_); -#line 817 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = self->priv->parameters; -#line 817 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = _tmp11_->title_as_comment; -#line 817 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_set_last_title_as_comment (self, _tmp12_); -#line 818 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 846 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = self->priv->parameters; -#line 818 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 846 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = _tmp13_->no_upload_tags; -#line 818 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 846 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_set_last_no_upload_tags (self, _tmp14_); -#line 819 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = strip_metadata; -#line 819 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_set_metadata_removal_choice (self, _tmp15_); -#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = self->priv->host; -#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = self->priv->parameters; -#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = _tmp17_->photo_size; -#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = _tmp18_->id; -#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = self->priv->strip_metadata; -#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp23_ = spit_publishing_plugin_host_serialize_publishables (_tmp16_, _tmp19_, _tmp20_, &_tmp21_, &_tmp22_); -#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (self->priv->progress_reporter_target_destroy_notify == NULL) ? NULL : (self->priv->progress_reporter_target_destroy_notify (self->priv->progress_reporter_target), NULL); -#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->progress_reporter = NULL; -#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->progress_reporter_target = NULL; -#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->progress_reporter_target_destroy_notify = NULL; -#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->progress_reporter = _tmp23_; -#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->progress_reporter_target = _tmp21_; -#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->progress_reporter_target_destroy_notify = _tmp22_; -#line 822 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp24_ = self->priv->host; -#line 822 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp26_ = spit_publishing_plugin_host_get_publishables (_tmp24_, &_tmp25_); -#line 822 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishables = _tmp26_; -#line 822 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishables_length1 = _tmp25_; -#line 822 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishables_size_ = publishables_length1; -#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp27_ = self->priv->session; -#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp28_ = self->priv->parameters; -#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp29_ = publishing_piwigo_uploader_new (_tmp27_, publishables, publishables_length1, _tmp28_); -#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" uploader = _tmp29_; -#line 825 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 853 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (uploader, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader), "upload-complete", (GCallback) _publishing_piwigo_piwigo_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete, self, 0); -#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 854 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (uploader, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader), "upload-error", (GCallback) _publishing_piwigo_piwigo_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error, self, 0); -#line 827 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 855 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_batch_uploader_upload (G_TYPE_CHECK_INSTANCE_CAST (uploader, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader), _publishing_piwigo_piwigo_publisher_on_upload_status_updated_spit_publishing_progress_callback, self); -#line 808 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_batch_uploader_unref0 (uploader); -#line 808 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishables = (_vala_array_free (publishables, publishables_length1, (GDestroyNotify) g_object_unref), NULL); -#line 5985 "PiwigoPublishing.c" +#line 6233 "PiwigoPublishing.c" } @@ -6002,27 +6251,27 @@ static void publishing_piwigo_piwigo_publisher_on_upload_complete (PublishingPiw guint _tmp1_ = 0U; PublishingRESTSupportBatchUploader* _tmp2_ = NULL; guint _tmp3_ = 0U; -#line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 862 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 862 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_BATCH_UPLOADER (uploader)); -#line 835 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:835: EVENT: on_upload_complete"); -#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 863 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:863: EVENT: on_upload_complete"); +#line 864 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = uploader; -#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 864 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("upload-complete", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, &_tmp1_, NULL, FALSE); -#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 864 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete, self); -#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 865 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = uploader; -#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 865 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("upload-error", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, &_tmp3_, NULL, FALSE); -#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 865 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error, self); -#line 841 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 869 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_success_pane (self); -#line 6018 "PiwigoPublishing.c" +#line 6266 "PiwigoPublishing.c" } @@ -6036,29 +6285,29 @@ static void publishing_piwigo_piwigo_publisher_on_upload_error (PublishingPiwigo PublishingRESTSupportBatchUploader* _tmp2_ = NULL; guint _tmp3_ = 0U; GError* _tmp4_ = NULL; -#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 876 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 876 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_BATCH_UPLOADER (uploader)); -#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:852: EVENT: on_upload_error"); -#line 853 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 880 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:880: EVENT: on_upload_error"); +#line 881 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = uploader; -#line 853 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 881 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("upload-complete", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, &_tmp1_, NULL, FALSE); -#line 853 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 881 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete, self); -#line 854 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = uploader; -#line 854 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_parse_name ("upload-error", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, &_tmp3_, NULL, FALSE); -#line 854 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error, self); -#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 884 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = err; -#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 884 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp4_); -#line 6054 "PiwigoPublishing.c" +#line 6302 "PiwigoPublishing.c" } @@ -6074,38 +6323,38 @@ static void publishing_piwigo_piwigo_publisher_on_upload_status_updated (Publish void* _tmp3__target = NULL; gint _tmp4_ = 0; gdouble _tmp5_ = 0.0; -#line 862 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 890 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 863 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 891 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = spit_publishing_publisher_is_running (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher)); -#line 863 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 891 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp0_) { -#line 864 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 892 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 6078 "PiwigoPublishing.c" +#line 6326 "PiwigoPublishing.c" } -#line 866 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 894 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = completed_fraction; -#line 866 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:866: EVENT: uploader reports upload %.2f percent" \ +#line 894 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:894: EVENT: uploader reports upload %.2f percent" \ " complete.", 100.0 * _tmp1_); -#line 868 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->progress_reporter; -#line 868 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2__target = self->priv->progress_reporter_target; -#line 868 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _vala_assert (_tmp2_ != NULL, "progress_reporter != null"); -#line 870 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->progress_reporter; -#line 870 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3__target = self->priv->progress_reporter_target; -#line 870 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = file_number; -#line 870 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = completed_fraction; -#line 870 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ (_tmp4_, _tmp5_, _tmp3__target); -#line 6100 "PiwigoPublishing.c" +#line 6348 "PiwigoPublishing.c" } @@ -6115,19 +6364,19 @@ static void publishing_piwigo_piwigo_publisher_on_upload_status_updated (Publish static void publishing_piwigo_piwigo_publisher_do_show_success_pane (PublishingPiwigoPiwigoPublisher* self) { SpitPublishingPluginHost* _tmp0_ = NULL; SpitPublishingPluginHost* _tmp1_ = NULL; -#line 876 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 904 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 877 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:877: ACTION: installing success pane"); -#line 879 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:905: ACTION: installing success pane"); +#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->host; -#line 879 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_set_service_locked (_tmp0_, FALSE); -#line 880 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 908 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = self->priv->host; -#line 880 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 908 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_install_success_pane (_tmp1_); -#line 6122 "PiwigoPublishing.c" +#line 6370 "PiwigoPublishing.c" } @@ -6136,17 +6385,17 @@ static void publishing_piwigo_piwigo_publisher_do_show_success_pane (PublishingP */ static void publishing_piwigo_piwigo_publisher_on_network_error (PublishingPiwigoPiwigoPublisher* self, PublishingRESTSupportTransaction* bad_txn, GError* err) { GError* _tmp0_ = NULL; -#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (bad_txn)); -#line 890 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:890: EVENT: on_network_error"); -#line 891 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:918: EVENT: on_network_error"); +#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = err; -#line 891 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp0_); -#line 6141 "PiwigoPublishing.c" +#line 6389 "PiwigoPublishing.c" } @@ -6163,130 +6412,130 @@ static void publishing_piwigo_piwigo_publisher_do_show_error (PublishingPiwigoPi gchar* _tmp19_ = NULL; gchar* _tmp20_ = NULL; const gchar* _tmp21_ = NULL; -#line 897 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 925 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:898: ACTION: do_show_error"); -#line 899 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 926 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:926: ACTION: do_show_error"); +#line 927 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = g_strdup ("UNKNOWN"); -#line 899 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 927 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" error_type = _tmp0_; -#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = e; -#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_error_matches (_tmp1_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_NO_ANSWER)) { -#line 901 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_authentication_pane (self, PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_FAILED_RETRY_URL); -#line 902 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (error_type); -#line 902 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return; -#line 6176 "PiwigoPublishing.c" +#line 6424 "PiwigoPublishing.c" } else { GError* _tmp2_ = NULL; -#line 903 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = e; -#line 903 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_error_matches (_tmp2_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_COMMUNICATION_FAILED)) { -#line 6183 "PiwigoPublishing.c" +#line 6431 "PiwigoPublishing.c" gchar* _tmp3_ = NULL; -#line 904 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = g_strdup ("COMMUNICATION_FAILED"); -#line 904 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (error_type); -#line 904 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" error_type = _tmp3_; -#line 6191 "PiwigoPublishing.c" +#line 6439 "PiwigoPublishing.c" } else { GError* _tmp4_ = NULL; -#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = e; -#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_error_matches (_tmp4_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_PROTOCOL_ERROR)) { -#line 6198 "PiwigoPublishing.c" +#line 6446 "PiwigoPublishing.c" gchar* _tmp5_ = NULL; -#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = g_strdup ("PROTOCOL_ERROR"); -#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (error_type); -#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" error_type = _tmp5_; -#line 6206 "PiwigoPublishing.c" +#line 6454 "PiwigoPublishing.c" } else { GError* _tmp6_ = NULL; -#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 935 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = e; -#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 935 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_error_matches (_tmp6_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_SERVICE_ERROR)) { -#line 6213 "PiwigoPublishing.c" +#line 6461 "PiwigoPublishing.c" gchar* _tmp7_ = NULL; -#line 908 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 936 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = g_strdup ("SERVICE_ERROR"); -#line 908 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 936 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (error_type); -#line 908 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 936 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" error_type = _tmp7_; -#line 6221 "PiwigoPublishing.c" +#line 6469 "PiwigoPublishing.c" } else { GError* _tmp8_ = NULL; -#line 909 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = e; -#line 909 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_error_matches (_tmp8_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE)) { -#line 6228 "PiwigoPublishing.c" +#line 6476 "PiwigoPublishing.c" gchar* _tmp9_ = NULL; -#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = g_strdup ("MALFORMED_RESPONSE"); -#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (error_type); -#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" error_type = _tmp9_; -#line 6236 "PiwigoPublishing.c" +#line 6484 "PiwigoPublishing.c" } else { GError* _tmp10_ = NULL; -#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = e; -#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_error_matches (_tmp10_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR)) { -#line 6243 "PiwigoPublishing.c" +#line 6491 "PiwigoPublishing.c" gchar* _tmp11_ = NULL; -#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = g_strdup ("LOCAL_FILE_ERROR"); -#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (error_type); -#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" error_type = _tmp11_; -#line 6251 "PiwigoPublishing.c" +#line 6499 "PiwigoPublishing.c" } else { GError* _tmp12_ = NULL; -#line 913 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = e; -#line 913 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_error_matches (_tmp12_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_EXPIRED_SESSION)) { -#line 6258 "PiwigoPublishing.c" +#line 6506 "PiwigoPublishing.c" gchar* _tmp13_ = NULL; -#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 942 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = g_strdup ("EXPIRED_SESSION"); -#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 942 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (error_type); -#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 942 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" error_type = _tmp13_; -#line 6266 "PiwigoPublishing.c" +#line 6514 "PiwigoPublishing.c" } else { GError* _tmp14_ = NULL; -#line 915 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = e; -#line 915 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_error_matches (_tmp14_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_SSL_FAILED)) { -#line 6273 "PiwigoPublishing.c" +#line 6521 "PiwigoPublishing.c" gchar* _tmp15_ = NULL; -#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = g_strdup ("SECURE_CONNECTION_FAILED"); -#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (error_type); -#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" error_type = _tmp15_; -#line 6281 "PiwigoPublishing.c" +#line 6529 "PiwigoPublishing.c" } } } @@ -6295,27 +6544,27 @@ static void publishing_piwigo_piwigo_publisher_do_show_error (PublishingPiwigoPi } } } -#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = error_type; -#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = e; -#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = _tmp17_->message; -#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = g_strdup_printf ("Unhandled error: type=%s; message='%s'", _tmp16_, _tmp18_); -#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = _tmp19_; -#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:919: %s", _tmp20_); -#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:947: %s", _tmp20_); +#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp20_); -#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 948 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = _ ("An error message occurred when publishing to Piwigo. Please try again."); -#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 948 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_piwigo_publisher_do_show_error_message (self, _tmp21_); -#line 897 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 925 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (error_type); -#line 6310 "PiwigoPublishing.c" +#line 6558 "PiwigoPublishing.c" } @@ -6325,19 +6574,19 @@ static void publishing_piwigo_piwigo_publisher_do_show_error (PublishingPiwigoPi static void publishing_piwigo_piwigo_publisher_do_show_error_message (PublishingPiwigoPiwigoPublisher* self, const gchar* message) { SpitPublishingPluginHost* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 926 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self)); -#line 926 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (message != NULL); -#line 927 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:927: ACTION: do_show_error_message"); -#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:955: ACTION: do_show_error_message"); +#line 956 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->host; -#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 956 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = message; -#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 956 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_install_static_message_pane (_tmp0_, _tmp1_, SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CLOSE); -#line 6332 "PiwigoPublishing.c" +#line 6580 "PiwigoPublishing.c" } @@ -6351,39 +6600,39 @@ static void publishing_piwigo_piwigo_publisher_do_show_error_message (Publishing * @return the value of pwg_id if present or null if not found */ static SoupCookie* _vala_SoupCookie_copy (SoupCookie* self) { -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return g_boxed_copy (soup_cookie_get_type (), self); -#line 6348 "PiwigoPublishing.c" +#line 6596 "PiwigoPublishing.c" } static gpointer __vala_SoupCookie_copy0 (gpointer self) { -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self ? _vala_SoupCookie_copy (self) : NULL; -#line 6355 "PiwigoPublishing.c" +#line 6603 "PiwigoPublishing.c" } static void _vala_SoupCookie_free (SoupCookie* self) { -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_boxed_free (soup_cookie_get_type (), self); -#line 6362 "PiwigoPublishing.c" +#line 6610 "PiwigoPublishing.c" } static void __vala_SoupCookie_free0_ (gpointer var) { -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (var == NULL) ? NULL : (var = (_vala_SoupCookie_free (var), NULL)); -#line 6369 "PiwigoPublishing.c" +#line 6617 "PiwigoPublishing.c" } static void _g_slist_free___vala_SoupCookie_free0_ (GSList* self) { -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_slist_foreach (self, (GFunc) __vala_SoupCookie_free0_, NULL); -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_slist_free (self); -#line 6378 "PiwigoPublishing.c" +#line 6626 "PiwigoPublishing.c" } @@ -6395,84 +6644,84 @@ static gchar* publishing_piwigo_piwigo_publisher_get_pwg_id_from_transaction (Pu SoupMessage* _tmp2_ = NULL; GSList* _tmp3_ = NULL; GSList* _tmp4_ = NULL; -#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self), NULL); -#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn), NULL); -#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" pwg_id = NULL; -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = txn; -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = publishing_rest_support_transaction_get_message (_tmp0_); -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = _tmp1_; -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = soup_cookies_from_response (_tmp2_); -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _tmp3_; -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (_tmp2_); -#line 6408 "PiwigoPublishing.c" +#line 6656 "PiwigoPublishing.c" { GSList* cookie_collection = NULL; GSList* cookie_it = NULL; -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cookie_collection = _tmp4_; -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" for (cookie_it = cookie_collection; cookie_it != NULL; cookie_it = cookie_it->next) { -#line 6416 "PiwigoPublishing.c" +#line 6664 "PiwigoPublishing.c" SoupCookie* _tmp5_ = NULL; SoupCookie* cookie = NULL; -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = __vala_SoupCookie_copy0 ((SoupCookie*) cookie_it->data); -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cookie = _tmp5_; -#line 6423 "PiwigoPublishing.c" +#line 6671 "PiwigoPublishing.c" { SoupCookie* _tmp6_ = NULL; const gchar* _tmp7_ = NULL; -#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = cookie; -#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = soup_cookie_get_name (_tmp6_); -#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_strcmp0 (_tmp7_, "pwg_id") == 0) { -#line 6433 "PiwigoPublishing.c" +#line 6681 "PiwigoPublishing.c" SoupCookie* _tmp8_ = NULL; const gchar* _tmp9_ = NULL; gchar* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; -#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = cookie; -#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = soup_cookie_get_value (_tmp8_); -#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = g_strdup (_tmp9_); -#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (pwg_id); -#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" pwg_id = _tmp10_; -#line 951 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 979 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = pwg_id; -#line 951 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:951: Found pwg_id %s", _tmp11_); -#line 6452 "PiwigoPublishing.c" +#line 979 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:979: Found pwg_id %s", _tmp11_); +#line 6700 "PiwigoPublishing.c" } -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" __vala_SoupCookie_free0 (cookie); -#line 6456 "PiwigoPublishing.c" +#line 6704 "PiwigoPublishing.c" } } -#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" __g_slist_free___vala_SoupCookie_free0_0 (cookie_collection); -#line 6461 "PiwigoPublishing.c" +#line 6709 "PiwigoPublishing.c" } -#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 983 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = pwg_id; -#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 983 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 6467 "PiwigoPublishing.c" +#line 6715 "PiwigoPublishing.c" } @@ -6483,7 +6732,7 @@ static void publishing_piwigo_piwigo_publisher_class_init (PublishingPiwigoPiwig g_type_class_add_private (klass, sizeof (PublishingPiwigoPiwigoPublisherPrivate)); #line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" G_OBJECT_CLASS (klass)->finalize = publishing_piwigo_piwigo_publisher_finalize; -#line 6478 "PiwigoPublishing.c" +#line 6726 "PiwigoPublishing.c" } @@ -6498,7 +6747,7 @@ static void publishing_piwigo_piwigo_publisher_spit_publishing_publisher_interfa iface->start = (void (*)(SpitPublishingPublisher*)) publishing_piwigo_piwigo_publisher_real_start; #line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" iface->stop = (void (*)(SpitPublishingPublisher*)) publishing_piwigo_piwigo_publisher_real_stop; -#line 6493 "PiwigoPublishing.c" +#line 6741 "PiwigoPublishing.c" } @@ -6519,7 +6768,7 @@ static void publishing_piwigo_piwigo_publisher_instance_init (PublishingPiwigoPi self->priv->parameters = NULL; #line 129 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->progress_reporter = NULL; -#line 6514 "PiwigoPublishing.c" +#line 6762 "PiwigoPublishing.c" } @@ -6547,7 +6796,7 @@ static void publishing_piwigo_piwigo_publisher_finalize (GObject* obj) { self->priv->progress_reporter_target_destroy_notify = NULL; #line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" G_OBJECT_CLASS (publishing_piwigo_piwigo_publisher_parent_class)->finalize (obj); -#line 6542 "PiwigoPublishing.c" +#line 6790 "PiwigoPublishing.c" } @@ -6572,36 +6821,36 @@ PublishingPiwigoUploader* publishing_piwigo_uploader_construct (GType object_typ gint _tmp1__length1 = 0; PublishingPiwigoPublishingParameters* _tmp2_ = NULL; PublishingPiwigoPublishingParameters* _tmp3_ = NULL; -#line 964 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 964 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_PARAMETERS (parameters), NULL); -#line 966 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 966 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = publishables; -#line 966 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1__length1 = publishables_length1; -#line 966 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoUploader*) publishing_rest_support_batch_uploader_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, _tmp1__length1); -#line 968 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = parameters; -#line 968 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = _publishing_piwigo_publishing_parameters_ref0 (_tmp2_); -#line 968 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_publishing_parameters_unref0 (self->priv->parameters); -#line 968 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->parameters = _tmp3_; -#line 964 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 6589 "PiwigoPublishing.c" +#line 6837 "PiwigoPublishing.c" } PublishingPiwigoUploader* publishing_piwigo_uploader_new (PublishingPiwigoSession* session, SpitPublishingPublishable** publishables, int publishables_length1, PublishingPiwigoPublishingParameters* parameters) { -#line 964 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_uploader_construct (PUBLISHING_PIWIGO_TYPE_UPLOADER, session, publishables, publishables_length1, parameters); -#line 6596 "PiwigoPublishing.c" +#line 6844 "PiwigoPublishing.c" } @@ -6614,61 +6863,61 @@ static PublishingRESTSupportTransaction* publishing_piwigo_uploader_real_create_ SpitPublishingPublishable* _tmp3_ = NULL; PublishingPiwigoImagesAddTransaction* _tmp4_ = NULL; PublishingRESTSupportTransaction* _tmp5_ = NULL; -#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_UPLOADER, PublishingPiwigoUploader); -#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (publishable), NULL); -#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = publishing_rest_support_batch_uploader_get_session (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader)); -#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_PIWIGO_TYPE_SESSION, PublishingPiwigoSession); -#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->parameters; -#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = publishable; -#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = publishing_piwigo_images_add_transaction_new (_tmp1_, _tmp2_, _tmp3_); -#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction); -#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_session_unref0 (_tmp1_); -#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp5_; -#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 6631 "PiwigoPublishing.c" +#line 6879 "PiwigoPublishing.c" } static void publishing_piwigo_uploader_class_init (PublishingPiwigoUploaderClass * klass) { -#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_uploader_parent_class = g_type_class_peek_parent (klass); -#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" ((PublishingRESTSupportBatchUploaderClass *) klass)->finalize = publishing_piwigo_uploader_finalize; -#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingPiwigoUploaderPrivate)); -#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" ((PublishingRESTSupportBatchUploaderClass *) klass)->create_transaction = publishing_piwigo_uploader_real_create_transaction; -#line 6644 "PiwigoPublishing.c" +#line 6892 "PiwigoPublishing.c" } static void publishing_piwigo_uploader_instance_init (PublishingPiwigoUploader * self) { -#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv = PUBLISHING_PIWIGO_UPLOADER_GET_PRIVATE (self); -#line 6651 "PiwigoPublishing.c" +#line 6899 "PiwigoPublishing.c" } static void publishing_piwigo_uploader_finalize (PublishingRESTSupportBatchUploader* obj) { PublishingPiwigoUploader * self; -#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_UPLOADER, PublishingPiwigoUploader); -#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 990 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_publishing_parameters_unref0 (self->priv->parameters); -#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" PUBLISHING_REST_SUPPORT_BATCH_UPLOADER_CLASS (publishing_piwigo_uploader_parent_class)->finalize (obj); -#line 6663 "PiwigoPublishing.c" +#line 6911 "PiwigoPublishing.c" } @@ -6684,6 +6933,508 @@ GType publishing_piwigo_uploader_get_type (void) { } +static Block1Data* block1_data_ref (Block1Data* _data1_) { +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_atomic_int_inc (&_data1_->_ref_count_); +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + return _data1_; +#line 6932 "PiwigoPublishing.c" +} + + +static void block1_data_unref (void * _userdata_) { + Block1Data* _data1_; + _data1_ = (Block1Data*) _userdata_; +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) { +#line 6941 "PiwigoPublishing.c" + PublishingPiwigoSSLErrorPane* self; +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + self = _data1_->self; +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (_data1_->cert); +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (self); +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_slice_free (Block1Data, _data1_); +#line 6951 "PiwigoPublishing.c" + } +} + + +static void ___lambda4_ (Block1Data* _data1_) { + PublishingPiwigoSSLErrorPane* self; + GcrSimpleCertificate* simple_cert = NULL; + GTlsCertificate* _tmp0_ = NULL; + GByteArray* _tmp1_ = NULL; + GByteArray* _tmp2_ = NULL; + GByteArray* _tmp3_ = NULL; + guint8* _tmp4_ = NULL; + gint _tmp4__length1 = 0; + GcrSimpleCertificate* _tmp5_ = NULL; + GcrSimpleCertificate* _tmp6_ = NULL; + GcrCertificateWidget* widget = NULL; + GcrCertificateWidget* _tmp7_ = NULL; + GtkDialog* dialog = NULL; + GtkDialog* _tmp8_ = NULL; + GtkBox* _tmp9_ = NULL; +#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + self = _data1_->self; +#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp0_ = _data1_->cert; +#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_object_get (_tmp0_, "certificate", &_tmp1_, NULL); +#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp2_ = _tmp1_; +#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp3_ = _tmp2_; +#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp4_ = _tmp3_->data; +#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp4__length1 = (gint) _tmp3_->len; +#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp5_ = (GcrSimpleCertificate*) gcr_simple_certificate_new (_tmp4_, _tmp4__length1); +#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp6_ = _tmp5_; +#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_byte_array_unref0 (_tmp3_); +#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + simple_cert = _tmp6_; +#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp7_ = gcr_certificate_widget_new (G_TYPE_CHECK_INSTANCE_CAST (simple_cert, gcr_certificate_get_type (), GcrCertificate)); +#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_object_ref_sink (_tmp7_); +#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + widget = _tmp7_; +#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp8_ = (GtkDialog*) gtk_dialog_new (); +#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_object_ref_sink (_tmp8_); +#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + dialog = _tmp8_; +#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp9_ = (GtkBox*) gtk_dialog_get_content_area (dialog); +#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (widget, gtk_widget_get_type (), GtkWidget)); +#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + gtk_dialog_add_button (dialog, "_OK", (gint) GTK_RESPONSE_OK); +#line 1039 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + gtk_dialog_set_default_response (dialog, (gint) GTK_RESPONSE_OK); +#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + gtk_window_set_default_size (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_window_get_type (), GtkWindow), 640, -1); +#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget)); +#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + gtk_dialog_run (dialog); +#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget)); +#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (dialog); +#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (widget); +#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (simple_cert); +#line 7028 "PiwigoPublishing.c" +} + + +static void ____lambda4__gtk_button_clicked (GtkButton* _sender, gpointer self) { +#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + ___lambda4_ (self); +#line 7035 "PiwigoPublishing.c" +} + + +static void ___lambda5_ (PublishingPiwigoSSLErrorPane* self) { +#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_signal_emit_by_name (self, "proceed"); +#line 7042 "PiwigoPublishing.c" +} + + +static void ____lambda5__gtk_button_clicked (GtkButton* _sender, gpointer self) { +#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + ___lambda5_ ((PublishingPiwigoSSLErrorPane*) self); +#line 7049 "PiwigoPublishing.c" +} + + +PublishingPiwigoSSLErrorPane* publishing_piwigo_ssl_error_pane_construct (GType object_type, PublishingPiwigoSessionLoginTransaction* transaction, const gchar* host) { + PublishingPiwigoSSLErrorPane * self = NULL; + GError * _inner_error_ = NULL; +#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION_LOGIN_TRANSACTION (transaction), NULL); +#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_return_val_if_fail (host != NULL, NULL); +#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + self = (PublishingPiwigoSSLErrorPane*) g_object_new (object_type, NULL); +#line 7062 "PiwigoPublishing.c" + { + Block1Data* _data1_; + GtkBuilder* _tmp0_ = NULL; + GtkBuilder* _tmp1_ = NULL; + GtkBuilder* _tmp2_ = NULL; + GObject* _tmp3_ = NULL; + GtkWidget* _tmp4_ = NULL; + GtkLabel* label = NULL; + GtkBuilder* _tmp5_ = NULL; + GObject* _tmp6_ = NULL; + GtkLabel* _tmp7_ = NULL; + GtkLabel* _tmp8_ = NULL; + const gchar* _tmp9_ = NULL; + const gchar* _tmp10_ = NULL; + gchar* _tmp11_ = NULL; + gchar* _tmp12_ = NULL; + GtkLabel* _tmp13_ = NULL; + GtkBuilder* _tmp14_ = NULL; + GObject* _tmp15_ = NULL; + GtkLabel* _tmp16_ = NULL; + gchar* text = NULL; + PublishingPiwigoSessionLoginTransaction* _tmp17_ = NULL; + GTlsCertificate* _tmp18_ = NULL; + gchar* _tmp19_ = NULL; + GtkLabel* _tmp20_ = NULL; + const gchar* _tmp21_ = NULL; + GtkButton* info = NULL; + GtkBuilder* _tmp22_ = NULL; + GObject* _tmp23_ = NULL; + GtkButton* _tmp24_ = NULL; + GtkButton* _tmp25_ = NULL; + GtkButton* proceed = NULL; + GtkBuilder* _tmp26_ = NULL; + GObject* _tmp27_ = NULL; + GtkButton* _tmp28_ = NULL; + GtkButton* _tmp29_ = NULL; + GtkWidget* _tmp30_ = NULL; + GtkContainer* _tmp31_ = NULL; + GtkContainer* _tmp32_ = NULL; +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _data1_ = g_slice_new0 (Block1Data); +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _data1_->_ref_count_ = 1; +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _data1_->self = g_object_ref (self); +#line 1018 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp0_ = gtk_builder_new (); +#line 1018 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (self->priv->builder); +#line 1018 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + self->priv->builder = _tmp0_; +#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp1_ = self->priv->builder; +#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + gtk_builder_add_from_resource (_tmp1_, PLUGIN_RESOURCE_PATH "/piwigo_ssl_failure_pane.ui", &_inner_error_); +#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + block1_data_unref (_data1_); +#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _data1_ = NULL; +#line 7124 "PiwigoPublishing.c" + goto __catch44_g_error; + } +#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp2_ = self->priv->builder; +#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp3_ = gtk_builder_get_object (_tmp2_, "content"); +#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, gtk_widget_get_type ()) ? ((GtkWidget*) _tmp3_) : NULL); +#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (self->priv->content); +#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + self->priv->content = _tmp4_; +#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp5_ = self->priv->builder; +#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp6_ = gtk_builder_get_object (_tmp5_, "main_text"); +#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp6_) : NULL); +#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + label = _tmp7_; +#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp8_ = label; +#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp9_ = _ ("This does not look like the real <b>%s</b>. Attackers might be trying " \ +"to steal or alter information going to or from this site (for example," \ +" private messages, credit card information, or passwords)."); +#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp10_ = host; +#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp11_ = g_strdup_printf (_tmp9_, _tmp10_); +#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp12_ = _tmp11_; +#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + gtk_label_set_text (_tmp8_, _tmp12_); +#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_free0 (_tmp12_); +#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp13_ = label; +#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + gtk_label_set_use_markup (_tmp13_, TRUE); +#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp14_ = self->priv->builder; +#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp15_ = gtk_builder_get_object (_tmp14_, "ssl_errors"); +#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp16_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp15_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp15_) : NULL); +#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (label); +#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + label = _tmp16_; +#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp17_ = transaction; +#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp19_ = publishing_rest_support_transaction_detailed_error_from_tls_flags (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_tmp18_); +#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (_data1_->cert); +#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _data1_->cert = _tmp18_; +#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + text = _tmp19_; +#line 1029 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp20_ = label; +#line 1029 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp21_ = text; +#line 1029 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + gtk_label_set_text (_tmp20_, _tmp21_); +#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp22_ = self->priv->builder; +#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp23_ = gtk_builder_get_object (_tmp22_, "default"); +#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp24_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp23_, gtk_button_get_type ()) ? ((GtkButton*) _tmp23_) : NULL); +#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + info = _tmp24_; +#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp25_ = info; +#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_signal_connect_data (_tmp25_, "clicked", (GCallback) ____lambda4__gtk_button_clicked, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0); +#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp26_ = self->priv->builder; +#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp27_ = gtk_builder_get_object (_tmp26_, "proceed_button"); +#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp28_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp27_, gtk_button_get_type ()) ? ((GtkButton*) _tmp27_) : NULL); +#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + proceed = _tmp28_; +#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp29_ = proceed; +#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_signal_connect_object (_tmp29_, "clicked", (GCallback) ____lambda5__gtk_button_clicked, self, 0); +#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp30_ = self->priv->content; +#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp31_ = gtk_widget_get_parent (_tmp30_); +#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp32_ = _tmp31_; +#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + if (_tmp32_ != NULL) { +#line 7221 "PiwigoPublishing.c" + GtkWidget* _tmp33_ = NULL; + GtkContainer* _tmp34_ = NULL; + GtkContainer* _tmp35_ = NULL; + GtkWidget* _tmp36_ = NULL; +#line 1050 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp33_ = self->priv->content; +#line 1050 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp34_ = gtk_widget_get_parent (_tmp33_); +#line 1050 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp35_ = _tmp34_; +#line 1050 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp36_ = self->priv->content; +#line 1050 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + gtk_container_remove (_tmp35_, _tmp36_); +#line 7236 "PiwigoPublishing.c" + } +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (proceed); +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (info); +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_free0 (text); +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (label); +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + block1_data_unref (_data1_); +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _data1_ = NULL; +#line 7250 "PiwigoPublishing.c" + } + goto __finally44; + __catch44_g_error: + { + GError* _error_ = NULL; + const gchar* _tmp37_ = NULL; +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _error_ = _inner_error_; +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _inner_error_ = NULL; +#line 1053 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp37_ = _error_->message; +#line 1053 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_warning ("PiwigoPublishing.vala:1053: Failed to create ui file: %s", _tmp37_); +#line 1054 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_assert_not_reached (); +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_error_free0 (_error_); +#line 7269 "PiwigoPublishing.c" + } + __finally44: +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_clear_error (&_inner_error_); +#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + return NULL; +#line 7280 "PiwigoPublishing.c" + } +#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + return self; +#line 7284 "PiwigoPublishing.c" +} + + +PublishingPiwigoSSLErrorPane* publishing_piwigo_ssl_error_pane_new (PublishingPiwigoSessionLoginTransaction* transaction, const gchar* host) { +#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + return publishing_piwigo_ssl_error_pane_construct (PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, transaction, host); +#line 7291 "PiwigoPublishing.c" +} + + +static SpitPublishingDialogPaneGeometryOptions publishing_piwigo_ssl_error_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) { + PublishingPiwigoSSLErrorPane * self; + SpitPublishingDialogPaneGeometryOptions result = 0; +#line 1058 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPane); +#line 1059 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE; +#line 1059 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + return result; +#line 7304 "PiwigoPublishing.c" +} + + +static GtkWidget* publishing_piwigo_ssl_error_pane_real_get_widget (SpitPublishingDialogPane* base) { + PublishingPiwigoSSLErrorPane * self; + GtkWidget* result = NULL; + GtkWidget* _tmp0_ = NULL; + GtkWidget* _tmp1_ = NULL; +#line 1062 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPane); +#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp0_ = self->priv->content; +#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp1_ = _g_object_ref0 (_tmp0_); +#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + result = _tmp1_; +#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + return result; +#line 7323 "PiwigoPublishing.c" +} + + +GtkWidget* publishing_piwigo_ssl_error_pane_get_default_widget (PublishingPiwigoSSLErrorPane* self) { + GtkWidget* result = NULL; + GtkBuilder* _tmp0_ = NULL; + GObject* _tmp1_ = NULL; + GtkWidget* _tmp2_ = NULL; +#line 1066 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SSL_ERROR_PANE (self), NULL); +#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp0_ = self->priv->builder; +#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp1_ = gtk_builder_get_object (_tmp0_, "default"); +#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_widget_get_type ()) ? ((GtkWidget*) _tmp1_) : NULL); +#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + result = _tmp2_; +#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + return result; +#line 7344 "PiwigoPublishing.c" +} + + +static void publishing_piwigo_ssl_error_pane_real_on_pane_installed (SpitPublishingDialogPane* base) { + PublishingPiwigoSSLErrorPane * self; +#line 1070 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPane); +#line 7352 "PiwigoPublishing.c" +} + + +static void publishing_piwigo_ssl_error_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) { + PublishingPiwigoSSLErrorPane * self; +#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPane); +#line 7360 "PiwigoPublishing.c" +} + + +static void publishing_piwigo_ssl_error_pane_class_init (PublishingPiwigoSSLErrorPaneClass * klass) { +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + publishing_piwigo_ssl_error_pane_parent_class = g_type_class_peek_parent (klass); +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_type_class_add_private (klass, sizeof (PublishingPiwigoSSLErrorPanePrivate)); +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + G_OBJECT_CLASS (klass)->finalize = publishing_piwigo_ssl_error_pane_finalize; +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_signal_new ("proceed", PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); +#line 7373 "PiwigoPublishing.c" +} + + +static void publishing_piwigo_ssl_error_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) { +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + publishing_piwigo_ssl_error_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface); +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) publishing_piwigo_ssl_error_pane_real_get_preferred_geometry; +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_piwigo_ssl_error_pane_real_get_widget; +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_piwigo_ssl_error_pane_real_on_pane_installed; +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_piwigo_ssl_error_pane_real_on_pane_uninstalled; +#line 7388 "PiwigoPublishing.c" +} + + +static void publishing_piwigo_ssl_error_pane_instance_init (PublishingPiwigoSSLErrorPane * self) { +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + self->priv = PUBLISHING_PIWIGO_SSL_ERROR_PANE_GET_PRIVATE (self); +#line 7395 "PiwigoPublishing.c" +} + + +static void publishing_piwigo_ssl_error_pane_finalize (GObject* obj) { + PublishingPiwigoSSLErrorPane * self; +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPane); +#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (self->priv->builder); +#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_object_unref0 (self->priv->content); +#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + G_OBJECT_CLASS (publishing_piwigo_ssl_error_pane_parent_class)->finalize (obj); +#line 7409 "PiwigoPublishing.c" +} + + +GType publishing_piwigo_ssl_error_pane_get_type (void) { + static volatile gsize publishing_piwigo_ssl_error_pane_type_id__volatile = 0; + if (g_once_init_enter (&publishing_piwigo_ssl_error_pane_type_id__volatile)) { + static const GTypeInfo g_define_type_info = { sizeof (PublishingPiwigoSSLErrorPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) publishing_piwigo_ssl_error_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PublishingPiwigoSSLErrorPane), 0, (GInstanceInitFunc) publishing_piwigo_ssl_error_pane_instance_init, NULL }; + static const GInterfaceInfo spit_publishing_dialog_pane_info = { (GInterfaceInitFunc) publishing_piwigo_ssl_error_pane_spit_publishing_dialog_pane_interface_init, (GInterfaceFinalizeFunc) NULL, NULL}; + GType publishing_piwigo_ssl_error_pane_type_id; + publishing_piwigo_ssl_error_pane_type_id = g_type_register_static (G_TYPE_OBJECT, "PublishingPiwigoSSLErrorPane", &g_define_type_info, 0); + g_type_add_interface_static (publishing_piwigo_ssl_error_pane_type_id, SPIT_PUBLISHING_TYPE_DIALOG_PANE, &spit_publishing_dialog_pane_info); + g_once_init_leave (&publishing_piwigo_ssl_error_pane_type_id__volatile, publishing_piwigo_ssl_error_pane_type_id); + } + return publishing_piwigo_ssl_error_pane_type_id__volatile; +} + + GType publishing_piwigo_authentication_pane_mode_get_type (void) { static volatile gsize publishing_piwigo_authentication_pane_mode_type_id__volatile = 0; if (g_once_init_enter (&publishing_piwigo_authentication_pane_mode_type_id__volatile)) { @@ -6697,30 +7448,30 @@ GType publishing_piwigo_authentication_pane_mode_get_type (void) { static void _publishing_piwigo_authentication_pane_on_user_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) { -#line 1051 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_authentication_pane_on_user_changed ((PublishingPiwigoAuthenticationPane*) self); -#line 6694 "PiwigoPublishing.c" +#line 7442 "PiwigoPublishing.c" } static void _publishing_piwigo_authentication_pane_on_url_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) { -#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_authentication_pane_on_url_changed ((PublishingPiwigoAuthenticationPane*) self); -#line 6701 "PiwigoPublishing.c" +#line 7449 "PiwigoPublishing.c" } static void _publishing_piwigo_authentication_pane_on_password_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) { -#line 1053 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1148 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_authentication_pane_on_password_changed ((PublishingPiwigoAuthenticationPane*) self); -#line 6708 "PiwigoPublishing.c" +#line 7456 "PiwigoPublishing.c" } static void _publishing_piwigo_authentication_pane_on_login_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 1054 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1149 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_authentication_pane_on_login_button_clicked ((PublishingPiwigoAuthenticationPane*) self); -#line 6715 "PiwigoPublishing.c" +#line 7463 "PiwigoPublishing.c" } @@ -6728,19 +7479,19 @@ PublishingPiwigoAuthenticationPane* publishing_piwigo_authentication_pane_constr PublishingPiwigoAuthenticationPane * self = NULL; GtkBox* _tmp0_ = NULL; GError * _inner_error_ = NULL; -#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (publisher), NULL); -#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoAuthenticationPane*) g_object_new (object_type, NULL); -#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); -#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_object_ref_sink (_tmp0_); -#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->pane_widget); -#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pane_widget = _tmp0_; -#line 6735 "PiwigoPublishing.c" +#line 7483 "PiwigoPublishing.c" { GtkBuilder* _tmp1_ = NULL; GtkBuilder* _tmp2_ = NULL; @@ -6794,328 +7545,328 @@ PublishingPiwigoAuthenticationPane* publishing_piwigo_authentication_pane_constr SpitPublishingPluginHost* _tmp63_ = NULL; SpitPublishingPluginHost* _tmp64_ = NULL; GtkButton* _tmp65_ = NULL; -#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1103 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = gtk_builder_new (); -#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1103 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->builder); -#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1103 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->builder = _tmp1_; -#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->builder; -#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_builder_add_from_resource (_tmp2_, PLUGIN_RESOURCE_PATH "/piwigo_authentication_pane.ui", &_inner_error_); -#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6801 "PiwigoPublishing.c" - goto __catch44_g_error; +#line 7549 "PiwigoPublishing.c" + goto __catch45_g_error; } -#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->builder; -#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_builder_connect_signals (_tmp3_, NULL); -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->builder; -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = gtk_builder_get_object (_tmp4_, "alignment"); -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, gtk_alignment_get_type ()) ? ((GtkAlignment*) _tmp5_) : NULL); -#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" align = _tmp6_; -#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1108 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = self->priv->builder; -#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1108 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = gtk_builder_get_object (_tmp7_, "message_label"); -#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1108 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp8_) : NULL); -#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1108 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" message_label = _tmp9_; -#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = mode; -#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" switch (_tmp10_) { -#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" case PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_INTRO: -#line 6830 "PiwigoPublishing.c" +#line 7578 "PiwigoPublishing.c" { GtkLabel* _tmp11_ = NULL; const gchar* _tmp12_ = NULL; -#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = message_label; -#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = publishing_piwigo_authentication_pane_INTRO_MESSAGE; -#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_label_set_text (_tmp11_, _tmp12_); -#line 1017 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 6842 "PiwigoPublishing.c" +#line 7590 "PiwigoPublishing.c" } -#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" case PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_FAILED_RETRY_URL: -#line 6846 "PiwigoPublishing.c" +#line 7594 "PiwigoPublishing.c" { GtkLabel* _tmp13_ = NULL; const gchar* _tmp14_ = NULL; const gchar* _tmp15_ = NULL; gchar* _tmp16_ = NULL; gchar* _tmp17_ = NULL; -#line 1020 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = message_label; -#line 1020 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = _ ("Invalid URL"); -#line 1020 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = publishing_piwigo_authentication_pane_FAILED_RETRY_URL_MESSAGE; -#line 1020 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = g_strdup_printf ("<b>%s</b>\n\n%s", _tmp14_, _tmp15_); -#line 1020 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = _tmp16_; -#line 1020 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_label_set_markup (_tmp13_, _tmp17_); -#line 1020 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp17_); -#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 6869 "PiwigoPublishing.c" +#line 7617 "PiwigoPublishing.c" } -#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" case PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_FAILED_RETRY_USER: -#line 6873 "PiwigoPublishing.c" +#line 7621 "PiwigoPublishing.c" { GtkLabel* _tmp18_ = NULL; const gchar* _tmp19_ = NULL; const gchar* _tmp20_ = NULL; gchar* _tmp21_ = NULL; gchar* _tmp22_ = NULL; -#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = message_label; -#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = _ ("Invalid User Name or Password"); -#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = publishing_piwigo_authentication_pane_FAILED_RETRY_USER_MESSAGE; -#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = g_strdup_printf ("<b>%s</b>\n\n%s", _tmp19_, _tmp20_); -#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp22_ = _tmp21_; -#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_label_set_markup (_tmp18_, _tmp22_); -#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp22_); -#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 6896 "PiwigoPublishing.c" +#line 7644 "PiwigoPublishing.c" } default: -#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 6901 "PiwigoPublishing.c" +#line 7649 "PiwigoPublishing.c" } -#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp23_ = self->priv->builder; -#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp24_ = gtk_builder_get_object (_tmp23_, "url_entry"); -#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp25_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp24_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp24_) : NULL); -#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->url_entry); -#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->url_entry = _tmp25_; -#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp26_ = publisher; -#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp27_ = publishing_piwigo_piwigo_publisher_get_persistent_url (_tmp26_); -#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" persistent_url = _tmp27_; -#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp28_ = persistent_url; -#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp28_ != NULL) { -#line 6923 "PiwigoPublishing.c" +#line 7671 "PiwigoPublishing.c" GtkEntry* _tmp29_ = NULL; const gchar* _tmp30_ = NULL; -#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp29_ = self->priv->url_entry; -#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp30_ = persistent_url; -#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_entry_set_text (_tmp29_, _tmp30_); -#line 6932 "PiwigoPublishing.c" +#line 7680 "PiwigoPublishing.c" } -#line 1035 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp31_ = self->priv->builder; -#line 1035 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp32_ = gtk_builder_get_object (_tmp31_, "username_entry"); -#line 1035 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp33_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp32_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp32_) : NULL); -#line 1035 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->username_entry); -#line 1035 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->username_entry = _tmp33_; -#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp34_ = publisher; -#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp35_ = publishing_piwigo_piwigo_publisher_get_persistent_username (_tmp34_); -#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" persistent_username = _tmp35_; -#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp36_ = persistent_username; -#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp36_ != NULL) { -#line 6954 "PiwigoPublishing.c" +#line 7702 "PiwigoPublishing.c" GtkEntry* _tmp37_ = NULL; const gchar* _tmp38_ = NULL; -#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp37_ = self->priv->username_entry; -#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp38_ = persistent_username; -#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_entry_set_text (_tmp37_, _tmp38_); -#line 6963 "PiwigoPublishing.c" +#line 7711 "PiwigoPublishing.c" } -#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp39_ = self->priv->builder; -#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp40_ = gtk_builder_get_object (_tmp39_, "password_entry"); -#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp41_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp40_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp40_) : NULL); -#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->password_entry); -#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->password_entry = _tmp41_; -#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp42_ = publisher; -#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp43_ = publishing_piwigo_piwigo_publisher_get_persistent_password (_tmp42_); -#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" persistent_password = _tmp43_; -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp44_ = persistent_password; -#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp44_ != NULL) { -#line 6985 "PiwigoPublishing.c" +#line 7733 "PiwigoPublishing.c" GtkEntry* _tmp45_ = NULL; const gchar* _tmp46_ = NULL; -#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp45_ = self->priv->password_entry; -#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp46_ = persistent_password; -#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_entry_set_text (_tmp45_, _tmp46_); -#line 6994 "PiwigoPublishing.c" +#line 7742 "PiwigoPublishing.c" } -#line 1045 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1140 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp47_ = self->priv->builder; -#line 1045 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1140 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp48_ = gtk_builder_get_object (_tmp47_, "remember_password_checkbutton"); -#line 1045 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1140 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp49_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp48_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp48_) : NULL); -#line 1045 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1140 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->remember_password_checkbutton); -#line 1045 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1140 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->remember_password_checkbutton = _tmp49_; -#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp50_ = self->priv->remember_password_checkbutton; -#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp51_ = publisher; -#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp52_ = publishing_piwigo_piwigo_publisher_get_remember_password (_tmp51_); -#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp52_); -#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp53_ = self->priv->builder; -#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp54_ = gtk_builder_get_object (_tmp53_, "login_button"); -#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp55_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp54_, gtk_button_get_type ()) ? ((GtkButton*) _tmp54_) : NULL); -#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->login_button); -#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->login_button = _tmp55_; -#line 1051 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp56_ = self->priv->username_entry; -#line 1051 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp56_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _publishing_piwigo_authentication_pane_on_user_changed_gtk_editable_changed, self, 0); -#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp57_ = self->priv->url_entry; -#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp57_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _publishing_piwigo_authentication_pane_on_url_changed_gtk_editable_changed, self, 0); -#line 1053 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1148 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp58_ = self->priv->password_entry; -#line 1053 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1148 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _publishing_piwigo_authentication_pane_on_password_changed_gtk_editable_changed, self, 0); -#line 1054 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1149 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp59_ = self->priv->login_button; -#line 1054 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1149 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (_tmp59_, "clicked", (GCallback) _publishing_piwigo_authentication_pane_on_login_button_clicked_gtk_button_clicked, self, 0); -#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp60_ = align; -#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp61_ = self->priv->pane_widget; -#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_reparent (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, gtk_widget_get_type (), GtkWidget), G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, gtk_widget_get_type (), GtkWidget)); -#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp62_ = publisher; -#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp63_ = publishing_piwigo_piwigo_publisher_get_host (_tmp62_); -#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp64_ = _tmp63_; -#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp65_ = self->priv->login_button; -#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" spit_publishing_plugin_host_set_dialog_default_widget (_tmp64_, G_TYPE_CHECK_INSTANCE_CAST (_tmp65_, gtk_widget_get_type (), GtkWidget)); -#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (_tmp64_); -#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (persistent_password); -#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (persistent_username); -#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (persistent_url); -#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (message_label); -#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (align); -#line 7068 "PiwigoPublishing.c" +#line 7816 "PiwigoPublishing.c" } - goto __finally44; - __catch44_g_error: + goto __finally45; + __catch45_g_error: { GError* e = NULL; GError* _tmp66_ = NULL; const gchar* _tmp67_ = NULL; -#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" e = _inner_error_; -#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 1059 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp66_ = e; -#line 1059 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp67_ = _tmp66_->message; -#line 1059 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_warning ("PiwigoPublishing.vala:1059: Could not load UI: %s", _tmp67_); -#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_warning ("PiwigoPublishing.vala:1154: Could not load UI: %s", _tmp67_); +#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (e); -#line 7088 "PiwigoPublishing.c" +#line 7836 "PiwigoPublishing.c" } - __finally44: -#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + __finally45: +#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 7099 "PiwigoPublishing.c" +#line 7847 "PiwigoPublishing.c" } -#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 7103 "PiwigoPublishing.c" +#line 7851 "PiwigoPublishing.c" } PublishingPiwigoAuthenticationPane* publishing_piwigo_authentication_pane_new (PublishingPiwigoPiwigoPublisher* publisher, PublishingPiwigoAuthenticationPaneMode mode) { -#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_authentication_pane_construct (PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, publisher, mode); -#line 7110 "PiwigoPublishing.c" +#line 7858 "PiwigoPublishing.c" } @@ -7123,17 +7874,17 @@ GtkWidget* publishing_piwigo_authentication_pane_get_default_widget (PublishingP GtkWidget* result = NULL; GtkButton* _tmp0_ = NULL; GtkWidget* _tmp1_ = NULL; -#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1158 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self), NULL); -#line 1064 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->login_button; -#line 1064 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 1064 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp1_; -#line 1064 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 7128 "PiwigoPublishing.c" +#line 7876 "PiwigoPublishing.c" } @@ -7146,54 +7897,54 @@ static void publishing_piwigo_authentication_pane_on_login_button_clicked (Publi const gchar* _tmp5_ = NULL; GtkCheckButton* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; -#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self)); -#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->url_entry; -#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = gtk_entry_get_text (_tmp0_); -#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->username_entry; -#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = gtk_entry_get_text (_tmp2_); -#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->password_entry; -#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = gtk_entry_get_text (_tmp4_); -#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = self->priv->remember_password_checkbutton; -#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_emit_by_name (self, "login", _tmp1_, _tmp3_, _tmp5_, _tmp7_); -#line 7161 "PiwigoPublishing.c" +#line 7909 "PiwigoPublishing.c" } static void publishing_piwigo_authentication_pane_on_url_changed (PublishingPiwigoAuthenticationPane* self) { -#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self)); -#line 1073 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_authentication_pane_update_login_button_sensitivity (self); -#line 7170 "PiwigoPublishing.c" +#line 7918 "PiwigoPublishing.c" } static void publishing_piwigo_authentication_pane_on_user_changed (PublishingPiwigoAuthenticationPane* self) { -#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self)); -#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_authentication_pane_update_login_button_sensitivity (self); -#line 7179 "PiwigoPublishing.c" +#line 7927 "PiwigoPublishing.c" } static void publishing_piwigo_authentication_pane_on_password_changed (PublishingPiwigoAuthenticationPane* self) { -#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self)); -#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_authentication_pane_update_login_button_sensitivity (self); -#line 7188 "PiwigoPublishing.c" +#line 7936 "PiwigoPublishing.c" } @@ -7204,59 +7955,59 @@ static void publishing_piwigo_authentication_pane_update_login_button_sensitivit guint _tmp3_ = 0U; guint _tmp4_ = 0U; GtkButton* _tmp11_ = NULL; -#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1179 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self)); -#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->url_entry; -#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = gtk_entry_get_text_length (_tmp2_); -#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _tmp3_; -#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp4_ != ((guint) 0)) { -#line 7209 "PiwigoPublishing.c" +#line 7957 "PiwigoPublishing.c" GtkEntry* _tmp5_ = NULL; guint _tmp6_ = 0U; guint _tmp7_ = 0U; -#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = self->priv->username_entry; -#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = gtk_entry_get_text_length (_tmp5_); -#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _tmp6_; -#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _tmp7_ != ((guint) 0); -#line 7221 "PiwigoPublishing.c" +#line 7969 "PiwigoPublishing.c" } else { -#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = FALSE; -#line 7225 "PiwigoPublishing.c" +#line 7973 "PiwigoPublishing.c" } -#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp1_) { -#line 7229 "PiwigoPublishing.c" +#line 7977 "PiwigoPublishing.c" GtkEntry* _tmp8_ = NULL; guint _tmp9_ = 0U; guint _tmp10_ = 0U; -#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = self->priv->password_entry; -#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = gtk_entry_get_text_length (_tmp8_); -#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = _tmp9_; -#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = _tmp10_ != ((guint) 0); -#line 7241 "PiwigoPublishing.c" +#line 7989 "PiwigoPublishing.c" } else { -#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = FALSE; -#line 7245 "PiwigoPublishing.c" +#line 7993 "PiwigoPublishing.c" } -#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = self->priv->login_button; -#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), _tmp0_); -#line 7251 "PiwigoPublishing.c" +#line 7999 "PiwigoPublishing.c" } @@ -7265,30 +8016,30 @@ static GtkWidget* publishing_piwigo_authentication_pane_real_get_widget (SpitPub GtkWidget* result = NULL; GtkBox* _tmp0_ = NULL; GtkWidget* _tmp1_ = NULL; -#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1185 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, PublishingPiwigoAuthenticationPane); -#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->pane_widget; -#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp1_; -#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 7270 "PiwigoPublishing.c" +#line 8018 "PiwigoPublishing.c" } static SpitPublishingDialogPaneGeometryOptions publishing_piwigo_authentication_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) { PublishingPiwigoAuthenticationPane * self; SpitPublishingDialogPaneGeometryOptions result = 0; -#line 1094 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1189 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, PublishingPiwigoAuthenticationPane); -#line 1095 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1190 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE; -#line 1095 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1190 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 7283 "PiwigoPublishing.c" +#line 8031 "PiwigoPublishing.c" } @@ -7297,31 +8048,31 @@ static void publishing_piwigo_authentication_pane_real_on_pane_installed (SpitPu GtkEntry* _tmp0_ = NULL; GtkEntry* _tmp1_ = NULL; GtkButton* _tmp2_ = NULL; -#line 1098 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, PublishingPiwigoAuthenticationPane); -#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->url_entry; -#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = self->priv->password_entry; -#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_entry_set_activates_default (_tmp1_, TRUE); -#line 1101 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->login_button; -#line 1101 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_can_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_authentication_pane_update_login_button_sensitivity (self); -#line 7308 "PiwigoPublishing.c" +#line 8056 "PiwigoPublishing.c" } static void publishing_piwigo_authentication_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) { PublishingPiwigoAuthenticationPane * self; -#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, PublishingPiwigoAuthenticationPane); -#line 7316 "PiwigoPublishing.c" +#line 8064 "PiwigoPublishing.c" } @@ -7332,27 +8083,27 @@ static void g_cclosure_user_marshal_VOID__STRING_STRING_STRING_BOOLEAN (GClosure register gpointer data1; register gpointer data2; cc = (GCClosure *) closure; -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (n_param_values == 5); -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_CCLOSURE_SWAP_DATA (closure)) { -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" data1 = closure->data; -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" data2 = param_values->data[0].v_pointer; -#line 7335 "PiwigoPublishing.c" +#line 8083 "PiwigoPublishing.c" } else { -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" data1 = param_values->data[0].v_pointer; -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" data2 = closure->data; -#line 7341 "PiwigoPublishing.c" +#line 8089 "PiwigoPublishing.c" } -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" callback = (GMarshalFunc_VOID__STRING_STRING_STRING_BOOLEAN) (marshal_data ? marshal_data : cc->callback); -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" callback (data1, g_value_get_string (param_values + 1), g_value_get_string (param_values + 2), g_value_get_string (param_values + 3), g_value_get_boolean (param_values + 4), data2); -#line 7347 "PiwigoPublishing.c" +#line 8095 "PiwigoPublishing.c" } @@ -7363,83 +8114,83 @@ static void publishing_piwigo_authentication_pane_class_init (PublishingPiwigoAu gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_authentication_pane_parent_class = g_type_class_peek_parent (klass); -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingPiwigoAuthenticationPanePrivate)); -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" G_OBJECT_CLASS (klass)->finalize = publishing_piwigo_authentication_pane_finalize; -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_new ("login", PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__STRING_STRING_STRING_BOOLEAN, G_TYPE_NONE, 4, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_BOOLEAN); -#line 990 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = _ ("Enter the URL of your Piwigo photo library as well as the username and" \ " password associated with your Piwigo account for that library."); -#line 990 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = g_strdup (_tmp0_); -#line 990 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_authentication_pane_INTRO_MESSAGE = _tmp1_; -#line 991 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = _ ("Shotwell cannot contact your Piwigo photo library. Please verify the U" \ "RL you entered"); -#line 991 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = g_strdup (_tmp2_); -#line 991 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_authentication_pane_FAILED_RETRY_URL_MESSAGE = _tmp3_; -#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _ ("Username and/or password invalid. Please try again"); -#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = g_strdup (_tmp4_); -#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_authentication_pane_FAILED_RETRY_USER_MESSAGE = _tmp5_; -#line 7384 "PiwigoPublishing.c" +#line 8132 "PiwigoPublishing.c" } static void publishing_piwigo_authentication_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) { -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_authentication_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface); -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_piwigo_authentication_pane_real_get_widget; -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) publishing_piwigo_authentication_pane_real_get_preferred_geometry; -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_piwigo_authentication_pane_real_on_pane_installed; -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_piwigo_authentication_pane_real_on_pane_uninstalled; -#line 7399 "PiwigoPublishing.c" +#line 8147 "PiwigoPublishing.c" } static void publishing_piwigo_authentication_pane_instance_init (PublishingPiwigoAuthenticationPane * self) { -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv = PUBLISHING_PIWIGO_AUTHENTICATION_PANE_GET_PRIVATE (self); -#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pane_widget = NULL; -#line 7408 "PiwigoPublishing.c" +#line 8156 "PiwigoPublishing.c" } static void publishing_piwigo_authentication_pane_finalize (GObject* obj) { PublishingPiwigoAuthenticationPane * self; -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, PublishingPiwigoAuthenticationPane); -#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->pane_widget); -#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->builder); -#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->url_entry); -#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1092 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->username_entry); -#line 998 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1093 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->password_entry); -#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1094 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->remember_password_checkbutton); -#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1095 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->login_button); -#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" G_OBJECT_CLASS (publishing_piwigo_authentication_pane_parent_class)->finalize (obj); -#line 7432 "PiwigoPublishing.c" +#line 8180 "PiwigoPublishing.c" } @@ -7462,72 +8213,72 @@ GType publishing_piwigo_authentication_pane_get_type (void) { static void _publishing_piwigo_publishing_options_pane_on_logout_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 1189 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_on_logout_button_clicked ((PublishingPiwigoPublishingOptionsPane*) self); -#line 7457 "PiwigoPublishing.c" +#line 8205 "PiwigoPublishing.c" } static void _publishing_piwigo_publishing_options_pane_on_publish_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 1192 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_on_publish_button_clicked ((PublishingPiwigoPublishingOptionsPane*) self); -#line 7464 "PiwigoPublishing.c" +#line 8212 "PiwigoPublishing.c" } static void _publishing_piwigo_publishing_options_pane_on_use_existing_radio_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_on_use_existing_radio_clicked ((PublishingPiwigoPublishingOptionsPane*) self); -#line 7471 "PiwigoPublishing.c" +#line 8219 "PiwigoPublishing.c" } static void _publishing_piwigo_publishing_options_pane_on_create_new_radio_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_on_create_new_radio_clicked ((PublishingPiwigoPublishingOptionsPane*) self); -#line 7478 "PiwigoPublishing.c" +#line 8226 "PiwigoPublishing.c" } static void _publishing_piwigo_publishing_options_pane_on_new_category_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) { -#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_on_new_category_entry_changed ((PublishingPiwigoPublishingOptionsPane*) self); -#line 7485 "PiwigoPublishing.c" +#line 8233 "PiwigoPublishing.c" } static void _publishing_piwigo_publishing_options_pane_on_existing_combo_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { -#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_on_existing_combo_changed ((PublishingPiwigoPublishingOptionsPane*) self); -#line 7492 "PiwigoPublishing.c" +#line 8240 "PiwigoPublishing.c" } static gpointer _publishing_piwigo_category_ref0 (gpointer self) { -#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self ? publishing_piwigo_category_ref (self) : NULL; -#line 7499 "PiwigoPublishing.c" +#line 8247 "PiwigoPublishing.c" } static PublishingPiwigoCategory** _vala_array_dup11 (PublishingPiwigoCategory** self, int length) { PublishingPiwigoCategory** result; int i; -#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = g_new0 (PublishingPiwigoCategory*, length + 1); -#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" for (i = 0; i < length; i++) { -#line 7510 "PiwigoPublishing.c" +#line 8258 "PiwigoPublishing.c" PublishingPiwigoCategory* _tmp0_ = NULL; -#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = _publishing_piwigo_category_ref0 (self[i]); -#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result[i] = _tmp0_; -#line 7516 "PiwigoPublishing.c" +#line 8264 "PiwigoPublishing.c" } -#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 7520 "PiwigoPublishing.c" +#line 8268 "PiwigoPublishing.c" } @@ -7554,39 +8305,39 @@ PublishingPiwigoPublishingOptionsPane* publishing_piwigo_publishing_options_pane gchar* _tmp88_ = NULL; gchar* _tmp89_ = NULL; GError * _inner_error_ = NULL; -#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1242 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (publisher), NULL); -#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1242 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoPublishingOptionsPane*) g_object_new (object_type, NULL); -#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); -#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_object_ref_sink (_tmp0_); -#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->pane_widget); -#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pane_widget = _tmp0_; -#line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = last_category; -#line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->last_category = _tmp1_; -#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = last_permission_level; -#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->last_permission_level = _tmp2_; -#line 1155 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = last_photo_size; -#line 1155 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->last_photo_size = _tmp3_; -#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = last_title_as_comment; -#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->last_title_as_comment = _tmp4_; -#line 1157 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = last_no_upload_tags; -#line 1157 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->last_no_upload_tags = _tmp5_; -#line 7579 "PiwigoPublishing.c" +#line 8327 "PiwigoPublishing.c" { GtkBuilder* _tmp6_ = NULL; GtkBuilder* _tmp7_ = NULL; @@ -7659,344 +8410,344 @@ PublishingPiwigoPublishingOptionsPane* publishing_piwigo_publishing_options_pane GtkBox* _tmp73_ = NULL; GtkBox* _tmp74_ = NULL; GtkAlignment* _tmp75_ = NULL; -#line 1160 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = gtk_builder_new (); -#line 1160 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->builder); -#line 1160 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->builder = _tmp6_; -#line 1161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = self->priv->builder; -#line 1161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_builder_add_from_resource (_tmp7_, PLUGIN_RESOURCE_PATH "/piwigo_publishing_options_pane.ui", &_inner_error_); -#line 1161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 7664 "PiwigoPublishing.c" - goto __catch45_g_error; +#line 8412 "PiwigoPublishing.c" + goto __catch46_g_error; } -#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = self->priv->builder; -#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_builder_connect_signals (_tmp8_, NULL); -#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = self->priv->builder; -#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = gtk_builder_get_object (_tmp9_, "alignment"); -#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp10_, gtk_alignment_get_type ()) ? ((GtkAlignment*) _tmp10_) : NULL); -#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" align = _tmp11_; -#line 1165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = self->priv->builder; -#line 1165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = gtk_builder_get_object (_tmp12_, "use_existing_radio"); -#line 1165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, gtk_radio_button_get_type ()) ? ((GtkRadioButton*) _tmp13_) : NULL); -#line 1165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->use_existing_radio); -#line 1165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->use_existing_radio = _tmp14_; -#line 1166 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = self->priv->builder; -#line 1166 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = gtk_builder_get_object (_tmp15_, "create_new_radio"); -#line 1166 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp16_, gtk_radio_button_get_type ()) ? ((GtkRadioButton*) _tmp16_) : NULL); -#line 1166 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->create_new_radio); -#line 1166 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->create_new_radio = _tmp17_; -#line 1167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = self->priv->builder; -#line 1167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = gtk_builder_get_object (_tmp18_, "existing_categories_combo"); -#line 1167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp19_) : NULL); -#line 1167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->existing_categories_combo); -#line 1167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->existing_categories_combo = _tmp20_; -#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = self->priv->builder; -#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp22_ = gtk_builder_get_object (_tmp21_, "new_category_entry"); -#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp23_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp22_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp22_) : NULL); -#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->new_category_entry); -#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->new_category_entry = _tmp23_; -#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp24_ = self->priv->builder; -#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp25_ = gtk_builder_get_object (_tmp24_, "within_existing_label"); -#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp26_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp25_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp25_) : NULL); -#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->within_existing_label); -#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->within_existing_label = _tmp26_; -#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp27_ = self->priv->builder; -#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp28_ = gtk_builder_get_object (_tmp27_, "within_existing_combo"); -#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp29_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp28_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp28_) : NULL); -#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->within_existing_combo); -#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->within_existing_combo = _tmp29_; -#line 1172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1267 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp30_ = self->priv->builder; -#line 1172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1267 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp31_ = gtk_builder_get_object (_tmp30_, "album_comment"); -#line 1172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1267 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp32_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp31_, gtk_text_view_get_type ()) ? ((GtkTextView*) _tmp31_) : NULL); -#line 1172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1267 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->album_comment); -#line 1172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1267 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->album_comment = _tmp32_; -#line 1173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1268 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp33_ = self->priv->album_comment; -#line 1173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1268 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp34_ = gtk_text_buffer_new (NULL); -#line 1173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1268 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp35_ = _tmp34_; -#line 1173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1268 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_text_view_set_buffer (_tmp33_, _tmp35_); -#line 1173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1268 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (_tmp35_); -#line 1174 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp36_ = self->priv->builder; -#line 1174 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp37_ = gtk_builder_get_object (_tmp36_, "album_comment_label"); -#line 1174 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp38_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp37_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp37_) : NULL); -#line 1174 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->album_comment_label); -#line 1174 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->album_comment_label = _tmp38_; -#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp39_ = self->priv->builder; -#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp40_ = gtk_builder_get_object (_tmp39_, "perms_combo"); -#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp41_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp40_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp40_) : NULL); -#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->perms_combo); -#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->perms_combo = _tmp41_; -#line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp42_ = self->priv->builder; -#line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp43_ = gtk_builder_get_object (_tmp42_, "size_combo"); -#line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp44_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp43_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp43_) : NULL); -#line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->size_combo); -#line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->size_combo = _tmp44_; -#line 1179 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1274 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp45_ = self->priv->builder; -#line 1179 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1274 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp46_ = gtk_builder_get_object (_tmp45_, "strip_metadata_check"); -#line 1179 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1274 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp47_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp46_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp46_) : NULL); -#line 1179 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1274 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->strip_metadata_check); -#line 1179 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1274 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->strip_metadata_check = _tmp47_; -#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1275 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp48_ = self->priv->strip_metadata_check; -#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1275 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp49_ = strip_metadata_enabled; -#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1275 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp49_); -#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp50_ = self->priv->builder; -#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp51_ = gtk_builder_get_object (_tmp50_, "title_as_comment_check"); -#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp52_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp51_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp51_) : NULL); -#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->title_as_comment_check); -#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->title_as_comment_check = _tmp52_; -#line 1183 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1278 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp53_ = self->priv->title_as_comment_check; -#line 1183 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1278 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp54_ = last_title_as_comment; -#line 1183 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1278 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp54_); -#line 1185 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp55_ = self->priv->builder; -#line 1185 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp56_ = gtk_builder_get_object (_tmp55_, "no_upload_tags_check"); -#line 1185 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp57_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp56_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp56_) : NULL); -#line 1185 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->no_upload_tags_check); -#line 1185 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->no_upload_tags_check = _tmp57_; -#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1281 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp58_ = self->priv->no_upload_tags_check; -#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1281 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp59_ = last_no_upload_tags; -#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1281 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp59_); -#line 1188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp60_ = self->priv->builder; -#line 1188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp61_ = gtk_builder_get_object (_tmp60_, "logout_button"); -#line 1188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp62_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp61_, gtk_button_get_type ()) ? ((GtkButton*) _tmp61_) : NULL); -#line 1188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->logout_button); -#line 1188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->logout_button = _tmp62_; -#line 1189 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp63_ = self->priv->logout_button; -#line 1189 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (_tmp63_, "clicked", (GCallback) _publishing_piwigo_publishing_options_pane_on_logout_button_clicked_gtk_button_clicked, self, 0); -#line 1191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp64_ = self->priv->builder; -#line 1191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp65_ = gtk_builder_get_object (_tmp64_, "publish_button"); -#line 1191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp66_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp65_, gtk_button_get_type ()) ? ((GtkButton*) _tmp65_) : NULL); -#line 1191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->publish_button); -#line 1191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->publish_button = _tmp66_; -#line 1192 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp67_ = self->priv->publish_button; -#line 1192 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (_tmp67_, "clicked", (GCallback) _publishing_piwigo_publishing_options_pane_on_publish_button_clicked_gtk_button_clicked, self, 0); -#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp68_ = self->priv->use_existing_radio; -#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, gtk_button_get_type (), GtkButton), "clicked", (GCallback) _publishing_piwigo_publishing_options_pane_on_use_existing_radio_clicked_gtk_button_clicked, self, 0); -#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp69_ = self->priv->create_new_radio; -#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, gtk_button_get_type (), GtkButton), "clicked", (GCallback) _publishing_piwigo_publishing_options_pane_on_create_new_radio_clicked_gtk_button_clicked, self, 0); -#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp70_ = self->priv->new_category_entry; -#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp70_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _publishing_piwigo_publishing_options_pane_on_new_category_entry_changed_gtk_editable_changed, self, 0); -#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp71_ = self->priv->within_existing_combo; -#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _publishing_piwigo_publishing_options_pane_on_existing_combo_changed_gtk_combo_box_changed, self, 0); -#line 1199 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp72_ = align; -#line 1199 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp73_ = self->priv->pane_widget; -#line 1199 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_reparent (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, gtk_widget_get_type (), GtkWidget), G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, gtk_widget_get_type (), GtkWidget)); -#line 1200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp74_ = self->priv->pane_widget; -#line 1200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp75_ = align; -#line 1200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_box_set_child_packing (_tmp74_, G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0, GTK_PACK_START); -#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (align); -#line 7895 "PiwigoPublishing.c" +#line 8643 "PiwigoPublishing.c" } - goto __finally45; - __catch45_g_error: + goto __finally46; + __catch46_g_error: { GError* e = NULL; GError* _tmp76_ = NULL; const gchar* _tmp77_ = NULL; -#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" e = _inner_error_; -#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 1202 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp76_ = e; -#line 1202 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp77_ = _tmp76_->message; -#line 1202 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_warning ("PiwigoPublishing.vala:1202: Could not load UI: %s", _tmp77_); -#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_warning ("PiwigoPublishing.vala:1297: Could not load UI: %s", _tmp77_); +#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (e); -#line 7915 "PiwigoPublishing.c" +#line 8663 "PiwigoPublishing.c" } - __finally45: -#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + __finally46: +#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 7926 "PiwigoPublishing.c" +#line 8674 "PiwigoPublishing.c" } -#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp78_ = categories; -#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp78__length1 = categories_length1; -#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp79_ = (_tmp78_ != NULL) ? _vala_array_dup11 (_tmp78_, _tmp78__length1) : ((gpointer) _tmp78_); -#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp79__length1 = _tmp78__length1; -#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->existing_categories = (_vala_array_free (self->priv->existing_categories, self->priv->existing_categories_length1, (GDestroyNotify) publishing_piwigo_category_unref), NULL); -#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->existing_categories = _tmp79_; -#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->existing_categories_length1 = _tmp79__length1; -#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->_existing_categories_size_ = self->priv->existing_categories_length1; -#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp81_ = publishing_piwigo_publishing_options_pane_create_perm_levels (self, &_tmp80_); -#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->perm_levels = (_vala_array_free (self->priv->perm_levels, self->priv->perm_levels_length1, (GDestroyNotify) publishing_piwigo_permission_level_unref), NULL); -#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->perm_levels = _tmp81_; -#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->perm_levels_length1 = _tmp80_; -#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->_perm_levels_size_ = self->priv->perm_levels_length1; -#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp83_ = publishing_piwigo_publishing_options_pane_create_sizes (self, &_tmp82_); -#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->photo_sizes = (_vala_array_free (self->priv->photo_sizes, self->priv->photo_sizes_length1, (GDestroyNotify) publishing_piwigo_size_entry_unref), NULL); -#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->photo_sizes = _tmp83_; -#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->photo_sizes_length1 = _tmp82_; -#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->_photo_sizes_size_ = self->priv->photo_sizes_length1; -#line 1208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp84_ = self->priv->album_comment; -#line 1208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp85_ = gtk_text_view_get_buffer (_tmp84_); -#line 1208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp86_ = _tmp85_; -#line 1208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp87_ = publisher; -#line 1208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp88_ = publishing_piwigo_publishing_options_pane_get_common_comment_if_possible (self, _tmp87_); -#line 1208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp89_ = _tmp88_; -#line 1208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_text_buffer_set_text (_tmp86_, _tmp89_, -1); -#line 1208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp89_); -#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1242 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 7982 "PiwigoPublishing.c" +#line 8730 "PiwigoPublishing.c" } PublishingPiwigoPublishingOptionsPane* publishing_piwigo_publishing_options_pane_new (PublishingPiwigoPiwigoPublisher* publisher, PublishingPiwigoCategory** categories, int categories_length1, gint last_category, gint last_permission_level, gint last_photo_size, gboolean last_title_as_comment, gboolean last_no_upload_tags, gboolean strip_metadata_enabled) { -#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1242 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_publishing_options_pane_construct (PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, publisher, categories, categories_length1, last_category, last_permission_level, last_photo_size, last_title_as_comment, last_no_upload_tags, strip_metadata_enabled); -#line 7989 "PiwigoPublishing.c" +#line 8737 "PiwigoPublishing.c" } @@ -8004,102 +8755,102 @@ GtkWidget* publishing_piwigo_publishing_options_pane_get_default_widget (Publish GtkWidget* result = NULL; GtkButton* _tmp0_ = NULL; GtkWidget* _tmp1_ = NULL; -#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), NULL); -#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1307 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->publish_button; -#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1307 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1307 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp1_; -#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1307 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 8007 "PiwigoPublishing.c" +#line 8755 "PiwigoPublishing.c" } static void _vala_array_add35 (PublishingPiwigoPermissionLevel*** array, int* length, int* size, PublishingPiwigoPermissionLevel* value) { -#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { -#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *array = g_renew (PublishingPiwigoPermissionLevel*, *array, (*size) + 1); -#line 8018 "PiwigoPublishing.c" +#line 8766 "PiwigoPublishing.c" } -#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[(*length)++] = value; -#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[*length] = NULL; -#line 8024 "PiwigoPublishing.c" +#line 8772 "PiwigoPublishing.c" } static void _vala_array_add36 (PublishingPiwigoPermissionLevel*** array, int* length, int* size, PublishingPiwigoPermissionLevel* value) { -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *array = g_renew (PublishingPiwigoPermissionLevel*, *array, (*size) + 1); -#line 8035 "PiwigoPublishing.c" +#line 8783 "PiwigoPublishing.c" } -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[(*length)++] = value; -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[*length] = NULL; -#line 8041 "PiwigoPublishing.c" +#line 8789 "PiwigoPublishing.c" } static void _vala_array_add37 (PublishingPiwigoPermissionLevel*** array, int* length, int* size, PublishingPiwigoPermissionLevel* value) { -#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { -#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *array = g_renew (PublishingPiwigoPermissionLevel*, *array, (*size) + 1); -#line 8052 "PiwigoPublishing.c" +#line 8800 "PiwigoPublishing.c" } -#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[(*length)++] = value; -#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[*length] = NULL; -#line 8058 "PiwigoPublishing.c" +#line 8806 "PiwigoPublishing.c" } static void _vala_array_add38 (PublishingPiwigoPermissionLevel*** array, int* length, int* size, PublishingPiwigoPermissionLevel* value) { -#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { -#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *array = g_renew (PublishingPiwigoPermissionLevel*, *array, (*size) + 1); -#line 8069 "PiwigoPublishing.c" +#line 8817 "PiwigoPublishing.c" } -#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[(*length)++] = value; -#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[*length] = NULL; -#line 8075 "PiwigoPublishing.c" +#line 8823 "PiwigoPublishing.c" } static void _vala_array_add39 (PublishingPiwigoPermissionLevel*** array, int* length, int* size, PublishingPiwigoPermissionLevel* value) { -#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { -#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *array = g_renew (PublishingPiwigoPermissionLevel*, *array, (*size) + 1); -#line 8086 "PiwigoPublishing.c" +#line 8834 "PiwigoPublishing.c" } -#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[(*length)++] = value; -#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[*length] = NULL; -#line 8092 "PiwigoPublishing.c" +#line 8840 "PiwigoPublishing.c" } @@ -8131,166 +8882,166 @@ static PublishingPiwigoPermissionLevel** publishing_piwigo_publishing_options_pa PublishingPiwigoPermissionLevel* _tmp15_ = NULL; PublishingPiwigoPermissionLevel** _tmp16_ = NULL; gint _tmp16__length1 = 0; -#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1310 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), NULL); -#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = g_new0 (PublishingPiwigoPermissionLevel*, 0 + 1); -#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = _tmp0_; -#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result__length1 = 0; -#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" __result__size_ = _result__length1; -#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _result_; -#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1__length1 = _result__length1; -#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = _ ("Everyone"); -#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = publishing_piwigo_permission_level_new (0, _tmp2_); -#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _vala_array_add35 (&_result_, &_result__length1, &__result__size_, _tmp3_); -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _result_; -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4__length1 = _result__length1; -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = _ ("Admins, Family, Friends, Contacts"); -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = publishing_piwigo_permission_level_new (1, _tmp5_); -#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _vala_array_add36 (&_result_, &_result__length1, &__result__size_, _tmp6_); -#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _result_; -#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7__length1 = _result__length1; -#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = _ ("Admins, Family, Friends"); -#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = publishing_piwigo_permission_level_new (2, _tmp8_); -#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _vala_array_add37 (&_result_, &_result__length1, &__result__size_, _tmp9_); -#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = _result_; -#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10__length1 = _result__length1; -#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = _ ("Admins, Family"); -#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = publishing_piwigo_permission_level_new (4, _tmp11_); -#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _vala_array_add38 (&_result_, &_result__length1, &__result__size_, _tmp12_); -#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = _result_; -#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13__length1 = _result__length1; -#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = _ ("Admins"); -#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = publishing_piwigo_permission_level_new (8, _tmp14_); -#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _vala_array_add39 (&_result_, &_result__length1, &__result__size_, _tmp15_); -#line 1224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = _result_; -#line 1224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16__length1 = _result__length1; -#line 1224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (result_length1) { -#line 1224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *result_length1 = _tmp16__length1; -#line 8192 "PiwigoPublishing.c" +#line 8940 "PiwigoPublishing.c" } -#line 1224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp16_; -#line 1224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 8198 "PiwigoPublishing.c" +#line 8946 "PiwigoPublishing.c" } static void _vala_array_add40 (PublishingPiwigoSizeEntry*** array, int* length, int* size, PublishingPiwigoSizeEntry* value) { -#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { -#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *array = g_renew (PublishingPiwigoSizeEntry*, *array, (*size) + 1); -#line 8209 "PiwigoPublishing.c" +#line 8957 "PiwigoPublishing.c" } -#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[(*length)++] = value; -#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[*length] = NULL; -#line 8215 "PiwigoPublishing.c" +#line 8963 "PiwigoPublishing.c" } static void _vala_array_add41 (PublishingPiwigoSizeEntry*** array, int* length, int* size, PublishingPiwigoSizeEntry* value) { -#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { -#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *array = g_renew (PublishingPiwigoSizeEntry*, *array, (*size) + 1); -#line 8226 "PiwigoPublishing.c" +#line 8974 "PiwigoPublishing.c" } -#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[(*length)++] = value; -#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[*length] = NULL; -#line 8232 "PiwigoPublishing.c" +#line 8980 "PiwigoPublishing.c" } static void _vala_array_add42 (PublishingPiwigoSizeEntry*** array, int* length, int* size, PublishingPiwigoSizeEntry* value) { -#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { -#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *array = g_renew (PublishingPiwigoSizeEntry*, *array, (*size) + 1); -#line 8243 "PiwigoPublishing.c" +#line 8991 "PiwigoPublishing.c" } -#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[(*length)++] = value; -#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[*length] = NULL; -#line 8249 "PiwigoPublishing.c" +#line 8997 "PiwigoPublishing.c" } static void _vala_array_add43 (PublishingPiwigoSizeEntry*** array, int* length, int* size, PublishingPiwigoSizeEntry* value) { -#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { -#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *array = g_renew (PublishingPiwigoSizeEntry*, *array, (*size) + 1); -#line 8260 "PiwigoPublishing.c" +#line 9008 "PiwigoPublishing.c" } -#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[(*length)++] = value; -#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[*length] = NULL; -#line 8266 "PiwigoPublishing.c" +#line 9014 "PiwigoPublishing.c" } static void _vala_array_add44 (PublishingPiwigoSizeEntry*** array, int* length, int* size, PublishingPiwigoSizeEntry* value) { -#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { -#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *array = g_renew (PublishingPiwigoSizeEntry*, *array, (*size) + 1); -#line 8277 "PiwigoPublishing.c" +#line 9025 "PiwigoPublishing.c" } -#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[(*length)++] = value; -#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" (*array)[*length] = NULL; -#line 8283 "PiwigoPublishing.c" +#line 9031 "PiwigoPublishing.c" } @@ -8322,104 +9073,104 @@ static PublishingPiwigoSizeEntry** publishing_piwigo_publishing_options_pane_cre PublishingPiwigoSizeEntry* _tmp15_ = NULL; PublishingPiwigoSizeEntry** _tmp16_ = NULL; gint _tmp16__length1 = 0; -#line 1227 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), NULL); -#line 1228 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = g_new0 (PublishingPiwigoSizeEntry*, 0 + 1); -#line 1228 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = _tmp0_; -#line 1228 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result__length1 = 0; -#line 1228 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" __result__size_ = _result__length1; -#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _result_; -#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1__length1 = _result__length1; -#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp2_ = _ ("500 x 375 pixels"); -#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp2_ = _ ("500 × 375 pixels"); +#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = publishing_piwigo_size_entry_new (500, _tmp2_); -#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _vala_array_add40 (&_result_, &_result__length1, &__result__size_, _tmp3_); -#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _result_; -#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4__length1 = _result__length1; -#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp5_ = _ ("1024 x 768 pixels"); -#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp5_ = _ ("1024 × 768 pixels"); +#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = publishing_piwigo_size_entry_new (1024, _tmp5_); -#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _vala_array_add41 (&_result_, &_result__length1, &__result__size_, _tmp6_); -#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _result_; -#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7__length1 = _result__length1; -#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp8_ = _ ("2048 x 1536 pixels"); -#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp8_ = _ ("2048 × 1536 pixels"); +#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = publishing_piwigo_size_entry_new (2048, _tmp8_); -#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _vala_array_add42 (&_result_, &_result__length1, &__result__size_, _tmp9_); -#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = _result_; -#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10__length1 = _result__length1; -#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp11_ = _ ("4096 x 3072 pixels"); -#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp11_ = _ ("4096 × 3072 pixels"); +#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = publishing_piwigo_size_entry_new (4096, _tmp11_); -#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _vala_array_add43 (&_result_, &_result__length1, &__result__size_, _tmp12_); -#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = _result_; -#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13__length1 = _result__length1; -#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = _ ("Original size"); -#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = publishing_piwigo_size_entry_new (PUBLISHING_PIWIGO_ORIGINAL_SIZE, _tmp14_); -#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _vala_array_add44 (&_result_, &_result__length1, &__result__size_, _tmp15_); -#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = _result_; -#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16__length1 = _result__length1; -#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (result_length1) { -#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" *result_length1 = _tmp16__length1; -#line 8383 "PiwigoPublishing.c" +#line 9131 "PiwigoPublishing.c" } -#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp16_; -#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 8389 "PiwigoPublishing.c" +#line 9137 "PiwigoPublishing.c" } static void publishing_piwigo_publishing_options_pane_on_logout_button_clicked (PublishingPiwigoPublishingOptionsPane* self) { -#line 1239 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1240 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_emit_by_name (self, "logout"); -#line 8398 "PiwigoPublishing.c" +#line 9146 "PiwigoPublishing.c" } static gpointer _publishing_piwigo_permission_level_ref0 (gpointer self) { -#line 1245 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self ? publishing_piwigo_permission_level_ref (self) : NULL; -#line 8405 "PiwigoPublishing.c" +#line 9153 "PiwigoPublishing.c" } static gpointer _publishing_piwigo_size_entry_ref0 (gpointer self) { -#line 1246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self ? publishing_piwigo_size_entry_ref (self) : NULL; -#line 8412 "PiwigoPublishing.c" +#line 9160 "PiwigoPublishing.c" } @@ -8451,71 +9202,71 @@ static void publishing_piwigo_publishing_options_pane_on_publish_button_clicked PublishingPiwigoPublishingParameters* _tmp53_ = NULL; GtkCheckButton* _tmp54_ = NULL; gboolean _tmp55_ = FALSE; -#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1339 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = publishing_piwigo_publishing_parameters_new (); -#line 1244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1339 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" params = _tmp0_; -#line 1245 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = params; -#line 1245 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->perm_levels; -#line 1245 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2__length1 = self->priv->perm_levels_length1; -#line 1245 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->perms_combo; -#line 1245 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_combo_box_get_type (), GtkComboBox)); -#line 1245 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = _tmp2_[_tmp4_]; -#line 1245 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _publishing_piwigo_permission_level_ref0 (_tmp5_); -#line 1245 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_permission_level_unref0 (_tmp1_->perm_level); -#line 1245 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_->perm_level = _tmp6_; -#line 1246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = params; -#line 1246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = self->priv->photo_sizes; -#line 1246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8__length1 = self->priv->photo_sizes_length1; -#line 1246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = self->priv->size_combo; -#line 1246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_combo_box_get_type (), GtkComboBox)); -#line 1246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = _tmp8_[_tmp10_]; -#line 1246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = _publishing_piwigo_size_entry_ref0 (_tmp11_); -#line 1246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_size_entry_unref0 (_tmp7_->photo_size); -#line 1246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_->photo_size = _tmp12_; -#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = params; -#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = self->priv->title_as_comment_check; -#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_->title_as_comment = _tmp15_; -#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = params; -#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = self->priv->no_upload_tags_check; -#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_->no_upload_tags = _tmp18_; -#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = self->priv->create_new_radio; -#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp20_) { -#line 8508 "PiwigoPublishing.c" +#line 9256 "PiwigoPublishing.c" gchar* uploadcomment = NULL; GtkTextView* _tmp21_ = NULL; GtkTextBuffer* _tmp22_ = NULL; @@ -8529,57 +9280,57 @@ static void publishing_piwigo_publishing_options_pane_on_publish_button_clicked GtkComboBoxText* _tmp29_ = NULL; gint _tmp30_ = 0; gint _tmp31_ = 0; -#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = self->priv->album_comment; -#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp22_ = gtk_text_view_get_buffer (_tmp21_); -#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp23_ = _tmp22_; -#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_object_get (_tmp23_, "text", &_tmp24_, NULL); -#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp25_ = _tmp24_; -#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp26_ = _tmp25_; -#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp27_ = string_strip (_tmp26_); -#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp28_ = _tmp27_; -#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp26_); -#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" uploadcomment = _tmp28_; -#line 1251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp29_ = self->priv->within_existing_combo; -#line 1251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp30_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_combo_box_get_type (), GtkComboBox)); -#line 1251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" a = _tmp30_; -#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp31_ = a; -#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp31_ == 0) { -#line 8552 "PiwigoPublishing.c" +#line 9300 "PiwigoPublishing.c" PublishingPiwigoPublishingParameters* _tmp32_ = NULL; GtkEntry* _tmp33_ = NULL; const gchar* _tmp34_ = NULL; const gchar* _tmp35_ = NULL; PublishingPiwigoCategory* _tmp36_ = NULL; -#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp32_ = params; -#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp33_ = self->priv->new_category_entry; -#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp34_ = gtk_entry_get_text (_tmp33_); -#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp35_ = uploadcomment; -#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp36_ = publishing_piwigo_category_new_local (_tmp34_, 0, _tmp35_); -#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_category_unref0 (_tmp32_->category); -#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp32_->category = _tmp36_; -#line 8572 "PiwigoPublishing.c" +#line 9320 "PiwigoPublishing.c" } else { gint _tmp37_ = 0; PublishingPiwigoPublishingParameters* _tmp38_ = NULL; @@ -8592,39 +9343,39 @@ static void publishing_piwigo_publishing_options_pane_on_publish_button_clicked gint _tmp44_ = 0; const gchar* _tmp45_ = NULL; PublishingPiwigoCategory* _tmp46_ = NULL; -#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp37_ = a; -#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" a = _tmp37_ - 1; -#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp38_ = params; -#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp39_ = self->priv->new_category_entry; -#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp40_ = gtk_entry_get_text (_tmp39_); -#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp41_ = self->priv->existing_categories; -#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp41__length1 = self->priv->existing_categories_length1; -#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp42_ = a; -#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp43_ = _tmp41_[_tmp42_]; -#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp44_ = _tmp43_->id; -#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp45_ = uploadcomment; -#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp46_ = publishing_piwigo_category_new_local (_tmp40_, _tmp44_, _tmp45_); -#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_category_unref0 (_tmp38_->category); -#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp38_->category = _tmp46_; -#line 8613 "PiwigoPublishing.c" +#line 9361 "PiwigoPublishing.c" } -#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (uploadcomment); -#line 8617 "PiwigoPublishing.c" +#line 9365 "PiwigoPublishing.c" } else { PublishingPiwigoPublishingParameters* _tmp47_ = NULL; PublishingPiwigoCategory** _tmp48_ = NULL; @@ -8633,37 +9384,37 @@ static void publishing_piwigo_publishing_options_pane_on_publish_button_clicked gint _tmp50_ = 0; PublishingPiwigoCategory* _tmp51_ = NULL; PublishingPiwigoCategory* _tmp52_ = NULL; -#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp47_ = params; -#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp48_ = self->priv->existing_categories; -#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp48__length1 = self->priv->existing_categories_length1; -#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp49_ = self->priv->existing_categories_combo; -#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp50_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, gtk_combo_box_get_type (), GtkComboBox)); -#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp51_ = _tmp48_[_tmp50_]; -#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp52_ = _publishing_piwigo_category_ref0 (_tmp51_); -#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_category_unref0 (_tmp47_->category); -#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp47_->category = _tmp52_; -#line 8644 "PiwigoPublishing.c" +#line 9392 "PiwigoPublishing.c" } -#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp53_ = params; -#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp54_ = self->priv->strip_metadata_check; -#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp55_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_emit_by_name (self, "publish", _tmp53_, _tmp55_); -#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_publishing_parameters_unref0 (params); -#line 8656 "PiwigoPublishing.c" +#line 9404 "PiwigoPublishing.c" } @@ -8675,39 +9426,39 @@ static void publishing_piwigo_publishing_options_pane_on_use_existing_radio_clic GtkComboBoxText* _tmp4_ = NULL; GtkLabel* _tmp5_ = NULL; GtkTextView* _tmp6_ = NULL; -#line 1268 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->existing_categories_combo; -#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 1270 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1365 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = self->priv->new_category_entry; -#line 1270 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1365 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->within_existing_label; -#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->within_existing_combo; -#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1273 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->existing_categories_combo; -#line 1273 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget)); -#line 1274 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1369 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = self->priv->album_comment_label; -#line 1274 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1369 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1275 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = self->priv->album_comment; -#line 1275 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1276 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_update_publish_button_sensitivity (self); -#line 8700 "PiwigoPublishing.c" +#line 9448 "PiwigoPublishing.c" } @@ -8719,57 +9470,57 @@ static void publishing_piwigo_publishing_options_pane_on_create_new_radio_clicke GtkTextView* _tmp4_ = NULL; GtkComboBoxText* _tmp5_ = NULL; GtkEntry* _tmp6_ = NULL; -#line 1279 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->new_category_entry; -#line 1280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 1281 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = self->priv->within_existing_label; -#line 1281 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 1282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->within_existing_combo; -#line 1282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->album_comment_label; -#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 1284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->album_comment; -#line 1284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 1285 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = self->priv->existing_categories_combo; -#line 1285 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = self->priv->new_category_entry; -#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget)); -#line 1287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_update_publish_button_sensitivity (self); -#line 8744 "PiwigoPublishing.c" +#line 9492 "PiwigoPublishing.c" } static void publishing_piwigo_publishing_options_pane_on_new_category_entry_changed (PublishingPiwigoPublishingOptionsPane* self) { -#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_update_publish_button_sensitivity (self); -#line 8753 "PiwigoPublishing.c" +#line 9501 "PiwigoPublishing.c" } static void publishing_piwigo_publishing_options_pane_on_existing_combo_changed (PublishingPiwigoPublishingOptionsPane* self) { -#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1389 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1390 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_update_publish_button_sensitivity (self); -#line 8762 "PiwigoPublishing.c" +#line 9510 "PiwigoPublishing.c" } @@ -8787,38 +9538,38 @@ static void publishing_piwigo_publishing_options_pane_update_publish_button_sens GtkRadioButton* _tmp18_ = NULL; gboolean _tmp19_ = FALSE; GtkButton* _tmp24_ = NULL; -#line 1298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1393 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->new_category_entry; -#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = gtk_entry_get_text (_tmp0_); -#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = string_strip (_tmp1_); -#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" category_name = _tmp2_; -#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->within_existing_combo; -#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_combo_box_get_type (), GtkComboBox)); -#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" a = _tmp4_; -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = a; -#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp5_ <= 0) { -#line 8800 "PiwigoPublishing.c" +#line 9548 "PiwigoPublishing.c" const gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = category_name; -#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = g_strconcat ("/ ", _tmp6_, NULL); -#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (search_name); -#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" search_name = _tmp7_; -#line 8811 "PiwigoPublishing.c" +#line 9559 "PiwigoPublishing.c" } else { gint _tmp8_ = 0; PublishingPiwigoCategory** _tmp9_ = NULL; @@ -8830,80 +9581,80 @@ static void publishing_piwigo_publishing_options_pane_update_publish_button_sens gchar* _tmp14_ = NULL; const gchar* _tmp15_ = NULL; gchar* _tmp16_ = NULL; -#line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = a; -#line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" a = _tmp8_ - 1; -#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = self->priv->existing_categories; -#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9__length1 = self->priv->existing_categories_length1; -#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = a; -#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = _tmp9_[_tmp10_]; -#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = _tmp11_->display_name; -#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = g_strconcat (_tmp12_, "/ ", NULL); -#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = _tmp13_; -#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = category_name; -#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = g_strconcat (_tmp14_, _tmp15_, NULL); -#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (search_name); -#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" search_name = _tmp16_; -#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp14_); -#line 8851 "PiwigoPublishing.c" +#line 9599 "PiwigoPublishing.c" } -#line 1310 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = self->priv->create_new_radio; -#line 1310 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1310 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp19_) { -#line 8859 "PiwigoPublishing.c" +#line 9607 "PiwigoPublishing.c" gboolean _tmp20_ = FALSE; const gchar* _tmp21_ = NULL; -#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = category_name; -#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_strcmp0 (_tmp21_, "") == 0) { -#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = TRUE; -#line 8868 "PiwigoPublishing.c" +#line 9616 "PiwigoPublishing.c" } else { const gchar* _tmp22_ = NULL; gboolean _tmp23_ = FALSE; -#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp22_ = search_name; -#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp23_ = publishing_piwigo_publishing_options_pane_category_already_exists (self, _tmp22_); -#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = _tmp23_; -#line 8878 "PiwigoPublishing.c" +#line 9626 "PiwigoPublishing.c" } -#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = _tmp20_; -#line 8882 "PiwigoPublishing.c" +#line 9630 "PiwigoPublishing.c" } else { -#line 1310 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = FALSE; -#line 8886 "PiwigoPublishing.c" +#line 9634 "PiwigoPublishing.c" } -#line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp24_ = self->priv->publish_button; -#line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_widget_get_type (), GtkWidget), !_tmp17_); -#line 1298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1393 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (search_name); -#line 1298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1393 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (category_name); -#line 8896 "PiwigoPublishing.c" +#line 9644 "PiwigoPublishing.c" } @@ -8912,53 +9663,53 @@ static GtkWidget* publishing_piwigo_publishing_options_pane_real_get_widget (Spi GtkWidget* result = NULL; GtkBox* _tmp0_ = NULL; GtkWidget* _tmp1_ = NULL; -#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPiwigoPublishingOptionsPane); -#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->pane_widget; -#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp1_; -#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 8915 "PiwigoPublishing.c" +#line 9663 "PiwigoPublishing.c" } static SpitPublishingDialogPaneGeometryOptions publishing_piwigo_publishing_options_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) { PublishingPiwigoPublishingOptionsPane * self; SpitPublishingDialogPaneGeometryOptions result = 0; -#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPiwigoPublishingOptionsPane); -#line 1324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE; -#line 1324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 8928 "PiwigoPublishing.c" +#line 9676 "PiwigoPublishing.c" } static void publishing_piwigo_publishing_options_pane_real_on_pane_installed (SpitPublishingDialogPane* base) { PublishingPiwigoPublishingOptionsPane * self; GtkButton* _tmp0_ = NULL; -#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPiwigoPublishingOptionsPane); -#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_create_categories_combo (self); -#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_create_within_categories_combo (self); -#line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_create_permissions_combo (self); -#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_create_size_combo (self); -#line 1333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->publish_button; -#line 1333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_can_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_update_publish_button_sensitivity (self); -#line 8951 "PiwigoPublishing.c" +#line 9699 "PiwigoPublishing.c" } @@ -8980,158 +9731,158 @@ static gchar* publishing_piwigo_publishing_options_pane_get_common_comment_if_po SpitPublishingPublishable** _tmp7_ = NULL; gint _tmp7__length1 = 0; const gchar* _tmp19_ = NULL; -#line 1337 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), NULL); -#line 1337 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (publisher), NULL); -#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = publisher; -#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = publishing_piwigo_piwigo_publisher_get_host (_tmp0_); -#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = _tmp1_; -#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = spit_publishing_plugin_host_get_publishables (_tmp2_, &_tmp3_); -#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = _tmp4_; -#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5__length1 = _tmp3_; -#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (_tmp2_); -#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishables = _tmp5_; -#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishables_length1 = _tmp5__length1; -#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishables_size_ = publishables_length1; -#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = g_strdup (""); -#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" common = _tmp6_; -#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1437 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" isfirst = TRUE; -#line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = publishables; -#line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7__length1 = publishables_length1; -#line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp7_ != NULL) { -#line 9009 "PiwigoPublishing.c" +#line 9757 "PiwigoPublishing.c" SpitPublishingPublishable** _tmp8_ = NULL; gint _tmp8__length1 = 0; -#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = publishables; -#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8__length1 = publishables_length1; -#line 9016 "PiwigoPublishing.c" +#line 9764 "PiwigoPublishing.c" { SpitPublishingPublishable** pub_collection = NULL; gint pub_collection_length1 = 0; gint _pub_collection_size_ = 0; gint pub_it = 0; -#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" pub_collection = _tmp8_; -#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" pub_collection_length1 = _tmp8__length1; -#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" for (pub_it = 0; pub_it < _tmp8__length1; pub_it = pub_it + 1) { -#line 9028 "PiwigoPublishing.c" +#line 9776 "PiwigoPublishing.c" SpitPublishingPublishable* _tmp9_ = NULL; SpitPublishingPublishable* pub = NULL; -#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = _g_object_ref0 (pub_collection[pub_it]); -#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" pub = _tmp9_; -#line 9035 "PiwigoPublishing.c" +#line 9783 "PiwigoPublishing.c" { gchar* cur = NULL; SpitPublishingPublishable* _tmp10_ = NULL; gchar* _tmp11_ = NULL; const gchar* _tmp12_ = NULL; gboolean _tmp13_ = FALSE; -#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = pub; -#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = spit_publishing_publishable_get_param_string (_tmp10_, SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_EVENTCOMMENT); -#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cur = _tmp11_; -#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = cur; -#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp12_ == NULL) { -#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (cur); -#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (pub); -#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" continue; -#line 9058 "PiwigoPublishing.c" +#line 9806 "PiwigoPublishing.c" } -#line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = isfirst; -#line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp13_) { -#line 9064 "PiwigoPublishing.c" +#line 9812 "PiwigoPublishing.c" const gchar* _tmp14_ = NULL; gchar* _tmp15_ = NULL; -#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = cur; -#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = g_strdup (_tmp14_); -#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (common); -#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" common = _tmp15_; -#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" isfirst = FALSE; -#line 9077 "PiwigoPublishing.c" +#line 9825 "PiwigoPublishing.c" } else { const gchar* _tmp16_ = NULL; const gchar* _tmp17_ = NULL; -#line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = cur; -#line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = common; -#line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_strcmp0 (_tmp16_, _tmp17_) != 0) { -#line 9087 "PiwigoPublishing.c" +#line 9835 "PiwigoPublishing.c" gchar* _tmp18_ = NULL; -#line 1356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = g_strdup (""); -#line 1356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (common); -#line 1356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" common = _tmp18_; -#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (cur); -#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (pub); -#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9101 "PiwigoPublishing.c" +#line 9849 "PiwigoPublishing.c" } } -#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (cur); -#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (pub); -#line 9108 "PiwigoPublishing.c" +#line 9856 "PiwigoPublishing.c" } } } } -#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = common; -#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:1362: PiwigoConnector: found common event commen" \ +#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:1457: PiwigoConnector: found common event commen" \ "t %s\n", _tmp19_); -#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = common; -#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishables = (_vala_array_free (publishables, publishables_length1, (GDestroyNotify) g_object_unref), NULL); -#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 9123 "PiwigoPublishing.c" +#line 9871 "PiwigoPublishing.c" } @@ -9142,88 +9893,88 @@ static void publishing_piwigo_publishing_options_pane_create_categories_combo (P gint _tmp5__length1 = 0; const gchar* _tmp21_ = NULL; gboolean _tmp22_ = FALSE; -#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1461 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->existing_categories; -#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0__length1 = self->priv->existing_categories_length1; -#line 9140 "PiwigoPublishing.c" +#line 9888 "PiwigoPublishing.c" { PublishingPiwigoCategory** cat_collection = NULL; gint cat_collection_length1 = 0; gint _cat_collection_size_ = 0; gint cat_it = 0; -#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cat_collection = _tmp0_; -#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cat_collection_length1 = _tmp0__length1; -#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" for (cat_it = 0; cat_it < _tmp0__length1; cat_it = cat_it + 1) { -#line 9152 "PiwigoPublishing.c" +#line 9900 "PiwigoPublishing.c" PublishingPiwigoCategory* _tmp1_ = NULL; PublishingPiwigoCategory* cat = NULL; -#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _publishing_piwigo_category_ref0 (cat_collection[cat_it]); -#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cat = _tmp1_; -#line 9159 "PiwigoPublishing.c" +#line 9907 "PiwigoPublishing.c" { GtkComboBoxText* _tmp2_ = NULL; PublishingPiwigoCategory* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->existing_categories_combo; -#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = cat; -#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _tmp3_->display_name; -#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_text_append_text (_tmp2_, _tmp4_); -#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_category_unref0 (cat); -#line 9174 "PiwigoPublishing.c" +#line 9922 "PiwigoPublishing.c" } } } -#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = self->priv->existing_categories; -#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5__length1 = self->priv->existing_categories_length1; -#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp5__length1 == 0) { -#line 9184 "PiwigoPublishing.c" +#line 9932 "PiwigoPublishing.c" GtkComboBoxText* _tmp6_ = NULL; GtkRadioButton* _tmp7_ = NULL; GtkRadioButton* _tmp8_ = NULL; GtkTextView* _tmp9_ = NULL; GtkLabel* _tmp10_ = NULL; GtkEntry* _tmp11_ = NULL; -#line 1372 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = self->priv->existing_categories_combo; -#line 1372 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = self->priv->use_existing_radio; -#line 1373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = self->priv->create_new_radio; -#line 1374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE); -#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = self->priv->album_comment; -#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1471 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = self->priv->album_comment_label; -#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1471 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1472 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = self->priv->new_category_entry; -#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1472 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget)); -#line 9215 "PiwigoPublishing.c" +#line 9963 "PiwigoPublishing.c" } else { gint last_category_index = 0; gint _tmp12_ = 0; @@ -9232,64 +9983,64 @@ static void publishing_piwigo_publishing_options_pane_create_categories_combo (P GtkEntry* _tmp18_ = NULL; GtkTextView* _tmp19_ = NULL; GtkLabel* _tmp20_ = NULL; -#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = self->priv->last_category; -#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = publishing_piwigo_publishing_options_pane_find_category_index (self, _tmp12_); -#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" last_category_index = _tmp13_; -#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1475 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = last_category_index; -#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1475 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp14_ < 0) { -#line 9234 "PiwigoPublishing.c" +#line 9982 "PiwigoPublishing.c" GtkComboBoxText* _tmp15_ = NULL; -#line 1381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = self->priv->existing_categories_combo; -#line 1381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_combo_box_get_type (), GtkComboBox), 0); -#line 9240 "PiwigoPublishing.c" +#line 9988 "PiwigoPublishing.c" } else { GtkComboBoxText* _tmp16_ = NULL; gint _tmp17_ = 0; -#line 1383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = self->priv->existing_categories_combo; -#line 1383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = last_category_index; -#line 1383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_combo_box_get_type (), GtkComboBox), _tmp17_); -#line 9250 "PiwigoPublishing.c" +#line 9998 "PiwigoPublishing.c" } -#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = self->priv->new_category_entry; -#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = self->priv->album_comment; -#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = self->priv->album_comment_label; -#line 1387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 9264 "PiwigoPublishing.c" +#line 10012 "PiwigoPublishing.c" } -#line 1389 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = publishing_piwigo_publishing_options_pane_DEFAULT_CATEGORY_NAME; -#line 1389 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp22_ = publishing_piwigo_publishing_options_pane_category_already_exists (self, _tmp21_); -#line 1389 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp22_) { -#line 9272 "PiwigoPublishing.c" +#line 10020 "PiwigoPublishing.c" GtkEntry* _tmp23_ = NULL; const gchar* _tmp24_ = NULL; -#line 1390 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp23_ = self->priv->new_category_entry; -#line 1390 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp24_ = publishing_piwigo_publishing_options_pane_DEFAULT_CATEGORY_NAME; -#line 1390 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_entry_set_text (_tmp23_, _tmp24_); -#line 9281 "PiwigoPublishing.c" +#line 10029 "PiwigoPublishing.c" } } @@ -9301,67 +10052,67 @@ static void publishing_piwigo_publishing_options_pane_create_within_categories_c GtkLabel* _tmp6_ = NULL; GtkComboBoxText* _tmp7_ = NULL; GtkComboBoxText* _tmp8_ = NULL; -#line 1393 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->within_existing_combo; -#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_text_append_text (_tmp0_, "/ "); -#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = self->priv->existing_categories; -#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1__length1 = self->priv->existing_categories_length1; -#line 9303 "PiwigoPublishing.c" +#line 10051 "PiwigoPublishing.c" { PublishingPiwigoCategory** cat_collection = NULL; gint cat_collection_length1 = 0; gint _cat_collection_size_ = 0; gint cat_it = 0; -#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cat_collection = _tmp1_; -#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cat_collection_length1 = _tmp1__length1; -#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" for (cat_it = 0; cat_it < _tmp1__length1; cat_it = cat_it + 1) { -#line 9315 "PiwigoPublishing.c" +#line 10063 "PiwigoPublishing.c" PublishingPiwigoCategory* _tmp2_ = NULL; PublishingPiwigoCategory* cat = NULL; -#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = _publishing_piwigo_category_ref0 (cat_collection[cat_it]); -#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" cat = _tmp2_; -#line 9322 "PiwigoPublishing.c" +#line 10070 "PiwigoPublishing.c" { GtkComboBoxText* _tmp3_ = NULL; PublishingPiwigoCategory* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; -#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->within_existing_combo; -#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = cat; -#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = _tmp4_->display_name; -#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_text_append_text (_tmp3_, _tmp5_); -#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_category_unref0 (cat); -#line 9337 "PiwigoPublishing.c" +#line 10085 "PiwigoPublishing.c" } } } -#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = self->priv->within_existing_label; -#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = self->priv->within_existing_combo; -#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_combo_box_get_type (), GtkComboBox), 0); -#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = self->priv->within_existing_combo; -#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 9353 "PiwigoPublishing.c" +#line 10101 "PiwigoPublishing.c" } @@ -9372,77 +10123,77 @@ static void publishing_piwigo_publishing_options_pane_create_permissions_combo ( gint _tmp5_ = 0; gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->perm_levels; -#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0__length1 = self->priv->perm_levels_length1; -#line 9370 "PiwigoPublishing.c" +#line 10118 "PiwigoPublishing.c" { PublishingPiwigoPermissionLevel** perm_collection = NULL; gint perm_collection_length1 = 0; gint _perm_collection_size_ = 0; gint perm_it = 0; -#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" perm_collection = _tmp0_; -#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" perm_collection_length1 = _tmp0__length1; -#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" for (perm_it = 0; perm_it < _tmp0__length1; perm_it = perm_it + 1) { -#line 9382 "PiwigoPublishing.c" +#line 10130 "PiwigoPublishing.c" PublishingPiwigoPermissionLevel* _tmp1_ = NULL; PublishingPiwigoPermissionLevel* perm = NULL; -#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _publishing_piwigo_permission_level_ref0 (perm_collection[perm_it]); -#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" perm = _tmp1_; -#line 9389 "PiwigoPublishing.c" +#line 10137 "PiwigoPublishing.c" { GtkComboBoxText* _tmp2_ = NULL; PublishingPiwigoPermissionLevel* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->perms_combo; -#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = perm; -#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _tmp3_->name; -#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_text_append_text (_tmp2_, _tmp4_); -#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_permission_level_unref0 (perm); -#line 9404 "PiwigoPublishing.c" +#line 10152 "PiwigoPublishing.c" } } } -#line 1409 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = self->priv->last_permission_level; -#line 1409 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = publishing_piwigo_publishing_options_pane_find_permission_level_index (self, _tmp5_); -#line 1409 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" last_permission_level_index = _tmp6_; -#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = last_permission_level_index; -#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp7_ < 0) { -#line 9418 "PiwigoPublishing.c" +#line 10166 "PiwigoPublishing.c" GtkComboBoxText* _tmp8_ = NULL; -#line 1411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1506 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = self->priv->perms_combo; -#line 1411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1506 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_combo_box_get_type (), GtkComboBox), 0); -#line 9424 "PiwigoPublishing.c" +#line 10172 "PiwigoPublishing.c" } else { GtkComboBoxText* _tmp9_ = NULL; gint _tmp10_ = 0; -#line 1413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = self->priv->perms_combo; -#line 1413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = last_permission_level_index; -#line 1413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_combo_box_get_type (), GtkComboBox), _tmp10_); -#line 9434 "PiwigoPublishing.c" +#line 10182 "PiwigoPublishing.c" } } @@ -9454,112 +10205,112 @@ static void publishing_piwigo_publishing_options_pane_create_size_combo (Publish gint _tmp5_ = 0; gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self)); -#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->photo_sizes; -#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0__length1 = self->priv->photo_sizes_length1; -#line 9452 "PiwigoPublishing.c" +#line 10200 "PiwigoPublishing.c" { PublishingPiwigoSizeEntry** size_collection = NULL; gint size_collection_length1 = 0; gint _size_collection_size_ = 0; gint size_it = 0; -#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" size_collection = _tmp0_; -#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" size_collection_length1 = _tmp0__length1; -#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" for (size_it = 0; size_it < _tmp0__length1; size_it = size_it + 1) { -#line 9464 "PiwigoPublishing.c" +#line 10212 "PiwigoPublishing.c" PublishingPiwigoSizeEntry* _tmp1_ = NULL; PublishingPiwigoSizeEntry* size = NULL; -#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _publishing_piwigo_size_entry_ref0 (size_collection[size_it]); -#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" size = _tmp1_; -#line 9471 "PiwigoPublishing.c" +#line 10219 "PiwigoPublishing.c" { GtkComboBoxText* _tmp2_ = NULL; PublishingPiwigoSizeEntry* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->size_combo; -#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = size; -#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _tmp3_->name; -#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_text_append_text (_tmp2_, _tmp4_); -#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_size_entry_unref0 (size); -#line 9486 "PiwigoPublishing.c" +#line 10234 "PiwigoPublishing.c" } } } -#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = self->priv->last_photo_size; -#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = publishing_piwigo_publishing_options_pane_find_size_index (self, _tmp5_); -#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" last_size_index = _tmp6_; -#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = last_size_index; -#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp7_ < 0) { -#line 9500 "PiwigoPublishing.c" +#line 10248 "PiwigoPublishing.c" GtkComboBoxText* _tmp8_ = NULL; gint _tmp9_ = 0; -#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = self->priv->size_combo; -#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = publishing_piwigo_publishing_options_pane_find_size_index (self, PUBLISHING_PIWIGO_ORIGINAL_SIZE); -#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_combo_box_get_type (), GtkComboBox), _tmp9_); -#line 9509 "PiwigoPublishing.c" +#line 10257 "PiwigoPublishing.c" } else { GtkComboBoxText* _tmp10_ = NULL; gint _tmp11_ = 0; -#line 1425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = self->priv->size_combo; -#line 1425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = last_size_index; -#line 1425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_combo_box_get_type (), GtkComboBox), _tmp11_); -#line 9519 "PiwigoPublishing.c" +#line 10267 "PiwigoPublishing.c" } } static void publishing_piwigo_publishing_options_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) { PublishingPiwigoPublishingOptionsPane * self; -#line 1429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPiwigoPublishingOptionsPane); -#line 9528 "PiwigoPublishing.c" +#line 10276 "PiwigoPublishing.c" } static gint publishing_piwigo_publishing_options_pane_find_category_index (PublishingPiwigoPublishingOptionsPane* self, gint category_id) { gint result = 0; gint _result_ = 0; -#line 1432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), 0); -#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1528 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = -1; -#line 9539 "PiwigoPublishing.c" +#line 10287 "PiwigoPublishing.c" { gint i = 0; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" i = 0; -#line 9544 "PiwigoPublishing.c" +#line 10292 "PiwigoPublishing.c" { gboolean _tmp0_ = FALSE; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = TRUE; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" while (TRUE) { -#line 9551 "PiwigoPublishing.c" +#line 10299 "PiwigoPublishing.c" gint _tmp2_ = 0; PublishingPiwigoCategory** _tmp3_ = NULL; gint _tmp3__length1 = 0; @@ -9569,85 +10320,85 @@ static gint publishing_piwigo_publishing_options_pane_find_category_index (Publi PublishingPiwigoCategory* _tmp6_ = NULL; gint _tmp7_ = 0; gint _tmp8_ = 0; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp0_) { -#line 9563 "PiwigoPublishing.c" +#line 10311 "PiwigoPublishing.c" gint _tmp1_ = 0; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = i; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" i = _tmp1_ + 1; -#line 9569 "PiwigoPublishing.c" +#line 10317 "PiwigoPublishing.c" } -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = FALSE; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = i; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->existing_categories; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3__length1 = self->priv->existing_categories_length1; -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!(_tmp2_ < _tmp3__length1)) { -#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9583 "PiwigoPublishing.c" +#line 10331 "PiwigoPublishing.c" } -#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->existing_categories; -#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4__length1 = self->priv->existing_categories_length1; -#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = i; -#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _tmp4_[_tmp5_]; -#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _tmp6_->id; -#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = category_id; -#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp7_ == _tmp8_) { -#line 9599 "PiwigoPublishing.c" +#line 10347 "PiwigoPublishing.c" gint _tmp9_ = 0; -#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = i; -#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = _tmp9_; -#line 1437 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9607 "PiwigoPublishing.c" +#line 10355 "PiwigoPublishing.c" } } } } -#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _result_; -#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 9616 "PiwigoPublishing.c" +#line 10364 "PiwigoPublishing.c" } static gint publishing_piwigo_publishing_options_pane_find_permission_level_index (PublishingPiwigoPublishingOptionsPane* self, gint permission_level_id) { gint result = 0; gint _result_ = 0; -#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), 0); -#line 1444 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = -1; -#line 9627 "PiwigoPublishing.c" +#line 10375 "PiwigoPublishing.c" { gint i = 0; -#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" i = 0; -#line 9632 "PiwigoPublishing.c" +#line 10380 "PiwigoPublishing.c" { gboolean _tmp0_ = FALSE; -#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = TRUE; -#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" while (TRUE) { -#line 9639 "PiwigoPublishing.c" +#line 10387 "PiwigoPublishing.c" gint _tmp2_ = 0; PublishingPiwigoPermissionLevel** _tmp3_ = NULL; gint _tmp3__length1 = 0; @@ -9657,85 +10408,85 @@ static gint publishing_piwigo_publishing_options_pane_find_permission_level_inde PublishingPiwigoPermissionLevel* _tmp6_ = NULL; gint _tmp7_ = 0; gint _tmp8_ = 0; -#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp0_) { -#line 9651 "PiwigoPublishing.c" +#line 10399 "PiwigoPublishing.c" gint _tmp1_ = 0; -#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = i; -#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" i = _tmp1_ + 1; -#line 9657 "PiwigoPublishing.c" +#line 10405 "PiwigoPublishing.c" } -#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = FALSE; -#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = i; -#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->perm_levels; -#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3__length1 = self->priv->perm_levels_length1; -#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!(_tmp2_ < _tmp3__length1)) { -#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9671 "PiwigoPublishing.c" +#line 10419 "PiwigoPublishing.c" } -#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->perm_levels; -#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4__length1 = self->priv->perm_levels_length1; -#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = i; -#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _tmp4_[_tmp5_]; -#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _tmp6_->id; -#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = permission_level_id; -#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp7_ == _tmp8_) { -#line 9687 "PiwigoPublishing.c" +#line 10435 "PiwigoPublishing.c" gint _tmp9_ = 0; -#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = i; -#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = _tmp9_; -#line 1448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9695 "PiwigoPublishing.c" +#line 10443 "PiwigoPublishing.c" } } } } -#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1546 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _result_; -#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1546 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 9704 "PiwigoPublishing.c" +#line 10452 "PiwigoPublishing.c" } static gint publishing_piwigo_publishing_options_pane_find_size_index (PublishingPiwigoPublishingOptionsPane* self, gint size_id) { gint result = 0; gint _result_ = 0; -#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), 0); -#line 1455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1550 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = -1; -#line 9715 "PiwigoPublishing.c" +#line 10463 "PiwigoPublishing.c" { gint i = 0; -#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" i = 0; -#line 9720 "PiwigoPublishing.c" +#line 10468 "PiwigoPublishing.c" { gboolean _tmp0_ = FALSE; -#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = TRUE; -#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" while (TRUE) { -#line 9727 "PiwigoPublishing.c" +#line 10475 "PiwigoPublishing.c" gint _tmp2_ = 0; PublishingPiwigoSizeEntry** _tmp3_ = NULL; gint _tmp3__length1 = 0; @@ -9745,62 +10496,62 @@ static gint publishing_piwigo_publishing_options_pane_find_size_index (Publishin PublishingPiwigoSizeEntry* _tmp6_ = NULL; gint _tmp7_ = 0; gint _tmp8_ = 0; -#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp0_) { -#line 9739 "PiwigoPublishing.c" +#line 10487 "PiwigoPublishing.c" gint _tmp1_ = 0; -#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = i; -#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" i = _tmp1_ + 1; -#line 9745 "PiwigoPublishing.c" +#line 10493 "PiwigoPublishing.c" } -#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = FALSE; -#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = i; -#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->photo_sizes; -#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3__length1 = self->priv->photo_sizes_length1; -#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!(_tmp2_ < _tmp3__length1)) { -#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9759 "PiwigoPublishing.c" +#line 10507 "PiwigoPublishing.c" } -#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->photo_sizes; -#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4__length1 = self->priv->photo_sizes_length1; -#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = i; -#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _tmp4_[_tmp5_]; -#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _tmp6_->id; -#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = size_id; -#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp7_ == _tmp8_) { -#line 9775 "PiwigoPublishing.c" +#line 10523 "PiwigoPublishing.c" gint _tmp9_ = 0; -#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1553 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = i; -#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1553 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = _tmp9_; -#line 1459 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9783 "PiwigoPublishing.c" +#line 10531 "PiwigoPublishing.c" } } } } -#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _result_; -#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 9792 "PiwigoPublishing.c" +#line 10540 "PiwigoPublishing.c" } @@ -9809,36 +10560,36 @@ static gboolean publishing_piwigo_publishing_options_pane_category_already_exist gboolean _result_ = FALSE; PublishingPiwigoCategory** _tmp0_ = NULL; gint _tmp0__length1 = 0; -#line 1465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), FALSE); -#line 1465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (category_name != NULL, FALSE); -#line 1466 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = FALSE; -#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->existing_categories; -#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0__length1 = self->priv->existing_categories_length1; -#line 9811 "PiwigoPublishing.c" +#line 10559 "PiwigoPublishing.c" { PublishingPiwigoCategory** category_collection = NULL; gint category_collection_length1 = 0; gint _category_collection_size_ = 0; gint category_it = 0; -#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" category_collection = _tmp0_; -#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" category_collection_length1 = _tmp0__length1; -#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" for (category_it = 0; category_it < _tmp0__length1; category_it = category_it + 1) { -#line 9823 "PiwigoPublishing.c" +#line 10571 "PiwigoPublishing.c" PublishingPiwigoCategory* _tmp1_ = NULL; PublishingPiwigoCategory* category = NULL; -#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _publishing_piwigo_category_ref0 (category_collection[category_it]); -#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" category = _tmp1_; -#line 9830 "PiwigoPublishing.c" +#line 10578 "PiwigoPublishing.c" { PublishingPiwigoCategory* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; @@ -9846,41 +10597,41 @@ static gboolean publishing_piwigo_publishing_options_pane_category_already_exist gchar* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; -#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = category; -#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = _tmp2_->display_name; -#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = string_strip (_tmp3_); -#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = _tmp4_; -#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = category_name; -#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = g_strcmp0 (_tmp5_, _tmp6_) == 0; -#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp5_); -#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp7_) { -#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _result_ = TRUE; -#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_category_unref0 (category); -#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" break; -#line 9860 "PiwigoPublishing.c" +#line 10608 "PiwigoPublishing.c" } -#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_category_unref0 (category); -#line 9864 "PiwigoPublishing.c" +#line 10612 "PiwigoPublishing.c" } } } -#line 1473 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _result_; -#line 1473 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 9872 "PiwigoPublishing.c" +#line 10620 "PiwigoPublishing.c" } @@ -9891,130 +10642,130 @@ static void g_cclosure_user_marshal_VOID__PUBLISHING_PIWIGO_PUBLISHING_PARAMETER register gpointer data1; register gpointer data2; cc = (GCClosure *) closure; -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (n_param_values == 3); -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_CCLOSURE_SWAP_DATA (closure)) { -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" data1 = closure->data; -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" data2 = param_values->data[0].v_pointer; -#line 9891 "PiwigoPublishing.c" +#line 10639 "PiwigoPublishing.c" } else { -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" data1 = param_values->data[0].v_pointer; -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" data2 = closure->data; -#line 9897 "PiwigoPublishing.c" +#line 10645 "PiwigoPublishing.c" } -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" callback = (GMarshalFunc_VOID__PUBLISHING_PIWIGO_PUBLISHING_PARAMETERS_BOOLEAN) (marshal_data ? marshal_data : cc->callback); -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" callback (data1, publishing_piwigo_value_get_publishing_parameters (param_values + 1), g_value_get_boolean (param_values + 2), data2); -#line 9903 "PiwigoPublishing.c" +#line 10651 "PiwigoPublishing.c" } static void publishing_piwigo_publishing_options_pane_class_init (PublishingPiwigoPublishingOptionsPaneClass * klass) { const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_parent_class = g_type_class_peek_parent (klass); -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingPiwigoPublishingOptionsPanePrivate)); -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" G_OBJECT_CLASS (klass)->finalize = publishing_piwigo_publishing_options_pane_finalize; -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_new ("publish", PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__PUBLISHING_PIWIGO_PUBLISHING_PARAMETERS_BOOLEAN, G_TYPE_NONE, 2, PUBLISHING_PIWIGO_TYPE_PUBLISHING_PARAMETERS, G_TYPE_BOOLEAN); -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_signal_new ("logout", PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 1114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = _ ("Shotwell Connect"); -#line 1114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_DEFAULT_CATEGORY_NAME = _tmp1_; -#line 9926 "PiwigoPublishing.c" +#line 10674 "PiwigoPublishing.c" } static void publishing_piwigo_publishing_options_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) { -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_publishing_options_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface); -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_piwigo_publishing_options_pane_real_get_widget; -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) publishing_piwigo_publishing_options_pane_real_get_preferred_geometry; -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_piwigo_publishing_options_pane_real_on_pane_installed; -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_piwigo_publishing_options_pane_real_on_pane_uninstalled; -#line 9941 "PiwigoPublishing.c" +#line 10689 "PiwigoPublishing.c" } static void publishing_piwigo_publishing_options_pane_instance_init (PublishingPiwigoPublishingOptionsPane * self) { -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv = PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_GET_PRIVATE (self); -#line 1116 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pane_widget = NULL; -#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->strip_metadata_check = NULL; -#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->title_as_comment_check = NULL; -#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->no_upload_tags_check = NULL; -#line 9956 "PiwigoPublishing.c" +#line 10704 "PiwigoPublishing.c" } static void publishing_piwigo_publishing_options_pane_finalize (GObject* obj) { PublishingPiwigoPublishingOptionsPane * self; -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPiwigoPublishingOptionsPane); -#line 1116 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->pane_widget); -#line 1117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->builder); -#line 1118 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->use_existing_radio); -#line 1119 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->create_new_radio); -#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->existing_categories_combo); -#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->new_category_entry); -#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1217 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->within_existing_label); -#line 1123 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->within_existing_combo); -#line 1124 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->perms_combo); -#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->size_combo); -#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->strip_metadata_check); -#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->title_as_comment_check); -#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->no_upload_tags_check); -#line 1129 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->logout_button); -#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1225 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->publish_button); -#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1226 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->album_comment); -#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1227 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (self->priv->album_comment_label); -#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->existing_categories = (_vala_array_free (self->priv->existing_categories, self->priv->existing_categories_length1, (GDestroyNotify) publishing_piwigo_category_unref), NULL); -#line 1135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->perm_levels = (_vala_array_free (self->priv->perm_levels, self->priv->perm_levels_length1, (GDestroyNotify) publishing_piwigo_permission_level_unref), NULL); -#line 1136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->photo_sizes = (_vala_array_free (self->priv->photo_sizes, self->priv->photo_sizes_length1, (GDestroyNotify) publishing_piwigo_size_entry_unref), NULL); -#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" G_OBJECT_CLASS (publishing_piwigo_publishing_options_pane_parent_class)->finalize (obj); -#line 10006 "PiwigoPublishing.c" +#line 10754 "PiwigoPublishing.c" } @@ -10037,18 +10788,18 @@ GType publishing_piwigo_publishing_options_pane_get_type (void) { PublishingPiwigoSession* publishing_piwigo_session_construct (GType object_type) { PublishingPiwigoSession* self = NULL; -#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoSession*) publishing_rest_support_session_construct (object_type, ""); -#line 1488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10033 "PiwigoPublishing.c" +#line 10781 "PiwigoPublishing.c" } PublishingPiwigoSession* publishing_piwigo_session_new (void) { -#line 1488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_session_construct (PUBLISHING_PIWIGO_TYPE_SESSION); -#line 10040 "PiwigoPublishing.c" +#line 10788 "PiwigoPublishing.c" } @@ -10058,43 +10809,43 @@ static gboolean publishing_piwigo_session_real_is_authenticated (PublishingRESTS gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; const gchar* _tmp2_ = NULL; -#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1587 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_SESSION, PublishingPiwigoSession); -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = self->priv->pwg_id; -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp2_ != NULL) { -#line 10056 "PiwigoPublishing.c" +#line 10804 "PiwigoPublishing.c" const gchar* _tmp3_ = NULL; -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = self->priv->pwg_url; -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = _tmp3_ != NULL; -#line 10062 "PiwigoPublishing.c" +#line 10810 "PiwigoPublishing.c" } else { -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = FALSE; -#line 10066 "PiwigoPublishing.c" +#line 10814 "PiwigoPublishing.c" } -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp1_) { -#line 10070 "PiwigoPublishing.c" +#line 10818 "PiwigoPublishing.c" const gchar* _tmp4_ = NULL; -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = self->priv->username; -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = _tmp4_ != NULL; -#line 10076 "PiwigoPublishing.c" +#line 10824 "PiwigoPublishing.c" } else { -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = FALSE; -#line 10080 "PiwigoPublishing.c" +#line 10828 "PiwigoPublishing.c" } -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp0_; -#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10086 "PiwigoPublishing.c" +#line 10834 "PiwigoPublishing.c" } @@ -10105,58 +10856,58 @@ void publishing_piwigo_session_authenticate (PublishingPiwigoSession* self, cons gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self)); -#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (url != NULL); -#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (username != NULL); -#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (id != NULL); -#line 1497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = url; -#line 1497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->pwg_url); -#line 1497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pwg_url = _tmp1_; -#line 1498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = username; -#line 1498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = g_strdup (_tmp2_); -#line 1498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->username); -#line 1498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->username = _tmp3_; -#line 1499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = id; -#line 1499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = g_strdup (_tmp4_); -#line 1499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->pwg_id); -#line 1499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pwg_id = _tmp5_; -#line 10129 "PiwigoPublishing.c" +#line 10877 "PiwigoPublishing.c" } void publishing_piwigo_session_deauthenticate (PublishingPiwigoSession* self) { -#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self)); -#line 1503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->pwg_url); -#line 1503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pwg_url = NULL; -#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->pwg_id); -#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pwg_id = NULL; -#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->username); -#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->username = NULL; -#line 10148 "PiwigoPublishing.c" +#line 10896 "PiwigoPublishing.c" } @@ -10164,17 +10915,17 @@ gchar* publishing_piwigo_session_get_username (PublishingPiwigoSession* self) { gchar* result = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self), NULL); -#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->username; -#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp1_; -#line 1509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10166 "PiwigoPublishing.c" +#line 10914 "PiwigoPublishing.c" } @@ -10182,17 +10933,17 @@ gchar* publishing_piwigo_session_get_pwg_url (PublishingPiwigoSession* self) { gchar* result = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1607 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self), NULL); -#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->pwg_url; -#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp1_; -#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10184 "PiwigoPublishing.c" +#line 10932 "PiwigoPublishing.c" } @@ -10200,78 +10951,78 @@ gchar* publishing_piwigo_session_get_pwg_id (PublishingPiwigoSession* self) { gchar* result = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self), NULL); -#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = self->priv->pwg_id; -#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp1_; -#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10202 "PiwigoPublishing.c" +#line 10950 "PiwigoPublishing.c" } void publishing_piwigo_session_set_pwg_id (PublishingPiwigoSession* self, const gchar* id) { const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self)); -#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_if_fail (id != NULL); -#line 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = id; -#line 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->pwg_id); -#line 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pwg_id = _tmp1_; -#line 10221 "PiwigoPublishing.c" +#line 10969 "PiwigoPublishing.c" } static void publishing_piwigo_session_class_init (PublishingPiwigoSessionClass * klass) { -#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_session_parent_class = g_type_class_peek_parent (klass); -#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" ((PublishingRESTSupportSessionClass *) klass)->finalize = publishing_piwigo_session_finalize; -#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingPiwigoSessionPrivate)); -#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" ((PublishingRESTSupportSessionClass *) klass)->is_authenticated = publishing_piwigo_session_real_is_authenticated; -#line 10234 "PiwigoPublishing.c" +#line 10982 "PiwigoPublishing.c" } static void publishing_piwigo_session_instance_init (PublishingPiwigoSession * self) { -#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv = PUBLISHING_PIWIGO_SESSION_GET_PRIVATE (self); -#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pwg_url = NULL; -#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->pwg_id = NULL; -#line 1486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1581 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->username = NULL; -#line 10247 "PiwigoPublishing.c" +#line 10995 "PiwigoPublishing.c" } static void publishing_piwigo_session_finalize (PublishingRESTSupportSession* obj) { PublishingPiwigoSession * self; -#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_SESSION, PublishingPiwigoSession); -#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->pwg_url); -#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->pwg_id); -#line 1486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1581 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (self->priv->username); -#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" PUBLISHING_REST_SUPPORT_SESSION_CLASS (publishing_piwigo_session_parent_class)->finalize (obj); -#line 10263 "PiwigoPublishing.c" +#line 11011 "PiwigoPublishing.c" } @@ -10296,52 +11047,52 @@ PublishingPiwigoTransaction* publishing_piwigo_transaction_construct (GType obje PublishingPiwigoSession* _tmp0_ = NULL; PublishingPiwigoSession* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 1534 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1629 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoTransaction*) publishing_rest_support_transaction_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST); -#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = session; -#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession)); -#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp2_) { -#line 10300 "PiwigoPublishing.c" +#line 11048 "PiwigoPublishing.c" PublishingPiwigoSession* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = session; -#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = publishing_piwigo_session_get_pwg_id (_tmp3_); -#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = _tmp4_; -#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = g_strconcat ("pwg_id=", _tmp5_, NULL); -#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _tmp6_; -#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_header (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "Cookie", _tmp7_); -#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp7_); -#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp5_); -#line 10322 "PiwigoPublishing.c" +#line 11070 "PiwigoPublishing.c" } -#line 1534 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1629 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10326 "PiwigoPublishing.c" +#line 11074 "PiwigoPublishing.c" } PublishingPiwigoTransaction* publishing_piwigo_transaction_new (PublishingPiwigoSession* session) { -#line 1534 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1629 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_transaction_construct (PUBLISHING_PIWIGO_TYPE_TRANSACTION, session); -#line 10333 "PiwigoPublishing.c" +#line 11081 "PiwigoPublishing.c" } @@ -10356,46 +11107,46 @@ PublishingPiwigoTransaction* publishing_piwigo_transaction_construct_authenticat gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; -#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = session; -#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = publishing_piwigo_session_get_pwg_url (_tmp1_); -#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = _tmp2_; -#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp3_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST); -#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp3_); -#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = session; -#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = publishing_piwigo_session_get_pwg_id (_tmp4_); -#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _tmp5_; -#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = g_strconcat ("pwg_id=", _tmp6_, NULL); -#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = _tmp7_; -#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_header (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "Cookie", _tmp8_); -#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp8_); -#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp6_); -#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10380 "PiwigoPublishing.c" +#line 11128 "PiwigoPublishing.c" } PublishingPiwigoTransaction* publishing_piwigo_transaction_new_authenticated (PublishingPiwigoSession* session) { -#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_transaction_construct_authenticated (PUBLISHING_PIWIGO_TYPE_TRANSACTION, session); -#line 10387 "PiwigoPublishing.c" +#line 11135 "PiwigoPublishing.c" } @@ -10419,143 +11170,143 @@ gchar* publishing_piwigo_transaction_validate_xml (PublishingRESTSupportXmlDocum gchar* _tmp18_ = NULL; gchar* _tmp19_ = NULL; GError * _inner_error_ = NULL; -#line 1546 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_XML_DOCUMENT (doc), NULL); -#line 1547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = doc; -#line 1547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = publishing_rest_support_xml_document_get_root_node (_tmp0_); -#line 1547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" root = _tmp1_; -#line 1548 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = root; -#line 1548 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = (gchar*) xmlGetProp (_tmp2_, (xmlChar*) "stat"); -#line 1548 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" status = _tmp3_; -#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = status; -#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp4_ == NULL) { -#line 10429 "PiwigoPublishing.c" +#line 11177 "PiwigoPublishing.c" gchar* _tmp5_ = NULL; -#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = g_strdup ("No status property in root node"); -#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp5_; -#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (status); -#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10439 "PiwigoPublishing.c" +#line 11187 "PiwigoPublishing.c" } -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = status; -#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_strcmp0 (_tmp6_, "ok") == 0) { -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = NULL; -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (status); -#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10451 "PiwigoPublishing.c" +#line 11199 "PiwigoPublishing.c" } { xmlNode* _tmp7_ = NULL; PublishingRESTSupportXmlDocument* _tmp8_ = NULL; xmlNode* _tmp9_ = NULL; xmlNode* _tmp10_ = NULL; -#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = doc; -#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = root; -#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = publishing_rest_support_xml_document_get_named_child (_tmp8_, _tmp9_, "err", &_inner_error_); -#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _tmp10_; -#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 10470 "PiwigoPublishing.c" - goto __catch46_spit_publishing_publishing_error; +#line 11218 "PiwigoPublishing.c" + goto __catch47_spit_publishing_publishing_error; } -#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (status); -#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 10481 "PiwigoPublishing.c" +#line 11229 "PiwigoPublishing.c" } -#line 1559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" errcode = _tmp7_; -#line 10485 "PiwigoPublishing.c" +#line 11233 "PiwigoPublishing.c" } - goto __finally46; - __catch46_spit_publishing_publishing_error: + goto __finally47; + __catch47_spit_publishing_publishing_error: { GError* err = NULL; gchar* _tmp11_ = NULL; -#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" err = _inner_error_; -#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = g_strdup ("No error code specified"); -#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp11_; -#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (status); -#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10506 "PiwigoPublishing.c" +#line 11254 "PiwigoPublishing.c" } - __finally46: -#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + __finally47: +#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (status); -#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 10519 "PiwigoPublishing.c" +#line 11267 "PiwigoPublishing.c" } -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = errcode; -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = (gchar*) xmlGetProp (_tmp12_, (xmlChar*) "msg"); -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = _tmp13_; -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp15_ = errcode; -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = (gchar*) xmlGetProp (_tmp15_, (xmlChar*) "code"); -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = _tmp16_; -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = g_strdup_printf ("%s (error code %s)", _tmp14_, _tmp17_); -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = _tmp18_; -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp17_); -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp14_); -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp19_; -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (status); -#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10547 "PiwigoPublishing.c" +#line 11295 "PiwigoPublishing.c" } @@ -10568,93 +11319,93 @@ gchar* publishing_piwigo_transaction_get_error_code (PublishingRESTSupportXmlDoc xmlNode* _tmp7_ = NULL; gchar* _tmp8_ = NULL; GError * _inner_error_ = NULL; -#line 1567 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1662 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_XML_DOCUMENT (doc), NULL); -#line 1568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = doc; -#line 1568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = publishing_rest_support_xml_document_get_root_node (_tmp0_); -#line 1568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" root = _tmp1_; -#line 10568 "PiwigoPublishing.c" +#line 11316 "PiwigoPublishing.c" { xmlNode* _tmp2_ = NULL; PublishingRESTSupportXmlDocument* _tmp3_ = NULL; xmlNode* _tmp4_ = NULL; xmlNode* _tmp5_ = NULL; -#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = doc; -#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = root; -#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = publishing_rest_support_xml_document_get_named_child (_tmp3_, _tmp4_, "err", &_inner_error_); -#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = _tmp5_; -#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { -#line 10586 "PiwigoPublishing.c" - goto __catch47_spit_publishing_publishing_error; +#line 11334 "PiwigoPublishing.c" + goto __catch48_spit_publishing_publishing_error; } -#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" 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); -#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 10595 "PiwigoPublishing.c" +#line 11343 "PiwigoPublishing.c" } -#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" errcode = _tmp2_; -#line 10599 "PiwigoPublishing.c" +#line 11347 "PiwigoPublishing.c" } - goto __finally47; - __catch47_spit_publishing_publishing_error: + goto __finally48; + __catch48_spit_publishing_publishing_error: { GError* err = NULL; gchar* _tmp6_ = NULL; -#line 1570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" err = _inner_error_; -#line 1570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _inner_error_ = NULL; -#line 1573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = g_strdup ("0"); -#line 1573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp6_; -#line 1573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); -#line 1573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10618 "PiwigoPublishing.c" +#line 11366 "PiwigoPublishing.c" } - __finally47: -#line 1570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + __finally48: +#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_clear_error (&_inner_error_); -#line 1570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return NULL; -#line 10629 "PiwigoPublishing.c" +#line 11377 "PiwigoPublishing.c" } -#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = errcode; -#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = (gchar*) xmlGetProp (_tmp7_, (xmlChar*) "code"); -#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" result = _tmp8_; -#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return result; -#line 10639 "PiwigoPublishing.c" +#line 11387 "PiwigoPublishing.c" } static void publishing_piwigo_transaction_class_init (PublishingPiwigoTransactionClass * klass) { -#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1628 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_transaction_parent_class = g_type_class_peek_parent (klass); -#line 10646 "PiwigoPublishing.c" +#line 11394 "PiwigoPublishing.c" } @@ -10688,47 +11439,140 @@ PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transac const gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; -#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (url != NULL, NULL); -#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (username != NULL, NULL); -#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (password != NULL, NULL); -#line 1584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = url; -#line 1584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoSessionLoginTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST); -#line 1586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.session.login"); -#line 1587 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1682 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = username; -#line 1587 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1682 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "username", _tmp2_); -#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1683 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = password; -#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1683 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "password", _tmp3_); -#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10706 "PiwigoPublishing.c" +#line 11454 "PiwigoPublishing.c" } PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transaction_new (PublishingPiwigoSession* session, const gchar* url, const gchar* username, const gchar* password) { -#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_session_login_transaction_construct (PUBLISHING_PIWIGO_TYPE_SESSION_LOGIN_TRANSACTION, session, url, username, password); -#line 10713 "PiwigoPublishing.c" +#line 11461 "PiwigoPublishing.c" +} + + +static gpointer _publishing_rest_support_argument_ref0 (gpointer self) { +#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + return self ? publishing_rest_support_argument_ref (self) : NULL; +#line 11468 "PiwigoPublishing.c" +} + + +PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transaction_construct_from_other (GType object_type, PublishingPiwigoSession* session, PublishingPiwigoTransaction* other) { + PublishingPiwigoSessionLoginTransaction* self = NULL; + PublishingPiwigoSession* _tmp0_ = NULL; + PublishingPiwigoTransaction* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + PublishingPiwigoTransaction* _tmp4_ = NULL; + gint _tmp5_ = 0; + PublishingRESTSupportArgument** _tmp6_ = NULL; +#line 1686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); +#line 1686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_return_val_if_fail (PUBLISHING_PIWIGO_IS_TRANSACTION (other), NULL); +#line 1687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp0_ = session; +#line 1687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp1_ = other; +#line 1687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp2_ = publishing_rest_support_transaction_get_endpoint_url (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction)); +#line 1687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp3_ = _tmp2_; +#line 1687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + self = (PublishingPiwigoSessionLoginTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp3_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST); +#line 1687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_free0 (_tmp3_); +#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp4_ = other; +#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp6_ = publishing_rest_support_transaction_get_arguments (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_tmp5_); +#line 11501 "PiwigoPublishing.c" + { + PublishingRESTSupportArgument** argument_collection = NULL; + gint argument_collection_length1 = 0; + gint _argument_collection_size_ = 0; + gint argument_it = 0; +#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + argument_collection = _tmp6_; +#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + argument_collection_length1 = _tmp5_; +#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + for (argument_it = 0; argument_it < _tmp5_; argument_it = argument_it + 1) { +#line 11513 "PiwigoPublishing.c" + PublishingRESTSupportArgument* _tmp7_ = NULL; + PublishingRESTSupportArgument* argument = NULL; +#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp7_ = _publishing_rest_support_argument_ref0 (argument_collection[argument_it]); +#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + argument = _tmp7_; +#line 11520 "PiwigoPublishing.c" + { + PublishingRESTSupportArgument* _tmp8_ = NULL; + const gchar* _tmp9_ = NULL; + PublishingRESTSupportArgument* _tmp10_ = NULL; + const gchar* _tmp11_ = NULL; +#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp8_ = argument; +#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp9_ = _tmp8_->key; +#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp10_ = argument; +#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp11_ = _tmp10_->value; +#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), _tmp9_, _tmp11_); +#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _publishing_rest_support_argument_unref0 (argument); +#line 11538 "PiwigoPublishing.c" + } + } +#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + argument_collection = (_vala_array_free (argument_collection, argument_collection_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL); +#line 11543 "PiwigoPublishing.c" + } +#line 1686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + return self; +#line 11547 "PiwigoPublishing.c" +} + + +PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transaction_new_from_other (PublishingPiwigoSession* session, PublishingPiwigoTransaction* other) { +#line 1686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + return publishing_piwigo_session_login_transaction_construct_from_other (PUBLISHING_PIWIGO_TYPE_SESSION_LOGIN_TRANSACTION, session, other); +#line 11554 "PiwigoPublishing.c" } static void publishing_piwigo_session_login_transaction_class_init (PublishingPiwigoSessionLoginTransactionClass * klass) { -#line 1582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1677 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_session_login_transaction_parent_class = g_type_class_peek_parent (klass); -#line 10720 "PiwigoPublishing.c" +#line 11561 "PiwigoPublishing.c" } @@ -10760,77 +11604,77 @@ PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_statu gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (url != NULL, NULL); -#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (pwg_id != NULL, NULL); -#line 1597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = url; -#line 1597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoSessionGetStatusTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST); -#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = session; -#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = publishing_piwigo_session_get_pwg_id (_tmp2_); -#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _tmp3_; -#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = g_strconcat ("pwg_id=", _tmp4_, NULL); -#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = _tmp5_; -#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_header (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "Cookie", _tmp6_); -#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp6_); -#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp4_); -#line 1600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.session.getStatus"); -#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10784 "PiwigoPublishing.c" +#line 11625 "PiwigoPublishing.c" } PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_status_transaction_new_unauthenticated (PublishingPiwigoSession* session, const gchar* url, const gchar* pwg_id) { -#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_session_get_status_transaction_construct_unauthenticated (PUBLISHING_PIWIGO_TYPE_SESSION_GET_STATUS_TRANSACTION, session, url, pwg_id); -#line 10791 "PiwigoPublishing.c" +#line 11632 "PiwigoPublishing.c" } PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_status_transaction_construct (GType object_type, PublishingPiwigoSession* session) { PublishingPiwigoSessionGetStatusTransaction* self = NULL; PublishingPiwigoSession* _tmp0_ = NULL; -#line 1603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1706 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1707 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1707 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoSessionGetStatusTransaction*) publishing_piwigo_transaction_construct_authenticated (object_type, _tmp0_); -#line 1606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.session.getStatus"); -#line 1603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1706 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10808 "PiwigoPublishing.c" +#line 11649 "PiwigoPublishing.c" } PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_status_transaction_new (PublishingPiwigoSession* session) { -#line 1603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1706 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_session_get_status_transaction_construct (PUBLISHING_PIWIGO_TYPE_SESSION_GET_STATUS_TRANSACTION, session); -#line 10815 "PiwigoPublishing.c" +#line 11656 "PiwigoPublishing.c" } static void publishing_piwigo_session_get_status_transaction_class_init (PublishingPiwigoSessionGetStatusTransactionClass * klass) { -#line 1595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_session_get_status_transaction_parent_class = g_type_class_peek_parent (klass); -#line 10822 "PiwigoPublishing.c" +#line 11663 "PiwigoPublishing.c" } @@ -10856,33 +11700,33 @@ GType publishing_piwigo_session_get_status_transaction_get_type (void) { PublishingPiwigoCategoriesGetListTransaction* publishing_piwigo_categories_get_list_transaction_construct (GType object_type, PublishingPiwigoSession* session) { PublishingPiwigoCategoriesGetListTransaction* self = NULL; PublishingPiwigoSession* _tmp0_ = NULL; -#line 1614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoCategoriesGetListTransaction*) publishing_piwigo_transaction_construct_authenticated (object_type, _tmp0_); -#line 1617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.categories.getList"); -#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1721 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "recursive", "true"); -#line 1614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10860 "PiwigoPublishing.c" +#line 11701 "PiwigoPublishing.c" } PublishingPiwigoCategoriesGetListTransaction* publishing_piwigo_categories_get_list_transaction_new (PublishingPiwigoSession* session) { -#line 1614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_categories_get_list_transaction_construct (PUBLISHING_PIWIGO_TYPE_CATEGORIES_GET_LIST_TRANSACTION, session); -#line 10867 "PiwigoPublishing.c" +#line 11708 "PiwigoPublishing.c" } static void publishing_piwigo_categories_get_list_transaction_class_init (PublishingPiwigoCategoriesGetListTransactionClass * klass) { -#line 1613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1716 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_categories_get_list_transaction_parent_class = g_type_class_peek_parent (klass); -#line 10874 "PiwigoPublishing.c" +#line 11715 "PiwigoPublishing.c" } @@ -10908,31 +11752,31 @@ GType publishing_piwigo_categories_get_list_transaction_get_type (void) { PublishingPiwigoSessionLogoutTransaction* publishing_piwigo_session_logout_transaction_construct (GType object_type, PublishingPiwigoSession* session) { PublishingPiwigoSessionLogoutTransaction* self = NULL; PublishingPiwigoSession* _tmp0_ = NULL; -#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1624 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1727 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1624 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1727 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoSessionLogoutTransaction*) publishing_piwigo_transaction_construct_authenticated (object_type, _tmp0_); -#line 1626 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1729 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.session.logout"); -#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10910 "PiwigoPublishing.c" +#line 11751 "PiwigoPublishing.c" } PublishingPiwigoSessionLogoutTransaction* publishing_piwigo_session_logout_transaction_new (PublishingPiwigoSession* session) { -#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_session_logout_transaction_construct (PUBLISHING_PIWIGO_TYPE_SESSION_LOGOUT_TRANSACTION, session); -#line 10917 "PiwigoPublishing.c" +#line 11758 "PiwigoPublishing.c" } static void publishing_piwigo_session_logout_transaction_class_init (PublishingPiwigoSessionLogoutTransactionClass * klass) { -#line 1622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1725 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_session_logout_transaction_parent_class = g_type_class_peek_parent (klass); -#line 10924 "PiwigoPublishing.c" +#line 11765 "PiwigoPublishing.c" } @@ -10958,69 +11802,69 @@ PublishingPiwigoCategoriesAddTransaction* publishing_piwigo_categories_add_trans const gchar* _tmp1_ = NULL; gint _tmp2_ = 0; const gchar* _tmp6_ = NULL; -#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1734 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1734 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (category != NULL, NULL); -#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1735 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1735 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoCategoriesAddTransaction*) publishing_piwigo_transaction_construct_authenticated (object_type, _tmp0_); -#line 1634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1737 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.categories.add"); -#line 1635 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1738 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = category; -#line 1635 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1738 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "name", _tmp1_); -#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = parent_id; -#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp2_ != 0) { -#line 10968 "PiwigoPublishing.c" +#line 11809 "PiwigoPublishing.c" gint _tmp3_ = 0; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1741 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = parent_id; -#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1741 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = g_strdup_printf ("%i", _tmp3_); -#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1741 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = _tmp4_; -#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1741 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "parent", _tmp5_); -#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1741 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp5_); -#line 10982 "PiwigoPublishing.c" +#line 11823 "PiwigoPublishing.c" } -#line 1641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1744 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = comment; -#line 1641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1744 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_strcmp0 (_tmp6_, "") != 0) { -#line 10988 "PiwigoPublishing.c" +#line 11829 "PiwigoPublishing.c" const gchar* _tmp7_ = NULL; -#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1745 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = comment; -#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1745 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "comment", _tmp7_); -#line 10994 "PiwigoPublishing.c" +#line 11835 "PiwigoPublishing.c" } -#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1734 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 10998 "PiwigoPublishing.c" +#line 11839 "PiwigoPublishing.c" } PublishingPiwigoCategoriesAddTransaction* publishing_piwigo_categories_add_transaction_new (PublishingPiwigoSession* session, const gchar* category, gint parent_id, const gchar* comment) { -#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1734 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_categories_add_transaction_construct (PUBLISHING_PIWIGO_TYPE_CATEGORIES_ADD_TRANSACTION, session, category, parent_id, comment); -#line 11005 "PiwigoPublishing.c" +#line 11846 "PiwigoPublishing.c" } static void publishing_piwigo_categories_add_transaction_class_init (PublishingPiwigoCategoriesAddTransactionClass * klass) { -#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_categories_add_transaction_parent_class = g_type_class_peek_parent (klass); -#line 11012 "PiwigoPublishing.c" +#line 11853 "PiwigoPublishing.c" } @@ -11053,7 +11897,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s if (_tmp0_ == NULL) { #line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" separator = ""; -#line 11045 "PiwigoPublishing.c" +#line 11886 "PiwigoPublishing.c" } #line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp3_ = str_array; @@ -11063,7 +11907,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s if (_tmp3_ != NULL) { #line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = TRUE; -#line 11055 "PiwigoPublishing.c" +#line 11896 "PiwigoPublishing.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; @@ -11073,13 +11917,13 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp4__length1 = str_array_length1; #line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = _tmp4__length1 > 0; -#line 11065 "PiwigoPublishing.c" +#line 11906 "PiwigoPublishing.c" } #line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_) { #line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = TRUE; -#line 11071 "PiwigoPublishing.c" +#line 11912 "PiwigoPublishing.c" } else { gboolean _tmp5_ = FALSE; gchar** _tmp6_ = NULL; @@ -11090,7 +11934,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp6__length1 = str_array_length1; #line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp6__length1 == -1) { -#line 11082 "PiwigoPublishing.c" +#line 11923 "PiwigoPublishing.c" gchar** _tmp7_ = NULL; gint _tmp7__length1 = 0; const gchar* _tmp8_ = NULL; @@ -11102,19 +11946,19 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp8_ = _tmp7_[0]; #line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_ != NULL; -#line 11094 "PiwigoPublishing.c" +#line 11935 "PiwigoPublishing.c" } else { #line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = FALSE; -#line 11098 "PiwigoPublishing.c" +#line 11939 "PiwigoPublishing.c" } #line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp1_ = _tmp5_; -#line 11102 "PiwigoPublishing.c" +#line 11943 "PiwigoPublishing.c" } #line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_) { -#line 11106 "PiwigoPublishing.c" +#line 11947 "PiwigoPublishing.c" gint i = 0; gsize len = 0UL; gint _tmp31_ = 0; @@ -11137,7 +11981,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp62_ = NULL; #line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = (gsize) 1; -#line 11129 "PiwigoPublishing.c" +#line 11970 "PiwigoPublishing.c" { gboolean _tmp9_ = FALSE; #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -11146,7 +11990,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp9_ = TRUE; #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { -#line 11138 "PiwigoPublishing.c" +#line 11979 "PiwigoPublishing.c" gboolean _tmp11_ = FALSE; gboolean _tmp12_ = FALSE; gchar** _tmp13_ = NULL; @@ -11159,13 +12003,13 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gsize _tmp30_ = 0UL; #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp9_) { -#line 11151 "PiwigoPublishing.c" +#line 11992 "PiwigoPublishing.c" gint _tmp10_ = 0; #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp10_ = i; #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp10_ + 1; -#line 11157 "PiwigoPublishing.c" +#line 11998 "PiwigoPublishing.c" } #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = FALSE; @@ -11175,7 +12019,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp13__length1 = str_array_length1; #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13__length1 != -1) { -#line 11167 "PiwigoPublishing.c" +#line 12008 "PiwigoPublishing.c" gint _tmp14_ = 0; gchar** _tmp15_ = NULL; gint _tmp15__length1 = 0; @@ -11187,17 +12031,17 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp15__length1 = str_array_length1; #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ < _tmp15__length1; -#line 11179 "PiwigoPublishing.c" +#line 12020 "PiwigoPublishing.c" } else { #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; -#line 11183 "PiwigoPublishing.c" +#line 12024 "PiwigoPublishing.c" } #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp12_) { #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = TRUE; -#line 11189 "PiwigoPublishing.c" +#line 12030 "PiwigoPublishing.c" } else { gboolean _tmp16_ = FALSE; gchar** _tmp17_ = NULL; @@ -11208,7 +12052,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp17__length1 = str_array_length1; #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp17__length1 == -1) { -#line 11200 "PiwigoPublishing.c" +#line 12041 "PiwigoPublishing.c" gchar** _tmp18_ = NULL; gint _tmp18__length1 = 0; gint _tmp19_ = 0; @@ -11223,21 +12067,21 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp20_ = _tmp18_[_tmp19_]; #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = _tmp20_ != NULL; -#line 11215 "PiwigoPublishing.c" +#line 12056 "PiwigoPublishing.c" } else { #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp16_ = FALSE; -#line 11219 "PiwigoPublishing.c" +#line 12060 "PiwigoPublishing.c" } #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp11_ = _tmp16_; -#line 11223 "PiwigoPublishing.c" +#line 12064 "PiwigoPublishing.c" } #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp11_) { #line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; -#line 11229 "PiwigoPublishing.c" +#line 12070 "PiwigoPublishing.c" } #line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp22_ = str_array; @@ -11249,7 +12093,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp24_ = _tmp22_[_tmp23_]; #line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp24_ != NULL) { -#line 11241 "PiwigoPublishing.c" +#line 12082 "PiwigoPublishing.c" gchar** _tmp25_ = NULL; gint _tmp25__length1 = 0; gint _tmp26_ = 0; @@ -11270,24 +12114,24 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp29_ = _tmp28_; #line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = _tmp29_; -#line 11262 "PiwigoPublishing.c" +#line 12103 "PiwigoPublishing.c" } else { #line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp21_ = 0; -#line 11266 "PiwigoPublishing.c" +#line 12107 "PiwigoPublishing.c" } #line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp30_ = len; #line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp30_ + _tmp21_; -#line 11272 "PiwigoPublishing.c" +#line 12113 "PiwigoPublishing.c" } } #line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp31_ = i; #line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp31_ == 0) { -#line 11279 "PiwigoPublishing.c" +#line 12120 "PiwigoPublishing.c" gchar* _tmp32_ = NULL; #line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp32_ = g_strdup (""); @@ -11295,7 +12139,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s result = _tmp32_; #line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 11287 "PiwigoPublishing.c" +#line 12128 "PiwigoPublishing.c" } #line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp33_ = i; @@ -11333,7 +12177,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_); #line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp45_; -#line 11325 "PiwigoPublishing.c" +#line 12166 "PiwigoPublishing.c" { gboolean _tmp46_ = FALSE; #line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -11342,7 +12186,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp46_ = TRUE; #line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" while (TRUE) { -#line 11334 "PiwigoPublishing.c" +#line 12175 "PiwigoPublishing.c" gint _tmp48_ = 0; gchar** _tmp49_ = NULL; gint _tmp49__length1 = 0; @@ -11358,13 +12202,13 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s void* _tmp61_ = NULL; #line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (!_tmp46_) { -#line 11350 "PiwigoPublishing.c" +#line 12191 "PiwigoPublishing.c" gint _tmp47_ = 0; #line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp47_ = i; #line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" i = _tmp47_ + 1; -#line 11356 "PiwigoPublishing.c" +#line 12197 "PiwigoPublishing.c" } #line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp46_ = FALSE; @@ -11378,7 +12222,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s if (!(_tmp48_ < _tmp49__length1)) { #line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" break; -#line 11370 "PiwigoPublishing.c" +#line 12211 "PiwigoPublishing.c" } #line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp50_ = ptr; @@ -11398,7 +12242,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp56_ = _tmp54_[_tmp55_]; #line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp56_ != NULL) { -#line 11390 "PiwigoPublishing.c" +#line 12231 "PiwigoPublishing.c" gchar** _tmp57_ = NULL; gint _tmp57__length1 = 0; gint _tmp58_ = 0; @@ -11413,11 +12257,11 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp59_ = _tmp57_[_tmp58_]; #line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = (const gchar*) _tmp59_; -#line 11405 "PiwigoPublishing.c" +#line 12246 "PiwigoPublishing.c" } else { #line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp53_ = ""; -#line 11409 "PiwigoPublishing.c" +#line 12250 "PiwigoPublishing.c" } #line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp60_ = ptr; @@ -11425,7 +12269,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp61_ = g_stpcpy (_tmp60_, _tmp53_); #line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" ptr = _tmp61_; -#line 11417 "PiwigoPublishing.c" +#line 12258 "PiwigoPublishing.c" } } #line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -11436,7 +12280,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s result = (gchar*) _tmp62_; #line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 11428 "PiwigoPublishing.c" +#line 12269 "PiwigoPublishing.c" } else { gchar* _tmp63_ = NULL; #line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -11445,15 +12289,15 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s result = _tmp63_; #line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 11437 "PiwigoPublishing.c" +#line 12278 "PiwigoPublishing.c" } } static void _g_free0_ (gpointer var) { -#line 1707 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" var = (g_free (var), NULL); -#line 11445 "PiwigoPublishing.c" +#line 12286 "PiwigoPublishing.c" } @@ -11519,381 +12363,381 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c gchar* _tmp74_ = NULL; gchar* _tmp75_ = NULL; gchar* _tmp76_ = NULL; -#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); -#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_PARAMETERS (parameters), NULL); -#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (publishable), NULL); -#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp0_ = session; -#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp1_ = publishable; -#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = session; -#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = publishing_piwigo_session_get_pwg_url (_tmp2_); -#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = _tmp3_; -#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = (PublishingPiwigoImagesAddTransaction*) publishing_rest_support_upload_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, _tmp4_); -#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp4_); -#line 1652 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = session; -#line 1652 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession)); -#line 1652 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp6_) { -#line 11537 "PiwigoPublishing.c" +#line 12378 "PiwigoPublishing.c" PublishingPiwigoSession* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; gchar* _tmp10_ = NULL; gchar* _tmp11_ = NULL; -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = session; -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = publishing_piwigo_session_get_pwg_id (_tmp7_); -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = _tmp8_; -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = g_strconcat ("pwg_id=", _tmp9_, NULL); -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = _tmp10_; -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_header (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "Cookie", _tmp11_); -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp11_); -#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp9_); -#line 11559 "PiwigoPublishing.c" +#line 12400 "PiwigoPublishing.c" } -#line 1655 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1758 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = parameters; -#line 1655 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1758 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp13_ = _publishing_piwigo_publishing_parameters_ref0 (_tmp12_); -#line 1655 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1758 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_publishing_parameters_unref0 (self->priv->parameters); -#line 1655 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1758 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->parameters = _tmp13_; -#line 1657 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp14_ = publishable; -#line 1657 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp16_ = spit_publishing_publishable_get_publishing_keywords (_tmp14_, &_tmp15_); -#line 1657 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" keywords = _tmp16_; -#line 1657 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" keywords_length1 = _tmp15_; -#line 1657 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _keywords_size_ = keywords_length1; -#line 1658 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp17_ = g_strdup (""); -#line 1658 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" tags = _tmp17_; -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1762 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18_ = keywords; -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1762 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp18__length1 = keywords_length1; -#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1762 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp18_ != NULL) { -#line 11589 "PiwigoPublishing.c" +#line 12430 "PiwigoPublishing.c" gchar** _tmp19_ = NULL; gint _tmp19__length1 = 0; gchar* _tmp20_ = NULL; -#line 1660 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19_ = keywords; -#line 1660 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp19__length1 = keywords_length1; -#line 1660 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp20_ = _vala_g_strjoinv (",", _tmp19_, _tmp19__length1); -#line 1660 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (tags); -#line 1660 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" tags = _tmp20_; -#line 11603 "PiwigoPublishing.c" +#line 12444 "PiwigoPublishing.c" } -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = publishable; -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp22_ = spit_publishing_publishable_get_serialized_file (_tmp21_); -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp23_ = _tmp22_; -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp24_ = g_file_get_basename (_tmp23_); -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp25_ = _tmp24_; -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp26_ = parameters; -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp27_ = _tmp26_->category; -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp28_ = _tmp27_->id; -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp29_ = parameters; -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp30_ = _tmp29_->perm_level; -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp31_ = _tmp30_->id; -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - g_debug ("PiwigoPublishing.vala:1663: PiwigoConnector: Uploading photo %s to cat" \ +#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + g_debug ("PiwigoPublishing.vala:1766: PiwigoConnector: Uploading photo %s to cat" \ "egory id %d with perm level %d", _tmp25_, _tmp28_, _tmp31_); -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp25_); -#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (_tmp23_); -#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1769 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp32_ = publishable; -#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1769 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp33_ = spit_publishing_publishable_get_publishing_name (_tmp32_); -#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1769 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" name = _tmp33_; -#line 1667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp34_ = publishable; -#line 1667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp35_ = spit_publishing_publishable_get_param_string (_tmp34_, SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_COMMENT); -#line 1667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" comment = _tmp35_; -#line 1669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp36_ = name; -#line 1669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_strcmp0 (_tmp36_, "") != 0) { -#line 11649 "PiwigoPublishing.c" +#line 12490 "PiwigoPublishing.c" SpitPublishingPublishable* _tmp37_ = NULL; gchar* _tmp38_ = NULL; const gchar* _tmp39_ = NULL; gboolean _tmp40_ = FALSE; const gchar* _tmp41_ = NULL; -#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp37_ = publishable; -#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp38_ = spit_publishing_publishable_get_param_string (_tmp37_, SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_BASENAME); -#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (name); -#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" name = _tmp38_; -#line 1672 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp39_ = name; -#line 1672 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "name", _tmp39_); -#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp41_ = comment; -#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp41_ != NULL) { -#line 11671 "PiwigoPublishing.c" +#line 12512 "PiwigoPublishing.c" const gchar* _tmp42_ = NULL; -#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp42_ = comment; -#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp40_ = g_strcmp0 (_tmp42_, "") != 0; -#line 11677 "PiwigoPublishing.c" +#line 12518 "PiwigoPublishing.c" } else { -#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp40_ = FALSE; -#line 11681 "PiwigoPublishing.c" +#line 12522 "PiwigoPublishing.c" } -#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp40_) { -#line 11685 "PiwigoPublishing.c" +#line 12526 "PiwigoPublishing.c" const gchar* _tmp43_ = NULL; -#line 1674 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp43_ = comment; -#line 1674 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "comment", _tmp43_); -#line 11691 "PiwigoPublishing.c" +#line 12532 "PiwigoPublishing.c" } } else { gboolean _tmp44_ = FALSE; const gchar* _tmp45_ = NULL; -#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp45_ = comment; -#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp45_ != NULL) { -#line 11700 "PiwigoPublishing.c" +#line 12541 "PiwigoPublishing.c" const gchar* _tmp46_ = NULL; -#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp46_ = comment; -#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp44_ = g_strcmp0 (_tmp46_, "") != 0; -#line 11706 "PiwigoPublishing.c" +#line 12547 "PiwigoPublishing.c" } else { -#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp44_ = FALSE; -#line 11710 "PiwigoPublishing.c" +#line 12551 "PiwigoPublishing.c" } -#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp44_) { -#line 11714 "PiwigoPublishing.c" +#line 12555 "PiwigoPublishing.c" const gchar* _tmp47_ = NULL; const gchar* _tmp48_ = NULL; -#line 1679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp47_ = name; -#line 1679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "name", _tmp47_); -#line 1680 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp48_ = comment; -#line 1680 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "comment", _tmp48_); -#line 11725 "PiwigoPublishing.c" +#line 12566 "PiwigoPublishing.c" } else { PublishingPiwigoPublishingParameters* _tmp49_ = NULL; gboolean _tmp50_ = FALSE; -#line 1685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1788 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp49_ = parameters; -#line 1685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1788 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp50_ = _tmp49_->title_as_comment; -#line 1685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1788 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp50_) { -#line 11735 "PiwigoPublishing.c" +#line 12576 "PiwigoPublishing.c" const gchar* _tmp51_ = NULL; -#line 1686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1789 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp51_ = name; -#line 1686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1789 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "comment", _tmp51_); -#line 11741 "PiwigoPublishing.c" +#line 12582 "PiwigoPublishing.c" } else { const gchar* _tmp52_ = NULL; -#line 1688 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1791 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp52_ = name; -#line 1688 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1791 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "name", _tmp52_); -#line 11748 "PiwigoPublishing.c" +#line 12589 "PiwigoPublishing.c" } } } -#line 1692 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1795 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.images.addSimple"); -#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp53_ = parameters; -#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp54_ = _tmp53_->category; -#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp55_ = _tmp54_->id; -#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp56_ = g_strdup_printf ("%i", _tmp55_); -#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp57_ = _tmp56_; -#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "category", _tmp57_); -#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp57_); -#line 1694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp58_ = parameters; -#line 1694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp59_ = _tmp58_->perm_level; -#line 1694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp60_ = _tmp59_->id; -#line 1694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp61_ = g_strdup_printf ("%i", _tmp60_); -#line 1694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp62_ = _tmp61_; -#line 1694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "level", _tmp62_); -#line 1694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp62_); -#line 1695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1798 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp63_ = parameters; -#line 1695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1798 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp64_ = _tmp63_->no_upload_tags; -#line 1695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1798 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp64_) { -#line 11788 "PiwigoPublishing.c" +#line 12629 "PiwigoPublishing.c" const gchar* _tmp65_ = NULL; -#line 1696 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1799 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp65_ = tags; -#line 1696 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1799 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_strcmp0 (_tmp65_, "") != 0) { -#line 11794 "PiwigoPublishing.c" +#line 12635 "PiwigoPublishing.c" const gchar* _tmp66_ = NULL; -#line 1697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp66_ = tags; -#line 1697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "tags", _tmp66_); -#line 11800 "PiwigoPublishing.c" +#line 12641 "PiwigoPublishing.c" } } -#line 1707 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp67_ = g_str_hash; -#line 1707 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp68_ = g_str_equal; -#line 1707 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp69_ = g_hash_table_new_full (_tmp67_, _tmp68_, _g_free0_, _g_free0_); -#line 1707 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" disposition_table = _tmp69_; -#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp70_ = g_strdup ("filename"); -#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp71_ = publishable; -#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp72_ = spit_publishing_publishable_get_param_string (_tmp71_, SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_BASENAME); -#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp73_ = _tmp72_; -#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp74_ = soup_uri_encode (_tmp73_, NULL); -#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_hash_table_insert (disposition_table, _tmp70_, _tmp74_); -#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp73_); -#line 1712 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1815 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp75_ = g_strdup ("name"); -#line 1712 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1815 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp76_ = g_strdup ("image"); -#line 1712 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1815 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_hash_table_insert (disposition_table, _tmp75_, _tmp76_); -#line 1714 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1817 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_upload_transaction_set_binary_disposition_table (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_UPLOAD_TRANSACTION, PublishingRESTSupportUploadTransaction), disposition_table); -#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_hash_table_unref0 (disposition_table); -#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (comment); -#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (name); -#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (tags); -#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" keywords = (_vala_array_free (keywords, keywords_length1, (GDestroyNotify) g_free), NULL); -#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 11845 "PiwigoPublishing.c" +#line 12686 "PiwigoPublishing.c" } PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_new (PublishingPiwigoSession* session, PublishingPiwigoPublishingParameters* parameters, SpitPublishingPublishable* publishable) { -#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_images_add_transaction_construct (PUBLISHING_PIWIGO_TYPE_IMAGES_ADD_TRANSACTION, session, parameters, publishable); -#line 11852 "PiwigoPublishing.c" +#line 12693 "PiwigoPublishing.c" } static void publishing_piwigo_images_add_transaction_class_init (PublishingPiwigoImagesAddTransactionClass * klass) { -#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_images_add_transaction_parent_class = g_type_class_peek_parent (klass); -#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" ((PublishingRESTSupportTransactionClass *) klass)->finalize = publishing_piwigo_images_add_transaction_finalize; -#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingPiwigoImagesAddTransactionPrivate)); -#line 11863 "PiwigoPublishing.c" +#line 12704 "PiwigoPublishing.c" } static void publishing_piwigo_images_add_transaction_instance_init (PublishingPiwigoImagesAddTransaction * self) { -#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv = PUBLISHING_PIWIGO_IMAGES_ADD_TRANSACTION_GET_PRIVATE (self); -#line 1648 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1751 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->parameters = NULL; -#line 11872 "PiwigoPublishing.c" +#line 12713 "PiwigoPublishing.c" } static void publishing_piwigo_images_add_transaction_finalize (PublishingRESTSupportTransaction* obj) { PublishingPiwigoImagesAddTransaction * self; -#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_IMAGES_ADD_TRANSACTION, PublishingPiwigoImagesAddTransaction); -#line 1648 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1751 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_piwigo_publishing_parameters_unref0 (self->priv->parameters); -#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" +#line 1750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" PUBLISHING_REST_SUPPORT_TRANSACTION_CLASS (publishing_piwigo_images_add_transaction_parent_class)->finalize (obj); -#line 11884 "PiwigoPublishing.c" +#line 12725 "PiwigoPublishing.c" } diff --git a/plugins/shotwell-publishing/PiwigoPublishing.vala b/plugins/shotwell-publishing/PiwigoPublishing.vala index 63623ea..0b98f05 100644 --- a/plugins/shotwell-publishing/PiwigoPublishing.vala +++ b/plugins/shotwell-publishing/PiwigoPublishing.vala @@ -284,6 +284,30 @@ public class PiwigoPublisher : Spit.Publishing.Publisher, GLib.Object { host.set_dialog_default_widget(authentication_pane.get_default_widget()); } + private void do_show_ssl_downgrade_pane (SessionLoginTransaction trans, + string url) { + var uri = new Soup.URI (url); + host.set_service_locked (false); + var ssl_pane = new SSLErrorPane (trans, uri.get_host ()); + ssl_pane.proceed.connect (() => { + debug ("SSL: User wants us to retry with broken certificate"); + this.session = new Session (); + this.session.set_insecure (); + + string? persistent_url = get_persistent_url(); + string? persistent_username = get_persistent_username(); + string? persistent_password = get_persistent_password(); + if (persistent_url != null && persistent_username != null && persistent_password != null) + do_network_login(persistent_url, persistent_username, + persistent_password, get_remember_password()); + else + do_show_authentication_pane(); + }); + host.install_dialog_pane (ssl_pane, + Spit.Publishing.PluginHost.ButtonMode.CLOSE); + host.set_dialog_default_widget (ssl_pane.get_default_widget ()); + } + /** * Event triggered when the login button in the authentication panel is * clicked. @@ -335,8 +359,13 @@ public class PiwigoPublisher : Spit.Publishing.Publisher, GLib.Object { try { login_trans.execute(); } catch (Spit.Publishing.PublishingError err) { - debug("ERROR: do_network_login"); - do_show_error(err); + if (err is Spit.Publishing.PublishingError.SSL_FAILED) { + debug ("ERROR: SSL connection problems"); + do_show_ssl_downgrade_pane (login_trans, url); + } else { + debug("ERROR: do_network_login"); + do_show_error(err); + } } } @@ -400,7 +429,6 @@ public class PiwigoPublisher : Spit.Publishing.Publisher, GLib.Object { debug("Setting endpoint URL to %s", endpoint_url); string pwg_id = get_pwg_id_from_transaction(txn); debug("Setting session pwg_id to %s", pwg_id); - session = new Session(); session.set_pwg_id(pwg_id); do_fetch_session_status(endpoint_url, pwg_id); @@ -744,7 +772,7 @@ public class PiwigoPublisher : Spit.Publishing.Publisher, GLib.Object { assert(category.is_local()); host.set_service_locked(true); - host.install_static_message_pane(_("Creating album %s...").printf(category.name)); + host.install_static_message_pane(_("Creating album %s…").printf(category.name)); CategoriesAddTransaction creation_trans = new CategoriesAddTransaction( session, category.name.strip(), int.parse(category.uppercats), category.comment); @@ -977,6 +1005,73 @@ internal class Uploader : Publishing.RESTSupport.BatchUploader { // UI elements +internal class SSLErrorPane : Spit.Publishing.DialogPane, Object { + private Gtk.Builder builder; + private Gtk.Widget content; + + public signal void proceed (); + + public SSLErrorPane (SessionLoginTransaction transaction, + string host) { + try { + TlsCertificate cert; + this.builder = new Gtk.Builder (); + this.builder.add_from_resource (Resources.RESOURCE_PATH + + "/piwigo_ssl_failure_pane.ui"); + this.content = this.builder.get_object ("content") as Gtk.Widget; + var label = this.builder.get_object ("main_text") as Gtk.Label; + // %s is the host name that we tried to connect to + label.set_text (_("This does not look like the real <b>%s</b>. Attackers might be trying to steal or alter information going to or from this site (for example, private messages, credit card information, or passwords).").printf (host)); + label.use_markup = true; + + label = this.builder.get_object ("ssl_errors") as Gtk.Label; + var text = transaction.detailed_error_from_tls_flags (out cert); + label.set_text (text); + + var info = this.builder.get_object ("default") as Gtk.Button; + info.clicked.connect (() => { + var simple_cert = new Gcr.SimpleCertificate (cert.certificate.data); + var widget = new Gcr.CertificateWidget (simple_cert); + + var dialog = new Gtk.Dialog (); + dialog.get_content_area ().add (widget); + dialog.add_button ("_OK", Gtk.ResponseType.OK); + dialog.set_default_response (Gtk.ResponseType.OK); + dialog.set_default_size (640, -1); + dialog.show_all (); + dialog.run (); + dialog.destroy (); + }); + + var proceed = this.builder.get_object ("proceed_button") as Gtk.Button; + proceed.clicked.connect (() => { this.proceed (); }); + + if (this.content.parent != null) { + this.content.parent.remove (this.content); + } + } catch (Error error) { + warning ("Failed to create ui file: %s", error.message); + assert_not_reached (); + } + } + + public Spit.Publishing.DialogPane.GeometryOptions get_preferred_geometry () { + return Spit.Publishing.DialogPane.GeometryOptions.NONE; + } + + public Gtk.Widget get_widget () { + return this.content; + } + + public Gtk.Widget get_default_widget () { + return this.builder.get_object ("default") as Gtk.Widget; + } + + public void on_pane_installed () { } + + public void on_pane_uninstalled () { } +} + /** * The authentication pane used when asking service URL, user name and password * from the user. @@ -1227,10 +1322,10 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, Object { private SizeEntry[] create_sizes() { SizeEntry[] result = new SizeEntry[0]; - result += new SizeEntry(500, _("500 x 375 pixels")); - result += new SizeEntry(1024, _("1024 x 768 pixels")); - result += new SizeEntry(2048, _("2048 x 1536 pixels")); - result += new SizeEntry(4096, _("4096 x 3072 pixels")); + result += new SizeEntry(500, _("500 × 375 pixels")); + result += new SizeEntry(1024, _("1024 × 768 pixels")); + result += new SizeEntry(2048, _("2048 × 1536 pixels")); + result += new SizeEntry(4096, _("4096 × 3072 pixels")); result += new SizeEntry(ORIGINAL_SIZE, _("Original size")); return result; @@ -1587,6 +1682,14 @@ internal class SessionLoginTransaction : Transaction { add_argument("username", username); add_argument("password", password); } + + public SessionLoginTransaction.from_other (Session session, Transaction other) { + base.with_endpoint_url (session, other.get_endpoint_url ()); + + foreach (var argument in other.get_arguments ()) { + add_argument (argument.key, argument.value); + } + } } /** diff --git a/plugins/shotwell-publishing/YouTubePublishing.c b/plugins/shotwell-publishing/YouTubePublishing.c index ed78ff1..4fb44d0 100644 --- a/plugins/shotwell-publishing/YouTubePublishing.c +++ b/plugins/shotwell-publishing/YouTubePublishing.c @@ -2305,8 +2305,8 @@ static void publishing_you_tube_you_tube_publisher_do_show_publishing_options_pa #line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala" _tmp4_ = publishing_rest_support_google_publisher_get_host (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher)); #line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala" - _tmp5_ = _ ("A file required for publishing is unavailable. Publishing to Youtube c" \ -"an't continue."); + _tmp5_ = _ ("A file required for publishing is unavailable. Publishing to YouTube c" \ +"an’t continue."); #line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala" _tmp6_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR, _tmp5_); #line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala" @@ -2930,7 +2930,7 @@ PublishingYouTubePublishingOptionsPane* publishing_you_tube_publishing_options_p #line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala" _tmp39_ = self->priv->publish_to_label; #line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala" - _tmp40_ = _ ("Videos will appear in '%s'"); + _tmp40_ = _ ("Videos will appear in “%s”"); #line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala" _tmp41_ = publishing_parameters; #line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala" diff --git a/plugins/shotwell-publishing/YouTubePublishing.vala b/plugins/shotwell-publishing/YouTubePublishing.vala index 7325c32..48241bd 100644 --- a/plugins/shotwell-publishing/YouTubePublishing.vala +++ b/plugins/shotwell-publishing/YouTubePublishing.vala @@ -360,7 +360,7 @@ public class YouTubePublisher : Publishing.RESTSupport.GooglePublisher { warning("Could not parse UI file! Error: %s.", e.message); get_host().post_error( new Spit.Publishing.PublishingError.LOCAL_FILE_ERROR( - _("A file required for publishing is unavailable. Publishing to Youtube can't continue."))); + _("A file required for publishing is unavailable. Publishing to YouTube can’t continue."))); return; } @@ -461,7 +461,7 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, GLib.Object { login_identity_label.set_label(_("You are logged into YouTube as %s.").printf( publishing_parameters.get_user_name())); - publish_to_label.set_label(_("Videos will appear in '%s'").printf( + publish_to_label.set_label(_("Videos will appear in “%s”").printf( publishing_parameters.get_channel_name())); foreach(PrivacyDescription desc in privacy_descriptions) { diff --git a/plugins/shotwell-publishing/org.gnome.Shotwell.Publishing.gresource.xml b/plugins/shotwell-publishing/org.gnome.Shotwell.Publishing.gresource.xml index 53bcc43..af3baad 100644 --- a/plugins/shotwell-publishing/org.gnome.Shotwell.Publishing.gresource.xml +++ b/plugins/shotwell-publishing/org.gnome.Shotwell.Publishing.gresource.xml @@ -12,6 +12,7 @@ <file>picasa_publishing_options_pane.ui</file> <file>piwigo_authentication_pane.ui</file> <file>piwigo_publishing_options_pane.ui</file> + <file>piwigo_ssl_failure_pane.ui</file> <file>youtube_publishing_options_pane.ui</file> </gresource> </gresources> diff --git a/plugins/shotwell-publishing/piwigo_authentication_pane.ui b/plugins/shotwell-publishing/piwigo_authentication_pane.ui index bd32141..ec24aed 100644 --- a/plugins/shotwell-publishing/piwigo_authentication_pane.ui +++ b/plugins/shotwell-publishing/piwigo_authentication_pane.ui @@ -148,7 +148,7 @@ <property name="can_focus">False</property> <child> <object class="GtkButton" id="login_button"> - <property name="label" translatable="yes">Login</property> + <property name="label" translatable="yes">Log in</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> diff --git a/plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui b/plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui new file mode 100644 index 0000000..8175627 --- /dev/null +++ b/plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui @@ -0,0 +1,111 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.20.0 --> +<interface> + <requires lib="gtk+" version="3.20"/> + <object class="GtkWindow"> + <property name="can_focus">False</property> + <child> + <object class="GtkBox" id="content"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_left">12</property> + <property name="margin_right">12</property> + <property name="margin_top">12</property> + <property name="margin_bottom">12</property> + <property name="orientation">vertical</property> + <property name="spacing">12</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">This connection is not secure</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="main_text"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label">This does not look like the real %s. Attackers might be trying to steal or alter information going to or from this site (for example, private messages, credit card information, or passwords).</property> + <property name="use_markup">True</property> + <property name="wrap">True</property> + <property name="width_chars">40</property> + <property name="max_width_chars">40</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="ssl_errors"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="margin_left">12</property> + <property name="label">⚫ This website presented identification that belongs to a different website. +⚫ This website’s identification could not be processed. It may be corrupted.</property> + <property name="wrap">True</property> + <property name="width_chars">52</property> + <property name="max_width_chars">52</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkButtonBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <property name="layout_style">center</property> + <child> + <object class="GtkButton" id="default"> + <property name="label" translatable="yes">Show the certificate…</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="proceed_button"> + <property name="label" translatable="yes">I understand, please _proceed.</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">3</property> + </packing> + </child> + </object> + </child> + </object> +</interface> diff --git a/plugins/shotwell-transitions/CircleEffect.vala b/plugins/shotwell-transitions/CircleEffect.vala index 862a578..b03d8fb 100644 --- a/plugins/shotwell-transitions/CircleEffect.vala +++ b/plugins/shotwell-transitions/CircleEffect.vala @@ -47,7 +47,7 @@ private class CircleEffect : Object, Transitions.Effect { public void paint(Transitions.Visuals visuals, Transitions.Motion motion, Cairo.Context ctx, int width, int height, int frame_number) { double alpha = motion.get_alpha(frame_number); - int radius = (int)((alpha) * Math.fmax(width,height)); + int radius = (int)(alpha * Math.fmax(width,height)); if (visuals.from_pixbuf != null) { Gdk.cairo_set_source_pixbuf(ctx, visuals.from_pixbuf, visuals.from_pos.x, diff --git a/po/POTFILES.in b/po/POTFILES.in index 5f96f0a..4c0ef0d 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -43,6 +43,7 @@ plugins/shotwell-publishing/PicasaPublishing.vala plugins/shotwell-publishing/piwigo_authentication_pane.ui plugins/shotwell-publishing/piwigo_publishing_options_pane.ui plugins/shotwell-publishing/PiwigoPublishing.vala +plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui plugins/shotwell-publishing/shotwell-publishing.vala plugins/shotwell-publishing/youtube_publishing_options_pane.ui plugins/shotwell-publishing/YouTubePublishing.vala Binary files differ@@ -18,8 +18,8 @@ msgstr "" "Project-Id-Version: shotwell-0.15\n" "Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?" "product=Shotwell&component=Internationalization\n" -"POT-Creation-Date: 2016-08-07 23:43+0200\n" -"PO-Revision-Date: 2016-08-07 23:39+0200\n" +"POT-Creation-Date: 2016-10-09 19:59+0200\n" +"PO-Revision-Date: 2016-10-08 17:13+0200\n" "Last-Translator: Jordi Mas <paugnu@gmail.com>\n" "Language-Team: ca_ES <tradgnome@softcatala.net>\n" "Language: ca\n" @@ -27,24 +27,70 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 1.8.7.1\n" +"X-Generator: Poedit 1.8.9\n" #: ../plugins/common/Resources.vala:12 msgid "Visit the Shotwell home page" msgstr "Visiteu la pàgina web del Shotwell" -#: ../plugins/common/Resources.vala:31 ../src/AppWindow.vala:676 +#: ../plugins/common/Resources.vala:31 ../src/AppWindow.vala:679 msgid "translator-credits" msgstr "" "Pau Iranzo <paugnu@gmail.com>, 2015\n" "Jordi Mas <jmas@softcatala.org>, 2016" -#: ../plugins/common/RESTSupport.vala:448 +#. Possible error message when a site presents a bad certificate. +#: ../plugins/common/RESTSupport.vala:202 +msgid "" +"⚫ This website presented identification that belongs to a different website." +msgstr "" + +#. Possible error message when a site presents a bad certificate. +#: ../plugins/common/RESTSupport.vala:207 +msgid "" +"⚫ This website’s identification is too old to trust. Check the date on your " +"computer’s calendar." +msgstr "" + +#. Possible error message when a site presents a bad certificate. +#: ../plugins/common/RESTSupport.vala:212 +msgid "" +"⚫ This website’s identification was not issued by a trusted organization." +msgstr "" + +#. Possible error message when a site presents a bad certificate. +#: ../plugins/common/RESTSupport.vala:217 +msgid "" +"⚫ This website’s identification could not be processed. It may be corrupted." +msgstr "" + +#. Possible error message when a site presents a bad certificate. +#: ../plugins/common/RESTSupport.vala:222 +msgid "" +"⚫ This website’s identification has been revoked by the trusted organization " +"that issued it." +msgstr "" + +#. Possible error message when a site presents a bad certificate. +#: ../plugins/common/RESTSupport.vala:227 +msgid "" +"⚫ This website’s identification cannot be trusted because it uses very weak " +"encryption." +msgstr "" + +#. Possible error message when a site presents a bad certificate. +#: ../plugins/common/RESTSupport.vala:232 +msgid "" +"⚫ This website’s identification is only valid for future dates. Check the " +"date on your computer’s calendar." +msgstr "" + +#: ../plugins/common/RESTSupport.vala:509 #: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:958 msgid "A temporary file needed for publishing is unavailable" msgstr "No està disponible un fitxer temporal que cal per publicar" -#: ../plugins/common/RESTSupport.vala:1154 +#: ../plugins/common/RESTSupport.vala:1167 msgid "" "You have already logged in and out of a Google service during this Shotwell " "session.\n" @@ -182,12 +228,12 @@ msgid "Shotwell default directory" msgstr "Directori per defecte del Shotwell" #: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:801 -#, c-format +#, fuzzy, c-format msgid "" "\n" "\n" -"The file \"%s\" may not be supported by or may be too large for this " -"instance of Gallery3." +"The file “%s” may not be supported by or may be too large for this instance " +"of Gallery3." msgstr "" "\n" "\n" @@ -205,9 +251,9 @@ msgstr "" #: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:1021 #: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:1773 -#, c-format +#, fuzzy, c-format msgid "" -"A file required for publishing is unavailable. Publishing to %s can't " +"A file required for publishing is unavailable. Publishing to %s can’t " "continue." msgstr "" "Un fitxer necessari per la publicació no està disponible. No es pot " @@ -255,7 +301,8 @@ msgid " Site Not Found" msgstr "No s'ha trobat el lloc" #: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:40 -msgid "Copyright (C) 2013 rajce.net" +#, fuzzy +msgid "Copyright © 2013 rajce.net" msgstr "Copyright (C) 2013 rajce.net" #: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:744 @@ -289,8 +336,9 @@ msgid "_Remember" msgstr "_Recorda" #: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:895 -msgid "Login" -msgstr "Entra" +#, fuzzy +msgid "Log in" +msgstr "S'està entrant..." #: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:1005 msgid "_Hide album" @@ -336,29 +384,33 @@ msgstr "Copyright 2012 BJA Electronics" #: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:105 #: ../plugins/shotwell-publishing/FlickrPublishing.vala:1231 -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1228 -msgid "500 x 375 pixels" +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1325 +#, fuzzy +msgid "500 × 375 pixels" msgstr "500 x 375 píxels" #: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:106 #: ../plugins/shotwell-publishing/FlickrPublishing.vala:1232 -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1229 -msgid "1024 x 768 pixels" +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1326 +#, fuzzy +msgid "1024 × 768 pixels" msgstr "1024 × 768 píxels" #: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:107 -msgid "1280 x 853 pixels" +#, fuzzy +msgid "1280 × 853 pixels" msgstr "1280 × 853 píxels" #: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:311 #: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:321 -#, c-format -msgid "'%s' isn't a valid response to an OAuth authentication request" +#, fuzzy, c-format +msgid "“%s” isn’t a valid response to an OAuth authentication request" msgstr "«%s» no és una resposta vàlida per a una petició d'autenticació OAuth" #: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:559 +#, fuzzy msgid "" -"TumblrPublisher: start( ): can't start; this publisher is not restartable." +"TumblrPublisher: start( ): can’t start; this publisher is not restartable." msgstr "" "TumblrPublisher: start( ): no es pot iniciar; aquest editor no es pot " "reiniciar." @@ -368,12 +420,12 @@ msgid "Enter the username and password associated with your Tumblr account." msgstr "Introduïu el nom i contrasenya associats amb el vostre compte Tumblr." #: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:588 -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:990 +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1087 msgid "Username and/or password invalid. Please try again" msgstr "L'usuari i/o la contrasenya no són vàlids. Proveu de nou" #: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:615 -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1024 +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1121 msgid "Invalid User Name or Password" msgstr "Nom d'usuari o contrasenya incorrectes" @@ -400,21 +452,22 @@ msgstr "Copyright 2010+ Evgeniy Polyakov <zbr@ioremap.net>" msgid "Visit the Yandex.Fotki web site" msgstr "Vés al lloc web del Yandex.Fotki" -#: ../plugins/shotwell-publishing-extras/YandexPublishing.vala:658 +#: ../plugins/shotwell-publishing-extras/YandexPublishing.vala:609 msgid "You are not currently logged into Yandex.Fotki." msgstr "Actualment no esteu connectat al Yandex.Fotki." #: ../plugins/shotwell-publishing/FacebookPublishing.vala:62 #: ../plugins/shotwell-publishing/PicasaPublishing.vala:60 -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1112 +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1209 msgid "Shotwell Connect" msgstr "Shotwell Connect" #: ../plugins/shotwell-publishing/FacebookPublishing.vala:64 +#, fuzzy msgid "" "You are not currently logged into Facebook.\n" "\n" -"If you don't yet have a Facebook account, you can create one during the " +"If you don’t yet have a Facebook account, you can create one during the " "login process. During login, Shotwell Connect may ask you for permission to " "upload photos and publish to your feed. These permissions are required for " "Shotwell Connect to function." @@ -447,23 +500,26 @@ msgid "Large (2048 pixels)" msgstr "Gran (2048 píxels)" #: ../plugins/shotwell-publishing/FacebookPublishing.vala:255 -msgid "Testing connection to Facebook..." +#, fuzzy +msgid "Testing connection to Facebook…" msgstr "S'està comprovant la connexió amb el Facebook..." #: ../plugins/shotwell-publishing/FacebookPublishing.vala:348 #: ../plugins/shotwell-publishing/PicasaPublishing.vala:379 -msgid "Creating album..." +#, fuzzy +msgid "Creating album…" msgstr "S'està creant l'àlbum..." #: ../plugins/shotwell-publishing/FacebookPublishing.vala:374 +#, fuzzy msgid "" -"A file required for publishing is unavailable. Publishing to Facebook can't " +"A file required for publishing is unavailable. Publishing to Facebook can’t " "continue." msgstr "" "Un dels fitxers necessaris per a la publicació no està disponible. No es pot " "continuar amb la publicació a Facebook." -#: ../plugins/shotwell-publishing/FacebookPublishing.vala:1032 +#: ../plugins/shotwell-publishing/FacebookPublishing.vala:982 #, c-format msgid "" "You are logged into Facebook as %s.\n" @@ -472,34 +528,35 @@ msgstr "" "Actualment esteu connectat al Facebook com a %s.\n" "\n" -#: ../plugins/shotwell-publishing/FacebookPublishing.vala:1033 +#: ../plugins/shotwell-publishing/FacebookPublishing.vala:983 msgid "Where would you like to publish the selected photos?" msgstr "On us agradaria publicar les fotografies seleccionades?" -#: ../plugins/shotwell-publishing/FacebookPublishing.vala:1034 +#: ../plugins/shotwell-publishing/FacebookPublishing.vala:984 msgid "Upload _size:" msgstr "Mida de _pujada:" -#: ../plugins/shotwell-publishing/FacebookPublishing.vala:1193 +#: ../plugins/shotwell-publishing/FacebookPublishing.vala:1143 #: ../plugins/shotwell-publishing/FlickrPublishing.vala:1213 msgid "Just me" msgstr "Només jo" -#: ../plugins/shotwell-publishing/FacebookPublishing.vala:1194 +#: ../plugins/shotwell-publishing/FacebookPublishing.vala:1144 msgid "Friends" msgstr "Amics" -#: ../plugins/shotwell-publishing/FacebookPublishing.vala:1195 +#: ../plugins/shotwell-publishing/FacebookPublishing.vala:1145 #: ../plugins/shotwell-publishing/FlickrPublishing.vala:1209 -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1216 +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1313 msgid "Everyone" msgstr "Tothom" #: ../plugins/shotwell-publishing/FlickrPublishing.vala:60 +#, fuzzy msgid "" "You are not currently logged into Flickr.\n" "\n" -"Click Login to log into Flickr in your Web browser. You will have to " +"Click Log in to log into Flickr in your Web browser. You will have to " "authorize Shotwell Connect to link to your Flickr account." msgstr "" "Actualment no esteu connectat al Flickr.\n" @@ -519,20 +576,23 @@ msgstr "" "intentar-ho." #: ../plugins/shotwell-publishing/FlickrPublishing.vala:374 -msgid "Preparing for login..." +#, fuzzy +msgid "Preparing for login…" msgstr "S'està preparant per connectar..." #: ../plugins/shotwell-publishing/FlickrPublishing.vala:444 #: ../plugins/shotwell-publishing/FlickrPublishing.vala:594 +#, fuzzy msgid "" -"A file required for publishing is unavailable. Publishing to Flickr can't " +"A file required for publishing is unavailable. Publishing to Flickr can’t " "continue." msgstr "" "Un dels fitxers necessaris per a la publicació no està disponible. No es pot " "continuar amb la publicació a Flickr." #: ../plugins/shotwell-publishing/FlickrPublishing.vala:457 -msgid "Verifying authorization..." +#, fuzzy +msgid "Verifying authorization…" msgstr "S'està verificant l'autorització..." #: ../plugins/shotwell-publishing/FlickrPublishing.vala:1152 @@ -590,27 +650,30 @@ msgid "Friends only" msgstr "Només amics" #: ../plugins/shotwell-publishing/FlickrPublishing.vala:1233 -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1230 -msgid "2048 x 1536 pixels" +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1327 +#, fuzzy +msgid "2048 × 1536 pixels" msgstr "2048 x 1536 píxels" #: ../plugins/shotwell-publishing/FlickrPublishing.vala:1234 -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1231 -msgid "4096 x 3072 pixels" +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1328 +#, fuzzy +msgid "4096 × 3072 pixels" msgstr "4096 x 3072 píxels" #: ../plugins/shotwell-publishing/FlickrPublishing.vala:1235 -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1232 +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1329 #: ../src/Dimensions.vala:17 msgid "Original size" msgstr "Mida original" #: ../plugins/shotwell-publishing/PicasaPublishing.vala:59 +#, fuzzy msgid "" "You are not currently logged into Picasa Web Albums.\n" "\n" -"Click Login to log into Picasa Web Albums in your Web browser. You will have " -"to authorize Shotwell Connect to link to your Picasa Web Albums account." +"Click Log in to log into Picasa Web Albums in your Web browser. You will " +"have to authorize Shotwell Connect to link to your Picasa Web Albums account." msgstr "" "No esteu connectat a Picasa Web Albums.\n" "\n" @@ -619,8 +682,9 @@ msgstr "" "Picasa Web Albums." #: ../plugins/shotwell-publishing/PicasaPublishing.vala:361 +#, fuzzy msgid "" -"A file required for publishing is unavailable. Publishing to Picasa can't " +"A file required for publishing is unavailable. Publishing to Picasa can’t " "continue." msgstr "" "Un fitxer necessari per la publicació no està disponible. No es pot dur a " @@ -637,19 +701,23 @@ msgid "Videos will appear in:" msgstr "Els vídeos apareixeran a:" #: ../plugins/shotwell-publishing/PicasaPublishing.vala:746 -msgid "Small (640 x 480 pixels)" +#, fuzzy +msgid "Small (640 × 480 pixels)" msgstr "Petita (640 x 480 píxels)" #: ../plugins/shotwell-publishing/PicasaPublishing.vala:747 -msgid "Medium (1024 x 768 pixels)" +#, fuzzy +msgid "Medium (1024 × 768 pixels)" msgstr "Mitjana (1024 x 768 píxels)" #: ../plugins/shotwell-publishing/PicasaPublishing.vala:748 -msgid "Recommended (1600 x 1200 pixels)" +#, fuzzy +msgid "Recommended (1600 × 1200 pixels)" msgstr "Recomanada (1600 x 1200 píxels)" #: ../plugins/shotwell-publishing/PicasaPublishing.vala:749 -msgid "Google+ (2048 x 1536 pixels)" +#, fuzzy +msgid "Google+ (2048 × 1536 pixels)" msgstr "Google+ (2048 x 1536 píxels)" #: ../plugins/shotwell-publishing/PicasaPublishing.vala:750 @@ -657,16 +725,25 @@ msgstr "Google+ (2048 x 1536 píxels)" msgid "Original Size" msgstr "Mida original" -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:747 -#, c-format -msgid "Creating album %s..." +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:775 +#, fuzzy, c-format +msgid "Creating album %s…" msgstr "Creant àlbum %s..." -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:918 +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:948 msgid "An error message occurred when publishing to Piwigo. Please try again." msgstr "S'ha produït un error en connectar-se a Piwigo. Proveu de nou." -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:988 +#. %s is the host name that we tried to connect to +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1024 +#, c-format +msgid "" +"This does not look like the real <b>%s</b>. Attackers might be trying to " +"steal or alter information going to or from this site (for example, private " +"messages, credit card information, or passwords)." +msgstr "" + +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1085 msgid "" "Enter the URL of your Piwigo photo library as well as the username and " "password associated with your Piwigo account for that library." @@ -675,7 +752,7 @@ msgstr "" "d'usuari i contrasenya associats amb el vostre compte Piwigo per aquesta " "biblioteca." -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:989 +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1086 msgid "" "Shotwell cannot contact your Piwigo photo library. Please verify the URL you " "entered" @@ -683,23 +760,23 @@ msgstr "" "El Shotwell no pot contactar amb la vostra biblioteca fotogràfica Piwigo. " "Comproveu l'URL que heu introduït" -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1019 +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1116 msgid "Invalid URL" msgstr "Adreça incorrecta" -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1217 +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1314 msgid "Admins, Family, Friends, Contacts" msgstr "Administradors, família, amics, contactes" -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1218 +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1315 msgid "Admins, Family, Friends" msgstr "Administradors, família, amics" -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1219 +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1316 msgid "Admins, Family" msgstr "Administradors, família" -#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1220 +#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1317 msgid "Admins" msgstr "Administradors" @@ -722,8 +799,9 @@ msgstr "" "utilitzant el navegador i entrant almenys un cop al lloc YouTube." #: ../plugins/shotwell-publishing/YouTubePublishing.vala:363 +#, fuzzy msgid "" -"A file required for publishing is unavailable. Publishing to Youtube can't " +"A file required for publishing is unavailable. Publishing to YouTube can’t " "continue." msgstr "" "Un dels fitxers necessaris per a la publicació no està disponible. No es pot " @@ -735,8 +813,8 @@ msgid "You are logged into YouTube as %s." msgstr "Actualment esteu connectat al YouTube com a %s." #: ../plugins/shotwell-publishing/YouTubePublishing.vala:464 -#, c-format -msgid "Videos will appear in '%s'" +#, fuzzy, c-format +msgid "Videos will appear in “%s”" msgstr "Els vídeos apareixeran a «%s»" #: ../plugins/shotwell-publishing/YouTubePublishing.vala:496 @@ -850,30 +928,30 @@ msgstr "Mantén la barra d'eines oberta" msgid "Leave fullscreen" msgstr "Surt de la pantalla completa" -#: ../src/AppWindow.vala:496 +#: ../src/AppWindow.vala:499 msgid "_Contents" msgstr "C_ontingut" -#: ../src/AppWindow.vala:501 +#: ../src/AppWindow.vala:504 msgid "_Frequently Asked Questions" msgstr "_Preguntes més freqüents" -#: ../src/AppWindow.vala:506 -msgid "_Report a Problem..." -msgstr "Info_rma d'un problema..." +#: ../src/AppWindow.vala:509 +msgid "_Report a Problem…" +msgstr "Info_rma d'un problema…" -#: ../src/AppWindow.vala:605 ../src/AppWindow.vala:626 -#: ../src/AppWindow.vala:643 ../src/data_imports/DataImportsUI.vala:413 -#: ../src/Dialogs.vala:20 ../src/Dialogs.vala:28 ../src/Dialogs.vala:1425 -#: ../src/Dialogs.vala:1448 ../src/publishing/PublishingUI.vala:512 +#: ../src/AppWindow.vala:608 ../src/AppWindow.vala:629 +#: ../src/AppWindow.vala:646 ../src/data_imports/DataImportsUI.vala:413 +#: ../src/Dialogs.vala:20 ../src/Dialogs.vala:28 ../src/Dialogs.vala:1441 +#: ../src/Dialogs.vala:1464 ../src/publishing/PublishingUI.vala:512 #: ../src/Resources.vala:157 msgid "_Cancel" msgstr "_Cancel·la" -#: ../src/AppWindow.vala:653 +#: ../src/AppWindow.vala:656 #, c-format msgid "" -"A fatal error occurred when accessing Shotwell's library. Shotwell cannot " +"A fatal error occurred when accessing Shotwell’s library. Shotwell cannot " "continue.\n" "\n" "%s" @@ -883,21 +961,21 @@ msgstr "" "\n" "%s" -#: ../src/AppWindow.vala:673 +#: ../src/AppWindow.vala:676 msgid "Visit the Shotwell web site" msgstr "Visiteu la pàgina web del Shotwell" -#: ../src/AppWindow.vala:685 +#: ../src/AppWindow.vala:688 #, c-format msgid "Unable to display help: %s" msgstr "No s'ha pogut mostrar l'ajuda: %s" -#: ../src/AppWindow.vala:693 +#: ../src/AppWindow.vala:696 #, c-format msgid "Unable to navigate to bug database: %s" msgstr "No es pot navegar a causa d'un error a la base de dades: %s" -#: ../src/AppWindow.vala:701 +#: ../src/AppWindow.vala:704 #, c-format msgid "Unable to display FAQ: %s" msgstr "No s'han pogut mostrar les PMF: %s" @@ -979,7 +1057,7 @@ msgstr "RAW+JPEG" #: ../src/camera/ImportPage.vala:458 msgid "" -"Unable to unmount camera. Try unmounting the camera from the file manager." +"Unable to unmount camera. Try unmounting the camera from the file manager." msgstr "" "No s'ha pogut desmuntar la càmera. Intenteu desmuntar-la des del gestor de " "fitxers." @@ -993,13 +1071,15 @@ msgstr "Amaga les fotografies que ja s'hagin importat" msgid "Only display photos that have not been imported" msgstr "Mostra només les fotografies que no s'hagin importat" -#. Ticket #3304 - Import page shouldn't display confusing message -#. prior to import. -#. TODO: replace this with approved text for "talking to camera, -#. please wait" once new strings are being accepted. +#: ../src/camera/ImportPage.vala:842 +msgid "The camera seems to be empty. No photos/videos found to import" +msgstr "" +"Sembla que la càmera està buida. No s'han trobat fotografies o vídeos per " +"importar." + #: ../src/camera/ImportPage.vala:846 -msgid "Starting import, please wait..." -msgstr "S'està iniciant la importació, espereu..." +msgid "No new photos/videos found on camera" +msgstr "No s'han trobat fotografies o vídeos nous a la càmera." #: ../src/camera/ImportPage.vala:873 ../src/MediaPage.vala:451 msgid "_Titles" @@ -1029,7 +1109,7 @@ msgstr "Importa totes les fotografies a la biblioteca" #: ../src/camera/ImportPage.vala:1013 msgid "" "Shotwell needs to unmount the camera from the filesystem in order to access " -"it. Continue?" +"it. Continue?" msgstr "" "Cal que el Shotwell desmunti la càmera del sistema de fitxers per poder-hi " "accedir. Voleu continuar?" @@ -1044,8 +1124,8 @@ msgstr "Desmunteu la càmera." #: ../src/camera/ImportPage.vala:1029 msgid "" -"The camera is locked by another application. Shotwell can only access the " -"camera when it's unlocked. Please close any other application using the " +"The camera is locked by another application. Shotwell can only access the " +"camera when it’s unlocked. Please close any other application using the " "camera and try again." msgstr "" "Una altra aplicació està blocant la càmera. El Shotwell només pot accedir a " @@ -1066,60 +1146,64 @@ msgstr "" "%s" #: ../src/camera/ImportPage.vala:1061 -msgid "Unmounting..." -msgstr "S'està desmuntant..." +msgid "Unmounting…" +msgstr "S'està desmuntant…" + +#: ../src/camera/ImportPage.vala:1152 +msgid "Starting import, please wait…" +msgstr "S'està iniciant la importació, espereu…" -#: ../src/camera/ImportPage.vala:1167 +#: ../src/camera/ImportPage.vala:1169 msgid "Fetching photo information" msgstr "S'està recollint la informació de les fotografies" -#: ../src/camera/ImportPage.vala:1522 +#: ../src/camera/ImportPage.vala:1527 #, c-format msgid "Fetching preview for %s" msgstr "S'està recollint la previsualització de %s" -#: ../src/camera/ImportPage.vala:1638 +#: ../src/camera/ImportPage.vala:1643 #, c-format msgid "Unable to lock camera: %s" msgstr "No es pot blocar la càmera: %s" -#: ../src/camera/ImportPage.vala:1723 +#: ../src/camera/ImportPage.vala:1728 #, c-format msgid "Delete this photo from camera?" msgid_plural "Delete these %d photos from camera?" msgstr[0] "Voleu suprimir aquesta fotografia de la càmera?" msgstr[1] "Voleu suprimir aquestes %d fotografies de la càmera?" -#: ../src/camera/ImportPage.vala:1726 +#: ../src/camera/ImportPage.vala:1731 #, c-format msgid "Delete this video from camera?" msgid_plural "Delete these %d videos from camera?" msgstr[0] "Voleu suprimir aquest vídeo de la càmera?" msgstr[1] "Voleu suprimir aquests %d vídeos de la càmera?" -#: ../src/camera/ImportPage.vala:1729 +#: ../src/camera/ImportPage.vala:1734 #, c-format msgid "Delete this photo/video from camera?" msgid_plural "Delete these %d photos/videos from camera?" msgstr[0] "Voleu suprimir aquesta fotografia/vídeo de la càmera?" msgstr[1] "Voleu suprimir aquestes %d fotografies/vídeos de la càmera?" -#: ../src/camera/ImportPage.vala:1732 +#: ../src/camera/ImportPage.vala:1737 #, c-format msgid "Delete these files from camera?" msgid_plural "Delete these %d files from camera?" msgstr[0] "Voleu suprimir aquest fitxer de la càmera?" msgstr[1] "Voleu suprimir aquests %d fitxers de la càmera?" -#: ../src/camera/ImportPage.vala:1740 ../src/Dialogs.vala:1392 +#: ../src/camera/ImportPage.vala:1745 ../src/Dialogs.vala:1408 msgid "_Keep" msgstr "_Manté" -#: ../src/camera/ImportPage.vala:1759 +#: ../src/camera/ImportPage.vala:1764 msgid "Removing photos/videos from camera" msgstr "S'estan suprimint les fotografies/vídeos de la càmera" -#: ../src/camera/ImportPage.vala:1763 +#: ../src/camera/ImportPage.vala:1768 #, c-format msgid "Unable to delete %d photo/video from the camera due to errors." msgid_plural "Unable to delete %d photos/videos from the camera due to errors." @@ -1149,7 +1233,7 @@ msgstr "Exporta les fotografies/vídeos" msgid "Export Photo" msgstr "Exporta les fotografies" -#: ../src/CollectionPage.vala:458 ../src/Dialogs.vala:88 +#: ../src/CollectionPage.vala:458 ../src/Dialogs.vala:84 msgid "Export Photos" msgstr "Exporta les fotografies" @@ -1305,8 +1389,8 @@ msgstr "Crea una etiqueta" #: ../src/Commands.vala:1695 #, c-format -msgid "Move Tag \"%s\"" -msgstr "Mou l'etiqueta «%s»" +msgid "Move Tag “%s”" +msgstr "Mou l'etiqueta «%s» " #: ../src/Commands.vala:2347 msgid "Move Photos to Trash" @@ -1366,7 +1450,7 @@ msgstr "Base de dades %s" #: ../src/data_imports/DataImportsPluginHost.vala:148 #: ../src/data_imports/DataImportsPluginHost.vala:294 #, c-format -msgid "Importing from %s can't continue because an error occurred:" +msgid "Importing from %s can’t continue because an error occurred:" msgstr "No pot continuar la importació des de %s perquè s'ha produït un error:" #: ../src/data_imports/DataImportsPluginHost.vala:151 @@ -1472,12 +1556,12 @@ msgstr "" #: ../src/Dialogs.vala:16 #, c-format -msgid "This will remove the tag \"%s\" from one photo. Continue?" -msgid_plural "This will remove the tag \"%s\" from %d photos. Continue?" +msgid "This will remove the tag “%s” from one photo. Continue?" +msgid_plural "This will remove the tag “%s” from %d photos. Continue?" msgstr[0] "Això suprimirà l'etiqueta «%s» d'una fotografia. Voleu continuar?" msgstr[1] "Això suprimirà l'etiqueta «%s» de %d fotografies. Voleu continuar?" -#: ../src/Dialogs.vala:20 ../src/Dialogs.vala:28 ../src/Dialogs.vala:1393 +#: ../src/Dialogs.vala:20 ../src/Dialogs.vala:28 ../src/Dialogs.vala:1409 #: ../src/Resources.vala:158 ../src/Resources.vala:361 #: ../src/Resources.vala:409 ../src/Resources.vala:674 msgid "_Delete" @@ -1485,7 +1569,7 @@ msgstr "_Suprimeix" #: ../src/Dialogs.vala:25 #, c-format -msgid "This will remove the saved search \"%s\". Continue?" +msgid "This will remove the saved search “%s”. Continue?" msgstr "Això suprimirà la cerca desada «%s». Voleu continuar?" #: ../src/Dialogs.vala:36 @@ -1515,16 +1599,16 @@ msgstr "Exporta vídeos" #. if we can't copy an image over for editing in an external tool. #. Did we fail because we can't write to this directory? #. Yes - display an alternate error message here. -#: ../src/Dialogs.vala:116 +#: ../src/Dialogs.vala:112 #, c-format msgid "" -"Shotwell couldn't create a file for editing this photo because you do not " +"Shotwell couldn’t create a file for editing this photo because you do not " "have permission to write to %s." msgstr "" "El Shotwell no ha pogut crear un fitxer per editar aquesta fotografia perquè " "no teniu permís per escriure a %s." -#: ../src/Dialogs.vala:125 +#: ../src/Dialogs.vala:121 msgid "" "Unable to export the following photo due to a file error.\n" "\n" @@ -1533,7 +1617,7 @@ msgstr "" "fitxer.\n" "\n" -#: ../src/Dialogs.vala:131 +#: ../src/Dialogs.vala:127 msgid "" "\n" "\n" @@ -1543,67 +1627,68 @@ msgstr "" "\n" "Voleu continuar exportant?" -#: ../src/Dialogs.vala:132 +#: ../src/Dialogs.vala:128 msgid "Con_tinue" msgstr "Con_tinua" #. "Unmodified" and "Current," though they appear in the "Format:" popup menu, really #. aren't formats so much as they are operating modes that determine specific formats. #. Hereafter we'll refer to these as "special formats." -#: ../src/Dialogs.vala:148 +#: ../src/Dialogs.vala:144 msgid "Unmodified" msgstr "Sense modificar" -#: ../src/Dialogs.vala:149 +#: ../src/Dialogs.vala:145 msgid "Current" msgstr "Actual" #. layout controls -#: ../src/Dialogs.vala:216 +#: ../src/Dialogs.vala:221 msgid "_Format:" msgstr "_Format:" -#: ../src/Dialogs.vala:219 +#: ../src/Dialogs.vala:224 msgid "_Quality:" msgstr "_Qualitat:" -#: ../src/Dialogs.vala:222 +#: ../src/Dialogs.vala:227 msgid "_Scaling constraint:" -msgstr "Constant d'e_scala:" +msgstr "Restricció d'e_scala:" -#: ../src/Dialogs.vala:225 +#: ../src/Dialogs.vala:230 msgid "_Pixels:" msgstr " _Píxels:" -#: ../src/Dialogs.vala:228 -msgid "Export metadata" +#: ../src/Dialogs.vala:234 +#, fuzzy +msgid "Export _metadata:" msgstr "Exporta les metadades" -#: ../src/Dialogs.vala:462 -msgid "Save Details..." -msgstr "Desa els detalls..." +#: ../src/Dialogs.vala:478 +msgid "Save Details…" +msgstr "Desa els detalls…" -#: ../src/Dialogs.vala:463 +#: ../src/Dialogs.vala:479 msgid "Save Details" msgstr "Desa els detalls" -#: ../src/Dialogs.vala:478 +#: ../src/Dialogs.vala:494 #, c-format msgid "(and %d more)\n" msgstr "(i %d més)\n" -#: ../src/Dialogs.vala:531 +#: ../src/Dialogs.vala:547 msgid "Import Results Report" msgstr "Importa l'informe de resultats" -#: ../src/Dialogs.vala:535 +#: ../src/Dialogs.vala:551 #, c-format msgid "Attempted to import %d file." msgid_plural "Attempted to import %d files." msgstr[0] "S'ha intentat importar %d fitxer." msgstr[1] "S'han intentat importar %d fitxers." -#: ../src/Dialogs.vala:538 +#: ../src/Dialogs.vala:554 #, c-format msgid "Of these, %d file was successfully imported." msgid_plural "Of these, %d files were successfully imported." @@ -1613,60 +1698,60 @@ msgstr[1] "D'aquests, s'han importat correctament %d fitxers." #. #. Duplicates #. -#: ../src/Dialogs.vala:550 +#: ../src/Dialogs.vala:566 msgid "Duplicate Photos/Videos Not Imported:" msgstr "Fotos/Vídeos duplicats que no s'han importat:" -#: ../src/Dialogs.vala:554 +#: ../src/Dialogs.vala:570 msgid "duplicates existing media item" msgstr "duplica un element multimèdia existent" #. #. Files Not Imported Due to Camera Errors #. -#: ../src/Dialogs.vala:565 +#: ../src/Dialogs.vala:581 msgid "Photos/Videos Not Imported Due to Camera Errors:" msgstr "Fotos/Vídeos que no s'han importat a causa d'errors de la càmera:" -#: ../src/Dialogs.vala:568 ../src/Dialogs.vala:583 ../src/Dialogs.vala:598 -#: ../src/Dialogs.vala:614 ../src/Dialogs.vala:629 ../src/Dialogs.vala:643 +#: ../src/Dialogs.vala:584 ../src/Dialogs.vala:599 ../src/Dialogs.vala:614 +#: ../src/Dialogs.vala:630 ../src/Dialogs.vala:645 ../src/Dialogs.vala:659 msgid "error message:" msgstr "missatge d'error:" #. #. Files Not Imported Because They Weren't Recognized as Photos or Videos #. -#: ../src/Dialogs.vala:579 -msgid "Files Not Imported Because They Weren't Recognized as Photos or Videos:" +#: ../src/Dialogs.vala:595 +msgid "Files Not Imported Because They Weren’t Recognized as Photos or Videos:" msgstr "" "Fitxers que no s'han importat perquè no s'han reconegut com a fotos o vídeos:" #. #. Photos/Videos Not Imported Because They Weren't in a Format Shotwell Understands #. -#: ../src/Dialogs.vala:594 +#: ../src/Dialogs.vala:610 msgid "" -"Photos/Videos Not Imported Because They Weren't in a Format Shotwell " +"Photos/Videos Not Imported Because They Weren’t in a Format Shotwell " "Understands:" msgstr "" -"Fitxers que no s'han importat perquè no estaven en un format que el Shotwell " -"pugui comprendre:" +"Fotos i vídeos que no s'han importat perquè no estaven en un format que el " +"Shotwell pugui comprendre:" #. #. Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its Library #. -#: ../src/Dialogs.vala:609 +#: ../src/Dialogs.vala:625 msgid "" -"Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its " +"Photos/Videos Not Imported Because Shotwell Couldn’t Copy Them into its " "Library:" msgstr "" -"Fotos/Vídeos que no s'han importat perquè el Shotwell no ha pogut copiar-los " -"en aquesta biblioteca:" +"Fotos i vídeos que no s'han importat perquè el Shotwell no ha pogut copiar-" +"los a la biblioteca:" -#: ../src/Dialogs.vala:613 +#: ../src/Dialogs.vala:629 #, c-format msgid "" -"couldn't copy %s\n" +"couldn’t copy %s\n" "\tto %s" msgstr "" "no s'ha pogut copiar %s\n" @@ -1675,7 +1760,7 @@ msgstr "" #. #. Photos/Videos Not Imported Because GDK Pixbuf Library Identified them as Corrupt #. -#: ../src/Dialogs.vala:625 +#: ../src/Dialogs.vala:641 msgid "Photos/Videos Not Imported Because Files Are Corrupt:" msgstr "" "Fotos/Vídeos que no s'han importat perquè els fitxers estan corromputs:" @@ -1683,32 +1768,32 @@ msgstr "" #. #. Photos/Videos Not Imported for Other Reasons #. -#: ../src/Dialogs.vala:640 +#: ../src/Dialogs.vala:656 msgid "Photos/Videos Not Imported for Other Reasons:" msgstr "Fotos/Vídeos que no s'han importat per altres raons:" -#: ../src/Dialogs.vala:660 +#: ../src/Dialogs.vala:676 #, c-format msgid "1 duplicate photo was not imported:\n" msgid_plural "%d duplicate photos were not imported:\n" msgstr[0] "No s'ha importat una fotografia duplicada:\n" msgstr[1] "No s'han importat %d fotografies duplicades:\n" -#: ../src/Dialogs.vala:663 +#: ../src/Dialogs.vala:679 #, c-format msgid "1 duplicate video was not imported:\n" msgid_plural "%d duplicate videos were not imported:\n" msgstr[0] "No s'ha importat un vídeo duplicat:\n" msgstr[1] "No s'han importat %d vídeos duplicats:\n" -#: ../src/Dialogs.vala:666 +#: ../src/Dialogs.vala:682 #, c-format msgid "1 duplicate photo/video was not imported:\n" msgid_plural "%d duplicate photos/videos were not imported:\n" msgstr[0] "No s'ha importat una fotografia/vídeo duplicat:\n" msgstr[1] "No s'han importat %d fotografies/vídeos duplicats:\n" -#: ../src/Dialogs.vala:680 +#: ../src/Dialogs.vala:696 #, c-format msgid "1 photo failed to import due to a file or hardware error:\n" msgid_plural "%d photos failed to import due to a file or hardware error:\n" @@ -1719,7 +1804,7 @@ msgstr[1] "" "Ha fallat la importació de %d fotografies a causa d'un error de fitxer o de " "maquinari:\n" -#: ../src/Dialogs.vala:683 +#: ../src/Dialogs.vala:699 #, c-format msgid "1 video failed to import due to a file or hardware error:\n" msgid_plural "%d videos failed to import due to a file or hardware error:\n" @@ -1730,7 +1815,7 @@ msgstr[1] "" "Ha fallat la importació de %d vídeos a causa d'un error de fitxer o de " "maquinari:\n" -#: ../src/Dialogs.vala:686 +#: ../src/Dialogs.vala:702 #, c-format msgid "1 photo/video failed to import due to a file or hardware error:\n" msgid_plural "" @@ -1742,7 +1827,7 @@ msgstr[1] "" "Ha fallat la importació de %d fotografies/vídeos a causa d'un error de " "fitxer o de maquinari:\n" -#: ../src/Dialogs.vala:689 +#: ../src/Dialogs.vala:705 #, c-format msgid "1 file failed to import due to a file or hardware error:\n" msgid_plural "%d files failed to import due to a file or hardware error:\n" @@ -1753,7 +1838,7 @@ msgstr[1] "" "Ha fallat la importació de %d fitxers a causa d'un error de fitxer o de " "maquinari:\n" -#: ../src/Dialogs.vala:703 +#: ../src/Dialogs.vala:719 #, c-format msgid "" "1 photo failed to import because the photo library folder was not writable:\n" @@ -1767,7 +1852,7 @@ msgstr[1] "" "Ha fallat la importació de %d fotografies perquè no es pot escriure a la " "carpeta de la biblioteca de fotografies:\n" -#: ../src/Dialogs.vala:706 +#: ../src/Dialogs.vala:722 #, c-format msgid "" "1 video failed to import because the photo library folder was not writable:\n" @@ -1781,7 +1866,7 @@ msgstr[1] "" "Ha fallat la importació de %d vídeos perquè no es pot escriure a la carpeta " "de la biblioteca de fotografies:\n" -#: ../src/Dialogs.vala:709 +#: ../src/Dialogs.vala:725 #, c-format msgid "" "1 photo/video failed to import because the photo library folder was not " @@ -1796,7 +1881,7 @@ msgstr[1] "" "Ha fallat la importació de %d fotografies/vídeos perquè no es pot escriure a " "la carpeta de la biblioteca de fotografies:\n" -#: ../src/Dialogs.vala:712 +#: ../src/Dialogs.vala:728 #, c-format msgid "" "1 file failed to import because the photo library folder was not writable:\n" @@ -1810,7 +1895,7 @@ msgstr[1] "" "Ha fallat la importació de %d fitxers perquè no es pot escriure a la carpeta " "de la biblioteca de fotografies:\n" -#: ../src/Dialogs.vala:726 +#: ../src/Dialogs.vala:742 #, c-format msgid "1 photo failed to import due to a camera error:\n" msgid_plural "%d photos failed to import due to a camera error:\n" @@ -1819,7 +1904,7 @@ msgstr[0] "" msgstr[1] "" "Ha fallat la importació de %d fotografies a causa d'un error de la càmera:\n" -#: ../src/Dialogs.vala:729 +#: ../src/Dialogs.vala:745 #, c-format msgid "1 video failed to import due to a camera error:\n" msgid_plural "%d videos failed to import due to a camera error:\n" @@ -1828,7 +1913,7 @@ msgstr[0] "" msgstr[1] "" "Ha fallat la importació de %d vídeos a causa d'un error de la càmera:\n" -#: ../src/Dialogs.vala:732 +#: ../src/Dialogs.vala:748 #, c-format msgid "1 photo/video failed to import due to a camera error:\n" msgid_plural "%d photos/videos failed to import due to a camera error:\n" @@ -1839,7 +1924,7 @@ msgstr[1] "" "Ha fallat la importació de %d fotografies/vídeos a causa d'un error de la " "càmera:\n" -#: ../src/Dialogs.vala:735 +#: ../src/Dialogs.vala:751 #, c-format msgid "1 file failed to import due to a camera error:\n" msgid_plural "%d files failed to import due to a camera error:\n" @@ -1848,7 +1933,7 @@ msgstr[0] "" msgstr[1] "" "Ha fallat la importació de %d fitxers a causa d'un error de la càmera:\n" -#: ../src/Dialogs.vala:749 +#: ../src/Dialogs.vala:765 #, c-format msgid "1 photo failed to import because it was corrupt:\n" msgid_plural "%d photos failed to import because they were corrupt:\n" @@ -1856,7 +1941,7 @@ msgstr[0] "No s'ha pogut importar 1 foto perquè el fitxer està corromput:\n" msgstr[1] "" "No s'han pogut importar %d fotos perquè els fitxers estan corromputs:\n" -#: ../src/Dialogs.vala:752 +#: ../src/Dialogs.vala:768 #, c-format msgid "1 video failed to import because it was corrupt:\n" msgid_plural "%d videos failed to import because they were corrupt:\n" @@ -1864,7 +1949,7 @@ msgstr[0] "No s'ha pogut importar 1 vídeo perquè el fitxer està corromput:\n" msgstr[1] "" "No s'han pogut importar %d vídeos perquè els fitxers estan corromputs:\n" -#: ../src/Dialogs.vala:755 +#: ../src/Dialogs.vala:771 #, c-format msgid "1 photo/video failed to import because it was corrupt:\n" msgid_plural "%d photos/videos failed to import because they were corrupt:\n" @@ -1874,7 +1959,7 @@ msgstr[1] "" "No s'han pogut importar %d fotos/vídeos perquè els fitxers estan " "corromputs:\n" -#: ../src/Dialogs.vala:758 +#: ../src/Dialogs.vala:774 #, c-format msgid "1 file failed to import because it was corrupt:\n" msgid_plural "%d files failed to import because it was corrupt:\n" @@ -1885,7 +1970,7 @@ msgstr[1] "No s'han pogut importar %d fitxers perquè estan corromputs:\n" #. standard container formats are supported, it's just that the streams in them #. might or might not be interpretable), so this message does not need to be #. media specific -#: ../src/Dialogs.vala:775 +#: ../src/Dialogs.vala:791 #, c-format msgid "1 unsupported photo skipped:\n" msgid_plural "%d unsupported photos skipped:\n" @@ -1894,28 +1979,28 @@ msgstr[1] "S'han omès %d fotografies no compatibles:\n" #. we have no notion of "non-video" video files right now in Shotwell, so this #. message doesn't need to be media specific -#: ../src/Dialogs.vala:790 +#: ../src/Dialogs.vala:806 #, c-format msgid "1 non-image file skipped.\n" msgid_plural "%d non-image files skipped.\n" msgstr[0] "S'ha omès un fitxer que no era d'imatge.\n" msgstr[1] "S'han omès %d fitxers que no eren d'imatge.\n" -#: ../src/Dialogs.vala:801 +#: ../src/Dialogs.vala:817 #, c-format msgid "1 photo skipped due to user cancel:\n" msgid_plural "%d photos skipped due to user cancel:\n" msgstr[0] "S'ha omès una fotografia a causa de la cancel·lació de l'usuari:\n" msgstr[1] "S'han omès %d fotografies a causa de la cancel·lació de l'usuari:\n" -#: ../src/Dialogs.vala:804 +#: ../src/Dialogs.vala:820 #, c-format msgid "1 video skipped due to user cancel:\n" msgid_plural "%d videos skipped due to user cancel:\n" msgstr[0] "S'ha omès un vídeo a causa de la cancel·lació de l'usuari:\n" msgstr[1] "S'han omès %d vídeos a causa de la cancel·lació de l'usuari:\n" -#: ../src/Dialogs.vala:807 +#: ../src/Dialogs.vala:823 #, c-format msgid "1 photo/video skipped due to user cancel:\n" msgid_plural "%d photos/videos skipped due to user cancel:\n" @@ -1924,28 +2009,28 @@ msgstr[0] "" msgstr[1] "" "S'han omès %d fotografies/vídeos a causa de la cancel·lació de l'usuari:\n" -#: ../src/Dialogs.vala:810 +#: ../src/Dialogs.vala:826 #, c-format msgid "1 file skipped due to user cancel:\n" msgid_plural "%d file skipped due to user cancel:\n" msgstr[0] "S'ha omès un fitxer a causa de la cancel·lació de l'usuari:\n" msgstr[1] "S'han omès %d fitxers a causa de la cancel·lació de l'usuari:\n" -#: ../src/Dialogs.vala:824 +#: ../src/Dialogs.vala:840 #, c-format msgid "1 photo successfully imported.\n" msgid_plural "%d photos successfully imported.\n" msgstr[0] "S'ha importat una fotografia correctament.\n" msgstr[1] "S'han importat %d fotografies correctament.\n" -#: ../src/Dialogs.vala:827 +#: ../src/Dialogs.vala:843 #, c-format msgid "1 video successfully imported.\n" msgid_plural "%d videos successfully imported.\n" msgstr[0] "S'ha importat un vídeo correctament.\n" msgstr[1] "S'han importat %d vídeos correctament.\n" -#: ../src/Dialogs.vala:830 +#: ../src/Dialogs.vala:846 #, c-format msgid "1 photo/video successfully imported.\n" msgid_plural "%d photos/videos successfully imported.\n" @@ -1954,179 +2039,179 @@ msgstr[1] "S'han importat %d fotografies/vídeos correctament.\n" #. if no media items were imported at all (i.e. an empty directory attempted), need to at least #. report that nothing was imported -#: ../src/Dialogs.vala:846 +#: ../src/Dialogs.vala:862 msgid "No photos or videos imported.\n" msgstr "No s'ha importat cap vídeo o fotografia.\n" -#: ../src/Dialogs.vala:853 ../src/Dialogs.vala:872 +#: ../src/Dialogs.vala:869 ../src/Dialogs.vala:888 msgid "Import Complete" msgstr "S'ha completat la importació" -#: ../src/Dialogs.vala:1158 +#: ../src/Dialogs.vala:1174 #, c-format msgid "%d second" msgid_plural "%d seconds" msgstr[0] "%d segon" msgstr[1] "%d segons" -#: ../src/Dialogs.vala:1161 +#: ../src/Dialogs.vala:1177 #, c-format msgid "%d minute" msgid_plural "%d minutes" msgstr[0] "%d minut" msgstr[1] "%d minuts" -#: ../src/Dialogs.vala:1165 +#: ../src/Dialogs.vala:1181 #, c-format msgid "%d hour" msgid_plural "%d hours" msgstr[0] "%d hora" msgstr[1] "%d hores" -#: ../src/Dialogs.vala:1168 +#: ../src/Dialogs.vala:1184 msgid "1 day" msgstr "1 dia" -#: ../src/Dialogs.vala:1322 ../src/Resources.vala:231 +#: ../src/Dialogs.vala:1338 ../src/Resources.vala:231 msgid "Rename Event" msgstr "Canvia el nom de l'esdeveniment" -#: ../src/Dialogs.vala:1322 +#: ../src/Dialogs.vala:1338 msgid "Name:" msgstr "Nom:" #. Dialog title -#: ../src/Dialogs.vala:1333 +#: ../src/Dialogs.vala:1349 msgctxt "Dialog Title" msgid "Edit Title" msgstr "Edita el títol" -#: ../src/Dialogs.vala:1334 ../src/Properties.vala:340 +#: ../src/Dialogs.vala:1350 ../src/Properties.vala:340 msgid "Title:" msgstr "Títol:" #. Dialog title -#: ../src/Dialogs.vala:1350 ../src/Resources.vala:307 +#: ../src/Dialogs.vala:1366 ../src/Resources.vala:307 msgid "Edit Event Comment" msgstr "Edita el comentari de l'esdeveniment" -#: ../src/Dialogs.vala:1351 +#: ../src/Dialogs.vala:1367 msgid "Edit Photo/Video Comment" msgstr "Edita el comentari de la foto/vídeo" -#: ../src/Dialogs.vala:1352 ../src/Properties.vala:628 +#: ../src/Dialogs.vala:1368 ../src/Properties.vala:628 msgid "Comment:" msgstr "Comentari:" -#: ../src/Dialogs.vala:1368 +#: ../src/Dialogs.vala:1384 msgid "Remove and _Trash File" msgid_plural "Remove and _Trash Files" msgstr[0] "Suprimeix i _envia el fitxer a la paperera" msgstr[1] "Suprimeix i _envia els fitxers a la paperera" -#: ../src/Dialogs.vala:1372 +#: ../src/Dialogs.vala:1388 msgid "_Remove From Library" msgstr "_Suprimeix de la biblioteca" -#: ../src/Dialogs.vala:1415 +#: ../src/Dialogs.vala:1431 msgid "Revert External Edit?" msgstr "Voleu revertir l'edició externa?" -#: ../src/Dialogs.vala:1415 +#: ../src/Dialogs.vala:1431 msgid "Revert External Edits?" msgstr "Voleu revertir les edicions externes?" -#: ../src/Dialogs.vala:1417 +#: ../src/Dialogs.vala:1433 #, c-format -msgid "This will destroy all changes made to the external file. Continue?" +msgid "This will destroy all changes made to the external file. Continue?" msgid_plural "" -"This will destroy all changes made to %d external files. Continue?" +"This will destroy all changes made to %d external files. Continue?" msgstr[0] "" "Això suprimirà tots els canvis fets al fitxer extern. Voleu continuar?" msgstr[1] "" "Això suprimirà tots els canvis fets als %d fitxers externs. Voleu continuar?" -#: ../src/Dialogs.vala:1421 +#: ../src/Dialogs.vala:1437 msgid "Re_vert External Edit" msgstr "_Reverteix l'edició externa" -#: ../src/Dialogs.vala:1421 +#: ../src/Dialogs.vala:1437 msgid "Re_vert External Edits" msgstr "_Reverteix les edicions externes" -#: ../src/Dialogs.vala:1442 +#: ../src/Dialogs.vala:1458 #, c-format -msgid "This will remove the photo from the library. Continue?" -msgid_plural "This will remove %d photos from the library. Continue?" +msgid "This will remove the photo from the library. Continue?" +msgid_plural "This will remove %d photos from the library. Continue?" msgstr[0] "Això suprimirà la fotografia de la biblioteca. Voleu continuar?" msgstr[1] "Això suprimirà %d fotografies de la biblioteca. Voleu continuar?" -#: ../src/Dialogs.vala:1449 ../src/Resources.vala:173 +#: ../src/Dialogs.vala:1465 ../src/Resources.vala:173 msgid "_Remove" msgstr "_Suprimeix" -#: ../src/Dialogs.vala:1450 +#: ../src/Dialogs.vala:1466 msgid "Remove Photo From Library" msgstr "Suprimeix la fotografia de la biblioteca" -#: ../src/Dialogs.vala:1450 +#: ../src/Dialogs.vala:1466 msgid "Remove Photos From Library" msgstr "Suprimeix les fotografies de la biblioteca" -#: ../src/Dialogs.vala:1543 +#: ../src/Dialogs.vala:1559 #, c-format msgid "%d%%" msgstr "%d%%" -#: ../src/Dialogs.vala:1697 +#: ../src/Dialogs.vala:1713 msgid "AM" msgstr "AM" -#: ../src/Dialogs.vala:1698 +#: ../src/Dialogs.vala:1714 msgid "PM" msgstr "PM" -#: ../src/Dialogs.vala:1699 +#: ../src/Dialogs.vala:1715 msgid "24 Hr" msgstr "24 h" -#: ../src/Dialogs.vala:1714 +#: ../src/Dialogs.vala:1730 msgid "_Shift photos/videos by the same amount" msgstr "_Desplaça les fotografies/vídeos amb la mateixa quantitat" -#: ../src/Dialogs.vala:1719 +#: ../src/Dialogs.vala:1735 msgid "Set _all photos/videos to this time" msgstr "Estableix _totes les fotografies/vídeos a aquesta hora" -#: ../src/Dialogs.vala:1726 +#: ../src/Dialogs.vala:1742 msgid "_Modify original photo file" msgstr "_Modifica el fitxer d'imatge original" -#: ../src/Dialogs.vala:1726 +#: ../src/Dialogs.vala:1742 msgid "_Modify original photo files" msgstr "_Modifica els fitxers d'imatges originals" -#: ../src/Dialogs.vala:1729 +#: ../src/Dialogs.vala:1745 msgid "_Modify original file" msgstr "_Modifica el fitxer original" -#: ../src/Dialogs.vala:1729 +#: ../src/Dialogs.vala:1745 msgid "_Modify original files" msgstr "_Modifica els fitxers originals" -#: ../src/Dialogs.vala:1815 +#: ../src/Dialogs.vala:1831 msgid "Original: " msgstr "Original: " -#: ../src/Dialogs.vala:1816 +#: ../src/Dialogs.vala:1832 msgid "%m/%d/%Y, %H:%M:%S" msgstr "%d/%m/%Y, %H:%M:%S" -#: ../src/Dialogs.vala:1817 +#: ../src/Dialogs.vala:1833 msgid "%m/%d/%Y, %I:%M:%S %p" msgstr "%d/%m/%Y, %I:%M:%S %p" -#: ../src/Dialogs.vala:1906 +#: ../src/Dialogs.vala:1922 #, c-format msgid "" "Exposure time will be shifted forward by\n" @@ -2135,7 +2220,7 @@ msgstr "" "El temps d'exposició es desplaçarà cap endavant per\n" "%d %s, %d %s, %d %s i %d %s." -#: ../src/Dialogs.vala:1907 +#: ../src/Dialogs.vala:1923 #, c-format msgid "" "Exposure time will be shifted backward by\n" @@ -2144,31 +2229,31 @@ msgstr "" "El temps d'exposició es desplaçarà cap enrere per\n" "%d %s, %d %s, %d %s i %d %s." -#: ../src/Dialogs.vala:1909 +#: ../src/Dialogs.vala:1925 msgid "day" msgid_plural "days" msgstr[0] "dia" msgstr[1] "dies" -#: ../src/Dialogs.vala:1910 +#: ../src/Dialogs.vala:1926 msgid "hour" msgid_plural "hours" msgstr[0] "hora" msgstr[1] "hores" -#: ../src/Dialogs.vala:1911 +#: ../src/Dialogs.vala:1927 msgid "minute" msgid_plural "minutes" msgstr[0] "minut" msgstr[1] "minuts" -#: ../src/Dialogs.vala:1912 +#: ../src/Dialogs.vala:1928 msgid "second" msgid_plural "seconds" msgstr[0] "segon" msgstr[1] "segons" -#: ../src/Dialogs.vala:1956 +#: ../src/Dialogs.vala:1972 #, c-format msgid "" "\n" @@ -2187,50 +2272,50 @@ msgstr[1] "" "\n" "I %d altres." -#: ../src/Dialogs.vala:1980 ../src/Dialogs.vala:2007 +#: ../src/Dialogs.vala:1996 ../src/Dialogs.vala:2023 msgid "Tags (separated by commas):" msgstr "Etiquetes (separades per comes):" -#: ../src/Dialogs.vala:2087 +#: ../src/Dialogs.vala:2103 msgid "Welcome!" msgstr "Us donem la benvinguda" -#: ../src/Dialogs.vala:2094 +#: ../src/Dialogs.vala:2110 msgid "Welcome to Shotwell!" msgstr "Us donem la benvinguda al Shotwell" -#: ../src/Dialogs.vala:2098 +#: ../src/Dialogs.vala:2114 msgid "To get started, import photos in any of these ways:" msgstr "" "Per començar, importeu fotografies de qualsevol de les següents formes:" -#: ../src/Dialogs.vala:2117 +#: ../src/Dialogs.vala:2133 #, c-format msgid "Choose <span weight=\"bold\">File %s Import From Folder</span>" msgstr "Trieu <span weight=\"bold\">Fitxer %s Importa des d'una carpeta</span>" -#: ../src/Dialogs.vala:2118 +#: ../src/Dialogs.vala:2134 msgid "Drag and drop photos onto the Shotwell window" msgstr "Arrossegueu i deixeu anar fotografies a la finestra del Shotwell" -#: ../src/Dialogs.vala:2119 +#: ../src/Dialogs.vala:2135 msgid "Connect a camera to your computer and import" msgstr "Connecteu una càmera al vostre ordinador i importeu-ne les fotografies" -#: ../src/Dialogs.vala:2129 +#: ../src/Dialogs.vala:2145 #, c-format msgid "_Import photos from your %s folder" msgstr "_Importa les fotografies de la carpeta %s" -#: ../src/Dialogs.vala:2136 +#: ../src/Dialogs.vala:2152 msgid "You can also import photos in any of these ways:" msgstr "També podeu importar fotografies de qualsevol d'aquestes maneres:" -#: ../src/Dialogs.vala:2146 -msgid "_Don't show this message again" +#: ../src/Dialogs.vala:2162 +msgid "_Don’t show this message again" msgstr "_No tornis a mostrar aquest missatge" -#: ../src/Dialogs.vala:2181 +#: ../src/Dialogs.vala:2197 #, c-format msgid "Import photos from your %s library" msgstr "Importa fotografies de la biblioteca %s" @@ -2238,42 +2323,42 @@ msgstr "Importa fotografies de la biblioteca %s" #. We're installed system-wide, so use the system help. #. We're being run from the build directory; we'll have to handle clicks to this #. link manually ourselves, due to a limitation of help: URIs. -#: ../src/Dialogs.vala:2328 ../src/Dialogs.vala:2332 +#: ../src/Dialogs.vala:2344 ../src/Dialogs.vala:2348 msgid "(Help)" msgstr "(ajuda)" -#: ../src/Dialogs.vala:2341 +#: ../src/Dialogs.vala:2357 #, c-format msgid "Year%sMonth%sDay" msgstr "Any%sMes%sDia" -#: ../src/Dialogs.vala:2343 +#: ../src/Dialogs.vala:2359 #, c-format msgid "Year%sMonth" msgstr "Any%sMes" -#: ../src/Dialogs.vala:2345 +#: ../src/Dialogs.vala:2361 #, c-format msgid "Year%sMonth-Day" msgstr "Any%sMes-Dia" -#: ../src/Dialogs.vala:2347 +#: ../src/Dialogs.vala:2363 msgid "Year-Month-Day" msgstr "Any-Mes-Dia" # N.T.: femení -#: ../src/Dialogs.vala:2348 ../src/editing_tools/EditingTools.vala:781 +#: ../src/Dialogs.vala:2364 ../src/editing_tools/EditingTools.vala:781 msgid "Custom" msgstr "Personalitzada" #. Invalid pattern. -#: ../src/Dialogs.vala:2585 +#: ../src/Dialogs.vala:2601 msgid "Invalid pattern" msgstr "Patró no vàlid" #. This function is used to determine whether or not files should be copied or linked when imported. #. Returns ACCEPT for copy, REJECT for link, and CANCEL for (drum-roll) cancel. -#: ../src/Dialogs.vala:2687 +#: ../src/Dialogs.vala:2703 msgid "" "Shotwell can copy the photos into your library folder or it can import them " "without copying." @@ -2281,40 +2366,40 @@ msgstr "" "El Shotwell pot copiar les fotografies a la carpeta de la biblioteca o les " "pot importar sense copiar-les." -#: ../src/Dialogs.vala:2692 +#: ../src/Dialogs.vala:2708 msgid "Co_py Photos" msgstr "Co_pia les fotografies" -#: ../src/Dialogs.vala:2693 +#: ../src/Dialogs.vala:2709 msgid "_Import in Place" msgstr "_Importa-les a la ubicació" -#: ../src/Dialogs.vala:2694 +#: ../src/Dialogs.vala:2710 msgid "Import to Library" msgstr "Importa a la biblioteca" -#: ../src/Dialogs.vala:2704 ../src/PhotoPage.vala:3085 +#: ../src/Dialogs.vala:2720 ../src/PhotoPage.vala:3085 msgid "Remove From Library" msgstr "Suprimeix de la biblioteca" -#: ../src/Dialogs.vala:2705 ../src/PhotoPage.vala:3085 +#: ../src/Dialogs.vala:2721 ../src/PhotoPage.vala:3085 msgid "Removing Photo From Library" msgstr "S'està suprimint la fotografia de la biblioteca" -#: ../src/Dialogs.vala:2705 +#: ../src/Dialogs.vala:2721 msgid "Removing Photos From Library" msgstr "S'estan suprimint les fotografies de la biblioteca" -#: ../src/Dialogs.vala:2719 +#: ../src/Dialogs.vala:2735 #, c-format msgid "" -"This will remove the photo/video from your Shotwell library. Would you also " +"This will remove the photo/video from your Shotwell library. Would you also " "like to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d photos/videos from your Shotwell library. Would you " -"also like to move the files to your desktop trash?\n" +"This will remove %d photos/videos from your Shotwell library. Would you also " +"like to move the files to your desktop trash?\n" "\n" "This action cannot be undone." msgstr[0] "" @@ -2328,15 +2413,15 @@ msgstr[1] "" "\n" "Aquesta acció no es pot desfer." -#: ../src/Dialogs.vala:2723 +#: ../src/Dialogs.vala:2739 #, c-format msgid "" -"This will remove the video from your Shotwell library. Would you also like " +"This will remove the video from your Shotwell library. Would you also like " "to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d videos from your Shotwell library. Would you also like " +"This will remove %d videos from your Shotwell library. Would you also like " "to move the files to your desktop trash?\n" "\n" "This action cannot be undone." @@ -2351,15 +2436,15 @@ msgstr[1] "" "\n" "Aquesta acció no es pot desfer." -#: ../src/Dialogs.vala:2727 +#: ../src/Dialogs.vala:2743 #, c-format msgid "" -"This will remove the photo from your Shotwell library. Would you also like " +"This will remove the photo from your Shotwell library. Would you also like " "to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d photos from your Shotwell library. Would you also like " +"This will remove %d photos from your Shotwell library. Would you also like " "to move the files to your desktop trash?\n" "\n" "This action cannot be undone." @@ -2374,12 +2459,12 @@ msgstr[1] "" "\n" "Aquesta acció no es pot desfer." -#: ../src/Dialogs.vala:2759 +#: ../src/Dialogs.vala:2775 #, c-format msgid "" -"The photo or video cannot be moved to your desktop trash. Delete this file?" +"The photo or video cannot be moved to your desktop trash. Delete this file?" msgid_plural "" -"%d photos/videos cannot be moved to your desktop trash. Delete these files?" +"%d photos/videos cannot be moved to your desktop trash. Delete these files?" msgstr[0] "" "La fotografia o el vídeo no es pot moure a la paperera de l'escriptori. " "Voleu suprimir aquest fitxer?" @@ -2388,7 +2473,7 @@ msgstr[1] "" "suprimir aquests fitxers?" #. Alert the user that the files were not removed. -#: ../src/Dialogs.vala:2776 +#: ../src/Dialogs.vala:2792 #, c-format msgid "The photo or video cannot be deleted." msgid_plural "%d photos/videos cannot be deleted." @@ -2421,8 +2506,8 @@ msgid "Save photo" msgstr "Desa la fotografia" #: ../src/direct/DirectPhotoPage.vala:57 -msgid "Save _As..." -msgstr "Anomena i _desa..." +msgid "Save _As…" +msgstr "_Anomena i desa" #: ../src/direct/DirectPhotoPage.vala:58 msgid "Save photo with a different name" @@ -2603,84 +2688,84 @@ msgid "-" msgstr "-" #: ../src/editing_tools/EditingTools.vala:758 -msgid "SD Video (4 : 3)" -msgstr "Vídeo SD (4 : 3)" +msgid "SD Video (4 ∶ 3)" +msgstr "Vídeo SD (4 ∶ 3)" #: ../src/editing_tools/EditingTools.vala:759 -msgid "HD Video (16 : 9)" -msgstr "Vídeo HD (16 : 9)" +msgid "HD Video (16 ∶ 9)" +msgstr "Vídeo HD (16 ∶ 9)" -#: ../src/editing_tools/EditingTools.vala:761 ../src/Printing.vala:817 -msgid "Wallet (2 x 3 in.)" -msgstr "Cartera (2 x 3 polzades)" +#: ../src/editing_tools/EditingTools.vala:761 ../src/Printing.vala:818 +msgid "Wallet (2 × 3 in.)" +msgstr "Cartera (2 × 3 polzades)" -#: ../src/editing_tools/EditingTools.vala:762 ../src/Printing.vala:820 -msgid "Notecard (3 x 5 in.)" -msgstr "Targeta (3 x 5 polzades)" +#: ../src/editing_tools/EditingTools.vala:762 ../src/Printing.vala:821 +msgid "Notecard (3 × 5 in.)" +msgstr "Targeta (3 × 5 polzades)" -#: ../src/editing_tools/EditingTools.vala:763 ../src/Printing.vala:823 -msgid "4 x 6 in." -msgstr "4 x 6 polzades" +#: ../src/editing_tools/EditingTools.vala:763 ../src/Printing.vala:824 +msgid "4 × 6 in." +msgstr "4 × 6 polzades" -#: ../src/editing_tools/EditingTools.vala:764 ../src/Printing.vala:826 -msgid "5 x 7 in." -msgstr "5 x 7 polzades" +#: ../src/editing_tools/EditingTools.vala:764 ../src/Printing.vala:827 +msgid "5 × 7 in." +msgstr "5 × 7 polzades" -#: ../src/editing_tools/EditingTools.vala:765 ../src/Printing.vala:829 -msgid "8 x 10 in." -msgstr "8 x 10 polzades" +#: ../src/editing_tools/EditingTools.vala:765 ../src/Printing.vala:830 +msgid "8 × 10 in." +msgstr "8 × 10 polzades" #: ../src/editing_tools/EditingTools.vala:766 -msgid "Letter (8.5 x 11 in.)" -msgstr "Carta (8.5 x 11 in.)" +msgid "Letter (8.5 × 11 in.)" +msgstr "Carta (8.5 × 11 polzades)" -#: ../src/editing_tools/EditingTools.vala:767 ../src/Printing.vala:832 -msgid "11 x 14 in." -msgstr "11 x 14 polzades" +#: ../src/editing_tools/EditingTools.vala:767 ../src/Printing.vala:833 +msgid "11 × 14 in." +msgstr "11 × 14 polzades" #: ../src/editing_tools/EditingTools.vala:768 -msgid "Tabloid (11 x 17 in.)" -msgstr "Tabloide (11 x 17 in.)" +msgid "Tabloid (11 × 17 in.)" +msgstr "Tabloide (11 × 17 polzades)" -#: ../src/editing_tools/EditingTools.vala:769 ../src/Printing.vala:835 -msgid "16 x 20 in." -msgstr "16 x 20 polzades" +#: ../src/editing_tools/EditingTools.vala:769 ../src/Printing.vala:836 +msgid "16 × 20 in." +msgstr "16 × 20 polzades" -#: ../src/editing_tools/EditingTools.vala:771 ../src/Printing.vala:841 -msgid "Metric Wallet (9 x 13 cm)" -msgstr "Cartera en sistema mètric (9 x 13 cm)" +#: ../src/editing_tools/EditingTools.vala:771 ../src/Printing.vala:842 +msgid "Metric Wallet (9 × 13 cm)" +msgstr "Cartera en sistema mètric (9 × 13 cm)" -#: ../src/editing_tools/EditingTools.vala:772 ../src/Printing.vala:844 -msgid "Postcard (10 x 15 cm)" -msgstr "Postal (10 x 15 cm)" +#: ../src/editing_tools/EditingTools.vala:772 ../src/Printing.vala:845 +msgid "Postcard (10 × 15 cm)" +msgstr "Postal (10 × 15 cm)" -#: ../src/editing_tools/EditingTools.vala:773 ../src/Printing.vala:847 -msgid "13 x 18 cm" -msgstr "13 x 18 cm" +#: ../src/editing_tools/EditingTools.vala:773 ../src/Printing.vala:848 +msgid "13 × 18 cm" +msgstr "13 × 18 cm" -#: ../src/editing_tools/EditingTools.vala:774 ../src/Printing.vala:850 -msgid "18 x 24 cm" -msgstr "18 x 24 cm" +#: ../src/editing_tools/EditingTools.vala:774 ../src/Printing.vala:851 +msgid "18 × 24 cm" +msgstr "18 × 24 cm" #: ../src/editing_tools/EditingTools.vala:775 -msgid "A4 (210 x 297 mm)" -msgstr "A4 (210 x 297 mm)" +msgid "A4 (210 × 297 mm)" +msgstr "A4 (210 × 297 mm)" -#: ../src/editing_tools/EditingTools.vala:776 ../src/Printing.vala:853 -msgid "20 x 30 cm" -msgstr "20 x 30 cm" +#: ../src/editing_tools/EditingTools.vala:776 ../src/Printing.vala:854 +msgid "20 × 30 cm" +msgstr "20 × 30 cm" -#: ../src/editing_tools/EditingTools.vala:777 ../src/Printing.vala:856 -msgid "24 x 40 cm" -msgstr "24 x 40 cm" +#: ../src/editing_tools/EditingTools.vala:777 ../src/Printing.vala:857 +msgid "24 × 40 cm" +msgstr "24 × 40 cm" -#: ../src/editing_tools/EditingTools.vala:778 ../src/Printing.vala:859 -msgid "30 x 40 cm" -msgstr "30 x 40 cm" +#: ../src/editing_tools/EditingTools.vala:778 ../src/Printing.vala:860 +msgid "30 × 40 cm" +msgstr "30 × 40 cm" #: ../src/editing_tools/EditingTools.vala:779 -msgid "A3 (297 x 420 mm)" -msgstr "A3 (297 x 420 mm)" +msgid "A3 (297 × 420 mm)" +msgstr "A3 (297 × 420 mm)" #: ../src/editing_tools/EditingTools.vala:1872 ../src/Properties.vala:395 msgid "Size:" @@ -2694,70 +2779,78 @@ msgstr "Tanca l'eina d'ulls vermells" msgid "Remove any red-eye effects in the selected region" msgstr "Suprimeix tots els efectes d'ulls vermells de la regió seleccionada" -#: ../src/editing_tools/EditingTools.vala:2226 +#: ../src/editing_tools/EditingTools.vala:2229 #: ../src/editing_tools/StraightenTool.vala:102 msgid "_Reset" msgstr "_Reinicia" #. fit both on the top line, emit and move on -#: ../src/editing_tools/EditingTools.vala:2240 ../src/Properties.vala:436 +#: ../src/editing_tools/EditingTools.vala:2243 ../src/Properties.vala:436 #: ../src/Properties.vala:440 ../src/Properties.vala:447 msgid "Exposure:" msgstr "Exposició:" -#: ../src/editing_tools/EditingTools.vala:2248 +#: ../src/editing_tools/EditingTools.vala:2251 +msgid "Contrast:" +msgstr "Contrast:" + +#: ../src/editing_tools/EditingTools.vala:2259 msgid "Saturation:" msgstr "Saturació:" -#: ../src/editing_tools/EditingTools.vala:2256 +#: ../src/editing_tools/EditingTools.vala:2267 msgid "Tint:" msgstr "Tint:" -#: ../src/editing_tools/EditingTools.vala:2265 +#: ../src/editing_tools/EditingTools.vala:2276 msgid "Temperature:" msgstr "Temperatura:" -#: ../src/editing_tools/EditingTools.vala:2273 +#: ../src/editing_tools/EditingTools.vala:2284 msgid "Shadows:" msgstr "Ombres:" -#: ../src/editing_tools/EditingTools.vala:2281 +#: ../src/editing_tools/EditingTools.vala:2292 msgid "Highlights:" msgstr "Realçats:" -#: ../src/editing_tools/EditingTools.vala:2335 +#: ../src/editing_tools/EditingTools.vala:2346 msgid "Reset Colors" msgstr "Reinicialitza els colors" -#: ../src/editing_tools/EditingTools.vala:2335 +#: ../src/editing_tools/EditingTools.vala:2346 msgid "Reset all color adjustments to original" msgstr "Reinicialitza tots els ajustaments de color a l'original" -#: ../src/editing_tools/EditingTools.vala:2687 +#: ../src/editing_tools/EditingTools.vala:2705 msgid "Temperature" msgstr "Temperatura" -#: ../src/editing_tools/EditingTools.vala:2700 +#: ../src/editing_tools/EditingTools.vala:2717 msgid "Tint" msgstr "Tint" -#: ../src/editing_tools/EditingTools.vala:2713 +#: ../src/editing_tools/EditingTools.vala:2729 +msgid "Contrast" +msgstr "Contrast" + +#: ../src/editing_tools/EditingTools.vala:2743 msgid "Saturation" msgstr "Saturació" -#: ../src/editing_tools/EditingTools.vala:2726 +#: ../src/editing_tools/EditingTools.vala:2756 msgid "Exposure" msgstr "Exposició" -#: ../src/editing_tools/EditingTools.vala:2739 +#: ../src/editing_tools/EditingTools.vala:2769 msgid "Shadows" msgstr "Ombres" -#: ../src/editing_tools/EditingTools.vala:2752 +#: ../src/editing_tools/EditingTools.vala:2782 msgid "Highlights" msgstr "Realçats" -#: ../src/editing_tools/EditingTools.vala:2762 +#: ../src/editing_tools/EditingTools.vala:2792 msgid "Contrast Expansion" msgstr "Expansió del contrast" @@ -2831,7 +2924,7 @@ msgid "%B" msgstr "%B" #. if no name, pretty up the start time -#: ../src/Event.vala:751 +#: ../src/Event.vala:753 #, c-format msgid "Event %s" msgstr "Esdeveniment %s" @@ -2848,7 +2941,7 @@ msgstr "Exportació" #: ../src/Exporter.vala:317 #, c-format -msgid "File %s already exists. Replace?" +msgid "File %s already exists. Replace?" msgstr "Ja existeix el fitxer %s. Voleu reemplaçar-lo?" #: ../src/Exporter.vala:319 @@ -2875,19 +2968,20 @@ msgstr "Carpetes" msgid "Library" msgstr "Biblioteca" -#: ../src/library/Branch.vala:97 ../src/SearchFilter.vala:594 -#: ../src/SearchFilter.vala:595 +#: ../src/library/Branch.vala:97 ../src/SearchFilter.vala:608 +#: ../src/SearchFilter.vala:609 msgid "Photos" msgstr "Fotografies" -#: ../src/library/FlaggedPage.vala:8 ../src/SearchFilter.vala:588 -#: ../src/SearchFilter.vala:589 ../src/SearchFilter.vala:988 +#: ../src/library/FlaggedPage.vala:8 ../src/SearchFilter.vala:602 +#: ../src/SearchFilter.vala:603 ../src/SearchFilter.vala:1188 msgid "Flagged" msgstr "Senyalat" +# N.T.: Títol d'una secció a un quadre de diàleg #: ../src/library/ImportQueuePage.vala:8 -msgid "Importing..." -msgstr "S'està important..." +msgid "Importing…" +msgstr "S'està important…" #: ../src/library/ImportQueuePage.vala:67 msgid "_Stop Import" @@ -2898,8 +2992,8 @@ msgid "Stop importing photos" msgstr "Atura la importació de fotografies" #: ../src/library/ImportQueuePage.vala:124 -msgid "Preparing to import..." -msgstr "S'està preparant per importar..." +msgid "Preparing to import…" +msgstr "S'està preparant per importar…" #: ../src/library/ImportQueuePage.vala:151 #, c-format @@ -2911,16 +3005,16 @@ msgid "Last Import" msgstr "Darrera importació" #: ../src/library/LibraryWindow.vala:285 -msgid "_Import From Folder..." -msgstr "_Importa des d'una carpeta..." +msgid "_Import From Folder…" +msgstr "Importa des d'una carpeta" #: ../src/library/LibraryWindow.vala:286 msgid "Import photos from disk to library" msgstr "Importa fotografies des del disc a la biblioteca" #: ../src/library/LibraryWindow.vala:293 -msgid "Import From _Application..." -msgstr "Importa des de l'_aplicació..." +msgid "Import From _Application…" +msgstr "Importa des de l'aplicació" #: ../src/library/LibraryWindow.vala:297 msgid "Sort _Events" @@ -2948,8 +3042,8 @@ msgstr "Cerca fotografies i vídeos per criteri de cerca" #: ../src/library/LibraryWindow.vala:329 ../src/searches/Branch.vala:77 #: ../src/sidebar/Tree.vala:199 -msgid "Ne_w Saved Search..." -msgstr "Cerca no_va desada..." +msgid "Ne_w Saved Search…" +msgstr "Cerca no_va desada…" #: ../src/library/LibraryWindow.vala:351 msgid "_Photos" @@ -3028,8 +3122,8 @@ msgid "Empty Trash" msgstr "Buida la paperera" #: ../src/library/LibraryWindow.vala:726 -msgid "Emptying Trash..." -msgstr "S'està buidant la paperera..." +msgid "Emptying Trash…" +msgstr "S'està buidant la paperera…" #: ../src/library/LibraryWindow.vala:901 #, c-format @@ -3061,28 +3155,28 @@ msgstr "%s (%d%%)" #: ../src/library/LibraryWindow.vala:1247 #: ../src/library/LibraryWindow.vala:1258 -msgid "Updating library..." -msgstr "S'està actualitzant la biblioteca..." +msgid "Updating library…" +msgstr "S'està actualitzant la biblioteca…" #: ../src/library/LibraryWindow.vala:1264 -msgid "Preparing to auto-import photos..." -msgstr "S'està preparant la importació automàtica de fotografies..." +msgid "Preparing to auto-import photos…" +msgstr "S'està preparant la importació automàtica de fotografies…" #: ../src/library/LibraryWindow.vala:1269 -msgid "Auto-importing photos..." -msgstr "S'estan important automàticament les fotografies..." +msgid "Auto-importing photos…" +msgstr "S'estan important automàticament les fotografies…" #: ../src/library/LibraryWindow.vala:1277 -msgid "Writing metadata to files..." -msgstr "S'estan escrivint les metadades als fitxers..." +msgid "Writing metadata to files…" +msgstr "S'estan escrivint les metadades als fitxers…" #: ../src/library/OfflinePage.vala:8 msgid "Missing Files" msgstr "Manquen fitxers" #: ../src/library/OfflinePage.vala:106 -msgid "Deleting..." -msgstr "S'està suprimint..." +msgid "Deleting…" +msgstr "S'està suprimint…" #: ../src/library/TrashPage.vala:8 msgid "Trash" @@ -3103,9 +3197,9 @@ msgstr "S'estan suprimint les fotografies" #: ../src/main.vala:54 #, c-format msgid "" -"Your photo library is not compatible with this version of Shotwell. It " -"appears it was created by Shotwell %s (schema %d). This version is %s " -"(schema %d). Please use the latest version of Shotwell." +"Your photo library is not compatible with this version of Shotwell. It " +"appears it was created by Shotwell %s (schema %d). This version is %s " +"(schema %d). Please use the latest version of Shotwell." msgstr "" "La biblioteca de fotografies no és compatible amb aquesta versió del " "Shotwell. Sembla que es va crear amb el Shotwell %s (esquema %d). Aquesta " @@ -3115,7 +3209,7 @@ msgstr "" #, c-format msgid "" "Shotwell was unable to upgrade your photo library from version %s (schema " -"%d) to %s (schema %d). For more information please check the Shotwell Wiki " +"%d) to %s (schema %d). For more information please check the Shotwell Wiki " "at %s" msgstr "" "El Shotwell no ha pogut actualitzar la biblioteca de fotografies de la " @@ -3125,9 +3219,9 @@ msgstr "" #: ../src/main.vala:65 #, c-format msgid "" -"Your photo library is not compatible with this version of Shotwell. It " -"appears it was created by Shotwell %s (schema %d). This version is %s " -"(schema %d). Please clear your library by deleting %s and re-import your " +"Your photo library is not compatible with this version of Shotwell. It " +"appears it was created by Shotwell %s (schema %d). This version is %s " +"(schema %d). Please clear your library by deleting %s and re-import your " "photos." msgstr "" "La biblioteca de fotografies no és compatible amb aquesta versió del " @@ -3137,7 +3231,7 @@ msgstr "" #: ../src/main.vala:71 #, c-format -msgid "Unknown error attempting to verify Shotwell's database: %s" +msgid "Unknown error attempting to verify Shotwell’s database: %s" msgstr "" "S'ha produït un error desconegut en intentar verificar la base de dades del " "Shotwell: %s" @@ -3147,7 +3241,7 @@ msgid "Loading Shotwell" msgstr "S'està carregant el Shotwell" #: ../src/main.vala:294 -msgid "Path to Shotwell's private data" +msgid "Path to Shotwell’s private data" msgstr "Camí a les dades privades del Shotwell" #: ../src/main.vala:294 @@ -3160,11 +3254,11 @@ msgstr "" "No monitoritzis el directori de la biblioteca en mode d'execució per canvis" #: ../src/main.vala:302 -msgid "Don't display startup progress meter" +msgid "Don’t display startup progress meter" msgstr "No mostris la barra de progrés d'inici" #: ../src/main.vala:306 -msgid "Show the application's version" +msgid "Show the application’s version" msgstr "Mostra la versió de l'aplicació" #. init GTK (valac has already called g_threads_init()) @@ -3174,7 +3268,7 @@ msgstr "[FITXER]" #: ../src/main.vala:342 #, c-format -msgid "Run '%s --help' to see a full list of available command line options.\n" +msgid "Run “%s --help” to see a full list of available command line options.\n" msgstr "" "Executeu «%s --help» per veure una llista completa de les opcions " "disponibles de la línia d'ordres.\n" @@ -3217,7 +3311,7 @@ msgid "Display the comment of each photo" msgstr "Mostra el comentari de cada foto" #: ../src/MediaPage.vala:470 -msgid "Display each photo's tags" +msgid "Display each photo’s tags" msgstr "Mostra les etiquetes de cada fotografia" #: ../src/MediaPage.vala:486 @@ -3269,7 +3363,7 @@ msgstr "Cap fotografia/vídeo" msgid "No photos/videos found which match the current filter" msgstr "No s'han trobat fotos o vídeos que coincideixin amb el filtre actual" -#: ../src/Page.vala:2568 +#: ../src/Page.vala:2576 msgid "Photos cannot be exported to this directory." msgstr "No es poden exportar fotografies a aquest directori." @@ -3373,15 +3467,15 @@ msgstr "polzades" msgid "cm" msgstr "cm" -#: ../src/Printing.vala:875 +#: ../src/Printing.vala:876 msgid "Image Settings" msgstr "Paràmetres de la imatge" -#: ../src/Printing.vala:888 -msgid "Printing..." +#: ../src/Printing.vala:889 +msgid "Printing…" msgstr "S'està imprimint..." -#: ../src/Printing.vala:908 ../src/Printing.vala:1111 +#: ../src/Printing.vala:909 ../src/Printing.vala:1112 #, c-format msgid "" "Unable to print photo:\n" @@ -3524,7 +3618,7 @@ msgstr "S'està pujant %d de %d" #: ../src/publishing/PublishingPluginHost.vala:81 #, c-format -msgid "Publishing to %s can't continue because an error occurred:" +msgid "Publishing to %s can’t continue because an error occurred:" msgstr "La publicació a %s no pot continuar perquè s'ha produït un error:" #: ../src/publishing/PublishingPluginHost.vala:84 @@ -3554,12 +3648,12 @@ msgid "The selected photo was successfully published." msgstr "S'ha publicat correctament la fotografia seleccionada." #: ../src/publishing/PublishingUI.vala:122 -msgid "Fetching account information..." -msgstr "S'està recollint la informació del compte..." +msgid "Fetching account information…" +msgstr "S'està recollint la informació del compte…" #: ../src/publishing/PublishingUI.vala:128 -msgid "Logging in..." -msgstr "S'està entrant..." +msgid "Logging in…" +msgstr "S'està entrant…" #: ../src/publishing/PublishingUI.vala:188 msgid "Publish Photos" @@ -3759,7 +3853,7 @@ msgid "Enhance" msgstr "Millora" #: ../src/Resources.vala:188 -msgid "Automatically improve the photo's appearance" +msgid "Automatically improve the photo’s appearance" msgstr "Millora automàticament l'aparença de la fotografia" #: ../src/Resources.vala:190 @@ -3795,7 +3889,7 @@ msgid "Crop" msgstr "Escapça" #: ../src/Resources.vala:200 -msgid "Crop the photo's size" +msgid "Crop the photo’s size" msgstr "Escapça la mida de la fotografia" #: ../src/Resources.vala:203 @@ -3827,7 +3921,7 @@ msgid "Adjust" msgstr "Ajusta" #: ../src/Resources.vala:212 -msgid "Adjust the photo's color and tone" +msgid "Adjust the photo’s color and tone" msgstr "Ajusta el color i el to de la fotografia" #: ../src/Resources.vala:214 @@ -3855,8 +3949,8 @@ msgid "Set selected image to be the new desktop background" msgstr "Estableix la imatge seleccionada com a fons de l'escriptori" #: ../src/Resources.vala:222 -msgid "Set as _Desktop Slideshow..." -msgstr "Estableix com a presentació de _diapositives de l'escriptori..." +msgid "Set as _Desktop Slideshow…" +msgstr "Estableix com a presentació de diapositives de l'escriptori…" #: ../src/Resources.vala:224 msgid "_Undo" @@ -3875,8 +3969,8 @@ msgid "Redo" msgstr "Refés" #: ../src/Resources.vala:230 -msgid "Re_name Event..." -msgstr "Can_via el nom de l'esdeveniment..." +msgid "Re_name Event…" +msgstr "Canvia el nom de l'esdeveniment…" #: ../src/Resources.vala:233 msgid "Make _Key Photo for Event" @@ -4017,7 +4111,7 @@ msgid "_Ratings" msgstr "_Puntuacions" #: ../src/Resources.vala:280 -msgid "Display each photo's rating" +msgid "Display each photo’s rating" msgstr "Mostra la puntuació de cada fotografia" #: ../src/Resources.vala:282 @@ -4045,16 +4139,16 @@ msgid "Make a duplicate of the photo" msgstr "Fes un duplicat de la fotografia" #: ../src/Resources.vala:290 -msgid "_Export..." -msgstr "_Exporta..." +msgid "_Export…" +msgstr "Exporta…" #: ../src/Resources.vala:292 -msgid "_Print..." -msgstr "_Imprimeix..." +msgid "_Print…" +msgstr "_Imprimeix…" #: ../src/Resources.vala:294 -msgid "Pu_blish..." -msgstr "Pu_blica..." +msgid "Pu_blish…" +msgstr "Publica…" #: ../src/Resources.vala:295 msgid "Publish" @@ -4065,8 +4159,8 @@ msgid "Publish to various websites" msgstr "Publica a diversos llocs web" #: ../src/Resources.vala:298 -msgid "Edit _Title..." -msgstr "Edita el _títol..." +msgid "Edit _Title…" +msgstr "Edita el títol…" #. Button label #: ../src/Resources.vala:300 @@ -4075,8 +4169,8 @@ msgid "Edit Title" msgstr "Edita el títol" #: ../src/Resources.vala:302 -msgid "Edit _Comment..." -msgstr "Edita el _comentari..." +msgid "Edit _Comment…" +msgstr "Edita el comentari…" #. Button label #: ../src/Resources.vala:304 @@ -4084,24 +4178,24 @@ msgid "Edit Comment" msgstr "Edita el comentari..." #: ../src/Resources.vala:306 -msgid "Edit Event _Comment..." -msgstr "Edita el _comentari de l'esdeveniment..." +msgid "Edit Event _Comment…" +msgstr "Edita el comentari de l'esdeveniment…" #: ../src/Resources.vala:309 -msgid "_Adjust Date and Time..." -msgstr "_Ajusta la data i l'hora..." +msgid "_Adjust Date and Time…" +msgstr "Ajusta la data i l'hora…" #: ../src/Resources.vala:310 msgid "Adjust Date and Time" msgstr "Ajusta la data i l'hora" #: ../src/Resources.vala:312 -msgid "Add _Tags..." -msgstr "Afegeix e_tiquetes..." +msgid "Add _Tags…" +msgstr "Afegeix etiquetes…" #: ../src/Resources.vala:313 -msgid "_Add Tags..." -msgstr "_Afegeix etiquetes..." +msgid "_Add Tags…" +msgstr "Afegeix etiquetes…" #. Dialog title #: ../src/Resources.vala:315 @@ -4118,16 +4212,16 @@ msgid "Open With RA_W Editor" msgstr "Obre amb un editor d'imatges RA_W" #: ../src/Resources.vala:323 -msgid "Send _To..." -msgstr "Envia _a..." +msgid "Send _To…" +msgstr "Envia a…" #: ../src/Resources.vala:324 -msgid "Send T_o..." -msgstr "Enviar _a..." +msgid "Send T_o…" +msgstr "Envia a…" #: ../src/Resources.vala:326 -msgid "_Find..." -msgstr "_Cerca..." +msgid "_Find…" +msgstr "_Cerca…" #: ../src/Resources.vala:327 msgid "Find" @@ -4154,30 +4248,29 @@ msgstr "No s'ha pogut executar l'editor: %s" #: ../src/Resources.vala:340 #, c-format -msgid "Add Tag \"%s\"" +msgid "Add Tag “%s”" msgstr "Afegeix l'etiqueta «%s»" #. Used when adding two tags to photo(s) #: ../src/Resources.vala:343 #, c-format -msgid "Add Tags \"%s\" and \"%s\"" +msgid "Add Tags “%s” and “%s”" msgstr "Afegeix les etiquetes «%s» i «%s»" #. Undo/Redo command name (in Edit menu) #: ../src/Resources.vala:348 -#, fuzzy msgctxt "UndoRedo menu entry" msgid "Add Tags" msgstr "Afegeix etiquetes" #: ../src/Resources.vala:353 #, c-format -msgid "_Delete Tag \"%s\"" +msgid "_Delete Tag “%s”" msgstr "_Suprimeix l'etiqueta «%s»" #: ../src/Resources.vala:357 #, c-format -msgid "Delete Tag \"%s\"" +msgid "Delete Tag “%s”" msgstr "Suprimeix l'etiqueta «%s»" #: ../src/Resources.vala:360 @@ -4186,21 +4279,21 @@ msgstr "Suprimeix l'etiqueta" #: ../src/Resources.vala:366 #, c-format -msgid "Re_name Tag \"%s\"..." -msgstr "Can_via el nom de l'etiqueta «%s»..." +msgid "Re_name Tag “%s”…" +msgstr "Can_via el nom de l'etiqueta «%s»…" #: ../src/Resources.vala:370 #, c-format -msgid "Rename Tag \"%s\" to \"%s\"" +msgid "Rename Tag “%s” to “%s”" msgstr "Canvia el nom de l'etiqueta «%s» a «%s»" #: ../src/Resources.vala:373 -msgid "_Rename..." -msgstr "_Canvia el nom..." +msgid "_Rename…" +msgstr "_Canvia el nom…" #: ../src/Resources.vala:375 -msgid "Modif_y Tags..." -msgstr "Modi_fica les etiquetes..." +msgid "Modif_y Tags…" +msgstr "Modifica les etiquetes…" #: ../src/Resources.vala:376 msgid "Modify Tags" @@ -4208,58 +4301,59 @@ msgstr "Modifica les etiquetes" #: ../src/Resources.vala:379 #, c-format -msgid "Tag Photo as \"%s\"" +msgid "Tag Photo as “%s”" msgstr "Etiqueta la fotografia com a «%s»" #: ../src/Resources.vala:379 #, c-format -msgid "Tag Photos as \"%s\"" +msgid "Tag Photos as “%s”" msgstr "Etiqueta les fotografies com a «%s»" #: ../src/Resources.vala:383 #, c-format -msgid "Tag the selected photo as \"%s\"" +msgid "Tag the selected photo as “%s”" msgstr "Etiqueta la fotografia seleccionada com a «%s»" #: ../src/Resources.vala:384 #, c-format -msgid "Tag the selected photos as \"%s\"" +msgid "Tag the selected photos as “%s”" msgstr "Etiqueta les fotografies seleccionades com a «%s»" #: ../src/Resources.vala:388 #, c-format -msgid "Remove Tag \"%s\" From _Photo" +msgid "Remove Tag “%s” From _Photo" msgstr "Suprimeix l'etiqueta «%s» de la _fotografia" #: ../src/Resources.vala:389 #, c-format -msgid "Remove Tag \"%s\" From _Photos" +msgid "Remove Tag “%s” From _Photos" msgstr "Suprimeix l'etiqueta «%s» de les _fotografies" #: ../src/Resources.vala:393 #, c-format -msgid "Remove Tag \"%s\" From Photo" +msgid "Remove Tag “%s” From Photo" msgstr "Suprimeix l'etiqueta «%s» de la fotografia" #: ../src/Resources.vala:394 #, c-format -msgid "Remove Tag \"%s\" From Photos" +msgid "Remove Tag “%s” From Photos" msgstr "Suprimeix l'etiqueta «%s» de les fotografies" #: ../src/Resources.vala:398 #, c-format -msgid "Unable to rename tag to \"%s\" because the tag already exists." +msgid "Unable to rename tag to “%s” because the tag already exists." msgstr "" "No s'ha pogut canviar el nom de l'etiqueta a «%s» perquè l'etiqueta ja " "existeix." #: ../src/Resources.vala:402 #, c-format -msgid "Unable to rename search to \"%s\" because the search already exists." +msgid "Unable to rename search to “%s” because the search already exists." msgstr "" "No s'ha pogut canviar el nom de la cerca a «%s» perquè aquesta ja existeix." -#: ../src/Resources.vala:405 +#. Saved search button +#: ../src/Resources.vala:405 ../src/SearchFilter.vala:1210 msgid "Saved Search" msgstr "Cerca desada" @@ -4268,21 +4362,21 @@ msgid "Delete Search" msgstr "Suprimeix la cerca" #: ../src/Resources.vala:410 -msgid "_Edit..." -msgstr "_Edita..." +msgid "_Edit…" +msgstr "_Edita…" #: ../src/Resources.vala:411 -msgid "Re_name..." -msgstr "Ca_nvia el nom..." +msgid "Re_name…" +msgstr "Ca_nvia el nom…" #: ../src/Resources.vala:414 #, c-format -msgid "Rename Search \"%s\" to \"%s\"" +msgid "Rename Search “%s” to “%s”" msgstr "Canvia el nom de la cerca «%s» a «%s»" #: ../src/Resources.vala:418 #, c-format -msgid "Delete Search \"%s\"" +msgid "Delete Search “%s”" msgstr "Suprimeix la cerca «%s»" #: ../src/Resources.vala:576 @@ -4346,7 +4440,7 @@ msgid "Show in File Mana_ger" msgstr "Mostra al nave_gador de fitxers" #: ../src/Resources.vala:682 -msgid "Open the selected photo's directory in the file manager" +msgid "Open the selected photo’s directory in the file manager" msgstr "Obre el directori de la fotografia seleccionada al gestor de fitxers" #: ../src/Resources.vala:685 @@ -4374,39 +4468,46 @@ msgstr "Selecciona tots els elements" #. / Locale-specific time format for 12-hour time, i.e. 8:31 PM #. / Precede modifier with a dash ("-") to pad with spaces, otherwise will pad with zeroes #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#: ../src/Resources.vala:772 -msgid "%-I:%M %p" -msgstr "%-I:%M %p" - #. / Locale-specific time format for 12-hour time with seconds, i.e. 8:31:42 PM #. / Precede modifier with a dash ("-") to pad with spaces, otherwise will pad with zeroes #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#: ../src/Resources.vala:777 -msgid "%-I:%M:%S %p" -msgstr "%-I:%M:%S %p" - #. / Locale-specific calendar date format, i.e. "Tue Mar 08, 2006" #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#: ../src/Resources.vala:781 +#: ../src/Resources.vala:782 msgid "%a %b %d, %Y" -msgstr "%a, %l de %b de %Y" +msgstr "%a, %d de %b de %Y" #. / Locale-specific starting date format for multi-date strings, #. / i.e. the "Tue Mar 08" in "Tue Mar 08 - 10, 2006" #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#. / Locale-specific calendar date format for multi-month strings, -#. / i.e. the "Tue Mar 08" in "Tue Mar 08 to Mon Apr 06, 2006" -#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#: ../src/Resources.vala:786 ../src/Resources.vala:796 +#: ../src/Resources.vala:787 +msgctxt "MultidayFormat" msgid "%a %b %d" -msgstr "%a, %l de %d" +msgstr "%a, %d" #. / Locale-specific ending date format for multi-date strings, #. / i.e. the "10, 2006" in "Tue Mar 08 - 10, 2006" #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#: ../src/Resources.vala:791 +#: ../src/Resources.vala:792 +msgctxt "MultidayFormat" msgid "%d, %Y" -msgstr "%l de %Y" +msgstr "%d de %b de %Y" + +#. / Locale-specific calendar date format for multi-month strings, +#. / i.e. the "Tue Mar 08" in "Tue Mar 08 to Mon Apr 06, 2006" +#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format +#: ../src/Resources.vala:797 +msgctxt "MultimonthFormat" +msgid "%a %b %d" +msgstr "%a, %d de %b" + +#. / Locale-specific calendar date format for multi-month strings, +#. / i.e. the "Mon Apr 06, 2006" in "Tue Mar 08 to Mon Apr 06, 2006" +#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format +#: ../src/Resources.vala:802 +msgctxt "MultimonthFormat" +msgid "%a %b %d, %Y" +msgstr "%a, %d de %b de %Y" #: ../src/Screensaver.vala:18 ../src/SlideshowPage.vala:141 msgid "Slideshow" @@ -4590,7 +4691,7 @@ msgid "Photo state" msgstr "Estat de la foto" #. Rating button -#: ../src/searches/SearchBoolean.vala:184 ../src/SearchFilter.vala:999 +#: ../src/searches/SearchBoolean.vala:184 ../src/SearchFilter.vala:1199 msgid "Rating" msgstr "Valoració" @@ -4598,19 +4699,19 @@ msgstr "Valoració" msgid "Date" msgstr "Data" -#: ../src/SearchFilter.vala:600 ../src/SearchFilter.vala:601 +#: ../src/SearchFilter.vala:614 ../src/SearchFilter.vala:615 msgid "Videos" msgstr "Vídeos" -#: ../src/SearchFilter.vala:606 +#: ../src/SearchFilter.vala:620 msgid "RAW Photos" msgstr "Fotografies RAW" -#: ../src/SearchFilter.vala:607 +#: ../src/SearchFilter.vala:621 msgid "RAW photos" msgstr "Fotografies RAW" -#: ../src/SearchFilter.vala:948 +#: ../src/SearchFilter.vala:1148 #, c-format msgid "Error loading UI file %s: %s" msgstr "" @@ -4621,18 +4722,22 @@ msgstr "" #. Prepare the close menu for use, but don't #. display it yet; we'll connect it to secondary #. click later on. -#: ../src/SearchFilter.vala:959 +#: ../src/SearchFilter.vala:1159 msgid "Close" msgstr "Tanca" #. Type label and toggles -#: ../src/SearchFilter.vala:965 +#: ../src/SearchFilter.vala:1165 msgid "Type" msgstr "Tipus" +#: ../src/SearchFilter.vala:1211 +msgid "Use a saved search to filter items in the current view" +msgstr "Utilitza un cerca desada per filtrar els elements de la vista actual" + #: ../src/sidebar/Tree.vala:203 -msgid "New _Tag..." -msgstr "_Etiqueta nova..." +msgid "New _Tag…" +msgstr "_Etiqueta nova…" #: ../src/SlideshowPage.vala:49 ../src/SlideshowPage.vala:183 msgid "Settings" @@ -4701,7 +4806,7 @@ msgstr "Aleatori" msgid "Tags" msgstr "Etiquetes" -#: ../src/Tag.vala:817 +#: ../src/Tag.vala:830 msgid "untitled" msgstr "sense títol" @@ -4710,18 +4815,367 @@ msgstr "sense títol" msgid "Export Videos" msgstr "Exporta vídeos" -#~ msgid "Copyright 2009-2015 Yorba Foundation" -#~ msgstr "Copyright 2009-2015 Yorba Foundation" +#~ msgid "Popular photo manager" +#~ msgstr "Gestor fotogràfic popular" + +#~ msgid "Organize your photos" +#~ msgstr "Organitzeu les vostres fotografies" + +#~ msgid "Shotwell Viewer" +#~ msgstr "Visualitzador del Shotwell" + +#, fuzzy +#~| msgid "User _name" +#~ msgid "username" +#~ msgstr "_Nom d'usuari" + +#, fuzzy +#~| msgid "within category:" +#~ msgid "last category" +#~ msgstr "a la categoria:" + +#, fuzzy +#~| msgid "Photo size:" +#~ msgid "last photo size" +#~ msgstr "Mida de la fotografia:" + +#, fuzzy +#~| msgid "_Remember" +#~ msgid "remember" +#~ msgstr "_Recorda" + +#, fuzzy +#~| msgid "_Hide album" +#~ msgid "hide album" +#~ msgstr "A_maga l'àlbum" + +#, fuzzy +#~| msgid "Open target _album in browser" +#~ msgid "open album in web browser" +#~ msgstr "Obre l'_àlbum al navegador" + +#, fuzzy +#~| msgid "Display extended information for the selection" +#~ msgid "display extended properties" +#~ msgstr "Mostra informació ampliada sobre la selecció" + +#, fuzzy +#~| msgid "Display the sidebar" +#~ msgid "display sidebar" +#~ msgstr "Mostra la barra lateral" + +#, fuzzy +#~| msgid "Display the tool bar" +#~ msgid "display toolbar" +#~ msgstr "Mostra la barra d'eines" + +#, fuzzy +#~| msgid "Display the search bar" +#~ msgid "display search bar" +#~ msgstr "Mostra la barra de cerca" + +#, fuzzy +#~| msgid "Display each photo's tags" +#~ msgid "display photo titles" +#~ msgstr "Mostra les etiquetes de cada fotografia" + +#, fuzzy +#~| msgid "Display each photo's tags" +#~ msgid "display photo comments" +#~ msgstr "Mostra les etiquetes de cada fotografia" + +#, fuzzy +#~| msgid "Edit Event Comment" +#~ msgid "display event comments" +#~ msgstr "Edita el comentari de l'esdeveniment" + +#, fuzzy +#~| msgid "Display each photo's tags" +#~ msgid "display photo tags" +#~ msgstr "Mostra les etiquetes de cada fotografia" + +#, fuzzy +#~| msgid "Display each photo's rating" +#~ msgid "display photo ratings" +#~ msgstr "Mostra la puntuació de cada fotografia" + +#, fuzzy +#~| msgid "Sort _Descending" +#~ msgid "sort events ascending" +#~ msgstr "Ordre d_escendent" + +#, fuzzy +#~| msgid "Sort photos in an ascending order" +#~ msgid "sort library photos ascending" +#~ msgstr "Ordena les fotografies en ordre ascendent" + +#, fuzzy +#~| msgid "Sort photos in an ascending order" +#~ msgid "sort event photos ascending" +#~ msgstr "Ordena les fotografies en ordre ascendent" + +#, fuzzy +#~| msgid "Sort photos by title" +#~ msgid "sort event photos criteria" +#~ msgstr "Ordena les fotografies per títol" + +#, fuzzy +#~| msgid "_Modify original photo files" +#~ msgid "modify original photo files" +#~ msgstr "_Modifica els fitxers d'imatges originals" + +#, fuzzy +#~| msgid "Library Location" +#~ msgid "sidebar position" +#~ msgstr "Ubicació de la biblioteca" + +#, fuzzy +#~| msgid "Pin the toolbar open" +#~ msgid "pin toolbar state" +#~ msgstr "Mantén la barra d'eines oberta" + +#, fuzzy +#~| msgid "_Background:" +#~ msgid "background color" +#~ msgstr "_Fons:" + +#, fuzzy +#~| msgid "_Delay:" +#~ msgid "delay" +#~ msgstr "_Retard:" + +#, fuzzy +#~| msgid "Transition d_elay:" +#~ msgid "transition delay" +#~ msgstr "R_etard de transició:" + +#, fuzzy +#~| msgid "_Transition effect:" +#~ msgid "transition effect id" +#~ msgstr "Efecte de _transició:" + +#, fuzzy +#~| msgid "Show t_itle" +#~ msgid "Show title" +#~ msgstr "Mostra el t_ítol" + +#, fuzzy +#~| msgid "Import to Library" +#~ msgid "import directory" +#~ msgstr "Importa a la biblioteca" + +#, fuzzy +#~| msgid "_Watch library directory for new files" +#~ msgid "watch library directory for new files" +#~ msgstr "_Vigila si hi ha fitxers nous al directori de la biblioteca" + +#, fuzzy +#~| msgid "Writing metadata to files..." +#~ msgid "write metadata to master files" +#~ msgstr "S'estan escrivint les metadades als fitxers..." + +#, fuzzy +#~| msgid "_Directory structure:" +#~ msgid "directory pattern" +#~ msgstr "_Estructura dels directoris:" + +#, fuzzy +#~| msgid "RAW Developer" +#~ msgid "RAW developer default" +#~ msgstr "Revelador RAW" + +#, fuzzy +#~| msgid "E_xternal photo editor:" +#~ msgid "external photo editor" +#~ msgstr "Editor fotogràfic e_xtern:" + +#, fuzzy +#~| msgid "External _RAW editor:" +#~ msgid "external raw editor" +#~ msgstr "Editor d'imatges _RAW extern:" + +#, fuzzy +#~| msgid "Export metadata" +#~ msgid "export metadata" +#~ msgstr "Exporta les metadades" + +#, fuzzy +#~| msgid "Core Publishing Services" +#~ msgid "last used publishing service" +#~ msgstr "Serveis de publicació principals" + +#, fuzzy +#~| msgid "Core Publishing Services" +#~ msgid "default publishing service" +#~ msgstr "Serveis de publicació principals" + +#, fuzzy +#~| msgid "Access _type:" +#~ msgid "access token" +#~ msgstr "_Tipus d'accés:" + +#, fuzzy +#~| msgid "User _name" +#~ msgid "user name" +#~ msgstr "_Nom d'usuari" + +#, fuzzy +#~| msgid "You are not currently logged into Yandex.Fotki." +#~ msgid "The name of the currently logged in Facebook user, if any" +#~ msgstr "Actualment no esteu connectat al Yandex.Fotki." + +#, fuzzy +#~| msgid "_Password" +#~ msgid "password" +#~ msgstr "_Contrasenya" + +#, fuzzy +#~| msgid "_Remember Password" +#~ msgid "remember password" +#~ msgstr "_Recorda la contrasenya" + +#, fuzzy +#~| msgid "_If a title is set and comment unset, use title as comment" +#~ msgid "" +#~ "if title is set and comment unset, use title as comment for uploads to " +#~ "Piwigo" +#~ msgstr "" +#~ "S_i el títol està definit i el comentari no ho està, es farà servir el " +#~ "títol com a comentari" + +#, fuzzy +#~| msgid "Gallery3 publishing module" +#~ msgid "Gallery3 username" +#~ msgstr "Mòdul de publicació Gallery3" + +#, fuzzy +#~| msgid "API _Key:" +#~ msgid "API key" +#~ msgstr "_Clau API:" + +#, fuzzy +#~| msgid "_Gallery3 URL:" +#~ msgid "Gallery3 API key" +#~ msgstr "URL _Gallery3:" + +#, fuzzy +#~| msgid "_Gallery3 URL:" +#~ msgid "Gallery3 site URL" +#~ msgstr "URL _Gallery3:" + +#, fuzzy +#~| msgid "Core Data Import Services" +#~ msgid "last used import service" +#~ msgstr "Serveis d'importació Core Data" + +#, fuzzy +#~| msgid "_Contents" +#~ msgid "content ppi" +#~ msgstr "C_ontingut" + +#, fuzzy +#~| msgid "Rotate Right" +#~ msgid "content height" +#~ msgstr "Gira a la dreta" + +#, fuzzy +#~| msgid "_Contents" +#~ msgid "content units" +#~ msgstr "C_ontingut" + +#, fuzzy +#~| msgid "2 images per page" +#~ msgid "images per page code" +#~ msgstr "2 imatges per pàgina" + +#, fuzzy +#~| msgid "_Match photo aspect ratio" +#~ msgid "match aspect ratio" +#~ msgstr "_Coincideix la relació d'aspecte de la fotografia" + +#, fuzzy +#~| msgid "Print image _title" +#~ msgid "print titles" +#~ msgstr "Imprimeix el _títol de la imatge" + +#, fuzzy +#~| msgid "Unable to publish" +#~ msgid "enable facebook publishing plugin" +#~ msgstr "No s'ha pogut publicar" + +#, fuzzy +#~| msgid "Unable to publish" +#~ msgid "enable youtube publishing plugin" +#~ msgstr "No s'ha pogut publicar" + +#, fuzzy +#~| msgid "Unable to publish" +#~ msgid "enable piwigo publishing plugin" +#~ msgstr "No s'ha pogut publicar" + +#, fuzzy +#~| msgid "Unable to publish" +#~ msgid "enable tumblr publishing plugin" +#~ msgstr "No s'ha pogut publicar" + +#, fuzzy +#~| msgid "Gallery3 publishing module" +#~ msgid "enable rajce publishing plugin" +#~ msgstr "Mòdul de publicació Gallery3" + +#, fuzzy +#~| msgid "Gallery3 publishing module" +#~ msgid "enable gallery3 publishing plugin" +#~ msgstr "Mòdul de publicació Gallery3" + +#, fuzzy +#~| msgid "Core Slideshow Transitions" +#~ msgid "enable slideshow crumble transition" +#~ msgstr "Transicions principals de la projecció de diapositives" + +#, fuzzy +#~| msgid "Core Slideshow Transitions" +#~ msgid "enable slideshow fade transition" +#~ msgstr "Transicions principals de la projecció de diapositives" + +#, fuzzy +#~| msgid "Core Slideshow Transitions" +#~ msgid "enable slideshow slide transition" +#~ msgstr "Transicions principals de la projecció de diapositives" + +#, fuzzy +#~| msgid "Core Slideshow Transitions" +#~ msgid "enable slideshow clock transition" +#~ msgstr "Transicions principals de la projecció de diapositives" + +#, fuzzy +#~| msgid "Core Slideshow Transitions" +#~ msgid "enable slideshow circle transition" +#~ msgstr "Transicions principals de la projecció de diapositives" + +#, fuzzy +#~| msgid "Core Slideshow Transitions" +#~ msgid "enable slideshow squares transition" +#~ msgstr "Transicions principals de la projecció de diapositives" + +#, fuzzy +#~| msgid "Core Slideshow Transitions" +#~ msgid "enable slideshow stripes transition" +#~ msgstr "Transicions principals de la projecció de diapositives" + +#, fuzzy +#~| msgid "Core Slideshow Transitions" +#~ msgid "enable slideshow chess transition" +#~ msgstr "Transicions principals de la projecció de diapositives" #~ msgid "Go _Back" #~ msgstr "_Enrere" -#~ msgid "_Login" +#, fuzzy +#~| msgid "_Login" +#~ msgid "_Log in" #~ msgstr "_Connecta" -#~ msgid "Intro message replaced at runtime" -#~ msgstr "Messatge d'introducció reemplaçat en temps d'execució" - #~ msgid "_Gallery3 URL:" #~ msgstr "URL _Gallery3:" @@ -4748,31 +5202,18 @@ msgstr "Exporta vídeos" #~ "Sup_rimeix les dades d'ubicació, d'etiquetes i d'identificació de la " #~ "càmera abans de la càrrega." -#~ msgid "'Publishing to $url as $username' (populated in application code)" -#~ msgstr "" -#~ "«S'està publicant a $url com $username» (completat al codi de l'aplicació)" - #~ msgid "Scaling constraint:" #~ msgstr "Constant d'e_scala:" #~ msgid "pixels" #~ msgstr " píxels" -#~ msgid "label" -#~ msgstr "etiqueta" - #~ msgid "Blogs:" #~ msgstr "Blogs:" #~ msgid "Photo _size:" #~ msgstr "_Mida de la fotografia:" -#~ msgid "you are logged in rajce as $name" -#~ msgstr "Actualment esteu connectat al rajce com a $name" - -#~ msgid "$mediatype will appear in" -#~ msgstr "$mediatype apareixeran a" - #~ msgid "_Albums (or write new):" #~ msgstr "À_lbums (o escriviu-ne un de nou):" @@ -4858,12 +5299,6 @@ msgstr "Exporta vídeos" #~ msgid "Video privacy _setting:" #~ msgstr "_Paràmetres de la privacitat dels vídeos:" -#~ msgid "Visit the Yorba web site" -#~ msgstr "Vés al lloc web d'en Yorba" - -#~ msgid "No photos/videos found" -#~ msgstr "No s'ha trobat cap fotografia/vídeo" - #~ msgid "Set as Desktop Background" #~ msgstr "Estableix com a fons d'escriptori" @@ -4927,6 +5362,9 @@ msgstr "Exporta vídeos" #~ msgid "pixels per inch" #~ msgstr "píxels per polzada" +#~ msgid "label" +#~ msgstr "etiqueta" + #~ msgid "Shotwell Preferences" #~ msgstr "Preferències del Shotwell" @@ -5004,6 +5442,100 @@ msgstr "Exporta vídeos" #~ msgid "seconds" #~ msgstr "segons" +#~ msgid "Login" +#~ msgstr "Entra" + +#~ msgid "Save Details..." +#~ msgstr "Desa els detalls..." + +#~ msgid "Save _As..." +#~ msgstr "Anomena i _desa..." + +#~ msgid "Importing..." +#~ msgstr "S'està important..." + +#~ msgid "Preparing to import..." +#~ msgstr "S'està preparant per importar..." + +#~ msgid "_Import From Folder..." +#~ msgstr "_Importa des d'una carpeta..." + +#~ msgid "Import From _Application..." +#~ msgstr "Importa des de l'_aplicació..." + +#~ msgid "Set as _Desktop Slideshow..." +#~ msgstr "Estableix com a presentació de _diapositives de l'escriptori..." + +#~ msgid "Re_name Event..." +#~ msgstr "Can_via el nom de l'esdeveniment..." + +#~ msgid "_Export..." +#~ msgstr "_Exporta..." + +#~ msgid "_Print..." +#~ msgstr "_Imprimeix..." + +#~ msgid "Pu_blish..." +#~ msgstr "Pu_blica..." + +#~ msgid "Edit _Title..." +#~ msgstr "Edita el _títol..." + +#~ msgid "Edit _Comment..." +#~ msgstr "Edita el _comentari..." + +#~ msgid "Edit Event _Comment..." +#~ msgstr "Edita el _comentari de l'esdeveniment..." + +#~ msgid "_Adjust Date and Time..." +#~ msgstr "_Ajusta la data i l'hora..." + +#~ msgid "Add _Tags..." +#~ msgstr "Afegeix e_tiquetes..." + +#~ msgid "_Add Tags..." +#~ msgstr "_Afegeix etiquetes..." + +#~ msgid "Send _To..." +#~ msgstr "Envia _a..." + +#~ msgid "Send T_o..." +#~ msgstr "Enviar _a..." + +#~ msgid "_Find..." +#~ msgstr "_Cerca..." + +#~ msgid "Modif_y Tags..." +#~ msgstr "Modi_fica les etiquetes..." + +#~ msgid "_Edit..." +#~ msgstr "_Edita..." + +#~ msgid "%-I:%M %p" +#~ msgstr "%-I:%M %p" + +#~ msgid "%-I:%M:%S %p" +#~ msgstr "%-I:%M:%S %p" + +#~ msgid "Copyright 2009-2015 Yorba Foundation" +#~ msgstr "Copyright 2009-2015 Yorba Foundation" + +#~ msgid "Intro message replaced at runtime" +#~ msgstr "Messatge d'introducció reemplaçat en temps d'execució" + +#~ msgid "'Publishing to $url as $username' (populated in application code)" +#~ msgstr "" +#~ "«S'està publicant a $url com $username» (completat al codi de l'aplicació)" + +#~ msgid "you are logged in rajce as $name" +#~ msgstr "Actualment esteu connectat al rajce com a $name" + +#~ msgid "$mediatype will appear in" +#~ msgstr "$mediatype apareixeran a" + +#~ msgid "Visit the Yorba web site" +#~ msgstr "Vés al lloc web d'en Yorba" + #~ msgid "Only _Remove" #~ msgstr "_Suprimeix només" @@ -17,8 +17,8 @@ msgstr "" "Project-Id-Version: shotwell-0.15\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=shotwell&keywords=I18N+L10N&component=Internationalization\n" -"POT-Creation-Date: 2016-09-04 08:43+0000\n" -"PO-Revision-Date: 2016-09-04 10:45+0200\n" +"POT-Creation-Date: 2016-10-08 14:29+0000\n" +"PO-Revision-Date: 2016-10-16 22:00+0200\n" "Last-Translator: Marek Černocký <marek@manet.cz>\n" "Language-Team: čeština <gnome-cs-list@gnome.org>\n" "Language: cs\n" @@ -44,7 +44,7 @@ msgid "" "desktop. It allows you to import photos from your camera or disk, organize " "them by date and subject matter, even ratings. It also offers basic photo " "editing, like crop, red-eye correction, color adjustments, and straighten. " -"Shotwell's non-destructive photo editor does not alter your master photos, " +"Shotwell’s non-destructive photo editor does not alter your master photos, " "making it easy to experiment and correct errors." msgstr "" "Shotwell je rychlá a na obsluhu jednoduchá aplikace pro správu fotografií v " @@ -127,7 +127,7 @@ msgid "The secret token to sign oauth requests" msgstr "Tajný tiket k podepisování požadavků protokolu OAuth." #: misc/org.yorba.shotwell-extras.gschema.xml:26 -#: misc/org.yorba.shotwell.gschema.xml:416 +#: misc/org.yorba.shotwell.gschema.xml:486 msgid "default size" msgstr "Výchozí velikost" @@ -155,9 +155,9 @@ msgid "URL of the Rajce server." msgstr "Adresa URL vedoucí na server Rajče." #: misc/org.yorba.shotwell-extras.gschema.xml:46 -#: misc/org.yorba.shotwell.gschema.xml:384 -#: misc/org.yorba.shotwell.gschema.xml:442 -#: misc/org.yorba.shotwell.gschema.xml:498 +#: misc/org.yorba.shotwell.gschema.xml:454 +#: misc/org.yorba.shotwell.gschema.xml:512 +#: misc/org.yorba.shotwell.gschema.xml:568 msgid "username" msgstr "Uživatelské jméno" @@ -174,7 +174,7 @@ msgid "user token, if remembered." msgstr "Uživatelský tiket, pokud je zapamatován." #: misc/org.yorba.shotwell-extras.gschema.xml:58 -#: misc/org.yorba.shotwell.gschema.xml:460 +#: misc/org.yorba.shotwell.gschema.xml:530 msgid "last category" msgstr "Poslední kategorie" @@ -183,7 +183,7 @@ msgid "The last selected Rajce category." msgstr "Poslední vybraná kategorie na Rajčeti." #: misc/org.yorba.shotwell-extras.gschema.xml:64 -#: misc/org.yorba.shotwell.gschema.xml:472 +#: misc/org.yorba.shotwell.gschema.xml:542 msgid "last photo size" msgstr "Poslední velikost fotografie" @@ -223,11 +223,11 @@ msgstr "" "prohlížeči." #: misc/org.yorba.shotwell-extras.gschema.xml:88 -#: misc/org.yorba.shotwell.gschema.xml:364 -#: misc/org.yorba.shotwell.gschema.xml:402 -#: misc/org.yorba.shotwell.gschema.xml:428 -#: misc/org.yorba.shotwell.gschema.xml:478 -#: misc/org.yorba.shotwell.gschema.xml:522 +#: misc/org.yorba.shotwell.gschema.xml:434 +#: misc/org.yorba.shotwell.gschema.xml:472 +#: misc/org.yorba.shotwell.gschema.xml:498 +#: misc/org.yorba.shotwell.gschema.xml:548 +#: misc/org.yorba.shotwell.gschema.xml:592 msgid "remove sensitive info from uploads" msgstr "Odstranit citlivé informace z nahrávaného obsahu" @@ -239,52 +239,52 @@ msgstr "" "Zda se mají z obrázků nahrávaných na Rajče nejdříve odstranit jejich " "metadata." -#: misc/org.yorba.shotwell.gschema.xml:22 +#: misc/org.yorba.shotwell.gschema.xml:23 msgid "display basic properties" msgstr "Zobrazovat základní vlastnosti" -#: misc/org.yorba.shotwell.gschema.xml:23 +#: misc/org.yorba.shotwell.gschema.xml:24 msgid "True if the basic properties pane is to be displayed, false otherwise." msgstr "Zapnuto, kdy je zobrazen panel se základními vlastnostmi." -#: misc/org.yorba.shotwell.gschema.xml:28 +#: misc/org.yorba.shotwell.gschema.xml:29 msgid "display extended properties" msgstr "Zobrazovat rozšiřující vlastnosti" -#: misc/org.yorba.shotwell.gschema.xml:29 +#: misc/org.yorba.shotwell.gschema.xml:30 msgid "" "True if the extended properties window is to be displayed, false otherwise." msgstr "Zapnuto, kdy je zobrazeno okno s rozšiřujícími vlastnostmi." -#: misc/org.yorba.shotwell.gschema.xml:34 +#: misc/org.yorba.shotwell.gschema.xml:35 msgid "display sidebar" msgstr "Zobrazovat postranní panel" -#: misc/org.yorba.shotwell.gschema.xml:35 +#: misc/org.yorba.shotwell.gschema.xml:36 msgid "True if the sidebar is to be displayed, false otherwise." msgstr "Když je zapnuto, bude se zobrazovat postranní panel." -#: misc/org.yorba.shotwell.gschema.xml:40 +#: misc/org.yorba.shotwell.gschema.xml:41 msgid "display toolbar" msgstr "Zobrazovat nástrojovou lištu" -#: misc/org.yorba.shotwell.gschema.xml:41 +#: misc/org.yorba.shotwell.gschema.xml:42 msgid "True if the bottom toolbar is to be displayed, false otherwise." msgstr "Když je zapnuto, bude se zobrazovat spodní nástrojová lišta." -#: misc/org.yorba.shotwell.gschema.xml:46 +#: misc/org.yorba.shotwell.gschema.xml:47 msgid "display search bar" msgstr "Zobrazovat vyhledávací lištu" -#: misc/org.yorba.shotwell.gschema.xml:47 +#: misc/org.yorba.shotwell.gschema.xml:48 msgid "True if the Search/Filter Toolbar is to be displayed, false otherwise." msgstr "Když je zapnuto, bude se zobrazovat vyhledávací/filtrovací lišta." -#: misc/org.yorba.shotwell.gschema.xml:52 +#: misc/org.yorba.shotwell.gschema.xml:53 msgid "display photo titles" msgstr "Zobrazovat názvy fotografií" -#: misc/org.yorba.shotwell.gschema.xml:53 +#: misc/org.yorba.shotwell.gschema.xml:54 msgid "" "True if photo titles are to be displayed beneath thumbnails in collection " "views, false otherwise." @@ -292,11 +292,11 @@ msgstr "" "Zapnuto, když se mají v zobrazení sbírky pod miniaturami vypisovat názvy " "fotografií." -#: misc/org.yorba.shotwell.gschema.xml:58 +#: misc/org.yorba.shotwell.gschema.xml:59 msgid "display photo comments" msgstr "Zobrazovat komentáře k fotografiím" -#: misc/org.yorba.shotwell.gschema.xml:59 +#: misc/org.yorba.shotwell.gschema.xml:60 msgid "" "True if photo comments are to be displayed beneath thumbnails in collection " "views, false otherwise." @@ -304,11 +304,11 @@ msgstr "" "Zapnuto, když se mají v zobrazení sbírky pod miniaturami vypisovat komentáře " "k fotografiím." -#: misc/org.yorba.shotwell.gschema.xml:64 +#: misc/org.yorba.shotwell.gschema.xml:65 msgid "display event comments" msgstr "Zobrazovat komentáře k událostem" -#: misc/org.yorba.shotwell.gschema.xml:65 +#: misc/org.yorba.shotwell.gschema.xml:66 msgid "" "True if event comments are to be displayed beneath thumbnails in event " "views, false otherwise." @@ -316,11 +316,11 @@ msgstr "" "Zapnuto, když se mají v zobrazení událostí pod miniaturami vypisovat " "komentáře k událostem." -#: misc/org.yorba.shotwell.gschema.xml:70 +#: misc/org.yorba.shotwell.gschema.xml:71 msgid "display photo tags" msgstr "Zobrazovat štítky fotografií" -#: misc/org.yorba.shotwell.gschema.xml:71 +#: misc/org.yorba.shotwell.gschema.xml:72 msgid "" "True if photo tags are to be listed beneath thumbnails in collection views, " "false otherwise." @@ -328,21 +328,21 @@ msgstr "" "Zapnuto, když se mají v zobrazení sbírky pod miniaturami vypisovat štítky " "fotografií." -#: misc/org.yorba.shotwell.gschema.xml:76 +#: misc/org.yorba.shotwell.gschema.xml:77 msgid "display photo ratings" msgstr "Zobrazovat hodnocení fotografií" -#: misc/org.yorba.shotwell.gschema.xml:77 +#: misc/org.yorba.shotwell.gschema.xml:78 msgid "" -"True if a photo's rating should be displayed as overlaid trinket, false " +"True if a photo’s rating should be displayed as overlaid trinket, false " "otherwise." msgstr "Zapnuto, když se má zobrazovat hodnocení jako překrývající doplněk." -#: misc/org.yorba.shotwell.gschema.xml:82 +#: misc/org.yorba.shotwell.gschema.xml:83 msgid "rating filter level" msgstr "Úroveň filtru hodnocení" -#: misc/org.yorba.shotwell.gschema.xml:83 +#: misc/org.yorba.shotwell.gschema.xml:84 msgid "" "Determines how to filter photos based on their ratings. 1: Rejected or " "better, 2: Unrated or better, 3: One or better, 4: Two or better, 5: Three " @@ -352,58 +352,58 @@ msgstr "" "Zamítnuté nebo lepší, 2: Bez hodnocení nebo lepší, 3: Jedna nebo lepší, 4: " "Dva nebo lepší, 5: Tři nebo lepší, 6: Čtyři nebo lepší, 7: Pět nebo lepší." -#: misc/org.yorba.shotwell.gschema.xml:88 +#: misc/org.yorba.shotwell.gschema.xml:89 msgid "sort events ascending" msgstr "Řadit události vzestupně" -#: misc/org.yorba.shotwell.gschema.xml:89 +#: misc/org.yorba.shotwell.gschema.xml:90 msgid "True if events should be sorted ascending, false if descending." msgstr "" "Zapnuto, když mají být události řazeny vzestupně, vypnuto, když sestupně." -#: misc/org.yorba.shotwell.gschema.xml:94 +#: misc/org.yorba.shotwell.gschema.xml:95 msgid "sort library photos ascending" msgstr "Řadit fotografií v knihovně vzestupně" -#: misc/org.yorba.shotwell.gschema.xml:95 +#: misc/org.yorba.shotwell.gschema.xml:96 msgid "True if library photos should be sorted ascending, false if descending." msgstr "" "Zapnuto, když mají být fotografie v knihovně řazeny vzestupně, vypnuto, když " "sestupně." -#: misc/org.yorba.shotwell.gschema.xml:100 +#: misc/org.yorba.shotwell.gschema.xml:101 msgid "sort library photos criteria" msgstr "Kritérium pro řazení fotografií v knihovně" -#: misc/org.yorba.shotwell.gschema.xml:101 +#: misc/org.yorba.shotwell.gschema.xml:102 msgid "" "A numeric code that specifies the sort criteria for photos in library views." msgstr "" "Číselná hodnota určující kritéria řazení pro fotografie v zobrazení knihovny." -#: misc/org.yorba.shotwell.gschema.xml:106 +#: misc/org.yorba.shotwell.gschema.xml:107 msgid "sort event photos ascending" msgstr "Řadit fotografií v událostech vzestupně" -#: misc/org.yorba.shotwell.gschema.xml:107 +#: misc/org.yorba.shotwell.gschema.xml:108 msgid "True if event photos should be sorted ascending, false if descending." msgstr "" "Zapnuto, když mají být fotografie v událostech řazeny vzestupně, vypnuto, " "když sestupně." -#: misc/org.yorba.shotwell.gschema.xml:112 +#: misc/org.yorba.shotwell.gschema.xml:113 msgid "sort event photos criteria" msgstr "Kritérium pro řazení fotografií v událostech" -#: misc/org.yorba.shotwell.gschema.xml:113 +#: misc/org.yorba.shotwell.gschema.xml:114 msgid "Specifies the sort criteria for event photos." msgstr "Určuje kritéria řazení pro fotografie v událostech." -#: misc/org.yorba.shotwell.gschema.xml:118 +#: misc/org.yorba.shotwell.gschema.xml:119 msgid "use 24 hour time" msgstr "Používat 24hodinový čas" -#: misc/org.yorba.shotwell.gschema.xml:119 +#: misc/org.yorba.shotwell.gschema.xml:120 msgid "" "True if should display times with a 24 hour clock, false if times should use " "AM/PM notation." @@ -411,11 +411,11 @@ msgstr "" "Zapnuto, když se má čas zobrazovat v 24hodinovém režimu, vypnuto, když se má " "používat notace dop./odp." -#: misc/org.yorba.shotwell.gschema.xml:124 +#: misc/org.yorba.shotwell.gschema.xml:125 msgid "keep relative time between photos" msgstr "Zachovávat relativní rozdíl času mezi fotografiemi" -#: misc/org.yorba.shotwell.gschema.xml:125 +#: misc/org.yorba.shotwell.gschema.xml:126 msgid "" "True if when adjusting time/date of photos, relative time should be " "maintained. False if all photos should be set to the same time." @@ -424,11 +424,11 @@ msgstr "" "fotografií navzájem. Vypnuto, když se má u všech fotografií nastavit to samé " "datum a čas." -#: misc/org.yorba.shotwell.gschema.xml:130 +#: misc/org.yorba.shotwell.gschema.xml:131 msgid "modify original photo files" msgstr "Měnit soubory s originálními fotografiemi" -#: misc/org.yorba.shotwell.gschema.xml:131 +#: misc/org.yorba.shotwell.gschema.xml:132 msgid "" "True if when adjusting time/date of photos, the original files should be " "modified as well. False if changes are made only in the database." @@ -436,11 +436,11 @@ msgstr "" "Zapnuto, když se má při změně data/času fotografie provést změna v " "originálních souborech. Vypnuto, když se změna promítne jen do databáze." -#: misc/org.yorba.shotwell.gschema.xml:136 +#: misc/org.yorba.shotwell.gschema.xml:137 msgid "show welcome dialog on startup" msgstr "Při spuštění zobrazit uvítací dialogové okno" -#: misc/org.yorba.shotwell.gschema.xml:137 +#: misc/org.yorba.shotwell.gschema.xml:138 msgid "" "True if, when on startup, a welcome dialog should be shown. False if it " "should not be shown." @@ -448,74 +448,74 @@ msgstr "" "Zapnuto, když se má po spuštění zobrazit uvítací dialogové okno. V opačném " "případě vypnuto." -#: misc/org.yorba.shotwell.gschema.xml:142 +#: misc/org.yorba.shotwell.gschema.xml:143 msgid "sidebar position" msgstr "Pozice postranního panelu" -#: misc/org.yorba.shotwell.gschema.xml:143 +#: misc/org.yorba.shotwell.gschema.xml:144 msgid "The width, in pixels, of the sidebar" msgstr "Šířka (v pixelech) postranního panelu" -#: misc/org.yorba.shotwell.gschema.xml:148 +#: misc/org.yorba.shotwell.gschema.xml:149 msgid "photo thumbnail scale" msgstr "Měřítko miniatury fotografie" -#: misc/org.yorba.shotwell.gschema.xml:149 +#: misc/org.yorba.shotwell.gschema.xml:150 msgid "The scale of photo thumbnails, ranging from 72 to 360." msgstr "Na kolik škálovat miniatury fotografií, v rozsahu od 72 do 360." -#: misc/org.yorba.shotwell.gschema.xml:154 +#: misc/org.yorba.shotwell.gschema.xml:155 msgid "pin toolbar state" msgstr "Stav připíchnutí nástrojové lišty" -#: misc/org.yorba.shotwell.gschema.xml:155 +#: misc/org.yorba.shotwell.gschema.xml:156 msgid "Pin toolbar in fullscreen, or not." msgstr "Zda v režimu celé obrazovky připíchout nástrojovou lištu či nikoliv." -#: misc/org.yorba.shotwell.gschema.xml:160 +#: misc/org.yorba.shotwell.gschema.xml:161 msgid "background color" msgstr "Barva pozadí" -#: misc/org.yorba.shotwell.gschema.xml:161 +#: misc/org.yorba.shotwell.gschema.xml:162 msgid "A grayscale color for use as the background color." msgstr "Odstín šedé, který se má použít jako barva pozadí." -#: misc/org.yorba.shotwell.gschema.xml:166 -msgid "Selection state of \"hide photos\" option" +#: misc/org.yorba.shotwell.gschema.xml:167 +msgid "Selection state of “hide photos” option" msgstr "Stav volby „Skrýt fotky“" -#: misc/org.yorba.shotwell.gschema.xml:167 +#: misc/org.yorba.shotwell.gschema.xml:168 msgid "" -"Last used selection state of the \"hide photos already imported\" option in " +"Last used selection state of the “hide photos already imported” option in " "the import page." msgstr "" "Poslední použitý stav volby „Skrýt již naimportované fotky“ na stránce " "importu." -#: misc/org.yorba.shotwell.gschema.xml:174 +#: misc/org.yorba.shotwell.gschema.xml:175 msgid "delay" msgstr "Doba zobrazení" -#: misc/org.yorba.shotwell.gschema.xml:175 +#: misc/org.yorba.shotwell.gschema.xml:176 msgid "Delay (in seconds) between photos in the slideshow." msgstr "Prodleva (v sekundách) mezi jednotlivými fotografiemi při prezentaci." -#: misc/org.yorba.shotwell.gschema.xml:180 +#: misc/org.yorba.shotwell.gschema.xml:181 msgid "transition delay" msgstr "Trvání přechodu" -#: misc/org.yorba.shotwell.gschema.xml:181 +#: misc/org.yorba.shotwell.gschema.xml:182 msgid "" "The time (in seconds) that a transition runs between photos in a slideshow" msgstr "" "Čas (v sekundách), po který běží přechod mezi jednotlivými fotografiemi při " "promítání." -#: misc/org.yorba.shotwell.gschema.xml:186 +#: misc/org.yorba.shotwell.gschema.xml:187 msgid "transition effect id" msgstr "ID přechodového efektu" -#: misc/org.yorba.shotwell.gschema.xml:187 +#: misc/org.yorba.shotwell.gschema.xml:188 msgid "" "The name of the transition effect that will be used between photos when " "running a slideshow" @@ -523,67 +523,67 @@ msgstr "" "Název přechodového efektu, který bude použit mezi jednotlivými fotografiemi " "při promítání." -#: misc/org.yorba.shotwell.gschema.xml:192 +#: misc/org.yorba.shotwell.gschema.xml:193 msgid "Show title" msgstr "Zobrazovat název" -#: misc/org.yorba.shotwell.gschema.xml:193 +#: misc/org.yorba.shotwell.gschema.xml:194 msgid "Whether to show the title of a photo during the slideshow" msgstr "Zda při promítání prezentace zobrazovat název fotografie." -#: misc/org.yorba.shotwell.gschema.xml:200 +#: misc/org.yorba.shotwell.gschema.xml:201 msgid "maximize library window" msgstr "Maximalizace okna knihovny" -#: misc/org.yorba.shotwell.gschema.xml:201 +#: misc/org.yorba.shotwell.gschema.xml:202 msgid "True if library application is maximized, false otherwise." msgstr "Zapnuto, když má být aplikační okno knihovny maximalizováno." -#: misc/org.yorba.shotwell.gschema.xml:206 +#: misc/org.yorba.shotwell.gschema.xml:207 msgid "width of library window" msgstr "Šířka okna knihovny" -#: misc/org.yorba.shotwell.gschema.xml:207 +#: misc/org.yorba.shotwell.gschema.xml:208 msgid "The last recorded width of the library application window." msgstr "Poslední zaznamenaná šířka aplikačního okna knihovny." -#: misc/org.yorba.shotwell.gschema.xml:212 +#: misc/org.yorba.shotwell.gschema.xml:213 msgid "height of library window" msgstr "Výška okna knihovny" -#: misc/org.yorba.shotwell.gschema.xml:213 +#: misc/org.yorba.shotwell.gschema.xml:214 msgid "The last recorded height of the library application window." msgstr "Poslední zaznamenaná výška aplikačního okna knihovny." -#: misc/org.yorba.shotwell.gschema.xml:218 +#: misc/org.yorba.shotwell.gschema.xml:219 msgid "maximize direct-edit window" msgstr "Maximalizace okna pro přímé úpravy" -#: misc/org.yorba.shotwell.gschema.xml:219 +#: misc/org.yorba.shotwell.gschema.xml:220 msgid "True if direct-edit application is maximized, false otherwise." msgstr "Zapnuto, když má být aplikační okno pro přímé úpravy maximalizováno." -#: misc/org.yorba.shotwell.gschema.xml:224 +#: misc/org.yorba.shotwell.gschema.xml:225 msgid "width of direct-edit window" msgstr "Šířka okna pro přímé úpravy" -#: misc/org.yorba.shotwell.gschema.xml:225 +#: misc/org.yorba.shotwell.gschema.xml:226 msgid "The last recorded width of the direct-edit application window." msgstr "Poslední zaznamenaná šířka aplikačního okna pro přímé úpravy." -#: misc/org.yorba.shotwell.gschema.xml:230 +#: misc/org.yorba.shotwell.gschema.xml:231 msgid "height of direct-edit window" msgstr "Výška okna pro přímé úpravy" -#: misc/org.yorba.shotwell.gschema.xml:231 +#: misc/org.yorba.shotwell.gschema.xml:232 msgid "The last recorded height of the direct-edit application window." msgstr "Poslední zaznamenaná výška aplikačního okna pro přímé úpravy." -#: misc/org.yorba.shotwell.gschema.xml:236 +#: misc/org.yorba.shotwell.gschema.xml:237 msgid "sidebar divider position" msgstr "Pozice dělicí čáry postranního panelu" -#: misc/org.yorba.shotwell.gschema.xml:237 +#: misc/org.yorba.shotwell.gschema.xml:238 msgid "" "The last recorded position of the divider between the sidebar and view in " "library application window." @@ -591,30 +591,30 @@ msgstr "" "Poslední zaznamenaná pozice dělicí čáry mezi postranním panelem a zobrazením " "v aplikačním okně knihovny." -#: misc/org.yorba.shotwell.gschema.xml:244 +#: misc/org.yorba.shotwell.gschema.xml:245 msgid "import directory" msgstr "Složka pro import" -#: misc/org.yorba.shotwell.gschema.xml:245 +#: misc/org.yorba.shotwell.gschema.xml:246 msgid "Directory in which imported photo files are placed." msgstr "Složka, do které jsou umístěny naimportované soubory s fotografiemi." -#: misc/org.yorba.shotwell.gschema.xml:250 +#: misc/org.yorba.shotwell.gschema.xml:251 msgid "watch library directory for new files" msgstr "Sledovat složku knihovny ohledně nových souborů" -#: misc/org.yorba.shotwell.gschema.xml:251 +#: misc/org.yorba.shotwell.gschema.xml:252 msgid "" "If true, files added to the library directory are automatically imported." msgstr "" "Když je zapnuto, jsou soubory přidané do složky knihovny automaticky " "importovány." -#: misc/org.yorba.shotwell.gschema.xml:256 +#: misc/org.yorba.shotwell.gschema.xml:257 msgid "write metadata to master files" msgstr "Zapisovat metadata do hlavních souborů" -#: misc/org.yorba.shotwell.gschema.xml:257 +#: misc/org.yorba.shotwell.gschema.xml:258 msgid "" "If true, changes to metadata (tags, titles, etc.) are written to the master " "photo file." @@ -622,11 +622,11 @@ msgstr "" "Kdy jsou zapnuto, jsou změněná metadata (štítky, názvy apod.) zapisována do " "hlavního souboru s fotografií." -#: misc/org.yorba.shotwell.gschema.xml:262 +#: misc/org.yorba.shotwell.gschema.xml:263 msgid "use lowercase filenames" msgstr "Používat názvy souborů malými písmeny" -#: misc/org.yorba.shotwell.gschema.xml:263 +#: misc/org.yorba.shotwell.gschema.xml:264 msgid "" "If true, Shotwell will convert all filenames to lowercase when importing " "photo files" @@ -634,11 +634,11 @@ msgstr "" "Když je zapnuto, převede Shotwell při importu fotografií všechny názvy " "souborů na malá písmena." -#: misc/org.yorba.shotwell.gschema.xml:268 +#: misc/org.yorba.shotwell.gschema.xml:269 msgid "directory pattern" msgstr "Vzor složky" -#: misc/org.yorba.shotwell.gschema.xml:269 +#: misc/org.yorba.shotwell.gschema.xml:270 msgid "" "A string encoding a naming pattern that will be used to name photo " "directories on import." @@ -646,11 +646,11 @@ msgstr "" "Řetězce, ve kterém je ukryt vzor pro pojmenování složek s fotografiemi při " "jejich importu." -#: misc/org.yorba.shotwell.gschema.xml:274 +#: misc/org.yorba.shotwell.gschema.xml:275 msgid "directory pattern custom" msgstr "Vlastní vzor složky" -#: misc/org.yorba.shotwell.gschema.xml:275 +#: misc/org.yorba.shotwell.gschema.xml:276 msgid "" "A string encoding a custom naming pattern that will be used to name photo " "directories on import." @@ -658,29 +658,29 @@ msgstr "" "Řetězce, ve kterém je ukryt vzor pro vlastní pojmenování složek s " "fotografiemi při jejich importu." -#: misc/org.yorba.shotwell.gschema.xml:280 +#: misc/org.yorba.shotwell.gschema.xml:281 msgid "RAW developer default" msgstr "Výchozí vývojka RAW" -#: misc/org.yorba.shotwell.gschema.xml:281 +#: misc/org.yorba.shotwell.gschema.xml:282 msgid "Default option for which RAW developer Shotwell will use." msgstr "Výchozí volba určující, kterou vývojku RAW má Shotwell používat." -#: misc/org.yorba.shotwell.gschema.xml:288 +#: misc/org.yorba.shotwell.gschema.xml:289 msgid "Most-recently-used crop aspect ratio menu choice." msgstr "Poslední použitá volba z nabídky pro poměr stran pro ořez" -#: misc/org.yorba.shotwell.gschema.xml:289 +#: misc/org.yorba.shotwell.gschema.xml:290 msgid "A numeric code representing the last crop menu choice the user made." msgstr "" "Číselná hodnota představující poslední volbu provedenou uživatelem v nabídce " "pro ořez." -#: misc/org.yorba.shotwell.gschema.xml:293 -msgid "Most-recently-used crop custom aspect ratio's numerator." +#: misc/org.yorba.shotwell.gschema.xml:294 +msgid "Most-recently-used crop custom aspect ratio’s numerator." msgstr "Čitatel z posledního použitého vlastního poměru stran pro ořez" -#: misc/org.yorba.shotwell.gschema.xml:294 +#: misc/org.yorba.shotwell.gschema.xml:295 msgid "" "A nonzero, positive integer representing the width part of the last custom " "crop ratio the user entered." @@ -688,11 +688,11 @@ msgstr "" "Nenulové celé kladné číslo představující šířku ve vlastní poměru stran " "zadaném uživatelem pro ořez." -#: misc/org.yorba.shotwell.gschema.xml:298 -msgid "Most-recently-used crop custom aspect ratio's denominator." +#: misc/org.yorba.shotwell.gschema.xml:299 +msgid "Most-recently-used crop custom aspect ratio’s denominator." msgstr "Jmenovatel z posledního použitého vlastního poměru stran pro ořez" -#: misc/org.yorba.shotwell.gschema.xml:299 +#: misc/org.yorba.shotwell.gschema.xml:300 msgid "" "A nonzero, positive integer representing the height part of the last custom " "crop ratio the user entered." @@ -700,77 +700,123 @@ msgstr "" "Nenulové celé kladné číslo představující výšku ve vlastní poměru stran " "zadaném uživatelem pro ořez." -#: misc/org.yorba.shotwell.gschema.xml:306 +#: misc/org.yorba.shotwell.gschema.xml:307 msgid "external photo editor" msgstr "Externí editor fotografií" -#: misc/org.yorba.shotwell.gschema.xml:307 +#: misc/org.yorba.shotwell.gschema.xml:308 msgid "External application used to edit photos." msgstr "Externí aplikace používaná pro úpravy fotografií." -#: misc/org.yorba.shotwell.gschema.xml:312 +#: misc/org.yorba.shotwell.gschema.xml:313 msgid "external raw editor" msgstr "Externí editor RAW" -#: misc/org.yorba.shotwell.gschema.xml:313 +#: misc/org.yorba.shotwell.gschema.xml:314 msgid "External application used to edit RAW photos." msgstr "Externí aplikace používaná pro úpravy fotografií v surovém formátu." -#: misc/org.yorba.shotwell.gschema.xml:320 +#: misc/org.yorba.shotwell.gschema.xml:352 +#: misc/org.yorba.shotwell.gschema.xml:353 +msgid "Setting in export dialog: how to trim images" +msgstr "Nastavení v dialogovém okně pro export: jak ořezávat obrázky" + +#: misc/org.yorba.shotwell.gschema.xml:358 +msgid "export metadata" +msgstr "Exportovat metadata" + +#: misc/org.yorba.shotwell.gschema.xml:359 +msgid "Setting in export dialog: option to export metadata" +msgstr "Nastavení v dialogovém okně pro export: volba exportu metadat" + +#: misc/org.yorba.shotwell.gschema.xml:364 +msgid "format setting, special value" +msgstr "Nastavení formátu, speciální hodnota" + +#: misc/org.yorba.shotwell.gschema.xml:365 +msgid "Setting in export dialog: format setting, special value" +msgstr "" +"Nastavení v dialogovém okně pro export: nastavení formátu, speciální hodnota" + +#: misc/org.yorba.shotwell.gschema.xml:370 +msgid "format setting, type value" +msgstr "Nastaven formátu, typ hodnoty" + +#: misc/org.yorba.shotwell.gschema.xml:371 +msgid "Setting in export dialog: format setting, type value" +msgstr "Nastavení v dialogovém okně pro export: nastavení formátu, typ hodnoty" + +#: misc/org.yorba.shotwell.gschema.xml:376 +msgid "JPEG quality option" +msgstr "Volba kvality JPEG" + +#: misc/org.yorba.shotwell.gschema.xml:377 +msgid "Setting in export dialog: jpeg quality option" +msgstr "Nastavení v dialogovém okně pro export: volba kvality jpeg" + +#: misc/org.yorba.shotwell.gschema.xml:382 +msgid "maximal size of image" +msgstr "Maximální velikost obrázku" + +#: misc/org.yorba.shotwell.gschema.xml:383 +msgid "Setting in export dialog: maximal size of image" +msgstr "Nastavení v dialogovém okně pro export: maximální velikost obrázku" + +#: misc/org.yorba.shotwell.gschema.xml:390 msgid "last used publishing service" msgstr "Poslední použitá služba pro zveřejňování" -#: misc/org.yorba.shotwell.gschema.xml:321 -#: misc/org.yorba.shotwell.gschema.xml:327 +#: misc/org.yorba.shotwell.gschema.xml:391 +#: misc/org.yorba.shotwell.gschema.xml:397 msgid "" "A numeric code representing the last service to which photos were published" msgstr "" "Číselná hodnota představující službu použitou jako poslední pro zveřejnění " "fotografií." -#: misc/org.yorba.shotwell.gschema.xml:326 +#: misc/org.yorba.shotwell.gschema.xml:396 msgid "default publishing service" msgstr "Výchozí zveřejňovací služba" -#: misc/org.yorba.shotwell.gschema.xml:340 +#: misc/org.yorba.shotwell.gschema.xml:410 msgid "access token" msgstr "Přístupový tiket" -#: misc/org.yorba.shotwell.gschema.xml:341 +#: misc/org.yorba.shotwell.gschema.xml:411 msgid "Facebook OAuth token for the currently logged in session, if any" msgstr "" "Tiket OAuth pro aktuálně přihlášené sezení na Facebooku, pokud existuje." -#: misc/org.yorba.shotwell.gschema.xml:346 +#: misc/org.yorba.shotwell.gschema.xml:416 msgid "user i.d." msgstr "ID uživatele" -#: misc/org.yorba.shotwell.gschema.xml:347 +#: misc/org.yorba.shotwell.gschema.xml:417 msgid "Facebook user i.d. for the currently logged in user, if any" msgstr "" "ID uživatele Facebooku pro právě přihlášeného uživatele, pokud existuje." -#: misc/org.yorba.shotwell.gschema.xml:352 +#: misc/org.yorba.shotwell.gschema.xml:422 msgid "user name" msgstr "Uživatelské jméno" -#: misc/org.yorba.shotwell.gschema.xml:353 +#: misc/org.yorba.shotwell.gschema.xml:423 msgid "The name of the currently logged in Facebook user, if any" msgstr "Jméno právě přihlášeného uživatele na Facebook, pokud existuje." -#: misc/org.yorba.shotwell.gschema.xml:358 -#: misc/org.yorba.shotwell.gschema.xml:390 +#: misc/org.yorba.shotwell.gschema.xml:428 +#: misc/org.yorba.shotwell.gschema.xml:460 msgid "default size code" msgstr "Výchozí velikost" -#: misc/org.yorba.shotwell.gschema.xml:359 +#: misc/org.yorba.shotwell.gschema.xml:429 msgid "" "A numeric code representing the default size for photos published to Facebook" msgstr "" "Číselná hodnota představující výchozí velikost pro fotografie nahrávané na " "Facebook." -#: misc/org.yorba.shotwell.gschema.xml:365 +#: misc/org.yorba.shotwell.gschema.xml:435 msgid "" "Whether images being uploaded to Facebook should have their metadata removed " "first" @@ -778,21 +824,21 @@ msgstr "" "Zda se mají u obrázků nahrávaných na Facebook nejdříve odstranit jejich " "metadata." -#: misc/org.yorba.shotwell.gschema.xml:372 +#: misc/org.yorba.shotwell.gschema.xml:442 msgid "OAuth Access Phase Token" msgstr "Tiket pro přístupovou fázi OAuth" -#: misc/org.yorba.shotwell.gschema.xml:373 +#: misc/org.yorba.shotwell.gschema.xml:443 msgid "The authorization token for the currently logged in Flickr user, if any" msgstr "" "Ověřovací tiket pro právě přihlášeného uživatele do služby Flickr, pokud " "existuje." -#: misc/org.yorba.shotwell.gschema.xml:378 +#: misc/org.yorba.shotwell.gschema.xml:448 msgid "OAuth Access Phase Token Secret" msgstr "Tajemství tiketu pro přístupovou fázi OAuth" -#: misc/org.yorba.shotwell.gschema.xml:379 +#: misc/org.yorba.shotwell.gschema.xml:449 msgid "" "The cryptographic secret used to sign requests against the authorization " "token for the currently logged in Flickr user, if any" @@ -800,24 +846,24 @@ msgstr "" "Kryptografické tajemství použité pro požadavek na podpis vůči ověřovacímu " "tiketu pro právě přihlášeného uživatele do služby Flickr, pokud existuje." -#: misc/org.yorba.shotwell.gschema.xml:385 +#: misc/org.yorba.shotwell.gschema.xml:455 msgid "The user name of the currently logged in Flickr user, if any" msgstr "" "Uživatelské jméno z aktuálního přihlášení uživatele na Flickr, pokud " "existuje." -#: misc/org.yorba.shotwell.gschema.xml:391 +#: misc/org.yorba.shotwell.gschema.xml:461 msgid "" "A numeric code representing the default size for photos published to Flickr" msgstr "" "Číselná hodnota představující výchozí velikost pro fotografie nahrávané na " "Flickr." -#: misc/org.yorba.shotwell.gschema.xml:396 +#: misc/org.yorba.shotwell.gschema.xml:466 msgid "default visibility" msgstr "Výchozí viditelnost" -#: misc/org.yorba.shotwell.gschema.xml:397 +#: misc/org.yorba.shotwell.gschema.xml:467 msgid "" "A numeric code representing the default visibility for photos published to " "Flickr" @@ -825,7 +871,7 @@ msgstr "" "Číselná hodnota představující výchozí viditelnost pro fotografie nahrávané " "na Flickr." -#: misc/org.yorba.shotwell.gschema.xml:403 +#: misc/org.yorba.shotwell.gschema.xml:473 msgid "" "Whether images being uploaded to Flickr should have their metadata removed " "first" @@ -833,12 +879,12 @@ msgstr "" "Zda se mají u obrázků nahrávaných na Flickr nejdříve odstranit jejich " "metadata." -#: misc/org.yorba.shotwell.gschema.xml:410 -#: misc/org.yorba.shotwell.gschema.xml:542 +#: misc/org.yorba.shotwell.gschema.xml:480 +#: misc/org.yorba.shotwell.gschema.xml:612 msgid "refresh token" msgstr "Aktualizační tiket" -#: misc/org.yorba.shotwell.gschema.xml:411 +#: misc/org.yorba.shotwell.gschema.xml:481 msgid "" "The OAuth token used to refresh the Picasa Web Albums session for the " "currently logged in user, if any." @@ -846,7 +892,7 @@ msgstr "" "Tiket protokolu OAuth používaný pro občerstvení sezení služby Picasa Web " "Albums pro právě přihlášeného uživatele, pokud existuje." -#: misc/org.yorba.shotwell.gschema.xml:417 +#: misc/org.yorba.shotwell.gschema.xml:487 msgid "" "A numeric code representing the default size for photos uploaded to Picasa " "Web Albums" @@ -854,19 +900,19 @@ msgstr "" "Číselná hodnota představující výchozí velikost fotografií nahrávaných na " "Picasa Web Album." -#: misc/org.yorba.shotwell.gschema.xml:422 -#: misc/org.yorba.shotwell.gschema.xml:516 +#: misc/org.yorba.shotwell.gschema.xml:492 +#: misc/org.yorba.shotwell.gschema.xml:586 msgid "last album" msgstr "Poslední album" -#: misc/org.yorba.shotwell.gschema.xml:423 -#: misc/org.yorba.shotwell.gschema.xml:517 +#: misc/org.yorba.shotwell.gschema.xml:493 +#: misc/org.yorba.shotwell.gschema.xml:587 msgid "The name of the last album the user published photos to, if any" msgstr "" "Název posledního alba, pokud existuje, na které uživatel zveřejnil " "fotografie." -#: misc/org.yorba.shotwell.gschema.xml:429 +#: misc/org.yorba.shotwell.gschema.xml:499 msgid "" "Whether images being uploaded to Picasa should have their metadata removed " "first" @@ -874,47 +920,47 @@ msgstr "" "Zda se mají u obrázků nahrávaných do služby Picasa nejdříve odstranit " "metadata." -#: misc/org.yorba.shotwell.gschema.xml:436 +#: misc/org.yorba.shotwell.gschema.xml:506 msgid "Piwigo URL" msgstr "Adresa URL na Piwigo" -#: misc/org.yorba.shotwell.gschema.xml:437 +#: misc/org.yorba.shotwell.gschema.xml:507 msgid "URL of the Piwigo server." msgstr "Adresa URL vedoucí na server Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:443 +#: misc/org.yorba.shotwell.gschema.xml:513 msgid "Piwigo username, if logged in." msgstr "Uživatelské jméno na Piwigo, pokud je uživatel přihlášen." -#: misc/org.yorba.shotwell.gschema.xml:448 +#: misc/org.yorba.shotwell.gschema.xml:518 msgid "password" msgstr "Heslo" -#: misc/org.yorba.shotwell.gschema.xml:449 +#: misc/org.yorba.shotwell.gschema.xml:519 msgid "Piwigo password, if logged in." msgstr "Heslo na Piwigo, pokud je uživatel přihlášen." -#: misc/org.yorba.shotwell.gschema.xml:454 +#: misc/org.yorba.shotwell.gschema.xml:524 msgid "remember password" msgstr "Pamatovat si heslo" -#: misc/org.yorba.shotwell.gschema.xml:455 +#: misc/org.yorba.shotwell.gschema.xml:525 msgid "If true, remember the Piwigo password." msgstr "Když je zapnuto, bude se pamatovat heslo pro Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:461 +#: misc/org.yorba.shotwell.gschema.xml:531 msgid "The last selected Piwigo category." msgstr "Naposledy vybraná kategorie na Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:466 +#: misc/org.yorba.shotwell.gschema.xml:536 msgid "last permission level" msgstr "Poslední úroveň oprávnění" -#: misc/org.yorba.shotwell.gschema.xml:467 +#: misc/org.yorba.shotwell.gschema.xml:537 msgid "The last chosen Piwigo permission level." msgstr "Naposledy zvolená úroveň oprávnění na Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:473 +#: misc/org.yorba.shotwell.gschema.xml:543 msgid "" "A numeric code representing the last photo size preset used when publishing " "to Piwigo." @@ -922,7 +968,7 @@ msgstr "" "Číselná hodnota představující poslední přednastavenou velikost fotografie " "použitou při nahrávání na Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:479 +#: misc/org.yorba.shotwell.gschema.xml:549 msgid "" "Whether images being uploaded to Piwigo should have their metadata removed " "first" @@ -930,14 +976,14 @@ msgstr "" "Zda se mají u obrázků nahrávaných na Piwigo nejdříve odstranit jejich " "metadata." -#: misc/org.yorba.shotwell.gschema.xml:484 +#: misc/org.yorba.shotwell.gschema.xml:554 msgid "" "if title is set and comment unset, use title as comment for uploads to Piwigo" msgstr "" "Když je nastaven název a není nastaven komentář použít název jako komentář " "pro nahrání na Piwigo" -#: misc/org.yorba.shotwell.gschema.xml:485 +#: misc/org.yorba.shotwell.gschema.xml:555 msgid "" "Whether images being uploaded to Piwigo should have their comment set from " "the title if title is set and comment unset" @@ -945,11 +991,11 @@ msgstr "" "Zda se má u obrázků nahrávaných na Piwigo, v případě že nemají nastavený " "komentář, nastavit komentář podle názvu, pokud ten nastavený je." -#: misc/org.yorba.shotwell.gschema.xml:490 +#: misc/org.yorba.shotwell.gschema.xml:560 msgid "do not upload tags when uploading to Piwigo" msgstr "Při nahrávání na Piwigo nenahrávat štítky" -#: misc/org.yorba.shotwell.gschema.xml:491 +#: misc/org.yorba.shotwell.gschema.xml:561 msgid "" "Whether images being uploaded to Piwigo should have their tags removed on " "upload, such that these tags will not appear on the remote Piwigo server." @@ -957,27 +1003,27 @@ msgstr "" "Zda se mají u obrázků nahrávaných na Piwigo nejdříve odstranit jejich " "štítky, takže se pak tyto štítky neobjeví na vzdáleném serveru Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:499 +#: misc/org.yorba.shotwell.gschema.xml:569 msgid "Gallery3 username" msgstr "Uživatelské jméno pro Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:504 +#: misc/org.yorba.shotwell.gschema.xml:574 msgid "API key" msgstr "Klíč k API" -#: misc/org.yorba.shotwell.gschema.xml:505 +#: misc/org.yorba.shotwell.gschema.xml:575 msgid "Gallery3 API key" msgstr "Klíč k API služby Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:510 +#: misc/org.yorba.shotwell.gschema.xml:580 msgid "URL" msgstr "Adresa URL" -#: misc/org.yorba.shotwell.gschema.xml:511 +#: misc/org.yorba.shotwell.gschema.xml:581 msgid "Gallery3 site URL" msgstr "Adresa URL webu Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:523 +#: misc/org.yorba.shotwell.gschema.xml:593 msgid "" "Indicates whether images being uploaded to Gallery3 should have their " "metadata removed first" @@ -985,19 +1031,19 @@ msgstr "" "Udává, zda se mají u obrázků nahrávaných na Gallery3 nejdříve odstranit " "jejich metadata." -#: misc/org.yorba.shotwell.gschema.xml:528 +#: misc/org.yorba.shotwell.gschema.xml:598 msgid "scaling constraint of uploaded picture" msgstr "Škálovací omezení nahrávaného obrázku" -#: misc/org.yorba.shotwell.gschema.xml:529 +#: misc/org.yorba.shotwell.gschema.xml:599 msgid "The scaling constraint ID of the picture to be uploaded" msgstr "ID škálovacího omezení pro nahrávaný obrázek." -#: misc/org.yorba.shotwell.gschema.xml:534 +#: misc/org.yorba.shotwell.gschema.xml:604 msgid "pixels of the major axis uploaded picture" msgstr "Pixely na hlavní ose nahrávaného obrázku" -#: misc/org.yorba.shotwell.gschema.xml:535 +#: misc/org.yorba.shotwell.gschema.xml:605 msgid "" "The pixels of the major axis of the picture to be uploaded; used only if " "scaling-constraint-id is an appropriate value" @@ -1005,7 +1051,7 @@ msgstr "" "Počet pixelů na hlavní ose obrázku, který bude nahrán. Použije se, jen když " "má klíč scaling-constraint-id příslušnou hodnotu." -#: misc/org.yorba.shotwell.gschema.xml:543 +#: misc/org.yorba.shotwell.gschema.xml:613 msgid "" "The OAuth token used to refresh the YouTube session for the currently logged " "in user, if any." @@ -1013,32 +1059,32 @@ msgstr "" "Tiket protokolu OAuth používaný pro občerstvení sezení služby YouTube pro " "právě přihlášeného uživatele, pokud existuje." -#: misc/org.yorba.shotwell.gschema.xml:550 +#: misc/org.yorba.shotwell.gschema.xml:620 msgid "last used import service" msgstr "Poslední použitá služba pro import" -#: misc/org.yorba.shotwell.gschema.xml:551 +#: misc/org.yorba.shotwell.gschema.xml:621 msgid "" "A numeric code representing the last service from which photos were imported" msgstr "" "Číselná hodnota představující poslední použitou službu, ze které byly " "importovány fotografie." -#: misc/org.yorba.shotwell.gschema.xml:558 +#: misc/org.yorba.shotwell.gschema.xml:628 msgid "interpreter state cookie" msgstr "Cookie stavu interpretru" -#: misc/org.yorba.shotwell.gschema.xml:559 +#: misc/org.yorba.shotwell.gschema.xml:629 msgid "" "A numeric code that captures the state of the GStreamer plug-in environment" msgstr "" "Číselná hodnota, která zachycuje stav prostředí zásuvného modulu GStreamer." -#: misc/org.yorba.shotwell.gschema.xml:566 +#: misc/org.yorba.shotwell.gschema.xml:636 msgid "content layout mode" msgstr "Režim rozvržení obsahu" -#: misc/org.yorba.shotwell.gschema.xml:567 +#: misc/org.yorba.shotwell.gschema.xml:637 msgid "" "A numeric code that describes how photos are laid out on the page during " "printing" @@ -1046,35 +1092,35 @@ msgstr "" "Číselná hodnota, která popisuje, jak jsou fotografie při tisku rozvržené na " "papíře." -#: misc/org.yorba.shotwell.gschema.xml:572 +#: misc/org.yorba.shotwell.gschema.xml:642 msgid "content ppi" msgstr "PPI obsahu" -#: misc/org.yorba.shotwell.gschema.xml:573 +#: misc/org.yorba.shotwell.gschema.xml:643 msgid "The number of pixels per inch (ppi) sent to the printer during printing" msgstr "Počet pixelů na palec (PPI) posílaných při tisku do tiskárny." -#: misc/org.yorba.shotwell.gschema.xml:578 +#: misc/org.yorba.shotwell.gschema.xml:648 msgid "content width" msgstr "Šířka obsahu" -#: misc/org.yorba.shotwell.gschema.xml:579 +#: misc/org.yorba.shotwell.gschema.xml:649 msgid "The width of the printed emulsion on the page when printing" msgstr "Šířka fotografie při tisku stránky." -#: misc/org.yorba.shotwell.gschema.xml:584 +#: misc/org.yorba.shotwell.gschema.xml:654 msgid "content height" msgstr "Výška obsahu" -#: misc/org.yorba.shotwell.gschema.xml:585 +#: misc/org.yorba.shotwell.gschema.xml:655 msgid "The height of the printed emulsion on the page when printing" msgstr "Výška fotografie při tisku stránky." -#: misc/org.yorba.shotwell.gschema.xml:590 +#: misc/org.yorba.shotwell.gschema.xml:660 msgid "content units" msgstr "Jednotky obsahu" -#: misc/org.yorba.shotwell.gschema.xml:591 +#: misc/org.yorba.shotwell.gschema.xml:661 msgid "" "A numeric code representing unit of measure (inches or centimeters) used " "when printing" @@ -1082,11 +1128,11 @@ msgstr "" "Číselná hodnota představující měrné jednotky (palce nebo centimetry) použité " "při tisku." -#: misc/org.yorba.shotwell.gschema.xml:596 +#: misc/org.yorba.shotwell.gschema.xml:666 msgid "images per page code" msgstr "Obrázků na stránku" -#: misc/org.yorba.shotwell.gschema.xml:597 +#: misc/org.yorba.shotwell.gschema.xml:667 msgid "" "A numeric code representing the currently selected images per page mode used " "when printing" @@ -1094,22 +1140,22 @@ msgstr "" "Číselná hodnota představující vybraný režim počtu obrázků na stránku při " "tisku." -#: misc/org.yorba.shotwell.gschema.xml:602 +#: misc/org.yorba.shotwell.gschema.xml:672 msgid "size selection" msgstr "Vybraná velikost" -#: misc/org.yorba.shotwell.gschema.xml:603 +#: misc/org.yorba.shotwell.gschema.xml:673 msgid "" "The index of the current print size in a pre-defined list of standard sizes" msgstr "" "Index aktuální velikosti tisku odkazující do předdefinovaného seznamu " "standardních velikostí." -#: misc/org.yorba.shotwell.gschema.xml:608 +#: misc/org.yorba.shotwell.gschema.xml:678 msgid "match aspect ratio" msgstr "Dodržet poměr stran" -#: misc/org.yorba.shotwell.gschema.xml:609 +#: misc/org.yorba.shotwell.gschema.xml:679 msgid "" "Determines whether custom print sizes must match the aspect ratio of the " "original photo" @@ -1117,215 +1163,215 @@ msgstr "" "Určuje, zda vlastní velikosti tisku musí vyhovovat poměru stran originální " "fotografie." -#: misc/org.yorba.shotwell.gschema.xml:614 +#: misc/org.yorba.shotwell.gschema.xml:684 msgid "print titles" msgstr "Tisknout názvy" -#: misc/org.yorba.shotwell.gschema.xml:615 +#: misc/org.yorba.shotwell.gschema.xml:685 msgid "" "True if the title of a photo should be printed when the photo is printed, " "false otherwise." msgstr "Zapnuto, když má být při tisku fotografie vytištěn i její název." -#: misc/org.yorba.shotwell.gschema.xml:620 +#: misc/org.yorba.shotwell.gschema.xml:690 msgid "titles font" msgstr "Font pro názvy" -#: misc/org.yorba.shotwell.gschema.xml:621 +#: misc/org.yorba.shotwell.gschema.xml:691 msgid "The name of the font to use for photo titles when they are printed." msgstr "Název fontu požívaného při tisku pro názvy fotografií." -#: misc/org.yorba.shotwell.gschema.xml:632 +#: misc/org.yorba.shotwell.gschema.xml:702 msgid "enable facebook publishing plugin" msgstr "Povolit zásuvný modul Publikování na Facebooku" -#: misc/org.yorba.shotwell.gschema.xml:633 +#: misc/org.yorba.shotwell.gschema.xml:703 msgid "True if the Facebook publishing plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul pro publikování na službě Facebook." -#: misc/org.yorba.shotwell.gschema.xml:638 +#: misc/org.yorba.shotwell.gschema.xml:708 msgid "enable flickr publishing plugin" msgstr "Povolit zásuvný modul Publikování na Flickru" -#: misc/org.yorba.shotwell.gschema.xml:639 +#: misc/org.yorba.shotwell.gschema.xml:709 msgid "True if the Flickr publishing plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul pro publikování na službě Flickr." -#: misc/org.yorba.shotwell.gschema.xml:644 +#: misc/org.yorba.shotwell.gschema.xml:714 msgid "enable picasa publishing plugin" msgstr "Povolit zásuvný modul Publikování na Picasa" -#: misc/org.yorba.shotwell.gschema.xml:645 +#: misc/org.yorba.shotwell.gschema.xml:715 msgid "" "True if the Picasa Web Albums publishing plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul pro publikování na službě Picasa " "Web Albums." -#: misc/org.yorba.shotwell.gschema.xml:650 +#: misc/org.yorba.shotwell.gschema.xml:720 msgid "enable youtube publishing plugin" msgstr "Povolit zásuvný modul Publikování na YouTube" -#: misc/org.yorba.shotwell.gschema.xml:651 +#: misc/org.yorba.shotwell.gschema.xml:721 msgid "True if the YouTube publishing plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul pro publikování na službě YouTube." -#: misc/org.yorba.shotwell.gschema.xml:656 +#: misc/org.yorba.shotwell.gschema.xml:726 msgid "enable piwigo publishing plugin" msgstr "Povolit zásuvný modul Publikování na Piwigo" -#: misc/org.yorba.shotwell.gschema.xml:657 +#: misc/org.yorba.shotwell.gschema.xml:727 msgid "True if the Piwigo publishing plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul pro publikování na službě Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:662 +#: misc/org.yorba.shotwell.gschema.xml:732 msgid "enable yandex publishing plugin" msgstr "Povolit zásuvný modul Publikování na Yandexu" -#: misc/org.yorba.shotwell.gschema.xml:663 +#: misc/org.yorba.shotwell.gschema.xml:733 msgid "True if the Yandex.Fotki publishing plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul pro publikování na službě Yandex." "Fotki." -#: misc/org.yorba.shotwell.gschema.xml:668 +#: misc/org.yorba.shotwell.gschema.xml:738 msgid "enable tumblr publishing plugin" msgstr "Povolit zásuvný modul Publikování na Tumblr" -#: misc/org.yorba.shotwell.gschema.xml:669 +#: misc/org.yorba.shotwell.gschema.xml:739 msgid "True if the Tumblr publishing plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul pro publikování na službě Tumblr." -#: misc/org.yorba.shotwell.gschema.xml:674 +#: misc/org.yorba.shotwell.gschema.xml:744 msgid "enable rajce publishing plugin" msgstr "Povolit zásuvný modul Publikování na Rajčeti" -#: misc/org.yorba.shotwell.gschema.xml:675 +#: misc/org.yorba.shotwell.gschema.xml:745 msgid "True if the Rajce publishing plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul pro publikování na službě Rajče." -#: misc/org.yorba.shotwell.gschema.xml:680 +#: misc/org.yorba.shotwell.gschema.xml:750 msgid "enable gallery3 publishing plugin" msgstr "Povolit zásuvný modul Publikování na Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:681 +#: misc/org.yorba.shotwell.gschema.xml:751 msgid "True if the Gallery3 publishing plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul pro publikování na službě Gallery3." -#: misc/org.yorba.shotwell.gschema.xml:686 +#: misc/org.yorba.shotwell.gschema.xml:756 msgid "enable F-Spot import plugin" msgstr "Povolit zásuvný modul Import z F-Spot" -#: misc/org.yorba.shotwell.gschema.xml:687 +#: misc/org.yorba.shotwell.gschema.xml:757 msgid "True if the F-Spot import plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul pro import z aplikace F-Spot." -#: misc/org.yorba.shotwell.gschema.xml:692 +#: misc/org.yorba.shotwell.gschema.xml:762 msgid "enable slideshow crumble transition" msgstr "Povolit rozpadací přechod prezentace" -#: misc/org.yorba.shotwell.gschema.xml:693 +#: misc/org.yorba.shotwell.gschema.xml:763 msgid "" "True if the Crumble slideshow transition plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul poskytující přechodový efekt " "Rozpad pro promítání snímků." -#: misc/org.yorba.shotwell.gschema.xml:698 +#: misc/org.yorba.shotwell.gschema.xml:768 msgid "enable slideshow fade transition" msgstr "Povolit blednoucí přechod prezentace" -#: misc/org.yorba.shotwell.gschema.xml:699 +#: misc/org.yorba.shotwell.gschema.xml:769 msgid "" "True if the Fade slideshow transition plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul poskytující přechodový efekt " "Blednutí pro promítání snímků." -#: misc/org.yorba.shotwell.gschema.xml:704 -#: misc/org.yorba.shotwell.gschema.xml:728 +#: misc/org.yorba.shotwell.gschema.xml:774 +#: misc/org.yorba.shotwell.gschema.xml:798 msgid "enable slideshow slide transition" msgstr "Povolit postrkávací přechod prezentace" -#: misc/org.yorba.shotwell.gschema.xml:705 +#: misc/org.yorba.shotwell.gschema.xml:775 msgid "" "True if the Slide slideshow transition plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul poskytující přechodový efekt " "Postrčení pro promítání snímků." -#: misc/org.yorba.shotwell.gschema.xml:710 +#: misc/org.yorba.shotwell.gschema.xml:780 msgid "enable slideshow clock transition" msgstr "Povolit hodinový přechod prezentace" -#: misc/org.yorba.shotwell.gschema.xml:711 +#: misc/org.yorba.shotwell.gschema.xml:781 msgid "" "True if the Clock slideshow transition plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul poskytující přechodový efekt " "Hodiny pro promítání snímků." -#: misc/org.yorba.shotwell.gschema.xml:716 -#: misc/org.yorba.shotwell.gschema.xml:722 +#: misc/org.yorba.shotwell.gschema.xml:786 +#: misc/org.yorba.shotwell.gschema.xml:792 msgid "enable slideshow circle transition" msgstr "Povolit kruhový přechod prezentace" -#: misc/org.yorba.shotwell.gschema.xml:717 +#: misc/org.yorba.shotwell.gschema.xml:787 msgid "" "True if the Circle slideshow transition plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul poskytující přechodový efekt Kruh " "pro promítání snímků." -#: misc/org.yorba.shotwell.gschema.xml:723 +#: misc/org.yorba.shotwell.gschema.xml:793 msgid "" "True if the Circles slideshow transition plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul poskytující přechodový efekt Kruhy " "pro promítání snímků." -#: misc/org.yorba.shotwell.gschema.xml:729 +#: misc/org.yorba.shotwell.gschema.xml:799 msgid "" "True if the Blinds slideshow transition plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul poskytující přechodový efekt " "Žaluzie pro promítání snímků." -#: misc/org.yorba.shotwell.gschema.xml:734 +#: misc/org.yorba.shotwell.gschema.xml:804 msgid "enable slideshow squares transition" msgstr "Povolit čtvercový přechod prezentace" -#: misc/org.yorba.shotwell.gschema.xml:735 +#: misc/org.yorba.shotwell.gschema.xml:805 msgid "" "True if the Squares slideshow transition plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul poskytující přechodový efekt " "Čtverce pro promítání snímků." -#: misc/org.yorba.shotwell.gschema.xml:740 +#: misc/org.yorba.shotwell.gschema.xml:810 msgid "enable slideshow stripes transition" msgstr "Povolit proužkový přechod prezentace" -#: misc/org.yorba.shotwell.gschema.xml:741 +#: misc/org.yorba.shotwell.gschema.xml:811 msgid "" "True if the Stripes slideshow transition plugin is enabled, false otherwise" msgstr "" "Když je zapnuto, je povolen zásuvný modul poskytující přechodový efekt " "Proužky pro promítání snímků." -#: misc/org.yorba.shotwell.gschema.xml:746 +#: misc/org.yorba.shotwell.gschema.xml:816 msgid "enable slideshow chess transition" msgstr "Povolit šachovnicový přechod prezentace" -#: misc/org.yorba.shotwell.gschema.xml:747 +#: misc/org.yorba.shotwell.gschema.xml:817 msgid "" "True if the Chess-Board slideshow transition plugin is enabled, false " "otherwise" @@ -1337,7 +1383,7 @@ msgstr "" msgid "Visit the Shotwell home page" msgstr "Navštívit web aplikace Shotwell" -#: plugins/common/Resources.vala:31 src/AppWindow.vala:676 +#: plugins/common/Resources.vala:31 src/AppWindow.vala:679 msgid "translator-credits" msgstr "" "David Štancl <dstancl@dstancl.cz>\n" @@ -1346,12 +1392,70 @@ msgstr "" "Petr Šimáček <petr.simacek@gmail.com>\n" "Marek Černocký <marek@manet.cz>" -#: plugins/common/RESTSupport.vala:451 +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:202 +msgid "" +"⚫ This website presented identification that belongs to a different website." +msgstr "" +"⚫ Tyto webové stránky se prezentují identifikací, která patří jiným webovým " +"stránkám." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:207 +msgid "" +"⚫ This website’s identification is too old to trust. Check the date on your " +"computer’s calendar." +msgstr "" +"⚫ Identifikace těchto webových stránek je příliš stará na to, aby se jí dalo " +"důvěřovat. Zkontrolujte si nastavení data na svém počítači." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:212 +msgid "" +"⚫ This website’s identification was not issued by a trusted organization." +msgstr "" +"⚫ Identifikace těchto webových stránek nebyla vydána důvěryhodnou organizací." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:217 +msgid "" +"⚫ This website’s identification could not be processed. It may be corrupted." +msgstr "" +"⚫ Identifikaci těchto webových stránek nelze zpracovat. Možná je poškozená." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:222 +msgid "" +"⚫ This website’s identification has been revoked by the trusted organization " +"that issued it." +msgstr "" +"⚫ Identifikace těchto webových stránek byla odvolána důvěryhodnou " +"organizací, která ji původně vydala." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:227 +msgid "" +"⚫ This website’s identification cannot be trusted because it uses very weak " +"encryption." +msgstr "" +"⚫ Identifikaci těchto webových stránek se nedá důvěřovat, protože používá " +"velmi slabé šifrování." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:232 +msgid "" +"⚫ This website’s identification is only valid for future dates. Check the " +"date on your computer’s calendar." +msgstr "" +"⚫ Identifikace těchto webových stránek je platná až v budoucnu. Zkontrolujte " +"si nastavení data na svém počítači." + +#: plugins/common/RESTSupport.vala:509 #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:958 msgid "A temporary file needed for publishing is unavailable" msgstr "Dočasný soubor potřebný pro zveřejnění není k dispozici" -#: plugins/common/RESTSupport.vala:1157 +#: plugins/common/RESTSupport.vala:1167 msgid "" "You have already logged in and out of a Google service during this Shotwell " "session.\n" @@ -1469,7 +1573,7 @@ msgstr "Jít _zpět" #: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:8 #: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:145 #: ui/shotwell.ui:1627 -msgid "_Login" +msgid "_Log in" msgstr "_Přihlásit se" #: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:34 @@ -1540,7 +1644,7 @@ msgstr "pixely" #: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:195 #: plugins/shotwell-publishing/FlickrPublishing.vala:1235 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1234 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1329 #: src/Dimensions.vala:17 msgid "Original size" msgstr "Původní velikost" @@ -1575,8 +1679,8 @@ msgstr "Výchozí složka Shotwell" msgid "" "\n" "\n" -"The file \"%s\" may not be supported by or may be too large for this " -"instance of Gallery3." +"The file “%s” may not be supported by or may be too large for this instance " +"of Gallery3." msgstr "" "\n" "\n" @@ -1595,7 +1699,7 @@ msgstr "" #: plugins/shotwell-publishing-extras/GalleryConnector.vala:1773 #, c-format msgid "" -"A file required for publishing is unavailable. Publishing to %s can't " +"A file required for publishing is unavailable. Publishing to %s can’t " "continue." msgstr "" "Soubor potřebný pro zveřejnění není k dispozici. Zveřejnění na %s nemůže " @@ -1664,8 +1768,8 @@ msgstr "Za_pamatovat" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:895 #: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:107 #: plugins/shotwell-publishing/piwigo_authentication_pane.ui:151 -msgid "Login" -msgstr "Přihlásit" +msgid "Log in" +msgstr "Přihlásit se" #: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:111 #: plugins/shotwell-publishing-extras/RajcePublishing.vala:1014 @@ -1691,7 +1795,7 @@ msgid "Open target _album in browser" msgstr "Otevřít cílové _album v prohlížeči" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:40 -msgid "Copyright (C) 2013 rajce.net" +msgid "Copyright © 2013 rajce.net" msgstr "Copyright © 2013 rajce.net" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:744 @@ -1740,29 +1844,29 @@ msgstr "Copyright 2012 BJA Electronics" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:105 #: plugins/shotwell-publishing/FlickrPublishing.vala:1231 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1230 -msgid "500 x 375 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1325 +msgid "500 × 375 pixels" msgstr "500 × 375 pixelů" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:106 #: plugins/shotwell-publishing/FlickrPublishing.vala:1232 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1231 -msgid "1024 x 768 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1326 +msgid "1024 × 768 pixels" msgstr "1024 × 768 pixelů" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:107 -msgid "1280 x 853 pixels" +msgid "1280 × 853 pixels" msgstr "1280 × 853 pixelů" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:311 #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:321 #, c-format -msgid "'%s' isn't a valid response to an OAuth authentication request" +msgid "“%s” isn’t a valid response to an OAuth authentication request" msgstr "„%s“ není platná odpověď na požadavek ověření protokolu OAuth" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:559 msgid "" -"TumblrPublisher: start( ): can't start; this publisher is not restartable." +"TumblrPublisher: start( ): can’t start; this publisher is not restartable." msgstr "" "TumblrPublisher: start (): Nelze spustit a tuto zveřejňovací službu nelze " "restartovat." @@ -1772,12 +1876,12 @@ msgid "Enter the username and password associated with your Tumblr account." msgstr "Zadejte uživatelské jméno a heslo ke svému účtu Tumblr." #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:588 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:992 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1087 msgid "Username and/or password invalid. Please try again" msgstr "Neplatné uživatelské jméno a/nebo heslo. Zkuste to prosím znovu" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:615 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1026 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1121 msgid "Invalid User Name or Password" msgstr "Neplatné uživatelské jméno nebo heslo" @@ -1804,7 +1908,7 @@ msgstr "Copyright 2010+ Evgeniy Polyakov <zbr@ioremap.net>" msgid "Visit the Yandex.Fotki web site" msgstr "Navštivte webové stránky Yandex.Fotki" -#: plugins/shotwell-publishing-extras/YandexPublishing.vala:658 +#: plugins/shotwell-publishing-extras/YandexPublishing.vala:609 msgid "You are not currently logged into Yandex.Fotki." msgstr "Momentálně nejste k Yandex.Fotki přihlášeni." @@ -1829,7 +1933,7 @@ msgid "Public" msgstr "Veřejné" #: plugins/shotwell-publishing-extras/yandex_publish_model.ui:162 -#: plugins/shotwell-publishing/FacebookPublishing.vala:1194 +#: plugins/shotwell-publishing/FacebookPublishing.vala:1144 msgid "Friends" msgstr "Přátelé" @@ -1847,7 +1951,7 @@ msgid "Create a _new album named:" msgstr "Vytvořit _nové album s názvem:" #: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:108 -#: plugins/shotwell-publishing/FacebookPublishing.vala:1034 +#: plugins/shotwell-publishing/FacebookPublishing.vala:984 msgid "Upload _size:" msgstr "Nahrávaná veliko_st:" @@ -1867,7 +1971,7 @@ msgstr "" #: plugins/shotwell-publishing/FacebookPublishing.vala:62 #: plugins/shotwell-publishing/PicasaPublishing.vala:60 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1114 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1209 msgid "Shotwell Connect" msgstr "Připojení Shotwell" @@ -1875,7 +1979,7 @@ msgstr "Připojení Shotwell" msgid "" "You are not currently logged into Facebook.\n" "\n" -"If you don't yet have a Facebook account, you can create one during the " +"If you don’t yet have a Facebook account, you can create one during the " "login process. During login, Shotwell Connect may ask you for permission to " "upload photos and publish to your feed. These permissions are required for " "Shotwell Connect to function." @@ -1908,23 +2012,23 @@ msgid "Large (2048 pixels)" msgstr "Velké (2048 pixelů)" #: plugins/shotwell-publishing/FacebookPublishing.vala:255 -msgid "Testing connection to Facebook..." +msgid "Testing connection to Facebook…" msgstr "Testuje se připojení k Facebooku…" #: plugins/shotwell-publishing/FacebookPublishing.vala:348 #: plugins/shotwell-publishing/PicasaPublishing.vala:379 -msgid "Creating album..." +msgid "Creating album…" msgstr "Vytváří se album…" #: plugins/shotwell-publishing/FacebookPublishing.vala:374 msgid "" -"A file required for publishing is unavailable. Publishing to Facebook can't " +"A file required for publishing is unavailable. Publishing to Facebook can’t " "continue." msgstr "" "Soubor potřebný pro zveřejnění není k dispozici. Zveřejnění na Facebook " "nemůže pokračovat." -#: plugins/shotwell-publishing/FacebookPublishing.vala:1032 +#: plugins/shotwell-publishing/FacebookPublishing.vala:982 #, c-format msgid "" "You are logged into Facebook as %s.\n" @@ -1933,18 +2037,18 @@ msgstr "" "Jste přihlášeni k Facebooku jako %s.\n" "\n" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1033 +#: plugins/shotwell-publishing/FacebookPublishing.vala:983 msgid "Where would you like to publish the selected photos?" msgstr "Kde chcete vybrané fotografie zveřejnit?" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1193 +#: plugins/shotwell-publishing/FacebookPublishing.vala:1143 #: plugins/shotwell-publishing/FlickrPublishing.vala:1213 msgid "Just me" msgstr "mě výhradně" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1195 +#: plugins/shotwell-publishing/FacebookPublishing.vala:1145 #: plugins/shotwell-publishing/FlickrPublishing.vala:1209 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1218 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1313 msgid "Everyone" msgstr "všem" @@ -1959,7 +2063,7 @@ msgstr "" msgid "Authorization _Number:" msgstr "Ověřovací _kód:" -#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83 src/Dialogs.vala:132 +#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83 src/Dialogs.vala:128 msgid "Con_tinue" msgstr "Pokračova_t" @@ -1967,7 +2071,7 @@ msgstr "Pokračova_t" msgid "" "You are not currently logged into Flickr.\n" "\n" -"Click Login to log into Flickr in your Web browser. You will have to " +"Click Log in to log into Flickr in your Web browser. You will have to " "authorize Shotwell Connect to link to your Flickr account." msgstr "" "Momentálně nejste ke službě Flickr přihlášeni.\n" @@ -1987,20 +2091,20 @@ msgstr "" "zkuste zveřejnění znovu." #: plugins/shotwell-publishing/FlickrPublishing.vala:374 -msgid "Preparing for login..." +msgid "Preparing for login…" msgstr "Připravuje se přihlášení…" #: plugins/shotwell-publishing/FlickrPublishing.vala:444 #: plugins/shotwell-publishing/FlickrPublishing.vala:594 msgid "" -"A file required for publishing is unavailable. Publishing to Flickr can't " +"A file required for publishing is unavailable. Publishing to Flickr can’t " "continue." msgstr "" "Soubor potřebný pro zveřejnění není k dispozici. Zveřejnění na Flickr nemůže " "pokračovat." #: plugins/shotwell-publishing/FlickrPublishing.vala:457 -msgid "Verifying authorization..." +msgid "Verifying authorization…" msgstr "Ověřuje se autorizace…" #: plugins/shotwell-publishing/FlickrPublishing.vala:1152 @@ -2059,13 +2163,13 @@ msgid "Friends only" msgstr "přátele výhradně" #: plugins/shotwell-publishing/FlickrPublishing.vala:1233 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1232 -msgid "2048 x 1536 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1327 +msgid "2048 × 1536 pixels" msgstr "2048 × 1536 pixelů" #: plugins/shotwell-publishing/FlickrPublishing.vala:1234 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1233 -msgid "4096 x 3072 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1328 +msgid "4096 × 3072 pixels" msgstr "4096 × 3072 pixelů" #: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:113 @@ -2080,8 +2184,8 @@ msgstr "Předvolená veliko_st fotek:" msgid "" "You are not currently logged into Picasa Web Albums.\n" "\n" -"Click Login to log into Picasa Web Albums in your Web browser. You will have " -"to authorize Shotwell Connect to link to your Picasa Web Albums account." +"Click Log in to log into Picasa Web Albums in your Web browser. You will " +"have to authorize Shotwell Connect to link to your Picasa Web Albums account." msgstr "" "Nejste přihlášeni ke službě Picasa Web Albums.\n" "\n" @@ -2091,7 +2195,7 @@ msgstr "" #: plugins/shotwell-publishing/PicasaPublishing.vala:361 msgid "" -"A file required for publishing is unavailable. Publishing to Picasa can't " +"A file required for publishing is unavailable. Publishing to Picasa can’t " "continue." msgstr "" "Soubor potřebný pro zveřejnění není k dispozici. Zveřejnění na Picasa nemůže " @@ -2108,19 +2212,19 @@ msgid "Videos will appear in:" msgstr "Videa se objeví:" #: plugins/shotwell-publishing/PicasaPublishing.vala:746 -msgid "Small (640 x 480 pixels)" +msgid "Small (640 × 480 pixels)" msgstr "malá (640 × 480 pixelů)" #: plugins/shotwell-publishing/PicasaPublishing.vala:747 -msgid "Medium (1024 x 768 pixels)" +msgid "Medium (1024 × 768 pixels)" msgstr "střední (1024 × 768 pixelů)" #: plugins/shotwell-publishing/PicasaPublishing.vala:748 -msgid "Recommended (1600 x 1200 pixels)" +msgid "Recommended (1600 × 1200 pixels)" msgstr "doporučená (1600 × 1200 pixelů)" #: plugins/shotwell-publishing/PicasaPublishing.vala:749 -msgid "Google+ (2048 x 1536 pixels)" +msgid "Google+ (2048 × 1536 pixels)" msgstr "Google+ (2048 × 1536 pixelů)" #: plugins/shotwell-publishing/PicasaPublishing.vala:750 @@ -2178,16 +2282,28 @@ msgstr "Odhlásit" msgid "Publish" msgstr "Zveřejnit" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:747 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:775 #, c-format -msgid "Creating album %s..." +msgid "Creating album %s…" msgstr "Vytváří se album %s…" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:920 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:948 msgid "An error message occurred when publishing to Piwigo. Please try again." msgstr "Při zveřejňování na Piwigo došlo k chybě. Zkuste to prosím znovu." -#: plugins/shotwell-publishing/PiwigoPublishing.vala:990 +#. %s is the host name that we tried to connect to +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1024 +#, c-format +msgid "" +"This does not look like the real <b>%s</b>. Attackers might be trying to " +"steal or alter information going to or from this site (for example, private " +"messages, credit card information, or passwords)." +msgstr "" +"Nevypadá to jako skutečný server <b>%s</b>. Možná se nějací útočníci snaží " +"ukrást nebo změnit údaje jdoucí do nebo z tohoto serveru (například soukromé " +"zprávy, údaje z platebních karet nebo hesla)." + +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1085 msgid "" "Enter the URL of your Piwigo photo library as well as the username and " "password associated with your Piwigo account for that library." @@ -2195,7 +2311,7 @@ msgstr "" "Zadejte adresu URL fotoknihovny Piwigo a k tomu uživatelské jméno a heslo " "spojené s vaším účtem Piwigo pro danou knihovnu." -#: plugins/shotwell-publishing/PiwigoPublishing.vala:991 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1086 msgid "" "Shotwell cannot contact your Piwigo photo library. Please verify the URL you " "entered" @@ -2203,26 +2319,38 @@ msgstr "" "Shotwell se nemůže připojit k vaší fotoknihovně Piwigo. Ověřte prosím adresu " "URL, kterou jste zadali" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1021 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1116 msgid "Invalid URL" msgstr "Neplatná adresa URL" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1219 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1314 msgid "Admins, Family, Friends, Contacts" msgstr "Administrátoři, rodina, přátelé, kontakty" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1220 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1315 msgid "Admins, Family, Friends" msgstr "Administrátoři, rodina, přátelé" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1221 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1316 msgid "Admins, Family" msgstr "Administrátoři, rodina" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1222 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1317 msgid "Admins" msgstr "Administrátoři" +#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:21 +msgid "This connection is not secure" +msgstr "Připojení není bezpečné" + +#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:75 +msgid "Show the certificate…" +msgstr "Zobrazit certifikát…" + +#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:88 +msgid "I understand, please _proceed." +msgstr "Rozumím, přesto prosím _pokračovat." + #: plugins/shotwell-publishing/shotwell-publishing.vala:26 msgid "Core Publishing Services" msgstr "Základní zveřejňovací služby" @@ -2247,7 +2375,7 @@ msgstr "" #: plugins/shotwell-publishing/YouTubePublishing.vala:363 msgid "" -"A file required for publishing is unavailable. Publishing to Youtube can't " +"A file required for publishing is unavailable. Publishing to YouTube can’t " "continue." msgstr "" "Soubor potřebný pro zveřejnění není k dispozici. Zveřejnění na Youtube " @@ -2260,7 +2388,7 @@ msgstr "Jste přihlášeni ke službě YouTube jako %s." #: plugins/shotwell-publishing/YouTubePublishing.vala:464 #, c-format -msgid "Videos will appear in '%s'" +msgid "Videos will appear in “%s”" msgstr "Videa se objeví v „%s“" #: plugins/shotwell-publishing/YouTubePublishing.vala:496 @@ -2370,29 +2498,29 @@ msgstr "Připíchnout otevřenou nástrojovou lištu" msgid "Leave fullscreen" msgstr "Opustit režim celé obrazovky" -#: src/AppWindow.vala:496 +#: src/AppWindow.vala:499 msgid "_Contents" msgstr "_Obsah" -#: src/AppWindow.vala:501 +#: src/AppWindow.vala:504 msgid "_Frequently Asked Questions" msgstr "Ča_sté dotazy a odpovědi" -#: src/AppWindow.vala:506 -msgid "_Report a Problem..." +#: src/AppWindow.vala:509 +msgid "_Report a Problem…" msgstr "_Nahlásit problém…" -#: src/AppWindow.vala:605 src/AppWindow.vala:626 src/AppWindow.vala:643 +#: src/AppWindow.vala:608 src/AppWindow.vala:629 src/AppWindow.vala:646 #: src/data_imports/DataImportsUI.vala:413 src/Dialogs.vala:20 -#: src/Dialogs.vala:28 src/Dialogs.vala:1425 src/Dialogs.vala:1448 +#: src/Dialogs.vala:28 src/Dialogs.vala:1441 src/Dialogs.vala:1464 #: src/publishing/PublishingUI.vala:512 src/Resources.vala:157 msgid "_Cancel" msgstr "_Zrušit" -#: src/AppWindow.vala:653 +#: src/AppWindow.vala:656 #, c-format msgid "" -"A fatal error occurred when accessing Shotwell's library. Shotwell cannot " +"A fatal error occurred when accessing Shotwell’s library. Shotwell cannot " "continue.\n" "\n" "%s" @@ -2402,21 +2530,21 @@ msgstr "" "\n" "%s" -#: src/AppWindow.vala:673 +#: src/AppWindow.vala:676 msgid "Visit the Shotwell web site" msgstr "Navštívit web aplikace Shotwell" -#: src/AppWindow.vala:685 +#: src/AppWindow.vala:688 #, c-format msgid "Unable to display help: %s" msgstr "Nelze zobrazit nápovědu: %s" -#: src/AppWindow.vala:693 +#: src/AppWindow.vala:696 #, c-format msgid "Unable to navigate to bug database: %s" msgstr "Nelze se připojit k databázi chyb: %s" -#: src/AppWindow.vala:701 +#: src/AppWindow.vala:704 #, c-format msgid "Unable to display FAQ: %s" msgstr "Nelze zobrazit časté dotazy a odpovědi: %s" @@ -2498,7 +2626,7 @@ msgstr "RAW + JPEG" #: src/camera/ImportPage.vala:458 msgid "" -"Unable to unmount camera. Try unmounting the camera from the file manager." +"Unable to unmount camera. Try unmounting the camera from the file manager." msgstr "" "Nepodařilo se odpojit fotoaparát. Pokuste se odpojit fotoaparát pomocí " "správce souborů." @@ -2519,7 +2647,6 @@ msgstr "" "naimportování." #: src/camera/ImportPage.vala:846 -#| msgid "Removing photos/videos from camera" msgid "No new photos/videos found on camera" msgstr "Ve fotoaparátu nejsou žádné nové fotografie/videa" @@ -2551,7 +2678,7 @@ msgstr "Importovat všechny fotografie do knihovny" #: src/camera/ImportPage.vala:1013 msgid "" "Shotwell needs to unmount the camera from the filesystem in order to access " -"it. Continue?" +"it. Continue?" msgstr "" "Shotwell potřebuje kvůli přístupu odpojit fotoaparát ze souborového systému. " "Pokračovat?" @@ -2566,8 +2693,8 @@ msgstr "Odpojte prosím fotoaparát." #: src/camera/ImportPage.vala:1029 msgid "" -"The camera is locked by another application. Shotwell can only access the " -"camera when it's unlocked. Please close any other application using the " +"The camera is locked by another application. Shotwell can only access the " +"camera when it’s unlocked. Please close any other application using the " "camera and try again." msgstr "" "Fotoaparát je používán jinou aplikací. Shotwell může použít jen fotoaparát, " @@ -2588,11 +2715,11 @@ msgstr "" "%s" #: src/camera/ImportPage.vala:1061 -msgid "Unmounting..." +msgid "Unmounting…" msgstr "Odpojuje se…" #: src/camera/ImportPage.vala:1152 -msgid "Starting import, please wait..." +msgid "Starting import, please wait…" msgstr "Začíná import, čekejte prosím…" #: src/camera/ImportPage.vala:1169 @@ -2641,7 +2768,7 @@ msgstr[0] "Smazat tento soubor z fotoaparátu?" msgstr[1] "Smazat tyto %d soubory z fotoaparátu?" msgstr[2] "Smazat těchto %d souborů z fotoaparátu?" -#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1392 +#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1408 msgid "_Keep" msgstr "_Zachovat" @@ -2677,7 +2804,7 @@ msgstr "Export fotografií/videí" msgid "Export Photo" msgstr "Export fotografie" -#: src/CollectionPage.vala:458 src/Dialogs.vala:88 +#: src/CollectionPage.vala:458 src/Dialogs.vala:84 msgid "Export Photos" msgstr "Export fotografií" @@ -2833,7 +2960,7 @@ msgstr "Vytvořit štítek" #: src/Commands.vala:1695 #, c-format -msgid "Move Tag \"%s\"" +msgid "Move Tag “%s”" msgstr "Přesunout štítek „%s“" #: src/Commands.vala:2347 @@ -2894,7 +3021,7 @@ msgstr "Databáze %s" #: src/data_imports/DataImportsPluginHost.vala:148 #: src/data_imports/DataImportsPluginHost.vala:294 #, c-format -msgid "Importing from %s can't continue because an error occurred:" +msgid "Importing from %s can’t continue because an error occurred:" msgstr "Import z %s nemůže pokračovat kvůli chybě:" #: src/data_imports/DataImportsPluginHost.vala:151 @@ -2993,13 +3120,13 @@ msgstr "Nelze připravit prezentaci na ploše: %s" #: src/Dialogs.vala:16 #, c-format -msgid "This will remove the tag \"%s\" from one photo. Continue?" -msgid_plural "This will remove the tag \"%s\" from %d photos. Continue?" +msgid "This will remove the tag “%s” from one photo. Continue?" +msgid_plural "This will remove the tag “%s” from %d photos. Continue?" msgstr[0] "Tím odstraníte štítek „%s“ z jedné fotografie. Pokračovat?" msgstr[1] "Tím odstraníte štítek „%s“ ze %d fotografií. Pokračovat?" msgstr[2] "Tím odstraníte štítek „%s“ z %d fotografií. Pokračovat?" -#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1393 +#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1409 #: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:409 #: src/Resources.vala:674 msgid "_Delete" @@ -3007,7 +3134,7 @@ msgstr "S_mazat" #: src/Dialogs.vala:25 #, c-format -msgid "This will remove the saved search \"%s\". Continue?" +msgid "This will remove the saved search “%s”. Continue?" msgstr "Tím bude odstraněno uložené hledání „%s“. Pokračovat?" #: src/Dialogs.vala:36 @@ -3040,16 +3167,16 @@ msgstr "Export videa" #. if we can't copy an image over for editing in an external tool. #. Did we fail because we can't write to this directory? #. Yes - display an alternate error message here. -#: src/Dialogs.vala:116 +#: src/Dialogs.vala:112 #, c-format msgid "" -"Shotwell couldn't create a file for editing this photo because you do not " +"Shotwell couldn’t create a file for editing this photo because you do not " "have permission to write to %s." msgstr "" "Shotwell nemůže vytvořit soubor pro úpravy této fotografie, protože nemá " "oprávnění zapisovat do %s." -#: src/Dialogs.vala:125 +#: src/Dialogs.vala:121 msgid "" "Unable to export the following photo due to a file error.\n" "\n" @@ -3057,7 +3184,7 @@ msgstr "" "Nelze exportovat následující fotografii kvůli chybě souboru.\n" "\n" -#: src/Dialogs.vala:131 +#: src/Dialogs.vala:127 msgid "" "\n" "\n" @@ -3070,53 +3197,53 @@ msgstr "" #. "Unmodified" and "Current," though they appear in the "Format:" popup menu, really #. aren't formats so much as they are operating modes that determine specific formats. #. Hereafter we'll refer to these as "special formats." -#: src/Dialogs.vala:148 +#: src/Dialogs.vala:144 msgid "Unmodified" msgstr "Beze změny" -#: src/Dialogs.vala:149 +#: src/Dialogs.vala:145 msgid "Current" msgstr "Stávající" #. layout controls -#: src/Dialogs.vala:216 +#: src/Dialogs.vala:221 msgid "_Format:" msgstr "_Formát:" -#: src/Dialogs.vala:219 +#: src/Dialogs.vala:224 msgid "_Quality:" msgstr "_Kvalita:" -#: src/Dialogs.vala:222 +#: src/Dialogs.vala:227 msgid "_Scaling constraint:" msgstr "Přešká_lovat:" -#: src/Dialogs.vala:225 +#: src/Dialogs.vala:230 msgid "_Pixels:" msgstr "_Pixely:" -#: src/Dialogs.vala:228 -msgid "Export metadata" -msgstr "Exportovat metadata" +#: src/Dialogs.vala:234 +msgid "Export _metadata:" +msgstr "Exportovat _metadata:" -#: src/Dialogs.vala:462 -msgid "Save Details..." +#: src/Dialogs.vala:478 +msgid "Save Details…" msgstr "Uložit podrobnosti…" -#: src/Dialogs.vala:463 +#: src/Dialogs.vala:479 msgid "Save Details" msgstr "Uložit podrobnosti" -#: src/Dialogs.vala:478 +#: src/Dialogs.vala:494 #, c-format msgid "(and %d more)\n" msgstr "(a %d dalších)\n" -#: src/Dialogs.vala:531 +#: src/Dialogs.vala:547 msgid "Import Results Report" msgstr "Zpráva o výsledcích importu" -#: src/Dialogs.vala:535 +#: src/Dialogs.vala:551 #, c-format msgid "Attempted to import %d file." msgid_plural "Attempted to import %d files." @@ -3124,7 +3251,7 @@ msgstr[0] "Pokus o import %d souboru." msgstr[1] "Pokus o import %d souborů." msgstr[2] "Pokus o import %d souborů" -#: src/Dialogs.vala:538 +#: src/Dialogs.vala:554 #, c-format msgid "Of these, %d file was successfully imported." msgid_plural "Of these, %d files were successfully imported." @@ -3135,39 +3262,39 @@ msgstr[2] "Z toho bylo %d souborů úspěšně importováno." #. #. Duplicates #. -#: src/Dialogs.vala:550 +#: src/Dialogs.vala:566 msgid "Duplicate Photos/Videos Not Imported:" msgstr "Duplicitní fotografie/videa nejsou importovány:" -#: src/Dialogs.vala:554 +#: src/Dialogs.vala:570 msgid "duplicates existing media item" msgstr "Zduplikuje existující položky" #. #. Files Not Imported Due to Camera Errors #. -#: src/Dialogs.vala:565 +#: src/Dialogs.vala:581 msgid "Photos/Videos Not Imported Due to Camera Errors:" msgstr "Fotografie/videa nelze importovat kvůli chybě fotoaparátu:" -#: src/Dialogs.vala:568 src/Dialogs.vala:583 src/Dialogs.vala:598 -#: src/Dialogs.vala:614 src/Dialogs.vala:629 src/Dialogs.vala:643 +#: src/Dialogs.vala:584 src/Dialogs.vala:599 src/Dialogs.vala:614 +#: src/Dialogs.vala:630 src/Dialogs.vala:645 src/Dialogs.vala:659 msgid "error message:" msgstr "chybová zpráva:" #. #. Files Not Imported Because They Weren't Recognized as Photos or Videos #. -#: src/Dialogs.vala:579 -msgid "Files Not Imported Because They Weren't Recognized as Photos or Videos:" +#: src/Dialogs.vala:595 +msgid "Files Not Imported Because They Weren’t Recognized as Photos or Videos:" msgstr "Soubory nebyly importovány, protože nejde o fotografie nebo videa:" #. #. Photos/Videos Not Imported Because They Weren't in a Format Shotwell Understands #. -#: src/Dialogs.vala:594 +#: src/Dialogs.vala:610 msgid "" -"Photos/Videos Not Imported Because They Weren't in a Format Shotwell " +"Photos/Videos Not Imported Because They Weren’t in a Format Shotwell " "Understands:" msgstr "" "Fotografie/videa nelze importovat, protože nejde o formát, který Shotwell " @@ -3176,18 +3303,18 @@ msgstr "" #. #. Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its Library #. -#: src/Dialogs.vala:609 +#: src/Dialogs.vala:625 msgid "" -"Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its " +"Photos/Videos Not Imported Because Shotwell Couldn’t Copy Them into its " "Library:" msgstr "" "Fotografie/videa nelze importovat, protože Shotwell je nemůže zkopírovat do " "své knihovny:" -#: src/Dialogs.vala:613 +#: src/Dialogs.vala:629 #, c-format msgid "" -"couldn't copy %s\n" +"couldn’t copy %s\n" "\tto %s" msgstr "" "nelze zkopírovat %s\n" @@ -3196,18 +3323,18 @@ msgstr "" #. #. Photos/Videos Not Imported Because GDK Pixbuf Library Identified them as Corrupt #. -#: src/Dialogs.vala:625 +#: src/Dialogs.vala:641 msgid "Photos/Videos Not Imported Because Files Are Corrupt:" msgstr "Fotografie/videa nelze importovat, protože soubory jsou poškozené:" #. #. Photos/Videos Not Imported for Other Reasons #. -#: src/Dialogs.vala:640 +#: src/Dialogs.vala:656 msgid "Photos/Videos Not Imported for Other Reasons:" msgstr "Fotografie/videa nelze importovat z jiných důvodů:" -#: src/Dialogs.vala:660 +#: src/Dialogs.vala:676 #, c-format msgid "1 duplicate photo was not imported:\n" msgid_plural "%d duplicate photos were not imported:\n" @@ -3215,7 +3342,7 @@ msgstr[0] "Jedna duplicitní fotografie nebyla naimportována:\n" msgstr[1] "%d duplicitní fotografie nebyly naimportovány:\n" msgstr[2] "%d duplicitních fotografií nebylo naimportováno:\n" -#: src/Dialogs.vala:663 +#: src/Dialogs.vala:679 #, c-format msgid "1 duplicate video was not imported:\n" msgid_plural "%d duplicate videos were not imported:\n" @@ -3223,7 +3350,7 @@ msgstr[0] "Jedno duplicitní video nebylo naimportováno:\n" msgstr[1] "%d duplicitní videa nebyla naimportováno:\n" msgstr[2] "%d duplicitních videí nebylo naimportováno:\n" -#: src/Dialogs.vala:666 +#: src/Dialogs.vala:682 #, c-format msgid "1 duplicate photo/video was not imported:\n" msgid_plural "%d duplicate photos/videos were not imported:\n" @@ -3231,7 +3358,7 @@ msgstr[0] "Jedna duplicitní fotografie/video nebylo naimportováno:\n" msgstr[1] "%d duplicitní fotografie/videa nebyly naimportovány:\n" msgstr[2] "%d duplicitní fotografií/videí nebylo naimportováno:\n" -#: src/Dialogs.vala:680 +#: src/Dialogs.vala:696 #, c-format msgid "1 photo failed to import due to a file or hardware error:\n" msgid_plural "%d photos failed to import due to a file or hardware error:\n" @@ -3240,7 +3367,7 @@ msgstr[0] "" msgstr[1] "U %d fotografií selhal import kvůli chybě souboru nebo hardwaru:\n" msgstr[2] "U %d fotografií selhal import kvůli chybě souboru nebo hardwaru:\n" -#: src/Dialogs.vala:683 +#: src/Dialogs.vala:699 #, c-format msgid "1 video failed to import due to a file or hardware error:\n" msgid_plural "%d videos failed to import due to a file or hardware error:\n" @@ -3248,7 +3375,7 @@ msgstr[0] "U jednoho videa selhal import kvůli chybě souboru nebo hardwaru:\n" msgstr[1] "U %d videí selhal import kvůli chybě souboru nebo hardwaru:\n" msgstr[2] "U %d videí selhal import kvůli chybě souboru nebo hardwaru:\n" -#: src/Dialogs.vala:686 +#: src/Dialogs.vala:702 #, c-format msgid "1 photo/video failed to import due to a file or hardware error:\n" msgid_plural "" @@ -3260,7 +3387,7 @@ msgstr[1] "" msgstr[2] "" "U %d fotografií/videí selhal import kvůli chybě souboru nebo hardwaru:\n" -#: src/Dialogs.vala:689 +#: src/Dialogs.vala:705 #, c-format msgid "1 file failed to import due to a file or hardware error:\n" msgid_plural "%d files failed to import due to a file or hardware error:\n" @@ -3269,7 +3396,7 @@ msgstr[0] "" msgstr[1] "U %d souborů selhal import kvůli chybě souboru nebo hardwaru:\n" msgstr[2] "U %d souborů selhal import kvůli chybě souboru nebo hardwaru:\n" -#: src/Dialogs.vala:703 +#: src/Dialogs.vala:719 #, c-format msgid "" "1 photo failed to import because the photo library folder was not writable:\n" @@ -3283,7 +3410,7 @@ msgstr[1] "" msgstr[2] "" "U %d fotografií selhal import, protože složka knihovny neumožňila zápis:\n" -#: src/Dialogs.vala:706 +#: src/Dialogs.vala:722 #, c-format msgid "" "1 video failed to import because the photo library folder was not writable:\n" @@ -3297,7 +3424,7 @@ msgstr[1] "" msgstr[2] "" "U %d videí selhal import, protože složka knihovny neumožňila zápis:\n" -#: src/Dialogs.vala:709 +#: src/Dialogs.vala:725 #, c-format msgid "" "1 photo/video failed to import because the photo library folder was not " @@ -3315,7 +3442,7 @@ msgstr[2] "" "U %d fotografií/videí selhal import, protože složka knihovny neumožňila " "zápis:\n" -#: src/Dialogs.vala:712 +#: src/Dialogs.vala:728 #, c-format msgid "" "1 file failed to import because the photo library folder was not writable:\n" @@ -3329,7 +3456,7 @@ msgstr[1] "" msgstr[2] "" "U %d souborů selhal import, protože složka knihovny neumožňila zápis:\n" -#: src/Dialogs.vala:726 +#: src/Dialogs.vala:742 #, c-format msgid "1 photo failed to import due to a camera error:\n" msgid_plural "%d photos failed to import due to a camera error:\n" @@ -3337,7 +3464,7 @@ msgstr[0] "U jedné fotografie selhal import kvůli chybě fotoaparátu:\n" msgstr[1] "U %d fotografií selhal import kvůli chybě fotoaparátu:\n" msgstr[2] "U %d fotografií selhal import kvůli chybě fotoaparátu:\n" -#: src/Dialogs.vala:729 +#: src/Dialogs.vala:745 #, c-format msgid "1 video failed to import due to a camera error:\n" msgid_plural "%d videos failed to import due to a camera error:\n" @@ -3345,7 +3472,7 @@ msgstr[0] "U jednoho videa selhal import kvůli chybě fotoaparátu:\n" msgstr[1] "U %d videí selhal import kvůli chybě fotoaparátu:\n" msgstr[2] "U %d videí selhal import kvůli chybě fotoaparátu:\n" -#: src/Dialogs.vala:732 +#: src/Dialogs.vala:748 #, c-format msgid "1 photo/video failed to import due to a camera error:\n" msgid_plural "%d photos/videos failed to import due to a camera error:\n" @@ -3353,7 +3480,7 @@ msgstr[0] "U jedné fotografie/videa selhal import kvůli chybě fotoaparátu:\n msgstr[1] "U %d fotografií/videí selhal import kvůli chybě fotoaparátu:\n" msgstr[2] "U %d fotografií/videí selhal import kvůli chybě fotoaparátu:\n" -#: src/Dialogs.vala:735 +#: src/Dialogs.vala:751 #, c-format msgid "1 file failed to import due to a camera error:\n" msgid_plural "%d files failed to import due to a camera error:\n" @@ -3361,7 +3488,7 @@ msgstr[0] "U jednoho souboru selhal import kvůli chybě fotoaparátu:\n" msgstr[1] "U %d souborů selhal import kvůli chybě fotoaparátu:\n" msgstr[2] "U %d souborů selhal import kvůli chybě fotoaparátu:\n" -#: src/Dialogs.vala:749 +#: src/Dialogs.vala:765 #, c-format msgid "1 photo failed to import because it was corrupt:\n" msgid_plural "%d photos failed to import because they were corrupt:\n" @@ -3369,7 +3496,7 @@ msgstr[0] "U jedné fotografie selhal import protože byla poškozená:\n" msgstr[1] "U %d fotografií selhal import protože byly poškozené:\n" msgstr[2] "U %d fotografií selhal import protože byly poškozené:\n" -#: src/Dialogs.vala:752 +#: src/Dialogs.vala:768 #, c-format msgid "1 video failed to import because it was corrupt:\n" msgid_plural "%d videos failed to import because they were corrupt:\n" @@ -3377,7 +3504,7 @@ msgstr[0] "U jednoho videa selhal import protože bylo poškozené:\n" msgstr[1] "U %d videí selhal import protože byly poškozená:\n" msgstr[2] "U %d videí selhal import protože byly poškozená:\n" -#: src/Dialogs.vala:755 +#: src/Dialogs.vala:771 #, c-format msgid "1 photo/video failed to import because it was corrupt:\n" msgid_plural "%d photos/videos failed to import because they were corrupt:\n" @@ -3385,7 +3512,7 @@ msgstr[0] "U jedné fotografie/videa selhal import protože bylo poškozené:\n" msgstr[1] "U %d fotografií/videí selhal import protože byly poškozené:\n" msgstr[2] "U %d fotografií/videí selhal import protože byly poškozené:\n" -#: src/Dialogs.vala:758 +#: src/Dialogs.vala:774 #, c-format msgid "1 file failed to import because it was corrupt:\n" msgid_plural "%d files failed to import because it was corrupt:\n" @@ -3397,7 +3524,7 @@ msgstr[2] "U %d souborů selhal import protože byly poškozené:\n" #. standard container formats are supported, it's just that the streams in them #. might or might not be interpretable), so this message does not need to be #. media specific -#: src/Dialogs.vala:775 +#: src/Dialogs.vala:791 #, c-format msgid "1 unsupported photo skipped:\n" msgid_plural "%d unsupported photos skipped:\n" @@ -3407,7 +3534,7 @@ msgstr[2] "%d nepodporovaných fotografií bylo vynecháno:\n" #. we have no notion of "non-video" video files right now in Shotwell, so this #. message doesn't need to be media specific -#: src/Dialogs.vala:790 +#: src/Dialogs.vala:806 #, c-format msgid "1 non-image file skipped.\n" msgid_plural "%d non-image files skipped.\n" @@ -3415,7 +3542,7 @@ msgstr[0] "Jeden neobrázkový soubor byl vynechán.\n" msgstr[1] "%d neobrázkové soubory byly vynechány.\n" msgstr[2] "%d neobrázkových souborů bylo vynecháno.\n" -#: src/Dialogs.vala:801 +#: src/Dialogs.vala:817 #, c-format msgid "1 photo skipped due to user cancel:\n" msgid_plural "%d photos skipped due to user cancel:\n" @@ -3424,7 +3551,7 @@ msgstr[0] "" msgstr[1] "%d fotografie byly vynechány kvůli zrušení ze strany uživatele:\n" msgstr[2] "%d fotografií bylo vynecháno kvůli zrušení ze strany uživatele:\n" -#: src/Dialogs.vala:804 +#: src/Dialogs.vala:820 #, c-format msgid "1 video skipped due to user cancel:\n" msgid_plural "%d videos skipped due to user cancel:\n" @@ -3432,7 +3559,7 @@ msgstr[0] "Jedno video bylo vynecháno kvůli zrušení ze strany uživatele:\n" msgstr[1] "%d videa byla vynechána kvůli zrušení ze strany uživatele:\n" msgstr[2] "%d videí bylo vynecháno kvůli zrušení ze strany uživatele:\n" -#: src/Dialogs.vala:807 +#: src/Dialogs.vala:823 #, c-format msgid "1 photo/video skipped due to user cancel:\n" msgid_plural "%d photos/videos skipped due to user cancel:\n" @@ -3443,7 +3570,7 @@ msgstr[1] "" msgstr[2] "" "%d fotografií/videí bylo vynecháno kvůli zrušení ze strany uživatele:\n" -#: src/Dialogs.vala:810 +#: src/Dialogs.vala:826 #, c-format msgid "1 file skipped due to user cancel:\n" msgid_plural "%d file skipped due to user cancel:\n" @@ -3451,7 +3578,7 @@ msgstr[0] "Jeden soubor byl vynechán kvůli zrušení ze strany uživatele:\n" msgstr[1] "%d soubory byly vynechány kvůli zrušení ze strany uživatele:\n" msgstr[2] "%d souborů bylo vynecháno kvůli zrušení ze strany uživatele:\n" -#: src/Dialogs.vala:824 +#: src/Dialogs.vala:840 #, c-format msgid "1 photo successfully imported.\n" msgid_plural "%d photos successfully imported.\n" @@ -3459,7 +3586,7 @@ msgstr[0] "Jedna fotografie byla úspěšně naimportována.\n" msgstr[1] "%d fotografie byly úspěšně naimportovány.\n" msgstr[2] "%d fotografií bylo úspěšně naimportováno.\n" -#: src/Dialogs.vala:827 +#: src/Dialogs.vala:843 #, c-format msgid "1 video successfully imported.\n" msgid_plural "%d videos successfully imported.\n" @@ -3467,7 +3594,7 @@ msgstr[0] "Jedno video bylo úspěšně naimportováno.\n" msgstr[1] "%d videa byla úspěšně naimportována.\n" msgstr[2] "%d videí bylo úspěšně naimportováno.\n" -#: src/Dialogs.vala:830 +#: src/Dialogs.vala:846 #, c-format msgid "1 photo/video successfully imported.\n" msgid_plural "%d photos/videos successfully imported.\n" @@ -3477,15 +3604,15 @@ msgstr[2] "%d fotografií/videí bylo úspěšně naimportováno.\n" #. if no media items were imported at all (i.e. an empty directory attempted), need to at least #. report that nothing was imported -#: src/Dialogs.vala:846 +#: src/Dialogs.vala:862 msgid "No photos or videos imported.\n" msgstr "Žádné fotografie ani videa nebyly naimportovány.\n" -#: src/Dialogs.vala:853 src/Dialogs.vala:872 +#: src/Dialogs.vala:869 src/Dialogs.vala:888 msgid "Import Complete" msgstr "Import dokončen" -#: src/Dialogs.vala:1158 +#: src/Dialogs.vala:1174 #, c-format msgid "%d second" msgid_plural "%d seconds" @@ -3493,7 +3620,7 @@ msgstr[0] "%d vteřina" msgstr[1] "%d vteřiny" msgstr[2] "%d vteřin" -#: src/Dialogs.vala:1161 +#: src/Dialogs.vala:1177 #, c-format msgid "%d minute" msgid_plural "%d minutes" @@ -3501,7 +3628,7 @@ msgstr[0] "%d minuta" msgstr[1] "%d minuty" msgstr[2] "%d minut" -#: src/Dialogs.vala:1165 +#: src/Dialogs.vala:1181 #, c-format msgid "%d hour" msgid_plural "%d hours" @@ -3509,65 +3636,65 @@ msgstr[0] "%d hodina" msgstr[1] "%d hodiny" msgstr[2] "%d hodin" -#: src/Dialogs.vala:1168 +#: src/Dialogs.vala:1184 msgid "1 day" msgstr "1 den" -#: src/Dialogs.vala:1322 src/Resources.vala:231 +#: src/Dialogs.vala:1338 src/Resources.vala:231 msgid "Rename Event" msgstr "Přejmenovat událost" -#: src/Dialogs.vala:1322 +#: src/Dialogs.vala:1338 msgid "Name:" msgstr "Název:" #. Dialog title -#: src/Dialogs.vala:1333 +#: src/Dialogs.vala:1349 msgctxt "Dialog Title" msgid "Edit Title" msgstr "Úprava názvu" -#: src/Dialogs.vala:1334 src/Properties.vala:340 +#: src/Dialogs.vala:1350 src/Properties.vala:340 msgid "Title:" msgstr "Název:" #. Dialog title -#: src/Dialogs.vala:1350 src/Resources.vala:307 +#: src/Dialogs.vala:1366 src/Resources.vala:307 msgid "Edit Event Comment" msgstr "Úprava komentáře k události" -#: src/Dialogs.vala:1351 +#: src/Dialogs.vala:1367 msgid "Edit Photo/Video Comment" msgstr "Úprava komentáře k fotografii/videu" -#: src/Dialogs.vala:1352 src/Properties.vala:628 +#: src/Dialogs.vala:1368 src/Properties.vala:628 msgid "Comment:" msgstr "Komentář:" -#: src/Dialogs.vala:1368 +#: src/Dialogs.vala:1384 msgid "Remove and _Trash File" msgid_plural "Remove and _Trash Files" msgstr[0] "Soubor odstranit a přesunou_t do koše" msgstr[1] "Soubory odstranit a přesunou_t do koše" msgstr[2] "Soubory odstranit a přesunou_t do koše" -#: src/Dialogs.vala:1372 +#: src/Dialogs.vala:1388 msgid "_Remove From Library" msgstr "Odst_ranit z knihovny" -#: src/Dialogs.vala:1415 +#: src/Dialogs.vala:1431 msgid "Revert External Edit?" msgstr "Vrátit zpět externí úpravu?" -#: src/Dialogs.vala:1415 +#: src/Dialogs.vala:1431 msgid "Revert External Edits?" msgstr "Vrátit zpět externí úpravy?" -#: src/Dialogs.vala:1417 +#: src/Dialogs.vala:1433 #, c-format -msgid "This will destroy all changes made to the external file. Continue?" +msgid "This will destroy all changes made to the external file. Continue?" msgid_plural "" -"This will destroy all changes made to %d external files. Continue?" +"This will destroy all changes made to %d external files. Continue?" msgstr[0] "" "Tím se odstraní všechny změny provedené v externím souboru. Pokračovat?" msgstr[1] "" @@ -3575,88 +3702,88 @@ msgstr[1] "" msgstr[2] "" "Tím se odstraní všechny změny provedené v %d externích souborech. Pokračovat?" -#: src/Dialogs.vala:1421 +#: src/Dialogs.vala:1437 msgid "Re_vert External Edit" msgstr "_Vrátit zpět externí úpravu" -#: src/Dialogs.vala:1421 +#: src/Dialogs.vala:1437 msgid "Re_vert External Edits" msgstr "_Vrátit zpět externí úpravy" -#: src/Dialogs.vala:1442 +#: src/Dialogs.vala:1458 #, c-format -msgid "This will remove the photo from the library. Continue?" -msgid_plural "This will remove %d photos from the library. Continue?" +msgid "This will remove the photo from the library. Continue?" +msgid_plural "This will remove %d photos from the library. Continue?" msgstr[0] "Tím se fotka odebere z knihovny. Pokračovat?" msgstr[1] "Tím se odeberou %d fotky z knihovny. Pokračovat?" msgstr[2] "Tím se odebere %d fotek z knihovny. Pokračovat?" -#: src/Dialogs.vala:1449 src/Resources.vala:173 +#: src/Dialogs.vala:1465 src/Resources.vala:173 msgid "_Remove" msgstr "Odeb_rat" -#: src/Dialogs.vala:1450 +#: src/Dialogs.vala:1466 msgid "Remove Photo From Library" msgstr "Odstranit fotografii z knihovny" -#: src/Dialogs.vala:1450 +#: src/Dialogs.vala:1466 msgid "Remove Photos From Library" msgstr "Odstranit fotografie z knihovny" -#: src/Dialogs.vala:1543 +#: src/Dialogs.vala:1559 #, c-format msgid "%d%%" msgstr "%d %%" -#: src/Dialogs.vala:1697 +#: src/Dialogs.vala:1713 msgid "AM" msgstr "dop." -#: src/Dialogs.vala:1698 +#: src/Dialogs.vala:1714 msgid "PM" msgstr "odp." -#: src/Dialogs.vala:1699 +#: src/Dialogs.vala:1715 msgid "24 Hr" msgstr "24hod" -#: src/Dialogs.vala:1714 +#: src/Dialogs.vala:1730 msgid "_Shift photos/videos by the same amount" msgstr "_Posunout fotografie/videa o tu samou hodnotu" -#: src/Dialogs.vala:1719 +#: src/Dialogs.vala:1735 msgid "Set _all photos/videos to this time" msgstr "Nastavit tento čas _všem fotkám/videím" -#: src/Dialogs.vala:1726 +#: src/Dialogs.vala:1742 msgid "_Modify original photo file" msgstr "Z_měnit soubor s originální fotkou" -#: src/Dialogs.vala:1726 +#: src/Dialogs.vala:1742 msgid "_Modify original photo files" msgstr "Z_měnit soubory s originálními fotkami" -#: src/Dialogs.vala:1729 +#: src/Dialogs.vala:1745 msgid "_Modify original file" msgstr "Z_měnit originální soubor" -#: src/Dialogs.vala:1729 +#: src/Dialogs.vala:1745 msgid "_Modify original files" msgstr "Z_měnit originální soubory" -#: src/Dialogs.vala:1815 +#: src/Dialogs.vala:1831 msgid "Original: " msgstr "Originál:" -#: src/Dialogs.vala:1816 +#: src/Dialogs.vala:1832 msgid "%m/%d/%Y, %H:%M:%S" msgstr "%d.%m.%Y, %k∶%M∶%S" -#: src/Dialogs.vala:1817 +#: src/Dialogs.vala:1833 msgid "%m/%d/%Y, %I:%M:%S %p" msgstr "%d.%m.%Y, %l∶%M∶%S %p" -#: src/Dialogs.vala:1906 +#: src/Dialogs.vala:1922 #, c-format msgid "" "Exposure time will be shifted forward by\n" @@ -3665,7 +3792,7 @@ msgstr "" "Čas expozice bude posunut dopředu\n" "o %d %s, %d %s, %d %s a %d %s." -#: src/Dialogs.vala:1907 +#: src/Dialogs.vala:1923 #, c-format msgid "" "Exposure time will be shifted backward by\n" @@ -3674,35 +3801,35 @@ msgstr "" "Čas expozice bude posunut dozadu\n" "o %d %s, %d %s, %d %s a %d %s." -#: src/Dialogs.vala:1909 +#: src/Dialogs.vala:1925 msgid "day" msgid_plural "days" msgstr[0] "den" msgstr[1] "dny" msgstr[2] "dní" -#: src/Dialogs.vala:1910 +#: src/Dialogs.vala:1926 msgid "hour" msgid_plural "hours" msgstr[0] "hodinu" msgstr[1] "hodiny" msgstr[2] "hodin" -#: src/Dialogs.vala:1911 +#: src/Dialogs.vala:1927 msgid "minute" msgid_plural "minutes" msgstr[0] "minutu" msgstr[1] "minuty" msgstr[2] "minut" -#: src/Dialogs.vala:1912 +#: src/Dialogs.vala:1928 msgid "second" msgid_plural "seconds" msgstr[0] "vteřinu" msgstr[1] "vteřiny" msgstr[2] "vteřin" -#: src/Dialogs.vala:1956 +#: src/Dialogs.vala:1972 #, c-format msgid "" "\n" @@ -3725,50 +3852,50 @@ msgstr[2] "" "\n" "A %d dalších." -#: src/Dialogs.vala:1980 src/Dialogs.vala:2007 +#: src/Dialogs.vala:1996 src/Dialogs.vala:2023 msgid "Tags (separated by commas):" msgstr "Štítky (oddělené čárkou):" -#: src/Dialogs.vala:2087 +#: src/Dialogs.vala:2103 msgid "Welcome!" msgstr "Vítejte!" -#: src/Dialogs.vala:2094 +#: src/Dialogs.vala:2110 msgid "Welcome to Shotwell!" msgstr "Vítejte v aplikaci Shotwell" -#: src/Dialogs.vala:2098 +#: src/Dialogs.vala:2114 msgid "To get started, import photos in any of these ways:" msgstr "Pro začátek naimportujte fotky libovolným postupem:" -#: src/Dialogs.vala:2117 +#: src/Dialogs.vala:2133 #, c-format msgid "Choose <span weight=\"bold\">File %s Import From Folder</span>" msgstr "" "výběrem z nabídky <span weight=\"bold\">Soubor %s Importovat ze složky</span>" -#: src/Dialogs.vala:2118 +#: src/Dialogs.vala:2134 msgid "Drag and drop photos onto the Shotwell window" msgstr "přetažením a upuštěním souborů nad oknem aplikace" -#: src/Dialogs.vala:2119 +#: src/Dialogs.vala:2135 msgid "Connect a camera to your computer and import" msgstr "připojením fotoaparátu k počítači a importem z něj" -#: src/Dialogs.vala:2129 +#: src/Dialogs.vala:2145 #, c-format msgid "_Import photos from your %s folder" msgstr "_Importovat fotografie ze složky %s" -#: src/Dialogs.vala:2136 +#: src/Dialogs.vala:2152 msgid "You can also import photos in any of these ways:" msgstr "Můžete také některým z těchto způsobů importovat fotky:" -#: src/Dialogs.vala:2146 -msgid "_Don't show this message again" +#: src/Dialogs.vala:2162 +msgid "_Don’t show this message again" msgstr "Příště _nezobrazovat" -#: src/Dialogs.vala:2181 +#: src/Dialogs.vala:2197 #, c-format msgid "Import photos from your %s library" msgstr "Importovat fotky z knihovny %s" @@ -3776,41 +3903,41 @@ msgstr "Importovat fotky z knihovny %s" #. We're installed system-wide, so use the system help. #. We're being run from the build directory; we'll have to handle clicks to this #. link manually ourselves, due to a limitation of help: URIs. -#: src/Dialogs.vala:2328 src/Dialogs.vala:2332 +#: src/Dialogs.vala:2344 src/Dialogs.vala:2348 msgid "(Help)" msgstr "(nápověda)" -#: src/Dialogs.vala:2341 +#: src/Dialogs.vala:2357 #, c-format msgid "Year%sMonth%sDay" msgstr "rok%směsíc%sden" -#: src/Dialogs.vala:2343 +#: src/Dialogs.vala:2359 #, c-format msgid "Year%sMonth" msgstr "rok%směsíc" -#: src/Dialogs.vala:2345 +#: src/Dialogs.vala:2361 #, c-format msgid "Year%sMonth-Day" msgstr "rok%směsíc-den" -#: src/Dialogs.vala:2347 +#: src/Dialogs.vala:2363 msgid "Year-Month-Day" msgstr "rok-měsíc-den" -#: src/Dialogs.vala:2348 src/editing_tools/EditingTools.vala:781 +#: src/Dialogs.vala:2364 src/editing_tools/EditingTools.vala:781 msgid "Custom" msgstr "Vlastní" #. Invalid pattern. -#: src/Dialogs.vala:2585 +#: src/Dialogs.vala:2601 msgid "Invalid pattern" msgstr "Neplatný vzor" #. This function is used to determine whether or not files should be copied or linked when imported. #. Returns ACCEPT for copy, REJECT for link, and CANCEL for (drum-roll) cancel. -#: src/Dialogs.vala:2687 +#: src/Dialogs.vala:2703 msgid "" "Shotwell can copy the photos into your library folder or it can import them " "without copying." @@ -3818,40 +3945,40 @@ msgstr "" "Shotwell může zkopírovat fotky do knihovny nebo je může importovat bez " "kopírování." -#: src/Dialogs.vala:2692 +#: src/Dialogs.vala:2708 msgid "Co_py Photos" msgstr "Ko_pírovat fotky" -#: src/Dialogs.vala:2693 +#: src/Dialogs.vala:2709 msgid "_Import in Place" msgstr "_Importovat bez kopírování" -#: src/Dialogs.vala:2694 +#: src/Dialogs.vala:2710 msgid "Import to Library" msgstr "Import do knihovny" -#: src/Dialogs.vala:2704 src/PhotoPage.vala:3085 +#: src/Dialogs.vala:2720 src/PhotoPage.vala:3085 msgid "Remove From Library" msgstr "Odstranění z knihovny" -#: src/Dialogs.vala:2705 src/PhotoPage.vala:3085 +#: src/Dialogs.vala:2721 src/PhotoPage.vala:3085 msgid "Removing Photo From Library" msgstr "Odstraňuje se fotografie z knihovny" -#: src/Dialogs.vala:2705 +#: src/Dialogs.vala:2721 msgid "Removing Photos From Library" msgstr "Odstraňují se fotografie z knihovny" -#: src/Dialogs.vala:2719 +#: src/Dialogs.vala:2735 #, c-format msgid "" -"This will remove the photo/video from your Shotwell library. Would you also " +"This will remove the photo/video from your Shotwell library. Would you also " "like to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d photos/videos from your Shotwell library. Would you " -"also like to move the files to your desktop trash?\n" +"This will remove %d photos/videos from your Shotwell library. Would you also " +"like to move the files to your desktop trash?\n" "\n" "This action cannot be undone." msgstr[0] "" @@ -3870,15 +3997,15 @@ msgstr[2] "" "\n" "Tuto operaci nelze vrátit zpět." -#: src/Dialogs.vala:2723 +#: src/Dialogs.vala:2739 #, c-format msgid "" -"This will remove the video from your Shotwell library. Would you also like " +"This will remove the video from your Shotwell library. Would you also like " "to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d videos from your Shotwell library. Would you also like " +"This will remove %d videos from your Shotwell library. Would you also like " "to move the files to your desktop trash?\n" "\n" "This action cannot be undone." @@ -3898,15 +4025,15 @@ msgstr[2] "" "\n" "Tuto operaci nelze vrátit zpět." -#: src/Dialogs.vala:2727 +#: src/Dialogs.vala:2743 #, c-format msgid "" -"This will remove the photo from your Shotwell library. Would you also like " +"This will remove the photo from your Shotwell library. Would you also like " "to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d photos from your Shotwell library. Would you also like " +"This will remove %d photos from your Shotwell library. Would you also like " "to move the files to your desktop trash?\n" "\n" "This action cannot be undone." @@ -3926,12 +4053,12 @@ msgstr[2] "" "\n" "Tuto operaci nelze vrátit zpět." -#: src/Dialogs.vala:2759 +#: src/Dialogs.vala:2775 #, c-format msgid "" -"The photo or video cannot be moved to your desktop trash. Delete this file?" +"The photo or video cannot be moved to your desktop trash. Delete this file?" msgid_plural "" -"%d photos/videos cannot be moved to your desktop trash. Delete these files?" +"%d photos/videos cannot be moved to your desktop trash. Delete these files?" msgstr[0] "Fotografii či video nelze přesunout do koše. Má se soubor smazat?" msgstr[1] "" "%d fotografie/videa nelze přesunout do koše. Mají se soubory smazat?" @@ -3939,7 +4066,7 @@ msgstr[2] "" "%d fotografií/videí nelze přesunout do koše. Mají se soubory smazat?" #. Alert the user that the files were not removed. -#: src/Dialogs.vala:2776 +#: src/Dialogs.vala:2792 #, c-format msgid "The photo or video cannot be deleted." msgid_plural "%d photos/videos cannot be deleted." @@ -3969,8 +4096,8 @@ msgid "Save photo" msgstr "Uložit fotografii" #: src/direct/DirectPhotoPage.vala:57 -msgid "Save _As..." -msgstr "Uložit j_ako…" +msgid "Save _As…" +msgstr "Uložit j_ako" #: src/direct/DirectPhotoPage.vala:58 msgid "Save photo with a different name" @@ -4147,83 +4274,83 @@ msgid "-" msgstr "-" #: src/editing_tools/EditingTools.vala:758 -msgid "SD Video (4 : 3)" +msgid "SD Video (4 ∶ 3)" msgstr "SD video (4:3)" #: src/editing_tools/EditingTools.vala:759 -msgid "HD Video (16 : 9)" +msgid "HD Video (16 ∶ 9)" msgstr "HD video (16:9)" #: src/editing_tools/EditingTools.vala:761 src/Printing.vala:818 -msgid "Wallet (2 x 3 in.)" +msgid "Wallet (2 × 3 in.)" msgstr "Do peněženky (2 × 3 palce)" #: src/editing_tools/EditingTools.vala:762 src/Printing.vala:821 -msgid "Notecard (3 x 5 in.)" +msgid "Notecard (3 × 5 in.)" msgstr "Poznámková karta (3 × 5 palců)" #: src/editing_tools/EditingTools.vala:763 src/Printing.vala:824 -msgid "4 x 6 in." +msgid "4 × 6 in." msgstr "4 × 6 palců" #: src/editing_tools/EditingTools.vala:764 src/Printing.vala:827 -msgid "5 x 7 in." +msgid "5 × 7 in." msgstr "5 × 7 palců" #: src/editing_tools/EditingTools.vala:765 src/Printing.vala:830 -msgid "8 x 10 in." +msgid "8 × 10 in." msgstr "8 × 10 palců" #: src/editing_tools/EditingTools.vala:766 -msgid "Letter (8.5 x 11 in.)" +msgid "Letter (8.5 × 11 in.)" msgstr "Letter (8,5 x 11 palců)" #: src/editing_tools/EditingTools.vala:767 src/Printing.vala:833 -msgid "11 x 14 in." +msgid "11 × 14 in." msgstr "11 × 14 palců" #: src/editing_tools/EditingTools.vala:768 -msgid "Tabloid (11 x 17 in.)" +msgid "Tabloid (11 × 17 in.)" msgstr "Tabloid (11 × 17 palců)" #: src/editing_tools/EditingTools.vala:769 src/Printing.vala:836 -msgid "16 x 20 in." +msgid "16 × 20 in." msgstr "16 × 20 palců" #: src/editing_tools/EditingTools.vala:771 src/Printing.vala:842 -msgid "Metric Wallet (9 x 13 cm)" +msgid "Metric Wallet (9 × 13 cm)" msgstr "Do peněženky (9 × 13 cm)" #: src/editing_tools/EditingTools.vala:772 src/Printing.vala:845 -msgid "Postcard (10 x 15 cm)" +msgid "Postcard (10 × 15 cm)" msgstr "Pohlednice (10 × 15 cm)" #: src/editing_tools/EditingTools.vala:773 src/Printing.vala:848 -msgid "13 x 18 cm" +msgid "13 × 18 cm" msgstr "13 × 18 cm" #: src/editing_tools/EditingTools.vala:774 src/Printing.vala:851 -msgid "18 x 24 cm" +msgid "18 × 24 cm" msgstr "18 × 24 cm" #: src/editing_tools/EditingTools.vala:775 -msgid "A4 (210 x 297 mm)" +msgid "A4 (210 × 297 mm)" msgstr "A4 (210 × 297 mm)" #: src/editing_tools/EditingTools.vala:776 src/Printing.vala:854 -msgid "20 x 30 cm" +msgid "20 × 30 cm" msgstr "20 × 30 cm" #: src/editing_tools/EditingTools.vala:777 src/Printing.vala:857 -msgid "24 x 40 cm" +msgid "24 × 40 cm" msgstr "24 × 40 cm" #: src/editing_tools/EditingTools.vala:778 src/Printing.vala:860 -msgid "30 x 40 cm" +msgid "30 × 40 cm" msgstr "30 × 40 cm" #: src/editing_tools/EditingTools.vala:779 -msgid "A3 (297 x 420 mm)" +msgid "A3 (297 × 420 mm)" msgstr "A3 (297 × 420 mm)" #: src/editing_tools/EditingTools.vala:1872 src/Properties.vala:395 @@ -4238,70 +4365,78 @@ msgstr "Zavřít nástroj pro odstranění červených očí" msgid "Remove any red-eye effects in the selected region" msgstr "Odstranit efekt červených očí ve vybrané oblasti" -#: src/editing_tools/EditingTools.vala:2226 +#: src/editing_tools/EditingTools.vala:2229 #: src/editing_tools/StraightenTool.vala:102 msgid "_Reset" msgstr "_Původní" #. fit both on the top line, emit and move on -#: src/editing_tools/EditingTools.vala:2240 src/Properties.vala:436 +#: src/editing_tools/EditingTools.vala:2243 src/Properties.vala:436 #: src/Properties.vala:440 src/Properties.vala:447 msgid "Exposure:" msgstr "Expozice:" -#: src/editing_tools/EditingTools.vala:2248 +#: src/editing_tools/EditingTools.vala:2251 +msgid "Contrast:" +msgstr "Kontrast:" + +#: src/editing_tools/EditingTools.vala:2259 msgid "Saturation:" msgstr "Sytost:" -#: src/editing_tools/EditingTools.vala:2256 +#: src/editing_tools/EditingTools.vala:2267 msgid "Tint:" msgstr "Odstín:" -#: src/editing_tools/EditingTools.vala:2265 +#: src/editing_tools/EditingTools.vala:2276 msgid "Temperature:" msgstr "Teplota:" -#: src/editing_tools/EditingTools.vala:2273 +#: src/editing_tools/EditingTools.vala:2284 msgid "Shadows:" msgstr "Tmavé tóny:" -#: src/editing_tools/EditingTools.vala:2281 +#: src/editing_tools/EditingTools.vala:2292 msgid "Highlights:" msgstr "Světlé tóny:" -#: src/editing_tools/EditingTools.vala:2335 +#: src/editing_tools/EditingTools.vala:2346 msgid "Reset Colors" msgstr "Původní barvy" -#: src/editing_tools/EditingTools.vala:2335 +#: src/editing_tools/EditingTools.vala:2346 msgid "Reset all color adjustments to original" msgstr "Obnovit nastavení barev na původní" -#: src/editing_tools/EditingTools.vala:2687 +#: src/editing_tools/EditingTools.vala:2705 msgid "Temperature" msgstr "Teplota" -#: src/editing_tools/EditingTools.vala:2700 +#: src/editing_tools/EditingTools.vala:2717 msgid "Tint" msgstr "Odstín" -#: src/editing_tools/EditingTools.vala:2713 +#: src/editing_tools/EditingTools.vala:2729 +msgid "Contrast" +msgstr "Kontrast" + +#: src/editing_tools/EditingTools.vala:2743 msgid "Saturation" msgstr "Sytost" -#: src/editing_tools/EditingTools.vala:2726 +#: src/editing_tools/EditingTools.vala:2756 msgid "Exposure" msgstr "Expozice" -#: src/editing_tools/EditingTools.vala:2739 +#: src/editing_tools/EditingTools.vala:2769 msgid "Shadows" msgstr "Tmavé tóny" -#: src/editing_tools/EditingTools.vala:2752 +#: src/editing_tools/EditingTools.vala:2782 msgid "Highlights" msgstr "Světlé tóny" -#: src/editing_tools/EditingTools.vala:2762 +#: src/editing_tools/EditingTools.vala:2792 msgid "Contrast Expansion" msgstr "Zvýšení kontrastu" @@ -4378,7 +4513,7 @@ msgid "%B" msgstr "%B" #. if no name, pretty up the start time -#: src/Event.vala:751 +#: src/Event.vala:753 #, c-format msgid "Event %s" msgstr "Událost %s" @@ -4394,7 +4529,7 @@ msgstr "Exportuje se" #: src/Exporter.vala:317 #, c-format -msgid "File %s already exists. Replace?" +msgid "File %s already exists. Replace?" msgstr "Soubor %s již existuje. Přepsat?" #: src/Exporter.vala:319 @@ -4432,8 +4567,8 @@ msgid "Flagged" msgstr "Označeno" #: src/library/ImportQueuePage.vala:8 -msgid "Importing..." -msgstr "Importuje se…" +msgid "Importing…" +msgstr "Import…" #: src/library/ImportQueuePage.vala:67 msgid "_Stop Import" @@ -4444,8 +4579,8 @@ msgid "Stop importing photos" msgstr "Zastavit import fotografií" #: src/library/ImportQueuePage.vala:124 -msgid "Preparing to import..." -msgstr "Připravuje se na import…" +msgid "Preparing to import…" +msgstr "Připravuje se k importu…" #: src/library/ImportQueuePage.vala:151 #, c-format @@ -4457,16 +4592,16 @@ msgid "Last Import" msgstr "Poslední import" #: src/library/LibraryWindow.vala:285 -msgid "_Import From Folder..." -msgstr "_Importovat ze složky…" +msgid "_Import From Folder…" +msgstr "_Import ze složky…" #: src/library/LibraryWindow.vala:286 msgid "Import photos from disk to library" msgstr "Importovat fotografie z disku do knihovny" #: src/library/LibraryWindow.vala:293 -msgid "Import From _Application..." -msgstr "Importovat z _aplikace…" +msgid "Import From _Application…" +msgstr "Import z _aplikace…" #: src/library/LibraryWindow.vala:297 msgid "Sort _Events" @@ -4494,7 +4629,7 @@ msgstr "Najít fotografie nebo videa podle zadaných kritérií" #: src/library/LibraryWindow.vala:329 src/searches/Branch.vala:77 #: src/sidebar/Tree.vala:199 -msgid "Ne_w Saved Search..." +msgid "Ne_w Saved Search…" msgstr "No_vé uložené vyhledávání…" #: src/library/LibraryWindow.vala:351 @@ -4574,7 +4709,7 @@ msgid "Empty Trash" msgstr "Vyprázdnění koše" #: src/library/LibraryWindow.vala:726 -msgid "Emptying Trash..." +msgid "Emptying Trash…" msgstr "Vyprazdňuje se koš…" #: src/library/LibraryWindow.vala:901 @@ -4604,19 +4739,19 @@ msgid "%s (%d%%)" msgstr "%s (%d %%)" #: src/library/LibraryWindow.vala:1247 src/library/LibraryWindow.vala:1258 -msgid "Updating library..." +msgid "Updating library…" msgstr "Aktualizuje se knihovna…" #: src/library/LibraryWindow.vala:1264 -msgid "Preparing to auto-import photos..." +msgid "Preparing to auto-import photos…" msgstr "Připravuje se automatický import fotografií…" #: src/library/LibraryWindow.vala:1269 -msgid "Auto-importing photos..." +msgid "Auto-importing photos…" msgstr "Provádí se automatický import fotografií…" #: src/library/LibraryWindow.vala:1277 -msgid "Writing metadata to files..." +msgid "Writing metadata to files…" msgstr "Zapisují se metadata do souborů…" #: src/library/OfflinePage.vala:8 @@ -4624,7 +4759,7 @@ msgid "Missing Files" msgstr "Chybějící soubory" #: src/library/OfflinePage.vala:106 -msgid "Deleting..." +msgid "Deleting…" msgstr "Maže se…" #: src/library/TrashPage.vala:8 @@ -4646,9 +4781,9 @@ msgstr "Mažou se fotografie" #: src/main.vala:54 #, c-format msgid "" -"Your photo library is not compatible with this version of Shotwell. It " -"appears it was created by Shotwell %s (schema %d). This version is %s " -"(schema %d). Please use the latest version of Shotwell." +"Your photo library is not compatible with this version of Shotwell. It " +"appears it was created by Shotwell %s (schema %d). This version is %s " +"(schema %d). Please use the latest version of Shotwell." msgstr "" "Vaše knihovna fotografií není kompatibilní s touto verzí aplikace Shotwell. " "Knihovna je vytvořena ve verzi %s (schéma %d). Spuštěná verze je %s (schéma " @@ -4658,7 +4793,7 @@ msgstr "" #, c-format msgid "" "Shotwell was unable to upgrade your photo library from version %s (schema " -"%d) to %s (schema %d). For more information please check the Shotwell Wiki " +"%d) to %s (schema %d). For more information please check the Shotwell Wiki " "at %s" msgstr "" "Aplikaci Shotwell se nepodařilo aktualizovat knihovnu fotografií z verze %s " @@ -4668,9 +4803,9 @@ msgstr "" #: src/main.vala:65 #, c-format msgid "" -"Your photo library is not compatible with this version of Shotwell. It " -"appears it was created by Shotwell %s (schema %d). This version is %s " -"(schema %d). Please clear your library by deleting %s and re-import your " +"Your photo library is not compatible with this version of Shotwell. It " +"appears it was created by Shotwell %s (schema %d). This version is %s " +"(schema %d). Please clear your library by deleting %s and re-import your " "photos." msgstr "" "Vaše knihovna fotografií není kompatibilní s touto verzí aplikace Shotwell. " @@ -4679,7 +4814,7 @@ msgstr "" #: src/main.vala:71 #, c-format -msgid "Unknown error attempting to verify Shotwell's database: %s" +msgid "Unknown error attempting to verify Shotwell’s database: %s" msgstr "Neznámá chyba při přístupu k databázi Shotwell: %s" #: src/main.vala:104 @@ -4687,7 +4822,7 @@ msgid "Loading Shotwell" msgstr "Načítá se Shotwell" #: src/main.vala:294 -msgid "Path to Shotwell's private data" +msgid "Path to Shotwell’s private data" msgstr "Cesta k soukromým datům aplikace Shotwell" #: src/main.vala:294 @@ -4699,11 +4834,11 @@ msgid "Do not monitor library directory at runtime for changes" msgstr "Nesledovat průběžné změny ve složce s knihovnou" #: src/main.vala:302 -msgid "Don't display startup progress meter" +msgid "Don’t display startup progress meter" msgstr "Při spuštění nezobrazovat ukazatel průběhu" #: src/main.vala:306 -msgid "Show the application's version" +msgid "Show the application’s version" msgstr "Zobrazit verzi aplikace" #. init GTK (valac has already called g_threads_init()) @@ -4713,7 +4848,7 @@ msgstr "[SOUBOR]" #: src/main.vala:342 #, c-format -msgid "Run '%s --help' to see a full list of available command line options.\n" +msgid "Run “%s --help” to see a full list of available command line options.\n" msgstr "" "Spuštěním „%s --help“ si zobrazíte všechny přepínače příkazového řádku.\n" @@ -4755,7 +4890,7 @@ msgid "Display the comment of each photo" msgstr "U každé fotografie zobrazit komentář" #: src/MediaPage.vala:470 -msgid "Display each photo's tags" +msgid "Display each photo’s tags" msgstr "U každé fotografie zobrazit štítky" #: src/MediaPage.vala:486 @@ -4917,7 +5052,7 @@ msgid "Image Settings" msgstr "Nastavení obrázku" #: src/Printing.vala:889 -msgid "Printing..." +msgid "Printing…" msgstr "Tiskne se…" #: src/Printing.vala:909 src/Printing.vala:1112 @@ -5064,7 +5199,7 @@ msgstr "Nahrává se %d z %d" #: src/publishing/PublishingPluginHost.vala:81 #, c-format -msgid "Publishing to %s can't continue because an error occurred:" +msgid "Publishing to %s can’t continue because an error occurred:" msgstr "Zveřejnění na %s nemůže pokračovat kvůli chybě:" #: src/publishing/PublishingPluginHost.vala:84 @@ -5092,11 +5227,11 @@ msgid "The selected photo was successfully published." msgstr "Vybraná fotografie byla úspěšně zveřejněna." #: src/publishing/PublishingUI.vala:122 -msgid "Fetching account information..." +msgid "Fetching account information…" msgstr "Získávají se informace o účtu…" #: src/publishing/PublishingUI.vala:128 -msgid "Logging in..." +msgid "Logging in…" msgstr "Přihlašuje se…" #: src/publishing/PublishingUI.vala:188 @@ -5287,7 +5422,7 @@ msgid "Enhance" msgstr "Vylepšit" #: src/Resources.vala:188 -msgid "Automatically improve the photo's appearance" +msgid "Automatically improve the photo’s appearance" msgstr "Automaticky vylepšit vzhled fotografie" #: src/Resources.vala:190 @@ -5323,7 +5458,7 @@ msgid "Crop" msgstr "Oříznout" #: src/Resources.vala:200 -msgid "Crop the photo's size" +msgid "Crop the photo’s size" msgstr "Oříznout rozměry fotografie" #: src/Resources.vala:203 @@ -5355,7 +5490,7 @@ msgid "Adjust" msgstr "Upravit" #: src/Resources.vala:212 -msgid "Adjust the photo's color and tone" +msgid "Adjust the photo’s color and tone" msgstr "Upravit barvy a tón fotografie" #: src/Resources.vala:214 @@ -5383,7 +5518,7 @@ msgid "Set selected image to be the new desktop background" msgstr "Nastavit vybranou fotografii jako obrázek na pozadí pracovní plochy" #: src/Resources.vala:222 -msgid "Set as _Desktop Slideshow..." +msgid "Set as _Desktop Slideshow…" msgstr "Nastavit jako prezentaci na p_loše…" #: src/Resources.vala:224 @@ -5403,7 +5538,7 @@ msgid "Redo" msgstr "Znovu" #: src/Resources.vala:230 -msgid "Re_name Event..." +msgid "Re_name Event…" msgstr "Přejme_novat událost…" #: src/Resources.vala:233 @@ -5545,7 +5680,7 @@ msgid "_Ratings" msgstr "_Hodnocení" #: src/Resources.vala:280 -msgid "Display each photo's rating" +msgid "Display each photo’s rating" msgstr "U každé fotografie zobrazit hodnocení" #: src/Resources.vala:282 @@ -5573,24 +5708,24 @@ msgid "Make a duplicate of the photo" msgstr "Vytvořit kopii této fotografie" #: src/Resources.vala:290 -msgid "_Export..." +msgid "_Export…" msgstr "_Export…" #: src/Resources.vala:292 -msgid "_Print..." +msgid "_Print…" msgstr "_Tisk…" #: src/Resources.vala:294 -msgid "Pu_blish..." -msgstr "Zveře_jnit…" +msgid "Pu_blish…" +msgstr "Z_veřejnit…" #: src/Resources.vala:296 msgid "Publish to various websites" msgstr "Zveřejnit na různých webových stránkách" #: src/Resources.vala:298 -msgid "Edit _Title..." -msgstr "Upravi_t název…" +msgid "Edit _Title…" +msgstr "Úpravi_t název…" #. Button label #: src/Resources.vala:300 @@ -5599,7 +5734,7 @@ msgid "Edit Title" msgstr "Upravit název" #: src/Resources.vala:302 -msgid "Edit _Comment..." +msgid "Edit _Comment…" msgstr "Upravit _komentář…" #. Button label @@ -5608,23 +5743,23 @@ msgid "Edit Comment" msgstr "Upravit komentář" #: src/Resources.vala:306 -msgid "Edit Event _Comment..." -msgstr "Upravit _komentář události…" +msgid "Edit Event _Comment…" +msgstr "Úpravit _komentář k události…" #: src/Resources.vala:309 -msgid "_Adjust Date and Time..." -msgstr "Nastavit d_atum a čas…" +msgid "_Adjust Date and Time…" +msgstr "N_astavit datum a čas…" #: src/Resources.vala:310 msgid "Adjust Date and Time" msgstr "Nastavení data a času" #: src/Resources.vala:312 -msgid "Add _Tags..." +msgid "Add _Tags…" msgstr "Přidat š_títky…" #: src/Resources.vala:313 -msgid "_Add Tags..." +msgid "_Add Tags…" msgstr "Přid_at štítky…" #. Dialog title @@ -5642,15 +5777,15 @@ msgid "Open With RA_W Editor" msgstr "Otevřít v editoru RA_W" #: src/Resources.vala:323 -msgid "Send _To..." +msgid "Send _To…" msgstr "Odesla_t…" #: src/Resources.vala:324 -msgid "Send T_o..." +msgid "Send T_o…" msgstr "_Odeslat…" #: src/Resources.vala:326 -msgid "_Find..." +msgid "_Find…" msgstr "Na_jít…" #: src/Resources.vala:327 @@ -5676,13 +5811,13 @@ msgstr "Nelze spustit editor: %s" #: src/Resources.vala:340 #, c-format -msgid "Add Tag \"%s\"" +msgid "Add Tag “%s”" msgstr "Přidat štítek „%s“" #. Used when adding two tags to photo(s) #: src/Resources.vala:343 #, c-format -msgid "Add Tags \"%s\" and \"%s\"" +msgid "Add Tags “%s” and “%s”" msgstr "Přidat štítky „%s“ a „%s“" #. Undo/Redo command name (in Edit menu) @@ -5693,12 +5828,12 @@ msgstr "Přidat štítky" #: src/Resources.vala:353 #, c-format -msgid "_Delete Tag \"%s\"" +msgid "_Delete Tag “%s”" msgstr "S_mazat štítek „%s“" #: src/Resources.vala:357 #, c-format -msgid "Delete Tag \"%s\"" +msgid "Delete Tag “%s”" msgstr "Smazat štítek „%s“" #: src/Resources.vala:360 @@ -5707,21 +5842,21 @@ msgstr "Smazat štítek" #: src/Resources.vala:366 #, c-format -msgid "Re_name Tag \"%s\"..." +msgid "Re_name Tag “%s”…" msgstr "Přejme_novat štítek „%s“…" #: src/Resources.vala:370 #, c-format -msgid "Rename Tag \"%s\" to \"%s\"" +msgid "Rename Tag “%s” to “%s”" msgstr "Přejmenovat štítek „%s“ na „%s“" #: src/Resources.vala:373 -msgid "_Rename..." +msgid "_Rename…" msgstr "_Přejmenovat…" #: src/Resources.vala:375 -msgid "Modif_y Tags..." -msgstr "Změnit štítk_y…" +msgid "Modif_y Tags…" +msgstr "Změn_it štítky…" #: src/Resources.vala:376 msgid "Modify Tags" @@ -5729,52 +5864,52 @@ msgstr "Změnit štítky" #: src/Resources.vala:379 #, c-format -msgid "Tag Photo as \"%s\"" +msgid "Tag Photo as “%s”" msgstr "Oštítkovat fotku jak „%s“" #: src/Resources.vala:379 #, c-format -msgid "Tag Photos as \"%s\"" +msgid "Tag Photos as “%s”" msgstr "Oštítkovat fotku jak „%s“" #: src/Resources.vala:383 #, c-format -msgid "Tag the selected photo as \"%s\"" +msgid "Tag the selected photo as “%s”" msgstr "Oštítkovat vybranou fotku jako „%s“" #: src/Resources.vala:384 #, c-format -msgid "Tag the selected photos as \"%s\"" +msgid "Tag the selected photos as “%s”" msgstr "Oštítkovat vybrané fotky jako „%s“" #: src/Resources.vala:388 #, c-format -msgid "Remove Tag \"%s\" From _Photo" +msgid "Remove Tag “%s” From _Photo" msgstr "Odstranit z _fotky štítek „%s“" #: src/Resources.vala:389 #, c-format -msgid "Remove Tag \"%s\" From _Photos" +msgid "Remove Tag “%s” From _Photos" msgstr "Odstranit z _fotek štítek „%s“" #: src/Resources.vala:393 #, c-format -msgid "Remove Tag \"%s\" From Photo" +msgid "Remove Tag “%s” From Photo" msgstr "Odstranit z fotky šítek „%s“" #: src/Resources.vala:394 #, c-format -msgid "Remove Tag \"%s\" From Photos" +msgid "Remove Tag “%s” From Photos" msgstr "Odstranit z fotek štítek „%s“" #: src/Resources.vala:398 #, c-format -msgid "Unable to rename tag to \"%s\" because the tag already exists." +msgid "Unable to rename tag to “%s” because the tag already exists." msgstr "Nelze přejmenovat šítek na „%s“, protože takový už existuje." #: src/Resources.vala:402 #, c-format -msgid "Unable to rename search to \"%s\" because the search already exists." +msgid "Unable to rename search to “%s” because the search already exists." msgstr "Nelze přejmenovat hledání na „%s“, protože takové už existuje." #. Saved search button @@ -5787,21 +5922,21 @@ msgid "Delete Search" msgstr "Smazat hledání" #: src/Resources.vala:410 -msgid "_Edit..." +msgid "_Edit…" msgstr "_Upravit…" #: src/Resources.vala:411 -msgid "Re_name..." +msgid "Re_name…" msgstr "Přejme_novat…" #: src/Resources.vala:414 #, c-format -msgid "Rename Search \"%s\" to \"%s\"" +msgid "Rename Search “%s” to “%s”" msgstr "Přejmenovat hledání „%s“ na „%s“" #: src/Resources.vala:418 #, c-format -msgid "Delete Search \"%s\"" +msgid "Delete Search “%s”" msgstr "Smazat hledání „%s“" #: src/Resources.vala:576 @@ -5865,7 +6000,7 @@ msgid "Show in File Mana_ger" msgstr "Otevřít ve _správci souborů" #: src/Resources.vala:682 -msgid "Open the selected photo's directory in the file manager" +msgid "Open the selected photo’s directory in the file manager" msgstr "Otevřít vybranou složku s fotografiemi ve správci souborů" #: src/Resources.vala:685 @@ -6160,7 +6295,7 @@ msgid "Use a saved search to filter items in the current view" msgstr "Použít uložené hledání k filtrování položek v aktuálním zobrazení" #: src/sidebar/Tree.vala:203 -msgid "New _Tag..." +msgid "New _Tag…" msgstr "Nový š_títek…" #: src/SlideshowPage.vala:49 src/SlideshowPage.vala:183 @@ -6426,3 +6561,6 @@ msgstr "Zobrazovat n_ázev" #: ui/shotwell.ui:1534 ui/shotwell.ui:1547 msgid "seconds" msgstr "vteřin" + +#~ msgid "Login" +#~ msgstr "Přihlásit" Binary files differ@@ -39,17 +39,17 @@ # Wolfgang Stöggl <c72578@yahoo.de>, 2014. # Mario Blättermann <mario.blaettermann@gmail.com>, 2016. # Bernd Homuth <dev@hmt.im>, 2016. +# Benedikt M. Thoma <gnome@thomba.net>, 2016. # msgid "" msgstr "" "Project-Id-Version: master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=shotwell&keywords=I18N+L10N&component=Internationalization\n" -"POT-Creation-Date: 2016-09-18 19:11+0000\n" -"PO-Revision-Date: 2016-09-18 23:23+0200\n" -"Last-Translator: Bernd Homuth <dev@hmt.im>\n" -"Language-Team: German (http://www.transifex.com/projects/p/shotwell/language/" -"de/)\n" +"POT-Creation-Date: 2016-09-29 21:07+0000\n" +"PO-Revision-Date: 2016-09-30 09:04+0200\n" +"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n" +"Language-Team: Deutsch <gnome-de@gnome.org>\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -849,8 +849,8 @@ msgid "" "The cryptographic secret used to sign requests against the authorization " "token for the currently logged in Flickr user, if any" msgstr "" -"Das kryptografische Geheimnis, das beim Signieren von Anfragen gegenüber " -"dem Authentifizierungs-Token des zur Zeit angemeldeten Flickr-Benutzers " +"Das kryptografische Geheimnis, das beim Signieren von Anfragen gegenüber dem " +"Authentifizierungs-Token des zur Zeit angemeldeten Flickr-Benutzers " "verwendet wird, soweit vorhanden" #: misc/org.yorba.shotwell.gschema.xml:385 @@ -1377,7 +1377,7 @@ msgstr "" msgid "Visit the Shotwell home page" msgstr "Die Shotwell-Webseite besuchen" -#: plugins/common/Resources.vala:31 src/AppWindow.vala:676 +#: plugins/common/Resources.vala:31 src/AppWindow.vala:679 msgid "translator-credits" msgstr "" "Christian Kirbach <Christian.Kirbach@gmail.com>, 2014, 2015, 2016\n" @@ -2426,26 +2426,26 @@ msgstr "Werkzeugleiste immer geöffnet" msgid "Leave fullscreen" msgstr "Vollbild verlassen" -#: src/AppWindow.vala:496 +#: src/AppWindow.vala:499 msgid "_Contents" msgstr "_Inhalt" -#: src/AppWindow.vala:501 +#: src/AppWindow.vala:504 msgid "_Frequently Asked Questions" msgstr "Oft gestellte _Fragen" -#: src/AppWindow.vala:506 -msgid "_Report a Problem..." +#: src/AppWindow.vala:509 +msgid "_Report a Problem…" msgstr "_Ein Problem melden …" -#: src/AppWindow.vala:605 src/AppWindow.vala:626 src/AppWindow.vala:643 +#: src/AppWindow.vala:608 src/AppWindow.vala:629 src/AppWindow.vala:646 #: src/data_imports/DataImportsUI.vala:413 src/Dialogs.vala:20 #: src/Dialogs.vala:28 src/Dialogs.vala:1425 src/Dialogs.vala:1448 #: src/publishing/PublishingUI.vala:512 src/Resources.vala:157 msgid "_Cancel" msgstr "_Abbrechen" -#: src/AppWindow.vala:653 +#: src/AppWindow.vala:656 #, c-format msgid "" "A fatal error occurred when accessing Shotwell's library. Shotwell cannot " @@ -2458,21 +2458,21 @@ msgstr "" "\n" "%s" -#: src/AppWindow.vala:673 +#: src/AppWindow.vala:676 msgid "Visit the Shotwell web site" msgstr "Besuchen Sie die Shotwell-Internetseite" -#: src/AppWindow.vala:685 +#: src/AppWindow.vala:688 #, c-format msgid "Unable to display help: %s" msgstr "Die Hilfe kann nicht angezeigt werden: %s" -#: src/AppWindow.vala:693 +#: src/AppWindow.vala:696 #, c-format msgid "Unable to navigate to bug database: %s" msgstr "Zur Datenbank von Fehlerberichten kann nicht gewechselt werden: %s" -#: src/AppWindow.vala:701 +#: src/AppWindow.vala:704 #, c-format msgid "Unable to display FAQ: %s" msgstr "Die oft gestellten Fragen können nicht angezeigt werden: %s" @@ -2644,11 +2644,11 @@ msgstr "" "%s" #: src/camera/ImportPage.vala:1061 -msgid "Unmounting..." +msgid "Unmounting…" msgstr "Aushängen läuft …" #: src/camera/ImportPage.vala:1152 -msgid "Starting import, please wait..." +msgid "Starting import, please wait…" msgstr "Import wird gestartet, bitte warten …" #: src/camera/ImportPage.vala:1169 @@ -3152,7 +3152,7 @@ msgid "Export metadata" msgstr "Metadaten exportieren" #: src/Dialogs.vala:462 -msgid "Save Details..." +msgid "Save Details…" msgstr "Details speichern …" #: src/Dialogs.vala:463 @@ -3990,7 +3990,7 @@ msgid "Save photo" msgstr "Foto speichern" #: src/direct/DirectPhotoPage.vala:57 -msgid "Save _As..." +msgid "Save _As…" msgstr "Speichern _unter …" #: src/direct/DirectPhotoPage.vala:58 @@ -4261,70 +4261,78 @@ msgstr "Rote-Augen-Entferner schließen" msgid "Remove any red-eye effects in the selected region" msgstr "Rote-Augen-Effekt im ausgewählten Bereich beseitigen" -#: src/editing_tools/EditingTools.vala:2226 +#: src/editing_tools/EditingTools.vala:2229 #: src/editing_tools/StraightenTool.vala:102 msgid "_Reset" msgstr "_Zurücksetzen" #. fit both on the top line, emit and move on -#: src/editing_tools/EditingTools.vala:2240 src/Properties.vala:436 +#: src/editing_tools/EditingTools.vala:2243 src/Properties.vala:436 #: src/Properties.vala:440 src/Properties.vala:447 msgid "Exposure:" msgstr "Belichtung:" -#: src/editing_tools/EditingTools.vala:2248 +#: src/editing_tools/EditingTools.vala:2251 +msgid "Contrast:" +msgstr "Kontrast:" + +#: src/editing_tools/EditingTools.vala:2259 msgid "Saturation:" msgstr "Sättigung:" -#: src/editing_tools/EditingTools.vala:2256 +#: src/editing_tools/EditingTools.vala:2267 msgid "Tint:" msgstr "Farbton:" -#: src/editing_tools/EditingTools.vala:2265 +#: src/editing_tools/EditingTools.vala:2276 msgid "Temperature:" msgstr "Temperatur:" -#: src/editing_tools/EditingTools.vala:2273 +#: src/editing_tools/EditingTools.vala:2284 msgid "Shadows:" msgstr "Schatten:" -#: src/editing_tools/EditingTools.vala:2281 +#: src/editing_tools/EditingTools.vala:2292 msgid "Highlights:" msgstr "Spitzlichter:" -#: src/editing_tools/EditingTools.vala:2335 +#: src/editing_tools/EditingTools.vala:2346 msgid "Reset Colors" msgstr "Farben zurücksetzen" -#: src/editing_tools/EditingTools.vala:2335 +#: src/editing_tools/EditingTools.vala:2346 msgid "Reset all color adjustments to original" msgstr "Alle Farbanpassungen auf Ursprungswerte zurücksetzen" -#: src/editing_tools/EditingTools.vala:2687 +#: src/editing_tools/EditingTools.vala:2705 msgid "Temperature" msgstr "Temperatur" -#: src/editing_tools/EditingTools.vala:2700 +#: src/editing_tools/EditingTools.vala:2717 msgid "Tint" msgstr "Farbton" -#: src/editing_tools/EditingTools.vala:2713 +#: src/editing_tools/EditingTools.vala:2729 +msgid "Contrast" +msgstr "Kontrast" + +#: src/editing_tools/EditingTools.vala:2743 msgid "Saturation" msgstr "Sättigung" -#: src/editing_tools/EditingTools.vala:2726 +#: src/editing_tools/EditingTools.vala:2756 msgid "Exposure" msgstr "Belichtung" -#: src/editing_tools/EditingTools.vala:2739 +#: src/editing_tools/EditingTools.vala:2769 msgid "Shadows" msgstr "Schatten" -#: src/editing_tools/EditingTools.vala:2752 +#: src/editing_tools/EditingTools.vala:2782 msgid "Highlights" msgstr "Spitzlichter" -#: src/editing_tools/EditingTools.vala:2762 +#: src/editing_tools/EditingTools.vala:2792 msgid "Contrast Expansion" msgstr "Kontrastanhebung" @@ -4398,7 +4406,7 @@ msgid "%B" msgstr "%B" #. if no name, pretty up the start time -#: src/Event.vala:751 +#: src/Event.vala:753 #, c-format msgid "Event %s" msgstr "Ereignis %s" @@ -4452,8 +4460,8 @@ msgid "Flagged" msgstr "Markiert" #: src/library/ImportQueuePage.vala:8 -msgid "Importing..." -msgstr "Import läuft …" +msgid "Importing…" +msgstr "Importieren …" #: src/library/ImportQueuePage.vala:67 msgid "_Stop Import" @@ -4464,7 +4472,7 @@ msgid "Stop importing photos" msgstr "Foto-Import abbrechen" #: src/library/ImportQueuePage.vala:124 -msgid "Preparing to import..." +msgid "Preparing to import…" msgstr "Import wird vorbereitet …" #: src/library/ImportQueuePage.vala:151 @@ -4477,7 +4485,7 @@ msgid "Last Import" msgstr "Letzter Import" #: src/library/LibraryWindow.vala:285 -msgid "_Import From Folder..." +msgid "_Import From Folder…" msgstr "Aus Ordner _importieren …" #: src/library/LibraryWindow.vala:286 @@ -4485,7 +4493,7 @@ msgid "Import photos from disk to library" msgstr "Fotos von der Festplatte in die Bibliothek importieren" #: src/library/LibraryWindow.vala:293 -msgid "Import From _Application..." +msgid "Import From _Application…" msgstr "Importieren von _Anwendung …" #: src/library/LibraryWindow.vala:297 @@ -4514,7 +4522,7 @@ msgstr "Fotos und Videos anhand von Suchkriterien finden" #: src/library/LibraryWindow.vala:329 src/searches/Branch.vala:77 #: src/sidebar/Tree.vala:199 -msgid "Ne_w Saved Search..." +msgid "Ne_w Saved Search…" msgstr "Neue _gespeicherte Suche …" #: src/library/LibraryWindow.vala:351 @@ -4594,7 +4602,7 @@ msgid "Empty Trash" msgstr "Papierkorb leeren" #: src/library/LibraryWindow.vala:726 -msgid "Emptying Trash..." +msgid "Emptying Trash…" msgstr "Papierkorb wird geleert …" #: src/library/LibraryWindow.vala:901 @@ -4626,19 +4634,20 @@ msgid "%s (%d%%)" msgstr "%s (%d%%)" #: src/library/LibraryWindow.vala:1247 src/library/LibraryWindow.vala:1258 -msgid "Updating library..." +msgid "Updating library…" msgstr "Bibliothek wird aktualisiert …" #: src/library/LibraryWindow.vala:1264 -msgid "Preparing to auto-import photos..." -msgstr "Automatischer Foto-Import wird vorbereitet …" +#| msgid "Preparing to auto-import photos..." +msgid "Preparing to auto-import photos…" +msgstr "Preparing to auto-import photos…" #: src/library/LibraryWindow.vala:1269 -msgid "Auto-importing photos..." +msgid "Auto-importing photos…" msgstr "Fotos werden automatisch importiert …" #: src/library/LibraryWindow.vala:1277 -msgid "Writing metadata to files..." +msgid "Writing metadata to files…" msgstr "Metadaten werden in die Dateien geschrieben …" #: src/library/OfflinePage.vala:8 @@ -4646,7 +4655,7 @@ msgid "Missing Files" msgstr "Fehlende Dateien" #: src/library/OfflinePage.vala:106 -msgid "Deleting..." +msgid "Deleting…" msgstr "Löschen läuft …" #: src/library/TrashPage.vala:8 @@ -4942,7 +4951,7 @@ msgid "Image Settings" msgstr "Bildeinstellungen" #: src/Printing.vala:889 -msgid "Printing..." +msgid "Printing…" msgstr "Drucken …" #: src/Printing.vala:909 src/Printing.vala:1112 @@ -5120,11 +5129,11 @@ msgid "The selected photo was successfully published." msgstr "Das ausgewählte Foto wurde erfolgreich veröffentlicht." #: src/publishing/PublishingUI.vala:122 -msgid "Fetching account information..." +msgid "Fetching account information…" msgstr "Konto-Information wird abgerufen …" #: src/publishing/PublishingUI.vala:128 -msgid "Logging in..." +msgid "Logging in…" msgstr "Anmelden …" #: src/publishing/PublishingUI.vala:188 @@ -5412,8 +5421,8 @@ msgid "Set selected image to be the new desktop background" msgstr "Das ausgewählte Bild als neues Hintergrundbild festlegen" #: src/Resources.vala:222 -msgid "Set as _Desktop Slideshow..." -msgstr "Als Hintergrundbild-_Vorführung festlegen …" +msgid "Set as _Desktop Slideshow…" +msgstr "Als Hintergrund-Bil_dvorführung setzen …" #: src/Resources.vala:224 msgid "_Undo" @@ -5432,8 +5441,8 @@ msgid "Redo" msgstr "Wiederholen" #: src/Resources.vala:230 -msgid "Re_name Event..." -msgstr "Ereignis _umbenennen …" +msgid "Re_name Event…" +msgstr "Ereignis umbe_nennen …" #: src/Resources.vala:233 msgid "Make _Key Photo for Event" @@ -5602,23 +5611,23 @@ msgid "Make a duplicate of the photo" msgstr "Duplikat dieses Fotos erstellen" #: src/Resources.vala:290 -msgid "_Export..." +msgid "_Export…" msgstr "_Exportieren …" #: src/Resources.vala:292 -msgid "_Print..." +msgid "_Print…" msgstr "_Drucken …" #: src/Resources.vala:294 -msgid "Pu_blish..." -msgstr "_Veröffentlichen …" +msgid "Pu_blish…" +msgstr "Verö_ffentlichen …" #: src/Resources.vala:296 msgid "Publish to various websites" msgstr "Das ausgewählte Foto auf verschiedenen Webseiten veröffentlichen" #: src/Resources.vala:298 -msgid "Edit _Title..." +msgid "Edit _Title…" msgstr "_Titel bearbeiten …" #. Button label @@ -5628,7 +5637,7 @@ msgid "Edit Title" msgstr "Titel bearbeiten" #: src/Resources.vala:302 -msgid "Edit _Comment..." +msgid "Edit _Comment…" msgstr "_Kommentar bearbeiten …" #. Button label @@ -5637,11 +5646,11 @@ msgid "Edit Comment" msgstr "Kommentar bearbeiten" #: src/Resources.vala:306 -msgid "Edit Event _Comment..." -msgstr "_Kommentar des Ereignisses bearbeiten" +msgid "Edit Event _Comment…" +msgstr "_Kommentar des Ereignisses bearbeiten …" #: src/Resources.vala:309 -msgid "_Adjust Date and Time..." +msgid "_Adjust Date and Time…" msgstr "Datum und Zeit _anpassen …" #: src/Resources.vala:310 @@ -5649,12 +5658,12 @@ msgid "Adjust Date and Time" msgstr "Datum und Zeit anpassen" #: src/Resources.vala:312 -msgid "Add _Tags..." -msgstr "_Stichworte hinzufügen …" +msgid "Add _Tags…" +msgstr "Stichwor_te hinzufügen …" #: src/Resources.vala:313 -msgid "_Add Tags..." -msgstr "S_tichworte hinzufügen …" +msgid "_Add Tags…" +msgstr "Stich_worte hinzufügen …" #. Dialog title #: src/Resources.vala:315 @@ -5671,15 +5680,15 @@ msgid "Open With RA_W Editor" msgstr "Mit RA_W-Editor öffnen" #: src/Resources.vala:323 -msgid "Send _To..." -msgstr "_Senden an …" +msgid "Send _To…" +msgstr "Senden _an …" #: src/Resources.vala:324 -msgid "Send T_o..." +msgid "Send T_o…" msgstr "Senden a_n …" #: src/Resources.vala:326 -msgid "_Find..." +msgid "_Find…" msgstr "_Suchen …" #: src/Resources.vala:327 @@ -5738,7 +5747,7 @@ msgstr "Stichwort entfernen" #: src/Resources.vala:366 #, c-format -msgid "Re_name Tag \"%s\"..." +msgid "Re_name Tag \"%s\"…" msgstr "Stichwort »%s« _umbenennen …" #: src/Resources.vala:370 @@ -5747,11 +5756,11 @@ msgid "Rename Tag \"%s\" to \"%s\"" msgstr "Stichwort »%s« zu »%s« umbenennen" #: src/Resources.vala:373 -msgid "_Rename..." -msgstr "_Umbenennen" +msgid "_Rename…" +msgstr "_Umbenennen …" #: src/Resources.vala:375 -msgid "Modif_y Tags..." +msgid "Modif_y Tags…" msgstr "Stichworte _ändern …" #: src/Resources.vala:376 @@ -5822,11 +5831,11 @@ msgid "Delete Search" msgstr "Suche löschen" #: src/Resources.vala:410 -msgid "_Edit..." +msgid "_Edit…" msgstr "_Bearbeiten …" #: src/Resources.vala:411 -msgid "Re_name..." +msgid "Re_name…" msgstr "_Umbenennen …" #: src/Resources.vala:414 @@ -6197,7 +6206,7 @@ msgstr "" "filtern" #: src/sidebar/Tree.vala:203 -msgid "New _Tag..." +msgid "New _Tag…" msgstr "Neues S_tichwort …" #: src/SlideshowPage.vala:49 src/SlideshowPage.vala:183 @@ -6464,6 +6473,72 @@ msgstr "T_itel anzeigen" msgid "seconds" msgstr "Sekunden" +#~ msgid "Save Details..." +#~ msgstr "Details speichern …" + +#~ msgid "Save _As..." +#~ msgstr "Speichern _unter …" + +#~ msgid "Importing..." +#~ msgstr "Import läuft …" + +#~ msgid "Preparing to import..." +#~ msgstr "Import wird vorbereitet …" + +#~ msgid "_Import From Folder..." +#~ msgstr "Aus Ordner _importieren …" + +#~ msgid "Import From _Application..." +#~ msgstr "Importieren von _Anwendung …" + +#~ msgid "Set as _Desktop Slideshow..." +#~ msgstr "Als Hintergrundbild-_Vorführung festlegen …" + +#~ msgid "Re_name Event..." +#~ msgstr "Ereignis _umbenennen …" + +#~ msgid "_Export..." +#~ msgstr "_Exportieren …" + +#~ msgid "_Print..." +#~ msgstr "_Drucken …" + +#~ msgid "Pu_blish..." +#~ msgstr "_Veröffentlichen …" + +#~ msgid "Edit _Title..." +#~ msgstr "_Titel bearbeiten …" + +#~ msgid "Edit _Comment..." +#~ msgstr "_Kommentar bearbeiten …" + +#~ msgid "Edit Event _Comment..." +#~ msgstr "_Kommentar des Ereignisses bearbeiten" + +#~ msgid "_Adjust Date and Time..." +#~ msgstr "Datum und Zeit _anpassen …" + +#~ msgid "Add _Tags..." +#~ msgstr "_Stichworte hinzufügen …" + +#~ msgid "_Add Tags..." +#~ msgstr "S_tichworte hinzufügen …" + +#~ msgid "Send _To..." +#~ msgstr "_Senden an …" + +#~ msgid "Send T_o..." +#~ msgstr "Senden a_n …" + +#~ msgid "_Find..." +#~ msgstr "_Suchen …" + +#~ msgid "Modif_y Tags..." +#~ msgstr "Stichworte _ändern …" + +#~ msgid "_Edit..." +#~ msgstr "_Bearbeiten …" + #~ msgid "%-I:%M %p" #~ msgstr "%-I:%M %p" @@ -1,35 +1,34 @@ -# po/shotwell-core/shotwell.pot
-# PO message string template file for Shotwell Core Components
-# Copyright 2016 Software Freedom Conservancy Inc.
-# See COPYING for license.
-#
-#
-# Translators:
-# Adolfo Jayme Barrientos <fitoschido@ubuntu.com>, 2011-2013
-# Adolfo Jayme Barrientos <fitoschido@ubuntu.com>, 2013
-# Alejandro Johnson C. <alejandrojohnson750@hotmail.com>, 2012
-# Andres <andreshko9@hotmail.com>, 2011
-# Claudio Rodrigo Pereyra Diaz <elsupergomez@gmail.com>, 2012-2013
-# Jorge González <aloriel@gmail.com>, 2011
-# Matias Menich <und34d@gmail.com>, 2012
-# Rodrigo Cares <rcares@gmail.com>, 2012-2013
-# verayin <vera@yorba.org>, 2011
-# Adolfo Jayme Barrientos <fitoschido@ubuntu.com>, 2011-2012
-# freddy sequera <nemecis000@gmail.com>, 2011
-# Jorge González <aloriel@gmail.com>, 2011
-# lsbeeler <lucas@yorba.org>, 2011
-# Matias Menich <und34d@gmail.com>, 2012
-# Rodrigo Cares <rcares@gmail.com>, 2012
-#
-# Daniel Mustieles <daniel.mustieles@gmail.com>, 2014, 2015.
, 2016. +# po/shotwell-core/shotwell.pot +# PO message string template file for Shotwell Core Components +# Copyright 2016 Software Freedom Conservancy Inc. +# See COPYING for license. +# +# +# Translators: +# Adolfo Jayme Barrientos <fitoschido@ubuntu.com>, 2011-2013 +# Adolfo Jayme Barrientos <fitoschido@ubuntu.com>, 2013 +# Alejandro Johnson C. <alejandrojohnson750@hotmail.com>, 2012 +# Andres <andreshko9@hotmail.com>, 2011 +# Claudio Rodrigo Pereyra Diaz <elsupergomez@gmail.com>, 2012-2013 +# Jorge González <aloriel@gmail.com>, 2011 +# Matias Menich <und34d@gmail.com>, 2012 +# Rodrigo Cares <rcares@gmail.com>, 2012-2013 +# verayin <vera@yorba.org>, 2011 +# Adolfo Jayme Barrientos <fitoschido@ubuntu.com>, 2011-2012 +# freddy sequera <nemecis000@gmail.com>, 2011 +# Jorge González <aloriel@gmail.com>, 2011 +# lsbeeler <lucas@yorba.org>, 2011 +# Matias Menich <und34d@gmail.com>, 2012 +# Rodrigo Cares <rcares@gmail.com>, 2012 +# Daniel Mustieles <daniel.mustieles@gmail.com>, 2014, 2015, 2016. # msgid "" msgstr "" "Project-Id-Version: shotwell-0.15\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=shotwell&keywords=I18N+L10N&component=Internationalization\n" -"POT-Creation-Date: 2016-07-19 11:28+0000\n" -"PO-Revision-Date: 2016-07-20 12:36+0200\n" +"POT-Creation-Date: 2016-09-29 21:07+0000\n" +"PO-Revision-Date: 2016-09-30 12:17+0200\n" "Last-Translator: Daniel Mustieles <daniel.mustieles@gmail.com>\n" "Language-Team: Español; Castellano <gnome-es-list@gnome.org>\n" "Language: es\n" @@ -135,7 +134,7 @@ msgid "The secret token to sign oauth requests" msgstr "El testigo secreto para firmar peticiones oauth" #: misc/org.yorba.shotwell-extras.gschema.xml:26 -#: misc/org.yorba.shotwell.gschema.xml:410 +#: misc/org.yorba.shotwell.gschema.xml:416 msgid "default size" msgstr "tamaño predeterminado" @@ -163,9 +162,9 @@ msgid "URL of the Rajce server." msgstr "URL del servidor Rajce." #: misc/org.yorba.shotwell-extras.gschema.xml:46 -#: misc/org.yorba.shotwell.gschema.xml:378 -#: misc/org.yorba.shotwell.gschema.xml:436 -#: misc/org.yorba.shotwell.gschema.xml:492 +#: misc/org.yorba.shotwell.gschema.xml:384 +#: misc/org.yorba.shotwell.gschema.xml:442 +#: misc/org.yorba.shotwell.gschema.xml:498 msgid "username" msgstr "nombre de usuario" @@ -182,7 +181,7 @@ msgid "user token, if remembered." msgstr "testigo de usuario, si se recuerda." #: misc/org.yorba.shotwell-extras.gschema.xml:58 -#: misc/org.yorba.shotwell.gschema.xml:454 +#: misc/org.yorba.shotwell.gschema.xml:460 msgid "last category" msgstr "última categoría" @@ -191,7 +190,7 @@ msgid "The last selected Rajce category." msgstr "La última categoría de Rajce seleccionada." #: misc/org.yorba.shotwell-extras.gschema.xml:64 -#: misc/org.yorba.shotwell.gschema.xml:466 +#: misc/org.yorba.shotwell.gschema.xml:472 msgid "last photo size" msgstr "último tamaño de foto" @@ -229,11 +228,11 @@ msgid "" msgstr "" #: misc/org.yorba.shotwell-extras.gschema.xml:88 -#: misc/org.yorba.shotwell.gschema.xml:358 -#: misc/org.yorba.shotwell.gschema.xml:396 -#: misc/org.yorba.shotwell.gschema.xml:422 -#: misc/org.yorba.shotwell.gschema.xml:472 -#: misc/org.yorba.shotwell.gschema.xml:516 +#: misc/org.yorba.shotwell.gschema.xml:364 +#: misc/org.yorba.shotwell.gschema.xml:402 +#: misc/org.yorba.shotwell.gschema.xml:428 +#: misc/org.yorba.shotwell.gschema.xml:478 +#: misc/org.yorba.shotwell.gschema.xml:522 msgid "remove sensitive info from uploads" msgstr "" @@ -272,154 +271,166 @@ msgid "True if the sidebar is to be displayed, false otherwise." msgstr "Cierto si se debe mostrar la barra lateral, falso en otro caso." #: misc/org.yorba.shotwell.gschema.xml:40 +#| msgid "display sidebar" +msgid "display toolbar" +msgstr "mostrar barra de herramientas" + +#: misc/org.yorba.shotwell.gschema.xml:41 +#| msgid "True if the sidebar is to be displayed, false otherwise." +msgid "True if the bottom toolbar is to be displayed, false otherwise." +msgstr "" +"Cierto si se debe mostrar la barra de herramientas inferior, falso en otro " +"caso." + +#: misc/org.yorba.shotwell.gschema.xml:46 msgid "display search bar" msgstr "mostrar barra de búsqueda" -#: misc/org.yorba.shotwell.gschema.xml:41 +#: misc/org.yorba.shotwell.gschema.xml:47 msgid "True if the Search/Filter Toolbar is to be displayed, false otherwise." msgstr "" "Cierto si se muestra la barra de herramientas de buscar/filtrar, falso en " "otro caso." -#: misc/org.yorba.shotwell.gschema.xml:46 +#: misc/org.yorba.shotwell.gschema.xml:52 msgid "display photo titles" msgstr "mostrar títulos de las fotos" -#: misc/org.yorba.shotwell.gschema.xml:47 +#: misc/org.yorba.shotwell.gschema.xml:53 msgid "" "True if photo titles are to be displayed beneath thumbnails in collection " "views, false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:52 +#: misc/org.yorba.shotwell.gschema.xml:58 msgid "display photo comments" msgstr "mostrar comentarios de las fotos" -#: misc/org.yorba.shotwell.gschema.xml:53 +#: misc/org.yorba.shotwell.gschema.xml:59 msgid "" "True if photo comments are to be displayed beneath thumbnails in collection " "views, false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:58 +#: misc/org.yorba.shotwell.gschema.xml:64 msgid "display event comments" msgstr "mostrar comentarios del evento" -#: misc/org.yorba.shotwell.gschema.xml:59 +#: misc/org.yorba.shotwell.gschema.xml:65 msgid "" "True if event comments are to be displayed beneath thumbnails in event " "views, false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:64 +#: misc/org.yorba.shotwell.gschema.xml:70 msgid "display photo tags" msgstr "mostrar etiquetas de las fotos" -#: misc/org.yorba.shotwell.gschema.xml:65 +#: misc/org.yorba.shotwell.gschema.xml:71 msgid "" "True if photo tags are to be listed beneath thumbnails in collection views, " "false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:70 +#: misc/org.yorba.shotwell.gschema.xml:76 msgid "display photo ratings" msgstr "mostrar puntuación de las fotos" -#: misc/org.yorba.shotwell.gschema.xml:71 +#: misc/org.yorba.shotwell.gschema.xml:77 msgid "" "True if a photo's rating should be displayed as overlaid trinket, false " "otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:76 +#: misc/org.yorba.shotwell.gschema.xml:82 msgid "rating filter level" msgstr "nivel de filtrado de puntuación" -#: misc/org.yorba.shotwell.gschema.xml:77 +#: misc/org.yorba.shotwell.gschema.xml:83 msgid "" "Determines how to filter photos based on their ratings. 1: Rejected or " "better, 2: Unrated or better, 3: One or better, 4: Two or better, 5: Three " "or better, 6: Four or better, 7: Five or better." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:82 +#: misc/org.yorba.shotwell.gschema.xml:88 msgid "sort events ascending" msgstr "ordenar eventos ascendentemente" -#: misc/org.yorba.shotwell.gschema.xml:83 +#: misc/org.yorba.shotwell.gschema.xml:89 msgid "True if events should be sorted ascending, false if descending." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:88 +#: misc/org.yorba.shotwell.gschema.xml:94 msgid "sort library photos ascending" msgstr "ordenar fotos de la biblioteca ascendentemente" -#: misc/org.yorba.shotwell.gschema.xml:89 +#: misc/org.yorba.shotwell.gschema.xml:95 msgid "True if library photos should be sorted ascending, false if descending." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:94 +#: misc/org.yorba.shotwell.gschema.xml:100 msgid "sort library photos criteria" msgstr "criterio de ordenación de fotos en la biblioteca" -#: misc/org.yorba.shotwell.gschema.xml:95 +#: misc/org.yorba.shotwell.gschema.xml:101 msgid "" "A numeric code that specifies the sort criteria for photos in library views." msgstr "" "Un código numérico que representa el criterio de ordenación de las fotos el " "vistas de biblioteca." -#: misc/org.yorba.shotwell.gschema.xml:100 +#: misc/org.yorba.shotwell.gschema.xml:106 msgid "sort event photos ascending" msgstr "ordenar fotos de eventos ascendentemente" -#: misc/org.yorba.shotwell.gschema.xml:101 +#: misc/org.yorba.shotwell.gschema.xml:107 msgid "True if event photos should be sorted ascending, false if descending." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:106 +#: misc/org.yorba.shotwell.gschema.xml:112 msgid "sort event photos criteria" msgstr "criterio de ordenación de las fotos de eventos" -#: misc/org.yorba.shotwell.gschema.xml:107 +#: misc/org.yorba.shotwell.gschema.xml:113 msgid "Specifies the sort criteria for event photos." msgstr "Especifica el criterio de ordenación de las fotos de eventos." -#: misc/org.yorba.shotwell.gschema.xml:112 +#: misc/org.yorba.shotwell.gschema.xml:118 msgid "use 24 hour time" msgstr "usar formato de 24 horas" -#: misc/org.yorba.shotwell.gschema.xml:113 +#: misc/org.yorba.shotwell.gschema.xml:119 msgid "" "True if should display times with a 24 hour clock, false if times should use " "AM/PM notation." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:118 +#: misc/org.yorba.shotwell.gschema.xml:124 msgid "keep relative time between photos" msgstr "mantener el tiempo relativo entre fotos" -#: misc/org.yorba.shotwell.gschema.xml:119 +#: misc/org.yorba.shotwell.gschema.xml:125 msgid "" "True if when adjusting time/date of photos, relative time should be " "maintained. False if all photos should be set to the same time." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:124 +#: misc/org.yorba.shotwell.gschema.xml:130 msgid "modify original photo files" msgstr "modificar archivos de fotos originales" -#: misc/org.yorba.shotwell.gschema.xml:125 +#: misc/org.yorba.shotwell.gschema.xml:131 msgid "" "True if when adjusting time/date of photos, the original files should be " "modified as well. False if changes are made only in the database." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:130 +#: misc/org.yorba.shotwell.gschema.xml:136 msgid "show welcome dialog on startup" msgstr "mostrar diálogo de bienvenida al inicio" -#: misc/org.yorba.shotwell.gschema.xml:131 +#: misc/org.yorba.shotwell.gschema.xml:137 msgid "" "True if, when on startup, a welcome dialog should be shown. False if it " "should not be shown." @@ -427,71 +438,70 @@ msgstr "" "Cierto si se debe mostrar un diálogo de bienvenida al inicio. Falso si no se " "debe mostrar." -#: misc/org.yorba.shotwell.gschema.xml:136 +#: misc/org.yorba.shotwell.gschema.xml:142 msgid "sidebar position" msgstr "posición de la barra lateral" -#: misc/org.yorba.shotwell.gschema.xml:137 +#: misc/org.yorba.shotwell.gschema.xml:143 msgid "The width, in pixels, of the sidebar" msgstr "La anchura en píxeles de la barra lateral" -#: misc/org.yorba.shotwell.gschema.xml:142 +#: misc/org.yorba.shotwell.gschema.xml:148 msgid "photo thumbnail scale" msgstr "escala de la miniatura de la foto" -#: misc/org.yorba.shotwell.gschema.xml:143 +#: misc/org.yorba.shotwell.gschema.xml:149 msgid "The scale of photo thumbnails, ranging from 72 to 360." msgstr "La escala de las miniaturas de las fotos, en un rango de 72 a 360." -#: misc/org.yorba.shotwell.gschema.xml:148 -#| msgid "Pin the toolbar open" +#: misc/org.yorba.shotwell.gschema.xml:154 msgid "pin toolbar state" msgstr "estado de anclaje de la barra de herramientas" -#: misc/org.yorba.shotwell.gschema.xml:149 +#: misc/org.yorba.shotwell.gschema.xml:155 msgid "Pin toolbar in fullscreen, or not." msgstr "Anclar o no la barra de herramientas en modo a pantalla completa." -#: misc/org.yorba.shotwell.gschema.xml:154 +#: misc/org.yorba.shotwell.gschema.xml:160 msgid "background color" msgstr "color de fondo" -#: misc/org.yorba.shotwell.gschema.xml:155 +#: misc/org.yorba.shotwell.gschema.xml:161 msgid "A grayscale color for use as the background color." msgstr "La escala de color que usar como color de fondo." -#: misc/org.yorba.shotwell.gschema.xml:160 +#: misc/org.yorba.shotwell.gschema.xml:166 msgid "Selection state of \"hide photos\" option" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:161 +#: misc/org.yorba.shotwell.gschema.xml:167 msgid "" "Last used selection state of the \"hide photos already imported\" option in " "the import page." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:168 +#: misc/org.yorba.shotwell.gschema.xml:174 msgid "delay" msgstr "retardo" -#: misc/org.yorba.shotwell.gschema.xml:169 +#: misc/org.yorba.shotwell.gschema.xml:175 msgid "Delay (in seconds) between photos in the slideshow." msgstr "Retardo (en segundos) entre fotos en la presentación de diapositivas." -#: misc/org.yorba.shotwell.gschema.xml:174 +#: misc/org.yorba.shotwell.gschema.xml:180 msgid "transition delay" msgstr "retraso de la transición" -#: misc/org.yorba.shotwell.gschema.xml:175 +#: misc/org.yorba.shotwell.gschema.xml:181 msgid "" "The time (in seconds) that a transition runs between photos in a slideshow" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:180 +#: misc/org.yorba.shotwell.gschema.xml:186 msgid "transition effect id" msgstr "ID del efecto de transición" -#: misc/org.yorba.shotwell.gschema.xml:181 +#: misc/org.yorba.shotwell.gschema.xml:187 msgid "" "The name of the transition effect that will be used between photos when " "running a slideshow" @@ -499,100 +509,100 @@ msgstr "" "El nombre del efecto de transición que se usará entre fotos al hacer una " "presentación" -#: misc/org.yorba.shotwell.gschema.xml:186 +#: misc/org.yorba.shotwell.gschema.xml:192 msgid "Show title" msgstr "Mostrar título" -#: misc/org.yorba.shotwell.gschema.xml:187 +#: misc/org.yorba.shotwell.gschema.xml:193 msgid "Whether to show the title of a photo during the slideshow" msgstr "" "Indica si se debe mostrar el título de una foto durante la presentación de " "diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:194 +#: misc/org.yorba.shotwell.gschema.xml:200 msgid "maximize library window" msgstr "maximizar ventana de biblioteca" -#: misc/org.yorba.shotwell.gschema.xml:195 +#: misc/org.yorba.shotwell.gschema.xml:201 msgid "True if library application is maximized, false otherwise." msgstr "" "Cierto si la aplicación de biblioteca está maximizada, falso en otro caso." -#: misc/org.yorba.shotwell.gschema.xml:200 +#: misc/org.yorba.shotwell.gschema.xml:206 msgid "width of library window" msgstr "anchura de la ventana de biblioteca" -#: misc/org.yorba.shotwell.gschema.xml:201 +#: misc/org.yorba.shotwell.gschema.xml:207 msgid "The last recorded width of the library application window." msgstr "" "La última anchura guardada de la ventana de la aplicación de biblioteca." -#: misc/org.yorba.shotwell.gschema.xml:206 +#: misc/org.yorba.shotwell.gschema.xml:212 msgid "height of library window" msgstr "altura de la ventana de biblioteca" -#: misc/org.yorba.shotwell.gschema.xml:207 +#: misc/org.yorba.shotwell.gschema.xml:213 msgid "The last recorded height of the library application window." msgstr "" "La última altura guardada de la ventana de la aplicación de biblioteca." -#: misc/org.yorba.shotwell.gschema.xml:212 +#: misc/org.yorba.shotwell.gschema.xml:218 msgid "maximize direct-edit window" msgstr "maximizar ventana de edición directa" -#: misc/org.yorba.shotwell.gschema.xml:213 +#: misc/org.yorba.shotwell.gschema.xml:219 msgid "True if direct-edit application is maximized, false otherwise." msgstr "" "Cierto si la ventana de edición directa está maximizada, falso en otro caso." -#: misc/org.yorba.shotwell.gschema.xml:218 +#: misc/org.yorba.shotwell.gschema.xml:224 msgid "width of direct-edit window" msgstr "anchura de la ventana de edición directa" -#: misc/org.yorba.shotwell.gschema.xml:219 +#: misc/org.yorba.shotwell.gschema.xml:225 msgid "The last recorded width of the direct-edit application window." msgstr "La última anchura guardada de la ventana de edición directa." -#: misc/org.yorba.shotwell.gschema.xml:224 +#: misc/org.yorba.shotwell.gschema.xml:230 msgid "height of direct-edit window" msgstr "altura de la ventana de edición directa" -#: misc/org.yorba.shotwell.gschema.xml:225 +#: misc/org.yorba.shotwell.gschema.xml:231 msgid "The last recorded height of the direct-edit application window." msgstr "La última altura guardada de la ventana de edición directa." -#: misc/org.yorba.shotwell.gschema.xml:230 +#: misc/org.yorba.shotwell.gschema.xml:236 msgid "sidebar divider position" msgstr "posición del divisor de la barra lateral" -#: misc/org.yorba.shotwell.gschema.xml:231 +#: misc/org.yorba.shotwell.gschema.xml:237 msgid "" "The last recorded position of the divider between the sidebar and view in " "library application window." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:238 +#: misc/org.yorba.shotwell.gschema.xml:244 msgid "import directory" msgstr "importar carpeta" -#: misc/org.yorba.shotwell.gschema.xml:239 +#: misc/org.yorba.shotwell.gschema.xml:245 msgid "Directory in which imported photo files are placed." msgstr "Carpeta en la que se guardan los archivos de fotos importadas." -#: misc/org.yorba.shotwell.gschema.xml:244 +#: misc/org.yorba.shotwell.gschema.xml:250 msgid "watch library directory for new files" msgstr "vigilar carpeta de biblioteca en busca de archivos nuevos" -#: misc/org.yorba.shotwell.gschema.xml:245 +#: misc/org.yorba.shotwell.gschema.xml:251 msgid "" "If true, files added to the library directory are automatically imported." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:250 +#: misc/org.yorba.shotwell.gschema.xml:256 msgid "write metadata to master files" msgstr "escribir metadatos en archivos maestros" -#: misc/org.yorba.shotwell.gschema.xml:251 +#: misc/org.yorba.shotwell.gschema.xml:257 msgid "" "If true, changes to metadata (tags, titles, etc.) are written to the master " "photo file." @@ -600,150 +610,148 @@ msgstr "" "Si es cierto, los cambios en los metadatos (etiquetas, títulos, etc.) se " "escriben al archivo de foto maestro." -#: misc/org.yorba.shotwell.gschema.xml:256 +#: misc/org.yorba.shotwell.gschema.xml:262 msgid "use lowercase filenames" msgstr "usar nombres de archivos en minúscula" -#: misc/org.yorba.shotwell.gschema.xml:257 +#: misc/org.yorba.shotwell.gschema.xml:263 msgid "" "If true, Shotwell will convert all filenames to lowercase when importing " "photo files" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:262 -#| msgid "_Directory structure:" +#: misc/org.yorba.shotwell.gschema.xml:268 msgid "directory pattern" msgstr "patrón de carpetas" -#: misc/org.yorba.shotwell.gschema.xml:263 +#: misc/org.yorba.shotwell.gschema.xml:269 msgid "" "A string encoding a naming pattern that will be used to name photo " "directories on import." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:268 +#: misc/org.yorba.shotwell.gschema.xml:274 msgid "directory pattern custom" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:269 +#: misc/org.yorba.shotwell.gschema.xml:275 msgid "" "A string encoding a custom naming pattern that will be used to name photo " "directories on import." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:274 +#: misc/org.yorba.shotwell.gschema.xml:280 msgid "RAW developer default" msgstr "desarrollador RAW predeterminado" -#: misc/org.yorba.shotwell.gschema.xml:275 +#: misc/org.yorba.shotwell.gschema.xml:281 msgid "Default option for which RAW developer Shotwell will use." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:282 +#: misc/org.yorba.shotwell.gschema.xml:288 msgid "Most-recently-used crop aspect ratio menu choice." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:283 +#: misc/org.yorba.shotwell.gschema.xml:289 msgid "A numeric code representing the last crop menu choice the user made." msgstr "" "Un código numérico que representa la última elección del menú de recortar " "que hizo el usuario." -#: misc/org.yorba.shotwell.gschema.xml:287 +#: misc/org.yorba.shotwell.gschema.xml:293 msgid "Most-recently-used crop custom aspect ratio's numerator." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:288 +#: misc/org.yorba.shotwell.gschema.xml:294 msgid "" "A nonzero, positive integer representing the width part of the last custom " "crop ratio the user entered." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:292 +#: misc/org.yorba.shotwell.gschema.xml:298 msgid "Most-recently-used crop custom aspect ratio's denominator." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:293 +#: misc/org.yorba.shotwell.gschema.xml:299 msgid "" "A nonzero, positive integer representing the height part of the last custom " "crop ratio the user entered." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:300 +#: misc/org.yorba.shotwell.gschema.xml:306 msgid "external photo editor" msgstr "dditor de fotos externo" -#: misc/org.yorba.shotwell.gschema.xml:301 +#: misc/org.yorba.shotwell.gschema.xml:307 msgid "External application used to edit photos." msgstr "Aplicación externa usada para editar fotos." -#: misc/org.yorba.shotwell.gschema.xml:306 +#: misc/org.yorba.shotwell.gschema.xml:312 msgid "external raw editor" msgstr "editor RAW externo" -#: misc/org.yorba.shotwell.gschema.xml:307 +#: misc/org.yorba.shotwell.gschema.xml:313 msgid "External application used to edit RAW photos." msgstr "Aplicación externa usada para editar fotos RAW." -#: misc/org.yorba.shotwell.gschema.xml:314 +#: misc/org.yorba.shotwell.gschema.xml:320 msgid "last used publishing service" msgstr "último servicio de publicación usado" -#: misc/org.yorba.shotwell.gschema.xml:315 #: misc/org.yorba.shotwell.gschema.xml:321 +#: misc/org.yorba.shotwell.gschema.xml:327 msgid "" "A numeric code representing the last service to which photos were published" msgstr "" "Un código numérico que representa el último servicio en el que se publicaron " "las fotos" -#: misc/org.yorba.shotwell.gschema.xml:320 +#: misc/org.yorba.shotwell.gschema.xml:326 msgid "default publishing service" msgstr "servicio de publicación predeterminado" -#: misc/org.yorba.shotwell.gschema.xml:334 +#: misc/org.yorba.shotwell.gschema.xml:340 msgid "access token" msgstr "testigo de acceso" -#: misc/org.yorba.shotwell.gschema.xml:335 +#: misc/org.yorba.shotwell.gschema.xml:341 msgid "Facebook OAuth token for the currently logged in session, if any" msgstr "" "Testigo OAuth de Facebook para el usuario que ha iniciado sesión " "actualmente, si existe" -#: misc/org.yorba.shotwell.gschema.xml:340 +#: misc/org.yorba.shotwell.gschema.xml:346 msgid "user i.d." msgstr "ID de usuario" -#: misc/org.yorba.shotwell.gschema.xml:341 +#: misc/org.yorba.shotwell.gschema.xml:347 msgid "Facebook user i.d. for the currently logged in user, if any" msgstr "" "ID del usuario de Facebook que ha iniciado sesión actualmente, si existe" -#: misc/org.yorba.shotwell.gschema.xml:346 +#: misc/org.yorba.shotwell.gschema.xml:352 msgid "user name" msgstr "nombre de usuario" -#: misc/org.yorba.shotwell.gschema.xml:347 -#| msgid "You are not currently logged into Yandex.Fotki." +#: misc/org.yorba.shotwell.gschema.xml:353 msgid "The name of the currently logged in Facebook user, if any" msgstr "" "El nombre del usuario que actualmente ha iniciado sesión en Facebook, si " "existe" -#: misc/org.yorba.shotwell.gschema.xml:352 -#: misc/org.yorba.shotwell.gschema.xml:384 +#: misc/org.yorba.shotwell.gschema.xml:358 +#: misc/org.yorba.shotwell.gschema.xml:390 msgid "default size code" msgstr "código de tamaño predeterminado" -#: misc/org.yorba.shotwell.gschema.xml:353 +#: misc/org.yorba.shotwell.gschema.xml:359 msgid "" "A numeric code representing the default size for photos published to Facebook" msgstr "" "Un código numérico que representa el tamaño predeterminado de las fotos " "publicadas en Facebook" -#: misc/org.yorba.shotwell.gschema.xml:359 +#: misc/org.yorba.shotwell.gschema.xml:365 msgid "" "Whether images being uploaded to Facebook should have their metadata removed " "first" @@ -751,19 +759,19 @@ msgstr "" "Indica si se deben eliminar los metadatos antes de subir las imágenes a " "Facebook" -#: misc/org.yorba.shotwell.gschema.xml:366 +#: misc/org.yorba.shotwell.gschema.xml:372 msgid "OAuth Access Phase Token" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:367 +#: misc/org.yorba.shotwell.gschema.xml:373 msgid "The authorization token for the currently logged in Flickr user, if any" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:372 +#: misc/org.yorba.shotwell.gschema.xml:378 msgid "OAuth Access Phase Token Secret" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:373 +#: misc/org.yorba.shotwell.gschema.xml:379 msgid "" "The cryptographic secret used to sign requests against the authorization " "token for the currently logged in Flickr user, if any" @@ -772,23 +780,23 @@ msgstr "" "autenticación para el usuario que actualmente ha iniciado sesión en Flickr, " "si existe" -#: misc/org.yorba.shotwell.gschema.xml:379 +#: misc/org.yorba.shotwell.gschema.xml:385 msgid "The user name of the currently logged in Flickr user, if any" msgstr "" "El nombre del usuario que actualmente ha iniciado sesión en Flickr, si existe" -#: misc/org.yorba.shotwell.gschema.xml:385 +#: misc/org.yorba.shotwell.gschema.xml:391 msgid "" "A numeric code representing the default size for photos published to Flickr" msgstr "" "Un código numérico que representa el tamaño predeterminado de las fotos " "publicadas en Flickr" -#: misc/org.yorba.shotwell.gschema.xml:390 +#: misc/org.yorba.shotwell.gschema.xml:396 msgid "default visibility" msgstr "visibilidad predeterminada" -#: misc/org.yorba.shotwell.gschema.xml:391 +#: misc/org.yorba.shotwell.gschema.xml:397 msgid "" "A numeric code representing the default visibility for photos published to " "Flickr" @@ -796,7 +804,7 @@ msgstr "" "Un código numérico que representa la visibilidad predeterminada de las fotos " "publicadas en Flickr" -#: misc/org.yorba.shotwell.gschema.xml:397 +#: misc/org.yorba.shotwell.gschema.xml:403 msgid "" "Whether images being uploaded to Flickr should have their metadata removed " "first" @@ -804,18 +812,18 @@ msgstr "" "Indica si se deben eliminar los metadatos antes de subir las imágenes a " "Flicrk" -#: misc/org.yorba.shotwell.gschema.xml:404 -#: misc/org.yorba.shotwell.gschema.xml:536 +#: misc/org.yorba.shotwell.gschema.xml:410 +#: misc/org.yorba.shotwell.gschema.xml:542 msgid "refresh token" msgstr "actualizar testigo" -#: misc/org.yorba.shotwell.gschema.xml:405 +#: misc/org.yorba.shotwell.gschema.xml:411 msgid "" "The OAuth token used to refresh the Picasa Web Albums session for the " "currently logged in user, if any." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:411 +#: misc/org.yorba.shotwell.gschema.xml:417 msgid "" "A numeric code representing the default size for photos uploaded to Picasa " "Web Albums" @@ -823,18 +831,18 @@ msgstr "" "Un código numérico que representa el tamaño predeterminado de las fotos " "subidas a álbumes web Picasa" -#: misc/org.yorba.shotwell.gschema.xml:416 -#: misc/org.yorba.shotwell.gschema.xml:510 +#: misc/org.yorba.shotwell.gschema.xml:422 +#: misc/org.yorba.shotwell.gschema.xml:516 msgid "last album" msgstr "último álbum" -#: misc/org.yorba.shotwell.gschema.xml:417 -#: misc/org.yorba.shotwell.gschema.xml:511 +#: misc/org.yorba.shotwell.gschema.xml:423 +#: misc/org.yorba.shotwell.gschema.xml:517 msgid "The name of the last album the user published photos to, if any" msgstr "" "El nombre del último álbum en el que el usuario publicó fotos, si existe" -#: misc/org.yorba.shotwell.gschema.xml:423 +#: misc/org.yorba.shotwell.gschema.xml:429 msgid "" "Whether images being uploaded to Picasa should have their metadata removed " "first" @@ -842,47 +850,48 @@ msgstr "" "Indica si se deben eliminar los metadatos antes de subir las imágenes a " "Picasa" -#: misc/org.yorba.shotwell.gschema.xml:430 -msgid "Piwigio URL" +#: misc/org.yorba.shotwell.gschema.xml:436 +#| msgid "Piwigio URL" +msgid "Piwigo URL" msgstr "URL de Pigwio" -#: misc/org.yorba.shotwell.gschema.xml:431 +#: misc/org.yorba.shotwell.gschema.xml:437 msgid "URL of the Piwigo server." msgstr "URL del servidor Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:437 +#: misc/org.yorba.shotwell.gschema.xml:443 msgid "Piwigo username, if logged in." msgstr "Nombre de usuario de Piwigo, si ha iniciado sesión." -#: misc/org.yorba.shotwell.gschema.xml:442 +#: misc/org.yorba.shotwell.gschema.xml:448 msgid "password" msgstr "contraseña" -#: misc/org.yorba.shotwell.gschema.xml:443 +#: misc/org.yorba.shotwell.gschema.xml:449 msgid "Piwigo password, if logged in." msgstr "Contraseña de Piwigo, si ha iniciado sesión." -#: misc/org.yorba.shotwell.gschema.xml:448 +#: misc/org.yorba.shotwell.gschema.xml:454 msgid "remember password" msgstr "recortar contraseña" -#: misc/org.yorba.shotwell.gschema.xml:449 +#: misc/org.yorba.shotwell.gschema.xml:455 msgid "If true, remember the Piwigo password." msgstr "Si es cierto, recordar la contraseña de Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:455 +#: misc/org.yorba.shotwell.gschema.xml:461 msgid "The last selected Piwigo category." msgstr "La última categoría de Piwigo seleccionada." -#: misc/org.yorba.shotwell.gschema.xml:460 +#: misc/org.yorba.shotwell.gschema.xml:466 msgid "last permission level" msgstr "último nivel de permisos" -#: misc/org.yorba.shotwell.gschema.xml:461 +#: misc/org.yorba.shotwell.gschema.xml:467 msgid "The last chosen Piwigo permission level." msgstr "El último nivel de privilegios elegido el Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:467 +#: misc/org.yorba.shotwell.gschema.xml:473 msgid "" "A numeric code representing the last photo size preset used when publishing " "to Piwigo." @@ -890,7 +899,7 @@ msgstr "" "Un código numérico que representa el último tamaño de foto predefinido usado " "para publicar en Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:473 +#: misc/org.yorba.shotwell.gschema.xml:479 msgid "" "Whether images being uploaded to Piwigo should have their metadata removed " "first" @@ -898,15 +907,14 @@ msgstr "" "Indica si se deben eliminar los metadatos antes de subir las imágenes a " "Piwigo" -#: misc/org.yorba.shotwell.gschema.xml:478 -#| msgid "_If a title is set and comment unset, use title as comment" +#: misc/org.yorba.shotwell.gschema.xml:484 msgid "" "if title is set and comment unset, use title as comment for uploads to Piwigo" msgstr "" "si se definió el titulo pero no un comentario, usar el título como " "comentario para las subidas a Piwigo" -#: misc/org.yorba.shotwell.gschema.xml:479 +#: misc/org.yorba.shotwell.gschema.xml:485 msgid "" "Whether images being uploaded to Piwigo should have their comment set from " "the title if title is set and comment unset" @@ -914,11 +922,11 @@ msgstr "" "Indica si las imágenes que se vayan a subir a Piwigo deben tener un " "comentario a partir del título, si tiene, y no tiene comentario" -#: misc/org.yorba.shotwell.gschema.xml:484 +#: misc/org.yorba.shotwell.gschema.xml:490 msgid "do not upload tags when uploading to Piwigo" msgstr "no subir etiquetas al subir a Piwigo" -#: misc/org.yorba.shotwell.gschema.xml:485 +#: misc/org.yorba.shotwell.gschema.xml:491 msgid "" "Whether images being uploaded to Piwigo should have their tags removed on " "upload, such that these tags will not appear on the remote Piwigo server." @@ -926,27 +934,27 @@ msgstr "" "Indica si se deben eliminar las etiquetas antes de subir las imágenes a " "Piwigo, para que esas etiquetas no aparezcan en el servidor remoto de Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:493 +#: misc/org.yorba.shotwell.gschema.xml:499 msgid "Gallery3 username" msgstr "Nombre de usuario de Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:498 +#: misc/org.yorba.shotwell.gschema.xml:504 msgid "API key" msgstr "Clave de la API" -#: misc/org.yorba.shotwell.gschema.xml:499 +#: misc/org.yorba.shotwell.gschema.xml:505 msgid "Gallery3 API key" msgstr "Clave de la API de Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:504 +#: misc/org.yorba.shotwell.gschema.xml:510 msgid "URL" msgstr "URL" -#: misc/org.yorba.shotwell.gschema.xml:505 +#: misc/org.yorba.shotwell.gschema.xml:511 msgid "Gallery3 site URL" msgstr "URL de Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:517 +#: misc/org.yorba.shotwell.gschema.xml:523 msgid "" "Indicates whether images being uploaded to Gallery3 should have their " "metadata removed first" @@ -954,25 +962,25 @@ msgstr "" "Indica si se deben eliminar los metadatos antes de subir las imágenes a " "Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:522 +#: misc/org.yorba.shotwell.gschema.xml:528 msgid "scaling constraint of uploaded picture" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:523 +#: misc/org.yorba.shotwell.gschema.xml:529 msgid "The scaling constraint ID of the picture to be uploaded" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:528 +#: misc/org.yorba.shotwell.gschema.xml:534 msgid "pixels of the major axis uploaded picture" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:529 +#: misc/org.yorba.shotwell.gschema.xml:535 msgid "" "The pixels of the major axis of the picture to be uploaded; used only if " "scaling-constraint-id is an appropriate value" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:537 +#: misc/org.yorba.shotwell.gschema.xml:543 msgid "" "The OAuth token used to refresh the YouTube session for the currently logged " "in user, if any." @@ -980,33 +988,33 @@ msgstr "" "El testigo OAuth usado para actualizar la sesión de Youtube para el usuario " "que ha iniciado sesión actualmente, si existe." -#: misc/org.yorba.shotwell.gschema.xml:544 +#: misc/org.yorba.shotwell.gschema.xml:550 msgid "last used import service" msgstr "último servicio de importación usado" -#: misc/org.yorba.shotwell.gschema.xml:545 +#: misc/org.yorba.shotwell.gschema.xml:551 msgid "" "A numeric code representing the last service from which photos were imported" msgstr "" "Un código numérico que representa el último servicio del que se importaron " "fotos" -#: misc/org.yorba.shotwell.gschema.xml:552 +#: misc/org.yorba.shotwell.gschema.xml:558 msgid "interpreter state cookie" msgstr "cookie de estado del intérprete" -#: misc/org.yorba.shotwell.gschema.xml:553 +#: misc/org.yorba.shotwell.gschema.xml:559 msgid "" "A numeric code that captures the state of the GStreamer plug-in environment" msgstr "" "Un código numérico que captura el estado del entorno del complemento " "GStreamer" -#: misc/org.yorba.shotwell.gschema.xml:560 +#: misc/org.yorba.shotwell.gschema.xml:566 msgid "content layout mode" msgstr "modo de distribución del contenido" -#: misc/org.yorba.shotwell.gschema.xml:561 +#: misc/org.yorba.shotwell.gschema.xml:567 msgid "" "A numeric code that describes how photos are laid out on the page during " "printing" @@ -1014,36 +1022,36 @@ msgstr "" "Un código numérico que representa cuántas fotos aparecen en la página al " "imprimir" -#: misc/org.yorba.shotwell.gschema.xml:566 +#: misc/org.yorba.shotwell.gschema.xml:572 msgid "content ppi" msgstr "ppp del contenido" -#: misc/org.yorba.shotwell.gschema.xml:567 +#: misc/org.yorba.shotwell.gschema.xml:573 msgid "The number of pixels per inch (ppi) sent to the printer during printing" msgstr "" "El número de píxeles por pulgada (ppp) enviado a la impresora al imprimir" -#: misc/org.yorba.shotwell.gschema.xml:572 +#: misc/org.yorba.shotwell.gschema.xml:578 msgid "content width" msgstr "anchura del contenido" -#: misc/org.yorba.shotwell.gschema.xml:573 +#: misc/org.yorba.shotwell.gschema.xml:579 msgid "The width of the printed emulsion on the page when printing" msgstr "La anchura de la emulsión impresa en la página al imprimir" -#: misc/org.yorba.shotwell.gschema.xml:578 +#: misc/org.yorba.shotwell.gschema.xml:584 msgid "content height" msgstr "altura del contenido" -#: misc/org.yorba.shotwell.gschema.xml:579 +#: misc/org.yorba.shotwell.gschema.xml:585 msgid "The height of the printed emulsion on the page when printing" msgstr "La altura de la emulsión impresa en la página al imprimir" -#: misc/org.yorba.shotwell.gschema.xml:584 +#: misc/org.yorba.shotwell.gschema.xml:590 msgid "content units" msgstr "unidades del contenido" -#: misc/org.yorba.shotwell.gschema.xml:585 +#: misc/org.yorba.shotwell.gschema.xml:591 msgid "" "A numeric code representing unit of measure (inches or centimeters) used " "when printing" @@ -1051,11 +1059,11 @@ msgstr "" "Un código numérico que representa la unidad de medida (pulgadas o " "centímetros) usada al imprimir" -#: misc/org.yorba.shotwell.gschema.xml:590 +#: misc/org.yorba.shotwell.gschema.xml:596 msgid "images per page code" msgstr "código de imágenes por página" -#: misc/org.yorba.shotwell.gschema.xml:591 +#: misc/org.yorba.shotwell.gschema.xml:597 msgid "" "A numeric code representing the currently selected images per page mode used " "when printing" @@ -1063,32 +1071,32 @@ msgstr "" "Un código numérico que representa el modo usado de imágenes por página " "seleccionadas actualmente al imprimir" -#: misc/org.yorba.shotwell.gschema.xml:596 +#: misc/org.yorba.shotwell.gschema.xml:602 msgid "size selection" msgstr "tamaño de la selección" -#: misc/org.yorba.shotwell.gschema.xml:597 +#: misc/org.yorba.shotwell.gschema.xml:603 msgid "" "The index of the current print size in a pre-defined list of standard sizes" msgstr "" "El índice del tamaño de impresión actual en una lista de tamaños estándar " "predefinidos" -#: misc/org.yorba.shotwell.gschema.xml:602 +#: misc/org.yorba.shotwell.gschema.xml:608 msgid "match aspect ratio" msgstr "coincidir con relación de aspecto" -#: misc/org.yorba.shotwell.gschema.xml:603 +#: misc/org.yorba.shotwell.gschema.xml:609 msgid "" "Determines whether custom print sizes must match the aspect ratio of the " "original photo" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:608 +#: misc/org.yorba.shotwell.gschema.xml:614 msgid "print titles" msgstr "imprimir títulos" -#: misc/org.yorba.shotwell.gschema.xml:609 +#: misc/org.yorba.shotwell.gschema.xml:615 msgid "" "True if the title of a photo should be printed when the photo is printed, " "false otherwise." @@ -1096,212 +1104,211 @@ msgstr "" "Cierto si se debe imprimir el título de la foto al imprimirla, falso en otro " "caso." -#: misc/org.yorba.shotwell.gschema.xml:614 +#: misc/org.yorba.shotwell.gschema.xml:620 msgid "titles font" msgstr "tipografía de los títulos" -#: misc/org.yorba.shotwell.gschema.xml:615 +#: misc/org.yorba.shotwell.gschema.xml:621 msgid "The name of the font to use for photo titles when they are printed." msgstr "El nombre de la tipografía que usar cuando se imprimen los títulos." -#: misc/org.yorba.shotwell.gschema.xml:626 +#: misc/org.yorba.shotwell.gschema.xml:632 msgid "enable facebook publishing plugin" msgstr "activar complemento de publicación en Facebook" -#: misc/org.yorba.shotwell.gschema.xml:627 +#: misc/org.yorba.shotwell.gschema.xml:633 msgid "True if the Facebook publishing plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de publicación en Facebook está activado, falso en " "otro caso" -#: misc/org.yorba.shotwell.gschema.xml:632 +#: misc/org.yorba.shotwell.gschema.xml:638 msgid "enable flickr publishing plugin" msgstr "activar complemento de publicación en Flickr" -#: misc/org.yorba.shotwell.gschema.xml:633 +#: misc/org.yorba.shotwell.gschema.xml:639 msgid "True if the Flickr publishing plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de publicación en Flickr está activado, falso en " "otro caso" -#: misc/org.yorba.shotwell.gschema.xml:638 +#: misc/org.yorba.shotwell.gschema.xml:644 msgid "enable picasa publishing plugin" msgstr "activar complemento de publicación en Picasa" -#: misc/org.yorba.shotwell.gschema.xml:639 +#: misc/org.yorba.shotwell.gschema.xml:645 msgid "" "True if the Picasa Web Albums publishing plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de publicación en álbumes web Picasa está activado, " "falso en otro caso" -#: misc/org.yorba.shotwell.gschema.xml:644 +#: misc/org.yorba.shotwell.gschema.xml:650 msgid "enable youtube publishing plugin" msgstr "activar complemento de publicación en Youtube" -#: misc/org.yorba.shotwell.gschema.xml:645 +#: misc/org.yorba.shotwell.gschema.xml:651 msgid "True if the YouTube publishing plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de publicación en Youtube está activado, falso en " "otro caso" -#: misc/org.yorba.shotwell.gschema.xml:650 +#: misc/org.yorba.shotwell.gschema.xml:656 msgid "enable piwigo publishing plugin" msgstr "activar complemento de publicación en Piwigo" -#: misc/org.yorba.shotwell.gschema.xml:651 +#: misc/org.yorba.shotwell.gschema.xml:657 msgid "True if the Piwigo publishing plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de publicación en Piwigo está activado, falso en " "otro caso" -#: misc/org.yorba.shotwell.gschema.xml:656 +#: misc/org.yorba.shotwell.gschema.xml:662 msgid "enable yandex publishing plugin" msgstr "activar complemento de publicación en Yandex" -#: misc/org.yorba.shotwell.gschema.xml:657 +#: misc/org.yorba.shotwell.gschema.xml:663 msgid "True if the Yandex.Fotki publishing plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de publicación en Yandex.Fotki está activado, falso " "en otro caso" -#: misc/org.yorba.shotwell.gschema.xml:662 +#: misc/org.yorba.shotwell.gschema.xml:668 msgid "enable tumblr publishing plugin" msgstr "activar complemento de publicación en Tumblr" -#: misc/org.yorba.shotwell.gschema.xml:663 +#: misc/org.yorba.shotwell.gschema.xml:669 msgid "True if the Tumblr publishing plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de publicación en Tumblr está activado, falso en " "otro caso" -#: misc/org.yorba.shotwell.gschema.xml:668 +#: misc/org.yorba.shotwell.gschema.xml:674 msgid "enable rajce publishing plugin" msgstr "activar complemento de publicación en Rajce" -#: misc/org.yorba.shotwell.gschema.xml:669 +#: misc/org.yorba.shotwell.gschema.xml:675 msgid "True if the Rajce publishing plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de publicación en Rajce está activado, falso en " "otro caso" -#: misc/org.yorba.shotwell.gschema.xml:674 +#: misc/org.yorba.shotwell.gschema.xml:680 msgid "enable gallery3 publishing plugin" msgstr "activar complemento de publicación en Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:675 +#: misc/org.yorba.shotwell.gschema.xml:681 msgid "True if the Gallery3 publishing plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de publicación en Gallery3 está activado, falso en " "otro caso" -#: misc/org.yorba.shotwell.gschema.xml:680 +#: misc/org.yorba.shotwell.gschema.xml:686 msgid "enable F-Spot import plugin" msgstr "activar complemento de importación de F-Spot" -#: misc/org.yorba.shotwell.gschema.xml:681 +#: misc/org.yorba.shotwell.gschema.xml:687 msgid "True if the F-Spot import plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de importación de F-Spot está activado, falso en " "otro caso" -#: misc/org.yorba.shotwell.gschema.xml:686 -#| msgid "Core Slideshow Transitions" +#: misc/org.yorba.shotwell.gschema.xml:692 msgid "enable slideshow crumble transition" msgstr "activar transición de desmenuzado del pase de diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:687 +#: misc/org.yorba.shotwell.gschema.xml:693 msgid "" "True if the Crumble slideshow transition plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de transición de desmoronar está activado, falso en " "otro caso" -#: misc/org.yorba.shotwell.gschema.xml:692 +#: misc/org.yorba.shotwell.gschema.xml:698 msgid "enable slideshow fade transition" msgstr "activar transición de fundido del pase de diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:693 +#: misc/org.yorba.shotwell.gschema.xml:699 msgid "" "True if the Fade slideshow transition plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de transición de fundido está activado, falso en " "otro caso" -#: misc/org.yorba.shotwell.gschema.xml:698 -#: misc/org.yorba.shotwell.gschema.xml:722 +#: misc/org.yorba.shotwell.gschema.xml:704 +#: misc/org.yorba.shotwell.gschema.xml:728 msgid "enable slideshow slide transition" msgstr "activar transición lateral del pase de diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:699 +#: misc/org.yorba.shotwell.gschema.xml:705 msgid "" "True if the Slide slideshow transition plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de transición lateral está activado, falso en otro " "caso" -#: misc/org.yorba.shotwell.gschema.xml:704 +#: misc/org.yorba.shotwell.gschema.xml:710 msgid "enable slideshow clock transition" msgstr "activar transición de reloj del pase de diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:705 +#: misc/org.yorba.shotwell.gschema.xml:711 msgid "" "True if the Clock slideshow transition plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de transición de reloj está activado, falso en otro " "caso" -#: misc/org.yorba.shotwell.gschema.xml:710 #: misc/org.yorba.shotwell.gschema.xml:716 +#: misc/org.yorba.shotwell.gschema.xml:722 msgid "enable slideshow circle transition" msgstr "activar transición circular del pase de diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:711 +#: misc/org.yorba.shotwell.gschema.xml:717 msgid "" "True if the Circle slideshow transition plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de transición circular está activado, falso en otro " "caso" -#: misc/org.yorba.shotwell.gschema.xml:717 +#: misc/org.yorba.shotwell.gschema.xml:723 msgid "" "True if the Circles slideshow transition plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de transición en círculos está activado, falso en " "otro caso" -#: misc/org.yorba.shotwell.gschema.xml:723 +#: misc/org.yorba.shotwell.gschema.xml:729 msgid "" "True if the Blinds slideshow transition plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:728 +#: misc/org.yorba.shotwell.gschema.xml:734 msgid "enable slideshow squares transition" msgstr "activar transición de cuadros del pase de diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:729 +#: misc/org.yorba.shotwell.gschema.xml:735 msgid "" "True if the Squares slideshow transition plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de transición de cuadros está activado, falso en " "otro caso" -#: misc/org.yorba.shotwell.gschema.xml:734 +#: misc/org.yorba.shotwell.gschema.xml:740 msgid "enable slideshow stripes transition" msgstr "activar transición de bandas del pase de diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:735 +#: misc/org.yorba.shotwell.gschema.xml:741 msgid "" "True if the Stripes slideshow transition plugin is enabled, false otherwise" msgstr "" "Cierto si el complemento de transición de bandas está activado, falso en " "otro caso" -#: misc/org.yorba.shotwell.gschema.xml:740 +#: misc/org.yorba.shotwell.gschema.xml:746 msgid "enable slideshow chess transition" msgstr "activar transición de ajedrez del pase de diapositivas" -#: misc/org.yorba.shotwell.gschema.xml:741 +#: misc/org.yorba.shotwell.gschema.xml:747 msgid "" "True if the Chess-Board slideshow transition plugin is enabled, false " "otherwise" @@ -1309,11 +1316,11 @@ msgstr "" "Cierto si el complemento de transición de tablero de ajedrez está activado, " "falso en otro caso" -#: plugins/common/Resources.vala:9 +#: plugins/common/Resources.vala:12 msgid "Visit the Shotwell home page" msgstr "Visite la página web de Shotwell" -#: plugins/common/Resources.vala:28 src/AppWindow.vala:676 +#: plugins/common/Resources.vala:31 src/AppWindow.vala:679 msgid "translator-credits" msgstr "" "Daniel Mustieles <daniel.mustieles@gmail.com>, 2014-2016\n" @@ -1323,12 +1330,12 @@ msgstr "" "Jorge González <jorgegonz@svn.gnome.org>, 2011\n" "José Luis Navarro <jlnavarro111@gmail.com>" -#: plugins/common/RESTSupport.vala:448 -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:960 +#: plugins/common/RESTSupport.vala:451 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:958 msgid "A temporary file needed for publishing is unavailable" msgstr "No está disponible un archivo temporal necesario para la publicación" -#: plugins/common/RESTSupport.vala:1154 +#: plugins/common/RESTSupport.vala:1157 msgid "" "You have already logged in and out of a Google service during this Shotwell " "session.\n" @@ -1340,16 +1347,16 @@ msgstr "" "Para seguir publicando en servicios de Google, cierre y reinicie Shotwell, e " "intente publicar de nuevo." -#: plugins/shotwell-data-imports/FSpotImporter.vala:34 -#: plugins/shotwell-publishing/FacebookPublishing.vala:32 -#: plugins/shotwell-publishing/FlickrPublishing.vala:34 -#: plugins/shotwell-publishing/PicasaPublishing.vala:32 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:32 -#: plugins/shotwell-publishing/YouTubePublishing.vala:32 src/Resources.vala:27 +#: plugins/shotwell-data-imports/FSpotImporter.vala:36 +#: plugins/shotwell-publishing/FacebookPublishing.vala:33 +#: plugins/shotwell-publishing/FlickrPublishing.vala:33 +#: plugins/shotwell-publishing/PicasaPublishing.vala:33 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:33 +#: plugins/shotwell-publishing/YouTubePublishing.vala:33 src/Resources.vala:27 msgid "Copyright 2016 Software Freedom Conservancy Inc." msgstr "Copyright 2016 Software Freedom Conservancy Inc." -#: plugins/shotwell-data-imports/FSpotImporter.vala:56 +#: plugins/shotwell-data-imports/FSpotImporter.vala:58 msgid "" "Welcome to the F-Spot library import service.\n" "\n" @@ -1363,7 +1370,7 @@ msgstr "" "existentes encontradas por Shotwell o eligiendo un archivo de base de datos " "de F-Spot alternativo." -#: plugins/shotwell-data-imports/FSpotImporter.vala:58 +#: plugins/shotwell-data-imports/FSpotImporter.vala:60 msgid "" "Welcome to the F-Spot library import service.\n" "\n" @@ -1373,11 +1380,11 @@ msgstr "" "\n" "Seleccione un archivo de colección de F-Spot." -#: plugins/shotwell-data-imports/FSpotImporter.vala:60 +#: plugins/shotwell-data-imports/FSpotImporter.vala:62 msgid "Manually select an F-Spot database file to import:" msgstr "Seleccionar manualmente una colección de F-Spot para importar:" -#: plugins/shotwell-data-imports/FSpotImporter.vala:62 +#: plugins/shotwell-data-imports/FSpotImporter.vala:64 msgid "" "Cannot open the selected F-Spot database file: the file does not exist or is " "not an F-Spot database" @@ -1385,7 +1392,7 @@ msgstr "" "No se puede abrir el archivo seleccionado de F-Spot: el archivo no existe o " "no es un archivo de colección de F-Spot" -#: plugins/shotwell-data-imports/FSpotImporter.vala:64 +#: plugins/shotwell-data-imports/FSpotImporter.vala:66 msgid "" "Cannot open the selected F-Spot database file: this version of the F-Spot " "database is not supported by Shotwell" @@ -1393,14 +1400,14 @@ msgstr "" "No se puede abrir el archivo seleccionado de F-Spot: esta versión de F-Spot " "no está soportada por Shotwell" -#: plugins/shotwell-data-imports/FSpotImporter.vala:66 +#: plugins/shotwell-data-imports/FSpotImporter.vala:68 msgid "" "Cannot read the selected F-Spot database file: error while reading tags table" msgstr "" "No se puede abrir el archivo seleccionado de F-Spot: error al leer la tabla " "de etiquetas" -#: plugins/shotwell-data-imports/FSpotImporter.vala:68 +#: plugins/shotwell-data-imports/FSpotImporter.vala:70 msgid "" "Cannot read the selected F-Spot database file: error while reading photos " "table" @@ -1408,7 +1415,7 @@ msgstr "" "No se puede abrir el archivo seleccionado de F-Spot: error al leer la tabla " "de fotos" -#: plugins/shotwell-data-imports/FSpotImporter.vala:70 +#: plugins/shotwell-data-imports/FSpotImporter.vala:72 #, c-format msgid "" "Shotwell has found %d photos in the F-Spot library and is currently " @@ -1423,12 +1430,12 @@ msgstr "" "Puede cerrar este diálogo y empezar a utilizar Shotwell mientras el proceso " "de importación ocurre en segundo plano." -#: plugins/shotwell-data-imports/FSpotImporter.vala:84 +#: plugins/shotwell-data-imports/FSpotImporter.vala:86 #, c-format msgid "F-Spot library: %s" msgstr "Colección de F-Spot: %s" -#: plugins/shotwell-data-imports/FSpotImporter.vala:422 +#: plugins/shotwell-data-imports/FSpotImporter.vala:424 msgid "Preparing to import" msgstr "Preparando para importar" @@ -1469,7 +1476,7 @@ msgstr "o" #: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:5 #: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:38 -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1017 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1018 #: plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.ui:116 #: plugins/shotwell-publishing-extras/yandex_publish_model.ui:115 #: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:197 @@ -1481,7 +1488,7 @@ msgstr "Cerrar _sesión" #: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:8 #: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:247 -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1016 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1017 #: plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.ui:134 #: plugins/shotwell-publishing-extras/yandex_publish_model.ui:129 #: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:212 @@ -1512,8 +1519,8 @@ msgid "pixels" msgstr "píxeles" #: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:195 -#: plugins/shotwell-publishing/FlickrPublishing.vala:1236 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1237 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1235 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1234 #: src/Dimensions.vala:17 msgid "Original size" msgstr "Tamaño original" @@ -1564,8 +1571,8 @@ msgstr "" "Tenga en cuenta que Gallery3 sólo soporta los mismos tipos de vídeo que " "Flowplayer." -#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1022 -#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1775 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1021 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1773 #, c-format msgid "" "A file required for publishing is unavailable. Publishing to %s can't " @@ -1576,12 +1583,12 @@ msgstr "" #. populate any widgets whose contents are #. programmatically-generated -#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1551 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1550 #, c-format msgid "Publishing to %s as %s." msgstr "Publicar en %s como %s." -#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1819 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1817 msgid "" "Enter the URL for your Gallery3 site and the username and password (or API " "key) for your Gallery3 account." @@ -1589,7 +1596,7 @@ msgstr "" "Escriba el URL de su sitio Gallery3, así como el nombre de usuario y " "contraseña (o clave API) para su cuenta de Gallery3." -#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1820 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1818 msgid "" "The username and password or API key were incorrect. To try again, re-enter " "your username and password below." @@ -1598,99 +1605,103 @@ msgstr "" "Para interntarlo de nuevo, vuelva a introducir su nombre y su contraseña a " "continuación." -#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1821 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1819 +#| msgid "" +#| "The URL entered does not appear to be the main directory of a Gallery3 " +#| "instance. Please make sure you typed it correctly and it does not have " +#| "any trailing components (e.g, index.php)." msgid "" "The URL entered does not appear to be the main directory of a Gallery3 " "instance. Please make sure you typed it correctly and it does not have any " "trailing components (e.g., index.php)." msgstr "" "El URL introducido no parece ser la carpeta principal de una instancia de " -"Gallery3. Asegrúrese de que lo ha escrito correctamente y que no tiene " +"Gallery3. Asegúrese de que lo ha escrito correctamente y que no tiene " "elementos adicionales (ej. index.php)." -#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1874 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1872 msgid "Unrecognized User" msgstr "Usuario no reconocido" -#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1879 +#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1877 msgid " Site Not Found" msgstr " Sitio no encontrado" #: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:49 -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:890 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:892 #: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:49 msgid "_Email address" msgstr "Dirección de correo _electrónico" #: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:59 -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:891 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:893 #: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:59 #: plugins/shotwell-publishing/piwigo_authentication_pane.ui:73 msgid "_Password" msgstr "_Contraseña" #: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:103 -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:892 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:894 msgid "_Remember" msgstr "_Recordar" #: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:125 -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:893 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:895 #: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:107 #: plugins/shotwell-publishing/piwigo_authentication_pane.ui:151 msgid "Login" msgstr "Iniciar sesión" #: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:111 -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1013 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1014 #: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:75 msgid "An _existing album:" msgstr "Un álbum _existente:" #: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:135 -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1014 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1015 #: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:94 #: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:52 msgid "A _new album named:" msgstr "Un álbum _nuevo:" #: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:159 -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1004 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1005 msgid "_Hide album" msgstr "_Ocultar álbum" #: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:178 -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1015 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1016 msgid "Open target _album in browser" msgstr "Abrir ál_bum objetivo en el navegador" -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:38 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:40 msgid "Copyright (C) 2013 rajce.net" msgstr "Copyright (C) 2013 rajce.net" -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:742 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:744 msgid "An error message occurred when publishing to Rajce. Please try again." msgstr "Ocurrió un error al publicar en Rajce. Inténtelo de nuevo." -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:831 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:833 msgid "Enter email and password associated with your Rajce account." msgstr "" "Escriba el nombre de usuario y contraseña asociados con su cuenta de Rajce." -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:832 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:834 msgid "Invalid email and/or password. Please try again" msgstr "Usuario y/o contraseña no válidos. Inténtelo de nuevo" -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:863 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:865 msgid "Invalid User Email or Password" msgstr "Nombre de usuario o contraseña no válidos" -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1011 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1012 #, c-format msgid "You are logged into Rajce as %s." msgstr "Ha iniciado sesión en Rajce como %s." -#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1012 +#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1013 #: plugins/shotwell-publishing/PicasaPublishing.vala:670 #: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:24 msgid "Photos will appear in:" @@ -1709,61 +1720,61 @@ msgstr "Blogs:" msgid "Photo _size:" msgstr "_Tamaño de la foto:" -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:34 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:36 msgid "Copyright 2012 BJA Electronics" msgstr "Copyright 2012 BJA Electronics" -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:103 -#: plugins/shotwell-publishing/FlickrPublishing.vala:1232 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1233 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:105 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1231 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1230 msgid "500 x 375 pixels" msgstr "500 × 375 píxeles" -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:104 -#: plugins/shotwell-publishing/FlickrPublishing.vala:1233 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1234 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:106 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1232 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1231 msgid "1024 x 768 pixels" msgstr "1024 × 768 píxeles" -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:105 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:107 msgid "1280 x 853 pixels" msgstr "1280 × 853 píxeles" -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:309 -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:319 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:311 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:321 #, c-format msgid "'%s' isn't a valid response to an OAuth authentication request" msgstr "«%s» no es una respuesta válida a una solicitud de autenticación OAuth" -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:557 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:559 msgid "" "TumblrPublisher: start( ): can't start; this publisher is not restartable." msgstr "" "TumblrPublisher: start( ): no puede iniciar, este publicador no es " "reiniciable." -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:585 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:587 msgid "Enter the username and password associated with your Tumblr account." msgstr "" "Escriba el nombre de usuario y contraseña asociados con su cuenta de Tumblr." -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:586 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:989 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:588 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:992 msgid "Username and/or password invalid. Please try again" msgstr "Usuario y/o contraseña no válidos. Inténtelo de nuevo" -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:616 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:615 #: plugins/shotwell-publishing/PiwigoPublishing.vala:1026 msgid "Invalid User Name or Password" msgstr "Nombre de usuario o contraseña no válidos" -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:635 -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:754 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:634 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:752 #, c-format msgid "Could not load UI: %s" msgstr "No se pudo cargar la IU: %s" -#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:736 +#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:734 #, c-format msgid "" "You are logged into Tumblr as %s.\n" @@ -1780,7 +1791,7 @@ msgstr "Copyright 2010+ Evgeniy Polyakov <zbr@ioremap.net>" msgid "Visit the Yandex.Fotki web site" msgstr "Visitar el sitio web de Yandex.Fotki" -#: plugins/shotwell-publishing-extras/YandexPublishing.vala:659 +#: plugins/shotwell-publishing-extras/YandexPublishing.vala:658 msgid "You are not currently logged into Yandex.Fotki." msgstr "Actualmente no ha iniciado sesión en Yandex.Fotki." @@ -1810,7 +1821,7 @@ msgid "Friends" msgstr "Amigos" #: plugins/shotwell-publishing-extras/yandex_publish_model.ui:165 -#: plugins/shotwell-publishing/YouTubePublishing.vala:497 +#: plugins/shotwell-publishing/YouTubePublishing.vala:498 msgid "Private" msgstr "Privado" @@ -1839,13 +1850,13 @@ msgid "" "_Remove location, camera, and other identifying information before uploading" msgstr "_Quitar ubicación, cámara y otra información antes de subir" -#: plugins/shotwell-publishing/FacebookPublishing.vala:61 -#: plugins/shotwell-publishing/PicasaPublishing.vala:59 +#: plugins/shotwell-publishing/FacebookPublishing.vala:62 +#: plugins/shotwell-publishing/PicasaPublishing.vala:60 #: plugins/shotwell-publishing/PiwigoPublishing.vala:1114 msgid "Shotwell Connect" msgstr "Shotwell Connect" -#: plugins/shotwell-publishing/FacebookPublishing.vala:63 +#: plugins/shotwell-publishing/FacebookPublishing.vala:64 msgid "" "You are not currently logged into Facebook.\n" "\n" @@ -1861,7 +1872,7 @@ msgstr "" "pedir permiso para subir fotos y publicar en su muro. Estos permisos son " "necesarios para que Shotwell Connect funcione." -#: plugins/shotwell-publishing/FacebookPublishing.vala:65 +#: plugins/shotwell-publishing/FacebookPublishing.vala:66 msgid "" "You have already logged in and out of Facebook during this Shotwell " "session.\n" @@ -1873,19 +1884,19 @@ msgstr "" "Para seguir publicando en Facebook, cierre y reinicie Shotwell, e intente " "publicar de nuevo." -#: plugins/shotwell-publishing/FacebookPublishing.vala:86 +#: plugins/shotwell-publishing/FacebookPublishing.vala:87 msgid "Standard (720 pixels)" msgstr "Estándar (720 píxeles)" -#: plugins/shotwell-publishing/FacebookPublishing.vala:89 +#: plugins/shotwell-publishing/FacebookPublishing.vala:90 msgid "Large (2048 pixels)" msgstr "Grande (2048 píxeles)" -#: plugins/shotwell-publishing/FacebookPublishing.vala:254 +#: plugins/shotwell-publishing/FacebookPublishing.vala:255 msgid "Testing connection to Facebook..." msgstr "Comprobando la conexión a Facebook…" -#: plugins/shotwell-publishing/FacebookPublishing.vala:347 +#: plugins/shotwell-publishing/FacebookPublishing.vala:348 #: plugins/shotwell-publishing/PicasaPublishing.vala:379 msgid "Creating album..." msgstr "Creando el álbum…" @@ -1912,13 +1923,13 @@ msgid "Where would you like to publish the selected photos?" msgstr "¿Dónde quiere publicar las fotos seleccionadas?" #: plugins/shotwell-publishing/FacebookPublishing.vala:1193 -#: plugins/shotwell-publishing/FlickrPublishing.vala:1214 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1213 msgid "Just me" msgstr "Solo yo" #: plugins/shotwell-publishing/FacebookPublishing.vala:1195 -#: plugins/shotwell-publishing/FlickrPublishing.vala:1210 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1221 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1209 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1218 msgid "Everyone" msgstr "Todos" @@ -1935,11 +1946,11 @@ msgid "Authorization _Number:" msgstr "_Número de autorización:" #: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83 -#: src/Dialogs.vala:131 +#: src/Dialogs.vala:132 msgid "Con_tinue" msgstr "Con_tinuar" -#: plugins/shotwell-publishing/FlickrPublishing.vala:61 +#: plugins/shotwell-publishing/FlickrPublishing.vala:60 msgid "" "You are not currently logged into Flickr.\n" "\n" @@ -1952,7 +1963,7 @@ msgstr "" "Tendrá que autorizar a Shotwell Connect para que se enlace a su cuenta de " "Flickr." -#: plugins/shotwell-publishing/FlickrPublishing.vala:63 +#: plugins/shotwell-publishing/FlickrPublishing.vala:62 msgid "" "You have already logged in and out of Flickr during this Shotwell session.\n" "To continue publishing to Flickr, quit and restart Shotwell, then try " @@ -1962,12 +1973,12 @@ msgstr "" "Para seguir publicando en Flickr, cierre y reinicie Shotwell, e intente " "publicar de nuevo." -#: plugins/shotwell-publishing/FlickrPublishing.vala:375 +#: plugins/shotwell-publishing/FlickrPublishing.vala:374 msgid "Preparing for login..." msgstr "Preparándose para iniciar sesión…" #: plugins/shotwell-publishing/FlickrPublishing.vala:444 -#: plugins/shotwell-publishing/FlickrPublishing.vala:595 +#: plugins/shotwell-publishing/FlickrPublishing.vala:594 msgid "" "A file required for publishing is unavailable. Publishing to Flickr can't " "continue." @@ -1979,7 +1990,7 @@ msgstr "" msgid "Verifying authorization..." msgstr "Comprobando la autorización…" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1153 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1152 #, c-format msgid "" "You are logged into Flickr as %s.\n" @@ -1988,7 +1999,7 @@ msgstr "" "Ha iniciado sesión en Flickr como %s.\n" "\n" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1156 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1155 #, c-format msgid "" "Your free Flickr account limits how much data you can upload per month.\n" @@ -2005,41 +2016,41 @@ msgstr[1] "" "mes.\n" "Este mes tiene %d megabytes restantes de su límite de sudiba." -#: plugins/shotwell-publishing/FlickrPublishing.vala:1160 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1159 msgid "Your Flickr Pro account entitles you to unlimited uploads." msgstr "Su cuenta de Flickr Pro le permite subidas ilimitadas." -#: plugins/shotwell-publishing/FlickrPublishing.vala:1165 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1164 msgid "Photos _visible to:" msgstr "Fotos _visibles para:" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1167 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1166 msgid "Videos _visible to:" msgstr "Vídeos _visibles para:" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1170 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1169 msgid "Photos and videos _visible to:" msgstr "Fotos y vídeos _visibles para:" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1211 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1210 msgid "Friends & family only" msgstr "Solo amigos y familia" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1212 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1211 msgid "Family only" msgstr "Solo familia" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1213 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1212 msgid "Friends only" msgstr "Solo amigos" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1234 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1235 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1233 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1232 msgid "2048 x 1536 pixels" msgstr "2048 × 1536 píxeles" -#: plugins/shotwell-publishing/FlickrPublishing.vala:1235 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1236 +#: plugins/shotwell-publishing/FlickrPublishing.vala:1234 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1233 msgid "4096 x 3072 pixels" msgstr "4096 × 3072 píxeles" @@ -2051,7 +2062,7 @@ msgstr "_Listar álbum en la galería pública" msgid "Photo _size preset:" msgstr "_Tamaño de foto predefinido:" -#: plugins/shotwell-publishing/PicasaPublishing.vala:58 +#: plugins/shotwell-publishing/PicasaPublishing.vala:59 msgid "" "You are not currently logged into Picasa Web Albums.\n" "\n" @@ -2154,16 +2165,16 @@ msgstr "Salir" msgid "Publish" msgstr "Publicar" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:746 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:747 #, c-format msgid "Creating album %s..." msgstr "Creando el álbum %s…" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:917 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:920 msgid "An error message occurred when publishing to Piwigo. Please try again." msgstr "Ocurrió un error al publicar en Piwigo. Inténtelo de nuevo." -#: plugins/shotwell-publishing/PiwigoPublishing.vala:987 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:990 msgid "" "Enter the URL of your Piwigo photo library as well as the username and " "password associated with your Piwigo account for that library." @@ -2171,7 +2182,7 @@ msgstr "" "Escriba el URL de su colección fotográfica de Piwigo, así como el nombre de " "usuario y contraseña asociados a esa colección." -#: plugins/shotwell-publishing/PiwigoPublishing.vala:988 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:991 msgid "" "Shotwell cannot contact your Piwigo photo library. Please verify the URL you " "entered" @@ -2183,19 +2194,19 @@ msgstr "" msgid "Invalid URL" msgstr "URL no válida" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1222 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1219 msgid "Admins, Family, Friends, Contacts" msgstr "Administradores, Familia, Amigos, Contactos" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1223 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1220 msgid "Admins, Family, Friends" msgstr "Administradores, Familia, Amigos" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1224 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1221 msgid "Admins, Family" msgstr "Administradores, Familia" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1225 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1222 msgid "Admins" msgstr "Administradores" @@ -2207,7 +2218,7 @@ msgstr "Servicios de publicación" msgid "Video privacy _setting:" msgstr "Co_nfiguración de privacidad de vídeos:" -#: plugins/shotwell-publishing/YouTubePublishing.vala:57 +#: plugins/shotwell-publishing/YouTubePublishing.vala:58 msgid "" "You are not currently logged into YouTube.\n" "\n" @@ -2222,7 +2233,7 @@ msgstr "" "el uso de su navegador para registrarse en el sitio de YouTube al menos una " "vez." -#: plugins/shotwell-publishing/YouTubePublishing.vala:362 +#: plugins/shotwell-publishing/YouTubePublishing.vala:363 msgid "" "A file required for publishing is unavailable. Publishing to Youtube can't " "continue." @@ -2230,21 +2241,21 @@ msgstr "" "No está disponible un archivo necesario para publicar. La publicación en " "Youtube no puede continuar." -#: plugins/shotwell-publishing/YouTubePublishing.vala:461 +#: plugins/shotwell-publishing/YouTubePublishing.vala:462 #, c-format msgid "You are logged into YouTube as %s." msgstr "Ha iniciado sesión en YouTube como %s." -#: plugins/shotwell-publishing/YouTubePublishing.vala:463 +#: plugins/shotwell-publishing/YouTubePublishing.vala:464 #, c-format msgid "Videos will appear in '%s'" msgstr "Los vídeos aparecerán en «%s»" -#: plugins/shotwell-publishing/YouTubePublishing.vala:495 +#: plugins/shotwell-publishing/YouTubePublishing.vala:496 msgid "Public listed" msgstr "Listado públicamente" -#: plugins/shotwell-publishing/YouTubePublishing.vala:496 +#: plugins/shotwell-publishing/YouTubePublishing.vala:497 msgid "Public unlisted" msgstr "No listado públicamente" @@ -2280,7 +2291,7 @@ msgstr "Desvanecer" msgid "Core Slideshow Transitions" msgstr "Transiciones de pase de diapositivas" -#: plugins/shotwell-transitions/shotwell-transitions.vala:75 +#: plugins/shotwell-transitions/shotwell-transitions.vala:76 msgid "" "Copyright 2010 Maxim Kartashev, Copyright 2016 Software Freedom Conservancy " "Inc." @@ -2347,26 +2358,27 @@ msgstr "Mantener abierta la barra de herramientas" msgid "Leave fullscreen" msgstr "Salir de pantalla completa" -#: src/AppWindow.vala:496 +#: src/AppWindow.vala:499 msgid "_Contents" msgstr "_Contenido" -#: src/AppWindow.vala:501 +#: src/AppWindow.vala:504 msgid "_Frequently Asked Questions" msgstr "_Preguntas más frecuentes" -#: src/AppWindow.vala:506 -msgid "_Report a Problem..." +#: src/AppWindow.vala:509 +#| msgid "_Report a Problem..." +msgid "_Report a Problem…" msgstr "_Informar de un problema…" -#: src/AppWindow.vala:605 src/AppWindow.vala:626 src/AppWindow.vala:643 +#: src/AppWindow.vala:608 src/AppWindow.vala:629 src/AppWindow.vala:646 #: src/data_imports/DataImportsUI.vala:413 src/Dialogs.vala:20 -#: src/Dialogs.vala:28 src/Dialogs.vala:1424 src/Dialogs.vala:1447 +#: src/Dialogs.vala:28 src/Dialogs.vala:1425 src/Dialogs.vala:1448 #: src/publishing/PublishingUI.vala:512 src/Resources.vala:157 msgid "_Cancel" msgstr "_Cancelar" -#: src/AppWindow.vala:653 +#: src/AppWindow.vala:656 #, c-format msgid "" "A fatal error occurred when accessing Shotwell's library. Shotwell cannot " @@ -2379,21 +2391,21 @@ msgstr "" "\n" "%s" -#: src/AppWindow.vala:673 +#: src/AppWindow.vala:676 msgid "Visit the Shotwell web site" msgstr "Visite la página web de Shotwell" -#: src/AppWindow.vala:685 +#: src/AppWindow.vala:688 #, c-format msgid "Unable to display help: %s" msgstr "No se puede mostrar la ayuda: %s" -#: src/AppWindow.vala:693 +#: src/AppWindow.vala:696 #, c-format msgid "Unable to navigate to bug database: %s" msgstr "No se pudo navegar en la base de datos de errores: %s" -#: src/AppWindow.vala:701 +#: src/AppWindow.vala:704 #, c-format msgid "Unable to display FAQ: %s" msgstr "No se pudieron mostrar las P+F: %s" @@ -2489,13 +2501,14 @@ msgstr "Ocultar fotos ya importadas" msgid "Only display photos that have not been imported" msgstr "Mostrar solo las fotos que no han sido importadas" -#. Ticket #3304 - Import page shouldn't display confusing message -#. prior to import. -#. TODO: replace this with approved text for "talking to camera, -#. please wait" once new strings are being accepted. +#: src/camera/ImportPage.vala:842 +msgid "The camera seems to be empty. No photos/videos found to import" +msgstr "" + #: src/camera/ImportPage.vala:846 -msgid "Starting import, please wait..." -msgstr "Iniciando la importación, espere un momento…" +#| msgid "No photos/videos found" +msgid "No new photos/videos found on camera" +msgstr "No se encontraron fotos/vídeos en la cámara" #: src/camera/ImportPage.vala:873 src/MediaPage.vala:451 msgid "_Titles" @@ -2562,60 +2575,66 @@ msgstr "" "%s" #: src/camera/ImportPage.vala:1061 -msgid "Unmounting..." +#| msgid "Unmounting..." +msgid "Unmounting…" msgstr "Desmontando…" -#: src/camera/ImportPage.vala:1167 +#: src/camera/ImportPage.vala:1152 +#| msgid "Starting import, please wait..." +msgid "Starting import, please wait…" +msgstr "Iniciando la importación, espere un momento…" + +#: src/camera/ImportPage.vala:1169 msgid "Fetching photo information" msgstr "Obteniendo información de la foto" -#: src/camera/ImportPage.vala:1522 +#: src/camera/ImportPage.vala:1527 #, c-format msgid "Fetching preview for %s" msgstr "Obteniendo previsualización para %s" -#: src/camera/ImportPage.vala:1638 +#: src/camera/ImportPage.vala:1643 #, c-format msgid "Unable to lock camera: %s" msgstr "No se puede bloquear la cámara: %s" -#: src/camera/ImportPage.vala:1723 +#: src/camera/ImportPage.vala:1728 #, c-format msgid "Delete this photo from camera?" msgid_plural "Delete these %d photos from camera?" msgstr[0] "¿Quiere eliminar esta foto de la cámara?" msgstr[1] "¿Quiere eliminar estas %d fotos de la cámara?" -#: src/camera/ImportPage.vala:1726 +#: src/camera/ImportPage.vala:1731 #, c-format msgid "Delete this video from camera?" msgid_plural "Delete these %d videos from camera?" msgstr[0] "¿Quiere eliminar esta foto de la cámara?" msgstr[1] "¿Quiere eliminar estas %d fotos de la cámara?" -#: src/camera/ImportPage.vala:1729 +#: src/camera/ImportPage.vala:1734 #, c-format msgid "Delete this photo/video from camera?" msgid_plural "Delete these %d photos/videos from camera?" msgstr[0] "¿Quiere eliminar esta foto/vídeo de la cámara?" msgstr[1] "¿Quiere eliminar estas %d fotos/vídeos de la cámara?" -#: src/camera/ImportPage.vala:1732 +#: src/camera/ImportPage.vala:1737 #, c-format msgid "Delete these files from camera?" msgid_plural "Delete these %d files from camera?" msgstr[0] "¿Eliminar este archivo de la cámara?" msgstr[1] "¿Eliminar estos %d archivos de la cámara?" -#: src/camera/ImportPage.vala:1740 src/Dialogs.vala:1391 +#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1392 msgid "_Keep" msgstr "_Mantener" -#: src/camera/ImportPage.vala:1759 +#: src/camera/ImportPage.vala:1764 msgid "Removing photos/videos from camera" msgstr "Eliminando fotos/vídeos de la cámara" -#: src/camera/ImportPage.vala:1763 +#: src/camera/ImportPage.vala:1768 #, c-format msgid "Unable to delete %d photo/video from the camera due to errors." msgid_plural "Unable to delete %d photos/videos from the camera due to errors." @@ -2639,11 +2658,11 @@ msgstr "Exportar foto o vídeo" msgid "Export Photos/Videos" msgstr "Exportar fotos/vídeos" -#: src/CollectionPage.vala:458 src/Dialogs.vala:58 src/PhotoPage.vala:3209 +#: src/CollectionPage.vala:458 src/Dialogs.vala:59 src/PhotoPage.vala:3209 msgid "Export Photo" msgstr "Exportar foto" -#: src/CollectionPage.vala:458 src/Dialogs.vala:87 +#: src/CollectionPage.vala:458 src/Dialogs.vala:88 msgid "Export Photos" msgstr "Exportar fotos" @@ -2884,7 +2903,7 @@ msgstr "" msgid "Database file:" msgstr "Archivo de base de datos:" -#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:882 +#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:904 msgid "_Import" msgstr "_Importar" @@ -2965,7 +2984,7 @@ msgid_plural "This will remove the tag \"%s\" from %d photos. Continue?" msgstr[0] "Esto eliminará la etiqueta «%s» de una foto. ¿Continuar?" msgstr[1] "Esto eliminará la etiqueta «%s» de %d fotos. ¿Continuar?" -#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1392 +#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1393 #: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:409 #: src/Resources.vala:674 msgid "_Delete" @@ -2976,7 +2995,7 @@ msgstr "_Eliminar" msgid "This will remove the saved search \"%s\". Continue?" msgstr "Esto quitará la búsqueda guardada «%s». ¿Quiere continuar?" -#: src/Dialogs.vala:35 +#: src/Dialogs.vala:36 msgid "" "Switching developers will undo all changes you have made to this photo in " "Shotwell" @@ -2990,11 +3009,11 @@ msgstr[1] "" "Al cambiar de revelador se desharán todos los cambios que realizó a estas " "fotos en Shotwell" -#: src/Dialogs.vala:39 +#: src/Dialogs.vala:40 msgid "_Switch Developer" msgstr "_Cambiar de revelador" -#: src/Dialogs.vala:58 +#: src/Dialogs.vala:59 msgid "Export Video" msgstr "Exportar vídeo" @@ -3003,7 +3022,7 @@ msgstr "Exportar vídeo" #. if we can't copy an image over for editing in an external tool. #. Did we fail because we can't write to this directory? #. Yes - display an alternate error message here. -#: src/Dialogs.vala:115 +#: src/Dialogs.vala:116 #, c-format msgid "" "Shotwell couldn't create a file for editing this photo because you do not " @@ -3012,13 +3031,13 @@ msgstr "" "Shotwell no pudo crear un archivo para editar esta foto porque no tiene " "permiso para escribir en %s." -#: src/Dialogs.vala:124 +#: src/Dialogs.vala:125 msgid "" "Unable to export the following photo due to a file error.\n" "\n" msgstr "No se puede exportar la siguiente foto debido a un error de archivo.\n" -#: src/Dialogs.vala:130 +#: src/Dialogs.vala:131 msgid "" "\n" "\n" @@ -3031,60 +3050,61 @@ msgstr "" #. "Unmodified" and "Current," though they appear in the "Format:" popup menu, really #. aren't formats so much as they are operating modes that determine specific formats. #. Hereafter we'll refer to these as "special formats." -#: src/Dialogs.vala:147 +#: src/Dialogs.vala:148 msgid "Unmodified" msgstr "Sin modificar" -#: src/Dialogs.vala:148 +#: src/Dialogs.vala:149 msgid "Current" msgstr "Actual" #. layout controls -#: src/Dialogs.vala:215 +#: src/Dialogs.vala:216 msgid "_Format:" msgstr "_Formato:" -#: src/Dialogs.vala:218 +#: src/Dialogs.vala:219 msgid "_Quality:" msgstr "_Calidad:" -#: src/Dialogs.vala:221 +#: src/Dialogs.vala:222 msgid "_Scaling constraint:" msgstr "Re_stricción de escala:" -#: src/Dialogs.vala:224 +#: src/Dialogs.vala:225 msgid "_Pixels:" msgstr "_Píxeles:" -#: src/Dialogs.vala:227 +#: src/Dialogs.vala:228 msgid "Export metadata" msgstr "Exportar metadatos" -#: src/Dialogs.vala:461 -msgid "Save Details..." +#: src/Dialogs.vala:462 +#| msgid "Save Details" +msgid "Save Details…" msgstr "Guardar detalles…" -#: src/Dialogs.vala:462 +#: src/Dialogs.vala:463 msgid "Save Details" msgstr "Guardar detalles" -#: src/Dialogs.vala:477 +#: src/Dialogs.vala:478 #, c-format msgid "(and %d more)\n" msgstr "(y %d más)\n" -#: src/Dialogs.vala:530 +#: src/Dialogs.vala:531 msgid "Import Results Report" msgstr "Informe de resultados de importación" -#: src/Dialogs.vala:534 +#: src/Dialogs.vala:535 #, c-format msgid "Attempted to import %d file." msgid_plural "Attempted to import %d files." msgstr[0] "Se intentó importar %d archivo." msgstr[1] "Se intentaron importar %d archivos." -#: src/Dialogs.vala:537 +#: src/Dialogs.vala:538 #, c-format msgid "Of these, %d file was successfully imported." msgid_plural "Of these, %d files were successfully imported." @@ -3094,37 +3114,37 @@ msgstr[1] "De ellos, se importaron %d archivos correctamente." #. #. Duplicates #. -#: src/Dialogs.vala:549 +#: src/Dialogs.vala:550 msgid "Duplicate Photos/Videos Not Imported:" msgstr "Fotos/vídeos duplicados no importados:" -#: src/Dialogs.vala:553 +#: src/Dialogs.vala:554 msgid "duplicates existing media item" msgstr "duplica el elemento existente" #. #. Files Not Imported Due to Camera Errors #. -#: src/Dialogs.vala:564 +#: src/Dialogs.vala:565 msgid "Photos/Videos Not Imported Due to Camera Errors:" msgstr "Fotos/vídeos no importados debido a errores de cámara:" -#: src/Dialogs.vala:567 src/Dialogs.vala:582 src/Dialogs.vala:597 -#: src/Dialogs.vala:613 src/Dialogs.vala:628 src/Dialogs.vala:642 +#: src/Dialogs.vala:568 src/Dialogs.vala:583 src/Dialogs.vala:598 +#: src/Dialogs.vala:614 src/Dialogs.vala:629 src/Dialogs.vala:643 msgid "error message:" msgstr "mensaje de error:" #. #. Files Not Imported Because They Weren't Recognized as Photos or Videos #. -#: src/Dialogs.vala:578 +#: src/Dialogs.vala:579 msgid "Files Not Imported Because They Weren't Recognized as Photos or Videos:" msgstr "Archivos no importados porque no se reconocieron como fotos o vídeos:" #. #. Photos/Videos Not Imported Because They Weren't in a Format Shotwell Understands #. -#: src/Dialogs.vala:593 +#: src/Dialogs.vala:594 msgid "" "Photos/Videos Not Imported Because They Weren't in a Format Shotwell " "Understands:" @@ -3135,14 +3155,14 @@ msgstr "" #. #. Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its Library #. -#: src/Dialogs.vala:608 +#: src/Dialogs.vala:609 msgid "" "Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its " "Library:" msgstr "" "Fotos/vídeos no importados porque Shotwell no pudo copiarlos a su colección:" -#: src/Dialogs.vala:612 +#: src/Dialogs.vala:613 #, c-format msgid "" "couldn't copy %s\n" @@ -3154,39 +3174,39 @@ msgstr "" #. #. Photos/Videos Not Imported Because GDK Pixbuf Library Identified them as Corrupt #. -#: src/Dialogs.vala:624 +#: src/Dialogs.vala:625 msgid "Photos/Videos Not Imported Because Files Are Corrupt:" msgstr "No se importaron las fotos/vídeos porque los archivos están dañados:" #. #. Photos/Videos Not Imported for Other Reasons #. -#: src/Dialogs.vala:639 +#: src/Dialogs.vala:640 msgid "Photos/Videos Not Imported for Other Reasons:" msgstr "Fotos/vídeos no importados por otros motivos:" -#: src/Dialogs.vala:659 +#: src/Dialogs.vala:660 #, c-format msgid "1 duplicate photo was not imported:\n" msgid_plural "%d duplicate photos were not imported:\n" msgstr[0] "No se importó 1 foto duplicada:\r\n" msgstr[1] "No se importaron %d fotos duplicadas:\r\n" -#: src/Dialogs.vala:662 +#: src/Dialogs.vala:663 #, c-format msgid "1 duplicate video was not imported:\n" msgid_plural "%d duplicate videos were not imported:\n" msgstr[0] "No se importó 1 vídeo duplicado:\r\n" msgstr[1] "No se importaron %d vídeos duplicados:\r\n" -#: src/Dialogs.vala:665 +#: src/Dialogs.vala:666 #, c-format msgid "1 duplicate photo/video was not imported:\n" msgid_plural "%d duplicate photos/videos were not imported:\n" msgstr[0] "No se importó 1 foto/vídeo duplicado:\r\n" msgstr[1] "No se importaron %d fotos/vídeos duplicados:\r\n" -#: src/Dialogs.vala:679 +#: src/Dialogs.vala:680 #, c-format msgid "1 photo failed to import due to a file or hardware error:\n" msgid_plural "%d photos failed to import due to a file or hardware error:\n" @@ -3195,7 +3215,7 @@ msgstr[0] "" msgstr[1] "" "Falló al importar %d fotos debido a un error del archivo o de hardware:\n" -#: src/Dialogs.vala:682 +#: src/Dialogs.vala:683 #, c-format msgid "1 video failed to import due to a file or hardware error:\n" msgid_plural "%d videos failed to import due to a file or hardware error:\n" @@ -3204,7 +3224,7 @@ msgstr[0] "" msgstr[1] "" "Falló al importar %d vídeos debido a un error del archivo o de hardware:\r\n" -#: src/Dialogs.vala:685 +#: src/Dialogs.vala:686 #, c-format msgid "1 photo/video failed to import due to a file or hardware error:\n" msgid_plural "" @@ -3216,7 +3236,7 @@ msgstr[1] "" "Falló al importar %d fotos/vídeos debido a un error del archivo o de " "hardware:\r\n" -#: src/Dialogs.vala:688 +#: src/Dialogs.vala:689 #, c-format msgid "1 file failed to import due to a file or hardware error:\n" msgid_plural "%d files failed to import due to a file or hardware error:\n" @@ -3225,7 +3245,7 @@ msgstr[0] "" msgstr[1] "" "Falló al importar %d archivos debido a un error de archivo o de hardware:\n" -#: src/Dialogs.vala:702 +#: src/Dialogs.vala:703 #, c-format msgid "" "1 photo failed to import because the photo library folder was not writable:\n" @@ -3239,7 +3259,7 @@ msgstr[1] "" "Falló al importar %d fotos porque la carpeta de la colección de fotos no se " "puede escribir:\n" -#: src/Dialogs.vala:705 +#: src/Dialogs.vala:706 #, c-format msgid "" "1 video failed to import because the photo library folder was not writable:\n" @@ -3253,7 +3273,7 @@ msgstr[1] "" "Falló al importar %d fotos porque la carpeta de la colección de fotos no se " "puede escribir:\n" -#: src/Dialogs.vala:708 +#: src/Dialogs.vala:709 #, c-format msgid "" "1 photo/video failed to import because the photo library folder was not " @@ -3268,7 +3288,7 @@ msgstr[1] "" "Falló al importar %d fotos/vídeos porque la carpeta de la colección de fotos " "no se puede escribir:\n" -#: src/Dialogs.vala:711 +#: src/Dialogs.vala:712 #, c-format msgid "" "1 file failed to import because the photo library folder was not writable:\n" @@ -3282,56 +3302,56 @@ msgstr[1] "" "Falló la importación de %d archivos porque no se puede escribir en la " "colección de fotos:\n" -#: src/Dialogs.vala:725 +#: src/Dialogs.vala:726 #, c-format msgid "1 photo failed to import due to a camera error:\n" msgid_plural "%d photos failed to import due to a camera error:\n" msgstr[0] "Falló al importar 1 foto/vídeo debido a un error de la cámara:\n" msgstr[1] "Falló al importar %d fotos debido a un error de la cámara:\n" -#: src/Dialogs.vala:728 +#: src/Dialogs.vala:729 #, c-format msgid "1 video failed to import due to a camera error:\n" msgid_plural "%d videos failed to import due to a camera error:\n" msgstr[0] "Falló al importar 1 foto/vídeo debido a un error de la cámara:\n" msgstr[1] "Falló al importar %d vídeos debido a un error de la cámara:\n" -#: src/Dialogs.vala:731 +#: src/Dialogs.vala:732 #, c-format msgid "1 photo/video failed to import due to a camera error:\n" msgid_plural "%d photos/videos failed to import due to a camera error:\n" msgstr[0] "Falló al importar 1 foto/vídeo debido a un error de la cámara:\n" msgstr[1] "Falló al importar %d foto/vídeo debido a un error de la cámara:\n" -#: src/Dialogs.vala:734 +#: src/Dialogs.vala:735 #, c-format msgid "1 file failed to import due to a camera error:\n" msgid_plural "%d files failed to import due to a camera error:\n" msgstr[0] "Falló al importar 1 archivo debido a un error de la cámara: \n" msgstr[1] "Falló al importar %d archivor debido a un error de la cámara: \n" -#: src/Dialogs.vala:748 +#: src/Dialogs.vala:749 #, c-format msgid "1 photo failed to import because it was corrupt:\n" msgid_plural "%d photos failed to import because they were corrupt:\n" msgstr[0] "No se pudo importar una foto porque está dañada:\n" msgstr[1] "No se pudieron importar %d fotos porque están dañadas:\n" -#: src/Dialogs.vala:751 +#: src/Dialogs.vala:752 #, c-format msgid "1 video failed to import because it was corrupt:\n" msgid_plural "%d videos failed to import because they were corrupt:\n" msgstr[0] "No se pudo importar un vídeo porque está dañado:\n" msgstr[1] "No se pudieron importar %d vídeos porque están dañados:\n" -#: src/Dialogs.vala:754 +#: src/Dialogs.vala:755 #, c-format msgid "1 photo/video failed to import because it was corrupt:\n" msgid_plural "%d photos/videos failed to import because they were corrupt:\n" msgstr[0] "No se pudo importar 1 foto/vídeo porque está dañado:\n" msgstr[1] "No se pudieron importar %d fotos/vídeos porque están dañados:\n" -#: src/Dialogs.vala:757 +#: src/Dialogs.vala:758 #, c-format msgid "1 file failed to import because it was corrupt:\n" msgid_plural "%d files failed to import because it was corrupt:\n" @@ -3342,7 +3362,7 @@ msgstr[1] "No se pudieron importar %d archivos porque están dañados:\n" #. standard container formats are supported, it's just that the streams in them #. might or might not be interpretable), so this message does not need to be #. media specific -#: src/Dialogs.vala:774 +#: src/Dialogs.vala:775 #, c-format msgid "1 unsupported photo skipped:\n" msgid_plural "%d unsupported photos skipped:\n" @@ -3351,56 +3371,56 @@ msgstr[1] "Se omitieron %d fotos no compatibles:\n" #. we have no notion of "non-video" video files right now in Shotwell, so this #. message doesn't need to be media specific -#: src/Dialogs.vala:789 +#: src/Dialogs.vala:790 #, c-format msgid "1 non-image file skipped.\n" msgid_plural "%d non-image files skipped.\n" msgstr[0] "Se omitió 1 archivo que no era una imagen.\n" msgstr[1] "Se omitieron %d archivos que no eran imágenes.\n" -#: src/Dialogs.vala:800 +#: src/Dialogs.vala:801 #, c-format msgid "1 photo skipped due to user cancel:\n" msgid_plural "%d photos skipped due to user cancel:\n" msgstr[0] "Se omitió 1 foto debido a la cancelación del usuario:\n" msgstr[1] "Se omitieron %d fotos debido a la cancelación del usuario:\n" -#: src/Dialogs.vala:803 +#: src/Dialogs.vala:804 #, c-format msgid "1 video skipped due to user cancel:\n" msgid_plural "%d videos skipped due to user cancel:\n" msgstr[0] "Se omitió 1 vídeo debido a la cancelación del usuario:\n" msgstr[1] "Se omitieron %d vídeos debido a la cancelación del usuario:\n" -#: src/Dialogs.vala:806 +#: src/Dialogs.vala:807 #, c-format msgid "1 photo/video skipped due to user cancel:\n" msgid_plural "%d photos/videos skipped due to user cancel:\n" msgstr[0] "Se omitió 1 foto/vídeo debido a la cancelación del usuario:\n" msgstr[1] "Se omitieron %d fotos/vídeos debido a la cancelación del usuario:\n" -#: src/Dialogs.vala:809 +#: src/Dialogs.vala:810 #, c-format msgid "1 file skipped due to user cancel:\n" msgid_plural "%d file skipped due to user cancel:\n" msgstr[0] "Se omitió 1 archivo debido a la cancelación del usuario:\n" msgstr[1] "Se omitieron %d archivos debido a la cancelación del usuario:\n" -#: src/Dialogs.vala:823 +#: src/Dialogs.vala:824 #, c-format msgid "1 photo successfully imported.\n" msgid_plural "%d photos successfully imported.\n" msgstr[0] "1 foto correctamente importada.\n" msgstr[1] "%d fotos importadas correctamente.\n" -#: src/Dialogs.vala:826 +#: src/Dialogs.vala:827 #, c-format msgid "1 video successfully imported.\n" msgid_plural "%d videos successfully imported.\n" msgstr[0] "1 vídeo correctamente importado.\n" msgstr[1] "%d vídeos importados correctamente.\n" -#: src/Dialogs.vala:829 +#: src/Dialogs.vala:830 #, c-format msgid "1 photo/video successfully imported.\n" msgid_plural "%d photos/videos successfully imported.\n" @@ -3409,89 +3429,89 @@ msgstr[1] "%d fotos/vídeos importados correctamente.\n" #. if no media items were imported at all (i.e. an empty directory attempted), need to at least #. report that nothing was imported -#: src/Dialogs.vala:845 +#: src/Dialogs.vala:846 msgid "No photos or videos imported.\n" msgstr "No se importó ninguna foto o vídeo.\n" -#: src/Dialogs.vala:852 src/Dialogs.vala:871 +#: src/Dialogs.vala:853 src/Dialogs.vala:872 msgid "Import Complete" msgstr "Importación completa" -#: src/Dialogs.vala:1157 +#: src/Dialogs.vala:1158 #, c-format msgid "%d second" msgid_plural "%d seconds" msgstr[0] "%d segundo" msgstr[1] "%d segundos" -#: src/Dialogs.vala:1160 +#: src/Dialogs.vala:1161 #, c-format msgid "%d minute" msgid_plural "%d minutes" msgstr[0] "%d minuto" msgstr[1] "%d minutos" -#: src/Dialogs.vala:1164 +#: src/Dialogs.vala:1165 #, c-format msgid "%d hour" msgid_plural "%d hours" msgstr[0] "%d hora" msgstr[1] "%d horas" -#: src/Dialogs.vala:1167 +#: src/Dialogs.vala:1168 msgid "1 day" msgstr "1 día" -#: src/Dialogs.vala:1321 src/Resources.vala:231 +#: src/Dialogs.vala:1322 src/Resources.vala:231 msgid "Rename Event" msgstr "Renombrar evento" -#: src/Dialogs.vala:1321 +#: src/Dialogs.vala:1322 msgid "Name:" msgstr "Nombre:" #. Dialog title -#: src/Dialogs.vala:1332 +#: src/Dialogs.vala:1333 msgctxt "Dialog Title" msgid "Edit Title" msgstr "Editar título" -#: src/Dialogs.vala:1333 src/Properties.vala:340 +#: src/Dialogs.vala:1334 src/Properties.vala:340 msgid "Title:" msgstr "Título:" #. Dialog title -#: src/Dialogs.vala:1349 src/Resources.vala:307 +#: src/Dialogs.vala:1350 src/Resources.vala:307 msgid "Edit Event Comment" msgstr "Editar comentario de evento" -#: src/Dialogs.vala:1350 +#: src/Dialogs.vala:1351 msgid "Edit Photo/Video Comment" msgstr "Editar comentario de foto/vídeo" -#: src/Dialogs.vala:1351 src/Properties.vala:628 +#: src/Dialogs.vala:1352 src/Properties.vala:628 msgid "Comment:" msgstr "Comentario:" -#: src/Dialogs.vala:1367 +#: src/Dialogs.vala:1368 msgid "Remove and _Trash File" msgid_plural "Remove and _Trash Files" msgstr[0] "Eliminar archivo y mover a la _papelera" msgstr[1] "Eliminar archivos y mover a la _papelera" -#: src/Dialogs.vala:1371 +#: src/Dialogs.vala:1372 msgid "_Remove From Library" msgstr "_Quitar de la colección" -#: src/Dialogs.vala:1414 +#: src/Dialogs.vala:1415 msgid "Revert External Edit?" msgstr "¿Revertir las ediciones externas?" -#: src/Dialogs.vala:1414 +#: src/Dialogs.vala:1415 msgid "Revert External Edits?" msgstr "¿Revertir ediciones externas?" -#: src/Dialogs.vala:1416 +#: src/Dialogs.vala:1417 #, c-format msgid "This will destroy all changes made to the external file. Continue?" msgid_plural "" @@ -3503,87 +3523,87 @@ msgstr[1] "" "Esto destruirá todos los cambios realizados en los %d archivos externos. " "¿Continuar?" -#: src/Dialogs.vala:1420 +#: src/Dialogs.vala:1421 msgid "Re_vert External Edit" msgstr "Re_vertir edición externa" -#: src/Dialogs.vala:1420 +#: src/Dialogs.vala:1421 msgid "Re_vert External Edits" msgstr "Re_vertir ediciones externas" -#: src/Dialogs.vala:1441 +#: src/Dialogs.vala:1442 #, c-format msgid "This will remove the photo from the library. Continue?" msgid_plural "This will remove %d photos from the library. Continue?" msgstr[0] "Esto quitará la foto de la colección. ¿Continuar?" msgstr[1] "Esto quitará las %d fotos de la colección. ¿Continuar?" -#: src/Dialogs.vala:1448 src/Resources.vala:173 +#: src/Dialogs.vala:1449 src/Resources.vala:173 msgid "_Remove" msgstr "_Quitar" -#: src/Dialogs.vala:1449 +#: src/Dialogs.vala:1450 msgid "Remove Photo From Library" msgstr "Quitar la foto de la colección" -#: src/Dialogs.vala:1449 +#: src/Dialogs.vala:1450 msgid "Remove Photos From Library" msgstr "Quitar fotos de la colección" -#: src/Dialogs.vala:1542 +#: src/Dialogs.vala:1543 #, c-format msgid "%d%%" msgstr "%d%%" -#: src/Dialogs.vala:1696 +#: src/Dialogs.vala:1697 msgid "AM" msgstr "a.m." -#: src/Dialogs.vala:1697 +#: src/Dialogs.vala:1698 msgid "PM" msgstr "p.m." -#: src/Dialogs.vala:1698 +#: src/Dialogs.vala:1699 msgid "24 Hr" msgstr "24 hrs." -#: src/Dialogs.vala:1713 +#: src/Dialogs.vala:1714 msgid "_Shift photos/videos by the same amount" msgstr "_Desplazar todas las fotos y/o vídeos la misma cantidad" -#: src/Dialogs.vala:1718 +#: src/Dialogs.vala:1719 msgid "Set _all photos/videos to this time" msgstr "Ajustar _todas las fotos y/o vídeos a esta hora" -#: src/Dialogs.vala:1725 +#: src/Dialogs.vala:1726 msgid "_Modify original photo file" msgstr "_Modificar archivo de foto original" -#: src/Dialogs.vala:1725 +#: src/Dialogs.vala:1726 msgid "_Modify original photo files" msgstr ":Modificar archivos de fotos originales" -#: src/Dialogs.vala:1728 +#: src/Dialogs.vala:1729 msgid "_Modify original file" msgstr "_Modificar archivos originales" -#: src/Dialogs.vala:1728 +#: src/Dialogs.vala:1729 msgid "_Modify original files" msgstr "_Modificar archivos originales" -#: src/Dialogs.vala:1814 +#: src/Dialogs.vala:1815 msgid "Original: " msgstr "Original:" -#: src/Dialogs.vala:1815 +#: src/Dialogs.vala:1816 msgid "%m/%d/%Y, %H:%M:%S" msgstr "%d/%m/%Y, %H:%M:%S" -#: src/Dialogs.vala:1816 +#: src/Dialogs.vala:1817 msgid "%m/%d/%Y, %I:%M:%S %p" msgstr "%d/%m/%Y, %H:%M:%S %p" -#: src/Dialogs.vala:1905 +#: src/Dialogs.vala:1906 #, c-format msgid "" "Exposure time will be shifted forward by\n" @@ -3592,7 +3612,7 @@ msgstr "" "El tiempo de exposición se adelantará por\n" "%d %s, %d %s, %d %s, y %d %s." -#: src/Dialogs.vala:1906 +#: src/Dialogs.vala:1907 #, c-format msgid "" "Exposure time will be shifted backward by\n" @@ -3601,31 +3621,31 @@ msgstr "" "El tiempo de exposición se atrasará por\n" "%d %s, %d %s, %d %s, y %d %s." -#: src/Dialogs.vala:1908 +#: src/Dialogs.vala:1909 msgid "day" msgid_plural "days" msgstr[0] "día" msgstr[1] "días" -#: src/Dialogs.vala:1909 +#: src/Dialogs.vala:1910 msgid "hour" msgid_plural "hours" msgstr[0] "hora" msgstr[1] "horas" -#: src/Dialogs.vala:1910 +#: src/Dialogs.vala:1911 msgid "minute" msgid_plural "minutes" msgstr[0] "minuto" msgstr[1] "minutos" -#: src/Dialogs.vala:1911 +#: src/Dialogs.vala:1912 msgid "second" msgid_plural "seconds" msgstr[0] "segundo" msgstr[1] "segundos" -#: src/Dialogs.vala:1955 +#: src/Dialogs.vala:1956 #, c-format msgid "" "\n" @@ -3644,49 +3664,49 @@ msgstr[1] "" "\n" "Y %d más." -#: src/Dialogs.vala:1979 src/Dialogs.vala:2006 +#: src/Dialogs.vala:1980 src/Dialogs.vala:2007 msgid "Tags (separated by commas):" msgstr "Etiquetas (separadas por comas):" -#: src/Dialogs.vala:2086 +#: src/Dialogs.vala:2087 msgid "Welcome!" msgstr "Bienvenido/a" -#: src/Dialogs.vala:2093 +#: src/Dialogs.vala:2094 msgid "Welcome to Shotwell!" msgstr "Bienvenido/a a Shotwell." -#: src/Dialogs.vala:2097 +#: src/Dialogs.vala:2098 msgid "To get started, import photos in any of these ways:" msgstr "Para comenzar, importe fotos de cualquiera de las siguientes formas:" -#: src/Dialogs.vala:2116 +#: src/Dialogs.vala:2117 #, c-format msgid "Choose <span weight=\"bold\">File %s Import From Folder</span>" msgstr "Elija <span weight=\"bold\">Archivo %s Importar desde carpeta</span>" -#: src/Dialogs.vala:2117 +#: src/Dialogs.vala:2118 msgid "Drag and drop photos onto the Shotwell window" msgstr "Arrastre y suelte fotos en la ventana de Shotwell" -#: src/Dialogs.vala:2118 +#: src/Dialogs.vala:2119 msgid "Connect a camera to your computer and import" msgstr "Conecte una cámara al equipo e importe" -#: src/Dialogs.vala:2128 +#: src/Dialogs.vala:2129 #, c-format msgid "_Import photos from your %s folder" msgstr "_Importar fotos desde su carpeta %s" -#: src/Dialogs.vala:2135 +#: src/Dialogs.vala:2136 msgid "You can also import photos in any of these ways:" msgstr "También puede importar fotos en cualquiera de estas formas:" -#: src/Dialogs.vala:2145 +#: src/Dialogs.vala:2146 msgid "_Don't show this message again" msgstr "_No mostrar este mensaje de nuevo" -#: src/Dialogs.vala:2180 +#: src/Dialogs.vala:2181 #, c-format msgid "Import photos from your %s library" msgstr "Importar fotos desde su colección %s" @@ -3694,41 +3714,41 @@ msgstr "Importar fotos desde su colección %s" #. We're installed system-wide, so use the system help. #. We're being run from the build directory; we'll have to handle clicks to this #. link manually ourselves, due to a limitation of help: URIs. -#: src/Dialogs.vala:2327 src/Dialogs.vala:2331 +#: src/Dialogs.vala:2328 src/Dialogs.vala:2332 msgid "(Help)" msgstr "(Ayuda)" -#: src/Dialogs.vala:2340 +#: src/Dialogs.vala:2341 #, c-format msgid "Year%sMonth%sDay" msgstr "Año%sMes%sDía" -#: src/Dialogs.vala:2342 +#: src/Dialogs.vala:2343 #, c-format msgid "Year%sMonth" msgstr "Año%sMes" -#: src/Dialogs.vala:2344 +#: src/Dialogs.vala:2345 #, c-format msgid "Year%sMonth-Day" msgstr "Año%sMes-Día" -#: src/Dialogs.vala:2346 +#: src/Dialogs.vala:2347 msgid "Year-Month-Day" msgstr "Año-Mes-Día" -#: src/Dialogs.vala:2347 src/editing_tools/EditingTools.vala:781 +#: src/Dialogs.vala:2348 src/editing_tools/EditingTools.vala:781 msgid "Custom" msgstr "Personalizado" #. Invalid pattern. -#: src/Dialogs.vala:2584 +#: src/Dialogs.vala:2585 msgid "Invalid pattern" msgstr "Patrón no válido" #. This function is used to determine whether or not files should be copied or linked when imported. #. Returns ACCEPT for copy, REJECT for link, and CANCEL for (drum-roll) cancel. -#: src/Dialogs.vala:2686 +#: src/Dialogs.vala:2687 msgid "" "Shotwell can copy the photos into your library folder or it can import them " "without copying." @@ -3736,31 +3756,31 @@ msgstr "" "Shotwell puede copiar las fotos en su colección o puede importarlas sin " "copiarlas." -#: src/Dialogs.vala:2691 +#: src/Dialogs.vala:2692 msgid "Co_py Photos" msgstr "C_opiar fotos" -#: src/Dialogs.vala:2692 +#: src/Dialogs.vala:2693 msgid "_Import in Place" msgstr "_Importar en el lugar" -#: src/Dialogs.vala:2693 +#: src/Dialogs.vala:2694 msgid "Import to Library" msgstr "Importar a la colección" -#: src/Dialogs.vala:2703 src/PhotoPage.vala:3085 +#: src/Dialogs.vala:2704 src/PhotoPage.vala:3085 msgid "Remove From Library" msgstr "Quitar de la colección" -#: src/Dialogs.vala:2704 src/PhotoPage.vala:3085 +#: src/Dialogs.vala:2705 src/PhotoPage.vala:3085 msgid "Removing Photo From Library" msgstr "Quitando la foto de la colección" -#: src/Dialogs.vala:2704 +#: src/Dialogs.vala:2705 msgid "Removing Photos From Library" msgstr "Quitando fotos de la colección" -#: src/Dialogs.vala:2718 +#: src/Dialogs.vala:2719 #, c-format msgid "" "This will remove the photo/video from your Shotwell library. Would you also " @@ -3783,7 +3803,7 @@ msgstr[1] "" "\n" "Esta acción no se puede deshacer." -#: src/Dialogs.vala:2722 +#: src/Dialogs.vala:2723 #, c-format msgid "" "This will remove the video from your Shotwell library. Would you also like " @@ -3806,7 +3826,7 @@ msgstr[1] "" "\n" "Esta acción no se puede deshacer." -#: src/Dialogs.vala:2726 +#: src/Dialogs.vala:2727 #, c-format msgid "" "This will remove the photo from your Shotwell library. Would you also like " @@ -3829,7 +3849,7 @@ msgstr[1] "" "\n" "Esta acción no se puede deshacer." -#: src/Dialogs.vala:2758 +#: src/Dialogs.vala:2759 #, c-format msgid "" "The photo or video cannot be moved to your desktop trash. Delete this file?" @@ -3843,7 +3863,7 @@ msgstr[1] "" "¿Eliminar estos archivos?" #. Alert the user that the files were not removed. -#: src/Dialogs.vala:2775 +#: src/Dialogs.vala:2776 #, c-format msgid "The photo or video cannot be deleted." msgid_plural "%d photos/videos cannot be deleted." @@ -3872,8 +3892,9 @@ msgid "Save photo" msgstr "Guardar la foto" #: src/direct/DirectPhotoPage.vala:57 -msgid "Save _As..." -msgstr "G_uardar como…" +#| msgid "Save _As" +msgid "Save _As…" +msgstr "Guardar _como…" #: src/direct/DirectPhotoPage.vala:58 msgid "Save photo with a different name" @@ -4060,23 +4081,23 @@ msgstr "Vídeo SD (4:3)" msgid "HD Video (16 : 9)" msgstr "Vídeo HD (16:9)" -#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:817 +#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:818 msgid "Wallet (2 x 3 in.)" msgstr "Cartera (2 × 3 pulg.)" -#: src/editing_tools/EditingTools.vala:762 src/Printing.vala:820 +#: src/editing_tools/EditingTools.vala:762 src/Printing.vala:821 msgid "Notecard (3 x 5 in.)" msgstr "Tarjeta de notas (3 × 5 pulg.)" -#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:823 +#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:824 msgid "4 x 6 in." msgstr "4 × 6 pulg." -#: src/editing_tools/EditingTools.vala:764 src/Printing.vala:826 +#: src/editing_tools/EditingTools.vala:764 src/Printing.vala:827 msgid "5 x 7 in." msgstr "5 × 7 pulg." -#: src/editing_tools/EditingTools.vala:765 src/Printing.vala:829 +#: src/editing_tools/EditingTools.vala:765 src/Printing.vala:830 msgid "8 x 10 in." msgstr "8 × 10 pulg." @@ -4084,7 +4105,7 @@ msgstr "8 × 10 pulg." msgid "Letter (8.5 x 11 in.)" msgstr "Carta (8.5 × 11 pulg.)" -#: src/editing_tools/EditingTools.vala:767 src/Printing.vala:832 +#: src/editing_tools/EditingTools.vala:767 src/Printing.vala:833 msgid "11 x 14 in." msgstr "11 × 14 pulg." @@ -4092,23 +4113,23 @@ msgstr "11 × 14 pulg." msgid "Tabloid (11 x 17 in.)" msgstr "Tabloide (11 × 17 pulg.)" -#: src/editing_tools/EditingTools.vala:769 src/Printing.vala:835 +#: src/editing_tools/EditingTools.vala:769 src/Printing.vala:836 msgid "16 x 20 in." msgstr "16 × 20 pulg." -#: src/editing_tools/EditingTools.vala:771 src/Printing.vala:841 +#: src/editing_tools/EditingTools.vala:771 src/Printing.vala:842 msgid "Metric Wallet (9 x 13 cm)" msgstr "Cartera métrica (9 × 13 cm)" -#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:844 +#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:845 msgid "Postcard (10 x 15 cm)" msgstr "Tarjeta postal (10 × 15 cm)" -#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:847 +#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:848 msgid "13 x 18 cm" msgstr "13 × 18 cm" -#: src/editing_tools/EditingTools.vala:774 src/Printing.vala:850 +#: src/editing_tools/EditingTools.vala:774 src/Printing.vala:851 msgid "18 x 24 cm" msgstr "18 × 24 cm" @@ -4116,15 +4137,15 @@ msgstr "18 × 24 cm" msgid "A4 (210 x 297 mm)" msgstr "A4 (210 × 297 mm)" -#: src/editing_tools/EditingTools.vala:776 src/Printing.vala:853 +#: src/editing_tools/EditingTools.vala:776 src/Printing.vala:854 msgid "20 x 30 cm" msgstr "20 × 30 cm" -#: src/editing_tools/EditingTools.vala:777 src/Printing.vala:856 +#: src/editing_tools/EditingTools.vala:777 src/Printing.vala:857 msgid "24 x 40 cm" msgstr "24 × 40 cm" -#: src/editing_tools/EditingTools.vala:778 src/Printing.vala:859 +#: src/editing_tools/EditingTools.vala:778 src/Printing.vala:860 msgid "30 x 40 cm" msgstr "30 × 40 cm" @@ -4144,70 +4165,79 @@ msgstr "Cerrar la herramienta de ojos rojos" msgid "Remove any red-eye effects in the selected region" msgstr "Quitar cualquier efecto de ojos rojos en la región seleccionada" -#: src/editing_tools/EditingTools.vala:2226 +#: src/editing_tools/EditingTools.vala:2229 #: src/editing_tools/StraightenTool.vala:102 msgid "_Reset" msgstr "_Restablecer" #. fit both on the top line, emit and move on -#: src/editing_tools/EditingTools.vala:2240 src/Properties.vala:436 +#: src/editing_tools/EditingTools.vala:2243 src/Properties.vala:436 #: src/Properties.vala:440 src/Properties.vala:447 msgid "Exposure:" msgstr "Exposición:" -#: src/editing_tools/EditingTools.vala:2248 +#: src/editing_tools/EditingTools.vala:2251 +msgid "Contrast:" +msgstr "Contraste:" + +#: src/editing_tools/EditingTools.vala:2259 msgid "Saturation:" msgstr "Saturación:" -#: src/editing_tools/EditingTools.vala:2256 +#: src/editing_tools/EditingTools.vala:2267 msgid "Tint:" msgstr "Matiz:" -#: src/editing_tools/EditingTools.vala:2265 +#: src/editing_tools/EditingTools.vala:2276 msgid "Temperature:" msgstr "Temperatura:" -#: src/editing_tools/EditingTools.vala:2273 +#: src/editing_tools/EditingTools.vala:2284 msgid "Shadows:" msgstr "Sombras:" -#: src/editing_tools/EditingTools.vala:2281 +#: src/editing_tools/EditingTools.vala:2292 msgid "Highlights:" msgstr "Resaltadas:" -#: src/editing_tools/EditingTools.vala:2335 +#: src/editing_tools/EditingTools.vala:2346 msgid "Reset Colors" msgstr "Restablecer colores" -#: src/editing_tools/EditingTools.vala:2335 +#: src/editing_tools/EditingTools.vala:2346 msgid "Reset all color adjustments to original" msgstr "Restablecer todos los ajustes de color al original" -#: src/editing_tools/EditingTools.vala:2687 +#: src/editing_tools/EditingTools.vala:2705 msgid "Temperature" msgstr "Temperatura" -#: src/editing_tools/EditingTools.vala:2700 +#: src/editing_tools/EditingTools.vala:2717 msgid "Tint" msgstr "Matiz" -#: src/editing_tools/EditingTools.vala:2713 +#: src/editing_tools/EditingTools.vala:2729 +#| msgid "Contrast Expansion" +msgid "Contrast" +msgstr "Contraste" + +#: src/editing_tools/EditingTools.vala:2743 msgid "Saturation" msgstr "Saturación" -#: src/editing_tools/EditingTools.vala:2726 +#: src/editing_tools/EditingTools.vala:2756 msgid "Exposure" msgstr "Exposición" -#: src/editing_tools/EditingTools.vala:2739 +#: src/editing_tools/EditingTools.vala:2769 msgid "Shadows" msgstr "Sombras" -#: src/editing_tools/EditingTools.vala:2752 +#: src/editing_tools/EditingTools.vala:2782 msgid "Highlights" msgstr "Resaltadas" -#: src/editing_tools/EditingTools.vala:2762 +#: src/editing_tools/EditingTools.vala:2792 msgid "Contrast Expansion" msgstr "Expansión de contraste" @@ -4281,7 +4311,7 @@ msgid "%B" msgstr "%B" #. if no name, pretty up the start time -#: src/Event.vala:751 +#: src/Event.vala:753 #, c-format msgid "Event %s" msgstr "Evento %s" @@ -4324,18 +4354,19 @@ msgstr "Carpetas" msgid "Library" msgstr "Colección" -#: src/library/Branch.vala:97 src/SearchFilter.vala:594 -#: src/SearchFilter.vala:595 +#: src/library/Branch.vala:97 src/SearchFilter.vala:608 +#: src/SearchFilter.vala:609 msgid "Photos" msgstr "Fotos" -#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:588 -#: src/SearchFilter.vala:589 src/SearchFilter.vala:988 +#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:602 +#: src/SearchFilter.vala:603 src/SearchFilter.vala:1188 msgid "Flagged" msgstr "Marcada" #: src/library/ImportQueuePage.vala:8 -msgid "Importing..." +#| msgid "Importing" +msgid "Importing…" msgstr "Importando…" #: src/library/ImportQueuePage.vala:67 @@ -4347,8 +4378,9 @@ msgid "Stop importing photos" msgstr "Detener la importación de fotos" #: src/library/ImportQueuePage.vala:124 -msgid "Preparing to import..." -msgstr "Preparando importación…" +#| msgid "Preparing to import" +msgid "Preparing to import…" +msgstr "Preparando para importar…" #: src/library/ImportQueuePage.vala:151 #, c-format @@ -4360,7 +4392,8 @@ msgid "Last Import" msgstr "Última importación" #: src/library/LibraryWindow.vala:285 -msgid "_Import From Folder..." +#| msgid "Import From Folder" +msgid "_Import From Folder…" msgstr "_Importar desde carpeta…" #: src/library/LibraryWindow.vala:286 @@ -4368,7 +4401,8 @@ msgid "Import photos from disk to library" msgstr "Importar fotos desde el disco a la colección" #: src/library/LibraryWindow.vala:293 -msgid "Import From _Application..." +#| msgid "Import From Application" +msgid "Import From _Application…" msgstr "Importar desde _aplicación…" #: src/library/LibraryWindow.vala:297 @@ -4397,7 +4431,8 @@ msgstr "Buscar fotos y vídeos por criterio de búsqueda" #: src/library/LibraryWindow.vala:329 src/searches/Branch.vala:77 #: src/sidebar/Tree.vala:199 -msgid "Ne_w Saved Search..." +#| msgid "Ne_w Saved Search..." +msgid "Ne_w Saved Search…" msgstr "_Búsqueda guardada nueva…" #: src/library/LibraryWindow.vala:351 @@ -4444,35 +4479,46 @@ msgstr "_Barra lateral" msgid "Display the sidebar" msgstr "Mostrar la barra lateral" -#: src/library/LibraryWindow.vala:405 src/MediaPage.vala:515 +#: src/library/LibraryWindow.vala:398 +#| msgid "Pin Toolbar" +msgid "T_oolbar" +msgstr "B_arra de herramientas" + +#: src/library/LibraryWindow.vala:399 +#| msgid "Display the sidebar" +msgid "Display the tool bar" +msgstr "Mostrar la barra de herramientas" + +#: src/library/LibraryWindow.vala:411 src/MediaPage.vala:515 msgid "_Ascending" msgstr "_Ascendente" -#: src/library/LibraryWindow.vala:406 src/MediaPage.vala:516 +#: src/library/LibraryWindow.vala:412 src/MediaPage.vala:516 msgid "Sort photos in an ascending order" msgstr "Ordenar fotos en orden ascendente" -#: src/library/LibraryWindow.vala:412 src/MediaPage.vala:521 +#: src/library/LibraryWindow.vala:418 src/MediaPage.vala:521 msgid "D_escending" msgstr "D_escendente" -#: src/library/LibraryWindow.vala:413 src/MediaPage.vala:522 +#: src/library/LibraryWindow.vala:419 src/MediaPage.vala:522 msgid "Sort photos in a descending order" msgstr "Ordenar fotos en orden descendente" -#: src/library/LibraryWindow.vala:651 +#: src/library/LibraryWindow.vala:657 msgid "Import From Folder" msgstr "Importar desde carpeta" -#: src/library/LibraryWindow.vala:720 +#: src/library/LibraryWindow.vala:726 msgid "Empty Trash" msgstr "Vaciar la papelera" -#: src/library/LibraryWindow.vala:720 -msgid "Emptying Trash..." +#: src/library/LibraryWindow.vala:726 +#| msgid "Emptying Trash..." +msgid "Emptying Trash…" msgstr "Vaciando la papelera…" -#: src/library/LibraryWindow.vala:879 +#: src/library/LibraryWindow.vala:901 #, c-format msgid "" "Shotwell is configured to import photos to your home directory.\n" @@ -4485,34 +4531,38 @@ msgstr "" "span>.\n" "¿Quiere seguir importando fotos?" -#: src/library/LibraryWindow.vala:882 ui/shotwell.ui:784 +#: src/library/LibraryWindow.vala:904 ui/shotwell.ui:784 msgid "Library Location" msgstr "Ubicación de la colección" #. TODO: Specify which directory/file. -#: src/library/LibraryWindow.vala:895 +#: src/library/LibraryWindow.vala:917 msgid "Photos cannot be imported from this directory." msgstr "Las fotos no pueden importarse desde esta carpeta." -#: src/library/LibraryWindow.vala:1181 +#: src/library/LibraryWindow.vala:1203 #, c-format msgid "%s (%d%%)" msgstr "%s (%d%%)" -#: src/library/LibraryWindow.vala:1225 src/library/LibraryWindow.vala:1236 -msgid "Updating library..." +#: src/library/LibraryWindow.vala:1247 src/library/LibraryWindow.vala:1258 +#| msgid "Updating library..." +msgid "Updating library…" msgstr "Actualizando la colección…" -#: src/library/LibraryWindow.vala:1242 -msgid "Preparing to auto-import photos..." -msgstr "Preparando importación automática…" +#: src/library/LibraryWindow.vala:1264 +#| msgid "Preparing to auto-import photos..." +msgid "Preparing to auto-import photos…" +msgstr "Preparando para importar fotos automáticamente…" -#: src/library/LibraryWindow.vala:1247 -msgid "Auto-importing photos..." +#: src/library/LibraryWindow.vala:1269 +#| msgid "Auto-importing photos..." +msgid "Auto-importing photos…" msgstr "Importando fotos automáticamente…" -#: src/library/LibraryWindow.vala:1255 -msgid "Writing metadata to files..." +#: src/library/LibraryWindow.vala:1277 +#| msgid "Writing metadata to files..." +msgid "Writing metadata to files…" msgstr "Escribiendo metadatos en los archivos…" #: src/library/OfflinePage.vala:8 @@ -4520,7 +4570,8 @@ msgid "Missing Files" msgstr "Archivos faltantes" #: src/library/OfflinePage.vala:106 -msgid "Deleting..." +#| msgid "Deleting..." +msgid "Deleting…" msgstr "Eliminando…" #: src/library/TrashPage.vala:8 @@ -4708,7 +4759,7 @@ msgstr "No hay fotos/vídeos" msgid "No photos/videos found which match the current filter" msgstr "No se han encontrado fotos/vídeos que coincidan con el filtro actual" -#: src/Page.vala:2568 +#: src/Page.vala:2576 msgid "Photos cannot be exported to this directory." msgstr "No se pueden exportar las fotos a este directorio." @@ -4812,15 +4863,16 @@ msgstr "pulg." msgid "cm" msgstr "cm" -#: src/Printing.vala:875 +#: src/Printing.vala:876 msgid "Image Settings" msgstr "Ajustes de la imagen" -#: src/Printing.vala:888 -msgid "Printing..." +#: src/Printing.vala:889 +#| msgid "Printing..." +msgid "Printing…" msgstr "Imprimiendo…" -#: src/Printing.vala:908 src/Printing.vala:1111 +#: src/Printing.vala:909 src/Printing.vala:1112 #, c-format msgid "" "Unable to print photo:\n" @@ -4992,11 +5044,13 @@ msgid "The selected photo was successfully published." msgstr "La foto seleccionada se publicó correctamente." #: src/publishing/PublishingUI.vala:122 -msgid "Fetching account information..." +#| msgid "Fetching account information..." +msgid "Fetching account information…" msgstr "Obteniendo información de la cuenta…" #: src/publishing/PublishingUI.vala:128 -msgid "Logging in..." +#| msgid "Logging in..." +msgid "Logging in…" msgstr "Iniciando sesión…" #: src/publishing/PublishingUI.vala:188 @@ -5283,7 +5337,8 @@ msgid "Set selected image to be the new desktop background" msgstr "Establezca la imagen seleccionada como nuevo fondo de escritorio" #: src/Resources.vala:222 -msgid "Set as _Desktop Slideshow..." +#| msgid "Set as Desktop Slideshow" +msgid "Set as _Desktop Slideshow…" msgstr "Establecer como pase de _diapositivas de escritorio…" #: src/Resources.vala:224 @@ -5303,7 +5358,8 @@ msgid "Redo" msgstr "Rehacer" #: src/Resources.vala:230 -msgid "Re_name Event..." +#| msgid "Rename Event" +msgid "Re_name Event…" msgstr "Re_nombrar evento…" #: src/Resources.vala:233 @@ -5473,15 +5529,18 @@ msgid "Make a duplicate of the photo" msgstr "Hacer un duplicado de la foto" #: src/Resources.vala:290 -msgid "_Export..." +#| msgid "Export" +msgid "_Export…" msgstr "_Exportar…" #: src/Resources.vala:292 -msgid "_Print..." +#| msgid "_Print" +msgid "_Print…" msgstr "_Imprimir…" #: src/Resources.vala:294 -msgid "Pu_blish..." +#| msgid "Publish" +msgid "Pu_blish…" msgstr "Pu_blicar…" #: src/Resources.vala:296 @@ -5489,8 +5548,10 @@ msgid "Publish to various websites" msgstr "Publicar en varios sitios web" #: src/Resources.vala:298 -msgid "Edit _Title..." -msgstr "Editar el _título…" +#| msgctxt "Dialog Title" +#| msgid "Edit Title" +msgid "Edit _Title…" +msgstr "Editar _título…" #. Button label #: src/Resources.vala:300 @@ -5499,7 +5560,8 @@ msgid "Edit Title" msgstr "Editar título" #: src/Resources.vala:302 -msgid "Edit _Comment..." +#| msgid "Edit Comment" +msgid "Edit _Comment…" msgstr "Editar _comentario…" #. Button label @@ -5508,11 +5570,13 @@ msgid "Edit Comment" msgstr "Editar comentario" #: src/Resources.vala:306 -msgid "Edit Event _Comment..." -msgstr "Editar _comentario del evento…" +#| msgid "Edit Event Comment" +msgid "Edit Event _Comment…" +msgstr "Editar _comentario de evento…" #: src/Resources.vala:309 -msgid "_Adjust Date and Time..." +#| msgid "Adjust Date and Time" +msgid "_Adjust Date and Time…" msgstr "_Ajustar fecha y hora…" #: src/Resources.vala:310 @@ -5520,11 +5584,15 @@ msgid "Adjust Date and Time" msgstr "Ajustar fecha y hora" #: src/Resources.vala:312 -msgid "Add _Tags..." +#| msgctxt "Dialog Title" +#| msgid "Add Tags" +msgid "Add _Tags…" msgstr "Añadir e_tiquetas…" #: src/Resources.vala:313 -msgid "_Add Tags..." +#| msgctxt "Dialog Title" +#| msgid "Add Tags" +msgid "_Add Tags…" msgstr "_Añadir etiquetas…" #. Dialog title @@ -5542,16 +5610,19 @@ msgid "Open With RA_W Editor" msgstr "Abrir con editor RA_W" #: src/Resources.vala:323 -msgid "Send _To..." +#| msgid "Send To" +msgid "Send _To…" msgstr "En_viar a…" #: src/Resources.vala:324 -msgid "Send T_o..." -msgstr "En_viar a…" +#| msgid "Send To" +msgid "Send T_o…" +msgstr "Env_iar a…" #: src/Resources.vala:326 -msgid "_Find..." -msgstr "Buscar…" +#| msgid "_Find" +msgid "_Find…" +msgstr "_Buscar…" #: src/Resources.vala:327 msgid "Find" @@ -5608,7 +5679,8 @@ msgstr "Eliminar etiqueta" #: src/Resources.vala:366 #, c-format -msgid "Re_name Tag \"%s\"..." +#| msgid "Re_name Tag \"%s\"..." +msgid "Re_name Tag \"%s\"…" msgstr "Re_nombrar etiqueta «%s»…" #: src/Resources.vala:370 @@ -5617,12 +5689,14 @@ msgid "Rename Tag \"%s\" to \"%s\"" msgstr "Renombrar la etiqueta «%s» a «%s»" #: src/Resources.vala:373 -msgid "_Rename..." +#| msgid "_Rename..." +msgid "_Rename…" msgstr "_Renombrar…" #: src/Resources.vala:375 -msgid "Modif_y Tags..." -msgstr "Modif_icar etiquetas…" +#| msgid "Modify Tags" +msgid "Modif_y Tags…" +msgstr "Mod_ificar etiquetas…" #: src/Resources.vala:376 msgid "Modify Tags" @@ -5678,7 +5752,8 @@ msgstr "No se puede renombrar la etiqueta a «%s» porque la etiqueta ya existe. msgid "Unable to rename search to \"%s\" because the search already exists." msgstr "No se pudo renombrar la búsqueda «%s» porque la búsqueda ya existe." -#: src/Resources.vala:405 +#. Saved search button +#: src/Resources.vala:405 src/SearchFilter.vala:1210 msgid "Saved Search" msgstr "Búsqueda guardada" @@ -5687,11 +5762,13 @@ msgid "Delete Search" msgstr "Eliminar búsqueda" #: src/Resources.vala:410 -msgid "_Edit..." +#| msgid "_Edit" +msgid "_Edit…" msgstr "_Editar…" #: src/Resources.vala:411 -msgid "Re_name..." +#| msgid "Re_name..." +msgid "Re_name…" msgstr "Re_nombrar…" #: src/Resources.vala:414 @@ -5793,40 +5870,51 @@ msgstr "Seleccionar todos los elementos" #. / Locale-specific time format for 12-hour time, i.e. 8:31 PM #. / Precede modifier with a dash ("-") to pad with spaces, otherwise will pad with zeroes #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#: src/Resources.vala:772 -msgid "%-I:%M %p" -msgstr "%-I:%M %p" - #. / Locale-specific time format for 12-hour time with seconds, i.e. 8:31:42 PM #. / Precede modifier with a dash ("-") to pad with spaces, otherwise will pad with zeroes #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#: src/Resources.vala:777 -msgid "%-I:%M:%S %p" -msgstr "%-I:%M:%S %p" - #. / Locale-specific calendar date format, i.e. "Tue Mar 08, 2006" #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#: src/Resources.vala:781 +#: src/Resources.vala:782 msgid "%a %b %d, %Y" msgstr "%a %d de %b de %Y" #. / Locale-specific starting date format for multi-date strings, #. / i.e. the "Tue Mar 08" in "Tue Mar 08 - 10, 2006" #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#. / Locale-specific calendar date format for multi-month strings, -#. / i.e. the "Tue Mar 08" in "Tue Mar 08 to Mon Apr 06, 2006" -#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#: src/Resources.vala:786 src/Resources.vala:796 +#: src/Resources.vala:787 +#| msgid "%a %b %d" +msgctxt "MultidayFormat" msgid "%a %b %d" msgstr "%a, %d de %b" #. / Locale-specific ending date format for multi-date strings, #. / i.e. the "10, 2006" in "Tue Mar 08 - 10, 2006" #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#: src/Resources.vala:791 +#: src/Resources.vala:792 +#| msgid "%d, %Y" +msgctxt "MultidayFormat" msgid "%d, %Y" msgstr "%d, %Y" +#. / Locale-specific calendar date format for multi-month strings, +#. / i.e. the "Tue Mar 08" in "Tue Mar 08 to Mon Apr 06, 2006" +#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format +#: src/Resources.vala:797 +#| msgid "%a %b %d" +msgctxt "MultimonthFormat" +msgid "%a %b %d" +msgstr "%a, %d de %b" + +#. / Locale-specific calendar date format for multi-month strings, +#. / i.e. the "Mon Apr 06, 2006" in "Tue Mar 08 to Mon Apr 06, 2006" +#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format +#: src/Resources.vala:802 +#| msgid "%a %b %d, %Y" +msgctxt "MultimonthFormat" +msgid "%a %b %d, %Y" +msgstr "%a %d de %b de %Y" + #: src/Screensaver.vala:18 src/SlideshowPage.vala:141 msgid "Slideshow" msgstr "Diapositivas" @@ -6009,7 +6097,7 @@ msgid "Photo state" msgstr "Estado de la foto" #. Rating button -#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:999 +#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:1199 msgid "Rating" msgstr "Puntuación" @@ -6017,19 +6105,19 @@ msgstr "Puntuación" msgid "Date" msgstr "Fecha" -#: src/SearchFilter.vala:600 src/SearchFilter.vala:601 +#: src/SearchFilter.vala:614 src/SearchFilter.vala:615 msgid "Videos" msgstr "Vídeos" -#: src/SearchFilter.vala:606 +#: src/SearchFilter.vala:620 msgid "RAW Photos" msgstr "Fotos RAW" -#: src/SearchFilter.vala:607 +#: src/SearchFilter.vala:621 msgid "RAW photos" msgstr "Fotos RAW" -#: src/SearchFilter.vala:948 +#: src/SearchFilter.vala:1148 #, c-format msgid "Error loading UI file %s: %s" msgstr "Error al cargar el archivo de IU %s: %s" @@ -6039,17 +6127,22 @@ msgstr "Error al cargar el archivo de IU %s: %s" #. Prepare the close menu for use, but don't #. display it yet; we'll connect it to secondary #. click later on. -#: src/SearchFilter.vala:959 +#: src/SearchFilter.vala:1159 msgid "Close" msgstr "Cerrar" #. Type label and toggles -#: src/SearchFilter.vala:965 +#: src/SearchFilter.vala:1165 msgid "Type" msgstr "Tipo" +#: src/SearchFilter.vala:1211 +msgid "Use a saved search to filter items in the current view" +msgstr "" + #: src/sidebar/Tree.vala:203 -msgid "New _Tag..." +#| msgid "New _Tag..." +msgid "New _Tag…" msgstr "E_tiqueta nueva…" #: src/SlideshowPage.vala:49 src/SlideshowPage.vala:183 @@ -6119,7 +6212,7 @@ msgstr "Aleatorio" msgid "Tags" msgstr "Etiquetas" -#: src/Tag.vala:817 +#: src/Tag.vala:830 msgid "untitled" msgstr "sin título" @@ -6317,6 +6410,78 @@ msgstr "Mostrar tít_ulo" msgid "seconds" msgstr "segundos" +#~ msgid "Save Details..." +#~ msgstr "Guardar detalles…" + +#~ msgid "Save _As..." +#~ msgstr "G_uardar como…" + +#~ msgid "Importing..." +#~ msgstr "Importando…" + +#~ msgid "Preparing to import..." +#~ msgstr "Preparando importación…" + +#~ msgid "_Import From Folder..." +#~ msgstr "_Importar desde carpeta…" + +#~ msgid "Import From _Application..." +#~ msgstr "Importar desde _aplicación…" + +#~ msgid "Set as _Desktop Slideshow..." +#~ msgstr "Establecer como pase de _diapositivas de escritorio…" + +#~ msgid "Re_name Event..." +#~ msgstr "Re_nombrar evento…" + +#~ msgid "_Export..." +#~ msgstr "_Exportar…" + +#~ msgid "_Print..." +#~ msgstr "_Imprimir…" + +#~ msgid "Pu_blish..." +#~ msgstr "Pu_blicar…" + +#~ msgid "Edit _Title..." +#~ msgstr "Editar el _título…" + +#~ msgid "Edit _Comment..." +#~ msgstr "Editar _comentario…" + +#~ msgid "Edit Event _Comment..." +#~ msgstr "Editar _comentario del evento…" + +#~ msgid "_Adjust Date and Time..." +#~ msgstr "_Ajustar fecha y hora…" + +#~ msgid "Add _Tags..." +#~ msgstr "Añadir e_tiquetas…" + +#~ msgid "_Add Tags..." +#~ msgstr "_Añadir etiquetas…" + +#~ msgid "Send _To..." +#~ msgstr "En_viar a…" + +#~ msgid "Send T_o..." +#~ msgstr "En_viar a…" + +#~ msgid "_Find..." +#~ msgstr "Buscar…" + +#~ msgid "Modif_y Tags..." +#~ msgstr "Modif_icar etiquetas…" + +#~ msgid "_Edit..." +#~ msgstr "_Editar…" + +#~ msgid "%-I:%M %p" +#~ msgstr "%-I:%M %p" + +#~ msgid "%-I:%M:%S %p" +#~ msgstr "%-I:%M:%S %p" + #~ msgid "Intro message replaced at runtime" #~ msgstr "Mensaje de introducción reemplazado en tiempo de ejecución" @@ -6331,9 +6496,6 @@ msgstr "segundos" #~ msgid "$mediatype will appear in" #~ msgstr "$mediatype aparecerá en" -#~ msgid "No photos/videos found" -#~ msgstr "No se encontraron fotos/vídeos" - #~ msgid "Copyright 2009-2015 Yorba Foundation" #~ msgstr "Copyright 2009-2015 Fundación Yorba" @@ -2,7 +2,7 @@ # Copyright (C) 2011, 2012, 2014, 2015, 2016. Free Software Foundation, Inc. # This file is distributed under the same license as the shotwell package. # -# Gabor Kelemen <kelemeng at gnome dot hu>, 2011, 2012, 2014, 2015. +# Gabor Kelemen <kelemeng at gnome dot hu>, 2011, 2012, 2014, 2015, 2016. # L. Csordas <csola48@gmail.com>, 2012. # lsbeeler <lucas@yorba.org>, 2011. # Balázs Úr <urbalazs at gmail dot com>, 2014, 2016. @@ -12,16 +12,16 @@ msgstr "" "Project-Id-Version: shotwell master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=shotwell&keywords=I18N+L10N&component=Internationalization\n" -"POT-Creation-Date: 2016-08-26 21:27+0000\n" -"PO-Revision-Date: 2016-08-29 23:34+0200\n" -"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n" +"POT-Creation-Date: 2016-10-09 18:03+0000\n" +"PO-Revision-Date: 2016-10-10 17:09+0200\n" +"Last-Translator: Meskó Balázs <meskobalazs@gmail.com>\n" "Language-Team: Hungarian <openscope at googlegroups dot com>\n" "Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Lokalize 1.2\n" +"X-Generator: Poedit 1.8.9\n" #: misc/shotwell.appdata.xml.in:8 misc/shotwell.desktop.in.in:4 #: plugins/shotwell-publishing-extras/GalleryConnector.vala:115 @@ -39,7 +39,7 @@ msgid "" "desktop. It allows you to import photos from your camera or disk, organize " "them by date and subject matter, even ratings. It also offers basic photo " "editing, like crop, red-eye correction, color adjustments, and straighten. " -"Shotwell's non-destructive photo editor does not alter your master photos, " +"Shotwell’s non-destructive photo editor does not alter your master photos, " "making it easy to experiment and correct errors." msgstr "" "A Shotwell egy könnyen használható, gyors fényképrendező a GNOME asztali " @@ -122,7 +122,7 @@ msgid "The secret token to sign oauth requests" msgstr "A titkos token az oauth kérések aláírására" #: misc/org.yorba.shotwell-extras.gschema.xml:26 -#: misc/org.yorba.shotwell.gschema.xml:416 +#: misc/org.yorba.shotwell.gschema.xml:486 msgid "default size" msgstr "alapértelmezett méret" @@ -150,9 +150,9 @@ msgid "URL of the Rajce server." msgstr "A Rajce kiszolgáló URL-e." #: misc/org.yorba.shotwell-extras.gschema.xml:46 -#: misc/org.yorba.shotwell.gschema.xml:384 -#: misc/org.yorba.shotwell.gschema.xml:442 -#: misc/org.yorba.shotwell.gschema.xml:498 +#: misc/org.yorba.shotwell.gschema.xml:454 +#: misc/org.yorba.shotwell.gschema.xml:512 +#: misc/org.yorba.shotwell.gschema.xml:568 msgid "username" msgstr "felhasználónév" @@ -169,7 +169,7 @@ msgid "user token, if remembered." msgstr "felhasználói token, ha meg lett jegyezve." #: misc/org.yorba.shotwell-extras.gschema.xml:58 -#: misc/org.yorba.shotwell.gschema.xml:460 +#: misc/org.yorba.shotwell.gschema.xml:530 msgid "last category" msgstr "legutóbbi kategória" @@ -178,7 +178,7 @@ msgid "The last selected Rajce category." msgstr "A legutóbb választott Rajce kategória." #: misc/org.yorba.shotwell-extras.gschema.xml:64 -#: misc/org.yorba.shotwell.gschema.xml:472 +#: misc/org.yorba.shotwell.gschema.xml:542 msgid "last photo size" msgstr "legutóbbi fényképméret" @@ -218,11 +218,11 @@ msgstr "" "után" #: misc/org.yorba.shotwell-extras.gschema.xml:88 -#: misc/org.yorba.shotwell.gschema.xml:364 -#: misc/org.yorba.shotwell.gschema.xml:402 -#: misc/org.yorba.shotwell.gschema.xml:428 -#: misc/org.yorba.shotwell.gschema.xml:478 -#: misc/org.yorba.shotwell.gschema.xml:522 +#: misc/org.yorba.shotwell.gschema.xml:434 +#: misc/org.yorba.shotwell.gschema.xml:472 +#: misc/org.yorba.shotwell.gschema.xml:498 +#: misc/org.yorba.shotwell.gschema.xml:548 +#: misc/org.yorba.shotwell.gschema.xml:592 msgid "remove sensitive info from uploads" msgstr "érzékeny adatok eltávolítása a feltöltésekből" @@ -233,56 +233,56 @@ msgid "" msgstr "" "A Rajce-re feltöltött képek metaadatai előbb eltávolításra kerüljenek-e" -#: misc/org.yorba.shotwell.gschema.xml:22 +#: misc/org.yorba.shotwell.gschema.xml:23 msgid "display basic properties" msgstr "alapvető tulajdonságok megjelenítése" -#: misc/org.yorba.shotwell.gschema.xml:23 +#: misc/org.yorba.shotwell.gschema.xml:24 msgid "True if the basic properties pane is to be displayed, false otherwise." msgstr "" "Igaz, ha meg kell jelennie az alapvető tulajdonságok panelnek, különben " "hamis." -#: misc/org.yorba.shotwell.gschema.xml:28 +#: misc/org.yorba.shotwell.gschema.xml:29 msgid "display extended properties" msgstr "további tulajdonságok megjelenítése" -#: misc/org.yorba.shotwell.gschema.xml:29 +#: misc/org.yorba.shotwell.gschema.xml:30 msgid "" "True if the extended properties window is to be displayed, false otherwise." msgstr "" "Igaz, ha meg kell jelennie a további tulajdonságok panelnek, különben hamis." -#: misc/org.yorba.shotwell.gschema.xml:34 +#: misc/org.yorba.shotwell.gschema.xml:35 msgid "display sidebar" msgstr "oldalsáv megjelenítése" -#: misc/org.yorba.shotwell.gschema.xml:35 +#: misc/org.yorba.shotwell.gschema.xml:36 msgid "True if the sidebar is to be displayed, false otherwise." msgstr "Igaz, ha a meg kell jelennie az oldalsávnak, különben hamis." -#: misc/org.yorba.shotwell.gschema.xml:40 +#: misc/org.yorba.shotwell.gschema.xml:41 msgid "display toolbar" msgstr "eszköztár megjelenítése" -#: misc/org.yorba.shotwell.gschema.xml:41 +#: misc/org.yorba.shotwell.gschema.xml:42 msgid "True if the bottom toolbar is to be displayed, false otherwise." msgstr "Igaz, ha a meg kell jelennie az alsó eszköztárnak, különben hamis." -#: misc/org.yorba.shotwell.gschema.xml:46 +#: misc/org.yorba.shotwell.gschema.xml:47 msgid "display search bar" msgstr "keresősáv megjelenítése" -#: misc/org.yorba.shotwell.gschema.xml:47 +#: misc/org.yorba.shotwell.gschema.xml:48 msgid "True if the Search/Filter Toolbar is to be displayed, false otherwise." msgstr "" "Igaz, ha a meg kell jelennie a kereső/szűrő eszköztárnak, különben hamis." -#: misc/org.yorba.shotwell.gschema.xml:52 +#: misc/org.yorba.shotwell.gschema.xml:53 msgid "display photo titles" msgstr "fényképcímek megjelenítése" -#: misc/org.yorba.shotwell.gschema.xml:53 +#: misc/org.yorba.shotwell.gschema.xml:54 msgid "" "True if photo titles are to be displayed beneath thumbnails in collection " "views, false otherwise." @@ -290,11 +290,11 @@ msgstr "" "Igaz, ha a fényképcímeket meg kell jeleníteni a bélyegképek alatt a " "gyűjteménynézetekben, különben hamis." -#: misc/org.yorba.shotwell.gschema.xml:58 +#: misc/org.yorba.shotwell.gschema.xml:59 msgid "display photo comments" msgstr "fénykép megjegyzések megjelenítése" -#: misc/org.yorba.shotwell.gschema.xml:59 +#: misc/org.yorba.shotwell.gschema.xml:60 msgid "" "True if photo comments are to be displayed beneath thumbnails in collection " "views, false otherwise." @@ -302,11 +302,11 @@ msgstr "" "Igaz, ha a fénykép megjegyzéseket meg kell jeleníteni a bélyegképek alatt a " "gyűjteménynézetekben, különben hamis." -#: misc/org.yorba.shotwell.gschema.xml:64 +#: misc/org.yorba.shotwell.gschema.xml:65 msgid "display event comments" msgstr "esemény megjegyzések megjelenítése" -#: misc/org.yorba.shotwell.gschema.xml:65 +#: misc/org.yorba.shotwell.gschema.xml:66 msgid "" "True if event comments are to be displayed beneath thumbnails in event " "views, false otherwise." @@ -314,11 +314,11 @@ msgstr "" "Igaz, ha az esemény megjegyzéseket meg kell jeleníteni a bélyegképek alatt a " "gyűjteménynézetekben, különben hamis." -#: misc/org.yorba.shotwell.gschema.xml:70 +#: misc/org.yorba.shotwell.gschema.xml:71 msgid "display photo tags" msgstr "fényképcímkék megjelenítése" -#: misc/org.yorba.shotwell.gschema.xml:71 +#: misc/org.yorba.shotwell.gschema.xml:72 msgid "" "True if photo tags are to be listed beneath thumbnails in collection views, " "false otherwise." @@ -326,23 +326,23 @@ msgstr "" "Igaz, ha a fényképcímeket listázni kell a bélyegképek alatt a " "gyűjteménynézeten, különben hamis." -#: misc/org.yorba.shotwell.gschema.xml:76 +#: misc/org.yorba.shotwell.gschema.xml:77 msgid "display photo ratings" msgstr "fénykép értékelések megjelenítése" -#: misc/org.yorba.shotwell.gschema.xml:77 +#: misc/org.yorba.shotwell.gschema.xml:78 msgid "" -"True if a photo's rating should be displayed as overlaid trinket, false " +"True if a photo’s rating should be displayed as overlaid trinket, false " "otherwise." msgstr "" "Igaz, ha a fényképek értékelését meg kell jeleníteni a fényképek felett, " "különben hamis." -#: misc/org.yorba.shotwell.gschema.xml:82 +#: misc/org.yorba.shotwell.gschema.xml:83 msgid "rating filter level" msgstr "értékelési szűrő szint" -#: misc/org.yorba.shotwell.gschema.xml:83 +#: misc/org.yorba.shotwell.gschema.xml:84 msgid "" "Determines how to filter photos based on their ratings. 1: Rejected or " "better, 2: Unrated or better, 3: One or better, 4: Two or better, 5: Three " @@ -352,59 +352,59 @@ msgstr "" "Visszautasítva vagy jobb, 2: Nem értékelt vagy jobb, 3: Egy vagy jobb, 4: " "Kettő vagy jobb, 5: Három vagy jobb, 6: Négy vagy jobb, 7: Öt vagy jobb." -#: misc/org.yorba.shotwell.gschema.xml:88 +#: misc/org.yorba.shotwell.gschema.xml:89 msgid "sort events ascending" msgstr "események rendezése növekvő sorrendben" -#: misc/org.yorba.shotwell.gschema.xml:89 +#: misc/org.yorba.shotwell.gschema.xml:90 msgid "True if events should be sorted ascending, false if descending." msgstr "" "Igaz, ha az eseményeket növekvő sorrendbe kell rendezni, különben hamis." -#: misc/org.yorba.shotwell.gschema.xml:94 +#: misc/org.yorba.shotwell.gschema.xml:95 msgid "sort library photos ascending" msgstr "a gyűjteményben lévő fényképek rendezése növekvő sorrendben" -#: misc/org.yorba.shotwell.gschema.xml:95 +#: misc/org.yorba.shotwell.gschema.xml:96 msgid "True if library photos should be sorted ascending, false if descending." msgstr "" "Igaz, ha a gyűjteményben lévő fényképeket növekvő sorrendbe kell rendezni, " "különben hamis." -#: misc/org.yorba.shotwell.gschema.xml:100 +#: misc/org.yorba.shotwell.gschema.xml:101 msgid "sort library photos criteria" msgstr "a gyűjteményben lévő fényképek rendezési feltétele" -#: misc/org.yorba.shotwell.gschema.xml:101 +#: misc/org.yorba.shotwell.gschema.xml:102 msgid "" "A numeric code that specifies the sort criteria for photos in library views." msgstr "" "Numerikus kód, amely meghatározza a gyűjteménynézetben lévő fényképek " "rendezési feltételét." -#: misc/org.yorba.shotwell.gschema.xml:106 +#: misc/org.yorba.shotwell.gschema.xml:107 msgid "sort event photos ascending" msgstr "az események fényképeinek rendezése növekvő sorrendben" -#: misc/org.yorba.shotwell.gschema.xml:107 +#: misc/org.yorba.shotwell.gschema.xml:108 msgid "True if event photos should be sorted ascending, false if descending." msgstr "" "Igaz, ha az események fényképeit növekvő sorrendbe kell rendezni, különben " "hamis." -#: misc/org.yorba.shotwell.gschema.xml:112 +#: misc/org.yorba.shotwell.gschema.xml:113 msgid "sort event photos criteria" msgstr "esemény fényképek rendezési feltétele" -#: misc/org.yorba.shotwell.gschema.xml:113 +#: misc/org.yorba.shotwell.gschema.xml:114 msgid "Specifies the sort criteria for event photos." msgstr "Megadja az esemény fényképek rendezési feltételeit." -#: misc/org.yorba.shotwell.gschema.xml:118 +#: misc/org.yorba.shotwell.gschema.xml:119 msgid "use 24 hour time" msgstr "24 órás idő használata" -#: misc/org.yorba.shotwell.gschema.xml:119 +#: misc/org.yorba.shotwell.gschema.xml:120 msgid "" "True if should display times with a 24 hour clock, false if times should use " "AM/PM notation." @@ -412,11 +412,11 @@ msgstr "" "Igaz, ha 24 órás időt jelenítsen meg, hamis ha az idők a de./du. jelölést " "használják." -#: misc/org.yorba.shotwell.gschema.xml:124 +#: misc/org.yorba.shotwell.gschema.xml:125 msgid "keep relative time between photos" msgstr "relatív idő megtartása a fényképek között" -#: misc/org.yorba.shotwell.gschema.xml:125 +#: misc/org.yorba.shotwell.gschema.xml:126 msgid "" "True if when adjusting time/date of photos, relative time should be " "maintained. False if all photos should be set to the same time." @@ -424,11 +424,11 @@ msgstr "" "Igaz, ha a fényképek dátumának és idejének módosításakor a relatív idő meg " "kell maradjon. Hamis, ha minden fényképét ugyanarra az időre kell állítani." -#: misc/org.yorba.shotwell.gschema.xml:130 +#: misc/org.yorba.shotwell.gschema.xml:131 msgid "modify original photo files" msgstr "eredeti fényképfájlok módosítása" -#: misc/org.yorba.shotwell.gschema.xml:131 +#: misc/org.yorba.shotwell.gschema.xml:132 msgid "" "True if when adjusting time/date of photos, the original files should be " "modified as well. False if changes are made only in the database." @@ -437,11 +437,11 @@ msgstr "" "is módosítani kell. Hamis, ha a változások csak az adatbázisba kerülnek " "feljegyzésre." -#: misc/org.yorba.shotwell.gschema.xml:136 +#: misc/org.yorba.shotwell.gschema.xml:137 msgid "show welcome dialog on startup" msgstr "üdvözlő párbeszédablak megjelenítése indításkor" -#: misc/org.yorba.shotwell.gschema.xml:137 +#: misc/org.yorba.shotwell.gschema.xml:138 msgid "" "True if, when on startup, a welcome dialog should be shown. False if it " "should not be shown." @@ -449,73 +449,73 @@ msgstr "" "Igaz, ha indításkor meg kell jeleníteni az üdvözlőképernyőt. Hamis, ha nem " "kell megjeleníteni." -#: misc/org.yorba.shotwell.gschema.xml:142 +#: misc/org.yorba.shotwell.gschema.xml:143 msgid "sidebar position" msgstr "oldalsáv pozíciója" -#: misc/org.yorba.shotwell.gschema.xml:143 +#: misc/org.yorba.shotwell.gschema.xml:144 msgid "The width, in pixels, of the sidebar" msgstr "Az oldalsáv szélessége pixelekben" -#: misc/org.yorba.shotwell.gschema.xml:148 +#: misc/org.yorba.shotwell.gschema.xml:149 msgid "photo thumbnail scale" msgstr "fénykép bélyegkép méretezése" -#: misc/org.yorba.shotwell.gschema.xml:149 +#: misc/org.yorba.shotwell.gschema.xml:150 msgid "The scale of photo thumbnails, ranging from 72 to 360." msgstr "A fénykép bélyegképek méretezése, 72-től 360-ig." -#: misc/org.yorba.shotwell.gschema.xml:154 +#: misc/org.yorba.shotwell.gschema.xml:155 msgid "pin toolbar state" msgstr "eszköztár állapotának rögzítése" -#: misc/org.yorba.shotwell.gschema.xml:155 +#: misc/org.yorba.shotwell.gschema.xml:156 msgid "Pin toolbar in fullscreen, or not." msgstr "Az eszköztár rögzítésre kerüljön-e teljes képernyő esetén." -#: misc/org.yorba.shotwell.gschema.xml:160 +#: misc/org.yorba.shotwell.gschema.xml:161 msgid "background color" msgstr "háttérszín" -#: misc/org.yorba.shotwell.gschema.xml:161 +#: misc/org.yorba.shotwell.gschema.xml:162 msgid "A grayscale color for use as the background color." msgstr "Háttérszínként használandó szürkeárnyalatos szín." -#: misc/org.yorba.shotwell.gschema.xml:166 -msgid "Selection state of \"hide photos\" option" +#: misc/org.yorba.shotwell.gschema.xml:167 +msgid "Selection state of “hide photos” option" msgstr "A „Fényképek elrejtése” beállítás bejelölési állapota." -#: misc/org.yorba.shotwell.gschema.xml:167 +#: misc/org.yorba.shotwell.gschema.xml:168 msgid "" -"Last used selection state of the \"hide photos already imported\" option in " +"Last used selection state of the “hide photos already imported” option in " "the import page." msgstr "" "A „már importált fényképek elrejtése” beállítás legutóbbi állapota az " "importálási oldalon." -#: misc/org.yorba.shotwell.gschema.xml:174 +#: misc/org.yorba.shotwell.gschema.xml:175 msgid "delay" msgstr "késleltetés" -#: misc/org.yorba.shotwell.gschema.xml:175 +#: misc/org.yorba.shotwell.gschema.xml:176 msgid "Delay (in seconds) between photos in the slideshow." msgstr "A fényképek közti késleltetés (másodpercekben) diavetítéskor." -#: misc/org.yorba.shotwell.gschema.xml:180 +#: misc/org.yorba.shotwell.gschema.xml:181 msgid "transition delay" msgstr "átmenet késleltetése" -#: misc/org.yorba.shotwell.gschema.xml:181 +#: misc/org.yorba.shotwell.gschema.xml:182 msgid "" "The time (in seconds) that a transition runs between photos in a slideshow" msgstr "" "A fényképek közti átmenetek futásának ideje (másodpercekben) diavetítéskor." -#: misc/org.yorba.shotwell.gschema.xml:186 +#: misc/org.yorba.shotwell.gschema.xml:187 msgid "transition effect id" msgstr "átmenet effektus azonosító" -#: misc/org.yorba.shotwell.gschema.xml:187 +#: misc/org.yorba.shotwell.gschema.xml:188 msgid "" "The name of the transition effect that will be used between photos when " "running a slideshow" @@ -523,67 +523,67 @@ msgstr "" "Az átmeneti effektus azonosítója, amely a fényképek közti váltás során lesz " "használva diavetítéskor" -#: misc/org.yorba.shotwell.gschema.xml:192 +#: misc/org.yorba.shotwell.gschema.xml:193 msgid "Show title" msgstr "Cím megjelenítése" -#: misc/org.yorba.shotwell.gschema.xml:193 +#: misc/org.yorba.shotwell.gschema.xml:194 msgid "Whether to show the title of a photo during the slideshow" msgstr "Megjelenjen-e a fénykép címe diavetítés alatt" -#: misc/org.yorba.shotwell.gschema.xml:200 +#: misc/org.yorba.shotwell.gschema.xml:201 msgid "maximize library window" msgstr "gyűjtemény alkalmazásablak maximalizálása" -#: misc/org.yorba.shotwell.gschema.xml:201 +#: misc/org.yorba.shotwell.gschema.xml:202 msgid "True if library application is maximized, false otherwise." msgstr "Igaz, ha maximalizált a gyűjtemény alkalmazásablak, különben hamis." -#: misc/org.yorba.shotwell.gschema.xml:206 +#: misc/org.yorba.shotwell.gschema.xml:207 msgid "width of library window" msgstr "a gyűjtemény alkalmazásablak szélessége" -#: misc/org.yorba.shotwell.gschema.xml:207 +#: misc/org.yorba.shotwell.gschema.xml:208 msgid "The last recorded width of the library application window." msgstr "A gyűjtemény alkalmazásablak legutóbb mentett szélessége." -#: misc/org.yorba.shotwell.gschema.xml:212 +#: misc/org.yorba.shotwell.gschema.xml:213 msgid "height of library window" msgstr "a gyűjtemény alkalmazásablak magassága" -#: misc/org.yorba.shotwell.gschema.xml:213 +#: misc/org.yorba.shotwell.gschema.xml:214 msgid "The last recorded height of the library application window." msgstr "A gyűjtemény alkalmazásablak legutóbb mentett magassága." -#: misc/org.yorba.shotwell.gschema.xml:218 +#: misc/org.yorba.shotwell.gschema.xml:219 msgid "maximize direct-edit window" msgstr "közvetlen szerkesztés ablak maximalizálása" -#: misc/org.yorba.shotwell.gschema.xml:219 +#: misc/org.yorba.shotwell.gschema.xml:220 msgid "True if direct-edit application is maximized, false otherwise." msgstr "Igaz, ha maximalizált a közvetlen szerkesztés ablak, különben hamis." -#: misc/org.yorba.shotwell.gschema.xml:224 +#: misc/org.yorba.shotwell.gschema.xml:225 msgid "width of direct-edit window" msgstr "közvetlen szerkesztés ablak szélessége" -#: misc/org.yorba.shotwell.gschema.xml:225 +#: misc/org.yorba.shotwell.gschema.xml:226 msgid "The last recorded width of the direct-edit application window." msgstr "A közvetlen szerkesztés alkalmazásablak legutóbb mentett szélessége." -#: misc/org.yorba.shotwell.gschema.xml:230 +#: misc/org.yorba.shotwell.gschema.xml:231 msgid "height of direct-edit window" msgstr "közvetlen szerkesztés ablak magassága" -#: misc/org.yorba.shotwell.gschema.xml:231 +#: misc/org.yorba.shotwell.gschema.xml:232 msgid "The last recorded height of the direct-edit application window." msgstr "A közvetlen szerkesztés alkalmazásablak legutóbb mentett magassága." -#: misc/org.yorba.shotwell.gschema.xml:236 +#: misc/org.yorba.shotwell.gschema.xml:237 msgid "sidebar divider position" msgstr "oldalsáv elválasztó pozíciója" -#: misc/org.yorba.shotwell.gschema.xml:237 +#: misc/org.yorba.shotwell.gschema.xml:238 msgid "" "The last recorded position of the divider between the sidebar and view in " "library application window." @@ -591,30 +591,30 @@ msgstr "" "Az elválasztó legutóbb mentett pozíciója az oldalsáv és a gyűjteménynézet " "ablaka között." -#: misc/org.yorba.shotwell.gschema.xml:244 +#: misc/org.yorba.shotwell.gschema.xml:245 msgid "import directory" msgstr "importálási könyvtár" -#: misc/org.yorba.shotwell.gschema.xml:245 +#: misc/org.yorba.shotwell.gschema.xml:246 msgid "Directory in which imported photo files are placed." msgstr "Könyvtár, amelybe az importált fényképfájlok kerülnek." -#: misc/org.yorba.shotwell.gschema.xml:250 +#: misc/org.yorba.shotwell.gschema.xml:251 msgid "watch library directory for new files" msgstr "új fájlok figyelése a gyűjteménykönyvtárban" -#: misc/org.yorba.shotwell.gschema.xml:251 +#: misc/org.yorba.shotwell.gschema.xml:252 msgid "" "If true, files added to the library directory are automatically imported." msgstr "" "Ha igaz, akkor a gyűjteménykönyvtárba helyezett fájlok automatikus " "importálásra kerülnek." -#: misc/org.yorba.shotwell.gschema.xml:256 +#: misc/org.yorba.shotwell.gschema.xml:257 msgid "write metadata to master files" msgstr "metaadatok írása az eredeti fájlokba" -#: misc/org.yorba.shotwell.gschema.xml:257 +#: misc/org.yorba.shotwell.gschema.xml:258 msgid "" "If true, changes to metadata (tags, titles, etc.) are written to the master " "photo file." @@ -622,11 +622,11 @@ msgstr "" "Ha igaz, akkor a metaadatok (címkék, címek stb.) beírásra kerülnek az " "eredeti fényképfájlokba." -#: misc/org.yorba.shotwell.gschema.xml:262 +#: misc/org.yorba.shotwell.gschema.xml:263 msgid "use lowercase filenames" msgstr "kisbetűs fájlnevek használata" -#: misc/org.yorba.shotwell.gschema.xml:263 +#: misc/org.yorba.shotwell.gschema.xml:264 msgid "" "If true, Shotwell will convert all filenames to lowercase when importing " "photo files" @@ -634,11 +634,11 @@ msgstr "" "Ha igaz, akkor a Shotwell átalakít minden fájlnevet kisbetűsre a fényképek " "importálásakor" -#: misc/org.yorba.shotwell.gschema.xml:268 +#: misc/org.yorba.shotwell.gschema.xml:269 msgid "directory pattern" msgstr "könyvtárminta" -#: misc/org.yorba.shotwell.gschema.xml:269 +#: misc/org.yorba.shotwell.gschema.xml:270 msgid "" "A string encoding a naming pattern that will be used to name photo " "directories on import." @@ -646,11 +646,11 @@ msgstr "" "A névmintát kódoló karakterlánc, amely a fényképkönyvtárak elnevezésekor " "kerül használatra importáláskor." -#: misc/org.yorba.shotwell.gschema.xml:274 +#: misc/org.yorba.shotwell.gschema.xml:275 msgid "directory pattern custom" msgstr "egyéni könyvtárminta" -#: misc/org.yorba.shotwell.gschema.xml:275 +#: misc/org.yorba.shotwell.gschema.xml:276 msgid "" "A string encoding a custom naming pattern that will be used to name photo " "directories on import." @@ -658,30 +658,30 @@ msgstr "" "A névmintát kódoló egyéni karakterlánc, amely a fényképkönyvtárak " "elnevezésekor kerül használatra importáláskor." -#: misc/org.yorba.shotwell.gschema.xml:280 +#: misc/org.yorba.shotwell.gschema.xml:281 msgid "RAW developer default" msgstr "RAW előhívó alapbeállítás" -#: misc/org.yorba.shotwell.gschema.xml:281 +#: misc/org.yorba.shotwell.gschema.xml:282 msgid "Default option for which RAW developer Shotwell will use." msgstr "" "Az alapértelmezett beállítás, hogy melyik RAW előhívót használja a Shotwell." -#: misc/org.yorba.shotwell.gschema.xml:288 +#: misc/org.yorba.shotwell.gschema.xml:289 msgid "Most-recently-used crop aspect ratio menu choice." msgstr "A legutóbb használt vágás egyéni képarány menüpontja." -#: misc/org.yorba.shotwell.gschema.xml:289 +#: misc/org.yorba.shotwell.gschema.xml:290 msgid "A numeric code representing the last crop menu choice the user made." msgstr "" "Numerikus kód, amely a felhasználó által legutóbb választott vágás " "menüpontot jelöli." -#: misc/org.yorba.shotwell.gschema.xml:293 -msgid "Most-recently-used crop custom aspect ratio's numerator." +#: misc/org.yorba.shotwell.gschema.xml:294 +msgid "Most-recently-used crop custom aspect ratio’s numerator." msgstr "A legutóbb használt vágás egyéni képarányának számlálója." -#: misc/org.yorba.shotwell.gschema.xml:294 +#: misc/org.yorba.shotwell.gschema.xml:295 msgid "" "A nonzero, positive integer representing the width part of the last custom " "crop ratio the user entered." @@ -689,11 +689,11 @@ msgstr "" "Egy pozitív egész, amely a felhasználó által megadott, legutóbb használt " "egyéni vágási arány szélesség komponensét jelöli." -#: misc/org.yorba.shotwell.gschema.xml:298 -msgid "Most-recently-used crop custom aspect ratio's denominator." +#: misc/org.yorba.shotwell.gschema.xml:299 +msgid "Most-recently-used crop custom aspect ratio’s denominator." msgstr "A legutóbb használt vágás egyéni képarányának nevezője." -#: misc/org.yorba.shotwell.gschema.xml:299 +#: misc/org.yorba.shotwell.gschema.xml:300 msgid "" "A nonzero, positive integer representing the height part of the last custom " "crop ratio the user entered." @@ -701,96 +701,144 @@ msgstr "" "Egy pozitív egész, amely a felhasználó által megadott, legutóbb használt " "egyéni vágási arány magasság komponensét jelöli." -#: misc/org.yorba.shotwell.gschema.xml:306 +#: misc/org.yorba.shotwell.gschema.xml:307 msgid "external photo editor" msgstr "külső fényképszerkesztő" -#: misc/org.yorba.shotwell.gschema.xml:307 +#: misc/org.yorba.shotwell.gschema.xml:308 msgid "External application used to edit photos." msgstr "A fényképek szerkesztéséhez használt külső alkalmazás." -#: misc/org.yorba.shotwell.gschema.xml:312 +#: misc/org.yorba.shotwell.gschema.xml:313 msgid "external raw editor" msgstr "külső RAW szerkesztő" -#: misc/org.yorba.shotwell.gschema.xml:313 +#: misc/org.yorba.shotwell.gschema.xml:314 msgid "External application used to edit RAW photos." msgstr "A RAW fájlok szerkesztésére használt külső alkalmazás." -#: misc/org.yorba.shotwell.gschema.xml:320 +#: misc/org.yorba.shotwell.gschema.xml:352 +#: misc/org.yorba.shotwell.gschema.xml:353 +msgid "Setting in export dialog: how to trim images" +msgstr "Beállítás az exportálási párbeszédablakon: hogyan vágja le a képeket" + +#: misc/org.yorba.shotwell.gschema.xml:358 +msgid "export metadata" +msgstr "metaadatok exportálása" + +#: misc/org.yorba.shotwell.gschema.xml:359 +msgid "Setting in export dialog: option to export metadata" +msgstr "Beállítás az exportálási párbeszédablakon: metaadatok exportálása" + +#: misc/org.yorba.shotwell.gschema.xml:364 +msgid "format setting, special value" +msgstr "formátumbeállítás, különleges érték" + +#: misc/org.yorba.shotwell.gschema.xml:365 +msgid "Setting in export dialog: format setting, special value" +msgstr "" +"Beállítás az exportálási párbeszédablakon: formátumbeállítás, különleges " +"érték" + +#: misc/org.yorba.shotwell.gschema.xml:370 +msgid "format setting, type value" +msgstr "formátumbeállítás, típusérték" + +#: misc/org.yorba.shotwell.gschema.xml:371 +msgid "Setting in export dialog: format setting, type value" +msgstr "" +"Beállítás az exportálási párbeszédablakon: formátumbeállítás, típusérték" + +#: misc/org.yorba.shotwell.gschema.xml:376 +msgid "JPEG quality option" +msgstr "JPEG minőség beállítás" + +#: misc/org.yorba.shotwell.gschema.xml:377 +msgid "Setting in export dialog: jpeg quality option" +msgstr "Beállítás az exportálási párbeszédablakon: jpeg minőség beállítás" + +#: misc/org.yorba.shotwell.gschema.xml:382 +msgid "maximal size of image" +msgstr "maximális képméret" + +#: misc/org.yorba.shotwell.gschema.xml:383 +msgid "Setting in export dialog: maximal size of image" +msgstr "Beállítás az exportálási párbeszédablakon: maximális képméret" + +#: misc/org.yorba.shotwell.gschema.xml:390 msgid "last used publishing service" msgstr "legutóbb használt közzétételi szolgáltatás" -#: misc/org.yorba.shotwell.gschema.xml:321 -#: misc/org.yorba.shotwell.gschema.xml:327 +#: misc/org.yorba.shotwell.gschema.xml:391 +#: misc/org.yorba.shotwell.gschema.xml:397 msgid "" "A numeric code representing the last service to which photos were published" msgstr "" "Numerikus kód, amely a legutóbbi fénykép-közzétételi szolgáltatást képviseli" -#: misc/org.yorba.shotwell.gschema.xml:326 +#: misc/org.yorba.shotwell.gschema.xml:396 msgid "default publishing service" msgstr "alapértelmezett közzétételi szolgáltatás" -#: misc/org.yorba.shotwell.gschema.xml:340 +#: misc/org.yorba.shotwell.gschema.xml:410 msgid "access token" msgstr "hozzáférési token" -#: misc/org.yorba.shotwell.gschema.xml:341 +#: misc/org.yorba.shotwell.gschema.xml:411 msgid "Facebook OAuth token for the currently logged in session, if any" msgstr "" "A pillanatnyilag bejelentkezett munkamenet Facebook OAuth tokenje, ha van" -#: misc/org.yorba.shotwell.gschema.xml:346 +#: misc/org.yorba.shotwell.gschema.xml:416 msgid "user i.d." msgstr "felhasználóazonosító" -#: misc/org.yorba.shotwell.gschema.xml:347 +#: misc/org.yorba.shotwell.gschema.xml:417 msgid "Facebook user i.d. for the currently logged in user, if any" msgstr "" "A pillanatnyilag bejelentkezett Facebook felhasználó azonosítója, ha van" -#: misc/org.yorba.shotwell.gschema.xml:352 +#: misc/org.yorba.shotwell.gschema.xml:422 msgid "user name" msgstr "felhasználónév" -#: misc/org.yorba.shotwell.gschema.xml:353 +#: misc/org.yorba.shotwell.gschema.xml:423 msgid "The name of the currently logged in Facebook user, if any" msgstr "A pillanatnyilag bejelentkezett Facebook felhasználó neve, ha van" -#: misc/org.yorba.shotwell.gschema.xml:358 -#: misc/org.yorba.shotwell.gschema.xml:390 +#: misc/org.yorba.shotwell.gschema.xml:428 +#: misc/org.yorba.shotwell.gschema.xml:460 msgid "default size code" msgstr "alapértelmezett méretkód" -#: misc/org.yorba.shotwell.gschema.xml:359 +#: misc/org.yorba.shotwell.gschema.xml:429 msgid "" "A numeric code representing the default size for photos published to Facebook" msgstr "" "Numerikus kód, amely a Facebookon közzétett fényképek alapértelmezett " "méretét képviseli" -#: misc/org.yorba.shotwell.gschema.xml:365 +#: misc/org.yorba.shotwell.gschema.xml:435 msgid "" "Whether images being uploaded to Facebook should have their metadata removed " "first" msgstr "" "A Facebookra feltöltött képek metaadatai előbb eltávolításra kerüljenek-e" -#: misc/org.yorba.shotwell.gschema.xml:372 +#: misc/org.yorba.shotwell.gschema.xml:442 msgid "OAuth Access Phase Token" msgstr "OAuth hozzáférési fázis token" -#: misc/org.yorba.shotwell.gschema.xml:373 +#: misc/org.yorba.shotwell.gschema.xml:443 msgid "The authorization token for the currently logged in Flickr user, if any" msgstr "" "A jelenleg bejelentkezett Flickr felhasználó engedélyezési tokene, ha van" -#: misc/org.yorba.shotwell.gschema.xml:378 +#: misc/org.yorba.shotwell.gschema.xml:448 msgid "OAuth Access Phase Token Secret" msgstr "OAuth hozzáférési fázis token titka" -#: misc/org.yorba.shotwell.gschema.xml:379 +#: misc/org.yorba.shotwell.gschema.xml:449 msgid "" "The cryptographic secret used to sign requests against the authorization " "token for the currently logged in Flickr user, if any" @@ -798,23 +846,23 @@ msgstr "" "A bejelentkezett Flickr felhasználó engedélyezési tokenje felé érkező " "kérések aláírására használt kriptográfiai titok, ha van" -#: misc/org.yorba.shotwell.gschema.xml:385 +#: misc/org.yorba.shotwell.gschema.xml:455 msgid "The user name of the currently logged in Flickr user, if any" msgstr "" "A jelenleg bejelentkezett Flickr felhasználó felhasználóneve, ha van ilyen" -#: misc/org.yorba.shotwell.gschema.xml:391 +#: misc/org.yorba.shotwell.gschema.xml:461 msgid "" "A numeric code representing the default size for photos published to Flickr" msgstr "" "Numerikus kód, amely a Flickr-re feltöltött képek alapértelmezett méretét " "képviseli" -#: misc/org.yorba.shotwell.gschema.xml:396 +#: misc/org.yorba.shotwell.gschema.xml:466 msgid "default visibility" msgstr "alapértelmezett láthatóság" -#: misc/org.yorba.shotwell.gschema.xml:397 +#: misc/org.yorba.shotwell.gschema.xml:467 msgid "" "A numeric code representing the default visibility for photos published to " "Flickr" @@ -822,19 +870,19 @@ msgstr "" "Numerikus kód, amely a Flickr-re feltöltött képek alapértelmezett " "láthatóságát képviseli" -#: misc/org.yorba.shotwell.gschema.xml:403 +#: misc/org.yorba.shotwell.gschema.xml:473 msgid "" "Whether images being uploaded to Flickr should have their metadata removed " "first" msgstr "" "A Flickr-re feltöltött képek metaadatai előbb eltávolításra kerüljenek-e" -#: misc/org.yorba.shotwell.gschema.xml:410 -#: misc/org.yorba.shotwell.gschema.xml:542 +#: misc/org.yorba.shotwell.gschema.xml:480 +#: misc/org.yorba.shotwell.gschema.xml:612 msgid "refresh token" msgstr "frissítési token" -#: misc/org.yorba.shotwell.gschema.xml:411 +#: misc/org.yorba.shotwell.gschema.xml:481 msgid "" "The OAuth token used to refresh the Picasa Web Albums session for the " "currently logged in user, if any." @@ -842,7 +890,7 @@ msgstr "" "Az OAuth token, amelyet a jelenleg bejelentkezett felhasználó Picasa " "Webalbumok munkamenetének frissítésére használ." -#: misc/org.yorba.shotwell.gschema.xml:417 +#: misc/org.yorba.shotwell.gschema.xml:487 msgid "" "A numeric code representing the default size for photos uploaded to Picasa " "Web Albums" @@ -850,66 +898,66 @@ msgstr "" "Numerikus kód, amely a legutóbb, a Picasa Webalbumokba történő feltöltéskor " "használt alapértelmezett fényképméretet képviseli." -#: misc/org.yorba.shotwell.gschema.xml:422 -#: misc/org.yorba.shotwell.gschema.xml:516 +#: misc/org.yorba.shotwell.gschema.xml:492 +#: misc/org.yorba.shotwell.gschema.xml:586 msgid "last album" msgstr "legutóbbi album" -#: misc/org.yorba.shotwell.gschema.xml:423 -#: misc/org.yorba.shotwell.gschema.xml:517 +#: misc/org.yorba.shotwell.gschema.xml:493 +#: misc/org.yorba.shotwell.gschema.xml:587 msgid "The name of the last album the user published photos to, if any" msgstr "" "A legutóbbi album neve, ahová a felhasználó képeket töltött fel, ha van " "ilyen." -#: misc/org.yorba.shotwell.gschema.xml:429 +#: misc/org.yorba.shotwell.gschema.xml:499 msgid "" "Whether images being uploaded to Picasa should have their metadata removed " "first" msgstr "" "A Picasára feltöltött képek metaadatai előbb eltávolításra kerüljenek-e" -#: misc/org.yorba.shotwell.gschema.xml:436 +#: misc/org.yorba.shotwell.gschema.xml:506 msgid "Piwigo URL" msgstr "Piwigo URL" -#: misc/org.yorba.shotwell.gschema.xml:437 +#: misc/org.yorba.shotwell.gschema.xml:507 msgid "URL of the Piwigo server." msgstr "A Piwigo kiszolgáló URL-e." -#: misc/org.yorba.shotwell.gschema.xml:443 +#: misc/org.yorba.shotwell.gschema.xml:513 msgid "Piwigo username, if logged in." msgstr "Piwigo felhasználónév, ha be van jelentkezve." -#: misc/org.yorba.shotwell.gschema.xml:448 +#: misc/org.yorba.shotwell.gschema.xml:518 msgid "password" msgstr "jelszó" -#: misc/org.yorba.shotwell.gschema.xml:449 +#: misc/org.yorba.shotwell.gschema.xml:519 msgid "Piwigo password, if logged in." msgstr "Piwigo jelszó, ha be van jelentkezve." -#: misc/org.yorba.shotwell.gschema.xml:454 +#: misc/org.yorba.shotwell.gschema.xml:524 msgid "remember password" msgstr "jelszó megjegyzése" -#: misc/org.yorba.shotwell.gschema.xml:455 +#: misc/org.yorba.shotwell.gschema.xml:525 msgid "If true, remember the Piwigo password." msgstr "Ha igaz, megjegyzi a Piwigo jelszót." -#: misc/org.yorba.shotwell.gschema.xml:461 +#: misc/org.yorba.shotwell.gschema.xml:531 msgid "The last selected Piwigo category." msgstr "A legutóbb választott Piwigo kategória." -#: misc/org.yorba.shotwell.gschema.xml:466 +#: misc/org.yorba.shotwell.gschema.xml:536 msgid "last permission level" msgstr "legutóbbi engedélyszint" -#: misc/org.yorba.shotwell.gschema.xml:467 +#: misc/org.yorba.shotwell.gschema.xml:537 msgid "The last chosen Piwigo permission level." msgstr "A legutóbb választott Piwigo engedélyszint." -#: misc/org.yorba.shotwell.gschema.xml:473 +#: misc/org.yorba.shotwell.gschema.xml:543 msgid "" "A numeric code representing the last photo size preset used when publishing " "to Piwigo." @@ -917,21 +965,21 @@ msgstr "" "Numerikus kód, amely a legutóbbi, Piwigóra történő feltöltéskor használt " "fényképméret előbeállítást képviseli." -#: misc/org.yorba.shotwell.gschema.xml:479 +#: misc/org.yorba.shotwell.gschema.xml:549 msgid "" "Whether images being uploaded to Piwigo should have their metadata removed " "first" msgstr "" "A Piwigóra feltöltött képek metaadatai előbb eltávolításra kerüljenek-e" -#: misc/org.yorba.shotwell.gschema.xml:484 +#: misc/org.yorba.shotwell.gschema.xml:554 msgid "" "if title is set and comment unset, use title as comment for uploads to Piwigo" msgstr "" "ha be van állítva cím, de megjegyzés nincs, akkor a cím használata " "megjegyzésként a Piwigo feltöltéseknél" -#: misc/org.yorba.shotwell.gschema.xml:485 +#: misc/org.yorba.shotwell.gschema.xml:555 msgid "" "Whether images being uploaded to Piwigo should have their comment set from " "the title if title is set and comment unset" @@ -939,11 +987,11 @@ msgstr "" "A Piwigóra feltöltött fájlok megjegyzése legyen-e beállítva a címből, ha a " "cím meg van adva, de a megjegyzés nincs" -#: misc/org.yorba.shotwell.gschema.xml:490 +#: misc/org.yorba.shotwell.gschema.xml:560 msgid "do not upload tags when uploading to Piwigo" msgstr "ne töltse fel a címkéket a Piwigora feltöltéskor" -#: misc/org.yorba.shotwell.gschema.xml:491 +#: misc/org.yorba.shotwell.gschema.xml:561 msgid "" "Whether images being uploaded to Piwigo should have their tags removed on " "upload, such that these tags will not appear on the remote Piwigo server." @@ -951,46 +999,46 @@ msgstr "" "A Piwigóra feltöltött képek metaadatai előbb eltávolításra kerüljenek-e, így " "ezek a címkék nem fognak megjelenni a távoli Piwigo kiszolgálón." -#: misc/org.yorba.shotwell.gschema.xml:499 +#: misc/org.yorba.shotwell.gschema.xml:569 msgid "Gallery3 username" msgstr "Gallery3 felhasználónév" -#: misc/org.yorba.shotwell.gschema.xml:504 +#: misc/org.yorba.shotwell.gschema.xml:574 msgid "API key" msgstr "API kulcs" -#: misc/org.yorba.shotwell.gschema.xml:505 +#: misc/org.yorba.shotwell.gschema.xml:575 msgid "Gallery3 API key" msgstr "Gallery3 API kulcs" -#: misc/org.yorba.shotwell.gschema.xml:510 +#: misc/org.yorba.shotwell.gschema.xml:580 msgid "URL" msgstr "URL" -#: misc/org.yorba.shotwell.gschema.xml:511 +#: misc/org.yorba.shotwell.gschema.xml:581 msgid "Gallery3 site URL" msgstr "Gallery3 oldal URL" -#: misc/org.yorba.shotwell.gschema.xml:523 +#: misc/org.yorba.shotwell.gschema.xml:593 msgid "" "Indicates whether images being uploaded to Gallery3 should have their " "metadata removed first" msgstr "" "A Gallery3-ra feltöltött képek metaadatai előbb eltávolításra kerüljenek-e" -#: misc/org.yorba.shotwell.gschema.xml:528 +#: misc/org.yorba.shotwell.gschema.xml:598 msgid "scaling constraint of uploaded picture" msgstr "a feltöltött kép méretezési megszorítása" -#: misc/org.yorba.shotwell.gschema.xml:529 +#: misc/org.yorba.shotwell.gschema.xml:599 msgid "The scaling constraint ID of the picture to be uploaded" msgstr "A feltöltendő kép méretezési megszorításának azonosítója" -#: misc/org.yorba.shotwell.gschema.xml:534 +#: misc/org.yorba.shotwell.gschema.xml:604 msgid "pixels of the major axis uploaded picture" msgstr "a feltöltött kép fő tengelyeinek pixelei" -#: misc/org.yorba.shotwell.gschema.xml:535 +#: misc/org.yorba.shotwell.gschema.xml:605 msgid "" "The pixels of the major axis of the picture to be uploaded; used only if " "scaling-constraint-id is an appropriate value" @@ -998,7 +1046,7 @@ msgstr "" "A feltöltendő képek fő tengelyeinek pixelei; csak akkor használt, ha a " "scaling-constraint-id egy megfelelő érték" -#: misc/org.yorba.shotwell.gschema.xml:543 +#: misc/org.yorba.shotwell.gschema.xml:613 msgid "" "The OAuth token used to refresh the YouTube session for the currently logged " "in user, if any." @@ -1006,65 +1054,65 @@ msgstr "" "Az OAuth token, amely a pillanatnyilag bejelentkezett felhasználó YouTube " "munkamenetének frissítésére használt, ha van ilyen." -#: misc/org.yorba.shotwell.gschema.xml:550 +#: misc/org.yorba.shotwell.gschema.xml:620 msgid "last used import service" msgstr "legutóbb használt importálási szolgáltatás" -#: misc/org.yorba.shotwell.gschema.xml:551 +#: misc/org.yorba.shotwell.gschema.xml:621 msgid "" "A numeric code representing the last service from which photos were imported" msgstr "" "Numerikus kód, amely a fényképek legutóbbi importálási forrását képviseli" -#: misc/org.yorba.shotwell.gschema.xml:558 +#: misc/org.yorba.shotwell.gschema.xml:628 msgid "interpreter state cookie" msgstr "értelmező állapot sütije" -#: misc/org.yorba.shotwell.gschema.xml:559 +#: misc/org.yorba.shotwell.gschema.xml:629 msgid "" "A numeric code that captures the state of the GStreamer plug-in environment" msgstr "" "Numerikus kód, amely lementi a GStreamer bővítmény környezeti állapotát" -#: misc/org.yorba.shotwell.gschema.xml:566 +#: misc/org.yorba.shotwell.gschema.xml:636 msgid "content layout mode" msgstr "tartalomelrendezési mód" -#: misc/org.yorba.shotwell.gschema.xml:567 +#: misc/org.yorba.shotwell.gschema.xml:637 msgid "" "A numeric code that describes how photos are laid out on the page during " "printing" msgstr "Numerikus kód, amely leírja a képek elrendezését nyomtatáskor" -#: misc/org.yorba.shotwell.gschema.xml:572 +#: misc/org.yorba.shotwell.gschema.xml:642 msgid "content ppi" msgstr "tartalom ppi" -#: misc/org.yorba.shotwell.gschema.xml:573 +#: misc/org.yorba.shotwell.gschema.xml:643 msgid "The number of pixels per inch (ppi) sent to the printer during printing" msgstr "A nyomtatónak nyomtatáskor kiküldött pixelek száma hüvelykenként (ppi)" -#: misc/org.yorba.shotwell.gschema.xml:578 +#: misc/org.yorba.shotwell.gschema.xml:648 msgid "content width" msgstr "tartalom szélessége" -#: misc/org.yorba.shotwell.gschema.xml:579 +#: misc/org.yorba.shotwell.gschema.xml:649 msgid "The width of the printed emulsion on the page when printing" msgstr "A nyomtatott emulzió szélessége az oldalon nyomtatáskor" -#: misc/org.yorba.shotwell.gschema.xml:584 +#: misc/org.yorba.shotwell.gschema.xml:654 msgid "content height" msgstr "tartalom magassága" -#: misc/org.yorba.shotwell.gschema.xml:585 +#: misc/org.yorba.shotwell.gschema.xml:655 msgid "The height of the printed emulsion on the page when printing" msgstr "A nyomtatott emulzió magassága az oldalon nyomtatáskor" -#: misc/org.yorba.shotwell.gschema.xml:590 +#: misc/org.yorba.shotwell.gschema.xml:660 msgid "content units" msgstr "tartalom mértékegysége" -#: misc/org.yorba.shotwell.gschema.xml:591 +#: misc/org.yorba.shotwell.gschema.xml:661 msgid "" "A numeric code representing unit of measure (inches or centimeters) used " "when printing" @@ -1072,11 +1120,11 @@ msgstr "" "Numerikus kód, amely a nyomtatás során használt mértékegységet képviseli " "(hüvelyk vagy centiméter)" -#: misc/org.yorba.shotwell.gschema.xml:596 +#: misc/org.yorba.shotwell.gschema.xml:666 msgid "images per page code" msgstr "kép / oldal kód" -#: misc/org.yorba.shotwell.gschema.xml:597 +#: misc/org.yorba.shotwell.gschema.xml:667 msgid "" "A numeric code representing the currently selected images per page mode used " "when printing" @@ -1084,22 +1132,22 @@ msgstr "" "Numerikus kód, amely a jelenleg kiválasztott, nyomtatás során érvényes kép / " "oldal módot képviseli" -#: misc/org.yorba.shotwell.gschema.xml:602 +#: misc/org.yorba.shotwell.gschema.xml:672 msgid "size selection" msgstr "méret kiválasztása" -#: misc/org.yorba.shotwell.gschema.xml:603 +#: misc/org.yorba.shotwell.gschema.xml:673 msgid "" "The index of the current print size in a pre-defined list of standard sizes" msgstr "" "A jelenlegi nyomtatási méret indexe a szabványos méretek előre meghatározott " "listájában" -#: misc/org.yorba.shotwell.gschema.xml:608 +#: misc/org.yorba.shotwell.gschema.xml:678 msgid "match aspect ratio" msgstr "méretarány megtartása" -#: misc/org.yorba.shotwell.gschema.xml:609 +#: misc/org.yorba.shotwell.gschema.xml:679 msgid "" "Determines whether custom print sizes must match the aspect ratio of the " "original photo" @@ -1107,11 +1155,11 @@ msgstr "" "Meghatározza, hogy az egyéni nyomtatási méretek képátlója megegyezzen-e az " "eredeti képével" -#: misc/org.yorba.shotwell.gschema.xml:614 +#: misc/org.yorba.shotwell.gschema.xml:684 msgid "print titles" msgstr "címek nyomtatása" -#: misc/org.yorba.shotwell.gschema.xml:615 +#: misc/org.yorba.shotwell.gschema.xml:685 msgid "" "True if the title of a photo should be printed when the photo is printed, " "false otherwise." @@ -1119,183 +1167,183 @@ msgstr "" "Igaz, ha a fénykép neve is nyomtatásra kerül a kinyomtatott fényképre, " "különben hamis." -#: misc/org.yorba.shotwell.gschema.xml:620 +#: misc/org.yorba.shotwell.gschema.xml:690 msgid "titles font" msgstr "címek betűkészlete" -#: misc/org.yorba.shotwell.gschema.xml:621 +#: misc/org.yorba.shotwell.gschema.xml:691 msgid "The name of the font to use for photo titles when they are printed." msgstr "Nyomtatáskor, a fénykép címekhez használt betűkészlet neve." -#: misc/org.yorba.shotwell.gschema.xml:632 +#: misc/org.yorba.shotwell.gschema.xml:702 msgid "enable facebook publishing plugin" msgstr "facebook közzétételi bővítmény engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:633 +#: misc/org.yorba.shotwell.gschema.xml:703 msgid "True if the Facebook publishing plugin is enabled, false otherwise" msgstr "" "Igaz, ha a Facebook közzétételi bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:638 +#: misc/org.yorba.shotwell.gschema.xml:708 msgid "enable flickr publishing plugin" msgstr "flickr közzétételi bővítmény engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:639 +#: misc/org.yorba.shotwell.gschema.xml:709 msgid "True if the Flickr publishing plugin is enabled, false otherwise" msgstr "Igaz, ha a Flickr közzétételi bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:644 +#: misc/org.yorba.shotwell.gschema.xml:714 msgid "enable picasa publishing plugin" msgstr "picasa közzétételi bővítmény engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:645 +#: misc/org.yorba.shotwell.gschema.xml:715 msgid "" "True if the Picasa Web Albums publishing plugin is enabled, false otherwise" msgstr "" "Igaz, ha a Picasa Webalbumok közzétételi bővítmény engedélyezett, különben " "hamis" -#: misc/org.yorba.shotwell.gschema.xml:650 +#: misc/org.yorba.shotwell.gschema.xml:720 msgid "enable youtube publishing plugin" msgstr "youtube közzétételi bővítmény engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:651 +#: misc/org.yorba.shotwell.gschema.xml:721 msgid "True if the YouTube publishing plugin is enabled, false otherwise" msgstr "Igaz, ha a YouTube közzétételi bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:656 +#: misc/org.yorba.shotwell.gschema.xml:726 msgid "enable piwigo publishing plugin" msgstr "piwigo közzétételi bővítmény engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:657 +#: misc/org.yorba.shotwell.gschema.xml:727 msgid "True if the Piwigo publishing plugin is enabled, false otherwise" msgstr "Igaz, ha a Piwigo közzétételi bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:662 +#: misc/org.yorba.shotwell.gschema.xml:732 msgid "enable yandex publishing plugin" msgstr "yandex közzétételi bővítmény engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:663 +#: misc/org.yorba.shotwell.gschema.xml:733 msgid "True if the Yandex.Fotki publishing plugin is enabled, false otherwise" msgstr "" "Igaz, ha a Yandex.Fotki közzétételi bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:668 +#: misc/org.yorba.shotwell.gschema.xml:738 msgid "enable tumblr publishing plugin" msgstr "tumblr közzétételi bővítmény engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:669 +#: misc/org.yorba.shotwell.gschema.xml:739 msgid "True if the Tumblr publishing plugin is enabled, false otherwise" msgstr "Igaz, ha a Tumblr közzétételi bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:674 +#: misc/org.yorba.shotwell.gschema.xml:744 msgid "enable rajce publishing plugin" msgstr "rajce közzétételi bővítmény engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:675 +#: misc/org.yorba.shotwell.gschema.xml:745 msgid "True if the Rajce publishing plugin is enabled, false otherwise" msgstr "Igaz, ha a Rajce közzétételi bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:680 +#: misc/org.yorba.shotwell.gschema.xml:750 msgid "enable gallery3 publishing plugin" msgstr "gallery3 közzétételi bővítmény engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:681 +#: misc/org.yorba.shotwell.gschema.xml:751 msgid "True if the Gallery3 publishing plugin is enabled, false otherwise" msgstr "" "Igaz, ha a Gallery3 közzétételi bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:686 +#: misc/org.yorba.shotwell.gschema.xml:756 msgid "enable F-Spot import plugin" msgstr "F-Spot importálás bővítmény engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:687 +#: misc/org.yorba.shotwell.gschema.xml:757 msgid "True if the F-Spot import plugin is enabled, false otherwise" msgstr "Igaz, ha az F-Spot importálás bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:692 +#: misc/org.yorba.shotwell.gschema.xml:762 msgid "enable slideshow crumble transition" msgstr "összecsuklás diaátmenet engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:693 +#: misc/org.yorba.shotwell.gschema.xml:763 msgid "" "True if the Crumble slideshow transition plugin is enabled, false otherwise" msgstr "" "Igaz, ha az Összecsuklás diaátmenet bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:698 +#: misc/org.yorba.shotwell.gschema.xml:768 msgid "enable slideshow fade transition" msgstr "elhalványodás diaátmenet engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:699 +#: misc/org.yorba.shotwell.gschema.xml:769 msgid "" "True if the Fade slideshow transition plugin is enabled, false otherwise" msgstr "" "Igaz, ha az Elhalványodás diaátmenet bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:704 -#: misc/org.yorba.shotwell.gschema.xml:728 +#: misc/org.yorba.shotwell.gschema.xml:774 +#: misc/org.yorba.shotwell.gschema.xml:798 msgid "enable slideshow slide transition" msgstr "csúszás diaátmenet engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:705 +#: misc/org.yorba.shotwell.gschema.xml:775 msgid "" "True if the Slide slideshow transition plugin is enabled, false otherwise" msgstr "Igaz, ha a Csúszás diaátmenet bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:710 +#: misc/org.yorba.shotwell.gschema.xml:780 msgid "enable slideshow clock transition" msgstr "óra diaátmenet engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:711 +#: misc/org.yorba.shotwell.gschema.xml:781 msgid "" "True if the Clock slideshow transition plugin is enabled, false otherwise" msgstr "Igaz, ha az Óra diaátmenet bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:716 -#: misc/org.yorba.shotwell.gschema.xml:722 +#: misc/org.yorba.shotwell.gschema.xml:786 +#: misc/org.yorba.shotwell.gschema.xml:792 msgid "enable slideshow circle transition" msgstr "kör diaátmenet engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:717 +#: misc/org.yorba.shotwell.gschema.xml:787 msgid "" "True if the Circle slideshow transition plugin is enabled, false otherwise" msgstr "Igaz, ha a Kör diaátmenet bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:723 +#: misc/org.yorba.shotwell.gschema.xml:793 msgid "" "True if the Circles slideshow transition plugin is enabled, false otherwise" msgstr "Igaz, ha a Körök diaátmenet bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:729 +#: misc/org.yorba.shotwell.gschema.xml:799 msgid "" "True if the Blinds slideshow transition plugin is enabled, false otherwise" msgstr "Igaz, ha a Lamellák diaátmenet bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:734 +#: misc/org.yorba.shotwell.gschema.xml:804 msgid "enable slideshow squares transition" msgstr "négyzetek diaátmenet engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:735 +#: misc/org.yorba.shotwell.gschema.xml:805 msgid "" "True if the Squares slideshow transition plugin is enabled, false otherwise" msgstr "" "Igaz, ha a Négyzetek diaátmenet bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:740 +#: misc/org.yorba.shotwell.gschema.xml:810 msgid "enable slideshow stripes transition" msgstr "csíkok diaátmenet engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:741 +#: misc/org.yorba.shotwell.gschema.xml:811 msgid "" "True if the Stripes slideshow transition plugin is enabled, false otherwise" msgstr "Igaz, ha a Csíkok diaátmenet bővítmény engedélyezett, különben hamis" -#: misc/org.yorba.shotwell.gschema.xml:746 +#: misc/org.yorba.shotwell.gschema.xml:816 msgid "enable slideshow chess transition" msgstr "sakktábla diaátmenet engedélyezése" -#: misc/org.yorba.shotwell.gschema.xml:747 +#: misc/org.yorba.shotwell.gschema.xml:817 msgid "" "True if the Chess-Board slideshow transition plugin is enabled, false " "otherwise" @@ -1306,7 +1354,7 @@ msgstr "" msgid "Visit the Shotwell home page" msgstr "A Shotwell weboldalának meglátogatása" -#: plugins/common/Resources.vala:31 src/AppWindow.vala:676 +#: plugins/common/Resources.vala:31 src/AppWindow.vala:679 msgid "translator-credits" msgstr "" "Peter Bojtos <ptr at ulx dot hu>\n" @@ -1329,12 +1377,68 @@ msgstr "" " Vera Yin https://launchpad.net/~vera-yorba\n" " csola48 https://launchpad.net/~mail-csordaslaszlo" -#: plugins/common/RESTSupport.vala:451 +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:202 +msgid "" +"⚫ This website presented identification that belongs to a different website." +msgstr "" +"⚫ Ez a weboldal olyan tanúsítványt mutatott be, amely egy másik weboldalhoz " +"tartozik." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:207 +msgid "" +"⚫ This website’s identification is too old to trust. Check the date on your " +"computer’s calendar." +msgstr "" +"⚫ A weboldal tanúsítványa túl régi ahhoz, hogy megbízható legyen. " +"Ellenőrizze a dátumot a számítógépe naptárában." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:212 +msgid "" +"⚫ This website’s identification was not issued by a trusted organization." +msgstr "⚫ A weboldal tanúsítványát nem egy megbízható szervezet állította ki." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:217 +msgid "" +"⚫ This website’s identification could not be processed. It may be corrupted." +msgstr "" +"⚫ A weboldal tanúsítványát nem sikerült feldolgozni. Lehet, hogy sérült." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:222 +msgid "" +"⚫ This website’s identification has been revoked by the trusted organization " +"that issued it." +msgstr "" +"⚫ A weboldal tanúsítványát visszavonta az azt kiállító megbízható szervezet." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:227 +msgid "" +"⚫ This website’s identification cannot be trusted because it uses very weak " +"encryption." +msgstr "" +"⚫ A weboldal tanúsítványában nem lehet megbízni, mert nagyon gyenge " +"titkosítást használ." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:232 +msgid "" +"⚫ This website’s identification is only valid for future dates. Check the " +"date on your computer’s calendar." +msgstr "" +"⚫ A weboldal tanúsítványa csak jövőbeli dátumokra érvényes. Ellenőrizze a " +"dátumot a számítógépe naptárában." + +#: plugins/common/RESTSupport.vala:509 #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:958 msgid "A temporary file needed for publishing is unavailable" msgstr "A közzétételhez szükséges ideiglenes fájl nem érhető el" -#: plugins/common/RESTSupport.vala:1157 +#: plugins/common/RESTSupport.vala:1167 msgid "" "You have already logged in and out of a Google service during this Shotwell " "session.\n" @@ -1451,7 +1555,7 @@ msgstr "_Vissza" #: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:8 #: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:145 #: ui/shotwell.ui:1627 -msgid "_Login" +msgid "_Log in" msgstr "Bejele_ntkezés" #: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:34 @@ -1522,7 +1626,7 @@ msgstr "képpont" #: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:195 #: plugins/shotwell-publishing/FlickrPublishing.vala:1235 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1234 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1329 #: src/Dimensions.vala:17 msgid "Original size" msgstr "Eredeti méret" @@ -1556,8 +1660,8 @@ msgstr "Shotwell alapértelmezett könyvtár" msgid "" "\n" "\n" -"The file \"%s\" may not be supported by or may be too large for this " -"instance of Gallery3." +"The file “%s” may not be supported by or may be too large for this instance " +"of Gallery3." msgstr "" "\n" "\n" @@ -1577,7 +1681,7 @@ msgstr "" #: plugins/shotwell-publishing-extras/GalleryConnector.vala:1773 #, c-format msgid "" -"A file required for publishing is unavailable. Publishing to %s can't " +"A file required for publishing is unavailable. Publishing to %s can’t " "continue." msgstr "" "Egy, a közzétételhez szükséges fájl nem érhető el. A közzététel nem " @@ -1646,7 +1750,7 @@ msgstr "_Megjegyzés" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:895 #: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:107 #: plugins/shotwell-publishing/piwigo_authentication_pane.ui:151 -msgid "Login" +msgid "Log in" msgstr "Bejelentkezés" #: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:111 @@ -1673,8 +1777,8 @@ msgid "Open target _album in browser" msgstr "_Cél album megnyitása böngészőben" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:40 -msgid "Copyright (C) 2013 rajce.net" -msgstr "Copyright (C) 2013 rajce.net" +msgid "Copyright © 2013 rajce.net" +msgstr "Copyright © 2013 rajce.net" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:744 msgid "An error message occurred when publishing to Rajce. Please try again." @@ -1722,29 +1826,29 @@ msgstr "Copyright 2012 BJA Electronics" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:105 #: plugins/shotwell-publishing/FlickrPublishing.vala:1231 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1230 -msgid "500 x 375 pixels" -msgstr "500 x 375 képpont" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1325 +msgid "500 × 375 pixels" +msgstr "500 × 375 képpont" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:106 #: plugins/shotwell-publishing/FlickrPublishing.vala:1232 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1231 -msgid "1024 x 768 pixels" -msgstr "1024 x 768 képpont" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1326 +msgid "1024 × 768 pixels" +msgstr "1024 × 768 képpont" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:107 -msgid "1280 x 853 pixels" -msgstr "1280 x 853 képpont" +msgid "1280 × 853 pixels" +msgstr "1280 × 853 képpont" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:311 #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:321 #, c-format -msgid "'%s' isn't a valid response to an OAuth authentication request" +msgid "“%s” isn’t a valid response to an OAuth authentication request" msgstr "„%s” nem érvényes válasz OAuth hitelesítési kérésre" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:559 msgid "" -"TumblrPublisher: start( ): can't start; this publisher is not restartable." +"TumblrPublisher: start( ): can’t start; this publisher is not restartable." msgstr "" "TumblrPublisher: start( ): nem lehet elindítani, ez a közzétevő nem " "indítható újra." @@ -1754,12 +1858,12 @@ msgid "Enter the username and password associated with your Tumblr account." msgstr "Adja meg a Tumblr fiókjához tartozó felhasználónevet és jelszót." #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:588 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:992 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1087 msgid "Username and/or password invalid. Please try again" msgstr "A felhasználónév és/vagy jelszó érvénytelen. Próbálja újra" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:615 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1026 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1121 msgid "Invalid User Name or Password" msgstr "Érvénytelen felhasználónév vagy jelszó" @@ -1786,7 +1890,7 @@ msgstr "Copyright 2010+ Evgeniy Polyakov <zbr@ioremap.net>" msgid "Visit the Yandex.Fotki web site" msgstr "A Yandex.Fotki weboldal felkeresése" -#: plugins/shotwell-publishing-extras/YandexPublishing.vala:658 +#: plugins/shotwell-publishing-extras/YandexPublishing.vala:609 msgid "You are not currently logged into Yandex.Fotki." msgstr "Jelenleg nincs bejelentkezve a Yandex.Fotki oldalra." @@ -1811,7 +1915,7 @@ msgid "Public" msgstr "Nyilvános" #: plugins/shotwell-publishing-extras/yandex_publish_model.ui:162 -#: plugins/shotwell-publishing/FacebookPublishing.vala:1194 +#: plugins/shotwell-publishing/FacebookPublishing.vala:1144 msgid "Friends" msgstr "Barátok" @@ -1829,7 +1933,7 @@ msgid "Create a _new album named:" msgstr "Új _album létrehozása ezen a néven:" #: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:108 -#: plugins/shotwell-publishing/FacebookPublishing.vala:1034 +#: plugins/shotwell-publishing/FacebookPublishing.vala:984 msgid "Upload _size:" msgstr "Feltöltés _mérete:" @@ -1849,7 +1953,7 @@ msgstr "" #: plugins/shotwell-publishing/FacebookPublishing.vala:62 #: plugins/shotwell-publishing/PicasaPublishing.vala:60 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1114 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1209 msgid "Shotwell Connect" msgstr "Shotwell kapcsolat" @@ -1857,7 +1961,7 @@ msgstr "Shotwell kapcsolat" msgid "" "You are not currently logged into Facebook.\n" "\n" -"If you don't yet have a Facebook account, you can create one during the " +"If you don’t yet have a Facebook account, you can create one during the " "login process. During login, Shotwell Connect may ask you for permission to " "upload photos and publish to your feed. These permissions are required for " "Shotwell Connect to function." @@ -1889,23 +1993,23 @@ msgid "Large (2048 pixels)" msgstr "Nagy (2048 képpont)" #: plugins/shotwell-publishing/FacebookPublishing.vala:255 -msgid "Testing connection to Facebook..." +msgid "Testing connection to Facebook…" msgstr "Kapcsolat tesztelése a Facebookhoz…" #: plugins/shotwell-publishing/FacebookPublishing.vala:348 #: plugins/shotwell-publishing/PicasaPublishing.vala:379 -msgid "Creating album..." +msgid "Creating album…" msgstr "Album létrehozása…" #: plugins/shotwell-publishing/FacebookPublishing.vala:374 msgid "" -"A file required for publishing is unavailable. Publishing to Facebook can't " +"A file required for publishing is unavailable. Publishing to Facebook can’t " "continue." msgstr "" "Egy, a közzétételhez szükséges fájl nem érhető el. A közzététel a Facebookra " "nem folytatódhat." -#: plugins/shotwell-publishing/FacebookPublishing.vala:1032 +#: plugins/shotwell-publishing/FacebookPublishing.vala:982 #, c-format msgid "" "You are logged into Facebook as %s.\n" @@ -1914,18 +2018,18 @@ msgstr "" "Bejelentkezett a Facebookra %s néven.\n" "\n" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1033 +#: plugins/shotwell-publishing/FacebookPublishing.vala:983 msgid "Where would you like to publish the selected photos?" msgstr "Hová szeretné feltölteni a kijelölt fényképeket?" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1193 +#: plugins/shotwell-publishing/FacebookPublishing.vala:1143 #: plugins/shotwell-publishing/FlickrPublishing.vala:1213 msgid "Just me" msgstr "Csak én" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1195 +#: plugins/shotwell-publishing/FacebookPublishing.vala:1145 #: plugins/shotwell-publishing/FlickrPublishing.vala:1209 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1218 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1313 msgid "Everyone" msgstr "Mindenki" @@ -1941,7 +2045,7 @@ msgstr "" msgid "Authorization _Number:" msgstr "_Hitelesítési szám:" -#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83 src/Dialogs.vala:132 +#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83 src/Dialogs.vala:128 msgid "Con_tinue" msgstr "Foly_tatás" @@ -1949,7 +2053,7 @@ msgstr "Foly_tatás" msgid "" "You are not currently logged into Flickr.\n" "\n" -"Click Login to log into Flickr in your Web browser. You will have to " +"Click Log in to log into Flickr in your Web browser. You will have to " "authorize Shotwell Connect to link to your Flickr account." msgstr "" "Jelenleg nincs bejelentkezve Flickr-re\n" @@ -1970,20 +2074,20 @@ msgstr "" "próbálja újra a feltöltést." #: plugins/shotwell-publishing/FlickrPublishing.vala:374 -msgid "Preparing for login..." +msgid "Preparing for login…" msgstr "Felkészülés a bejelentkezésre…" #: plugins/shotwell-publishing/FlickrPublishing.vala:444 #: plugins/shotwell-publishing/FlickrPublishing.vala:594 msgid "" -"A file required for publishing is unavailable. Publishing to Flickr can't " +"A file required for publishing is unavailable. Publishing to Flickr can’t " "continue." msgstr "" "Egy, a közzétételhez szükséges fájl nem érhető el. A közzététel a Flickrre " "nem folytatódhat." #: plugins/shotwell-publishing/FlickrPublishing.vala:457 -msgid "Verifying authorization..." +msgid "Verifying authorization…" msgstr "Felhatalmazás ellenőrzése…" #: plugins/shotwell-publishing/FlickrPublishing.vala:1152 @@ -2039,14 +2143,14 @@ msgid "Friends only" msgstr "Csak barátok" #: plugins/shotwell-publishing/FlickrPublishing.vala:1233 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1232 -msgid "2048 x 1536 pixels" -msgstr "2048 x 1536 képpont" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1327 +msgid "2048 × 1536 pixels" +msgstr "2048 × 1536 képpont" #: plugins/shotwell-publishing/FlickrPublishing.vala:1234 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1233 -msgid "4096 x 3072 pixels" -msgstr "4096 x 3072 képpont" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1328 +msgid "4096 × 3072 pixels" +msgstr "4096 × 3072 képpont" #: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:113 msgid "L_ist album in public gallery" @@ -2060,8 +2164,8 @@ msgstr "Fénykép_méret előbeállítása:" msgid "" "You are not currently logged into Picasa Web Albums.\n" "\n" -"Click Login to log into Picasa Web Albums in your Web browser. You will have " -"to authorize Shotwell Connect to link to your Picasa Web Albums account." +"Click Log in to log into Picasa Web Albums in your Web browser. You will " +"have to authorize Shotwell Connect to link to your Picasa Web Albums account." msgstr "" "Jelenleg nincs bejelentkezve Picasa Webalbumokba.\n" "\n" @@ -2071,7 +2175,7 @@ msgstr "" #: plugins/shotwell-publishing/PicasaPublishing.vala:361 msgid "" -"A file required for publishing is unavailable. Publishing to Picasa can't " +"A file required for publishing is unavailable. Publishing to Picasa can’t " "continue." msgstr "" "Egy, a közzétételhez szükséges fájl nem érhető el. A közzététel a Picasara " @@ -2088,20 +2192,20 @@ msgid "Videos will appear in:" msgstr "A videók itt jelennek meg:" #: plugins/shotwell-publishing/PicasaPublishing.vala:746 -msgid "Small (640 x 480 pixels)" -msgstr "Kicsi (640 x 480 képpont)" +msgid "Small (640 × 480 pixels)" +msgstr "Kicsi (640 × 480 képpont)" #: plugins/shotwell-publishing/PicasaPublishing.vala:747 -msgid "Medium (1024 x 768 pixels)" -msgstr "Közepes (1024 x 768 képpont)" +msgid "Medium (1024 × 768 pixels)" +msgstr "Közepes (1024 × 768 képpont)" #: plugins/shotwell-publishing/PicasaPublishing.vala:748 -msgid "Recommended (1600 x 1200 pixels)" -msgstr "Ajánlott (1600 x 1200 képpont)" +msgid "Recommended (1600 × 1200 pixels)" +msgstr "Ajánlott (1600 × 1200 képpont)" #: plugins/shotwell-publishing/PicasaPublishing.vala:749 -msgid "Google+ (2048 x 1536 pixels)" -msgstr "Google+ (2048 x 1536 képpont)" +msgid "Google+ (2048 × 1536 pixels)" +msgstr "Google+ (2048 × 1536 képpont)" #: plugins/shotwell-publishing/PicasaPublishing.vala:750 #: src/editing_tools/EditingTools.vala:756 @@ -2159,16 +2263,29 @@ msgstr "Kijelentkezés" msgid "Publish" msgstr "Közzététel" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:747 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:775 #, c-format -msgid "Creating album %s..." +msgid "Creating album %s…" msgstr "%s album létrehozása…" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:920 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:948 msgid "An error message occurred when publishing to Piwigo. Please try again." msgstr "Hibaüzenet érkezett a Piwigon való közzététel során. Próbálja újra." -#: plugins/shotwell-publishing/PiwigoPublishing.vala:990 +#. %s is the host name that we tried to connect to +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1024 +#, c-format +msgid "" +"This does not look like the real <b>%s</b>. Attackers might be trying to " +"steal or alter information going to or from this site (for example, private " +"messages, credit card information, or passwords)." +msgstr "" +"Ez nem a valódi <b>%s</b> weboldalnak tűnik. A támadók megpróbálhatják " +"ellopni vagy megváltoztatni az oldalhoz menő, vagy az onnan jövő " +"információkat (például privát üzeneteket, bankkártya-adatokat vagy " +"jelszavakat)." + +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1085 msgid "" "Enter the URL of your Piwigo photo library as well as the username and " "password associated with your Piwigo account for that library." @@ -2176,7 +2293,7 @@ msgstr "" "Adja meg a Piwigo fényképgyűjteményének URL-címét, valamint az ahhoz tartozó " "Piwigo fiókjának felhasználónevét és jelszavát." -#: plugins/shotwell-publishing/PiwigoPublishing.vala:991 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1086 msgid "" "Shotwell cannot contact your Piwigo photo library. Please verify the URL you " "entered" @@ -2184,26 +2301,38 @@ msgstr "" "A Shotwell nem éri el a Piwigo fényképgyűjteményét. Ellenőrizze a megadott " "URL-címet." -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1021 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1116 msgid "Invalid URL" msgstr "Érvénytelen URL" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1219 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1314 msgid "Admins, Family, Friends, Contacts" msgstr "Adminok, család, barátok, partnerek" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1220 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1315 msgid "Admins, Family, Friends" msgstr "Adminok, család, barátok" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1221 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1316 msgid "Admins, Family" msgstr "Adminok, család" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1222 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1317 msgid "Admins" msgstr "Adminok" +#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:21 +msgid "This connection is not secure" +msgstr "Ez a kapcsolat nem biztonságos" + +#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:75 +msgid "Show the certificate…" +msgstr "Tanúsítvány megjelenítése…" + +#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:88 +msgid "I understand, please _proceed." +msgstr "Megértettem, _folytatás." + #: plugins/shotwell-publishing/shotwell-publishing.vala:26 msgid "Core Publishing Services" msgstr "Alap közzétételi szolgáltatások" @@ -2228,7 +2357,7 @@ msgstr "" #: plugins/shotwell-publishing/YouTubePublishing.vala:363 msgid "" -"A file required for publishing is unavailable. Publishing to Youtube can't " +"A file required for publishing is unavailable. Publishing to YouTube can’t " "continue." msgstr "" "Egy, a közzétételhez szükséges fájl nem érhető el. A közzététel a Youtube-ra " @@ -2241,7 +2370,7 @@ msgstr "Bejelentkezett a YouTube-ra %s néven." #: plugins/shotwell-publishing/YouTubePublishing.vala:464 #, c-format -msgid "Videos will appear in '%s'" +msgid "Videos will appear in “%s”" msgstr "A videók itt jelennek meg: „%s”" #: plugins/shotwell-publishing/YouTubePublishing.vala:496 @@ -2351,29 +2480,29 @@ msgstr "Eszköztár rögzítése nyitva" msgid "Leave fullscreen" msgstr "Teljes képernyő elhagyása" -#: src/AppWindow.vala:496 +#: src/AppWindow.vala:499 msgid "_Contents" msgstr "_Tartalom" -#: src/AppWindow.vala:501 +#: src/AppWindow.vala:504 msgid "_Frequently Asked Questions" msgstr "_Gyakran ismételt kérdések" -#: src/AppWindow.vala:506 -msgid "_Report a Problem..." +#: src/AppWindow.vala:509 +msgid "_Report a Problem…" msgstr "_Hiba jelentése…" -#: src/AppWindow.vala:605 src/AppWindow.vala:626 src/AppWindow.vala:643 +#: src/AppWindow.vala:608 src/AppWindow.vala:629 src/AppWindow.vala:646 #: src/data_imports/DataImportsUI.vala:413 src/Dialogs.vala:20 -#: src/Dialogs.vala:28 src/Dialogs.vala:1425 src/Dialogs.vala:1448 +#: src/Dialogs.vala:28 src/Dialogs.vala:1441 src/Dialogs.vala:1464 #: src/publishing/PublishingUI.vala:512 src/Resources.vala:157 msgid "_Cancel" msgstr "Mé_gse" -#: src/AppWindow.vala:653 +#: src/AppWindow.vala:656 #, c-format msgid "" -"A fatal error occurred when accessing Shotwell's library. Shotwell cannot " +"A fatal error occurred when accessing Shotwell’s library. Shotwell cannot " "continue.\n" "\n" "%s" @@ -2383,21 +2512,21 @@ msgstr "" "\n" "%s" -#: src/AppWindow.vala:673 +#: src/AppWindow.vala:676 msgid "Visit the Shotwell web site" msgstr "A Shotwell weboldalának meglátogatása" -#: src/AppWindow.vala:685 +#: src/AppWindow.vala:688 #, c-format msgid "Unable to display help: %s" msgstr "Nem lehet megjeleníteni a súgót: %s" -#: src/AppWindow.vala:693 +#: src/AppWindow.vala:696 #, c-format msgid "Unable to navigate to bug database: %s" msgstr "Nem nyitható meg a hibaadatbázis: %s" -#: src/AppWindow.vala:701 +#: src/AppWindow.vala:704 #, c-format msgid "Unable to display FAQ: %s" msgstr "Nem jeleníthető meg a GyIK: %s" @@ -2479,7 +2608,7 @@ msgstr "RAW+JPEG" #: src/camera/ImportPage.vala:458 msgid "" -"Unable to unmount camera. Try unmounting the camera from the file manager." +"Unable to unmount camera. Try unmounting the camera from the file manager." msgstr "" "A fényképezőgép leválasztása nem sikerült, próbálja meg a fájlkezelőből " "leválasztani." @@ -2500,7 +2629,6 @@ msgstr "" "importáláshoz." #: src/camera/ImportPage.vala:846 -#| msgid "No photos/videos found" msgid "No new photos/videos found on camera" msgstr "Nem találhatók új fényképek vagy videók a fényképezőgépen" @@ -2532,7 +2660,7 @@ msgstr "Minden fénykép importálása a gyűjteményébe" #: src/camera/ImportPage.vala:1013 msgid "" "Shotwell needs to unmount the camera from the filesystem in order to access " -"it. Continue?" +"it. Continue?" msgstr "" "A Shotwellnek le kell választania a fényképezőgépet a fájlrendszerről az " "eléréséhez. Folytatja?" @@ -2547,8 +2675,8 @@ msgstr "Válassza le a fényképezőgépet." #: src/camera/ImportPage.vala:1029 msgid "" -"The camera is locked by another application. Shotwell can only access the " -"camera when it's unlocked. Please close any other application using the " +"The camera is locked by another application. Shotwell can only access the " +"camera when it’s unlocked. Please close any other application using the " "camera and try again." msgstr "" "A fényképezőgépet egy másik alkalmazás zárolta, így a Shotwell nem tudja " @@ -2569,11 +2697,11 @@ msgstr "" "%s" #: src/camera/ImportPage.vala:1061 -msgid "Unmounting..." +msgid "Unmounting…" msgstr "Leválasztás…" #: src/camera/ImportPage.vala:1152 -msgid "Starting import, please wait..." +msgid "Starting import, please wait…" msgstr "Importálás kezdése, kis türelmet…" #: src/camera/ImportPage.vala:1169 @@ -2618,7 +2746,7 @@ msgid_plural "Delete these %d files from camera?" msgstr[0] "Törli ezt a fájlt a fényképezőgépről?" msgstr[1] "Törli ezt a(z) %d fájlt a fényképezőgépről?" -#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1392 +#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1408 msgid "_Keep" msgstr "_Megtartás" @@ -2655,7 +2783,7 @@ msgstr "Fényképek vagy videók exportálása" msgid "Export Photo" msgstr "Fényképek exportálása" -#: src/CollectionPage.vala:458 src/Dialogs.vala:88 +#: src/CollectionPage.vala:458 src/Dialogs.vala:84 msgid "Export Photos" msgstr "Fényképek exportálása" @@ -2805,7 +2933,7 @@ msgstr "Címke létrehozása" #: src/Commands.vala:1695 #, c-format -msgid "Move Tag \"%s\"" +msgid "Move Tag “%s”" msgstr "„%s” címke mozgatása" #: src/Commands.vala:2347 @@ -2866,7 +2994,7 @@ msgstr "%s adatbázis" #: src/data_imports/DataImportsPluginHost.vala:148 #: src/data_imports/DataImportsPluginHost.vala:294 #, c-format -msgid "Importing from %s can't continue because an error occurred:" +msgid "Importing from %s can’t continue because an error occurred:" msgstr "Az importálás innen: %s egy hiba miatt nem folytatódhat:" #: src/data_imports/DataImportsPluginHost.vala:151 @@ -2967,12 +3095,12 @@ msgstr "Az asztali diavetítés nem készíthető elő: %s" #: src/Dialogs.vala:16 #, c-format -msgid "This will remove the tag \"%s\" from one photo. Continue?" -msgid_plural "This will remove the tag \"%s\" from %d photos. Continue?" +msgid "This will remove the tag “%s” from one photo. Continue?" +msgid_plural "This will remove the tag “%s” from %d photos. Continue?" msgstr[0] "Ez eltávolítja a(z) „%s” címkét egy fényképről. Folytatja?" msgstr[1] "Ez eltávolítja a(z) „%s” címkét %d fényképről. Folytatja?" -#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1393 +#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1409 #: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:409 #: src/Resources.vala:674 msgid "_Delete" @@ -2980,7 +3108,7 @@ msgstr "_Törlés" #: src/Dialogs.vala:25 #, c-format -msgid "This will remove the saved search \"%s\". Continue?" +msgid "This will remove the saved search “%s”. Continue?" msgstr "Ezzel törli a(z) „%s” mentett keresést. Folytatja?" #: src/Dialogs.vala:36 @@ -3010,16 +3138,16 @@ msgstr "Videó exportálása" #. if we can't copy an image over for editing in an external tool. #. Did we fail because we can't write to this directory? #. Yes - display an alternate error message here. -#: src/Dialogs.vala:116 +#: src/Dialogs.vala:112 #, c-format msgid "" -"Shotwell couldn't create a file for editing this photo because you do not " +"Shotwell couldn’t create a file for editing this photo because you do not " "have permission to write to %s." msgstr "" "A Shotwell nem tudott létrehozni fájlt a fénykép szerkesztéséhez, mert nincs " "jogosultsága ide írni: %s." -#: src/Dialogs.vala:125 +#: src/Dialogs.vala:121 msgid "" "Unable to export the following photo due to a file error.\n" "\n" @@ -3027,7 +3155,7 @@ msgstr "" "A következő fényképek exportálása fájlhiba miatt nem lehetséges.\n" "\n" -#: src/Dialogs.vala:131 +#: src/Dialogs.vala:127 msgid "" "\n" "\n" @@ -3040,60 +3168,60 @@ msgstr "" #. "Unmodified" and "Current," though they appear in the "Format:" popup menu, really #. aren't formats so much as they are operating modes that determine specific formats. #. Hereafter we'll refer to these as "special formats." -#: src/Dialogs.vala:148 +#: src/Dialogs.vala:144 msgid "Unmodified" msgstr "Módosítatlan" -#: src/Dialogs.vala:149 +#: src/Dialogs.vala:145 msgid "Current" msgstr "Jelenlegi" #. layout controls -#: src/Dialogs.vala:216 +#: src/Dialogs.vala:221 msgid "_Format:" msgstr "_Formátum:" -#: src/Dialogs.vala:219 +#: src/Dialogs.vala:224 msgid "_Quality:" msgstr "_Minőség:" -#: src/Dialogs.vala:222 +#: src/Dialogs.vala:227 msgid "_Scaling constraint:" msgstr "_Méretezési megszorítás:" -#: src/Dialogs.vala:225 +#: src/Dialogs.vala:230 msgid "_Pixels:" msgstr "Ké_ppont:" -#: src/Dialogs.vala:228 -msgid "Export metadata" -msgstr "Metaadatok exportálása" +#: src/Dialogs.vala:234 +msgid "Export _metadata:" +msgstr "_Metaadatok exportálása:" -#: src/Dialogs.vala:462 -msgid "Save Details..." +#: src/Dialogs.vala:478 +msgid "Save Details…" msgstr "Részletek mentése…" -#: src/Dialogs.vala:463 +#: src/Dialogs.vala:479 msgid "Save Details" msgstr "Részletek mentése" -#: src/Dialogs.vala:478 +#: src/Dialogs.vala:494 #, c-format msgid "(and %d more)\n" msgstr "(és még %d)\n" -#: src/Dialogs.vala:531 +#: src/Dialogs.vala:547 msgid "Import Results Report" msgstr "Importálás eredményei jelentés" -#: src/Dialogs.vala:535 +#: src/Dialogs.vala:551 #, c-format msgid "Attempted to import %d file." msgid_plural "Attempted to import %d files." msgstr[0] "Kísérlet történt %d fájl importálására." msgstr[1] "Kísérlet történt %d fájl importálására." -#: src/Dialogs.vala:538 +#: src/Dialogs.vala:554 #, c-format msgid "Of these, %d file was successfully imported." msgid_plural "Of these, %d files were successfully imported." @@ -3103,40 +3231,40 @@ msgstr[1] "Ebből %d fájl lett sikeresen importálva." #. #. Duplicates #. -#: src/Dialogs.vala:550 +#: src/Dialogs.vala:566 msgid "Duplicate Photos/Videos Not Imported:" msgstr "Nem importált, kettőzött fényképek vagy videók:" -#: src/Dialogs.vala:554 +#: src/Dialogs.vala:570 msgid "duplicates existing media item" msgstr "lemásolja a meglévő médiaelemet" #. #. Files Not Imported Due to Camera Errors #. -#: src/Dialogs.vala:565 +#: src/Dialogs.vala:581 msgid "Photos/Videos Not Imported Due to Camera Errors:" msgstr "A fényképezőgép hibája miatt nem importált fényképek vagy videók:" -#: src/Dialogs.vala:568 src/Dialogs.vala:583 src/Dialogs.vala:598 -#: src/Dialogs.vala:614 src/Dialogs.vala:629 src/Dialogs.vala:643 +#: src/Dialogs.vala:584 src/Dialogs.vala:599 src/Dialogs.vala:614 +#: src/Dialogs.vala:630 src/Dialogs.vala:645 src/Dialogs.vala:659 msgid "error message:" msgstr "hibaüzenet:" #. #. Files Not Imported Because They Weren't Recognized as Photos or Videos #. -#: src/Dialogs.vala:579 -msgid "Files Not Imported Because They Weren't Recognized as Photos or Videos:" +#: src/Dialogs.vala:595 +msgid "Files Not Imported Because They Weren’t Recognized as Photos or Videos:" msgstr "" "Fényképként vagy videóként fel nem ismert, és emiatt nem importált fájlok:" #. #. Photos/Videos Not Imported Because They Weren't in a Format Shotwell Understands #. -#: src/Dialogs.vala:594 +#: src/Dialogs.vala:610 msgid "" -"Photos/Videos Not Imported Because They Weren't in a Format Shotwell " +"Photos/Videos Not Imported Because They Weren’t in a Format Shotwell " "Understands:" msgstr "" "A Shotwell által nem értelmezhető formátumú, és emiatt nem importált " @@ -3145,18 +3273,18 @@ msgstr "" #. #. Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its Library #. -#: src/Dialogs.vala:609 +#: src/Dialogs.vala:625 msgid "" -"Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its " +"Photos/Videos Not Imported Because Shotwell Couldn’t Copy Them into its " "Library:" msgstr "" "A Shotwell által a gyűjteménybe nem másolható, és emiatt nem importált " "fényképek vagy videók:" -#: src/Dialogs.vala:613 +#: src/Dialogs.vala:629 #, c-format msgid "" -"couldn't copy %s\n" +"couldn’t copy %s\n" "\tto %s" msgstr "" "%s nem másolható\n" @@ -3165,7 +3293,7 @@ msgstr "" #. #. Photos/Videos Not Imported Because GDK Pixbuf Library Identified them as Corrupt #. -#: src/Dialogs.vala:625 +#: src/Dialogs.vala:641 msgid "Photos/Videos Not Imported Because Files Are Corrupt:" msgstr "" "A fényképek vagy videók importálása sikertelen volt, mert néhány fájl sérült:" @@ -3173,32 +3301,32 @@ msgstr "" #. #. Photos/Videos Not Imported for Other Reasons #. -#: src/Dialogs.vala:640 +#: src/Dialogs.vala:656 msgid "Photos/Videos Not Imported for Other Reasons:" msgstr "Más okból nem importált fényképek vagy videók:" -#: src/Dialogs.vala:660 +#: src/Dialogs.vala:676 #, c-format msgid "1 duplicate photo was not imported:\n" msgid_plural "%d duplicate photos were not imported:\n" msgstr[0] "%d kettőzött fénykép nem lett importálva:\n" msgstr[1] "%d kettőzött fénykép nem lett importálva:\n" -#: src/Dialogs.vala:663 +#: src/Dialogs.vala:679 #, c-format msgid "1 duplicate video was not imported:\n" msgid_plural "%d duplicate videos were not imported:\n" msgstr[0] "%d kettőzött videó nem lett importálva:\n" msgstr[1] "%d kettőzött videó nem lett importálva:\n" -#: src/Dialogs.vala:666 +#: src/Dialogs.vala:682 #, c-format msgid "1 duplicate photo/video was not imported:\n" msgid_plural "%d duplicate photos/videos were not imported:\n" msgstr[0] "%d kettőzött fénykép vagy videó nem lett importálva:\n" msgstr[1] "%d kettőzött fénykép vagy videó nem lett importálva:\n" -#: src/Dialogs.vala:680 +#: src/Dialogs.vala:696 #, c-format msgid "1 photo failed to import due to a file or hardware error:\n" msgid_plural "%d photos failed to import due to a file or hardware error:\n" @@ -3207,14 +3335,14 @@ msgstr[0] "" msgstr[1] "" "%d fényképet nem sikerült importálni fájl- vagy hardverhiba miatt:\n" -#: src/Dialogs.vala:683 +#: src/Dialogs.vala:699 #, c-format msgid "1 video failed to import due to a file or hardware error:\n" msgid_plural "%d videos failed to import due to a file or hardware error:\n" msgstr[0] "%d videót nem sikerült importálni fájl- vagy hardverhiba miatt:\n" msgstr[1] "%d videót nem sikerült importálni fájl- vagy hardverhiba miatt:\n" -#: src/Dialogs.vala:686 +#: src/Dialogs.vala:702 #, c-format msgid "1 photo/video failed to import due to a file or hardware error:\n" msgid_plural "" @@ -3226,14 +3354,14 @@ msgstr[1] "" "%d fényképet vagy videót nem sikerült importálni fájl- vagy hardverhiba " "miatt:\n" -#: src/Dialogs.vala:689 +#: src/Dialogs.vala:705 #, c-format msgid "1 file failed to import due to a file or hardware error:\n" msgid_plural "%d files failed to import due to a file or hardware error:\n" msgstr[0] "%d fájlt nem sikerült importálni hardver- vagy fájlhiba miatt:\n" msgstr[1] "%d fájlt nem sikerült importálni hardver- vagy fájlhiba miatt:\n" -#: src/Dialogs.vala:703 +#: src/Dialogs.vala:719 #, c-format msgid "" "1 photo failed to import because the photo library folder was not writable:\n" @@ -3247,7 +3375,7 @@ msgstr[1] "" "%d fényképet nem sikerült importálni, mert a fényképgyűjtemény mappája nem " "írható:\n" -#: src/Dialogs.vala:706 +#: src/Dialogs.vala:722 #, c-format msgid "" "1 video failed to import because the photo library folder was not writable:\n" @@ -3261,7 +3389,7 @@ msgstr[1] "" "%d fényképet nem sikerült importálni, mert a fényképgyűjtemény mappája nem " "írható:\n" -#: src/Dialogs.vala:709 +#: src/Dialogs.vala:725 #, c-format msgid "" "1 photo/video failed to import because the photo library folder was not " @@ -3276,7 +3404,7 @@ msgstr[1] "" "%d fényképet vagy videót nem sikerült importálni, mert a fényképgyűjtemény " "mappája nem írható:\n" -#: src/Dialogs.vala:712 +#: src/Dialogs.vala:728 #, c-format msgid "" "1 file failed to import because the photo library folder was not writable:\n" @@ -3290,21 +3418,21 @@ msgstr[1] "" "A fényképgyűjtemény mappája nem írható, emiatt %d fájl importálása nem " "sikerült:\n" -#: src/Dialogs.vala:726 +#: src/Dialogs.vala:742 #, c-format msgid "1 photo failed to import due to a camera error:\n" msgid_plural "%d photos failed to import due to a camera error:\n" msgstr[0] "%d fényképet nem sikerült importálni fényképezőgép-hiba miatt:\n" msgstr[1] "%d fényképet nem sikerült importálni fényképezőgép-hiba miatt:\n" -#: src/Dialogs.vala:729 +#: src/Dialogs.vala:745 #, c-format msgid "1 video failed to import due to a camera error:\n" msgid_plural "%d videos failed to import due to a camera error:\n" msgstr[0] "1 videót nem sikerült importálni fényképezőgép-hiba miatt:\n" msgstr[1] "%d videót nem sikerült importálni fényképezőgép-hiba miatt:\n" -#: src/Dialogs.vala:732 +#: src/Dialogs.vala:748 #, c-format msgid "1 photo/video failed to import due to a camera error:\n" msgid_plural "%d photos/videos failed to import due to a camera error:\n" @@ -3313,35 +3441,35 @@ msgstr[0] "" msgstr[1] "" "%d fényképet vagy videót nem sikerült importálni fényképezőgép-hiba miatt:\n" -#: src/Dialogs.vala:735 +#: src/Dialogs.vala:751 #, c-format msgid "1 file failed to import due to a camera error:\n" msgid_plural "%d files failed to import due to a camera error:\n" msgstr[0] "1 fájlt nem sikerült importálni fényképezőgép-hiba miatt:\n" msgstr[1] "%d fájlt nem sikerült importálni fényképezőgép-hiba miatt:\n" -#: src/Dialogs.vala:749 +#: src/Dialogs.vala:765 #, c-format msgid "1 photo failed to import because it was corrupt:\n" msgid_plural "%d photos failed to import because they were corrupt:\n" msgstr[0] "1 fénykép importálása sikertelen, mert sérült:\n" msgstr[1] "%d fénykép importálása sikertelen, mert sérült:\n" -#: src/Dialogs.vala:752 +#: src/Dialogs.vala:768 #, c-format msgid "1 video failed to import because it was corrupt:\n" msgid_plural "%d videos failed to import because they were corrupt:\n" msgstr[0] "1 videó importálása sikertelen, mert sérült:\n" msgstr[1] "%d videó importálása sikertelen, mert sérült:\n" -#: src/Dialogs.vala:755 +#: src/Dialogs.vala:771 #, c-format msgid "1 photo/video failed to import because it was corrupt:\n" msgid_plural "%d photos/videos failed to import because they were corrupt:\n" msgstr[0] "1 fénykép vagy videó importálása sikertelen, mert sérült:\n" msgstr[1] "%d fénykép vagy videó importálása sikertelen, mert sérült:\n" -#: src/Dialogs.vala:758 +#: src/Dialogs.vala:774 #, c-format msgid "1 file failed to import because it was corrupt:\n" msgid_plural "%d files failed to import because it was corrupt:\n" @@ -3352,7 +3480,7 @@ msgstr[1] "%d fájl importálása sikertelen, mert sérült:\n" #. standard container formats are supported, it's just that the streams in them #. might or might not be interpretable), so this message does not need to be #. media specific -#: src/Dialogs.vala:775 +#: src/Dialogs.vala:791 #, c-format msgid "1 unsupported photo skipped:\n" msgid_plural "%d unsupported photos skipped:\n" @@ -3361,56 +3489,56 @@ msgstr[1] "%d nem támogatott formátumú fénykép kihagyva:\n" #. we have no notion of "non-video" video files right now in Shotwell, so this #. message doesn't need to be media specific -#: src/Dialogs.vala:790 +#: src/Dialogs.vala:806 #, c-format msgid "1 non-image file skipped.\n" msgid_plural "%d non-image files skipped.\n" msgstr[0] "%d nem képfájl kihagyva.\n" msgstr[1] "%d nem képfájl kihagyva.\n" -#: src/Dialogs.vala:801 +#: src/Dialogs.vala:817 #, c-format msgid "1 photo skipped due to user cancel:\n" msgid_plural "%d photos skipped due to user cancel:\n" msgstr[0] "%d fénykép a felhasználó utasítására kihagyva.\n" msgstr[1] "%d fénykép a felhasználó utasítására kihagyva.\n" -#: src/Dialogs.vala:804 +#: src/Dialogs.vala:820 #, c-format msgid "1 video skipped due to user cancel:\n" msgid_plural "%d videos skipped due to user cancel:\n" msgstr[0] "%d videó a felhasználó utasítására kihagyva:\n" msgstr[1] "%d videó a felhasználó utasítására kihagyva:\n" -#: src/Dialogs.vala:807 +#: src/Dialogs.vala:823 #, c-format msgid "1 photo/video skipped due to user cancel:\n" msgid_plural "%d photos/videos skipped due to user cancel:\n" msgstr[0] "%d fénykép vagy videó a felhasználó utasítására kihagyva:\n" msgstr[1] "%d fénykép vagy videó a felhasználó utasítására kihagyva:\n" -#: src/Dialogs.vala:810 +#: src/Dialogs.vala:826 #, c-format msgid "1 file skipped due to user cancel:\n" msgid_plural "%d file skipped due to user cancel:\n" msgstr[0] "%d fájl a felhasználó utasítására kihagyva:\n" msgstr[1] "%d fájl a felhasználó utasítására kihagyva:\n" -#: src/Dialogs.vala:824 +#: src/Dialogs.vala:840 #, c-format msgid "1 photo successfully imported.\n" msgid_plural "%d photos successfully imported.\n" msgstr[0] "%d fénykép sikeresen importálva.\n" msgstr[1] "%d fénykép sikeresen importálva.\n" -#: src/Dialogs.vala:827 +#: src/Dialogs.vala:843 #, c-format msgid "1 video successfully imported.\n" msgid_plural "%d videos successfully imported.\n" msgstr[0] "%d videó sikeresen importálva.\n" msgstr[1] "%d videó sikeresen importálva.\n" -#: src/Dialogs.vala:830 +#: src/Dialogs.vala:846 #, c-format msgid "1 photo/video successfully imported.\n" msgid_plural "%d photos/videos successfully imported.\n" @@ -3419,178 +3547,177 @@ msgstr[1] "%d fénykép vagy videó sikeresen importálva.\n" #. if no media items were imported at all (i.e. an empty directory attempted), need to at least #. report that nothing was imported -#: src/Dialogs.vala:846 +#: src/Dialogs.vala:862 msgid "No photos or videos imported.\n" msgstr "Nem lettek importálva fényképek vagy videók.\n" -#: src/Dialogs.vala:853 src/Dialogs.vala:872 +#: src/Dialogs.vala:869 src/Dialogs.vala:888 msgid "Import Complete" msgstr "Importálás kész" -#: src/Dialogs.vala:1158 +#: src/Dialogs.vala:1174 #, c-format msgid "%d second" msgid_plural "%d seconds" msgstr[0] "%d másodperc" msgstr[1] "%d másodperc" -#: src/Dialogs.vala:1161 +#: src/Dialogs.vala:1177 #, c-format msgid "%d minute" msgid_plural "%d minutes" msgstr[0] "%d perc" msgstr[1] "%d perc" -#: src/Dialogs.vala:1165 +#: src/Dialogs.vala:1181 #, c-format msgid "%d hour" msgid_plural "%d hours" msgstr[0] "%d óra" msgstr[1] "%d óra" -#: src/Dialogs.vala:1168 +#: src/Dialogs.vala:1184 msgid "1 day" msgstr "1 nap" -#: src/Dialogs.vala:1322 src/Resources.vala:231 +#: src/Dialogs.vala:1338 src/Resources.vala:231 msgid "Rename Event" msgstr "Esemény átnevezése" -#: src/Dialogs.vala:1322 +#: src/Dialogs.vala:1338 msgid "Name:" msgstr "Név:" #. Dialog title -#: src/Dialogs.vala:1333 +#: src/Dialogs.vala:1349 msgctxt "Dialog Title" msgid "Edit Title" msgstr "Cím szerkesztése" -#: src/Dialogs.vala:1334 src/Properties.vala:340 +#: src/Dialogs.vala:1350 src/Properties.vala:340 msgid "Title:" msgstr "Cím:" #. Dialog title -#: src/Dialogs.vala:1350 src/Resources.vala:307 +#: src/Dialogs.vala:1366 src/Resources.vala:307 msgid "Edit Event Comment" msgstr "Eseménymegjegyzés szerkesztése" -#: src/Dialogs.vala:1351 +#: src/Dialogs.vala:1367 msgid "Edit Photo/Video Comment" msgstr "Fénykép vagy videó megjegyzésének szerkesztése" -#: src/Dialogs.vala:1352 src/Properties.vala:628 +#: src/Dialogs.vala:1368 src/Properties.vala:628 msgid "Comment:" msgstr "Megjegyzés:" -#: src/Dialogs.vala:1368 +#: src/Dialogs.vala:1384 msgid "Remove and _Trash File" msgid_plural "Remove and _Trash Files" msgstr[0] "_Fájl eltávolítása és a Kukába helyezése" msgstr[1] "_Fájlok eltávolítása és a Kukába helyezésük" -#: src/Dialogs.vala:1372 +#: src/Dialogs.vala:1388 msgid "_Remove From Library" msgstr "_Eltávolítás a gyűjteményből" -#: src/Dialogs.vala:1415 +#: src/Dialogs.vala:1431 msgid "Revert External Edit?" msgstr "Visszavonja a külső szerkesztést?" -#: src/Dialogs.vala:1415 +#: src/Dialogs.vala:1431 msgid "Revert External Edits?" msgstr "Visszavonja a külső szerkesztéseket?" -#: src/Dialogs.vala:1417 +#: src/Dialogs.vala:1433 #, c-format -msgid "This will destroy all changes made to the external file. Continue?" +msgid "This will destroy all changes made to the external file. Continue?" msgid_plural "" -"This will destroy all changes made to %d external files. Continue?" +"This will destroy all changes made to %d external files. Continue?" msgstr[0] "Ezzel a külső fájlon végzett minden változtatás elvész. Folytatja?" -msgstr[1] "" -"Ezzel a külső %d fájlon végzett minden változtatás elvész. Folytatja?" +msgstr[1] "Ezzel %d külső fájlon végzett minden változtatás elvész. Folytatja?" -#: src/Dialogs.vala:1421 +#: src/Dialogs.vala:1437 msgid "Re_vert External Edit" msgstr "Külső szerkesztés _visszavonása" -#: src/Dialogs.vala:1421 +#: src/Dialogs.vala:1437 msgid "Re_vert External Edits" msgstr "Külső szerkesztések _visszavonása" -#: src/Dialogs.vala:1442 +#: src/Dialogs.vala:1458 #, c-format -msgid "This will remove the photo from the library. Continue?" -msgid_plural "This will remove %d photos from the library. Continue?" +msgid "This will remove the photo from the library. Continue?" +msgid_plural "This will remove %d photos from the library. Continue?" msgstr[0] "Ezzel eltávolítja a fényképet a gyűjteményből. Folytatja?" msgstr[1] "Ezzel eltávolít %d fényképet a gyűjteményből. Folytatja?" -#: src/Dialogs.vala:1449 src/Resources.vala:173 +#: src/Dialogs.vala:1465 src/Resources.vala:173 msgid "_Remove" msgstr "_Eltávolítás" -#: src/Dialogs.vala:1450 +#: src/Dialogs.vala:1466 msgid "Remove Photo From Library" msgstr "Fénykép eltávolítása a gyűjteményből" -#: src/Dialogs.vala:1450 +#: src/Dialogs.vala:1466 msgid "Remove Photos From Library" msgstr "Fényképek eltávolítása a gyűjteményből" -#: src/Dialogs.vala:1543 +#: src/Dialogs.vala:1559 #, c-format msgid "%d%%" msgstr "%d%%" -#: src/Dialogs.vala:1697 +#: src/Dialogs.vala:1713 msgid "AM" msgstr "DE" -#: src/Dialogs.vala:1698 +#: src/Dialogs.vala:1714 msgid "PM" msgstr "DU" -#: src/Dialogs.vala:1699 +#: src/Dialogs.vala:1715 msgid "24 Hr" msgstr "24 óra" -#: src/Dialogs.vala:1714 +#: src/Dialogs.vala:1730 msgid "_Shift photos/videos by the same amount" msgstr "Fényképek vagy videók _eltolása azonos mennyiséggel" -#: src/Dialogs.vala:1719 +#: src/Dialogs.vala:1735 msgid "Set _all photos/videos to this time" msgstr "Min_den fénykép vagy videó beállítása erre az időre" -#: src/Dialogs.vala:1726 +#: src/Dialogs.vala:1742 msgid "_Modify original photo file" msgstr "Eredeti fényképfájl _módosítása" -#: src/Dialogs.vala:1726 +#: src/Dialogs.vala:1742 msgid "_Modify original photo files" msgstr "Eredeti fényképfájlok _módosítása" -#: src/Dialogs.vala:1729 +#: src/Dialogs.vala:1745 msgid "_Modify original file" msgstr "Eredeti fájl _módosítása" -#: src/Dialogs.vala:1729 +#: src/Dialogs.vala:1745 msgid "_Modify original files" msgstr "Eredeti fájlok _módosítása" -#: src/Dialogs.vala:1815 +#: src/Dialogs.vala:1831 msgid "Original: " msgstr "Eredeti: " -#: src/Dialogs.vala:1816 +#: src/Dialogs.vala:1832 msgid "%m/%d/%Y, %H:%M:%S" msgstr "%Y. %m. %d., %k.%M.%S" -#: src/Dialogs.vala:1817 +#: src/Dialogs.vala:1833 msgid "%m/%d/%Y, %I:%M:%S %p" msgstr "%Y. %m. %d., %l.%M.%S %p" -#: src/Dialogs.vala:1906 +#: src/Dialogs.vala:1922 #, c-format msgid "" "Exposure time will be shifted forward by\n" @@ -3599,7 +3726,7 @@ msgstr "" "A képek készítése előre lesz tolva ennyivel:\n" "%d %s, %d %s, %d %s, és %d %s." -#: src/Dialogs.vala:1907 +#: src/Dialogs.vala:1923 #, c-format msgid "" "Exposure time will be shifted backward by\n" @@ -3608,31 +3735,31 @@ msgstr "" "A képek készítése vissza lesz tolva ennyivel:\n" "%d %s, %d %s, %d %s, és %d %s." -#: src/Dialogs.vala:1909 +#: src/Dialogs.vala:1925 msgid "day" msgid_plural "days" msgstr[0] "nap" msgstr[1] "nap" -#: src/Dialogs.vala:1910 +#: src/Dialogs.vala:1926 msgid "hour" msgid_plural "hours" msgstr[0] "óra" msgstr[1] "óra" -#: src/Dialogs.vala:1911 +#: src/Dialogs.vala:1927 msgid "minute" msgid_plural "minutes" msgstr[0] "perc" msgstr[1] "perc" -#: src/Dialogs.vala:1912 +#: src/Dialogs.vala:1928 msgid "second" msgid_plural "seconds" msgstr[0] "másodperc" msgstr[1] "másodperc" -#: src/Dialogs.vala:1956 +#: src/Dialogs.vala:1972 #, c-format msgid "" "\n" @@ -3651,53 +3778,53 @@ msgstr[1] "" "\n" "És %d egyéb." -#: src/Dialogs.vala:1980 src/Dialogs.vala:2007 +#: src/Dialogs.vala:1996 src/Dialogs.vala:2023 msgid "Tags (separated by commas):" msgstr "Címkék (vesszővel elválasztva):" -#: src/Dialogs.vala:2087 +#: src/Dialogs.vala:2103 msgid "Welcome!" msgstr "Üdvözöljük!" -#: src/Dialogs.vala:2094 +#: src/Dialogs.vala:2110 msgid "Welcome to Shotwell!" msgstr "Üdvözöljük a Shotwellben!" -#: src/Dialogs.vala:2098 +#: src/Dialogs.vala:2114 msgid "To get started, import photos in any of these ways:" msgstr "Az alábbi módokon importálhatja fényképeit:" -#: src/Dialogs.vala:2117 +#: src/Dialogs.vala:2133 #, c-format msgid "Choose <span weight=\"bold\">File %s Import From Folder</span>" msgstr "" "Válassza a <span weight=\"bold\">Fájl %s Importálás mappából</span> " "menüpontot" -#: src/Dialogs.vala:2118 +#: src/Dialogs.vala:2134 msgid "Drag and drop photos onto the Shotwell window" msgstr "Húzza fényképeit a Shotwell ablakába" -#: src/Dialogs.vala:2119 +#: src/Dialogs.vala:2135 msgid "Connect a camera to your computer and import" msgstr "" "Csatlakoztasson egy fényképezőgépet a számítógéphez, és importálja a " "fényképeit" -#: src/Dialogs.vala:2129 +#: src/Dialogs.vala:2145 #, c-format msgid "_Import photos from your %s folder" msgstr "Fényképek i_mportálása a(z) %s mappájából" -#: src/Dialogs.vala:2136 +#: src/Dialogs.vala:2152 msgid "You can also import photos in any of these ways:" msgstr "Fényképeket a következő módokon is importálhat:" -#: src/Dialogs.vala:2146 -msgid "_Don't show this message again" +#: src/Dialogs.vala:2162 +msgid "_Don’t show this message again" msgstr "_Ne jelenjen meg ez az üzenet többé" -#: src/Dialogs.vala:2181 +#: src/Dialogs.vala:2197 #, c-format msgid "Import photos from your %s library" msgstr "Fényképek importálása a(z) %s gyűjteményéből" @@ -3705,41 +3832,41 @@ msgstr "Fényképek importálása a(z) %s gyűjteményéből" #. We're installed system-wide, so use the system help. #. We're being run from the build directory; we'll have to handle clicks to this #. link manually ourselves, due to a limitation of help: URIs. -#: src/Dialogs.vala:2328 src/Dialogs.vala:2332 +#: src/Dialogs.vala:2344 src/Dialogs.vala:2348 msgid "(Help)" msgstr "(Súgó)" -#: src/Dialogs.vala:2341 +#: src/Dialogs.vala:2357 #, c-format msgid "Year%sMonth%sDay" msgstr "Év%sHónap%sNap" -#: src/Dialogs.vala:2343 +#: src/Dialogs.vala:2359 #, c-format msgid "Year%sMonth" msgstr "Év%sHónap" -#: src/Dialogs.vala:2345 +#: src/Dialogs.vala:2361 #, c-format msgid "Year%sMonth-Day" msgstr "Év%sHónap-Nap" -#: src/Dialogs.vala:2347 +#: src/Dialogs.vala:2363 msgid "Year-Month-Day" msgstr "Év-Hónap-Nap" -#: src/Dialogs.vala:2348 src/editing_tools/EditingTools.vala:781 +#: src/Dialogs.vala:2364 src/editing_tools/EditingTools.vala:781 msgid "Custom" msgstr "Egyéni" #. Invalid pattern. -#: src/Dialogs.vala:2585 +#: src/Dialogs.vala:2601 msgid "Invalid pattern" msgstr "Érvénytelen minta" #. This function is used to determine whether or not files should be copied or linked when imported. #. Returns ACCEPT for copy, REJECT for link, and CANCEL for (drum-roll) cancel. -#: src/Dialogs.vala:2687 +#: src/Dialogs.vala:2703 msgid "" "Shotwell can copy the photos into your library folder or it can import them " "without copying." @@ -3747,40 +3874,40 @@ msgstr "" "A Shotwell átmásolhatja a fényképeket a gyűjtemény könyvtárába, vagy " "importálhatja azokat másolás nélkül is." -#: src/Dialogs.vala:2692 +#: src/Dialogs.vala:2708 msgid "Co_py Photos" msgstr "Fény_képek másolása" -#: src/Dialogs.vala:2693 +#: src/Dialogs.vala:2709 msgid "_Import in Place" msgstr "_Importálás" -#: src/Dialogs.vala:2694 +#: src/Dialogs.vala:2710 msgid "Import to Library" msgstr "Importálás a gyűjteménybe" -#: src/Dialogs.vala:2704 src/PhotoPage.vala:3085 +#: src/Dialogs.vala:2720 src/PhotoPage.vala:3085 msgid "Remove From Library" msgstr "Eltávolítás a gyűjteményből" -#: src/Dialogs.vala:2705 src/PhotoPage.vala:3085 +#: src/Dialogs.vala:2721 src/PhotoPage.vala:3085 msgid "Removing Photo From Library" msgstr "Fényképek eltávolítás a gyűjteményből" -#: src/Dialogs.vala:2705 +#: src/Dialogs.vala:2721 msgid "Removing Photos From Library" msgstr "Fényképek eltávolítása a gyűjteményből" -#: src/Dialogs.vala:2719 +#: src/Dialogs.vala:2735 #, c-format msgid "" -"This will remove the photo/video from your Shotwell library. Would you also " +"This will remove the photo/video from your Shotwell library. Would you also " "like to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d photos/videos from your Shotwell library. Would you " -"also like to move the files to your desktop trash?\n" +"This will remove %d photos/videos from your Shotwell library. Would you also " +"like to move the files to your desktop trash?\n" "\n" "This action cannot be undone." msgstr[0] "" @@ -3794,15 +3921,15 @@ msgstr[1] "" "\n" "Ez a művelet nem vonható vissza." -#: src/Dialogs.vala:2723 +#: src/Dialogs.vala:2739 #, c-format msgid "" -"This will remove the video from your Shotwell library. Would you also like " +"This will remove the video from your Shotwell library. Would you also like " "to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d videos from your Shotwell library. Would you also like " +"This will remove %d videos from your Shotwell library. Would you also like " "to move the files to your desktop trash?\n" "\n" "This action cannot be undone." @@ -3817,15 +3944,15 @@ msgstr[1] "" "\n" "Ez a művelet nem vonható vissza." -#: src/Dialogs.vala:2727 +#: src/Dialogs.vala:2743 #, c-format msgid "" -"This will remove the photo from your Shotwell library. Would you also like " +"This will remove the photo from your Shotwell library. Would you also like " "to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d photos from your Shotwell library. Would you also like " +"This will remove %d photos from your Shotwell library. Would you also like " "to move the files to your desktop trash?\n" "\n" "This action cannot be undone." @@ -3840,17 +3967,17 @@ msgstr[1] "" "\n" "Ez a művelet nem vonható vissza." -#: src/Dialogs.vala:2759 +#: src/Dialogs.vala:2775 #, c-format msgid "" -"The photo or video cannot be moved to your desktop trash. Delete this file?" +"The photo or video cannot be moved to your desktop trash. Delete this file?" msgid_plural "" -"%d photos/videos cannot be moved to your desktop trash. Delete these files?" -msgstr[0] "%d fénykép vagy videó nem helyezhető át a Kukába. Törli a fájlt?" +"%d photos/videos cannot be moved to your desktop trash. Delete these files?" +msgstr[0] "A fénykép vagy videó nem helyezhető át a Kukába. Törli a fájlt?" msgstr[1] "%d fénykép vagy videó nem helyezhető át a Kukába. Törli a fájlokat?" #. Alert the user that the files were not removed. -#: src/Dialogs.vala:2776 +#: src/Dialogs.vala:2792 #, c-format msgid "The photo or video cannot be deleted." msgid_plural "%d photos/videos cannot be deleted." @@ -3879,7 +4006,7 @@ msgid "Save photo" msgstr "Fénykép mentése" #: src/direct/DirectPhotoPage.vala:57 -msgid "Save _As..." +msgid "Save _As…" msgstr "Men_tés másként…" #: src/direct/DirectPhotoPage.vala:58 @@ -4059,84 +4186,84 @@ msgid "-" msgstr "-" #: src/editing_tools/EditingTools.vala:758 -msgid "SD Video (4 : 3)" -msgstr "SD videó (4 : 3)" +msgid "SD Video (4 ∶ 3)" +msgstr "SD videó (4 ∶ 3)" #: src/editing_tools/EditingTools.vala:759 -msgid "HD Video (16 : 9)" -msgstr "HD videó (16 : 9)" +msgid "HD Video (16 ∶ 9)" +msgstr "HD videó (16 ∶ 9)" #: src/editing_tools/EditingTools.vala:761 src/Printing.vala:818 -msgid "Wallet (2 x 3 in.)" -msgstr "Tárca (2 x 3 hüvelyk)" +msgid "Wallet (2 × 3 in.)" +msgstr "Tárca (2 × 3 hüvelyk)" #: src/editing_tools/EditingTools.vala:762 src/Printing.vala:821 -msgid "Notecard (3 x 5 in.)" -msgstr "Jegyzettömb (3 x 5 hüvelyk)" +msgid "Notecard (3 × 5 in.)" +msgstr "Jegyzettömb (3 × 5 hüvelyk)" #: src/editing_tools/EditingTools.vala:763 src/Printing.vala:824 -msgid "4 x 6 in." -msgstr "4 x 6 hüvelyk" +msgid "4 × 6 in." +msgstr "4 × 6 hüvelyk" #: src/editing_tools/EditingTools.vala:764 src/Printing.vala:827 -msgid "5 x 7 in." -msgstr "5 x 7 hüvelyk" +msgid "5 × 7 in." +msgstr "5 × 7 hüvelyk" #: src/editing_tools/EditingTools.vala:765 src/Printing.vala:830 -msgid "8 x 10 in." -msgstr "8 x 10 hüvelyk" +msgid "8 × 10 in." +msgstr "8 × 10 hüvelyk" #: src/editing_tools/EditingTools.vala:766 -msgid "Letter (8.5 x 11 in.)" -msgstr "Letter (8.5 x 11 hüvelyk)" +msgid "Letter (8.5 × 11 in.)" +msgstr "Letter (8.5 × 11 hüvelyk)" #: src/editing_tools/EditingTools.vala:767 src/Printing.vala:833 -msgid "11 x 14 in." -msgstr "11 x 14 hüvelyk" +msgid "11 × 14 in." +msgstr "11 × 14 hüvelyk" #: src/editing_tools/EditingTools.vala:768 -msgid "Tabloid (11 x 17 in.)" -msgstr "Tabloid (11 x 17 hüvelyk)" +msgid "Tabloid (11 × 17 in.)" +msgstr "Tabloid (11 × 17 hüvelyk)" #: src/editing_tools/EditingTools.vala:769 src/Printing.vala:836 -msgid "16 x 20 in." -msgstr "16 x 20 hüvelyk" +msgid "16 × 20 in." +msgstr "16 × 20 hüvelyk" #: src/editing_tools/EditingTools.vala:771 src/Printing.vala:842 -msgid "Metric Wallet (9 x 13 cm)" -msgstr "Metrikus tárca (9 x 13 cm)" +msgid "Metric Wallet (9 × 13 cm)" +msgstr "Metrikus tárca (9 × 13 cm)" #: src/editing_tools/EditingTools.vala:772 src/Printing.vala:845 -msgid "Postcard (10 x 15 cm)" -msgstr "Képeslap (10 x 15 cm)" +msgid "Postcard (10 × 15 cm)" +msgstr "Képeslap (10 × 15 cm)" #: src/editing_tools/EditingTools.vala:773 src/Printing.vala:848 -msgid "13 x 18 cm" -msgstr "13 x 18 cm" +msgid "13 × 18 cm" +msgstr "13 × 18 cm" #: src/editing_tools/EditingTools.vala:774 src/Printing.vala:851 -msgid "18 x 24 cm" -msgstr "18 x 24 cm" +msgid "18 × 24 cm" +msgstr "18 × 24 cm" #: src/editing_tools/EditingTools.vala:775 -msgid "A4 (210 x 297 mm)" -msgstr "A4 (210 x 297 mm)" +msgid "A4 (210 × 297 mm)" +msgstr "A4 (210 × 297 mm)" #: src/editing_tools/EditingTools.vala:776 src/Printing.vala:854 -msgid "20 x 30 cm" -msgstr "20 x 30 cm" +msgid "20 × 30 cm" +msgstr "20 × 30 cm" #: src/editing_tools/EditingTools.vala:777 src/Printing.vala:857 -msgid "24 x 40 cm" -msgstr "24 x 40 cm" +msgid "24 × 40 cm" +msgstr "24 × 40 cm" #: src/editing_tools/EditingTools.vala:778 src/Printing.vala:860 -msgid "30 x 40 cm" -msgstr "30 x 40 cm" +msgid "30 × 40 cm" +msgstr "30 × 40 cm" #: src/editing_tools/EditingTools.vala:779 -msgid "A3 (297 x 420 mm)" -msgstr "A3 (297 x 420 mm)" +msgid "A3 (297 × 420 mm)" +msgstr "A3 (297 × 420 mm)" #: src/editing_tools/EditingTools.vala:1872 src/Properties.vala:395 msgid "Size:" @@ -4150,70 +4277,78 @@ msgstr "Vörösszem-effektus eszköz bezárása" msgid "Remove any red-eye effects in the selected region" msgstr "Minden vörösszem-effektus eltávolítása a kijelölt területről" -#: src/editing_tools/EditingTools.vala:2226 +#: src/editing_tools/EditingTools.vala:2229 #: src/editing_tools/StraightenTool.vala:102 msgid "_Reset" msgstr "_Visszaállítás" #. fit both on the top line, emit and move on -#: src/editing_tools/EditingTools.vala:2240 src/Properties.vala:436 +#: src/editing_tools/EditingTools.vala:2243 src/Properties.vala:436 #: src/Properties.vala:440 src/Properties.vala:447 msgid "Exposure:" msgstr "Expozíció:" -#: src/editing_tools/EditingTools.vala:2248 +#: src/editing_tools/EditingTools.vala:2251 +msgid "Contrast:" +msgstr "Kontraszt:" + +#: src/editing_tools/EditingTools.vala:2259 msgid "Saturation:" msgstr "Telítettség:" -#: src/editing_tools/EditingTools.vala:2256 +#: src/editing_tools/EditingTools.vala:2267 msgid "Tint:" msgstr "Árnyalat:" -#: src/editing_tools/EditingTools.vala:2265 +#: src/editing_tools/EditingTools.vala:2276 msgid "Temperature:" msgstr "Hőmérséklet:" -#: src/editing_tools/EditingTools.vala:2273 +#: src/editing_tools/EditingTools.vala:2284 msgid "Shadows:" msgstr "Árnyékok:" -#: src/editing_tools/EditingTools.vala:2281 +#: src/editing_tools/EditingTools.vala:2292 msgid "Highlights:" msgstr "Kiemelések:" -#: src/editing_tools/EditingTools.vala:2335 +#: src/editing_tools/EditingTools.vala:2346 msgid "Reset Colors" msgstr "Színek visszaállítása" -#: src/editing_tools/EditingTools.vala:2335 +#: src/editing_tools/EditingTools.vala:2346 msgid "Reset all color adjustments to original" msgstr "Minden színmódosítás elvetése" -#: src/editing_tools/EditingTools.vala:2687 +#: src/editing_tools/EditingTools.vala:2705 msgid "Temperature" msgstr "Hőmérséklet" -#: src/editing_tools/EditingTools.vala:2700 +#: src/editing_tools/EditingTools.vala:2717 msgid "Tint" msgstr "Árnyalat" -#: src/editing_tools/EditingTools.vala:2713 +#: src/editing_tools/EditingTools.vala:2729 +msgid "Contrast" +msgstr "Kontraszt" + +#: src/editing_tools/EditingTools.vala:2743 msgid "Saturation" msgstr "Telítettség" -#: src/editing_tools/EditingTools.vala:2726 +#: src/editing_tools/EditingTools.vala:2756 msgid "Exposure" msgstr "Expozíció" -#: src/editing_tools/EditingTools.vala:2739 +#: src/editing_tools/EditingTools.vala:2769 msgid "Shadows" msgstr "Árnyékok" -#: src/editing_tools/EditingTools.vala:2752 +#: src/editing_tools/EditingTools.vala:2782 msgid "Highlights" msgstr "Kiemelések" -#: src/editing_tools/EditingTools.vala:2762 +#: src/editing_tools/EditingTools.vala:2792 msgid "Contrast Expansion" msgstr "Kontraszt növelése" @@ -4287,7 +4422,7 @@ msgid "%B" msgstr "%B" #. if no name, pretty up the start time -#: src/Event.vala:751 +#: src/Event.vala:753 #, c-format msgid "Event %s" msgstr "%s események" @@ -4303,8 +4438,8 @@ msgstr "Exportálás" #: src/Exporter.vala:317 #, c-format -msgid "File %s already exists. Replace?" -msgstr "A fájl (%s) már létezik. Lecseréli?" +msgid "File %s already exists. Replace?" +msgstr "A(z) %s fájl már létezik. Lecseréli?" #: src/Exporter.vala:319 msgid "_Skip" @@ -4341,7 +4476,7 @@ msgid "Flagged" msgstr "Megjelölve" #: src/library/ImportQueuePage.vala:8 -msgid "Importing..." +msgid "Importing…" msgstr "Importálás…" #: src/library/ImportQueuePage.vala:67 @@ -4353,7 +4488,7 @@ msgid "Stop importing photos" msgstr "Fényképek importálásának leállítása" #: src/library/ImportQueuePage.vala:124 -msgid "Preparing to import..." +msgid "Preparing to import…" msgstr "Importálás előkészítése…" #: src/library/ImportQueuePage.vala:151 @@ -4366,7 +4501,7 @@ msgid "Last Import" msgstr "Utolsó importálás" #: src/library/LibraryWindow.vala:285 -msgid "_Import From Folder..." +msgid "_Import From Folder…" msgstr "_Importálás mappából…" #: src/library/LibraryWindow.vala:286 @@ -4374,7 +4509,7 @@ msgid "Import photos from disk to library" msgstr "Fényképek importálása a gyűjteménybe lemezről" #: src/library/LibraryWindow.vala:293 -msgid "Import From _Application..." +msgid "Import From _Application…" msgstr "Importálás _alkalmazásból…" #: src/library/LibraryWindow.vala:297 @@ -4403,7 +4538,7 @@ msgstr "Fényképek és videók keresése keresőkifejezésekkel" #: src/library/LibraryWindow.vala:329 src/searches/Branch.vala:77 #: src/sidebar/Tree.vala:199 -msgid "Ne_w Saved Search..." +msgid "Ne_w Saved Search…" msgstr "Új _mentett keresés…" #: src/library/LibraryWindow.vala:351 @@ -4483,7 +4618,7 @@ msgid "Empty Trash" msgstr "Kuka ürítése" #: src/library/LibraryWindow.vala:726 -msgid "Emptying Trash..." +msgid "Emptying Trash…" msgstr "Kuka ürítése…" #: src/library/LibraryWindow.vala:901 @@ -4514,19 +4649,19 @@ msgid "%s (%d%%)" msgstr "%s (%d%%)" #: src/library/LibraryWindow.vala:1247 src/library/LibraryWindow.vala:1258 -msgid "Updating library..." +msgid "Updating library…" msgstr "Gyűjtemény frissítése…" #: src/library/LibraryWindow.vala:1264 -msgid "Preparing to auto-import photos..." +msgid "Preparing to auto-import photos…" msgstr "Felkészülés fényképek automatikus importáláshoz…" #: src/library/LibraryWindow.vala:1269 -msgid "Auto-importing photos..." +msgid "Auto-importing photos…" msgstr "Fényképek automatikus importálása…" #: src/library/LibraryWindow.vala:1277 -msgid "Writing metadata to files..." +msgid "Writing metadata to files…" msgstr "Metaadatok írása a fájlokba…" #: src/library/OfflinePage.vala:8 @@ -4534,7 +4669,7 @@ msgid "Missing Files" msgstr "Hiányzó fájlok" #: src/library/OfflinePage.vala:106 -msgid "Deleting..." +msgid "Deleting…" msgstr "Törlés…" #: src/library/TrashPage.vala:8 @@ -4556,9 +4691,9 @@ msgstr "Fényképek törlése" #: src/main.vala:54 #, c-format msgid "" -"Your photo library is not compatible with this version of Shotwell. It " -"appears it was created by Shotwell %s (schema %d). This version is %s " -"(schema %d). Please use the latest version of Shotwell." +"Your photo library is not compatible with this version of Shotwell. It " +"appears it was created by Shotwell %s (schema %d). This version is %s " +"(schema %d). Please use the latest version of Shotwell." msgstr "" "A fényképgyűjteménye nem kompatibilis ezzel a Shotwell verzióval. Úgy tűnik, " "a Shotwell %s verzióval (%d. séma) készült, míg a jelenlegi verzió: %s (%d. " @@ -4568,7 +4703,7 @@ msgstr "" #, c-format msgid "" "Shotwell was unable to upgrade your photo library from version %s (schema " -"%d) to %s (schema %d). For more information please check the Shotwell Wiki " +"%d) to %s (schema %d). For more information please check the Shotwell Wiki " "at %s" msgstr "" "A Shotwell nem volt képes frissíteni az Ön fényképgyűjteményét %s verzióról " @@ -4578,9 +4713,9 @@ msgstr "" #: src/main.vala:65 #, c-format msgid "" -"Your photo library is not compatible with this version of Shotwell. It " -"appears it was created by Shotwell %s (schema %d). This version is %s " -"(schema %d). Please clear your library by deleting %s and re-import your " +"Your photo library is not compatible with this version of Shotwell. It " +"appears it was created by Shotwell %s (schema %d). This version is %s " +"(schema %d). Please clear your library by deleting %s and re-import your " "photos." msgstr "" "A fényképgyűjteménye nem kompatibilis ezzel a Shotwell verzióval. Úgy tűnik, " @@ -4590,7 +4725,7 @@ msgstr "" #: src/main.vala:71 #, c-format -msgid "Unknown error attempting to verify Shotwell's database: %s" +msgid "Unknown error attempting to verify Shotwell’s database: %s" msgstr "Ismeretlen hiba a Shotwell adatbázisának ellenőrzésekor: %s" #: src/main.vala:104 @@ -4598,7 +4733,7 @@ msgid "Loading Shotwell" msgstr "A Shotwell betöltése" #: src/main.vala:294 -msgid "Path to Shotwell's private data" +msgid "Path to Shotwell’s private data" msgstr "A Shotwell privát adatainak útvonala" #: src/main.vala:294 @@ -4610,11 +4745,11 @@ msgid "Do not monitor library directory at runtime for changes" msgstr "Ne figyelje a változásokat a gyűjteménykönyvtárban futás közben" #: src/main.vala:302 -msgid "Don't display startup progress meter" +msgid "Don’t display startup progress meter" msgstr "Ne jelenítse meg az indítási folyamatjelzőt" #: src/main.vala:306 -msgid "Show the application's version" +msgid "Show the application’s version" msgstr "Az alkalmazás verziószámának megjelenítése" #. init GTK (valac has already called g_threads_init()) @@ -4624,7 +4759,7 @@ msgstr "[FÁJL]" #: src/main.vala:342 #, c-format -msgid "Run '%s --help' to see a full list of available command line options.\n" +msgid "Run “%s --help” to see a full list of available command line options.\n" msgstr "" "A parancssori paraméterek teljes listája a „%s --help” paranccsal íratható " "ki.\n" @@ -4667,7 +4802,7 @@ msgid "Display the comment of each photo" msgstr "Az egyes képek megjegyzéseinek megjelenítése" #: src/MediaPage.vala:470 -msgid "Display each photo's tags" +msgid "Display each photo’s tags" msgstr "Fényképek címkéinek megjelenítése" #: src/MediaPage.vala:486 @@ -4828,7 +4963,7 @@ msgid "Image Settings" msgstr "Képbeállítások" #: src/Printing.vala:889 -msgid "Printing..." +msgid "Printing…" msgstr "Nyomtatás…" #: src/Printing.vala:909 src/Printing.vala:1112 @@ -4974,8 +5109,8 @@ msgstr "%d/%d feltöltése" #: src/publishing/PublishingPluginHost.vala:81 #, c-format -msgid "Publishing to %s can't continue because an error occurred:" -msgstr "A közzététel egy hiba miatt nem folytatódhat erre: %s:" +msgid "Publishing to %s can’t continue because an error occurred:" +msgstr "A közzététel ide: %s, egy hiba miatt nem folytatódhat:" #: src/publishing/PublishingPluginHost.vala:84 msgid "To try publishing to another service, select one from the above menu." @@ -5003,11 +5138,11 @@ msgid "The selected photo was successfully published." msgstr "A kijelölt fénykép sikeresen közzétéve." #: src/publishing/PublishingUI.vala:122 -msgid "Fetching account information..." +msgid "Fetching account information…" msgstr "Fiókinformációk letöltése…" #: src/publishing/PublishingUI.vala:128 -msgid "Logging in..." +msgid "Logging in…" msgstr "Bejelentkezés…" #: src/publishing/PublishingUI.vala:188 @@ -5198,7 +5333,7 @@ msgid "Enhance" msgstr "Feljavítás" #: src/Resources.vala:188 -msgid "Automatically improve the photo's appearance" +msgid "Automatically improve the photo’s appearance" msgstr "Fényképek megjelenésének automatikus javítása" #: src/Resources.vala:190 @@ -5234,7 +5369,7 @@ msgid "Crop" msgstr "Levágás" #: src/Resources.vala:200 -msgid "Crop the photo's size" +msgid "Crop the photo’s size" msgstr "Levágás a fénykép méretéből" #: src/Resources.vala:203 @@ -5266,7 +5401,7 @@ msgid "Adjust" msgstr "Módosítás" #: src/Resources.vala:212 -msgid "Adjust the photo's color and tone" +msgid "Adjust the photo’s color and tone" msgstr "Fénykép színének és tónusának módosítása" #: src/Resources.vala:214 @@ -5294,7 +5429,7 @@ msgid "Set selected image to be the new desktop background" msgstr "Kiválasztott fénykép beállítása asztalháttérként" #: src/Resources.vala:222 -msgid "Set as _Desktop Slideshow..." +msgid "Set as _Desktop Slideshow…" msgstr "Beállítás asztali _diavetítésként…" #: src/Resources.vala:224 @@ -5314,7 +5449,7 @@ msgid "Redo" msgstr "Újra" #: src/Resources.vala:230 -msgid "Re_name Event..." +msgid "Re_name Event…" msgstr "Esemé_ny átnevezése…" #: src/Resources.vala:233 @@ -5456,7 +5591,7 @@ msgid "_Ratings" msgstr "É_rtékelések" #: src/Resources.vala:280 -msgid "Display each photo's rating" +msgid "Display each photo’s rating" msgstr "A fényképek értékelésének megjelenítése" #: src/Resources.vala:282 @@ -5484,15 +5619,15 @@ msgid "Make a duplicate of the photo" msgstr "Másolat készítése a fényképről" #: src/Resources.vala:290 -msgid "_Export..." -msgstr "_Exportálás…" +msgid "_Export…" +msgstr "E_xportálás…" #: src/Resources.vala:292 -msgid "_Print..." +msgid "_Print…" msgstr "_Nyomtatás…" #: src/Resources.vala:294 -msgid "Pu_blish..." +msgid "Pu_blish…" msgstr "Kö_zzététel…" #: src/Resources.vala:296 @@ -5500,7 +5635,7 @@ msgid "Publish to various websites" msgstr "Közzététel különböző weboldalakon" #: src/Resources.vala:298 -msgid "Edit _Title..." +msgid "Edit _Title…" msgstr "_Cím szerkesztése…" #. Button label @@ -5510,7 +5645,7 @@ msgid "Edit Title" msgstr "Cím szerkesztése" #: src/Resources.vala:302 -msgid "Edit _Comment..." +msgid "Edit _Comment…" msgstr "Megjegyzés s_zerkesztése…" #. Button label @@ -5519,11 +5654,11 @@ msgid "Edit Comment" msgstr "A megjegyzés szerkesztése" #: src/Resources.vala:306 -msgid "Edit Event _Comment..." +msgid "Edit Event _Comment…" msgstr "_Eseménymegjegyzés szerkesztése…" #: src/Resources.vala:309 -msgid "_Adjust Date and Time..." +msgid "_Adjust Date and Time…" msgstr "_Dátum és idő módosítása…" #: src/Resources.vala:310 @@ -5531,12 +5666,12 @@ msgid "Adjust Date and Time" msgstr "Dátum és idő módosítása" #: src/Resources.vala:312 -msgid "Add _Tags..." +msgid "Add _Tags…" msgstr "_Címkék hozzáadása…" #: src/Resources.vala:313 -msgid "_Add Tags..." -msgstr "Címkék hozzáadása…" +msgid "_Add Tags…" +msgstr "Címkék _hozzáadása…" #. Dialog title #: src/Resources.vala:315 @@ -5553,15 +5688,15 @@ msgid "Open With RA_W Editor" msgstr "Megnyitás RA_W szerkesztővel" #: src/Resources.vala:323 -msgid "Send _To..." +msgid "Send _To…" msgstr "Kül_dés…" #: src/Resources.vala:324 -msgid "Send T_o..." -msgstr "Küldés _célja…" +msgid "Send T_o…" +msgstr "_Küldés…" #: src/Resources.vala:326 -msgid "_Find..." +msgid "_Find…" msgstr "_Keresés…" #: src/Resources.vala:327 @@ -5587,13 +5722,13 @@ msgstr "A szerkesztő nem indítható el: %s" #: src/Resources.vala:340 #, c-format -msgid "Add Tag \"%s\"" +msgid "Add Tag “%s”" msgstr "„%s” címke hozzáadása" #. Used when adding two tags to photo(s) #: src/Resources.vala:343 #, c-format -msgid "Add Tags \"%s\" and \"%s\"" +msgid "Add Tags “%s” and “%s”" msgstr "„%s” és „%s” címke hozzáadása" #. Undo/Redo command name (in Edit menu) @@ -5604,12 +5739,12 @@ msgstr "Címkék hozzáadása" #: src/Resources.vala:353 #, c-format -msgid "_Delete Tag \"%s\"" +msgid "_Delete Tag “%s”" msgstr "„%s” címke _törlése" #: src/Resources.vala:357 #, c-format -msgid "Delete Tag \"%s\"" +msgid "Delete Tag “%s”" msgstr "„%s” címke törlése" #: src/Resources.vala:360 @@ -5618,20 +5753,20 @@ msgstr "Címke törlése" #: src/Resources.vala:366 #, c-format -msgid "Re_name Tag \"%s\"..." +msgid "Re_name Tag “%s”…" msgstr "„%s” címke át_nevezése…" #: src/Resources.vala:370 #, c-format -msgid "Rename Tag \"%s\" to \"%s\"" +msgid "Rename Tag “%s” to “%s”" msgstr "„%s” címke átnevezése erre: „%s”" #: src/Resources.vala:373 -msgid "_Rename..." +msgid "_Rename…" msgstr "Át_nevezés…" #: src/Resources.vala:375 -msgid "Modif_y Tags..." +msgid "Modif_y Tags…" msgstr "Cí_mkék módosítása…" #: src/Resources.vala:376 @@ -5640,52 +5775,52 @@ msgstr "Címkék módosítása" #: src/Resources.vala:379 #, c-format -msgid "Tag Photo as \"%s\"" -msgstr "Fényképek címkézése ezzel: „%s”" +msgid "Tag Photo as “%s”" +msgstr "Fénykép címkézése ezzel: „%s”" #: src/Resources.vala:379 #, c-format -msgid "Tag Photos as \"%s\"" +msgid "Tag Photos as “%s”" msgstr "Fényképek címkézése ezzel: „%s”" #: src/Resources.vala:383 #, c-format -msgid "Tag the selected photo as \"%s\"" -msgstr "Kiválasztott fényképek címkézése ezzel: „%s”" +msgid "Tag the selected photo as “%s”" +msgstr "Kiválasztott fénykép címkézése ezzel: „%s”" #: src/Resources.vala:384 #, c-format -msgid "Tag the selected photos as \"%s\"" +msgid "Tag the selected photos as “%s”" msgstr "Kiválasztott fényképek címkézése ezzel: „%s”" #: src/Resources.vala:388 #, c-format -msgid "Remove Tag \"%s\" From _Photo" +msgid "Remove Tag “%s” From _Photo" msgstr "„%s” címke _eltávolítása a fényképről" #: src/Resources.vala:389 #, c-format -msgid "Remove Tag \"%s\" From _Photos" +msgid "Remove Tag “%s” From _Photos" msgstr "„%s” címke _eltávolítása a fényképekről" #: src/Resources.vala:393 #, c-format -msgid "Remove Tag \"%s\" From Photo" +msgid "Remove Tag “%s” From Photo" msgstr "„%s” címke eltávolítása a fényképről" #: src/Resources.vala:394 #, c-format -msgid "Remove Tag \"%s\" From Photos" +msgid "Remove Tag “%s” From Photos" msgstr "„%s” címke eltávolítása a fényképekről" #: src/Resources.vala:398 #, c-format -msgid "Unable to rename tag to \"%s\" because the tag already exists." +msgid "Unable to rename tag to “%s” because the tag already exists." msgstr "A címke nem nevezhető át erre: „%s”, mert a címke már létezik." #: src/Resources.vala:402 #, c-format -msgid "Unable to rename search to \"%s\" because the search already exists." +msgid "Unable to rename search to “%s” because the search already exists." msgstr "Nem lehet átnevezni a keresést erre: „%s”, mert a keresés már létezik." #. Saved search button @@ -5698,21 +5833,21 @@ msgid "Delete Search" msgstr "Keresés törlése" #: src/Resources.vala:410 -msgid "_Edit..." +msgid "_Edit…" msgstr "S_zerkesztés…" #: src/Resources.vala:411 -msgid "Re_name..." +msgid "Re_name…" msgstr "Át_nevezés…" #: src/Resources.vala:414 #, c-format -msgid "Rename Search \"%s\" to \"%s\"" +msgid "Rename Search “%s” to “%s”" msgstr "„%s” keresés átnevezése erre: „%s”" #: src/Resources.vala:418 #, c-format -msgid "Delete Search \"%s\"" +msgid "Delete Search “%s”" msgstr "„%s” keresés törlése" #: src/Resources.vala:576 @@ -5776,7 +5911,7 @@ msgid "Show in File Mana_ger" msgstr "_Megjelenítés a fájlkezelőben" #: src/Resources.vala:682 -msgid "Open the selected photo's directory in the file manager" +msgid "Open the selected photo’s directory in the file manager" msgstr "Kijelölt fénykép könyvtárának megnyitása a fájlkezelőben" #: src/Resources.vala:685 @@ -6071,7 +6206,7 @@ msgid "Use a saved search to filter items in the current view" msgstr "Mentett keresés használata a jelenlegi nézetben történő szűréshez" #: src/sidebar/Tree.vala:203 -msgid "New _Tag..." +msgid "New _Tag…" msgstr "Új _címke…" #: src/SlideshowPage.vala:49 src/SlideshowPage.vala:183 @@ -6337,3 +6472,72 @@ msgstr "_Cím megjelenítése" #: ui/shotwell.ui:1534 ui/shotwell.ui:1547 msgid "seconds" msgstr "másodperc" + +#~ msgid "Login" +#~ msgstr "Bejelentkezés" + +#~ msgid "Save Details..." +#~ msgstr "Részletek mentése…" + +#~ msgid "Save _As..." +#~ msgstr "Men_tés másként…" + +#~ msgid "Importing..." +#~ msgstr "Importálás…" + +#~ msgid "Preparing to import..." +#~ msgstr "Importálás előkészítése…" + +#~ msgid "_Import From Folder..." +#~ msgstr "_Importálás mappából…" + +#~ msgid "Import From _Application..." +#~ msgstr "Importálás _alkalmazásból…" + +#~ msgid "Set as _Desktop Slideshow..." +#~ msgstr "Beállítás asztali _diavetítésként…" + +#~ msgid "Re_name Event..." +#~ msgstr "Esemé_ny átnevezése…" + +#~ msgid "_Export..." +#~ msgstr "_Exportálás…" + +#~ msgid "_Print..." +#~ msgstr "_Nyomtatás…" + +#~ msgid "Pu_blish..." +#~ msgstr "Kö_zzététel…" + +#~ msgid "Edit _Title..." +#~ msgstr "_Cím szerkesztése…" + +#~ msgid "Edit _Comment..." +#~ msgstr "Megjegyzés s_zerkesztése…" + +#~ msgid "Edit Event _Comment..." +#~ msgstr "_Eseménymegjegyzés szerkesztése…" + +#~ msgid "_Adjust Date and Time..." +#~ msgstr "_Dátum és idő módosítása…" + +#~ msgid "Add _Tags..." +#~ msgstr "_Címkék hozzáadása…" + +#~ msgid "_Add Tags..." +#~ msgstr "Címkék hozzáadása…" + +#~ msgid "Send _To..." +#~ msgstr "Kül_dés…" + +#~ msgid "Send T_o..." +#~ msgstr "Küldés _célja…" + +#~ msgid "_Find..." +#~ msgstr "_Keresés…" + +#~ msgid "Modif_y Tags..." +#~ msgstr "Cí_mkék módosítása…" + +#~ msgid "_Edit..." +#~ msgstr "S_zerkesztés…" Binary files differ@@ -9,9 +9,10 @@ msgid "" msgstr "" "Project-Id-Version: shotwell\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-09-04 08:43+0000\n" -"PO-Revision-Date: 2016-09-10 19:14+0200\n" +"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" +"product=shotwell&keywords=I18N+L10N&component=Internationalization\n" +"POT-Creation-Date: 2016-10-08 14:29+0000\n" +"PO-Revision-Date: 2016-10-09 08:55+0200\n" "Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n" "Language-Team: Polish <community-poland@mozilla.org>\n" "Language: pl\n" @@ -37,7 +38,7 @@ msgid "" "desktop. It allows you to import photos from your camera or disk, organize " "them by date and subject matter, even ratings. It also offers basic photo " "editing, like crop, red-eye correction, color adjustments, and straighten. " -"Shotwell's non-destructive photo editor does not alter your master photos, " +"Shotwell’s non-destructive photo editor does not alter your master photos, " "making it easy to experiment and correct errors." msgstr "" "Shotwell to łatwy w użyciu, szybki organizator zdjęć dla środowiska GNOME. " @@ -124,7 +125,7 @@ msgid "The secret token to sign oauth requests" msgstr "Tajny token do podpisywania żądań OAuth" #: misc/org.yorba.shotwell-extras.gschema.xml:26 -#: misc/org.yorba.shotwell.gschema.xml:416 +#: misc/org.yorba.shotwell.gschema.xml:486 msgid "default size" msgstr "domyślne wymiary" @@ -152,9 +153,9 @@ msgid "URL of the Rajce server." msgstr "Adres URL serwera Rajce." #: misc/org.yorba.shotwell-extras.gschema.xml:46 -#: misc/org.yorba.shotwell.gschema.xml:384 -#: misc/org.yorba.shotwell.gschema.xml:442 -#: misc/org.yorba.shotwell.gschema.xml:498 +#: misc/org.yorba.shotwell.gschema.xml:454 +#: misc/org.yorba.shotwell.gschema.xml:512 +#: misc/org.yorba.shotwell.gschema.xml:568 msgid "username" msgstr "nazwa użytkownika" @@ -171,7 +172,7 @@ msgid "user token, if remembered." msgstr "token użytkownika, jeśli jest zapamiętany." #: misc/org.yorba.shotwell-extras.gschema.xml:58 -#: misc/org.yorba.shotwell.gschema.xml:460 +#: misc/org.yorba.shotwell.gschema.xml:530 msgid "last category" msgstr "ostatnia kategoria" @@ -180,7 +181,7 @@ msgid "The last selected Rajce category." msgstr "Ostatnio zaznaczona kategoria serwera Rajce." #: misc/org.yorba.shotwell-extras.gschema.xml:64 -#: misc/org.yorba.shotwell.gschema.xml:472 +#: misc/org.yorba.shotwell.gschema.xml:542 msgid "last photo size" msgstr "ostatnie wymiary zdjęcia" @@ -222,11 +223,11 @@ msgstr "" "w przeglądarce WWW od razu po wysłaniu zdjęć" #: misc/org.yorba.shotwell-extras.gschema.xml:88 -#: misc/org.yorba.shotwell.gschema.xml:364 -#: misc/org.yorba.shotwell.gschema.xml:402 -#: misc/org.yorba.shotwell.gschema.xml:428 -#: misc/org.yorba.shotwell.gschema.xml:478 -#: misc/org.yorba.shotwell.gschema.xml:522 +#: misc/org.yorba.shotwell.gschema.xml:434 +#: misc/org.yorba.shotwell.gschema.xml:472 +#: misc/org.yorba.shotwell.gschema.xml:498 +#: misc/org.yorba.shotwell.gschema.xml:548 +#: misc/org.yorba.shotwell.gschema.xml:592 msgid "remove sensitive info from uploads" msgstr "usuwanie informacji osobistych z wysyłanych zdjęć" @@ -237,60 +238,60 @@ msgid "" msgstr "" "Czy zdjęcia wysyłane do serwera Rajce mają mieć najpierw usuwane metadane" -#: misc/org.yorba.shotwell.gschema.xml:22 +#: misc/org.yorba.shotwell.gschema.xml:23 msgid "display basic properties" msgstr "wyświetlanie podstawowych właściwości" -#: misc/org.yorba.shotwell.gschema.xml:23 +#: misc/org.yorba.shotwell.gschema.xml:24 msgid "True if the basic properties pane is to be displayed, false otherwise." msgstr "" "Jeśli jest ustawione na wartość „true”, wyświetlany jest panel podstawowych " "właściwości." -#: misc/org.yorba.shotwell.gschema.xml:28 +#: misc/org.yorba.shotwell.gschema.xml:29 msgid "display extended properties" msgstr "wyświetlanie rozszerzonych właściwości" -#: misc/org.yorba.shotwell.gschema.xml:29 +#: misc/org.yorba.shotwell.gschema.xml:30 msgid "" "True if the extended properties window is to be displayed, false otherwise." msgstr "" "Jeśli jest ustawione na wartość „true”, wyświetlany jest panel rozszerzonych " "właściwości." -#: misc/org.yorba.shotwell.gschema.xml:34 +#: misc/org.yorba.shotwell.gschema.xml:35 msgid "display sidebar" msgstr "wyświetlanie panelu bocznego" -#: misc/org.yorba.shotwell.gschema.xml:35 +#: misc/org.yorba.shotwell.gschema.xml:36 msgid "True if the sidebar is to be displayed, false otherwise." msgstr "Jeśli jest ustawione na wartość „true”, wyświetlany jest panel boczny." -#: misc/org.yorba.shotwell.gschema.xml:40 +#: misc/org.yorba.shotwell.gschema.xml:41 msgid "display toolbar" msgstr "wyświetlanie panelu narzędziowego" -#: misc/org.yorba.shotwell.gschema.xml:41 +#: misc/org.yorba.shotwell.gschema.xml:42 msgid "True if the bottom toolbar is to be displayed, false otherwise." msgstr "" "Jeśli jest ustawione na wartość „true”, wyświetlany jest dolny panel " "narzędziowy." -#: misc/org.yorba.shotwell.gschema.xml:46 +#: misc/org.yorba.shotwell.gschema.xml:47 msgid "display search bar" msgstr "wyświetlanie paska wyszukiwania" -#: misc/org.yorba.shotwell.gschema.xml:47 +#: misc/org.yorba.shotwell.gschema.xml:48 msgid "True if the Search/Filter Toolbar is to be displayed, false otherwise." msgstr "" "Jeśli jest ustawione na wartość „true”, wyświetlany jest pasek wyszukiwania/" "filtrów." -#: misc/org.yorba.shotwell.gschema.xml:52 +#: misc/org.yorba.shotwell.gschema.xml:53 msgid "display photo titles" msgstr "wyświetlanie tytułów zdjęć" -#: misc/org.yorba.shotwell.gschema.xml:53 +#: misc/org.yorba.shotwell.gschema.xml:54 msgid "" "True if photo titles are to be displayed beneath thumbnails in collection " "views, false otherwise." @@ -298,11 +299,11 @@ msgstr "" "Jeśli jest ustawione na wartość „true”, tytuły zdjęć są wyświetlane pod " "miniaturami w widokach kolekcji." -#: misc/org.yorba.shotwell.gschema.xml:58 +#: misc/org.yorba.shotwell.gschema.xml:59 msgid "display photo comments" msgstr "wyświetlanie komentarzy zdjęć" -#: misc/org.yorba.shotwell.gschema.xml:59 +#: misc/org.yorba.shotwell.gschema.xml:60 msgid "" "True if photo comments are to be displayed beneath thumbnails in collection " "views, false otherwise." @@ -310,11 +311,11 @@ msgstr "" "Jeśli jest ustawione na wartość „true”, komentarze zdjęć są wyświetlane pod " "miniaturami w widokach kolekcji." -#: misc/org.yorba.shotwell.gschema.xml:64 +#: misc/org.yorba.shotwell.gschema.xml:65 msgid "display event comments" msgstr "wyświetlanie komentarzy wydarzeń" -#: misc/org.yorba.shotwell.gschema.xml:65 +#: misc/org.yorba.shotwell.gschema.xml:66 msgid "" "True if event comments are to be displayed beneath thumbnails in event " "views, false otherwise." @@ -322,11 +323,11 @@ msgstr "" "Jeśli jest ustawione na wartość „true”, komentarze wydarzeń są wyświetlane " "pod miniaturami w widokach kolekcji." -#: misc/org.yorba.shotwell.gschema.xml:70 +#: misc/org.yorba.shotwell.gschema.xml:71 msgid "display photo tags" msgstr "wyświetlanie etykiet zdjęć" -#: misc/org.yorba.shotwell.gschema.xml:71 +#: misc/org.yorba.shotwell.gschema.xml:72 msgid "" "True if photo tags are to be listed beneath thumbnails in collection views, " "false otherwise." @@ -334,23 +335,23 @@ msgstr "" "Jeśli jest ustawione na wartość „true”, etykiety zdjęć są wyświetlane pod " "miniaturami w widokach kolekcji." -#: misc/org.yorba.shotwell.gschema.xml:76 +#: misc/org.yorba.shotwell.gschema.xml:77 msgid "display photo ratings" msgstr "wyświetlanie ocen zdjęć" -#: misc/org.yorba.shotwell.gschema.xml:77 +#: misc/org.yorba.shotwell.gschema.xml:78 msgid "" -"True if a photo's rating should be displayed as overlaid trinket, false " +"True if a photo’s rating should be displayed as overlaid trinket, false " "otherwise." msgstr "" "Jeśli jest ustawione na wartość „true”, oceny zdjęć są wyświetlane jako " "nakładki." -#: misc/org.yorba.shotwell.gschema.xml:82 +#: misc/org.yorba.shotwell.gschema.xml:83 msgid "rating filter level" msgstr "poziom filtru ocen" -#: misc/org.yorba.shotwell.gschema.xml:83 +#: misc/org.yorba.shotwell.gschema.xml:84 msgid "" "Determines how to filter photos based on their ratings. 1: Rejected or " "better, 2: Unrated or better, 3: One or better, 4: Two or better, 5: Three " @@ -360,58 +361,58 @@ msgstr "" "lepsze, 2: nieocenione lub lepsze, 3: jeden lub lepsze, 4: dwa lub lepsze, " "5: trzy lub lepsze, 6: cztery lub lepsze, 7: pięć lub lepsze." -#: misc/org.yorba.shotwell.gschema.xml:88 +#: misc/org.yorba.shotwell.gschema.xml:89 msgid "sort events ascending" msgstr "rosnące porządkowanie wydarzeń" -#: misc/org.yorba.shotwell.gschema.xml:89 +#: misc/org.yorba.shotwell.gschema.xml:90 msgid "True if events should be sorted ascending, false if descending." msgstr "" "Jeśli jest ustawione na wartość „true”, wydarzenia będą porządkowane rosnąco." -#: misc/org.yorba.shotwell.gschema.xml:94 +#: misc/org.yorba.shotwell.gschema.xml:95 msgid "sort library photos ascending" -msgstr "rosnące porządkowanie zdjęć w bibliotece" +msgstr "rosnące porządkowanie zdjęć w kolekcji" -#: misc/org.yorba.shotwell.gschema.xml:95 +#: misc/org.yorba.shotwell.gschema.xml:96 msgid "True if library photos should be sorted ascending, false if descending." msgstr "" -"Jeśli jest ustawione na wartość „true”, zdjęcia w bibliotece będą " -"porządkowane rosnąco." +"Jeśli jest ustawione na wartość „true”, zdjęcia w kolekcji będą porządkowane " +"rosnąco." -#: misc/org.yorba.shotwell.gschema.xml:100 +#: misc/org.yorba.shotwell.gschema.xml:101 msgid "sort library photos criteria" msgstr "kryteria porządkowania zdjęć w kolekcji" -#: misc/org.yorba.shotwell.gschema.xml:101 +#: misc/org.yorba.shotwell.gschema.xml:102 msgid "" "A numeric code that specifies the sort criteria for photos in library views." msgstr "" "Kod numeryczny określający kryteria porządkowania zdjęć w widoku kolekcji." -#: misc/org.yorba.shotwell.gschema.xml:106 +#: misc/org.yorba.shotwell.gschema.xml:107 msgid "sort event photos ascending" msgstr "rosnące porządkowanie zdjęć wydarzeń" -#: misc/org.yorba.shotwell.gschema.xml:107 +#: misc/org.yorba.shotwell.gschema.xml:108 msgid "True if event photos should be sorted ascending, false if descending." msgstr "" "Jeśli jest ustawione na wartość „true”, zdjęcia wydarzeń są porządkowane " "rosnąco." -#: misc/org.yorba.shotwell.gschema.xml:112 +#: misc/org.yorba.shotwell.gschema.xml:113 msgid "sort event photos criteria" msgstr "kryteria porządkowania zdjęć wydarzeń" -#: misc/org.yorba.shotwell.gschema.xml:113 +#: misc/org.yorba.shotwell.gschema.xml:114 msgid "Specifies the sort criteria for event photos." msgstr "Określa kryteria porządkowania zdjęć wydarzeń." -#: misc/org.yorba.shotwell.gschema.xml:118 +#: misc/org.yorba.shotwell.gschema.xml:119 msgid "use 24 hour time" msgstr "czas 24-godzinny" -#: misc/org.yorba.shotwell.gschema.xml:119 +#: misc/org.yorba.shotwell.gschema.xml:120 msgid "" "True if should display times with a 24 hour clock, false if times should use " "AM/PM notation." @@ -419,11 +420,11 @@ msgstr "" "Jeśli jest ustawione na wartość „true”, czas jest wyświetlany za pomocą " "zegara 24-godzinnego zamiast notacji AM/PM." -#: misc/org.yorba.shotwell.gschema.xml:124 +#: misc/org.yorba.shotwell.gschema.xml:125 msgid "keep relative time between photos" msgstr "utrzymywanie względnego czasu między zdjęciami" -#: misc/org.yorba.shotwell.gschema.xml:125 +#: misc/org.yorba.shotwell.gschema.xml:126 msgid "" "True if when adjusting time/date of photos, relative time should be " "maintained. False if all photos should be set to the same time." @@ -432,11 +433,11 @@ msgstr "" "czasu/daty zdjęć będzie utrzymywany, zamiast ustawiania wszystkich zdjęć na " "ten sam czas." -#: misc/org.yorba.shotwell.gschema.xml:130 +#: misc/org.yorba.shotwell.gschema.xml:131 msgid "modify original photo files" msgstr "modyfikowanie oryginalnych plików zdjęć" -#: misc/org.yorba.shotwell.gschema.xml:131 +#: misc/org.yorba.shotwell.gschema.xml:132 msgid "" "True if when adjusting time/date of photos, the original files should be " "modified as well. False if changes are made only in the database." @@ -444,11 +445,11 @@ msgstr "" "Jeśli jest ustawione na wartość „true”, oryginalne pliki będą także " "modyfikowane podczas zmieniania czasu/daty zdjęć." -#: misc/org.yorba.shotwell.gschema.xml:136 +#: misc/org.yorba.shotwell.gschema.xml:137 msgid "show welcome dialog on startup" msgstr "wyświetlanie okna powitanego podczas uruchamiania" -#: misc/org.yorba.shotwell.gschema.xml:137 +#: misc/org.yorba.shotwell.gschema.xml:138 msgid "" "True if, when on startup, a welcome dialog should be shown. False if it " "should not be shown." @@ -456,142 +457,142 @@ msgstr "" "Jeśli jest ustawione na wartość „true”, okno powitalne jest wyświetlane " "podczas uruchamiania." -#: misc/org.yorba.shotwell.gschema.xml:142 +#: misc/org.yorba.shotwell.gschema.xml:143 msgid "sidebar position" msgstr "położenie panelu bocznego" -#: misc/org.yorba.shotwell.gschema.xml:143 +#: misc/org.yorba.shotwell.gschema.xml:144 msgid "The width, in pixels, of the sidebar" msgstr "Szerokość panelu bocznego w pikselach" -#: misc/org.yorba.shotwell.gschema.xml:148 +#: misc/org.yorba.shotwell.gschema.xml:149 msgid "photo thumbnail scale" msgstr "skala miniatur zdjęć" -#: misc/org.yorba.shotwell.gschema.xml:149 +#: misc/org.yorba.shotwell.gschema.xml:150 msgid "The scale of photo thumbnails, ranging from 72 to 360." msgstr "Skala miniatur zdjęć, zakres od 72 do 360." -#: misc/org.yorba.shotwell.gschema.xml:154 +#: misc/org.yorba.shotwell.gschema.xml:155 msgid "pin toolbar state" msgstr "przypinanie paska narzędziowego" -#: misc/org.yorba.shotwell.gschema.xml:155 +#: misc/org.yorba.shotwell.gschema.xml:156 msgid "Pin toolbar in fullscreen, or not." msgstr "Przypinanie paska narzędziowego na pełnym ekranie." -#: misc/org.yorba.shotwell.gschema.xml:160 +#: misc/org.yorba.shotwell.gschema.xml:161 msgid "background color" msgstr "kolor tła" -#: misc/org.yorba.shotwell.gschema.xml:161 +#: misc/org.yorba.shotwell.gschema.xml:162 msgid "A grayscale color for use as the background color." msgstr "Kolor w skali szarości używany jako kolor tła." -#: misc/org.yorba.shotwell.gschema.xml:166 -msgid "Selection state of \"hide photos\" option" +#: misc/org.yorba.shotwell.gschema.xml:167 +msgid "Selection state of “hide photos” option" msgstr "Stan zaznaczenia opcji ukrywania zdjęć" -#: misc/org.yorba.shotwell.gschema.xml:167 +#: misc/org.yorba.shotwell.gschema.xml:168 msgid "" -"Last used selection state of the \"hide photos already imported\" option in " +"Last used selection state of the “hide photos already imported” option in " "the import page." msgstr "" "Ostatnio używany stan zaznaczenia opcji ukrywania już zaimportowanych zdjęć " "na stronie importowania." -#: misc/org.yorba.shotwell.gschema.xml:174 +#: misc/org.yorba.shotwell.gschema.xml:175 msgid "delay" msgstr "opóźnienie" -#: misc/org.yorba.shotwell.gschema.xml:175 +#: misc/org.yorba.shotwell.gschema.xml:176 msgid "Delay (in seconds) between photos in the slideshow." msgstr "Opóźnienie między zdjęciami w pokazie slajdów w sekundach." -#: misc/org.yorba.shotwell.gschema.xml:180 +#: misc/org.yorba.shotwell.gschema.xml:181 msgid "transition delay" msgstr "opóźnienie przejścia" -#: misc/org.yorba.shotwell.gschema.xml:181 +#: misc/org.yorba.shotwell.gschema.xml:182 msgid "" "The time (in seconds) that a transition runs between photos in a slideshow" msgstr "Czas przejścia między zdjęciami w pokazie slajdów w sekundach" -#: misc/org.yorba.shotwell.gschema.xml:186 +#: misc/org.yorba.shotwell.gschema.xml:187 msgid "transition effect id" msgstr "identyfikator efektu przejścia" -#: misc/org.yorba.shotwell.gschema.xml:187 +#: misc/org.yorba.shotwell.gschema.xml:188 msgid "" "The name of the transition effect that will be used between photos when " "running a slideshow" msgstr "" "Nazwa efektu przejścia używanego między zdjęciami podczas pokazu slajdów" -#: misc/org.yorba.shotwell.gschema.xml:192 +#: misc/org.yorba.shotwell.gschema.xml:193 msgid "Show title" msgstr "Wyświetlanie tytułu" -#: misc/org.yorba.shotwell.gschema.xml:193 +#: misc/org.yorba.shotwell.gschema.xml:194 msgid "Whether to show the title of a photo during the slideshow" msgstr "Czy wyświetlać tytuł zdjęcia podczas pokazu slajdów" -#: misc/org.yorba.shotwell.gschema.xml:200 +#: misc/org.yorba.shotwell.gschema.xml:201 msgid "maximize library window" msgstr "maksymalizacja okna kolekcji" -#: misc/org.yorba.shotwell.gschema.xml:201 +#: misc/org.yorba.shotwell.gschema.xml:202 msgid "True if library application is maximized, false otherwise." msgstr "" "Jeśli jest ustawione na wartość „true”, okno kolekcji jest zmaksymalizowane." -#: misc/org.yorba.shotwell.gschema.xml:206 +#: misc/org.yorba.shotwell.gschema.xml:207 msgid "width of library window" msgstr "szerokość okna kolekcji" -#: misc/org.yorba.shotwell.gschema.xml:207 +#: misc/org.yorba.shotwell.gschema.xml:208 msgid "The last recorded width of the library application window." msgstr "Ostatnio zapisana szerokość okna kolekcji." -#: misc/org.yorba.shotwell.gschema.xml:212 +#: misc/org.yorba.shotwell.gschema.xml:213 msgid "height of library window" msgstr "wysokość okna kolekcji" -#: misc/org.yorba.shotwell.gschema.xml:213 +#: misc/org.yorba.shotwell.gschema.xml:214 msgid "The last recorded height of the library application window." msgstr "Ostatnio zapisana wysokość okna kolekcji." -#: misc/org.yorba.shotwell.gschema.xml:218 +#: misc/org.yorba.shotwell.gschema.xml:219 msgid "maximize direct-edit window" msgstr "maksymalizacja okna bezpośredniego modyfikowania" -#: misc/org.yorba.shotwell.gschema.xml:219 +#: misc/org.yorba.shotwell.gschema.xml:220 msgid "True if direct-edit application is maximized, false otherwise." msgstr "" "Jeśli jest ustawione na wartość „true”, okno bezpośredniego modyfikowania " "jest zmaksymalizowane." -#: misc/org.yorba.shotwell.gschema.xml:224 +#: misc/org.yorba.shotwell.gschema.xml:225 msgid "width of direct-edit window" msgstr "szerokość okna bezpośredniego modyfikowania" -#: misc/org.yorba.shotwell.gschema.xml:225 +#: misc/org.yorba.shotwell.gschema.xml:226 msgid "The last recorded width of the direct-edit application window." msgstr "Ostatnio zapisana szerokość okna bezpośredniego modyfikowania." -#: misc/org.yorba.shotwell.gschema.xml:230 +#: misc/org.yorba.shotwell.gschema.xml:231 msgid "height of direct-edit window" msgstr "wysokość okna bezpośredniego modyfikowania" -#: misc/org.yorba.shotwell.gschema.xml:231 +#: misc/org.yorba.shotwell.gschema.xml:232 msgid "The last recorded height of the direct-edit application window." msgstr "Ostatnio zapisana wysokość okna bezpośredniego modyfikowania." -#: misc/org.yorba.shotwell.gschema.xml:236 +#: misc/org.yorba.shotwell.gschema.xml:237 msgid "sidebar divider position" msgstr "położenie przegrody panelu bocznego" -#: misc/org.yorba.shotwell.gschema.xml:237 +#: misc/org.yorba.shotwell.gschema.xml:238 msgid "" "The last recorded position of the divider between the sidebar and view in " "library application window." @@ -599,30 +600,30 @@ msgstr "" "Ostatnio zapisane położenie przegrody między panelem bocznym a widokiem " "w oknie kolekcji." -#: misc/org.yorba.shotwell.gschema.xml:244 +#: misc/org.yorba.shotwell.gschema.xml:245 msgid "import directory" msgstr "katalog importu" -#: misc/org.yorba.shotwell.gschema.xml:245 +#: misc/org.yorba.shotwell.gschema.xml:246 msgid "Directory in which imported photo files are placed." msgstr "Katalog, w którym umieszczać zaimportowane pliki zdjęć." -#: misc/org.yorba.shotwell.gschema.xml:250 +#: misc/org.yorba.shotwell.gschema.xml:251 msgid "watch library directory for new files" msgstr "obserwowanie katalogu kolekcji pod kątem nowych plików" -#: misc/org.yorba.shotwell.gschema.xml:251 +#: misc/org.yorba.shotwell.gschema.xml:252 msgid "" "If true, files added to the library directory are automatically imported." msgstr "" "Jeśli jest ustawione na wartość „true”, pliki dodane do katalogu kolekcji są " "automatycznie importowane." -#: misc/org.yorba.shotwell.gschema.xml:256 +#: misc/org.yorba.shotwell.gschema.xml:257 msgid "write metadata to master files" msgstr "zapisywanie metadanych do głównych plików" -#: misc/org.yorba.shotwell.gschema.xml:257 +#: misc/org.yorba.shotwell.gschema.xml:258 msgid "" "If true, changes to metadata (tags, titles, etc.) are written to the master " "photo file." @@ -630,11 +631,11 @@ msgstr "" "Jeśli jest ustawione na wartość „true”, zmiany metadanych (etykiety, tytuły " "itp.) są zapisywane do głównych plików zdjęć." -#: misc/org.yorba.shotwell.gschema.xml:262 +#: misc/org.yorba.shotwell.gschema.xml:263 msgid "use lowercase filenames" msgstr "małe litery nazw plików" -#: misc/org.yorba.shotwell.gschema.xml:263 +#: misc/org.yorba.shotwell.gschema.xml:264 msgid "" "If true, Shotwell will convert all filenames to lowercase when importing " "photo files" @@ -642,11 +643,11 @@ msgstr "" "Jeśli jest ustawione na wartość „true”, program Shotwell będzie konwertował " "wszystkie nazwy plików na małe litery podczas importowania plików zdjęć" -#: misc/org.yorba.shotwell.gschema.xml:268 +#: misc/org.yorba.shotwell.gschema.xml:269 msgid "directory pattern" msgstr "wzorzec katalogów" -#: misc/org.yorba.shotwell.gschema.xml:269 +#: misc/org.yorba.shotwell.gschema.xml:270 msgid "" "A string encoding a naming pattern that will be used to name photo " "directories on import." @@ -654,11 +655,11 @@ msgstr "" "Ciąg kodujący wzorzec nazw używany do nazywania katalogów zdjęć podczas " "importowania." -#: misc/org.yorba.shotwell.gschema.xml:274 +#: misc/org.yorba.shotwell.gschema.xml:275 msgid "directory pattern custom" msgstr "niestandardowy wzorzec katalogów" -#: misc/org.yorba.shotwell.gschema.xml:275 +#: misc/org.yorba.shotwell.gschema.xml:276 msgid "" "A string encoding a custom naming pattern that will be used to name photo " "directories on import." @@ -666,27 +667,27 @@ msgstr "" "Ciąg kodujący niestandardowy wzorzec nazw używany do nazywania katalogów " "zdjęć podczas importowania." -#: misc/org.yorba.shotwell.gschema.xml:280 +#: misc/org.yorba.shotwell.gschema.xml:281 msgid "RAW developer default" msgstr "domyślne wywoływacza RAW" -#: misc/org.yorba.shotwell.gschema.xml:281 +#: misc/org.yorba.shotwell.gschema.xml:282 msgid "Default option for which RAW developer Shotwell will use." msgstr "Domyślna opcja używana dla wywoływacza RAW." -#: misc/org.yorba.shotwell.gschema.xml:288 +#: misc/org.yorba.shotwell.gschema.xml:289 msgid "Most-recently-used crop aspect ratio menu choice." msgstr "Najczęściej używane proporcje kadrowania w menu." -#: misc/org.yorba.shotwell.gschema.xml:289 +#: misc/org.yorba.shotwell.gschema.xml:290 msgid "A numeric code representing the last crop menu choice the user made." msgstr "Kod numeryczny przedstawiający ostatnio wybrane proporcje kadrowania." -#: misc/org.yorba.shotwell.gschema.xml:293 -msgid "Most-recently-used crop custom aspect ratio's numerator." +#: misc/org.yorba.shotwell.gschema.xml:294 +msgid "Most-recently-used crop custom aspect ratio’s numerator." msgstr "Numerator najczęściej używanych niestandardowych proporcji kadrowania." -#: misc/org.yorba.shotwell.gschema.xml:294 +#: misc/org.yorba.shotwell.gschema.xml:295 msgid "" "A nonzero, positive integer representing the width part of the last custom " "crop ratio the user entered." @@ -694,12 +695,12 @@ msgstr "" "Niezerowa, dodatnia liczba całkowita przedstawiająca szerokość ostatnio " "wprowadzonych niestandardowych proporcji kadrowania." -#: misc/org.yorba.shotwell.gschema.xml:298 -msgid "Most-recently-used crop custom aspect ratio's denominator." +#: misc/org.yorba.shotwell.gschema.xml:299 +msgid "Most-recently-used crop custom aspect ratio’s denominator." msgstr "" "Denominator najczęściej używanych niestandardowych proporcji kadrowania." -#: misc/org.yorba.shotwell.gschema.xml:299 +#: misc/org.yorba.shotwell.gschema.xml:300 msgid "" "A nonzero, positive integer representing the height part of the last custom " "crop ratio the user entered." @@ -707,94 +708,139 @@ msgstr "" "Niezerowa, dodatnia liczba całkowita przedstawiająca wysokość ostatnio " "wprowadzonych niestandardowych proporcji kadrowania." -#: misc/org.yorba.shotwell.gschema.xml:306 +#: misc/org.yorba.shotwell.gschema.xml:307 msgid "external photo editor" msgstr "zewnętrzny edytor zdjęć" -#: misc/org.yorba.shotwell.gschema.xml:307 +#: misc/org.yorba.shotwell.gschema.xml:308 msgid "External application used to edit photos." msgstr "Zewnętrzny program używany do modyfikowania zdjęć." -#: misc/org.yorba.shotwell.gschema.xml:312 +#: misc/org.yorba.shotwell.gschema.xml:313 msgid "external raw editor" msgstr "zewnętrzny edytor plików RAW" -#: misc/org.yorba.shotwell.gschema.xml:313 +#: misc/org.yorba.shotwell.gschema.xml:314 msgid "External application used to edit RAW photos." msgstr "Zewnętrzny program używany do modyfikowania zdjęć RAW." -#: misc/org.yorba.shotwell.gschema.xml:320 +#: misc/org.yorba.shotwell.gschema.xml:352 +#: misc/org.yorba.shotwell.gschema.xml:353 +msgid "Setting in export dialog: how to trim images" +msgstr "Ustawienie w oknie eksportu: jak przycinać obrazy" + +#: misc/org.yorba.shotwell.gschema.xml:358 +msgid "export metadata" +msgstr "eksport metadanych" + +#: misc/org.yorba.shotwell.gschema.xml:359 +msgid "Setting in export dialog: option to export metadata" +msgstr "Ustawienie w oknie eksportu: opcja eksportu metadanych" + +#: misc/org.yorba.shotwell.gschema.xml:364 +msgid "format setting, special value" +msgstr "ustawienie formatu, specjalna wartość" + +#: misc/org.yorba.shotwell.gschema.xml:365 +msgid "Setting in export dialog: format setting, special value" +msgstr "Ustawienie w oknie eksportu: ustawienie formatu, specjalna wartość" + +#: misc/org.yorba.shotwell.gschema.xml:370 +msgid "format setting, type value" +msgstr "ustawienie formatu, wartość typu" + +#: misc/org.yorba.shotwell.gschema.xml:371 +msgid "Setting in export dialog: format setting, type value" +msgstr "Ustawienie w oknie eksportu: ustawienie formatu, wartość typu" + +#: misc/org.yorba.shotwell.gschema.xml:376 +msgid "JPEG quality option" +msgstr "opcja jakości JPEG" + +#: misc/org.yorba.shotwell.gschema.xml:377 +msgid "Setting in export dialog: jpeg quality option" +msgstr "Ustawienie w oknie eksportu: opcja jakości JPEG" + +#: misc/org.yorba.shotwell.gschema.xml:382 +msgid "maximal size of image" +msgstr "maksymalny rozmiar obrazu" + +#: misc/org.yorba.shotwell.gschema.xml:383 +msgid "Setting in export dialog: maximal size of image" +msgstr "Ustawienie w oknie eksportu: maksymalny rozmiar obrazu" + +#: misc/org.yorba.shotwell.gschema.xml:390 msgid "last used publishing service" msgstr "ostatnio używana usługa publikowania" -#: misc/org.yorba.shotwell.gschema.xml:321 -#: misc/org.yorba.shotwell.gschema.xml:327 +#: misc/org.yorba.shotwell.gschema.xml:391 +#: misc/org.yorba.shotwell.gschema.xml:397 msgid "" "A numeric code representing the last service to which photos were published" msgstr "" "Kod numeryczny przedstawiający ostatnią usługę, w której zdjęcia były " "publikowane" -#: misc/org.yorba.shotwell.gschema.xml:326 +#: misc/org.yorba.shotwell.gschema.xml:396 msgid "default publishing service" msgstr "domyślna usługa publikowania" -#: misc/org.yorba.shotwell.gschema.xml:340 +#: misc/org.yorba.shotwell.gschema.xml:410 msgid "access token" msgstr "token dostępu" -#: misc/org.yorba.shotwell.gschema.xml:341 +#: misc/org.yorba.shotwell.gschema.xml:411 msgid "Facebook OAuth token for the currently logged in session, if any" msgstr "Token OAuth serwisu Facebook obecnie zalogowanej sesji" -#: misc/org.yorba.shotwell.gschema.xml:346 +#: misc/org.yorba.shotwell.gschema.xml:416 msgid "user i.d." msgstr "identyfikator użytkownika" -#: misc/org.yorba.shotwell.gschema.xml:347 +#: misc/org.yorba.shotwell.gschema.xml:417 msgid "Facebook user i.d. for the currently logged in user, if any" msgstr "Identyfikator serwisu Facebook dla obecnie zalogowanego użytkownika" -#: misc/org.yorba.shotwell.gschema.xml:352 +#: misc/org.yorba.shotwell.gschema.xml:422 msgid "user name" msgstr "nazwa użytkownika" -#: misc/org.yorba.shotwell.gschema.xml:353 +#: misc/org.yorba.shotwell.gschema.xml:423 msgid "The name of the currently logged in Facebook user, if any" msgstr "Nazwa obecnie zalogowanego użytkownika serwisu Facebook" -#: misc/org.yorba.shotwell.gschema.xml:358 -#: misc/org.yorba.shotwell.gschema.xml:390 +#: misc/org.yorba.shotwell.gschema.xml:428 +#: misc/org.yorba.shotwell.gschema.xml:460 msgid "default size code" msgstr "kod domyślnych wymiarów" -#: misc/org.yorba.shotwell.gschema.xml:359 +#: misc/org.yorba.shotwell.gschema.xml:429 msgid "" "A numeric code representing the default size for photos published to Facebook" msgstr "" "Kod numeryczny przedstawiający domyślne wymiary zdjęć publikowanych " "w serwisie Facebook" -#: misc/org.yorba.shotwell.gschema.xml:365 +#: misc/org.yorba.shotwell.gschema.xml:435 msgid "" "Whether images being uploaded to Facebook should have their metadata removed " "first" msgstr "" "Czy obrazy wysyłane do serwisu Facebook mają mieć najpierw usuwane metadane" -#: misc/org.yorba.shotwell.gschema.xml:372 +#: misc/org.yorba.shotwell.gschema.xml:442 msgid "OAuth Access Phase Token" msgstr "Token etapu dostępu OAuth" -#: misc/org.yorba.shotwell.gschema.xml:373 +#: misc/org.yorba.shotwell.gschema.xml:443 msgid "The authorization token for the currently logged in Flickr user, if any" msgstr "Token upoważnienia obecnie zalogowanego użytkownika serwisu Flickr" -#: misc/org.yorba.shotwell.gschema.xml:378 +#: misc/org.yorba.shotwell.gschema.xml:448 msgid "OAuth Access Phase Token Secret" msgstr "Hasło tokenu etapu dostępu OAuth" -#: misc/org.yorba.shotwell.gschema.xml:379 +#: misc/org.yorba.shotwell.gschema.xml:449 msgid "" "The cryptographic secret used to sign requests against the authorization " "token for the currently logged in Flickr user, if any" @@ -802,22 +848,22 @@ msgstr "" "Hasło kryptograficzne używane do podpisywania żądań dla tokenu upoważnienia " "dla obecnie zalogowanego użytkownika serwisu Flickr" -#: misc/org.yorba.shotwell.gschema.xml:385 +#: misc/org.yorba.shotwell.gschema.xml:455 msgid "The user name of the currently logged in Flickr user, if any" msgstr "Nazwa obecnie zalogowanego użytkownika serwisu Flickr" -#: misc/org.yorba.shotwell.gschema.xml:391 +#: misc/org.yorba.shotwell.gschema.xml:461 msgid "" "A numeric code representing the default size for photos published to Flickr" msgstr "" "Kod numeryczny przedstawiający domyślne wymiary zdjęć publikowanych " "w serwisie Flickr" -#: misc/org.yorba.shotwell.gschema.xml:396 +#: misc/org.yorba.shotwell.gschema.xml:466 msgid "default visibility" msgstr "domyślna widoczność" -#: misc/org.yorba.shotwell.gschema.xml:397 +#: misc/org.yorba.shotwell.gschema.xml:467 msgid "" "A numeric code representing the default visibility for photos published to " "Flickr" @@ -825,19 +871,19 @@ msgstr "" "Kod numeryczny przedstawiający domyślną widoczność zdjęć publikowanych " "w serwisie Flickr" -#: misc/org.yorba.shotwell.gschema.xml:403 +#: misc/org.yorba.shotwell.gschema.xml:473 msgid "" "Whether images being uploaded to Flickr should have their metadata removed " "first" msgstr "" "Czy obrazy wysyłane do serwisu Flickr mają mieć najpierw usuwane metadane" -#: misc/org.yorba.shotwell.gschema.xml:410 -#: misc/org.yorba.shotwell.gschema.xml:542 +#: misc/org.yorba.shotwell.gschema.xml:480 +#: misc/org.yorba.shotwell.gschema.xml:612 msgid "refresh token" msgstr "token odświeżania" -#: misc/org.yorba.shotwell.gschema.xml:411 +#: misc/org.yorba.shotwell.gschema.xml:481 msgid "" "The OAuth token used to refresh the Picasa Web Albums session for the " "currently logged in user, if any." @@ -845,7 +891,7 @@ msgstr "" "Token OAuth używany do odświeżania sesji serwisu Picasa Web Albums dla " "obecnie zalogowanego użytkownika." -#: misc/org.yorba.shotwell.gschema.xml:417 +#: misc/org.yorba.shotwell.gschema.xml:487 msgid "" "A numeric code representing the default size for photos uploaded to Picasa " "Web Albums" @@ -853,65 +899,65 @@ msgstr "" "Kod numeryczny przedstawiający domyślne wymiary zdjęć wysyłanych do serwisu " "Picasa Web Albums" -#: misc/org.yorba.shotwell.gschema.xml:422 -#: misc/org.yorba.shotwell.gschema.xml:516 +#: misc/org.yorba.shotwell.gschema.xml:492 +#: misc/org.yorba.shotwell.gschema.xml:586 msgid "last album" msgstr "ostatni album" -#: misc/org.yorba.shotwell.gschema.xml:423 -#: misc/org.yorba.shotwell.gschema.xml:517 +#: misc/org.yorba.shotwell.gschema.xml:493 +#: misc/org.yorba.shotwell.gschema.xml:587 msgid "The name of the last album the user published photos to, if any" msgstr "Nazwa albumu, w którym ostatnio publikowano zdjęcia" -#: misc/org.yorba.shotwell.gschema.xml:429 +#: misc/org.yorba.shotwell.gschema.xml:499 msgid "" "Whether images being uploaded to Picasa should have their metadata removed " "first" msgstr "" "Czy obrazy wysyłane do serwisu Picasa mają mieć najpierw usuwane metadane" -#: misc/org.yorba.shotwell.gschema.xml:436 +#: misc/org.yorba.shotwell.gschema.xml:506 msgid "Piwigo URL" msgstr "Adres URL serwera Piwigo" -#: misc/org.yorba.shotwell.gschema.xml:437 +#: misc/org.yorba.shotwell.gschema.xml:507 msgid "URL of the Piwigo server." msgstr "Adres URL serwera Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:443 +#: misc/org.yorba.shotwell.gschema.xml:513 msgid "Piwigo username, if logged in." msgstr "Nazwa użytkownika serwera Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:448 +#: misc/org.yorba.shotwell.gschema.xml:518 msgid "password" msgstr "hasło" -#: misc/org.yorba.shotwell.gschema.xml:449 +#: misc/org.yorba.shotwell.gschema.xml:519 msgid "Piwigo password, if logged in." msgstr "Hasło serwera Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:454 +#: misc/org.yorba.shotwell.gschema.xml:524 msgid "remember password" msgstr "zapamiętanie hasła" -#: misc/org.yorba.shotwell.gschema.xml:455 +#: misc/org.yorba.shotwell.gschema.xml:525 msgid "If true, remember the Piwigo password." msgstr "" "Jeśli jest ustawione na wartość „true”, zapamiętuje hasło serwera Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:461 +#: misc/org.yorba.shotwell.gschema.xml:531 msgid "The last selected Piwigo category." msgstr "Ostatnio wybrana kategoria serwera Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:466 +#: misc/org.yorba.shotwell.gschema.xml:536 msgid "last permission level" msgstr "ostatni poziom uprawnień" -#: misc/org.yorba.shotwell.gschema.xml:467 +#: misc/org.yorba.shotwell.gschema.xml:537 msgid "The last chosen Piwigo permission level." msgstr "Ostatnio wybrany poziom uprawnień serwera Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:473 +#: misc/org.yorba.shotwell.gschema.xml:543 msgid "" "A numeric code representing the last photo size preset used when publishing " "to Piwigo." @@ -919,21 +965,21 @@ msgstr "" "Kod numeryczny przedstawiający ostatnie ustawienie wymiarów zdjęcia używane " "podczas publikowania na serwerze Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:479 +#: misc/org.yorba.shotwell.gschema.xml:549 msgid "" "Whether images being uploaded to Piwigo should have their metadata removed " "first" msgstr "" "Czy obrazy wysyłane do serwera Piwigo mają mieć najpierw usuwane metadane" -#: misc/org.yorba.shotwell.gschema.xml:484 +#: misc/org.yorba.shotwell.gschema.xml:554 msgid "" "if title is set and comment unset, use title as comment for uploads to Piwigo" msgstr "" "jeśli tytuł jest ustawiony, a komentarz nie, to używanie tytułu jako " "komentarz podczas wysyłania do serwera Piwigo" -#: misc/org.yorba.shotwell.gschema.xml:485 +#: misc/org.yorba.shotwell.gschema.xml:555 msgid "" "Whether images being uploaded to Piwigo should have their comment set from " "the title if title is set and comment unset" @@ -941,11 +987,11 @@ msgstr "" "Czy obrazy wysłane do serwera Piwigo mają mieć ustawiany komentarz z tytułu, " "jeśli tytuł jest ustawiony, a komentarz nie" -#: misc/org.yorba.shotwell.gschema.xml:490 +#: misc/org.yorba.shotwell.gschema.xml:560 msgid "do not upload tags when uploading to Piwigo" msgstr "bez wysyłania etykiet podczas wysyłania do serwera Piwigo" -#: misc/org.yorba.shotwell.gschema.xml:491 +#: misc/org.yorba.shotwell.gschema.xml:561 msgid "" "Whether images being uploaded to Piwigo should have their tags removed on " "upload, such that these tags will not appear on the remote Piwigo server." @@ -953,27 +999,27 @@ msgstr "" "Czy obrazy wysłane do serwera Piwigo mają mieć usuwane etykiety podczas " "wysyłania, aby nie pojawiały się na zdalnym serwerze Piwigo." -#: misc/org.yorba.shotwell.gschema.xml:499 +#: misc/org.yorba.shotwell.gschema.xml:569 msgid "Gallery3 username" msgstr "Nazwa użytkownika serwisu Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:504 +#: misc/org.yorba.shotwell.gschema.xml:574 msgid "API key" msgstr "klucz API" -#: misc/org.yorba.shotwell.gschema.xml:505 +#: misc/org.yorba.shotwell.gschema.xml:575 msgid "Gallery3 API key" msgstr "Klucz API serwisu Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:510 +#: misc/org.yorba.shotwell.gschema.xml:580 msgid "URL" msgstr "URL" -#: misc/org.yorba.shotwell.gschema.xml:511 +#: misc/org.yorba.shotwell.gschema.xml:581 msgid "Gallery3 site URL" msgstr "Adres URL witryny Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:523 +#: misc/org.yorba.shotwell.gschema.xml:593 msgid "" "Indicates whether images being uploaded to Gallery3 should have their " "metadata removed first" @@ -981,19 +1027,19 @@ msgstr "" "Wskazuje, czy obrazy wysyłane do serwisu Gallery3 mają mieć najpierw usuwane " "metadane" -#: misc/org.yorba.shotwell.gschema.xml:528 +#: misc/org.yorba.shotwell.gschema.xml:598 msgid "scaling constraint of uploaded picture" msgstr "ograniczenie skalowania wysyłanego zdjęcia" -#: misc/org.yorba.shotwell.gschema.xml:529 +#: misc/org.yorba.shotwell.gschema.xml:599 msgid "The scaling constraint ID of the picture to be uploaded" msgstr "Identyfikator ograniczenia skalowania wysyłanego zdjęcia" -#: misc/org.yorba.shotwell.gschema.xml:534 +#: misc/org.yorba.shotwell.gschema.xml:604 msgid "pixels of the major axis uploaded picture" msgstr "piksele głównej osi wysyłanego zdjęcia" -#: misc/org.yorba.shotwell.gschema.xml:535 +#: misc/org.yorba.shotwell.gschema.xml:605 msgid "" "The pixels of the major axis of the picture to be uploaded; used only if " "scaling-constraint-id is an appropriate value" @@ -1001,7 +1047,7 @@ msgstr "" "Piksele głównej osi wysyłanego zdjęcia. Używane tylko, jeśli „scaling-" "constraint-id” ma odpowiednią wartość" -#: misc/org.yorba.shotwell.gschema.xml:543 +#: misc/org.yorba.shotwell.gschema.xml:613 msgid "" "The OAuth token used to refresh the YouTube session for the currently logged " "in user, if any." @@ -1009,65 +1055,65 @@ msgstr "" "Token OAuth używany do odświeżania sesji serwisu YouTube dla obecnie " "zalogowanego użytkownika." -#: misc/org.yorba.shotwell.gschema.xml:550 +#: misc/org.yorba.shotwell.gschema.xml:620 msgid "last used import service" msgstr "ostatnio używana usługa importowania" -#: misc/org.yorba.shotwell.gschema.xml:551 +#: misc/org.yorba.shotwell.gschema.xml:621 msgid "" "A numeric code representing the last service from which photos were imported" msgstr "" "Kod numeryczny przedstawiający ostatnią usługę, z której importowano zdjęcia" -#: misc/org.yorba.shotwell.gschema.xml:558 +#: misc/org.yorba.shotwell.gschema.xml:628 msgid "interpreter state cookie" msgstr "ciasteczko stanu interpretatora" -#: misc/org.yorba.shotwell.gschema.xml:559 +#: misc/org.yorba.shotwell.gschema.xml:629 msgid "" "A numeric code that captures the state of the GStreamer plug-in environment" msgstr "Kod numeryczny przechwytujący stan środowiska wtyczki GStreamer" -#: misc/org.yorba.shotwell.gschema.xml:566 +#: misc/org.yorba.shotwell.gschema.xml:636 msgid "content layout mode" msgstr "tryb układu treści" -#: misc/org.yorba.shotwell.gschema.xml:567 +#: misc/org.yorba.shotwell.gschema.xml:637 msgid "" "A numeric code that describes how photos are laid out on the page during " "printing" msgstr "" "Kod numeryczny opisujący sposób ułożenia zdjęć na stronie podczas drukowania" -#: misc/org.yorba.shotwell.gschema.xml:572 +#: misc/org.yorba.shotwell.gschema.xml:642 msgid "content ppi" msgstr "ppi treści" -#: misc/org.yorba.shotwell.gschema.xml:573 +#: misc/org.yorba.shotwell.gschema.xml:643 msgid "The number of pixels per inch (ppi) sent to the printer during printing" msgstr "Liczba pikseli na cal (ppi) wysyłanych do drukarki podczas drukowania" -#: misc/org.yorba.shotwell.gschema.xml:578 +#: misc/org.yorba.shotwell.gschema.xml:648 msgid "content width" msgstr "szerokość treści" -#: misc/org.yorba.shotwell.gschema.xml:579 +#: misc/org.yorba.shotwell.gschema.xml:649 msgid "The width of the printed emulsion on the page when printing" msgstr "Szerokość drukowanej emulsji na stronie podczas drukowania" -#: misc/org.yorba.shotwell.gschema.xml:584 +#: misc/org.yorba.shotwell.gschema.xml:654 msgid "content height" msgstr "wysokość treści" -#: misc/org.yorba.shotwell.gschema.xml:585 +#: misc/org.yorba.shotwell.gschema.xml:655 msgid "The height of the printed emulsion on the page when printing" msgstr "Wysokość drukowanej emulsji na stronie podczas drukowania" -#: misc/org.yorba.shotwell.gschema.xml:590 +#: misc/org.yorba.shotwell.gschema.xml:660 msgid "content units" msgstr "jednostki treści" -#: misc/org.yorba.shotwell.gschema.xml:591 +#: misc/org.yorba.shotwell.gschema.xml:661 msgid "" "A numeric code representing unit of measure (inches or centimeters) used " "when printing" @@ -1075,11 +1121,11 @@ msgstr "" "Kod numeryczny przedstawiający jednostkę miary (cale lub centymetry) używaną " "podczas drukowania" -#: misc/org.yorba.shotwell.gschema.xml:596 +#: misc/org.yorba.shotwell.gschema.xml:666 msgid "images per page code" msgstr "kod obrazów na stronę" -#: misc/org.yorba.shotwell.gschema.xml:597 +#: misc/org.yorba.shotwell.gschema.xml:667 msgid "" "A numeric code representing the currently selected images per page mode used " "when printing" @@ -1087,22 +1133,22 @@ msgstr "" "Kod numeryczny przedstawiający obecnie wybrany tryb obrazów na stronę " "używany podczas drukowania" -#: misc/org.yorba.shotwell.gschema.xml:602 +#: misc/org.yorba.shotwell.gschema.xml:672 msgid "size selection" msgstr "wybór rozmiaru" -#: misc/org.yorba.shotwell.gschema.xml:603 +#: misc/org.yorba.shotwell.gschema.xml:673 msgid "" "The index of the current print size in a pre-defined list of standard sizes" msgstr "" "Indeks bieżącego rozmiaru drukowania na wcześniej określonej liście " "standardowych rozmiarów" -#: misc/org.yorba.shotwell.gschema.xml:608 +#: misc/org.yorba.shotwell.gschema.xml:678 msgid "match aspect ratio" msgstr "utrzymywanie proporcji" -#: misc/org.yorba.shotwell.gschema.xml:609 +#: misc/org.yorba.shotwell.gschema.xml:679 msgid "" "Determines whether custom print sizes must match the aspect ratio of the " "original photo" @@ -1110,11 +1156,11 @@ msgstr "" "Określa, czy niestandardowe rozmiary drukowania muszą pasować do proporcji " "oryginalnego zdjęcia" -#: misc/org.yorba.shotwell.gschema.xml:614 +#: misc/org.yorba.shotwell.gschema.xml:684 msgid "print titles" msgstr "drukowanie tytułów" -#: misc/org.yorba.shotwell.gschema.xml:615 +#: misc/org.yorba.shotwell.gschema.xml:685 msgid "" "True if the title of a photo should be printed when the photo is printed, " "false otherwise." @@ -1122,213 +1168,213 @@ msgstr "" "Jeśli jest ustawione na wartość „true”, tytuł zdjęcia jest drukowany podczas " "drukowania zdjęcia." -#: misc/org.yorba.shotwell.gschema.xml:620 +#: misc/org.yorba.shotwell.gschema.xml:690 msgid "titles font" msgstr "czcionka tytułów" -#: misc/org.yorba.shotwell.gschema.xml:621 +#: misc/org.yorba.shotwell.gschema.xml:691 msgid "The name of the font to use for photo titles when they are printed." msgstr "Nazwa czcionki używanej dla tytułów zdjęć podczas drukowania." -#: misc/org.yorba.shotwell.gschema.xml:632 +#: misc/org.yorba.shotwell.gschema.xml:702 msgid "enable facebook publishing plugin" msgstr "włączenie wtyczki publikowania w serwisie Facebook" -#: misc/org.yorba.shotwell.gschema.xml:633 +#: misc/org.yorba.shotwell.gschema.xml:703 msgid "True if the Facebook publishing plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka publikowania w serwisie " "Facebook jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:638 +#: misc/org.yorba.shotwell.gschema.xml:708 msgid "enable flickr publishing plugin" msgstr "włączenie wtyczki publikowania w serwisie Flickr" -#: misc/org.yorba.shotwell.gschema.xml:639 +#: misc/org.yorba.shotwell.gschema.xml:709 msgid "True if the Flickr publishing plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka publikowania w serwisie " "Flickr jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:644 +#: misc/org.yorba.shotwell.gschema.xml:714 msgid "enable picasa publishing plugin" msgstr "włączenie wtyczki publikowania w serwisie Picasa" -#: misc/org.yorba.shotwell.gschema.xml:645 +#: misc/org.yorba.shotwell.gschema.xml:715 msgid "" "True if the Picasa Web Albums publishing plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka publikowania w serwisie " "Picasa Web Albums jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:650 +#: misc/org.yorba.shotwell.gschema.xml:720 msgid "enable youtube publishing plugin" msgstr "włączenie wtyczki publikowania w serwisie YouTube" -#: misc/org.yorba.shotwell.gschema.xml:651 +#: misc/org.yorba.shotwell.gschema.xml:721 msgid "True if the YouTube publishing plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka publikowania w serwisie " "YouTube jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:656 +#: misc/org.yorba.shotwell.gschema.xml:726 msgid "enable piwigo publishing plugin" msgstr "włączenie wtyczki publikowania na serwerze Piwigo" -#: misc/org.yorba.shotwell.gschema.xml:657 +#: misc/org.yorba.shotwell.gschema.xml:727 msgid "True if the Piwigo publishing plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka publikowania na serwerze " "Piwigo jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:662 +#: misc/org.yorba.shotwell.gschema.xml:732 msgid "enable yandex publishing plugin" msgstr "włączenie wtyczki publikowania w serwisie Yandex" -#: misc/org.yorba.shotwell.gschema.xml:663 +#: misc/org.yorba.shotwell.gschema.xml:733 msgid "True if the Yandex.Fotki publishing plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka publikowania w serwisie " "Yandex.Fotki jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:668 +#: misc/org.yorba.shotwell.gschema.xml:738 msgid "enable tumblr publishing plugin" msgstr "włączenie wtyczki publikowania w serwisie Tumblr" -#: misc/org.yorba.shotwell.gschema.xml:669 +#: misc/org.yorba.shotwell.gschema.xml:739 msgid "True if the Tumblr publishing plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka publikowania w serwisie " "Tumblr jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:674 +#: misc/org.yorba.shotwell.gschema.xml:744 msgid "enable rajce publishing plugin" msgstr "włączenie wtyczki publikowania w serwisie Rajce" -#: misc/org.yorba.shotwell.gschema.xml:675 +#: misc/org.yorba.shotwell.gschema.xml:745 msgid "True if the Rajce publishing plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka publikowania w serwisie " "Rajce jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:680 +#: misc/org.yorba.shotwell.gschema.xml:750 msgid "enable gallery3 publishing plugin" msgstr "włączenie wtyczki publikowania w serwisie Gallery3" -#: misc/org.yorba.shotwell.gschema.xml:681 +#: misc/org.yorba.shotwell.gschema.xml:751 msgid "True if the Gallery3 publishing plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka publikowania w serwisie " "Gallery3 jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:686 +#: misc/org.yorba.shotwell.gschema.xml:756 msgid "enable F-Spot import plugin" msgstr "włączenie wtyczki importu z programu F-Spot" -#: misc/org.yorba.shotwell.gschema.xml:687 +#: misc/org.yorba.shotwell.gschema.xml:757 msgid "True if the F-Spot import plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka importowania z programu F-" "Spot jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:692 +#: misc/org.yorba.shotwell.gschema.xml:762 msgid "enable slideshow crumble transition" msgstr "włączenie przejścia wykruszania pokazu slajdów" -#: misc/org.yorba.shotwell.gschema.xml:693 +#: misc/org.yorba.shotwell.gschema.xml:763 msgid "" "True if the Crumble slideshow transition plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka przejścia wykruszania pokazu " "slajdów jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:698 +#: misc/org.yorba.shotwell.gschema.xml:768 msgid "enable slideshow fade transition" msgstr "włączenie przejścia przenikania pokazu slajdów" -#: misc/org.yorba.shotwell.gschema.xml:699 +#: misc/org.yorba.shotwell.gschema.xml:769 msgid "" "True if the Fade slideshow transition plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka przejścia przenikania pokazu " "slajdów jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:704 -#: misc/org.yorba.shotwell.gschema.xml:728 +#: misc/org.yorba.shotwell.gschema.xml:774 +#: misc/org.yorba.shotwell.gschema.xml:798 msgid "enable slideshow slide transition" msgstr "włączenie przejścia osunięcia pokazu slajdów" -#: misc/org.yorba.shotwell.gschema.xml:705 +#: misc/org.yorba.shotwell.gschema.xml:775 msgid "" "True if the Slide slideshow transition plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka przejścia osunięcia pokazu " "slajdów jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:710 +#: misc/org.yorba.shotwell.gschema.xml:780 msgid "enable slideshow clock transition" msgstr "włączenie przejścia zegara pokazu slajdów" -#: misc/org.yorba.shotwell.gschema.xml:711 +#: misc/org.yorba.shotwell.gschema.xml:781 msgid "" "True if the Clock slideshow transition plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka przejścia zegara pokazu " "slajdów jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:716 -#: misc/org.yorba.shotwell.gschema.xml:722 +#: misc/org.yorba.shotwell.gschema.xml:786 +#: misc/org.yorba.shotwell.gschema.xml:792 msgid "enable slideshow circle transition" msgstr "włączenie przejścia okręgu pokazu slajdów" -#: misc/org.yorba.shotwell.gschema.xml:717 +#: misc/org.yorba.shotwell.gschema.xml:787 msgid "" "True if the Circle slideshow transition plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka przejścia okręgu pokazu " "slajdów jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:723 +#: misc/org.yorba.shotwell.gschema.xml:793 msgid "" "True if the Circles slideshow transition plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka przejścia okręgów pokazu " "slajdów jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:729 +#: misc/org.yorba.shotwell.gschema.xml:799 msgid "" "True if the Blinds slideshow transition plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka przejścia żaluzji pokazu " "slajdów jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:734 +#: misc/org.yorba.shotwell.gschema.xml:804 msgid "enable slideshow squares transition" msgstr "włączenie przejścia kwadratów pokazu slajdów" -#: misc/org.yorba.shotwell.gschema.xml:735 +#: misc/org.yorba.shotwell.gschema.xml:805 msgid "" "True if the Squares slideshow transition plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka przejścia kwadratów pokazu " "slajdów jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:740 +#: misc/org.yorba.shotwell.gschema.xml:810 msgid "enable slideshow stripes transition" msgstr "włączenie przejścia pasków pokazu slajdów" -#: misc/org.yorba.shotwell.gschema.xml:741 +#: misc/org.yorba.shotwell.gschema.xml:811 msgid "" "True if the Stripes slideshow transition plugin is enabled, false otherwise" msgstr "" "Jeśli jest ustawione na wartość „true”, wtyczka przejścia pasków pokazu " "slajdów jest włączona" -#: misc/org.yorba.shotwell.gschema.xml:746 +#: misc/org.yorba.shotwell.gschema.xml:816 msgid "enable slideshow chess transition" msgstr "włączenie przejścia szachownicy pokazu slajdów" -#: misc/org.yorba.shotwell.gschema.xml:747 +#: misc/org.yorba.shotwell.gschema.xml:817 msgid "" "True if the Chess-Board slideshow transition plugin is enabled, false " "otherwise" @@ -1340,7 +1386,7 @@ msgstr "" msgid "Visit the Shotwell home page" msgstr "Witryna programu Shotwell" -#: plugins/common/Resources.vala:31 src/AppWindow.vala:676 +#: plugins/common/Resources.vala:31 src/AppWindow.vala:679 msgid "translator-credits" msgstr "" "verayin <vera@yorba.org>, 2011\n" @@ -1348,12 +1394,67 @@ msgstr "" "Piotr Drąg <piotrdrag@gmail.com>, 2011-2016\n" "Aviary.pl <community-poland@mozilla.org>, 2014-2016" -#: plugins/common/RESTSupport.vala:451 +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:202 +msgid "" +"⚫ This website presented identification that belongs to a different website." +msgstr "• Ta strona przedstawiła identyfikację należącą do innej strony." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:207 +msgid "" +"⚫ This website’s identification is too old to trust. Check the date on your " +"computer’s calendar." +msgstr "" +"• Identyfikacja tej strony jest za stara, aby można było jej zaufać. Proszę " +"sprawdzić poprawność daty w kalendarzu komputera." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:212 +msgid "" +"⚫ This website’s identification was not issued by a trusted organization." +msgstr "" +"• Identyfikacja tej strony nie została wydana przez zaufaną organizację." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:217 +msgid "" +"⚫ This website’s identification could not be processed. It may be corrupted." +msgstr "• Nie można przetworzyć identyfikacji tej strony. Może być uszkodzona." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:222 +msgid "" +"⚫ This website’s identification has been revoked by the trusted organization " +"that issued it." +msgstr "" +"• Identyfikacja tej strony została unieważniona przez zaufaną organizację, " +"która ją wydała." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:227 +msgid "" +"⚫ This website’s identification cannot be trusted because it uses very weak " +"encryption." +msgstr "" +"• Nie można zaufać identyfikacji tej strony, ponieważ używa bardzo słabego " +"szyfrowania." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:232 +msgid "" +"⚫ This website’s identification is only valid for future dates. Check the " +"date on your computer’s calendar." +msgstr "" +"• Identyfikacja tej strony jest ważna tylko w przyszłości. Proszę sprawdzić " +"poprawność daty w kalendarzu komputera." + +#: plugins/common/RESTSupport.vala:509 #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:958 msgid "A temporary file needed for publishing is unavailable" msgstr "Plik tymczasowy wymagany do publikacji jest niedostępny" -#: plugins/common/RESTSupport.vala:1157 +#: plugins/common/RESTSupport.vala:1167 msgid "" "You have already logged in and out of a Google service during this Shotwell " "session.\n" @@ -1471,7 +1572,7 @@ msgstr "_Wstecz" #: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:8 #: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:145 #: ui/shotwell.ui:1627 -msgid "_Login" +msgid "_Log in" msgstr "Za_loguj" #: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:34 @@ -1542,7 +1643,7 @@ msgstr "piksele" #: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:195 #: plugins/shotwell-publishing/FlickrPublishing.vala:1235 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1234 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1329 #: src/Dimensions.vala:17 msgid "Original size" msgstr "Rozmiar pierwotny" @@ -1576,8 +1677,8 @@ msgstr "Domyślny katalog programu Shotwell" msgid "" "\n" "\n" -"The file \"%s\" may not be supported by or may be too large for this " -"instance of Gallery3." +"The file “%s” may not be supported by or may be too large for this instance " +"of Gallery3." msgstr "" "\n" "\n" @@ -1597,7 +1698,7 @@ msgstr "" #: plugins/shotwell-publishing-extras/GalleryConnector.vala:1773 #, c-format msgid "" -"A file required for publishing is unavailable. Publishing to %s can't " +"A file required for publishing is unavailable. Publishing to %s can’t " "continue." msgstr "" "Plik wymagany do publikowania jest niedostępny. Nie można kontynuować " @@ -1666,7 +1767,7 @@ msgstr "_Zapamiętanie" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:895 #: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:107 #: plugins/shotwell-publishing/piwigo_authentication_pane.ui:151 -msgid "Login" +msgid "Log in" msgstr "Zaloguj" #: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:111 @@ -1680,7 +1781,7 @@ msgstr "Istni_ejącym albumie:" #: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:94 #: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:52 msgid "A _new album named:" -msgstr "_Nowym albumie o nazwie:" +msgstr "_Nowym albumie o nazwie:" #: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:159 #: plugins/shotwell-publishing-extras/RajcePublishing.vala:1005 @@ -1693,7 +1794,7 @@ msgid "Open target _album in browser" msgstr "Otwieranie _albumu docelowego w przeglądarce" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:40 -msgid "Copyright (C) 2013 rajce.net" +msgid "Copyright © 2013 rajce.net" msgstr "Copyright © 2013 rajce.net" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:744 @@ -1744,29 +1845,29 @@ msgstr "Copyright 2012 BJA Electronics" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:105 #: plugins/shotwell-publishing/FlickrPublishing.vala:1231 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1230 -msgid "500 x 375 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1325 +msgid "500 × 375 pixels" msgstr "500×375 pikseli" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:106 #: plugins/shotwell-publishing/FlickrPublishing.vala:1232 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1231 -msgid "1024 x 768 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1326 +msgid "1024 × 768 pixels" msgstr "1024×768 pikseli" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:107 -msgid "1280 x 853 pixels" +msgid "1280 × 853 pixels" msgstr "1280×853 piksele" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:311 #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:321 #, c-format -msgid "'%s' isn't a valid response to an OAuth authentication request" +msgid "“%s” isn’t a valid response to an OAuth authentication request" msgstr "„%s” nie jest prawidłową odpowiedzią na żądanie uwierzytelnienia OAuth" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:559 msgid "" -"TumblrPublisher: start( ): can't start; this publisher is not restartable." +"TumblrPublisher: start( ): can’t start; this publisher is not restartable." msgstr "" "TumblrPublisher: start( ): nie można uruchomić; tego modułu publikującego " "nie można uruchamiać ponownie." @@ -1777,12 +1878,12 @@ msgstr "" "Proszę podać nazwę użytkownika i hasło powiązane z kontem serwisu Tumblr." #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:588 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:992 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1087 msgid "Username and/or password invalid. Please try again" msgstr "Nieprawidłowa nazwa użytkownika lub hasło. Proszę spróbować ponownie" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:615 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1026 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1121 msgid "Invalid User Name or Password" msgstr "Nieprawidłowa nazwa użytkownika lub hasło" @@ -1809,7 +1910,7 @@ msgstr "Copyright 2010+ Evgeniy Polyakov <zbr@ioremap.net>" msgid "Visit the Yandex.Fotki web site" msgstr "Witryna serwisu Yandex.Fotki" -#: plugins/shotwell-publishing-extras/YandexPublishing.vala:658 +#: plugins/shotwell-publishing-extras/YandexPublishing.vala:609 msgid "You are not currently logged into Yandex.Fotki." msgstr "Obecnie nie zalogowano w serwisie Yandex.Fotki." @@ -1834,7 +1935,7 @@ msgid "Public" msgstr "Publiczne" #: plugins/shotwell-publishing-extras/yandex_publish_model.ui:162 -#: plugins/shotwell-publishing/FacebookPublishing.vala:1194 +#: plugins/shotwell-publishing/FacebookPublishing.vala:1144 msgid "Friends" msgstr "Przyjaciele" @@ -1849,10 +1950,10 @@ msgstr "Opublikowanie do i_stniejącego albumu:" #: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:57 msgid "Create a _new album named:" -msgstr "Utworzenie _nowego albumu o nazwie:" +msgstr "Utworzenie _nowego albumu o nazwie:" #: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:108 -#: plugins/shotwell-publishing/FacebookPublishing.vala:1034 +#: plugins/shotwell-publishing/FacebookPublishing.vala:984 msgid "Upload _size:" msgstr "_Rozmiar wysyłania:" @@ -1872,7 +1973,7 @@ msgstr "" #: plugins/shotwell-publishing/FacebookPublishing.vala:62 #: plugins/shotwell-publishing/PicasaPublishing.vala:60 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1114 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1209 msgid "Shotwell Connect" msgstr "Połączenie programu Shotwell" @@ -1880,7 +1981,7 @@ msgstr "Połączenie programu Shotwell" msgid "" "You are not currently logged into Facebook.\n" "\n" -"If you don't yet have a Facebook account, you can create one during the " +"If you don’t yet have a Facebook account, you can create one during the " "login process. During login, Shotwell Connect may ask you for permission to " "upload photos and publish to your feed. These permissions are required for " "Shotwell Connect to function." @@ -1889,7 +1990,7 @@ msgstr "" "\n" "Jeśli użytkownik nie ma jeszcze konta w serwisie Facebook, można je utworzyć " "podczas procesu logowania. Podczas logowania Shotwell Connect może zapytać " -"o pozwolenie na wysyłanie zdjęć i publikowanie ich w kanale użytkownika. To " +"o pozwolenie na wysyłanie zdjęć i publikowanie ich w kanale użytkownika. To " "pozwolenie jest wymagane, aby Shotwell Connect mogło działać." #: plugins/shotwell-publishing/FacebookPublishing.vala:66 @@ -1914,23 +2015,23 @@ msgid "Large (2048 pixels)" msgstr "Duże (2048 pikseli)" #: plugins/shotwell-publishing/FacebookPublishing.vala:255 -msgid "Testing connection to Facebook..." +msgid "Testing connection to Facebook…" msgstr "Testowanie połączenia z serwisem Facebook…" #: plugins/shotwell-publishing/FacebookPublishing.vala:348 #: plugins/shotwell-publishing/PicasaPublishing.vala:379 -msgid "Creating album..." +msgid "Creating album…" msgstr "Tworzenie albumu…" #: plugins/shotwell-publishing/FacebookPublishing.vala:374 msgid "" -"A file required for publishing is unavailable. Publishing to Facebook can't " +"A file required for publishing is unavailable. Publishing to Facebook can’t " "continue." msgstr "" "Plik wymagany do publikowania jest niedostępny. Nie można kontynuować " "publikowania do serwisu Facebook." -#: plugins/shotwell-publishing/FacebookPublishing.vala:1032 +#: plugins/shotwell-publishing/FacebookPublishing.vala:982 #, c-format msgid "" "You are logged into Facebook as %s.\n" @@ -1939,18 +2040,18 @@ msgstr "" "Zalogowano w serwisie Facebook jako użytkownik %s.\n" "\n" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1033 +#: plugins/shotwell-publishing/FacebookPublishing.vala:983 msgid "Where would you like to publish the selected photos?" msgstr "Gdzie opublikować wybrane zdjęcia?" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1193 +#: plugins/shotwell-publishing/FacebookPublishing.vala:1143 #: plugins/shotwell-publishing/FlickrPublishing.vala:1213 msgid "Just me" msgstr "Tylko dla mnie" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1195 +#: plugins/shotwell-publishing/FacebookPublishing.vala:1145 #: plugins/shotwell-publishing/FlickrPublishing.vala:1209 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1218 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1313 msgid "Everyone" msgstr "Wszystkich" @@ -1966,7 +2067,7 @@ msgstr "" msgid "Authorization _Number:" msgstr "_Numer upoważnienia:" -#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83 src/Dialogs.vala:132 +#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83 src/Dialogs.vala:128 msgid "Con_tinue" msgstr "Ko_ntynuuj" @@ -1974,7 +2075,7 @@ msgstr "Ko_ntynuuj" msgid "" "You are not currently logged into Flickr.\n" "\n" -"Click Login to log into Flickr in your Web browser. You will have to " +"Click Log in to log into Flickr in your Web browser. You will have to " "authorize Shotwell Connect to link to your Flickr account." msgstr "" "Nie zalogowano w serwisie Flickr.\n" @@ -1995,20 +2096,20 @@ msgstr "" "uruchomić program Shotwell, a następnie ponownie spróbować publikacji." #: plugins/shotwell-publishing/FlickrPublishing.vala:374 -msgid "Preparing for login..." +msgid "Preparing for login…" msgstr "Przygotowywanie do zalogowania…" #: plugins/shotwell-publishing/FlickrPublishing.vala:444 #: plugins/shotwell-publishing/FlickrPublishing.vala:594 msgid "" -"A file required for publishing is unavailable. Publishing to Flickr can't " +"A file required for publishing is unavailable. Publishing to Flickr can’t " "continue." msgstr "" "Plik wymagany do publikowania jest niedostępny. Nie można kontynuować " "publikowania do serwisu Flickr." #: plugins/shotwell-publishing/FlickrPublishing.vala:457 -msgid "Verifying authorization..." +msgid "Verifying authorization…" msgstr "Sprawdzanie upoważnienia…" #: plugins/shotwell-publishing/FlickrPublishing.vala:1152 @@ -2070,13 +2171,13 @@ msgid "Friends only" msgstr "Tylko przyjaciele" #: plugins/shotwell-publishing/FlickrPublishing.vala:1233 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1232 -msgid "2048 x 1536 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1327 +msgid "2048 × 1536 pixels" msgstr "2048×1536 pikseli" #: plugins/shotwell-publishing/FlickrPublishing.vala:1234 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1233 -msgid "4096 x 3072 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1328 +msgid "4096 × 3072 pixels" msgstr "4096×3072 piksele" #: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:113 @@ -2091,8 +2192,8 @@ msgstr "Rozmiar _zdjęcia:" msgid "" "You are not currently logged into Picasa Web Albums.\n" "\n" -"Click Login to log into Picasa Web Albums in your Web browser. You will have " -"to authorize Shotwell Connect to link to your Picasa Web Albums account." +"Click Log in to log into Picasa Web Albums in your Web browser. You will " +"have to authorize Shotwell Connect to link to your Picasa Web Albums account." msgstr "" "Obecnie nie zalogowano w serwisie Picasa Web Albums.\n" "\n" @@ -2102,7 +2203,7 @@ msgstr "" #: plugins/shotwell-publishing/PicasaPublishing.vala:361 msgid "" -"A file required for publishing is unavailable. Publishing to Picasa can't " +"A file required for publishing is unavailable. Publishing to Picasa can’t " "continue." msgstr "" "Plik wymagany do publikowania jest niedostępny. Nie można kontynuować " @@ -2119,19 +2220,19 @@ msgid "Videos will appear in:" msgstr "Nagrania wideo pojawią się w:" #: plugins/shotwell-publishing/PicasaPublishing.vala:746 -msgid "Small (640 x 480 pixels)" +msgid "Small (640 × 480 pixels)" msgstr "Małe (640×480 pikseli)" #: plugins/shotwell-publishing/PicasaPublishing.vala:747 -msgid "Medium (1024 x 768 pixels)" +msgid "Medium (1024 × 768 pixels)" msgstr "Średnie (1024×768 pikseli)" #: plugins/shotwell-publishing/PicasaPublishing.vala:748 -msgid "Recommended (1600 x 1200 pixels)" +msgid "Recommended (1600 × 1200 pixels)" msgstr "Zalecane (1600×1200 pikseli)" #: plugins/shotwell-publishing/PicasaPublishing.vala:749 -msgid "Google+ (2048 x 1536 pixels)" +msgid "Google+ (2048 × 1536 pixels)" msgstr "Google+ (2048×1536 pikseli)" #: plugins/shotwell-publishing/PicasaPublishing.vala:750 @@ -2190,18 +2291,30 @@ msgstr "Wyloguj" msgid "Publish" msgstr "Opublikuj" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:747 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:775 #, c-format -msgid "Creating album %s..." +msgid "Creating album %s…" msgstr "Tworzenie albumu %s…" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:920 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:948 msgid "An error message occurred when publishing to Piwigo. Please try again." msgstr "" "Wystąpił komunikat o błędzie podczas publikowania w serwisie Piwigo. Proszę " "spróbować ponownie." -#: plugins/shotwell-publishing/PiwigoPublishing.vala:990 +#. %s is the host name that we tried to connect to +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1024 +#, c-format +msgid "" +"This does not look like the real <b>%s</b>. Attackers might be trying to " +"steal or alter information going to or from this site (for example, private " +"messages, credit card information, or passwords)." +msgstr "" +"Nie wygląda to na prawdziwą stronę <b>%s</b>. Atakujący mogą próbować ukraść " +"lub zmienić informacje wychodzące i przychodzące z tej strony, takie jak " +"prywatne wiadomości, karty płatnicze lub hasła." + +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1085 msgid "" "Enter the URL of your Piwigo photo library as well as the username and " "password associated with your Piwigo account for that library." @@ -2209,7 +2322,7 @@ msgstr "" "Proszę podać adres URL kolekcji zdjęć serwisu Piwigo oraz nazwę użytkownika " "i hasło powiązane z kontem w serwisie Piwigo dla tej kolekcji." -#: plugins/shotwell-publishing/PiwigoPublishing.vala:991 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1086 msgid "" "Shotwell cannot contact your Piwigo photo library. Please verify the URL you " "entered" @@ -2217,26 +2330,38 @@ msgstr "" "Program Shotwell nie może połączyć się z kolekcją zdjęć serwisu Piwigo. " "Proszę sprawdzić podany adres URL" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1021 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1116 msgid "Invalid URL" msgstr "Nieprawidłowy adres URL" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1219 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1314 msgid "Admins, Family, Friends, Contacts" msgstr "Administratorzy, rodzina, przyjaciele, kontakty" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1220 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1315 msgid "Admins, Family, Friends" msgstr "Administratorzy, rodzina, przyjaciele" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1221 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1316 msgid "Admins, Family" msgstr "Administratorzy, rodzina" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1222 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1317 msgid "Admins" msgstr "Administratorzy" +#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:21 +msgid "This connection is not secure" +msgstr "To połączenie nie jest bezpieczne" + +#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:75 +msgid "Show the certificate…" +msgstr "Wyświetl certyfikat…" + +#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:88 +msgid "I understand, please _proceed." +msgstr "_Rozumiem, proszę kontynuować." + #: plugins/shotwell-publishing/shotwell-publishing.vala:26 msgid "Core Publishing Services" msgstr "Główne usługi publikowania" @@ -2262,7 +2387,7 @@ msgstr "" #: plugins/shotwell-publishing/YouTubePublishing.vala:363 msgid "" -"A file required for publishing is unavailable. Publishing to Youtube can't " +"A file required for publishing is unavailable. Publishing to YouTube can’t " "continue." msgstr "" "Plik wymagany do publikowania jest niedostępny. Nie można kontynuować " @@ -2275,7 +2400,7 @@ msgstr "Zalogowano w serwisie YouTube jako użytkownik %s." #: plugins/shotwell-publishing/YouTubePublishing.vala:464 #, c-format -msgid "Videos will appear in '%s'" +msgid "Videos will appear in “%s”" msgstr "Nagrania wideo pojawią się w „%s”" #: plugins/shotwell-publishing/YouTubePublishing.vala:496 @@ -2385,29 +2510,29 @@ msgstr "Przypina pasek narzędziowy" msgid "Leave fullscreen" msgstr "Opuszcza pełny ekran" -#: src/AppWindow.vala:496 +#: src/AppWindow.vala:499 msgid "_Contents" msgstr "_Spis treści" -#: src/AppWindow.vala:501 +#: src/AppWindow.vala:504 msgid "_Frequently Asked Questions" msgstr "Naj_częściej zadawane pytania" -#: src/AppWindow.vala:506 -msgid "_Report a Problem..." +#: src/AppWindow.vala:509 +msgid "_Report a Problem…" msgstr "_Zgłoś problem…" -#: src/AppWindow.vala:605 src/AppWindow.vala:626 src/AppWindow.vala:643 +#: src/AppWindow.vala:608 src/AppWindow.vala:629 src/AppWindow.vala:646 #: src/data_imports/DataImportsUI.vala:413 src/Dialogs.vala:20 -#: src/Dialogs.vala:28 src/Dialogs.vala:1425 src/Dialogs.vala:1448 +#: src/Dialogs.vala:28 src/Dialogs.vala:1441 src/Dialogs.vala:1464 #: src/publishing/PublishingUI.vala:512 src/Resources.vala:157 msgid "_Cancel" msgstr "_Anuluj" -#: src/AppWindow.vala:653 +#: src/AppWindow.vala:656 #, c-format msgid "" -"A fatal error occurred when accessing Shotwell's library. Shotwell cannot " +"A fatal error occurred when accessing Shotwell’s library. Shotwell cannot " "continue.\n" "\n" "%s" @@ -2417,21 +2542,21 @@ msgstr "" "\n" "%s" -#: src/AppWindow.vala:673 +#: src/AppWindow.vala:676 msgid "Visit the Shotwell web site" msgstr "Witryna programu Shotwell" -#: src/AppWindow.vala:685 +#: src/AppWindow.vala:688 #, c-format msgid "Unable to display help: %s" msgstr "Nie można wyświetlić pomocy: %s" -#: src/AppWindow.vala:693 +#: src/AppWindow.vala:696 #, c-format msgid "Unable to navigate to bug database: %s" msgstr "Nie można przejść do bazy danych błędów: %s" -#: src/AppWindow.vala:701 +#: src/AppWindow.vala:704 #, c-format msgid "Unable to display FAQ: %s" msgstr "Nie można wyświetlić dokumentu FAQ: %s" @@ -2513,7 +2638,7 @@ msgstr "RAW+JPEG" #: src/camera/ImportPage.vala:458 msgid "" -"Unable to unmount camera. Try unmounting the camera from the file manager." +"Unable to unmount camera. Try unmounting the camera from the file manager." msgstr "" "Nie można odmontować aparatu. Proszę spróbować odmontować aparat " "w menedżerze plików." @@ -2565,7 +2690,7 @@ msgstr "Importuje wszystkie zdjęcia do kolekcji" #: src/camera/ImportPage.vala:1013 msgid "" "Shotwell needs to unmount the camera from the filesystem in order to access " -"it. Continue?" +"it. Continue?" msgstr "" "Program Shotwell musi odmontować aparat z systemu plików, aby uzyskać do " "niego dostęp. Kontynuować?" @@ -2580,8 +2705,8 @@ msgstr "Proszę odmontować aparat." #: src/camera/ImportPage.vala:1029 msgid "" -"The camera is locked by another application. Shotwell can only access the " -"camera when it's unlocked. Please close any other application using the " +"The camera is locked by another application. Shotwell can only access the " +"camera when it’s unlocked. Please close any other application using the " "camera and try again." msgstr "" "Aparat jest zablokowany przez inny program. Program Shotwell może uzyskać " @@ -2602,16 +2727,16 @@ msgstr "" "%s" #: src/camera/ImportPage.vala:1061 -msgid "Unmounting..." +msgid "Unmounting…" msgstr "Odmontowywanie…" #: src/camera/ImportPage.vala:1152 -msgid "Starting import, please wait..." +msgid "Starting import, please wait…" msgstr "Rozpoczynanie importowania, proszę czekać…" #: src/camera/ImportPage.vala:1169 msgid "Fetching photo information" -msgstr "Pobieranie informacji o zdjęciach" +msgstr "Pobieranie informacji o zdjęciach" #: src/camera/ImportPage.vala:1527 #, c-format @@ -2655,7 +2780,7 @@ msgstr[0] "Usunąć te pliki z aparatu?" msgstr[1] "Usunąć %d pliki z aparatu?" msgstr[2] "Usunąć %d plików z aparatu?" -#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1392 +#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1408 msgid "_Keep" msgstr "_Zatrzymaj" @@ -2692,7 +2817,7 @@ msgstr "Eksport zdjęć/nagrań wideo" msgid "Export Photo" msgstr "Eksport zdjęcia" -#: src/CollectionPage.vala:458 src/Dialogs.vala:88 +#: src/CollectionPage.vala:458 src/Dialogs.vala:84 msgid "Export Photos" msgstr "Eksport zdjęć" @@ -2845,7 +2970,7 @@ msgstr "Utwórz etykietę" #: src/Commands.vala:1695 #, c-format -msgid "Move Tag \"%s\"" +msgid "Move Tag “%s”" msgstr "Przenieś etykietę „%s”" #: src/Commands.vala:2347 @@ -2906,7 +3031,7 @@ msgstr "Baza danych %s" #: src/data_imports/DataImportsPluginHost.vala:148 #: src/data_imports/DataImportsPluginHost.vala:294 #, c-format -msgid "Importing from %s can't continue because an error occurred:" +msgid "Importing from %s can’t continue because an error occurred:" msgstr "" "Importowanie z %s nie może być kontynuowane z powodu wystąpienia błędu:" @@ -3009,13 +3134,13 @@ msgstr "Nie można przygotować pokazu slajdów pulpitu: %s" #: src/Dialogs.vala:16 #, c-format -msgid "This will remove the tag \"%s\" from one photo. Continue?" -msgid_plural "This will remove the tag \"%s\" from %d photos. Continue?" +msgid "This will remove the tag “%s” from one photo. Continue?" +msgid_plural "This will remove the tag “%s” from %d photos. Continue?" msgstr[0] "Etykieta „%s” zostanie usunięta ze zdjęcia. Kontynuować?" msgstr[1] "Etykieta „%s” zostanie usunięta z %d zdjęć. Kontynuować?" msgstr[2] "Etykieta „%s” zostanie usunięta z %d zdjęć. Kontynuować?" -#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1393 +#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1409 #: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:409 #: src/Resources.vala:674 msgid "_Delete" @@ -3023,7 +3148,7 @@ msgstr "_Usuń" #: src/Dialogs.vala:25 #, c-format -msgid "This will remove the saved search \"%s\". Continue?" +msgid "This will remove the saved search “%s”. Continue?" msgstr "Spowoduje to usunięcie zapisanego wyszukiwania „%s”. Kontynuować?" #: src/Dialogs.vala:36 @@ -3056,16 +3181,16 @@ msgstr "Eksport nagrań wideo" #. if we can't copy an image over for editing in an external tool. #. Did we fail because we can't write to this directory? #. Yes - display an alternate error message here. -#: src/Dialogs.vala:116 +#: src/Dialogs.vala:112 #, c-format msgid "" -"Shotwell couldn't create a file for editing this photo because you do not " +"Shotwell couldn’t create a file for editing this photo because you do not " "have permission to write to %s." msgstr "" "Program Shotwell nie może utworzyć pliku do modyfikowania tego zdjęcia, " "ponieważ brak uprawnień do zapisywania w %s." -#: src/Dialogs.vala:125 +#: src/Dialogs.vala:121 msgid "" "Unable to export the following photo due to a file error.\n" "\n" @@ -3073,7 +3198,7 @@ msgstr "" "Nie można wyeksportować zdjęcia z powodu błędu pliku.\n" "\n" -#: src/Dialogs.vala:131 +#: src/Dialogs.vala:127 msgid "" "\n" "\n" @@ -3086,53 +3211,53 @@ msgstr "" #. "Unmodified" and "Current," though they appear in the "Format:" popup menu, really #. aren't formats so much as they are operating modes that determine specific formats. #. Hereafter we'll refer to these as "special formats." -#: src/Dialogs.vala:148 +#: src/Dialogs.vala:144 msgid "Unmodified" msgstr "Niezmodyfikowane" -#: src/Dialogs.vala:149 +#: src/Dialogs.vala:145 msgid "Current" msgstr "Bieżące" #. layout controls -#: src/Dialogs.vala:216 +#: src/Dialogs.vala:221 msgid "_Format:" msgstr "_Format:" -#: src/Dialogs.vala:219 +#: src/Dialogs.vala:224 msgid "_Quality:" msgstr "_Jakość:" -#: src/Dialogs.vala:222 +#: src/Dialogs.vala:227 msgid "_Scaling constraint:" msgstr "Ograniczenie _skalowania:" -#: src/Dialogs.vala:225 +#: src/Dialogs.vala:230 msgid "_Pixels:" msgstr "_Piksele:" -#: src/Dialogs.vala:228 -msgid "Export metadata" -msgstr "Wyeksportuj metadane" +#: src/Dialogs.vala:234 +msgid "Export _metadata:" +msgstr "Eksportowanie _metadanych:" -#: src/Dialogs.vala:462 -msgid "Save Details..." +#: src/Dialogs.vala:478 +msgid "Save Details…" msgstr "Zapisz szczegóły…" -#: src/Dialogs.vala:463 +#: src/Dialogs.vala:479 msgid "Save Details" msgstr "Zapisz szczegóły" -#: src/Dialogs.vala:478 +#: src/Dialogs.vala:494 #, c-format msgid "(and %d more)\n" msgstr "(oraz %d więcej)\n" -#: src/Dialogs.vala:531 +#: src/Dialogs.vala:547 msgid "Import Results Report" -msgstr "Zaimportuj raport o wynikach" +msgstr "Zaimportuj raport o wynikach" -#: src/Dialogs.vala:535 +#: src/Dialogs.vala:551 #, c-format msgid "Attempted to import %d file." msgid_plural "Attempted to import %d files." @@ -3140,7 +3265,7 @@ msgstr[0] "Spróbowano zaimportować %d plik." msgstr[1] "Spróbowano zaimportować %d pliki." msgstr[2] "Spróbowano zaimportować %d plików." -#: src/Dialogs.vala:538 +#: src/Dialogs.vala:554 #, c-format msgid "Of these, %d file was successfully imported." msgid_plural "Of these, %d files were successfully imported." @@ -3151,31 +3276,31 @@ msgstr[2] "%d plik zostało pomyślnie zaimportowanych." #. #. Duplicates #. -#: src/Dialogs.vala:550 +#: src/Dialogs.vala:566 msgid "Duplicate Photos/Videos Not Imported:" msgstr "Niezaimportowane podwójne kopie zdjęć/nagrań wideo:" -#: src/Dialogs.vala:554 +#: src/Dialogs.vala:570 msgid "duplicates existing media item" msgstr "tworzy kopię istniejącego elementu multimedialnego" #. #. Files Not Imported Due to Camera Errors #. -#: src/Dialogs.vala:565 +#: src/Dialogs.vala:581 msgid "Photos/Videos Not Imported Due to Camera Errors:" msgstr "Niezaimportowane zdjęcia/nagrania wideo z powodu błędów aparatu:" -#: src/Dialogs.vala:568 src/Dialogs.vala:583 src/Dialogs.vala:598 -#: src/Dialogs.vala:614 src/Dialogs.vala:629 src/Dialogs.vala:643 +#: src/Dialogs.vala:584 src/Dialogs.vala:599 src/Dialogs.vala:614 +#: src/Dialogs.vala:630 src/Dialogs.vala:645 src/Dialogs.vala:659 msgid "error message:" msgstr "komunikat o błędzie:" #. #. Files Not Imported Because They Weren't Recognized as Photos or Videos #. -#: src/Dialogs.vala:579 -msgid "Files Not Imported Because They Weren't Recognized as Photos or Videos:" +#: src/Dialogs.vala:595 +msgid "Files Not Imported Because They Weren’t Recognized as Photos or Videos:" msgstr "" "Niezaimportowane pliki, ponieważ nie zostały rozpoznane jako zdjęcia lub " "nagrania wideo:" @@ -3183,9 +3308,9 @@ msgstr "" #. #. Photos/Videos Not Imported Because They Weren't in a Format Shotwell Understands #. -#: src/Dialogs.vala:594 +#: src/Dialogs.vala:610 msgid "" -"Photos/Videos Not Imported Because They Weren't in a Format Shotwell " +"Photos/Videos Not Imported Because They Weren’t in a Format Shotwell " "Understands:" msgstr "" "Niezaimportowane pliki, ponieważ nie są w formacie rozumianym przez program " @@ -3194,18 +3319,18 @@ msgstr "" #. #. Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its Library #. -#: src/Dialogs.vala:609 +#: src/Dialogs.vala:625 msgid "" -"Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its " +"Photos/Videos Not Imported Because Shotwell Couldn’t Copy Them into its " "Library:" msgstr "" "Niezaimportowane pliki, ponieważ program Shotwell nie mógł skopiować ich do " "kolekcji:" -#: src/Dialogs.vala:613 +#: src/Dialogs.vala:629 #, c-format msgid "" -"couldn't copy %s\n" +"couldn’t copy %s\n" "\tto %s" msgstr "" "nie można skopiować %s\n" @@ -3214,18 +3339,18 @@ msgstr "" #. #. Photos/Videos Not Imported Because GDK Pixbuf Library Identified them as Corrupt #. -#: src/Dialogs.vala:625 +#: src/Dialogs.vala:641 msgid "Photos/Videos Not Imported Because Files Are Corrupt:" msgstr "Nie zaimportowano zdjęć/nagrań wideo, ponieważ pliki są uszkodzone:" #. #. Photos/Videos Not Imported for Other Reasons #. -#: src/Dialogs.vala:640 +#: src/Dialogs.vala:656 msgid "Photos/Videos Not Imported for Other Reasons:" msgstr "Niezaimportowane pliki z innego powodu:" -#: src/Dialogs.vala:660 +#: src/Dialogs.vala:676 #, c-format msgid "1 duplicate photo was not imported:\n" msgid_plural "%d duplicate photos were not imported:\n" @@ -3233,7 +3358,7 @@ msgstr[0] "Jedna kopia zdjęcia nie została zaimportowana:\n" msgstr[1] "%d kopie zdjęć nie zostały zaimportowane:\n" msgstr[2] "%d kopii zdjęć nie zostało zaimportowanych:\n" -#: src/Dialogs.vala:663 +#: src/Dialogs.vala:679 #, c-format msgid "1 duplicate video was not imported:\n" msgid_plural "%d duplicate videos were not imported:\n" @@ -3241,7 +3366,7 @@ msgstr[0] "Jedna kopia nagrania wideo nie została zaimportowana:\n" msgstr[1] "%d kopie nagrań wideo nie zostały zaimportowane:\n" msgstr[2] "%d kopii nagrań wideo nie zostało zaimportowanych:\n" -#: src/Dialogs.vala:666 +#: src/Dialogs.vala:682 #, c-format msgid "1 duplicate photo/video was not imported:\n" msgid_plural "%d duplicate photos/videos were not imported:\n" @@ -3249,7 +3374,7 @@ msgstr[0] "Jedna kopia zdjęcia/nagrania wideo nie została zaimportowana:\n" msgstr[1] "%d kopie zdjęć/nagrań wideo nie zostały zaimportowane:\n" msgstr[2] "%d kopii zdjęć/nagrań wideo nie zostało zaimportowanych:\n" -#: src/Dialogs.vala:680 +#: src/Dialogs.vala:696 #, c-format msgid "1 photo failed to import due to a file or hardware error:\n" msgid_plural "%d photos failed to import due to a file or hardware error:\n" @@ -3261,7 +3386,7 @@ msgstr[1] "" msgstr[2] "" "Zaimportowanie %d zdjęć się nie powiodło z powodu błędu pliku lub sprzętu:\n" -#: src/Dialogs.vala:683 +#: src/Dialogs.vala:699 #, c-format msgid "1 video failed to import due to a file or hardware error:\n" msgid_plural "%d videos failed to import due to a file or hardware error:\n" @@ -3275,7 +3400,7 @@ msgstr[2] "" "Zaimportowanie %d nagrań wideo się nie powiodło z powodu błędu pliku lub " "sprzętu:\n" -#: src/Dialogs.vala:686 +#: src/Dialogs.vala:702 #, c-format msgid "1 photo/video failed to import due to a file or hardware error:\n" msgid_plural "" @@ -3290,7 +3415,7 @@ msgstr[2] "" "Zaimportowanie %d zdjęć/nagrań wideo się nie powiodło z powodu błędu pliku " "lub sprzętu:\n" -#: src/Dialogs.vala:689 +#: src/Dialogs.vala:705 #, c-format msgid "1 file failed to import due to a file or hardware error:\n" msgid_plural "%d files failed to import due to a file or hardware error:\n" @@ -3302,7 +3427,7 @@ msgstr[1] "" msgstr[2] "" "Zaimportowanie %d plików się nie powiodło z powodu błędu pliku lub sprzętu:\n" -#: src/Dialogs.vala:703 +#: src/Dialogs.vala:719 #, c-format msgid "" "1 photo failed to import because the photo library folder was not writable:\n" @@ -3319,7 +3444,7 @@ msgstr[2] "" "Zaimportowanie %d zdjęć się nie powiodło, ponieważ katalog kolekcji zdjęć " "nie jest zapisywalny:\n" -#: src/Dialogs.vala:706 +#: src/Dialogs.vala:722 #, c-format msgid "" "1 video failed to import because the photo library folder was not writable:\n" @@ -3336,7 +3461,7 @@ msgstr[2] "" "Zaimportowanie %d nagrań wideo się nie powiodło, ponieważ katalog kolekcji " "zdjęć nie jest zapisywalny:\n" -#: src/Dialogs.vala:709 +#: src/Dialogs.vala:725 #, c-format msgid "" "1 photo/video failed to import because the photo library folder was not " @@ -3354,7 +3479,7 @@ msgstr[2] "" "Zaimportowanie %d zdjęć/nagrań wideo się nie powiodło, ponieważ katalog " "kolekcji zdjęć nie jest zapisywalny:\n" -#: src/Dialogs.vala:712 +#: src/Dialogs.vala:728 #, c-format msgid "" "1 file failed to import because the photo library folder was not writable:\n" @@ -3371,7 +3496,7 @@ msgstr[2] "" "Zaimportowanie %d plików się nie powiodło, ponieważ katalog kolekcji zdjęć " "nie jest zapisywalny:\n" -#: src/Dialogs.vala:726 +#: src/Dialogs.vala:742 #, c-format msgid "1 photo failed to import due to a camera error:\n" msgid_plural "%d photos failed to import due to a camera error:\n" @@ -3380,7 +3505,7 @@ msgstr[0] "" msgstr[1] "Zaimportowanie %d zdjęć się nie powiodło z powodu błędu aparatu:\n" msgstr[2] "Zaimportowanie %d zdjęć się nie powiodło z powodu błędu aparatu:\n" -#: src/Dialogs.vala:729 +#: src/Dialogs.vala:745 #, c-format msgid "1 video failed to import due to a camera error:\n" msgid_plural "%d videos failed to import due to a camera error:\n" @@ -3392,7 +3517,7 @@ msgstr[1] "" msgstr[2] "" "Zaimportowanie %d nagrań wideo się nie powiodło z powodu błędu aparatu:\n" -#: src/Dialogs.vala:732 +#: src/Dialogs.vala:748 #, c-format msgid "1 photo/video failed to import due to a camera error:\n" msgid_plural "%d photos/videos failed to import due to a camera error:\n" @@ -3406,7 +3531,7 @@ msgstr[2] "" "Zaimportowanie %d zdjęć/nagrań wideo się nie powiodło z powodu błędu " "aparatu:\n" -#: src/Dialogs.vala:735 +#: src/Dialogs.vala:751 #, c-format msgid "1 file failed to import due to a camera error:\n" msgid_plural "%d files failed to import due to a camera error:\n" @@ -3415,7 +3540,7 @@ msgstr[0] "" msgstr[1] "Zaimportowanie %d plików się nie powiodło z powodu błędu aparatu:\n" msgstr[2] "Zaimportowanie %d plików się nie powiodło z powodu błędu aparatu:\n" -#: src/Dialogs.vala:749 +#: src/Dialogs.vala:765 #, c-format msgid "1 photo failed to import because it was corrupt:\n" msgid_plural "%d photos failed to import because they were corrupt:\n" @@ -3427,7 +3552,7 @@ msgstr[1] "" msgstr[2] "" "Zaimportowanie %d zdjęć się nie powiodło, ponieważ są one uszkodzone:\n" -#: src/Dialogs.vala:752 +#: src/Dialogs.vala:768 #, c-format msgid "1 video failed to import because it was corrupt:\n" msgid_plural "%d videos failed to import because they were corrupt:\n" @@ -3441,7 +3566,7 @@ msgstr[2] "" "Zaimportowanie %d nagrań wideo się nie powiodło, ponieważ są one " "uszkodzone:\n" -#: src/Dialogs.vala:755 +#: src/Dialogs.vala:771 #, c-format msgid "1 photo/video failed to import because it was corrupt:\n" msgid_plural "%d photos/videos failed to import because they were corrupt:\n" @@ -3455,7 +3580,7 @@ msgstr[2] "" "Zaimportowanie %d zdjęć/nagrań wideo się nie powiodło, ponieważ są one " "uszkodzone:\n" -#: src/Dialogs.vala:758 +#: src/Dialogs.vala:774 #, c-format msgid "1 file failed to import because it was corrupt:\n" msgid_plural "%d files failed to import because it was corrupt:\n" @@ -3470,7 +3595,7 @@ msgstr[2] "" #. standard container formats are supported, it's just that the streams in them #. might or might not be interpretable), so this message does not need to be #. media specific -#: src/Dialogs.vala:775 +#: src/Dialogs.vala:791 #, c-format msgid "1 unsupported photo skipped:\n" msgid_plural "%d unsupported photos skipped:\n" @@ -3480,7 +3605,7 @@ msgstr[2] "Pominięto %d nieobsługiwanych zdjęć:\n" #. we have no notion of "non-video" video files right now in Shotwell, so this #. message doesn't need to be media specific -#: src/Dialogs.vala:790 +#: src/Dialogs.vala:806 #, c-format msgid "1 non-image file skipped.\n" msgid_plural "%d non-image files skipped.\n" @@ -3488,7 +3613,7 @@ msgstr[0] "Pominięto jeden plik niebędący obrazem.\n" msgstr[1] "Pominięto %d pliki niebędące obrazami.\n" msgstr[2] "Pominięto %d plików niebędących obrazami.\n" -#: src/Dialogs.vala:801 +#: src/Dialogs.vala:817 #, c-format msgid "1 photo skipped due to user cancel:\n" msgid_plural "%d photos skipped due to user cancel:\n" @@ -3496,7 +3621,7 @@ msgstr[0] "Pominięto jedno zdjęcie z powodu anulowania przez użytkownika:\n" msgstr[1] "Pominięto %d zdjęcia z powodu anulowania przez użytkownika:\n" msgstr[2] "Pominięto %d zdjęć z powodu anulowania przez użytkownika:\n" -#: src/Dialogs.vala:804 +#: src/Dialogs.vala:820 #, c-format msgid "1 video skipped due to user cancel:\n" msgid_plural "%d videos skipped due to user cancel:\n" @@ -3506,7 +3631,7 @@ msgstr[1] "" "Pominięto %d nagrania wideo z powodu anulowania przez użytkownika:\n" msgstr[2] "Pominięto %d nagrań wideo z powodu anulowania przez użytkownika:\n" -#: src/Dialogs.vala:807 +#: src/Dialogs.vala:823 #, c-format msgid "1 photo/video skipped due to user cancel:\n" msgid_plural "%d photos/videos skipped due to user cancel:\n" @@ -3518,7 +3643,7 @@ msgstr[1] "" msgstr[2] "" "Pominięto %d zdjęć/nagrań wideo z powodu anulowania przez użytkownika:\n" -#: src/Dialogs.vala:810 +#: src/Dialogs.vala:826 #, c-format msgid "1 file skipped due to user cancel:\n" msgid_plural "%d file skipped due to user cancel:\n" @@ -3526,7 +3651,7 @@ msgstr[0] "Pominięto jeden plik z powodu anulowania na żądanie użytkownika: msgstr[1] "Pominięto %d pliki z powodu anulowania na żądanie użytkownika:\n" msgstr[2] "Pominięto %d plików z powodu anulowania na żądanie użytkownika:\n" -#: src/Dialogs.vala:824 +#: src/Dialogs.vala:840 #, c-format msgid "1 photo successfully imported.\n" msgid_plural "%d photos successfully imported.\n" @@ -3534,7 +3659,7 @@ msgstr[0] "Jedno zdjęcie zostało pomyślnie zaimportowane.\n" msgstr[1] "%d zdjęcia zostały pomyślnie zaimportowane.\n" msgstr[2] "%d zdjęć zostało pomyślnie zaimportowanych.\n" -#: src/Dialogs.vala:827 +#: src/Dialogs.vala:843 #, c-format msgid "1 video successfully imported.\n" msgid_plural "%d videos successfully imported.\n" @@ -3542,7 +3667,7 @@ msgstr[0] "Jedno nagranie wideo zostało pomyślnie zaimportowane.\n" msgstr[1] "%d nagrania wideo zostały pomyślnie zaimportowane.\n" msgstr[2] "%d nagrań wideo zostało pomyślnie zaimportowanych.\n" -#: src/Dialogs.vala:830 +#: src/Dialogs.vala:846 #, c-format msgid "1 photo/video successfully imported.\n" msgid_plural "%d photos/videos successfully imported.\n" @@ -3552,15 +3677,15 @@ msgstr[2] "%d zdjęć/nagrań wideo zostało pomyślnie zaimportowanych.\n" #. if no media items were imported at all (i.e. an empty directory attempted), need to at least #. report that nothing was imported -#: src/Dialogs.vala:846 +#: src/Dialogs.vala:862 msgid "No photos or videos imported.\n" msgstr "Nie zaimportowano żadnych zdjęć lub nagrań wideo.\n" -#: src/Dialogs.vala:853 src/Dialogs.vala:872 +#: src/Dialogs.vala:869 src/Dialogs.vala:888 msgid "Import Complete" msgstr "Ukończono importowanie" -#: src/Dialogs.vala:1158 +#: src/Dialogs.vala:1174 #, c-format msgid "%d second" msgid_plural "%d seconds" @@ -3568,7 +3693,7 @@ msgstr[0] "%d sekunda" msgstr[1] "%d sekundy" msgstr[2] "%d sekund" -#: src/Dialogs.vala:1161 +#: src/Dialogs.vala:1177 #, c-format msgid "%d minute" msgid_plural "%d minutes" @@ -3576,7 +3701,7 @@ msgstr[0] "%d minuta" msgstr[1] "%d minuty" msgstr[2] "%d minut" -#: src/Dialogs.vala:1165 +#: src/Dialogs.vala:1181 #, c-format msgid "%d hour" msgid_plural "%d hours" @@ -3584,65 +3709,65 @@ msgstr[0] "%d godzina" msgstr[1] "%d godziny" msgstr[2] "%d godzin" -#: src/Dialogs.vala:1168 +#: src/Dialogs.vala:1184 msgid "1 day" msgstr "dzień" -#: src/Dialogs.vala:1322 src/Resources.vala:231 +#: src/Dialogs.vala:1338 src/Resources.vala:231 msgid "Rename Event" msgstr "Zmień nazwę wydarzenia" -#: src/Dialogs.vala:1322 +#: src/Dialogs.vala:1338 msgid "Name:" msgstr "Nazwa:" #. Dialog title -#: src/Dialogs.vala:1333 +#: src/Dialogs.vala:1349 msgctxt "Dialog Title" msgid "Edit Title" msgstr "Modyfikacja tytułu" -#: src/Dialogs.vala:1334 src/Properties.vala:340 +#: src/Dialogs.vala:1350 src/Properties.vala:340 msgid "Title:" msgstr "Tytuł:" #. Dialog title -#: src/Dialogs.vala:1350 src/Resources.vala:307 +#: src/Dialogs.vala:1366 src/Resources.vala:307 msgid "Edit Event Comment" msgstr "Modyfikuj komentarz wydarzenia" -#: src/Dialogs.vala:1351 +#: src/Dialogs.vala:1367 msgid "Edit Photo/Video Comment" msgstr "Modyfikuj komentarz zdjęcia/nagrania wideo" -#: src/Dialogs.vala:1352 src/Properties.vala:628 +#: src/Dialogs.vala:1368 src/Properties.vala:628 msgid "Comment:" msgstr "Komentarz:" -#: src/Dialogs.vala:1368 +#: src/Dialogs.vala:1384 msgid "Remove and _Trash File" msgid_plural "Remove and _Trash Files" msgstr[0] "_Przenieś plik do kosza" msgstr[1] "_Przenieś pliki do kosza" msgstr[2] "_Przenieś pliki do kosza" -#: src/Dialogs.vala:1372 +#: src/Dialogs.vala:1388 msgid "_Remove From Library" msgstr "_Usuń z kolekcji" -#: src/Dialogs.vala:1415 +#: src/Dialogs.vala:1431 msgid "Revert External Edit?" msgstr "Odwrócić zewnętrzną modyfikację?" -#: src/Dialogs.vala:1415 +#: src/Dialogs.vala:1431 msgid "Revert External Edits?" msgstr "Odwrócić zewnętrzne modyfikacje?" -#: src/Dialogs.vala:1417 +#: src/Dialogs.vala:1433 #, c-format -msgid "This will destroy all changes made to the external file. Continue?" +msgid "This will destroy all changes made to the external file. Continue?" msgid_plural "" -"This will destroy all changes made to %d external files. Continue?" +"This will destroy all changes made to %d external files. Continue?" msgstr[0] "" "Unieważni to wszystkie zmiany wprowadzone do zewnętrznego pliku. Kontynuować?" msgstr[1] "" @@ -3652,88 +3777,88 @@ msgstr[2] "" "Unieważni to wszystkie zmiany wprowadzone do %d zewnętrznych plików. " "Kontynuować?" -#: src/Dialogs.vala:1421 +#: src/Dialogs.vala:1437 msgid "Re_vert External Edit" msgstr "Od_wróć zewnętrzną modyfikację" -#: src/Dialogs.vala:1421 +#: src/Dialogs.vala:1437 msgid "Re_vert External Edits" msgstr "Od_wróć zewnętrzne modyfikacje" -#: src/Dialogs.vala:1442 +#: src/Dialogs.vala:1458 #, c-format -msgid "This will remove the photo from the library. Continue?" -msgid_plural "This will remove %d photos from the library. Continue?" +msgid "This will remove the photo from the library. Continue?" +msgid_plural "This will remove %d photos from the library. Continue?" msgstr[0] "Zdjęcie zostanie usunięte z kolekcji. Kontynuować?" msgstr[1] "%d zdjęcia zostaną usunięte z kolekcji. Kontynuować?" msgstr[2] "%d zdjęć zostaną usuniętych z kolekcji. Kontynuować?" -#: src/Dialogs.vala:1449 src/Resources.vala:173 +#: src/Dialogs.vala:1465 src/Resources.vala:173 msgid "_Remove" msgstr "_Usuń" -#: src/Dialogs.vala:1450 +#: src/Dialogs.vala:1466 msgid "Remove Photo From Library" msgstr "Usuwanie zdjęcia z kolekcji" -#: src/Dialogs.vala:1450 +#: src/Dialogs.vala:1466 msgid "Remove Photos From Library" msgstr "Usuwanie zdjęć z kolekcji" -#: src/Dialogs.vala:1543 +#: src/Dialogs.vala:1559 #, c-format msgid "%d%%" msgstr "%d%%" -#: src/Dialogs.vala:1697 +#: src/Dialogs.vala:1713 msgid "AM" msgstr "AM" -#: src/Dialogs.vala:1698 +#: src/Dialogs.vala:1714 msgid "PM" msgstr "PM" -#: src/Dialogs.vala:1699 +#: src/Dialogs.vala:1715 msgid "24 Hr" msgstr "24-godzinny" -#: src/Dialogs.vala:1714 +#: src/Dialogs.vala:1730 msgid "_Shift photos/videos by the same amount" -msgstr "Prze_suń zdjęcia/nagrania wideo o tę samą wartość" +msgstr "Prze_suń zdjęcia/nagrania wideo o tę samą wartość" -#: src/Dialogs.vala:1719 +#: src/Dialogs.vala:1735 msgid "Set _all photos/videos to this time" msgstr "Ust_aw wszystkie zdjęcia/nagrania wideo na ten czas" -#: src/Dialogs.vala:1726 +#: src/Dialogs.vala:1742 msgid "_Modify original photo file" msgstr "_Modyfikuj oryginalny plik zdjęcia" -#: src/Dialogs.vala:1726 +#: src/Dialogs.vala:1742 msgid "_Modify original photo files" msgstr "_Modyfikuj oryginalny pliki zdjęć" -#: src/Dialogs.vala:1729 +#: src/Dialogs.vala:1745 msgid "_Modify original file" msgstr "_Modyfikuj pierwotny plik" -#: src/Dialogs.vala:1729 +#: src/Dialogs.vala:1745 msgid "_Modify original files" msgstr "_Modyfikuj pierwotne pliki" -#: src/Dialogs.vala:1815 +#: src/Dialogs.vala:1831 msgid "Original: " msgstr "Oryginał: " -#: src/Dialogs.vala:1816 +#: src/Dialogs.vala:1832 msgid "%m/%d/%Y, %H:%M:%S" msgstr "%d %b %Y, %H∶%M∶%S" -#: src/Dialogs.vala:1817 +#: src/Dialogs.vala:1833 msgid "%m/%d/%Y, %I:%M:%S %p" msgstr "%d %b %Y, %I∶%M∶%S %p" -#: src/Dialogs.vala:1906 +#: src/Dialogs.vala:1922 #, c-format msgid "" "Exposure time will be shifted forward by\n" @@ -3742,7 +3867,7 @@ msgstr "" "Czas ekspozycji zostanie przesunięty do przodu o\n" "%d %s, %d %s, %d %s i %d %s." -#: src/Dialogs.vala:1907 +#: src/Dialogs.vala:1923 #, c-format msgid "" "Exposure time will be shifted backward by\n" @@ -3751,35 +3876,35 @@ msgstr "" "Czas ekspozycji zostanie przesunięty do tyłu o\n" "%d %s, %d %s, %d %s i %d %s." -#: src/Dialogs.vala:1909 +#: src/Dialogs.vala:1925 msgid "day" msgid_plural "days" msgstr[0] "dzień" msgstr[1] "dni" msgstr[2] "dni" -#: src/Dialogs.vala:1910 +#: src/Dialogs.vala:1926 msgid "hour" msgid_plural "hours" msgstr[0] "godzina" msgstr[1] "godziny" msgstr[2] "godzin" -#: src/Dialogs.vala:1911 +#: src/Dialogs.vala:1927 msgid "minute" msgid_plural "minutes" msgstr[0] "minuta" msgstr[1] "minuty" msgstr[2] "minut" -#: src/Dialogs.vala:1912 +#: src/Dialogs.vala:1928 msgid "second" msgid_plural "seconds" msgstr[0] "sekunda" msgstr[1] "sekundy" msgstr[2] "sekund" -#: src/Dialogs.vala:1956 +#: src/Dialogs.vala:1972 #, c-format msgid "" "\n" @@ -3802,50 +3927,50 @@ msgstr[2] "" "\n" "Oraz %d innych." -#: src/Dialogs.vala:1980 src/Dialogs.vala:2007 +#: src/Dialogs.vala:1996 src/Dialogs.vala:2023 msgid "Tags (separated by commas):" msgstr "Etykiety (oddzielone przecinkami):" -#: src/Dialogs.vala:2087 +#: src/Dialogs.vala:2103 msgid "Welcome!" msgstr "Witamy" -#: src/Dialogs.vala:2094 +#: src/Dialogs.vala:2110 msgid "Welcome to Shotwell!" msgstr "Witamy w programie Shotwell" -#: src/Dialogs.vala:2098 +#: src/Dialogs.vala:2114 msgid "To get started, import photos in any of these ways:" msgstr "" "Aby rozpocząć, należy zaimportować zdjęcia na jeden z poniższych sposobów:" -#: src/Dialogs.vala:2117 +#: src/Dialogs.vala:2133 #, c-format msgid "Choose <span weight=\"bold\">File %s Import From Folder</span>" msgstr "Wybranie <span weight=\"bold\">Plik %s Zaimportuj z katalogu</span>" -#: src/Dialogs.vala:2118 +#: src/Dialogs.vala:2134 msgid "Drag and drop photos onto the Shotwell window" msgstr "Przeniesienie zdjęć do okna programu Shotwell" -#: src/Dialogs.vala:2119 +#: src/Dialogs.vala:2135 msgid "Connect a camera to your computer and import" msgstr "Połączenie aparatu do komputera i zaimportowanie" -#: src/Dialogs.vala:2129 +#: src/Dialogs.vala:2145 #, c-format msgid "_Import photos from your %s folder" msgstr "_Zaimportuj zdjęcia z katalogu %s" -#: src/Dialogs.vala:2136 +#: src/Dialogs.vala:2152 msgid "You can also import photos in any of these ways:" msgstr "Można także zaimportować zdjęcia na jeden z poniższych sposobów:" -#: src/Dialogs.vala:2146 -msgid "_Don't show this message again" +#: src/Dialogs.vala:2162 +msgid "_Don’t show this message again" msgstr "_Bez wyświetlania tego komunikatu ponownie" -#: src/Dialogs.vala:2181 +#: src/Dialogs.vala:2197 #, c-format msgid "Import photos from your %s library" msgstr "Import zdjęć z kolekcji programu %s" @@ -3853,41 +3978,41 @@ msgstr "Import zdjęć z kolekcji programu %s" #. We're installed system-wide, so use the system help. #. We're being run from the build directory; we'll have to handle clicks to this #. link manually ourselves, due to a limitation of help: URIs. -#: src/Dialogs.vala:2328 src/Dialogs.vala:2332 +#: src/Dialogs.vala:2344 src/Dialogs.vala:2348 msgid "(Help)" msgstr "(Pomoc)" -#: src/Dialogs.vala:2341 +#: src/Dialogs.vala:2357 #, c-format msgid "Year%sMonth%sDay" msgstr "Rok%smiesiąc%sdzień" -#: src/Dialogs.vala:2343 +#: src/Dialogs.vala:2359 #, c-format msgid "Year%sMonth" msgstr "Rok%smiesiąc" -#: src/Dialogs.vala:2345 +#: src/Dialogs.vala:2361 #, c-format msgid "Year%sMonth-Day" msgstr "Rok%smiesiąc-dzień" -#: src/Dialogs.vala:2347 +#: src/Dialogs.vala:2363 msgid "Year-Month-Day" msgstr "Rok-miesiąc-dzień" -#: src/Dialogs.vala:2348 src/editing_tools/EditingTools.vala:781 +#: src/Dialogs.vala:2364 src/editing_tools/EditingTools.vala:781 msgid "Custom" msgstr "Własny" #. Invalid pattern. -#: src/Dialogs.vala:2585 +#: src/Dialogs.vala:2601 msgid "Invalid pattern" msgstr "Nieprawidłowy wzór" #. This function is used to determine whether or not files should be copied or linked when imported. #. Returns ACCEPT for copy, REJECT for link, and CANCEL for (drum-roll) cancel. -#: src/Dialogs.vala:2687 +#: src/Dialogs.vala:2703 msgid "" "Shotwell can copy the photos into your library folder or it can import them " "without copying." @@ -3895,40 +4020,40 @@ msgstr "" "Program Shotwell może skopiować zdjęcia do katalogu kolekcji lub może " "zaimportować je bez tworzenia ich kopii." -#: src/Dialogs.vala:2692 +#: src/Dialogs.vala:2708 msgid "Co_py Photos" msgstr "_Skopiowanie zdjęć" -#: src/Dialogs.vala:2693 +#: src/Dialogs.vala:2709 msgid "_Import in Place" msgstr "_Zaimportowanie" -#: src/Dialogs.vala:2694 +#: src/Dialogs.vala:2710 msgid "Import to Library" msgstr "Zaimportuj do kolekcji" -#: src/Dialogs.vala:2704 src/PhotoPage.vala:3085 +#: src/Dialogs.vala:2720 src/PhotoPage.vala:3085 msgid "Remove From Library" msgstr "Usuń z kolekcji" -#: src/Dialogs.vala:2705 src/PhotoPage.vala:3085 +#: src/Dialogs.vala:2721 src/PhotoPage.vala:3085 msgid "Removing Photo From Library" msgstr "Usuwanie zdjęcia z kolekcji" -#: src/Dialogs.vala:2705 +#: src/Dialogs.vala:2721 msgid "Removing Photos From Library" msgstr "Usuwanie zdjęć z kolekcji" -#: src/Dialogs.vala:2719 +#: src/Dialogs.vala:2735 #, c-format msgid "" -"This will remove the photo/video from your Shotwell library. Would you also " +"This will remove the photo/video from your Shotwell library. Would you also " "like to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d photos/videos from your Shotwell library. Would you " -"also like to move the files to your desktop trash?\n" +"This will remove %d photos/videos from your Shotwell library. Would you also " +"like to move the files to your desktop trash?\n" "\n" "This action cannot be undone." msgstr[0] "" @@ -3947,15 +4072,15 @@ msgstr[2] "" "\n" "Tej czynności nie można cofnąć." -#: src/Dialogs.vala:2723 +#: src/Dialogs.vala:2739 #, c-format msgid "" -"This will remove the video from your Shotwell library. Would you also like " +"This will remove the video from your Shotwell library. Would you also like " "to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d videos from your Shotwell library. Would you also like " +"This will remove %d videos from your Shotwell library. Would you also like " "to move the files to your desktop trash?\n" "\n" "This action cannot be undone." @@ -3975,15 +4100,15 @@ msgstr[2] "" "\n" "Tej czynności nie można cofnąć." -#: src/Dialogs.vala:2727 +#: src/Dialogs.vala:2743 #, c-format msgid "" -"This will remove the photo from your Shotwell library. Would you also like " +"This will remove the photo from your Shotwell library. Would you also like " "to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d photos from your Shotwell library. Would you also like " +"This will remove %d photos from your Shotwell library. Would you also like " "to move the files to your desktop trash?\n" "\n" "This action cannot be undone." @@ -4003,12 +4128,12 @@ msgstr[2] "" "\n" "Tej czynności nie można cofnąć." -#: src/Dialogs.vala:2759 +#: src/Dialogs.vala:2775 #, c-format msgid "" -"The photo or video cannot be moved to your desktop trash. Delete this file?" +"The photo or video cannot be moved to your desktop trash. Delete this file?" msgid_plural "" -"%d photos/videos cannot be moved to your desktop trash. Delete these files?" +"%d photos/videos cannot be moved to your desktop trash. Delete these files?" msgstr[0] "" "Nie można przenieść zdjęcia lub nagrania wideo do kosza. Usunąć ten plik?" msgstr[1] "" @@ -4017,7 +4142,7 @@ msgstr[2] "" "Nie można przenieść %d zdjęć lub nagrań wideo do kosza. Usunąć te pliki?" #. Alert the user that the files were not removed. -#: src/Dialogs.vala:2776 +#: src/Dialogs.vala:2792 #, c-format msgid "The photo or video cannot be deleted." msgid_plural "%d photos/videos cannot be deleted." @@ -4047,7 +4172,7 @@ msgid "Save photo" msgstr "Zapisuje zdjęcie" #: src/direct/DirectPhotoPage.vala:57 -msgid "Save _As..." +msgid "Save _As…" msgstr "Z_apisz jako…" #: src/direct/DirectPhotoPage.vala:58 @@ -4227,83 +4352,83 @@ msgid "-" msgstr "-" #: src/editing_tools/EditingTools.vala:758 -msgid "SD Video (4 : 3)" +msgid "SD Video (4 ∶ 3)" msgstr "Plik wideo SD (4∶3)" #: src/editing_tools/EditingTools.vala:759 -msgid "HD Video (16 : 9)" +msgid "HD Video (16 ∶ 9)" msgstr "Plik wideo HD (16∶9)" #: src/editing_tools/EditingTools.vala:761 src/Printing.vala:818 -msgid "Wallet (2 x 3 in.)" +msgid "Wallet (2 × 3 in.)" msgstr "Portfel (2×3 cale)" #: src/editing_tools/EditingTools.vala:762 src/Printing.vala:821 -msgid "Notecard (3 x 5 in.)" +msgid "Notecard (3 × 5 in.)" msgstr "Notatka (3×5 cali)" #: src/editing_tools/EditingTools.vala:763 src/Printing.vala:824 -msgid "4 x 6 in." +msgid "4 × 6 in." msgstr "4×6 cali" #: src/editing_tools/EditingTools.vala:764 src/Printing.vala:827 -msgid "5 x 7 in." +msgid "5 × 7 in." msgstr "5×7 cali" #: src/editing_tools/EditingTools.vala:765 src/Printing.vala:830 -msgid "8 x 10 in." +msgid "8 × 10 in." msgstr "8×10 cali" #: src/editing_tools/EditingTools.vala:766 -msgid "Letter (8.5 x 11 in.)" -msgstr "Letter (8.5×11 cali)" +msgid "Letter (8.5 × 11 in.)" +msgstr "Letter (8,5×11 cali)" #: src/editing_tools/EditingTools.vala:767 src/Printing.vala:833 -msgid "11 x 14 in." +msgid "11 × 14 in." msgstr "11×14 cali" #: src/editing_tools/EditingTools.vala:768 -msgid "Tabloid (11 x 17 in.)" +msgid "Tabloid (11 × 17 in.)" msgstr "Tabloid (11×17 cali)" #: src/editing_tools/EditingTools.vala:769 src/Printing.vala:836 -msgid "16 x 20 in." +msgid "16 × 20 in." msgstr "16×20 cali" #: src/editing_tools/EditingTools.vala:771 src/Printing.vala:842 -msgid "Metric Wallet (9 x 13 cm)" +msgid "Metric Wallet (9 × 13 cm)" msgstr "Portfel metryczny (9×13 cm)" #: src/editing_tools/EditingTools.vala:772 src/Printing.vala:845 -msgid "Postcard (10 x 15 cm)" +msgid "Postcard (10 × 15 cm)" msgstr "Kartka pocztowa (10×15 cm)" #: src/editing_tools/EditingTools.vala:773 src/Printing.vala:848 -msgid "13 x 18 cm" +msgid "13 × 18 cm" msgstr "13×18 cm" #: src/editing_tools/EditingTools.vala:774 src/Printing.vala:851 -msgid "18 x 24 cm" +msgid "18 × 24 cm" msgstr "18×24 cm" #: src/editing_tools/EditingTools.vala:775 -msgid "A4 (210 x 297 mm)" +msgid "A4 (210 × 297 mm)" msgstr "A4 (210×297 mm)" #: src/editing_tools/EditingTools.vala:776 src/Printing.vala:854 -msgid "20 x 30 cm" +msgid "20 × 30 cm" msgstr "20×30 cm" #: src/editing_tools/EditingTools.vala:777 src/Printing.vala:857 -msgid "24 x 40 cm" +msgid "24 × 40 cm" msgstr "24×40 cm" #: src/editing_tools/EditingTools.vala:778 src/Printing.vala:860 -msgid "30 x 40 cm" +msgid "30 × 40 cm" msgstr "30×40 cm" #: src/editing_tools/EditingTools.vala:779 -msgid "A3 (297 x 420 mm)" +msgid "A3 (297 × 420 mm)" msgstr "A3 (297×420 mm)" #: src/editing_tools/EditingTools.vala:1872 src/Properties.vala:395 @@ -4318,70 +4443,78 @@ msgstr "Zamyka narzędzie usuwania czerwonych oczu" msgid "Remove any red-eye effects in the selected region" msgstr "Usuwa wszystkie efekty czerwonych oczu na wybranym obszarze" -#: src/editing_tools/EditingTools.vala:2226 +#: src/editing_tools/EditingTools.vala:2229 #: src/editing_tools/StraightenTool.vala:102 msgid "_Reset" msgstr "P_rzywróć" #. fit both on the top line, emit and move on -#: src/editing_tools/EditingTools.vala:2240 src/Properties.vala:436 +#: src/editing_tools/EditingTools.vala:2243 src/Properties.vala:436 #: src/Properties.vala:440 src/Properties.vala:447 msgid "Exposure:" msgstr "Ekspozycja:" -#: src/editing_tools/EditingTools.vala:2248 +#: src/editing_tools/EditingTools.vala:2251 +msgid "Contrast:" +msgstr "Kontrast:" + +#: src/editing_tools/EditingTools.vala:2259 msgid "Saturation:" msgstr "Nasycenie:" -#: src/editing_tools/EditingTools.vala:2256 +#: src/editing_tools/EditingTools.vala:2267 msgid "Tint:" msgstr "Odcień:" -#: src/editing_tools/EditingTools.vala:2265 +#: src/editing_tools/EditingTools.vala:2276 msgid "Temperature:" msgstr "Temperatura:" -#: src/editing_tools/EditingTools.vala:2273 +#: src/editing_tools/EditingTools.vala:2284 msgid "Shadows:" msgstr "Cienie:" -#: src/editing_tools/EditingTools.vala:2281 +#: src/editing_tools/EditingTools.vala:2292 msgid "Highlights:" msgstr "Wyróżnienia:" -#: src/editing_tools/EditingTools.vala:2335 +#: src/editing_tools/EditingTools.vala:2346 msgid "Reset Colors" msgstr "Przywróć kolory" -#: src/editing_tools/EditingTools.vala:2335 +#: src/editing_tools/EditingTools.vala:2346 msgid "Reset all color adjustments to original" msgstr "Przywraca wszystkie dostosowania kolorów do pierwotnych" -#: src/editing_tools/EditingTools.vala:2687 +#: src/editing_tools/EditingTools.vala:2705 msgid "Temperature" msgstr "Temperatura" -#: src/editing_tools/EditingTools.vala:2700 +#: src/editing_tools/EditingTools.vala:2717 msgid "Tint" msgstr "Odcień" -#: src/editing_tools/EditingTools.vala:2713 +#: src/editing_tools/EditingTools.vala:2729 +msgid "Contrast" +msgstr "Kontrast" + +#: src/editing_tools/EditingTools.vala:2743 msgid "Saturation" msgstr "Nasycenie" -#: src/editing_tools/EditingTools.vala:2726 +#: src/editing_tools/EditingTools.vala:2756 msgid "Exposure" msgstr "Ekspozycja" -#: src/editing_tools/EditingTools.vala:2739 +#: src/editing_tools/EditingTools.vala:2769 msgid "Shadows" msgstr "Cienie" -#: src/editing_tools/EditingTools.vala:2752 +#: src/editing_tools/EditingTools.vala:2782 msgid "Highlights" msgstr "Wyróżnienia" -#: src/editing_tools/EditingTools.vala:2762 +#: src/editing_tools/EditingTools.vala:2792 msgid "Contrast Expansion" msgstr "Rozszerzenie kontrastu" @@ -4458,7 +4591,7 @@ msgid "%B" msgstr "%B" #. if no name, pretty up the start time -#: src/Event.vala:751 +#: src/Event.vala:753 #, c-format msgid "Event %s" msgstr "Wydarzenie %s" @@ -4474,7 +4607,7 @@ msgstr "Eksportowanie" #: src/Exporter.vala:317 #, c-format -msgid "File %s already exists. Replace?" +msgid "File %s already exists. Replace?" msgstr "Plik %s już istnieje. Zastąpić?" #: src/Exporter.vala:319 @@ -4512,7 +4645,7 @@ msgid "Flagged" msgstr "Oznaczone flagą" #: src/library/ImportQueuePage.vala:8 -msgid "Importing..." +msgid "Importing…" msgstr "Importowanie…" #: src/library/ImportQueuePage.vala:67 @@ -4524,7 +4657,7 @@ msgid "Stop importing photos" msgstr "Zatrzymuje importowanie zdjęć" #: src/library/ImportQueuePage.vala:124 -msgid "Preparing to import..." +msgid "Preparing to import…" msgstr "Przygotowywanie do zaimportowania…" #: src/library/ImportQueuePage.vala:151 @@ -4537,7 +4670,7 @@ msgid "Last Import" msgstr "Ostatni import" #: src/library/LibraryWindow.vala:285 -msgid "_Import From Folder..." +msgid "_Import From Folder…" msgstr "_Zaimportuj z katalogu…" #: src/library/LibraryWindow.vala:286 @@ -4545,7 +4678,7 @@ msgid "Import photos from disk to library" msgstr "Importuje zdjęcia z dysku do kolekcji" #: src/library/LibraryWindow.vala:293 -msgid "Import From _Application..." +msgid "Import From _Application…" msgstr "Zaimportuj z p_rogramu…" #: src/library/LibraryWindow.vala:297 @@ -4574,7 +4707,7 @@ msgstr "Wyszukuje zdjęcia i nagrania wideo według kryteriów wyszukiwania" #: src/library/LibraryWindow.vala:329 src/searches/Branch.vala:77 #: src/sidebar/Tree.vala:199 -msgid "Ne_w Saved Search..." +msgid "Ne_w Saved Search…" msgstr "No_we zapisane wyszukiwanie…" #: src/library/LibraryWindow.vala:351 @@ -4595,7 +4728,7 @@ msgstr "_Podstawowe informacje" #: src/library/LibraryWindow.vala:375 msgid "Display basic information for the selection" -msgstr "Wyświetla podstawowe informacje o wybranych zdjęciach" +msgstr "Wyświetla podstawowe informacje o wybranych zdjęciach" #: src/library/LibraryWindow.vala:380 msgid "E_xtended Information" @@ -4603,7 +4736,7 @@ msgstr "_Rozszerzone informacje" #: src/library/LibraryWindow.vala:381 msgid "Display extended information for the selection" -msgstr "Wyświetla rozszerzone informacje o wybranych zdjęciach" +msgstr "Wyświetla rozszerzone informacje o wybranych zdjęciach" #: src/library/LibraryWindow.vala:386 msgid "_Search Bar" @@ -4654,7 +4787,7 @@ msgid "Empty Trash" msgstr "Opróżnij kosz" #: src/library/LibraryWindow.vala:726 -msgid "Emptying Trash..." +msgid "Emptying Trash…" msgstr "Opróżnianie kosza…" #: src/library/LibraryWindow.vala:901 @@ -4686,19 +4819,19 @@ msgid "%s (%d%%)" msgstr "%s (%d%%)" #: src/library/LibraryWindow.vala:1247 src/library/LibraryWindow.vala:1258 -msgid "Updating library..." +msgid "Updating library…" msgstr "Aktualizowanie kolekcji…" #: src/library/LibraryWindow.vala:1264 -msgid "Preparing to auto-import photos..." +msgid "Preparing to auto-import photos…" msgstr "Przygotowywanie do automatycznego zaimportowania zdjęć…" #: src/library/LibraryWindow.vala:1269 -msgid "Auto-importing photos..." +msgid "Auto-importing photos…" msgstr "Automatyczne importowanie zdjęć…" #: src/library/LibraryWindow.vala:1277 -msgid "Writing metadata to files..." +msgid "Writing metadata to files…" msgstr "Zapisywanie metadanych do plików…" #: src/library/OfflinePage.vala:8 @@ -4706,7 +4839,7 @@ msgid "Missing Files" msgstr "Brak plików" #: src/library/OfflinePage.vala:106 -msgid "Deleting..." +msgid "Deleting…" msgstr "Usuwanie…" #: src/library/TrashPage.vala:8 @@ -4728,9 +4861,9 @@ msgstr "Usuwanie zdjęć" #: src/main.vala:54 #, c-format msgid "" -"Your photo library is not compatible with this version of Shotwell. It " -"appears it was created by Shotwell %s (schema %d). This version is %s " -"(schema %d). Please use the latest version of Shotwell." +"Your photo library is not compatible with this version of Shotwell. It " +"appears it was created by Shotwell %s (schema %d). This version is %s " +"(schema %d). Please use the latest version of Shotwell." msgstr "" "Kolekcja zdjęć nie jest zgodna z tą wersją programu Shotwell. Została " "utworzona przez program Shotwell %s (schemat %d). Ta wersja to %s (schemat " @@ -4740,7 +4873,7 @@ msgstr "" #, c-format msgid "" "Shotwell was unable to upgrade your photo library from version %s (schema " -"%d) to %s (schema %d). For more information please check the Shotwell Wiki " +"%d) to %s (schema %d). For more information please check the Shotwell Wiki " "at %s" msgstr "" "Program Shotwell nie mógł zaktualizować kolekcji zdjęć z wersji %s (schemat " @@ -4750,9 +4883,9 @@ msgstr "" #: src/main.vala:65 #, c-format msgid "" -"Your photo library is not compatible with this version of Shotwell. It " -"appears it was created by Shotwell %s (schema %d). This version is %s " -"(schema %d). Please clear your library by deleting %s and re-import your " +"Your photo library is not compatible with this version of Shotwell. It " +"appears it was created by Shotwell %s (schema %d). This version is %s " +"(schema %d). Please clear your library by deleting %s and re-import your " "photos." msgstr "" "Kolekcja zdjęć nie jest zgodna z tą wersją programu Shotwell. Została " @@ -4762,7 +4895,7 @@ msgstr "" #: src/main.vala:71 #, c-format -msgid "Unknown error attempting to verify Shotwell's database: %s" +msgid "Unknown error attempting to verify Shotwell’s database: %s" msgstr "" "Nieznany błąd podczas próby sprawdzenia bazy danych programu Shotwell: %s" @@ -4771,7 +4904,7 @@ msgid "Loading Shotwell" msgstr "Wczytywanie programu Shotwell" #: src/main.vala:294 -msgid "Path to Shotwell's private data" +msgid "Path to Shotwell’s private data" msgstr "Ścieżka do prywatnych danych programu Shotwell" #: src/main.vala:294 @@ -4783,11 +4916,11 @@ msgid "Do not monitor library directory at runtime for changes" msgstr "Bez monitorowania zmian w katalogu kolekcji podczas uruchamiania" #: src/main.vala:302 -msgid "Don't display startup progress meter" +msgid "Don’t display startup progress meter" msgstr "Bez wyświetlania paska postępu uruchamiania" #: src/main.vala:306 -msgid "Show the application's version" +msgid "Show the application’s version" msgstr "Wyświetla wersję programu" #. init GTK (valac has already called g_threads_init()) @@ -4797,7 +4930,7 @@ msgstr "[PLIK]" #: src/main.vala:342 #, c-format -msgid "Run '%s --help' to see a full list of available command line options.\n" +msgid "Run “%s --help” to see a full list of available command line options.\n" msgstr "" "Polecenie „%s --help” wyświetli pełną listę dostępnych opcji wiersza " "poleceń.\n" @@ -4840,7 +4973,7 @@ msgid "Display the comment of each photo" msgstr "Wyświetla komentarz każdego zdjęcia" #: src/MediaPage.vala:470 -msgid "Display each photo's tags" +msgid "Display each photo’s tags" msgstr "Wyświetla etykiety każdego zdjęcia" #: src/MediaPage.vala:486 @@ -5001,7 +5134,7 @@ msgid "Image Settings" msgstr "Ustawienia obrazu" #: src/Printing.vala:889 -msgid "Printing..." +msgid "Printing…" msgstr "Drukowanie…" #: src/Printing.vala:909 src/Printing.vala:1112 @@ -5148,7 +5281,7 @@ msgstr "Wysyłanie %d z %d" #: src/publishing/PublishingPluginHost.vala:81 #, c-format -msgid "Publishing to %s can't continue because an error occurred:" +msgid "Publishing to %s can’t continue because an error occurred:" msgstr "Nie można kontynuować publikowania w serwisie %s z powodu błędu:" #: src/publishing/PublishingPluginHost.vala:84 @@ -5178,11 +5311,11 @@ msgid "The selected photo was successfully published." msgstr "Wybrane nagrania wideo zostały pomyślnie opublikowane." #: src/publishing/PublishingUI.vala:122 -msgid "Fetching account information..." -msgstr "Pobieranie informacji o koncie…" +msgid "Fetching account information…" +msgstr "Pobieranie informacji o koncie…" #: src/publishing/PublishingUI.vala:128 -msgid "Logging in..." +msgid "Logging in…" msgstr "Logowanie…" #: src/publishing/PublishingUI.vala:188 @@ -5278,7 +5411,7 @@ msgstr "Odwróć pionowo" #: src/Resources.vala:155 msgid "_About" -msgstr "_O programie" +msgstr "_O programie" #: src/Resources.vala:156 msgid "_Apply" @@ -5373,7 +5506,7 @@ msgid "Enhance" msgstr "Uwydatnij" #: src/Resources.vala:188 -msgid "Automatically improve the photo's appearance" +msgid "Automatically improve the photo’s appearance" msgstr "Automatycznie ulepsza wygląd zdjęcia" #: src/Resources.vala:190 @@ -5409,7 +5542,7 @@ msgid "Crop" msgstr "Przytnij" #: src/Resources.vala:200 -msgid "Crop the photo's size" +msgid "Crop the photo’s size" msgstr "Przycina rozmiar zdjęcia" #: src/Resources.vala:203 @@ -5441,7 +5574,7 @@ msgid "Adjust" msgstr "Dopasuj" #: src/Resources.vala:212 -msgid "Adjust the photo's color and tone" +msgid "Adjust the photo’s color and tone" msgstr "Dopasowuje kolor i tonację zdjęcia" #: src/Resources.vala:214 @@ -5469,7 +5602,7 @@ msgid "Set selected image to be the new desktop background" msgstr "Ustawia wybrany obraz jako nowe tło pulpitu" #: src/Resources.vala:222 -msgid "Set as _Desktop Slideshow..." +msgid "Set as _Desktop Slideshow…" msgstr "Ustaw jako pokaz slaj_dów pulpitu…" #: src/Resources.vala:224 @@ -5489,7 +5622,7 @@ msgid "Redo" msgstr "Ponów" #: src/Resources.vala:230 -msgid "Re_name Event..." +msgid "Re_name Event…" msgstr "Zmień _nazwę wydarzenia…" #: src/Resources.vala:233 @@ -5631,7 +5764,7 @@ msgid "_Ratings" msgstr "O_ceny" #: src/Resources.vala:280 -msgid "Display each photo's rating" +msgid "Display each photo’s rating" msgstr "Wyświetla oceny każdego zdjęcia" #: src/Resources.vala:282 @@ -5659,15 +5792,15 @@ msgid "Make a duplicate of the photo" msgstr "Tworzy kopię zdjęcia" #: src/Resources.vala:290 -msgid "_Export..." +msgid "_Export…" msgstr "Wy_eksportuj…" #: src/Resources.vala:292 -msgid "_Print..." +msgid "_Print…" msgstr "Wy_drukuj…" #: src/Resources.vala:294 -msgid "Pu_blish..." +msgid "Pu_blish…" msgstr "Opu_blikuj…" #: src/Resources.vala:296 @@ -5675,7 +5808,7 @@ msgid "Publish to various websites" msgstr "Publikuje na różnych witrynach WWW" #: src/Resources.vala:298 -msgid "Edit _Title..." +msgid "Edit _Title…" msgstr "Mo_dyfikuj tytuł…" #. Button label @@ -5685,7 +5818,7 @@ msgid "Edit Title" msgstr "Modyfikuj tytuł" #: src/Resources.vala:302 -msgid "Edit _Comment..." +msgid "Edit _Comment…" msgstr "Modyfikuj _komentarz…" #. Button label @@ -5694,11 +5827,11 @@ msgid "Edit Comment" msgstr "Modyfikacja komentarza" #: src/Resources.vala:306 -msgid "Edit Event _Comment..." +msgid "Edit Event _Comment…" msgstr "Modyfikuj _komentarz wydarzenia…" #: src/Resources.vala:309 -msgid "_Adjust Date and Time..." +msgid "_Adjust Date and Time…" msgstr "Dostosuj d_atę i czas…" #: src/Resources.vala:310 @@ -5706,11 +5839,11 @@ msgid "Adjust Date and Time" msgstr "Dostosowuje datę i czas" #: src/Resources.vala:312 -msgid "Add _Tags..." +msgid "Add _Tags…" msgstr "Dodaj e_tykiety…" #: src/Resources.vala:313 -msgid "_Add Tags..." +msgid "_Add Tags…" msgstr "_Dodaj etykiety…" #. Dialog title @@ -5728,15 +5861,15 @@ msgid "Open With RA_W Editor" msgstr "Otwórz za pomocą edytora plików _RAW" #: src/Resources.vala:323 -msgid "Send _To..." +msgid "Send _To…" msgstr "Wyślij _do…" #: src/Resources.vala:324 -msgid "Send T_o..." +msgid "Send T_o…" msgstr "Wyślij d_o…" #: src/Resources.vala:326 -msgid "_Find..." +msgid "_Find…" msgstr "_Znajdź…" #: src/Resources.vala:327 @@ -5764,13 +5897,13 @@ msgstr "Nie można uruchomić edytora: %s" #: src/Resources.vala:340 #, c-format -msgid "Add Tag \"%s\"" +msgid "Add Tag “%s”" msgstr "Dodaj etykietę „%s”" #. Used when adding two tags to photo(s) #: src/Resources.vala:343 #, c-format -msgid "Add Tags \"%s\" and \"%s\"" +msgid "Add Tags “%s” and “%s”" msgstr "Dodaj etykiety „%s” i „%s”" #. Undo/Redo command name (in Edit menu) @@ -5781,12 +5914,12 @@ msgstr "Dodaj etykiety" #: src/Resources.vala:353 #, c-format -msgid "_Delete Tag \"%s\"" +msgid "_Delete Tag “%s”" msgstr "_Usuń etykietę „%s”" #: src/Resources.vala:357 #, c-format -msgid "Delete Tag \"%s\"" +msgid "Delete Tag “%s”" msgstr "Usuń etykietę „%s”" #: src/Resources.vala:360 @@ -5795,20 +5928,20 @@ msgstr "Usuń etykietę" #: src/Resources.vala:366 #, c-format -msgid "Re_name Tag \"%s\"..." +msgid "Re_name Tag “%s”…" msgstr "Zmień _nazwę etykiety „%s”…" #: src/Resources.vala:370 #, c-format -msgid "Rename Tag \"%s\" to \"%s\"" +msgid "Rename Tag “%s” to “%s”" msgstr "Zmień nazwę etykiety „%s” na „%s”" #: src/Resources.vala:373 -msgid "_Rename..." +msgid "_Rename…" msgstr "_Zmień nazwę…" #: src/Resources.vala:375 -msgid "Modif_y Tags..." +msgid "Modif_y Tags…" msgstr "M_odyfikuj etykiety…" #: src/Resources.vala:376 @@ -5817,53 +5950,53 @@ msgstr "Modyfikuj etykiety" #: src/Resources.vala:379 #, c-format -msgid "Tag Photo as \"%s\"" +msgid "Tag Photo as “%s”" msgstr "Dodaje etykietę „%s” do zdjęcia" #: src/Resources.vala:379 #, c-format -msgid "Tag Photos as \"%s\"" +msgid "Tag Photos as “%s”" msgstr "Dodaje etykietę „%s” do zdjęć" #: src/Resources.vala:383 #, c-format -msgid "Tag the selected photo as \"%s\"" +msgid "Tag the selected photo as “%s”" msgstr "Dodaje etykietę „%s” do wybranego zdjęcia" #: src/Resources.vala:384 #, c-format -msgid "Tag the selected photos as \"%s\"" +msgid "Tag the selected photos as “%s”" msgstr "Dodaje etykietę „%s” do wybranych zdjęć" #: src/Resources.vala:388 #, c-format -msgid "Remove Tag \"%s\" From _Photo" +msgid "Remove Tag “%s” From _Photo" msgstr "Usuń etykietę „%s” ze _zdjęcia" #: src/Resources.vala:389 #, c-format -msgid "Remove Tag \"%s\" From _Photos" +msgid "Remove Tag “%s” From _Photos" msgstr "Usuwa etykietę „%s” ze _zdjęć" #: src/Resources.vala:393 #, c-format -msgid "Remove Tag \"%s\" From Photo" +msgid "Remove Tag “%s” From Photo" msgstr "Usuwa etykietę „%s” ze zdjęcia" #: src/Resources.vala:394 #, c-format -msgid "Remove Tag \"%s\" From Photos" +msgid "Remove Tag “%s” From Photos" msgstr "Usuwa etykietę „%s” ze zdjęć" #: src/Resources.vala:398 #, c-format -msgid "Unable to rename tag to \"%s\" because the tag already exists." +msgid "Unable to rename tag to “%s” because the tag already exists." msgstr "" "Nie można zmienić nazwy etykiety na „%s”, ponieważ ta etykieta już istnieje." #: src/Resources.vala:402 #, c-format -msgid "Unable to rename search to \"%s\" because the search already exists." +msgid "Unable to rename search to “%s” because the search already exists." msgstr "" "Nie można zmienić nazwy wyszukiwania na „%s”, ponieważ takie wyszukiwanie " "już istnieje." @@ -5878,21 +6011,21 @@ msgid "Delete Search" msgstr "Usunięcie wyszukiwania" #: src/Resources.vala:410 -msgid "_Edit..." +msgid "_Edit…" msgstr "_Modyfikuj…" #: src/Resources.vala:411 -msgid "Re_name..." +msgid "Re_name…" msgstr "Zmień _nazwę…" #: src/Resources.vala:414 #, c-format -msgid "Rename Search \"%s\" to \"%s\"" +msgid "Rename Search “%s” to “%s”" msgstr "Zmienia nazwę wyszukiwania z „%s” na „%s”" #: src/Resources.vala:418 #, c-format -msgid "Delete Search \"%s\"" +msgid "Delete Search “%s”" msgstr "Usuwa wyszukiwanie „%s”" #: src/Resources.vala:576 @@ -5956,7 +6089,7 @@ msgid "Show in File Mana_ger" msgstr "Wyświetl w mene_dżerze plików" #: src/Resources.vala:682 -msgid "Open the selected photo's directory in the file manager" +msgid "Open the selected photo’s directory in the file manager" msgstr "Otwiera wybrany katalog zdjęć w menedżerze plików" #: src/Resources.vala:685 @@ -6252,7 +6385,7 @@ msgstr "" "Używa zapisanego wyszukiwania do filtrowania elementów w bieżącym widoku" #: src/sidebar/Tree.vala:203 -msgid "New _Tag..." +msgid "New _Tag…" msgstr "Nowa _etykieta…" #: src/SlideshowPage.vala:49 src/SlideshowPage.vala:183 diff --git a/po/pt_BR.gmo b/po/pt_BR.gmo Binary files differindex cfe5a17..c08a8d1 100644 --- a/po/pt_BR.gmo +++ b/po/pt_BR.gmo diff --git a/po/pt_BR.po b/po/pt_BR.po index 5a68ccb..4afad63 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -18,8 +18,8 @@ msgstr "" "Project-Id-Version: shotwell\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=shotwel" "l&keywords=I18N+L10N&component=Internationalization\n" -"POT-Creation-Date: 2016-09-12 19:18+0000\n" -"PO-Revision-Date: 2016-09-22 22:18-0200\n" +"POT-Creation-Date: 2016-10-04 19:52+0000\n" +"PO-Revision-Date: 2016-10-06 08:46-0200\n" "Last-Translator: Rafael Fontenelle <rafaelff@gnome.org>\n" "Language-Team: Brazilian Portuguese <gnome-pt_br-list@gnome.org>\n" "Language: pt_BR\n" @@ -46,7 +46,7 @@ msgid "" "desktop. It allows you to import photos from your camera or disk, organize " "them by date and subject matter, even ratings. It also offers basic photo " "editing, like crop, red-eye correction, color adjustments, and straighten. " -"Shotwell's non-destructive photo editor does not alter your master photos, " +"Shotwell’s non-destructive photo editor does not alter your master photos, " "making it easy to experiment and correct errors." msgstr "" "Shotwell é um organizador de fotos rápido e fácil de usar, projetado para o " @@ -340,7 +340,7 @@ msgstr "exibir avaliações das fotos" #: misc/org.yorba.shotwell.gschema.xml:77 msgid "" -"True if a photo's rating should be displayed as overlaid trinket, false " +"True if a photo’s rating should be displayed as overlaid trinket, false " "otherwise." msgstr "" "Verdadeiro se a avaliação de uma foto deve ser exibida em sobreposição; do " @@ -489,15 +489,15 @@ msgid "A grayscale color for use as the background color." msgstr "Uma cor de escala de cinza para usar como cor de fundo." #: misc/org.yorba.shotwell.gschema.xml:166 -msgid "Selection state of \"hide photos\" option" -msgstr "Estado de seleção da opção \"ocultar fotos\"" +msgid "Selection state of “hide photos” option" +msgstr "Estado de seleção da opção “ocultar fotos“" #: misc/org.yorba.shotwell.gschema.xml:167 msgid "" -"Last used selection state of the \"hide photos already imported\" option in " +"Last used selection state of the “hide photos already imported” option in " "the import page." msgstr "" -"Estado da última seleção usada da opção \"ocultar fotos já importadas\" na " +"Estado da última seleção usada da opção “ocultar fotos já importadas” na " "página de importação." #: misc/org.yorba.shotwell.gschema.xml:174 @@ -690,7 +690,7 @@ msgstr "" "pelo usuário." #: misc/org.yorba.shotwell.gschema.xml:293 -msgid "Most-recently-used crop custom aspect ratio's numerator." +msgid "Most-recently-used crop custom aspect ratio’s numerator." msgstr "" "Numerador da proporção de aspecto personalizado de corte usado mais " "recentemente." @@ -704,7 +704,7 @@ msgstr "" "proporção de corte personalizado inserida pelo usuário." #: misc/org.yorba.shotwell.gschema.xml:298 -msgid "Most-recently-used crop custom aspect ratio's denominator." +msgid "Most-recently-used crop custom aspect ratio’s denominator." msgstr "" "Denominador da proporção de aspecto personalizado de corte usado mais " "recentemente." @@ -866,7 +866,7 @@ msgid "" "A numeric code representing the default size for photos uploaded to Picasa " "Web Albums" msgstr "" -"um código numérico representando o tamanho padrão para fotos enviadas ao " +"Um código numérico representando o tamanho padrão para fotos enviadas ao " "Picasa Web Albums" #: misc/org.yorba.shotwell.gschema.xml:422 @@ -973,15 +973,15 @@ msgstr "" #: misc/org.yorba.shotwell.gschema.xml:499 msgid "Gallery3 username" -msgstr "nome de usuário Gallery3" +msgstr "Nome de usuário Gallery3" #: misc/org.yorba.shotwell.gschema.xml:504 msgid "API key" -msgstr "chave de API" +msgstr "Chave de API" #: misc/org.yorba.shotwell.gschema.xml:505 msgid "Gallery3 API key" -msgstr "chave de API Gallery3" +msgstr "Chave de API Gallery3" #: misc/org.yorba.shotwell.gschema.xml:510 msgid "URL" @@ -1363,7 +1363,7 @@ msgstr "" msgid "Visit the Shotwell home page" msgstr "Visitar o site do Shotwell" -#: plugins/common/Resources.vala:31 src/AppWindow.vala:676 +#: plugins/common/Resources.vala:31 src/AppWindow.vala:679 msgid "translator-credits" msgstr "" "Djavan Fagundes <djavan@comum.org>\n" @@ -1376,12 +1376,69 @@ msgstr "" "Rafael Fontenelle <rafaelff@gnome.org>\n" "Felipe Braga <fbobraga@gmail.com>" -#: plugins/common/RESTSupport.vala:451 +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:202 +msgid "" +"⚫ This website presented identification that belongs to a different website." +msgstr "⚫ Este site apresentou identificação que pertence a um site diferente." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:207 +msgid "" +"⚫ This website’s identification is too old to trust. Check the date on your " +"computer’s calendar." +msgstr "" +"⚫ A identificação deste site é atinga demais para confiar. Verifique a data " +"no calendário de seu computador." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:212 +msgid "" +"⚫ This website’s identification was not issued by a trusted organization." +msgstr "" +"⚫ A identificação deste site não foi emitido por uma organização confiável." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:217 +msgid "" +"⚫ This website’s identification could not be processed. It may be corrupted." +msgstr "" +"⚫ A identificação deste site não pôde ser processada. Ela pode estar " +"corrompida." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:222 +msgid "" +"⚫ This website’s identification has been revoked by the trusted organization " +"that issued it." +msgstr "" +"⚫ A identificação deste site foi revogada pela organização confiável que a " +"emitiu." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:227 +msgid "" +"⚫ This website’s identification cannot be trusted because it uses very weak " +"encryption." +msgstr "" +"⚫ A identificação deste site não pode ser confiada porque ela usa uma " +"criptografia muito fraca." + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:232 +msgid "" +"⚫ This website’s identification is only valid for future dates. Check the " +"date on your computer’s calendar." +msgstr "" +"⚫ A identificação deste site é válida apenas para datas futuras. Verifique a " +"data no calendário de seu computador." + +#: plugins/common/RESTSupport.vala:509 #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:958 msgid "A temporary file needed for publishing is unavailable" msgstr "Um arquivo temporário necessário para a publicação não está disponível" -#: plugins/common/RESTSupport.vala:1157 +#: plugins/common/RESTSupport.vala:1167 msgid "" "You have already logged in and out of a Google service during this Shotwell " "session.\n" @@ -1499,7 +1556,7 @@ msgstr "_Voltar" #: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:8 #: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:145 #: ui/shotwell.ui:1627 -msgid "_Login" +msgid "_Log in" msgstr "A_utenticar" #: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:34 @@ -1570,7 +1627,7 @@ msgstr "pixels" #: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:195 #: plugins/shotwell-publishing/FlickrPublishing.vala:1235 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1234 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1329 #: src/Dimensions.vala:17 msgid "Original size" msgstr "Tamanho original" @@ -1582,7 +1639,7 @@ msgstr "Largura ou altura" #: plugins/shotwell-publishing-extras/GalleryConnector.vala:41 msgid "Gallery3 publishing module" -msgstr "módulo de publicação do Gallery3" +msgstr "Módulo de publicação do Gallery3" #: plugins/shotwell-publishing-extras/GalleryConnector.vala:114 msgid "" @@ -1605,12 +1662,12 @@ msgstr "Diretório padrão do Shotwell" msgid "" "\n" "\n" -"The file \"%s\" may not be supported by or may be too large for this " -"instance of Gallery3." +"The file “%s” may not be supported by or may be too large for this instance " +"of Gallery3." msgstr "" "\n" "\n" -"O arquivo \"%s\" pode não ter suporte no ou ser muito grande para essa " +"O arquivo “%s” pode não ter suporte no ou ser muito grande para essa " "instalação do Gallery3." #: plugins/shotwell-publishing-extras/GalleryConnector.vala:802 @@ -1626,7 +1683,7 @@ msgstr "" #: plugins/shotwell-publishing-extras/GalleryConnector.vala:1773 #, c-format msgid "" -"A file required for publishing is unavailable. Publishing to %s can't " +"A file required for publishing is unavailable. Publishing to %s can’t " "continue." msgstr "" "Um arquivo necessário para a publicação não está disponível. A publicação " @@ -1695,8 +1752,8 @@ msgstr "Lemb_rar" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:895 #: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:107 #: plugins/shotwell-publishing/piwigo_authentication_pane.ui:151 -msgid "Login" -msgstr "Iniciar sessão" +msgid "Log in" +msgstr "Autenticar" #: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:111 #: plugins/shotwell-publishing-extras/RajcePublishing.vala:1014 @@ -1722,8 +1779,8 @@ msgid "Open target _album in browser" msgstr "_Abrir álbum alvo no navegador" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:40 -msgid "Copyright (C) 2013 rajce.net" -msgstr "Copyright (C) 2013 rajce.net" +msgid "Copyright © 2013 rajce.net" +msgstr "Copyright © 2013 rajce.net" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:744 msgid "An error message occurred when publishing to Rajce. Please try again." @@ -1736,7 +1793,7 @@ msgstr "Digite o e-mail e senha associados à sua conta Rajce." #: plugins/shotwell-publishing-extras/RajcePublishing.vala:834 msgid "Invalid email and/or password. Please try again" -msgstr "e-mail e/ou senha inválida. Por favor, tente novamente" +msgstr "E-mail e/ou senha inválida. Por favor, tente novamente" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:865 msgid "Invalid User Email or Password" @@ -1772,29 +1829,29 @@ msgstr "Copyright 2012 BJA Electronics" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:105 #: plugins/shotwell-publishing/FlickrPublishing.vala:1231 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1230 -msgid "500 x 375 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1325 +msgid "500 × 375 pixels" msgstr "500 x 375 pixels" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:106 #: plugins/shotwell-publishing/FlickrPublishing.vala:1232 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1231 -msgid "1024 x 768 pixels" -msgstr "1024 x 768 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1326 +msgid "1024 × 768 pixels" +msgstr "1024 × 768 pixels" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:107 -msgid "1280 x 853 pixels" -msgstr "1280 x 853 pixels" +msgid "1280 × 853 pixels" +msgstr "1280 × 853 pixels" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:311 #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:321 #, c-format -msgid "'%s' isn't a valid response to an OAuth authentication request" -msgstr "'%s' não é uma resposta válida para o pedido de autenticação OAuth" +msgid "“%s” isn’t a valid response to an OAuth authentication request" +msgstr "“%s” não é uma resposta válida para o pedido de autenticação OAuth" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:559 msgid "" -"TumblrPublisher: start( ): can't start; this publisher is not restartable." +"TumblrPublisher: start( ): can’t start; this publisher is not restartable." msgstr "" "TumblrPublisher: start( ): não pode iniciar, o editor não é reiniciável." @@ -1803,12 +1860,12 @@ msgid "Enter the username and password associated with your Tumblr account." msgstr "Digite o nome de usuário e senha associados à sua conta Tumblr." #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:588 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:992 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1087 msgid "Username and/or password invalid. Please try again" msgstr "Nome de usuário e/ou senha inválida. Por favor, tente novamente" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:615 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1026 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1121 msgid "Invalid User Name or Password" msgstr "Usuário ou senha inválida" @@ -1835,7 +1892,7 @@ msgstr "Copyright 2010+ Evgeniy Polyakov <zbr@ioremap.net>" msgid "Visit the Yandex.Fotki web site" msgstr "Visite o site do Yandex.Fotki" -#: plugins/shotwell-publishing-extras/YandexPublishing.vala:658 +#: plugins/shotwell-publishing-extras/YandexPublishing.vala:609 msgid "You are not currently logged into Yandex.Fotki." msgstr "Você não está atualmente autenticado em Yandex.Fotki." @@ -1860,7 +1917,7 @@ msgid "Public" msgstr "Público" #: plugins/shotwell-publishing-extras/yandex_publish_model.ui:162 -#: plugins/shotwell-publishing/FacebookPublishing.vala:1194 +#: plugins/shotwell-publishing/FacebookPublishing.vala:1144 msgid "Friends" msgstr "Amigos" @@ -1878,7 +1935,7 @@ msgid "Create a _new album named:" msgstr "Criar um _novo álbum chamado:" #: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:108 -#: plugins/shotwell-publishing/FacebookPublishing.vala:1034 +#: plugins/shotwell-publishing/FacebookPublishing.vala:984 msgid "Upload _size:" msgstr "Tama_nho de upload:" @@ -1898,7 +1955,7 @@ msgstr "" #: plugins/shotwell-publishing/FacebookPublishing.vala:62 #: plugins/shotwell-publishing/PicasaPublishing.vala:60 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1114 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1209 msgid "Shotwell Connect" msgstr "Conexão do Shotwell" @@ -1906,7 +1963,7 @@ msgstr "Conexão do Shotwell" msgid "" "You are not currently logged into Facebook.\n" "\n" -"If you don't yet have a Facebook account, you can create one during the " +"If you don’t yet have a Facebook account, you can create one during the " "login process. During login, Shotwell Connect may ask you for permission to " "upload photos and publish to your feed. These permissions are required for " "Shotwell Connect to function." @@ -1938,23 +1995,23 @@ msgid "Large (2048 pixels)" msgstr "Largo (2048 pixels)" #: plugins/shotwell-publishing/FacebookPublishing.vala:255 -msgid "Testing connection to Facebook..." -msgstr "Testando conexão com o Facebook..." +msgid "Testing connection to Facebook…" +msgstr "Testando conexão com o Facebook…" #: plugins/shotwell-publishing/FacebookPublishing.vala:348 #: plugins/shotwell-publishing/PicasaPublishing.vala:379 -msgid "Creating album..." -msgstr "Criando álbum..." +msgid "Creating album…" +msgstr "Criando álbum…" #: plugins/shotwell-publishing/FacebookPublishing.vala:374 msgid "" -"A file required for publishing is unavailable. Publishing to Facebook can't " +"A file required for publishing is unavailable. Publishing to Facebook can’t " "continue." msgstr "" "O arquivo necessário para a publicação não está disponível. A publicação " "para o Facebook não pode continuar." -#: plugins/shotwell-publishing/FacebookPublishing.vala:1032 +#: plugins/shotwell-publishing/FacebookPublishing.vala:982 #, c-format msgid "" "You are logged into Facebook as %s.\n" @@ -1963,18 +2020,18 @@ msgstr "" "Você está autenticado no Facebook como %s.\n" "\n" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1033 +#: plugins/shotwell-publishing/FacebookPublishing.vala:983 msgid "Where would you like to publish the selected photos?" msgstr "Onde você gostaria de publicar as fotos selecionadas?" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1193 +#: plugins/shotwell-publishing/FacebookPublishing.vala:1143 #: plugins/shotwell-publishing/FlickrPublishing.vala:1213 msgid "Just me" msgstr "Somente para mim" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1195 +#: plugins/shotwell-publishing/FacebookPublishing.vala:1145 #: plugins/shotwell-publishing/FlickrPublishing.vala:1209 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1218 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1313 msgid "Everyone" msgstr "Todos" @@ -1990,7 +2047,7 @@ msgstr "" msgid "Authorization _Number:" msgstr "_Número de autorização:" -#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83 src/Dialogs.vala:132 +#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83 src/Dialogs.vala:128 msgid "Con_tinue" msgstr "Con_tinuar" @@ -1998,7 +2055,7 @@ msgstr "Con_tinuar" msgid "" "You are not currently logged into Flickr.\n" "\n" -"Click Login to log into Flickr in your Web browser. You will have to " +"Click Log in to log into Flickr in your Web browser. You will have to " "authorize Shotwell Connect to link to your Flickr account." msgstr "" "Você não está conectado no Flickr.\n" @@ -2017,21 +2074,21 @@ msgstr "" "publicar novamente." #: plugins/shotwell-publishing/FlickrPublishing.vala:374 -msgid "Preparing for login..." -msgstr "Preparando para iniciar sessão..." +msgid "Preparing for login…" +msgstr "Preparando para iniciar sessão…" #: plugins/shotwell-publishing/FlickrPublishing.vala:444 #: plugins/shotwell-publishing/FlickrPublishing.vala:594 msgid "" -"A file required for publishing is unavailable. Publishing to Flickr can't " +"A file required for publishing is unavailable. Publishing to Flickr can’t " "continue." msgstr "" "O arquivo necessário para a publicação não está disponível. A publicação " "para o Flickr não pode continuar." #: plugins/shotwell-publishing/FlickrPublishing.vala:457 -msgid "Verifying authorization..." -msgstr "Verificando autorização..." +msgid "Verifying authorization…" +msgstr "Verificando autorização…" #: plugins/shotwell-publishing/FlickrPublishing.vala:1152 #, c-format @@ -2086,14 +2143,14 @@ msgid "Friends only" msgstr "Somente amigos" #: plugins/shotwell-publishing/FlickrPublishing.vala:1233 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1232 -msgid "2048 x 1536 pixels" -msgstr "2048 x 1536 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1327 +msgid "2048 × 1536 pixels" +msgstr "2048 × 1536 pixels" #: plugins/shotwell-publishing/FlickrPublishing.vala:1234 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1233 -msgid "4096 x 3072 pixels" -msgstr "4096 x 3072 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1328 +msgid "4096 × 3072 pixels" +msgstr "4096 × 3072 pixels" #: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:113 msgid "L_ist album in public gallery" @@ -2107,8 +2164,8 @@ msgstr "Tama_nho pré-definido da foto:" msgid "" "You are not currently logged into Picasa Web Albums.\n" "\n" -"Click Login to log into Picasa Web Albums in your Web browser. You will have " -"to authorize Shotwell Connect to link to your Picasa Web Albums account." +"Click Log in to log into Picasa Web Albums in your Web browser. You will " +"have to authorize Shotwell Connect to link to your Picasa Web Albums account." msgstr "" "Você não está autenticado no Picasa Web Albums.\n" "\n" @@ -2117,7 +2174,7 @@ msgstr "" #: plugins/shotwell-publishing/PicasaPublishing.vala:361 msgid "" -"A file required for publishing is unavailable. Publishing to Picasa can't " +"A file required for publishing is unavailable. Publishing to Picasa can’t " "continue." msgstr "" "O arquivo necessário para a publicação não está disponível. A publicação " @@ -2134,20 +2191,20 @@ msgid "Videos will appear in:" msgstr "Os vídeos irão aparecer em:" #: plugins/shotwell-publishing/PicasaPublishing.vala:746 -msgid "Small (640 x 480 pixels)" -msgstr "Pequeno (640 x 480 pixels)" +msgid "Small (640 × 480 pixels)" +msgstr "Pequeno (640 × 480 pixels)" #: plugins/shotwell-publishing/PicasaPublishing.vala:747 -msgid "Medium (1024 x 768 pixels)" -msgstr "Médio (1024 x 768 pixels)" +msgid "Medium (1024 × 768 pixels)" +msgstr "Médio (1024 × 768 pixels)" #: plugins/shotwell-publishing/PicasaPublishing.vala:748 -msgid "Recommended (1600 x 1200 pixels)" -msgstr "Recomendado (1600 x 1200 pixels)" +msgid "Recommended (1600 × 1200 pixels)" +msgstr "Recomendado (1600 × 1200 pixels)" #: plugins/shotwell-publishing/PicasaPublishing.vala:749 -msgid "Google+ (2048 x 1536 pixels)" -msgstr "Google+ (2048 x 1536 pixels)" +msgid "Google+ (2048 × 1536 pixels)" +msgstr "Google+ (2048 × 1536 pixels)" #: plugins/shotwell-publishing/PicasaPublishing.vala:750 #: src/editing_tools/EditingTools.vala:756 @@ -2204,17 +2261,29 @@ msgstr "Encerrar sessão" msgid "Publish" msgstr "Publicar" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:747 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:775 #, c-format -msgid "Creating album %s..." -msgstr "Criando álbum %s..." +msgid "Creating album %s…" +msgstr "Criando álbum %s…" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:920 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:948 msgid "An error message occurred when publishing to Piwigo. Please try again." msgstr "" "Ocorreu uma mensagem de erro ao publicar o Piwigo. Por favor tente novamente." -#: plugins/shotwell-publishing/PiwigoPublishing.vala:990 +#. %s is the host name that we tried to connect to +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1024 +#, c-format +msgid "" +"This does not look like the real <b>%s</b>. Attackers might be trying to " +"steal or alter information going to or from this site (for example, private " +"messages, credit card information, or passwords)." +msgstr "" +"Esse não se parece com o <b>%s</b> real. Atacantes podem estar tentando " +"roubar ou alterar informações indo para ou vindo de este site (por exemplo, " +"mensagens privadas, informações de cartões de crédito ou senhas)." + +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1085 msgid "" "Enter the URL of your Piwigo photo library as well as the username and " "password associated with your Piwigo account for that library." @@ -2222,7 +2291,7 @@ msgstr "" "Digite a URL de sua biblioteca de fotos Piwigo, bem como o nome de usuário e " "senha associados à sua conta Piwigo para essa biblioteca." -#: plugins/shotwell-publishing/PiwigoPublishing.vala:991 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1086 msgid "" "Shotwell cannot contact your Piwigo photo library. Please verify the URL you " "entered" @@ -2230,26 +2299,38 @@ msgstr "" "Shotwell não pode acessar sua biblioteca de fotos Piwigo. Por favor, " "verifique a URL digitada" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1021 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1116 msgid "Invalid URL" msgstr "URL inválida" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1219 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1314 msgid "Admins, Family, Friends, Contacts" msgstr "Administradores, Família, Amigos, Contatos" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1220 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1315 msgid "Admins, Family, Friends" msgstr "Administradores, Família, Amigos" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1221 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1316 msgid "Admins, Family" msgstr "Administradores, Família" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1222 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1317 msgid "Admins" msgstr "Administradores" +#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:21 +msgid "This connection is not secure" +msgstr "Essa conexão não é segura" + +#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:75 +msgid "Show the certificate…" +msgstr "Mostrar o certificado…" + +#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:88 +msgid "I understand, please _proceed." +msgstr "Eu entendo, por favor _prosseguir." + #: plugins/shotwell-publishing/shotwell-publishing.vala:26 msgid "Core Publishing Services" msgstr "Principais serviços de publicação" @@ -2274,7 +2355,7 @@ msgstr "" #: plugins/shotwell-publishing/YouTubePublishing.vala:363 msgid "" -"A file required for publishing is unavailable. Publishing to Youtube can't " +"A file required for publishing is unavailable. Publishing to YouTube can’t " "continue." msgstr "" "O arquivo necessário para a publicação não está disponível. A publicação " @@ -2287,8 +2368,8 @@ msgstr "Você está autenticado no Youtube como %s." #: plugins/shotwell-publishing/YouTubePublishing.vala:464 #, c-format -msgid "Videos will appear in '%s'" -msgstr "Os vídeos irão aparecer em \"%s\"" +msgid "Videos will appear in “%s”" +msgstr "Os vídeos irão aparecer em “%s”" #: plugins/shotwell-publishing/YouTubePublishing.vala:496 msgid "Public listed" @@ -2397,29 +2478,29 @@ msgstr "Fixar a barra de ferramentas aberta" msgid "Leave fullscreen" msgstr "Sai da tela cheia" -#: src/AppWindow.vala:496 +#: src/AppWindow.vala:499 msgid "_Contents" msgstr "_Conteúdo" -#: src/AppWindow.vala:501 +#: src/AppWindow.vala:504 msgid "_Frequently Asked Questions" msgstr "Perguntas _frequentes (FAQ)" -#: src/AppWindow.vala:506 -msgid "_Report a Problem..." -msgstr "_Reporte um Problema..." +#: src/AppWindow.vala:509 +msgid "_Report a Problem…" +msgstr "_Relate um problema…" -#: src/AppWindow.vala:605 src/AppWindow.vala:626 src/AppWindow.vala:643 +#: src/AppWindow.vala:608 src/AppWindow.vala:629 src/AppWindow.vala:646 #: src/data_imports/DataImportsUI.vala:413 src/Dialogs.vala:20 -#: src/Dialogs.vala:28 src/Dialogs.vala:1425 src/Dialogs.vala:1448 +#: src/Dialogs.vala:28 src/Dialogs.vala:1421 src/Dialogs.vala:1444 #: src/publishing/PublishingUI.vala:512 src/Resources.vala:157 msgid "_Cancel" msgstr "_Cancelar" -#: src/AppWindow.vala:653 +#: src/AppWindow.vala:656 #, c-format msgid "" -"A fatal error occurred when accessing Shotwell's library. Shotwell cannot " +"A fatal error occurred when accessing Shotwell’s library. Shotwell cannot " "continue.\n" "\n" "%s" @@ -2429,21 +2510,21 @@ msgstr "" "\n" "%s" -#: src/AppWindow.vala:673 +#: src/AppWindow.vala:676 msgid "Visit the Shotwell web site" msgstr "Visitar o página web do Shotwell" -#: src/AppWindow.vala:685 +#: src/AppWindow.vala:688 #, c-format msgid "Unable to display help: %s" msgstr "Não foi possível exibir a ajuda: %s" -#: src/AppWindow.vala:693 +#: src/AppWindow.vala:696 #, c-format msgid "Unable to navigate to bug database: %s" msgstr "Não foi possível navegar no banco de dados de bugs: %s" -#: src/AppWindow.vala:701 +#: src/AppWindow.vala:704 #, c-format msgid "Unable to display FAQ: %s" msgstr "Não foi possível exibir FAQ: %s" @@ -2525,7 +2606,7 @@ msgstr "RAW+JPEG" #: src/camera/ImportPage.vala:458 msgid "" -"Unable to unmount camera. Try unmounting the camera from the file manager." +"Unable to unmount camera. Try unmounting the camera from the file manager." msgstr "" "Não foi possível desmontar a câmera. Tente desmontando a câmera no " "gerenciador de arquivos." @@ -2544,7 +2625,6 @@ msgid "The camera seems to be empty. No photos/videos found to import" msgstr "A câmera parece está vazia. Não há fotos ou vídeos para importar" #: src/camera/ImportPage.vala:846 -#| msgid "No photos/videos found" msgid "No new photos/videos found on camera" msgstr "Sem fotos/vídeos na câmera" @@ -2576,9 +2656,9 @@ msgstr "Importar todas as fotos para sua biblioteca" #: src/camera/ImportPage.vala:1013 msgid "" "Shotwell needs to unmount the camera from the filesystem in order to access " -"it. Continue?" +"it. Continue?" msgstr "" -"Shotwell precisa desmontar a câmera do sistema de arquivos para acessá-la. " +"Shotwell precisa desmontar a câmera do sistema de arquivos para acessá-la. " "Continuar?" #: src/camera/ImportPage.vala:1019 @@ -2591,8 +2671,8 @@ msgstr "Por favor, desmonte a câmera." #: src/camera/ImportPage.vala:1029 msgid "" -"The camera is locked by another application. Shotwell can only access the " -"camera when it's unlocked. Please close any other application using the " +"The camera is locked by another application. Shotwell can only access the " +"camera when it’s unlocked. Please close any other application using the " "camera and try again." msgstr "" "A câmera está travada por outro aplicativo. O Shotwell somente pode acessar " @@ -2614,12 +2694,12 @@ msgstr "" "%s" #: src/camera/ImportPage.vala:1061 -msgid "Unmounting..." -msgstr "Desmontando..." +msgid "Unmounting…" +msgstr "Desmontando…" #: src/camera/ImportPage.vala:1152 -msgid "Starting import, please wait..." -msgstr "Iniciando importação, por favor, aguarde..." +msgid "Starting import, please wait…" +msgstr "Iniciando importação, por favor, aguarde…" #: src/camera/ImportPage.vala:1169 msgid "Fetching photo information" @@ -2663,7 +2743,7 @@ msgid_plural "Delete these %d files from camera?" msgstr[0] "Apagar esse arquivo da câmera?" msgstr[1] "Apagar esses %d arquivos da câmera?" -#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1392 +#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1388 msgid "_Keep" msgstr "_Manter" @@ -2698,7 +2778,7 @@ msgstr "Exportar fotos/vídeos" msgid "Export Photo" msgstr "Exportar fotos" -#: src/CollectionPage.vala:458 src/Dialogs.vala:88 +#: src/CollectionPage.vala:458 src/Dialogs.vala:84 msgid "Export Photos" msgstr "Exportar fotos" @@ -2850,8 +2930,8 @@ msgstr "Criar etiqueta" #: src/Commands.vala:1695 #, c-format -msgid "Move Tag \"%s\"" -msgstr "Mover etiqueta \"%s\"" +msgid "Move Tag “%s”" +msgstr "Mover etiqueta “%s”" #: src/Commands.vala:2347 msgid "Move Photos to Trash" @@ -2911,7 +2991,7 @@ msgstr "Base de dados %s" #: src/data_imports/DataImportsPluginHost.vala:148 #: src/data_imports/DataImportsPluginHost.vala:294 #, c-format -msgid "Importing from %s can't continue because an error occurred:" +msgid "Importing from %s can’t continue because an error occurred:" msgstr "A importação de %s não pode continuar porque ocorreu um erro:" #: src/data_imports/DataImportsPluginHost.vala:151 @@ -3013,12 +3093,12 @@ msgstr "" #: src/Dialogs.vala:16 #, c-format -msgid "This will remove the tag \"%s\" from one photo. Continue?" -msgid_plural "This will remove the tag \"%s\" from %d photos. Continue?" -msgstr[0] "Isto irá remover a etiqueta \"%s\" de uma foto. Continuar?" -msgstr[1] "Isto irá remover a etiqueta \"%s\" de %d fotos. Continuar?" +msgid "This will remove the tag “%s” from one photo. Continue?" +msgid_plural "This will remove the tag “%s” from %d photos. Continue?" +msgstr[0] "Isto irá remover a etiqueta “%s” de uma foto. Continuar?" +msgstr[1] "Isto irá remover a etiqueta “%s” de %d fotos. Continuar?" -#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1393 +#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1389 #: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:409 #: src/Resources.vala:674 msgid "_Delete" @@ -3026,8 +3106,8 @@ msgstr "_Apagar" #: src/Dialogs.vala:25 #, c-format -msgid "This will remove the saved search \"%s\". Continue?" -msgstr "Isto irá remover a pesquisa salva \"%s\". Continuar?" +msgid "This will remove the saved search “%s”. Continue?" +msgstr "Isto irá remover a pesquisa salva “%s”. Continuar?" #: src/Dialogs.vala:36 msgid "" @@ -3056,16 +3136,16 @@ msgstr "Exportar vídeo" #. if we can't copy an image over for editing in an external tool. #. Did we fail because we can't write to this directory? #. Yes - display an alternate error message here. -#: src/Dialogs.vala:116 +#: src/Dialogs.vala:112 #, c-format msgid "" -"Shotwell couldn't create a file for editing this photo because you do not " +"Shotwell couldn’t create a file for editing this photo because you do not " "have permission to write to %s." msgstr "" "O Shotwell não pôde criar um arquivo para edição desta foto pelo fato de " "você não possuir permissão de gravação em %s." -#: src/Dialogs.vala:125 +#: src/Dialogs.vala:121 msgid "" "Unable to export the following photo due to a file error.\n" "\n" @@ -3073,7 +3153,7 @@ msgstr "" "Não foi possível exportar a seguinte foto, término com erro de arquivo.\n" "\n" -#: src/Dialogs.vala:131 +#: src/Dialogs.vala:127 msgid "" "\n" "\n" @@ -3086,60 +3166,60 @@ msgstr "" #. "Unmodified" and "Current," though they appear in the "Format:" popup menu, really #. aren't formats so much as they are operating modes that determine specific formats. #. Hereafter we'll refer to these as "special formats." -#: src/Dialogs.vala:148 +#: src/Dialogs.vala:144 msgid "Unmodified" msgstr "Não modificado" -#: src/Dialogs.vala:149 +#: src/Dialogs.vala:145 msgid "Current" msgstr "Atual" #. layout controls -#: src/Dialogs.vala:216 +#: src/Dialogs.vala:212 msgid "_Format:" msgstr "_Formato:" -#: src/Dialogs.vala:219 +#: src/Dialogs.vala:215 msgid "_Quality:" msgstr "_Qualidade:" -#: src/Dialogs.vala:222 +#: src/Dialogs.vala:218 msgid "_Scaling constraint:" msgstr "Re_strição de dimensionamento:" -#: src/Dialogs.vala:225 +#: src/Dialogs.vala:221 msgid "_Pixels:" msgstr "_Pixels:" -#: src/Dialogs.vala:228 +#: src/Dialogs.vala:224 msgid "Export metadata" msgstr "Exportar metadados" -#: src/Dialogs.vala:462 -msgid "Save Details..." -msgstr "Salvar Detalhes..." +#: src/Dialogs.vala:458 +msgid "Save Details…" +msgstr "Salvar detalhes…" -#: src/Dialogs.vala:463 +#: src/Dialogs.vala:459 msgid "Save Details" msgstr "Salvar Detalhes" -#: src/Dialogs.vala:478 +#: src/Dialogs.vala:474 #, c-format msgid "(and %d more)\n" msgstr "(e %d outras)\n" -#: src/Dialogs.vala:531 +#: src/Dialogs.vala:527 msgid "Import Results Report" msgstr "Importar Formulários de Resultados" -#: src/Dialogs.vala:535 +#: src/Dialogs.vala:531 #, c-format msgid "Attempted to import %d file." msgid_plural "Attempted to import %d files." msgstr[0] "Tentada a importação de %d arquivo." msgstr[1] "Tentada a importação de %d arquivos." -#: src/Dialogs.vala:538 +#: src/Dialogs.vala:534 #, c-format msgid "Of these, %d file was successfully imported." msgid_plural "Of these, %d files were successfully imported." @@ -3149,31 +3229,31 @@ msgstr[1] "Dessa tentativa, %d arquivos foram importados com sucesso." #. #. Duplicates #. -#: src/Dialogs.vala:550 +#: src/Dialogs.vala:546 msgid "Duplicate Photos/Videos Not Imported:" msgstr "Duplicar Fotos/Vídeos Não importados:" -#: src/Dialogs.vala:554 +#: src/Dialogs.vala:550 msgid "duplicates existing media item" msgstr "duplica itens de mídia existentes" #. #. Files Not Imported Due to Camera Errors #. -#: src/Dialogs.vala:565 +#: src/Dialogs.vala:561 msgid "Photos/Videos Not Imported Due to Camera Errors:" msgstr "As Fotos/Vídeos não forma Importadas devido à erros com a Câmera:" -#: src/Dialogs.vala:568 src/Dialogs.vala:583 src/Dialogs.vala:598 -#: src/Dialogs.vala:614 src/Dialogs.vala:629 src/Dialogs.vala:643 +#: src/Dialogs.vala:564 src/Dialogs.vala:579 src/Dialogs.vala:594 +#: src/Dialogs.vala:610 src/Dialogs.vala:625 src/Dialogs.vala:639 msgid "error message:" msgstr "mensagem de erro:" #. #. Files Not Imported Because They Weren't Recognized as Photos or Videos #. -#: src/Dialogs.vala:579 -msgid "Files Not Imported Because They Weren't Recognized as Photos or Videos:" +#: src/Dialogs.vala:575 +msgid "Files Not Imported Because They Weren’t Recognized as Photos or Videos:" msgstr "" "Arquivos não foram importados porque não foram reconhecidos como Fotos ou " "Vídeos:" @@ -3181,29 +3261,29 @@ msgstr "" #. #. Photos/Videos Not Imported Because They Weren't in a Format Shotwell Understands #. -#: src/Dialogs.vala:594 +#: src/Dialogs.vala:590 msgid "" -"Photos/Videos Not Imported Because They Weren't in a Format Shotwell " +"Photos/Videos Not Imported Because They Weren’t in a Format Shotwell " "Understands:" msgstr "" -"As Fotos/Vídeos Não foram Importados pois não estavam em um formato que o " +"As Fotos/Vídeos não foram importados pois não estavam em um formato que o " "Shotwell entendesse:" #. #. Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its Library #. -#: src/Dialogs.vala:609 +#: src/Dialogs.vala:605 msgid "" -"Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its " +"Photos/Videos Not Imported Because Shotwell Couldn’t Copy Them into its " "Library:" msgstr "" "As Fotos/Vídeos não foram importadas pois o Shotwell não pôde copiá-las para " "sua Biblioteca:" -#: src/Dialogs.vala:613 +#: src/Dialogs.vala:609 #, c-format msgid "" -"couldn't copy %s\n" +"couldn’t copy %s\n" "\tto %s" msgstr "" "não foi possível copiar %s\n" @@ -3212,39 +3292,39 @@ msgstr "" #. #. Photos/Videos Not Imported Because GDK Pixbuf Library Identified them as Corrupt #. -#: src/Dialogs.vala:625 +#: src/Dialogs.vala:621 msgid "Photos/Videos Not Imported Because Files Are Corrupt:" msgstr "Fotos/Vídeos não importados porque os arquivos estão corrompidos:" #. #. Photos/Videos Not Imported for Other Reasons #. -#: src/Dialogs.vala:640 +#: src/Dialogs.vala:636 msgid "Photos/Videos Not Imported for Other Reasons:" msgstr "As Fotos/Vídeos não foram importadas por outras razões:" -#: src/Dialogs.vala:660 +#: src/Dialogs.vala:656 #, c-format msgid "1 duplicate photo was not imported:\n" msgid_plural "%d duplicate photos were not imported:\n" msgstr[0] "1 foto duplicada não foi importada:\n" msgstr[1] "%d fotos duplicadas não foram importadas:\n" -#: src/Dialogs.vala:663 +#: src/Dialogs.vala:659 #, c-format msgid "1 duplicate video was not imported:\n" msgid_plural "%d duplicate videos were not imported:\n" msgstr[0] "1 vídeo duplicado não foi importado:\n" msgstr[1] "%d vídeos duplicados não foram importados:\n" -#: src/Dialogs.vala:666 +#: src/Dialogs.vala:662 #, c-format msgid "1 duplicate photo/video was not imported:\n" msgid_plural "%d duplicate photos/videos were not imported:\n" msgstr[0] "1 foto/vídeo duplicado não foi importado:\n" msgstr[1] "%d fotos/vídeos duplicados não foram importados:\n" -#: src/Dialogs.vala:680 +#: src/Dialogs.vala:676 #, c-format msgid "1 photo failed to import due to a file or hardware error:\n" msgid_plural "%d photos failed to import due to a file or hardware error:\n" @@ -3254,7 +3334,7 @@ msgstr[1] "" "%d fotos falharam ao serem importadas, ocorreu um erro de arquivo ou de " "hardware:\n" -#: src/Dialogs.vala:683 +#: src/Dialogs.vala:679 #, c-format msgid "1 video failed to import due to a file or hardware error:\n" msgid_plural "%d videos failed to import due to a file or hardware error:\n" @@ -3264,7 +3344,7 @@ msgstr[1] "" "%d vídeos falharam ao serem importados devido a um erro de arquivo ou " "hardware:\n" -#: src/Dialogs.vala:686 +#: src/Dialogs.vala:682 #, c-format msgid "1 photo/video failed to import due to a file or hardware error:\n" msgid_plural "" @@ -3276,7 +3356,7 @@ msgstr[1] "" "%d fotos/vídeos falharam ao serem importados devido a um erro de arquivo ou " "hardware:\n" -#: src/Dialogs.vala:689 +#: src/Dialogs.vala:685 #, c-format msgid "1 file failed to import due to a file or hardware error:\n" msgid_plural "%d files failed to import due to a file or hardware error:\n" @@ -3286,7 +3366,7 @@ msgstr[1] "" "%d arquivos falharam ao serem importados devido a um erro de arquivo ou " "hardware:\n" -#: src/Dialogs.vala:703 +#: src/Dialogs.vala:699 #, c-format msgid "" "1 photo failed to import because the photo library folder was not writable:\n" @@ -3300,7 +3380,7 @@ msgstr[1] "" "%d fotos falharam ao serem importadas pelo fato da pasta de biblioteca de " "fotos não ser gravável:\n" -#: src/Dialogs.vala:706 +#: src/Dialogs.vala:702 #, c-format msgid "" "1 video failed to import because the photo library folder was not writable:\n" @@ -3314,7 +3394,7 @@ msgstr[1] "" "%d vídeos falharam ao serem importados pelo fato da pasta de biblioteca de " "fotos não ser gravável:\n" -#: src/Dialogs.vala:709 +#: src/Dialogs.vala:705 #, c-format msgid "" "1 photo/video failed to import because the photo library folder was not " @@ -3329,7 +3409,7 @@ msgstr[1] "" "%d fotos/vídeos falharam ao serem importados pelo fato da pasta de " "biblioteca de fotos não ser gravável:\n" -#: src/Dialogs.vala:712 +#: src/Dialogs.vala:708 #, c-format msgid "" "1 file failed to import because the photo library folder was not writable:\n" @@ -3343,14 +3423,14 @@ msgstr[1] "" "%d arquivos falharam ao serem importados pelo fato da pasta de biblioteca de " "fotos não ser gravável:\n" -#: src/Dialogs.vala:726 +#: src/Dialogs.vala:722 #, c-format msgid "1 photo failed to import due to a camera error:\n" msgid_plural "%d photos failed to import due to a camera error:\n" msgstr[0] "1 foto falhou ao ser importada, ocorreu um erro de câmera:\n" msgstr[1] "%d fotos falharam ao serem importadas, ocorreu um erro de câmera:\n" -#: src/Dialogs.vala:729 +#: src/Dialogs.vala:725 #, c-format msgid "1 video failed to import due to a camera error:\n" msgid_plural "%d videos failed to import due to a camera error:\n" @@ -3358,7 +3438,7 @@ msgstr[0] "1 vídeo falhou ao ser importado devido a um erro da câmera:\n" msgstr[1] "" "%d vídeos falharam ao serem importados devido a um erro da câmera:\n" -#: src/Dialogs.vala:732 +#: src/Dialogs.vala:728 #, c-format msgid "1 photo/video failed to import due to a camera error:\n" msgid_plural "%d photos/videos failed to import due to a camera error:\n" @@ -3366,7 +3446,7 @@ msgstr[0] "1 foto/vídeo falhou ao ser importado devido a um erro da câmera:\n" msgstr[1] "" "%d fotos/vídeos falharam ao serem importados devido a um erro da câmera:\n" -#: src/Dialogs.vala:735 +#: src/Dialogs.vala:731 #, c-format msgid "1 file failed to import due to a camera error:\n" msgid_plural "%d files failed to import due to a camera error:\n" @@ -3374,21 +3454,21 @@ msgstr[0] "1 arquivo falhou ao ser importado devido a um erro da câmera:\n" msgstr[1] "" "%d arquivos falharam ao serem importados devido a um erro da câmera:\n" -#: src/Dialogs.vala:749 +#: src/Dialogs.vala:745 #, c-format msgid "1 photo failed to import because it was corrupt:\n" msgid_plural "%d photos failed to import because they were corrupt:\n" msgstr[0] "1 foto falhou na importação porque estava corrompida:\n" msgstr[1] "%d fotos falharam na importação porque estavam corrompidas:\n" -#: src/Dialogs.vala:752 +#: src/Dialogs.vala:748 #, c-format msgid "1 video failed to import because it was corrupt:\n" msgid_plural "%d videos failed to import because they were corrupt:\n" msgstr[0] "1 vídeo falhou na importação porque estava corrompido:\n" msgstr[1] "%d vídeos falharam na importação porque estavam corrompidos:\n" -#: src/Dialogs.vala:755 +#: src/Dialogs.vala:751 #, c-format msgid "1 photo/video failed to import because it was corrupt:\n" msgid_plural "%d photos/videos failed to import because they were corrupt:\n" @@ -3396,7 +3476,7 @@ msgstr[0] "1 foto/vídeo falhou na importação porque estava corrompido(a):\n" msgstr[1] "" "%d vídeos/fotos falharam na importação porque estavam corrompidos:\n" -#: src/Dialogs.vala:758 +#: src/Dialogs.vala:754 #, c-format msgid "1 file failed to import because it was corrupt:\n" msgid_plural "%d files failed to import because it was corrupt:\n" @@ -3407,7 +3487,7 @@ msgstr[1] "%d arquivos falharam na importação porque estavam corrompidos:\n" #. standard container formats are supported, it's just that the streams in them #. might or might not be interpretable), so this message does not need to be #. media specific -#: src/Dialogs.vala:775 +#: src/Dialogs.vala:771 #, c-format msgid "1 unsupported photo skipped:\n" msgid_plural "%d unsupported photos skipped:\n" @@ -3416,56 +3496,56 @@ msgstr[1] "%d fotos sem suporte foram puladas:\n" #. we have no notion of "non-video" video files right now in Shotwell, so this #. message doesn't need to be media specific -#: src/Dialogs.vala:790 +#: src/Dialogs.vala:786 #, c-format msgid "1 non-image file skipped.\n" msgid_plural "%d non-image files skipped.\n" msgstr[0] "Pulando um arquivo não-imagem.\n" msgstr[1] "Pulando %d arquivos não-imagem.\n" -#: src/Dialogs.vala:801 +#: src/Dialogs.vala:797 #, c-format msgid "1 photo skipped due to user cancel:\n" msgid_plural "%d photos skipped due to user cancel:\n" msgstr[0] "1 foto pulada pelo cancelamento do usuário:\n" msgstr[1] "%d fotos puladas pelo cancelamento do usuário:\n" -#: src/Dialogs.vala:804 +#: src/Dialogs.vala:800 #, c-format msgid "1 video skipped due to user cancel:\n" msgid_plural "%d videos skipped due to user cancel:\n" msgstr[0] "1 vídeo ignorado por cancelamento do usuário:\n" msgstr[1] "%d vídeos ignorados por cancelamento do usuário:\n" -#: src/Dialogs.vala:807 +#: src/Dialogs.vala:803 #, c-format msgid "1 photo/video skipped due to user cancel:\n" msgid_plural "%d photos/videos skipped due to user cancel:\n" msgstr[0] "1 foto/vídeo ignorado por cancelamento do usuário:\n" msgstr[1] "%d fotos/vídeos ignorados por cancelamento do usuário:\n" -#: src/Dialogs.vala:810 +#: src/Dialogs.vala:806 #, c-format msgid "1 file skipped due to user cancel:\n" msgid_plural "%d file skipped due to user cancel:\n" msgstr[0] "1 arquivo ignorado por cancelamento do usuário:\n" msgstr[1] "%d arquivos ignorados por cancelamento do usuário:\n" -#: src/Dialogs.vala:824 +#: src/Dialogs.vala:820 #, c-format msgid "1 photo successfully imported.\n" msgid_plural "%d photos successfully imported.\n" msgstr[0] "1 foto foi importada com sucesso.\n" msgstr[1] "%d fotos foram importadas com sucesso.\n" -#: src/Dialogs.vala:827 +#: src/Dialogs.vala:823 #, c-format msgid "1 video successfully imported.\n" msgid_plural "%d videos successfully imported.\n" msgstr[0] "1 vídeo importado com sucesso.\n" msgstr[1] "%d vídeos importados com sucesso.\n" -#: src/Dialogs.vala:830 +#: src/Dialogs.vala:826 #, c-format msgid "1 photo/video successfully imported.\n" msgid_plural "%d photos/videos successfully imported.\n" @@ -3474,93 +3554,93 @@ msgstr[1] "%d fotos/vídeos importados com sucesso.\n" #. if no media items were imported at all (i.e. an empty directory attempted), need to at least #. report that nothing was imported -#: src/Dialogs.vala:846 +#: src/Dialogs.vala:842 msgid "No photos or videos imported.\n" msgstr "Sem fotos ou vídeos importados.\n" -#: src/Dialogs.vala:853 src/Dialogs.vala:872 +#: src/Dialogs.vala:849 src/Dialogs.vala:868 msgid "Import Complete" msgstr "Importação concluída" -#: src/Dialogs.vala:1158 +#: src/Dialogs.vala:1154 #, c-format msgid "%d second" msgid_plural "%d seconds" msgstr[0] "%d segundo" msgstr[1] "%d segundos" -#: src/Dialogs.vala:1161 +#: src/Dialogs.vala:1157 #, c-format msgid "%d minute" msgid_plural "%d minutes" msgstr[0] "%d minuto" msgstr[1] "%d minutes" -#: src/Dialogs.vala:1165 +#: src/Dialogs.vala:1161 #, c-format msgid "%d hour" msgid_plural "%d hours" msgstr[0] "%d hora" msgstr[1] "%d horas" -#: src/Dialogs.vala:1168 +#: src/Dialogs.vala:1164 msgid "1 day" msgstr "1 dia" -#: src/Dialogs.vala:1322 src/Resources.vala:231 +#: src/Dialogs.vala:1318 src/Resources.vala:231 msgid "Rename Event" msgstr "Renomear evento" -#: src/Dialogs.vala:1322 +#: src/Dialogs.vala:1318 msgid "Name:" msgstr "Nome:" #. Dialog title -#: src/Dialogs.vala:1333 +#: src/Dialogs.vala:1329 msgctxt "Dialog Title" msgid "Edit Title" msgstr "Editar título" -#: src/Dialogs.vala:1334 src/Properties.vala:340 +#: src/Dialogs.vala:1330 src/Properties.vala:340 msgid "Title:" msgstr "Título:" #. Dialog title -#: src/Dialogs.vala:1350 src/Resources.vala:307 +#: src/Dialogs.vala:1346 src/Resources.vala:307 msgid "Edit Event Comment" msgstr "Editar comentário de evento" -#: src/Dialogs.vala:1351 +#: src/Dialogs.vala:1347 msgid "Edit Photo/Video Comment" msgstr "Editar comentário de foto/vídeo" -#: src/Dialogs.vala:1352 src/Properties.vala:628 +#: src/Dialogs.vala:1348 src/Properties.vala:628 msgid "Comment:" msgstr "Comentário:" -#: src/Dialogs.vala:1368 +#: src/Dialogs.vala:1364 msgid "Remove and _Trash File" msgid_plural "Remove and _Trash Files" msgstr[0] "Remover e _apagar arquivo" msgstr[1] "Remover e _apagar arquivos" -#: src/Dialogs.vala:1372 +#: src/Dialogs.vala:1368 msgid "_Remove From Library" msgstr "_Remover da biblioteca" -#: src/Dialogs.vala:1415 +#: src/Dialogs.vala:1411 msgid "Revert External Edit?" msgstr "Reverter edição externa?" -#: src/Dialogs.vala:1415 +#: src/Dialogs.vala:1411 msgid "Revert External Edits?" msgstr "Reverter edições externas?" -#: src/Dialogs.vala:1417 +#: src/Dialogs.vala:1413 #, c-format -msgid "This will destroy all changes made to the external file. Continue?" +msgid "This will destroy all changes made to the external file. Continue?" msgid_plural "" -"This will destroy all changes made to %d external files. Continue?" +"This will destroy all changes made to %d external files. Continue?" msgstr[0] "" "Isto irá destruir todas as alterações feitas para o arquivo externo. " "Continuar?" @@ -3568,87 +3648,87 @@ msgstr[1] "" "Isto irá destruir todas as alterações feitas para %d arquivos externos. " "Continuar?" -#: src/Dialogs.vala:1421 +#: src/Dialogs.vala:1417 msgid "Re_vert External Edit" msgstr "Re_verter edição externa" -#: src/Dialogs.vala:1421 +#: src/Dialogs.vala:1417 msgid "Re_vert External Edits" msgstr "Re_verter edições externas" -#: src/Dialogs.vala:1442 +#: src/Dialogs.vala:1438 #, c-format -msgid "This will remove the photo from the library. Continue?" -msgid_plural "This will remove %d photos from the library. Continue?" +msgid "This will remove the photo from the library. Continue?" +msgid_plural "This will remove %d photos from the library. Continue?" msgstr[0] "Isto irá remover a foto da biblioteca. Continuar?" msgstr[1] "Isto irá remover %d fotos da biblioteca. Continuar?" -#: src/Dialogs.vala:1449 src/Resources.vala:173 +#: src/Dialogs.vala:1445 src/Resources.vala:173 msgid "_Remove" msgstr "_Remover" -#: src/Dialogs.vala:1450 +#: src/Dialogs.vala:1446 msgid "Remove Photo From Library" msgstr "Remover fotos da biblioteca" -#: src/Dialogs.vala:1450 +#: src/Dialogs.vala:1446 msgid "Remove Photos From Library" msgstr "Remover fotos da biblioteca" -#: src/Dialogs.vala:1543 +#: src/Dialogs.vala:1539 #, c-format msgid "%d%%" msgstr "%d%%" -#: src/Dialogs.vala:1697 +#: src/Dialogs.vala:1693 msgid "AM" msgstr "AM" -#: src/Dialogs.vala:1698 +#: src/Dialogs.vala:1694 msgid "PM" msgstr "PM" -#: src/Dialogs.vala:1699 +#: src/Dialogs.vala:1695 msgid "24 Hr" msgstr "24 Hr" -#: src/Dialogs.vala:1714 +#: src/Dialogs.vala:1710 msgid "_Shift photos/videos by the same amount" msgstr "De_slocar fotos/vídeos pelo mesmo montante" -#: src/Dialogs.vala:1719 +#: src/Dialogs.vala:1715 msgid "Set _all photos/videos to this time" msgstr "Definir tod_as fotos/vídeos para a mesma hora" -#: src/Dialogs.vala:1726 +#: src/Dialogs.vala:1722 msgid "_Modify original photo file" msgstr "_Modificar arquivo original da foto" -#: src/Dialogs.vala:1726 +#: src/Dialogs.vala:1722 msgid "_Modify original photo files" msgstr "_Modificar arquivos originais da foto" -#: src/Dialogs.vala:1729 +#: src/Dialogs.vala:1725 msgid "_Modify original file" msgstr "_Modificar originais" -#: src/Dialogs.vala:1729 +#: src/Dialogs.vala:1725 msgid "_Modify original files" msgstr "_Modificar arquivos originais" -#: src/Dialogs.vala:1815 +#: src/Dialogs.vala:1811 msgid "Original: " msgstr "Original: " -#: src/Dialogs.vala:1816 +#: src/Dialogs.vala:1812 msgid "%m/%d/%Y, %H:%M:%S" msgstr "%d/%m/%Y, %H:%M:%S" -#: src/Dialogs.vala:1817 +#: src/Dialogs.vala:1813 msgid "%m/%d/%Y, %I:%M:%S %p" msgstr "%d/%m/%Y, %I:%M:%S %p" -#: src/Dialogs.vala:1906 +#: src/Dialogs.vala:1902 #, c-format msgid "" "Exposure time will be shifted forward by\n" @@ -3657,7 +3737,7 @@ msgstr "" "O tempo de exposição irá ser mudado para frente, por\n" "%d %s, %d %s, %d %s, e %d %s." -#: src/Dialogs.vala:1907 +#: src/Dialogs.vala:1903 #, c-format msgid "" "Exposure time will be shifted backward by\n" @@ -3666,31 +3746,31 @@ msgstr "" "O tempo de exposição irá ser mudado para trás, por\n" "%d %s, %d %s, %d %s, e %d %s." -#: src/Dialogs.vala:1909 +#: src/Dialogs.vala:1905 msgid "day" msgid_plural "days" msgstr[0] "dia" msgstr[1] "dias" -#: src/Dialogs.vala:1910 +#: src/Dialogs.vala:1906 msgid "hour" msgid_plural "hours" msgstr[0] "hora" msgstr[1] "horas" -#: src/Dialogs.vala:1911 +#: src/Dialogs.vala:1907 msgid "minute" msgid_plural "minutes" msgstr[0] "minuto" msgstr[1] "minutos" -#: src/Dialogs.vala:1912 +#: src/Dialogs.vala:1908 msgid "second" msgid_plural "seconds" msgstr[0] "segundo" msgstr[1] "segundos" -#: src/Dialogs.vala:1956 +#: src/Dialogs.vala:1952 #, c-format msgid "" "\n" @@ -3709,49 +3789,50 @@ msgstr[1] "" "\n" "e %d outras." -#: src/Dialogs.vala:1980 src/Dialogs.vala:2007 +#: src/Dialogs.vala:1976 src/Dialogs.vala:2003 msgid "Tags (separated by commas):" msgstr "Etiquetas (separadas por vírgulas):" -#: src/Dialogs.vala:2087 +#: src/Dialogs.vala:2083 msgid "Welcome!" msgstr "Bem-vindo!" -#: src/Dialogs.vala:2094 +#: src/Dialogs.vala:2090 msgid "Welcome to Shotwell!" msgstr "Bem-vindo ao Shotwell!" -#: src/Dialogs.vala:2098 +#: src/Dialogs.vala:2094 msgid "To get started, import photos in any of these ways:" msgstr "Para iniciar, importe fotos de alguma destas formas:" -#: src/Dialogs.vala:2117 +#: src/Dialogs.vala:2113 #, c-format +#| msgid "Choose <span weight=“bold“>File %s Import From Folder</span>" msgid "Choose <span weight=\"bold\">File %s Import From Folder</span>" msgstr "Escolha <span weight=\"bold\">Arquivo %s Importar de uma pasta</span>" -#: src/Dialogs.vala:2118 +#: src/Dialogs.vala:2114 msgid "Drag and drop photos onto the Shotwell window" msgstr "Arraste e solte fotos para dentro da janela do Shotwell" -#: src/Dialogs.vala:2119 +#: src/Dialogs.vala:2115 msgid "Connect a camera to your computer and import" msgstr "Conectar uma câmera no seu computador e importe" -#: src/Dialogs.vala:2129 +#: src/Dialogs.vala:2125 #, c-format msgid "_Import photos from your %s folder" msgstr "_Importar fotos de seu diretório %s" -#: src/Dialogs.vala:2136 +#: src/Dialogs.vala:2132 msgid "You can also import photos in any of these ways:" msgstr "Você também pode importar fotos de alguma destas formas:" -#: src/Dialogs.vala:2146 -msgid "_Don't show this message again" +#: src/Dialogs.vala:2142 +msgid "_Don’t show this message again" msgstr "Não exibir mais es_ta mensagem" -#: src/Dialogs.vala:2181 +#: src/Dialogs.vala:2177 #, c-format msgid "Import photos from your %s library" msgstr "Importar fotos de sua biblioteca %s" @@ -3759,41 +3840,41 @@ msgstr "Importar fotos de sua biblioteca %s" #. We're installed system-wide, so use the system help. #. We're being run from the build directory; we'll have to handle clicks to this #. link manually ourselves, due to a limitation of help: URIs. -#: src/Dialogs.vala:2328 src/Dialogs.vala:2332 +#: src/Dialogs.vala:2324 src/Dialogs.vala:2328 msgid "(Help)" msgstr "(Ajuda)" -#: src/Dialogs.vala:2341 +#: src/Dialogs.vala:2337 #, c-format msgid "Year%sMonth%sDay" msgstr "Ano%sMês%sDia" -#: src/Dialogs.vala:2343 +#: src/Dialogs.vala:2339 #, c-format msgid "Year%sMonth" msgstr "Ano%sMês" -#: src/Dialogs.vala:2345 +#: src/Dialogs.vala:2341 #, c-format msgid "Year%sMonth-Day" msgstr "Ano%sMês-Dia" -#: src/Dialogs.vala:2347 +#: src/Dialogs.vala:2343 msgid "Year-Month-Day" msgstr "Ano-Mês-Dia" -#: src/Dialogs.vala:2348 src/editing_tools/EditingTools.vala:781 +#: src/Dialogs.vala:2344 src/editing_tools/EditingTools.vala:781 msgid "Custom" msgstr "Personalizar" #. Invalid pattern. -#: src/Dialogs.vala:2585 +#: src/Dialogs.vala:2581 msgid "Invalid pattern" msgstr "Padrão inválido" #. This function is used to determine whether or not files should be copied or linked when imported. #. Returns ACCEPT for copy, REJECT for link, and CANCEL for (drum-roll) cancel. -#: src/Dialogs.vala:2687 +#: src/Dialogs.vala:2683 msgid "" "Shotwell can copy the photos into your library folder or it can import them " "without copying." @@ -3801,40 +3882,40 @@ msgstr "" "Shotwell pode copiar as fotos na sua pasta de biblioteca ou pode importá-los " "sem copiar." -#: src/Dialogs.vala:2692 +#: src/Dialogs.vala:2688 msgid "Co_py Photos" msgstr "Co_piar fotos" -#: src/Dialogs.vala:2693 +#: src/Dialogs.vala:2689 msgid "_Import in Place" msgstr "_Importar no local" -#: src/Dialogs.vala:2694 +#: src/Dialogs.vala:2690 msgid "Import to Library" msgstr "Importar para a biblioteca" -#: src/Dialogs.vala:2704 src/PhotoPage.vala:3085 +#: src/Dialogs.vala:2700 src/PhotoPage.vala:3085 msgid "Remove From Library" msgstr "Remover da biblioteca" -#: src/Dialogs.vala:2705 src/PhotoPage.vala:3085 +#: src/Dialogs.vala:2701 src/PhotoPage.vala:3085 msgid "Removing Photo From Library" msgstr "Removendo fotos da biblioteca" -#: src/Dialogs.vala:2705 +#: src/Dialogs.vala:2701 msgid "Removing Photos From Library" msgstr "Removendo fotos da biblioteca" -#: src/Dialogs.vala:2719 +#: src/Dialogs.vala:2715 #, c-format msgid "" -"This will remove the photo/video from your Shotwell library. Would you also " +"This will remove the photo/video from your Shotwell library. Would you also " "like to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d photos/videos from your Shotwell library. Would you " -"also like to move the files to your desktop trash?\n" +"This will remove %d photos/videos from your Shotwell library. Would you also " +"like to move the files to your desktop trash?\n" "\n" "This action cannot be undone." msgstr[0] "" @@ -3848,15 +3929,15 @@ msgstr[1] "" "\n" "Essa ação não poderá ser desfeita." -#: src/Dialogs.vala:2723 +#: src/Dialogs.vala:2719 #, c-format msgid "" -"This will remove the video from your Shotwell library. Would you also like " +"This will remove the video from your Shotwell library. Would you also like " "to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d videos from your Shotwell library. Would you also like " +"This will remove %d videos from your Shotwell library. Would you also like " "to move the files to your desktop trash?\n" "\n" "This action cannot be undone." @@ -3871,15 +3952,15 @@ msgstr[1] "" "\n" "Essa ação não poderá ser desfeita." -#: src/Dialogs.vala:2727 +#: src/Dialogs.vala:2723 #, c-format msgid "" -"This will remove the photo from your Shotwell library. Would you also like " +"This will remove the photo from your Shotwell library. Would you also like " "to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d photos from your Shotwell library. Would you also like " +"This will remove %d photos from your Shotwell library. Would you also like " "to move the files to your desktop trash?\n" "\n" "This action cannot be undone." @@ -3894,19 +3975,19 @@ msgstr[1] "" "\n" "Esta ação não poderá ser desfeita." -#: src/Dialogs.vala:2759 +#: src/Dialogs.vala:2755 #, c-format msgid "" -"The photo or video cannot be moved to your desktop trash. Delete this file?" +"The photo or video cannot be moved to your desktop trash. Delete this file?" msgid_plural "" -"%d photos/videos cannot be moved to your desktop trash. Delete these files?" +"%d photos/videos cannot be moved to your desktop trash. Delete these files?" msgstr[0] "" "A foto ou vídeo não pode ser movido para lixeira. Excluir esse arquivo?" msgstr[1] "" "%d fotos/vídeos não podem ser movidos para lixeira. Excluir esses arquivos?" #. Alert the user that the files were not removed. -#: src/Dialogs.vala:2776 +#: src/Dialogs.vala:2772 #, c-format msgid "The photo or video cannot be deleted." msgid_plural "%d photos/videos cannot be deleted." @@ -3935,8 +4016,8 @@ msgid "Save photo" msgstr "Salvar foto" #: src/direct/DirectPhotoPage.vala:57 -msgid "Save _As..." -msgstr "Salvar _como..." +msgid "Save _As…" +msgstr "_Salvar como…" #: src/direct/DirectPhotoPage.vala:58 msgid "Save photo with a different name" @@ -4115,84 +4196,84 @@ msgid "-" msgstr "-" #: src/editing_tools/EditingTools.vala:758 -msgid "SD Video (4 : 3)" -msgstr "SD Video (4 : 3)" +msgid "SD Video (4 ∶ 3)" +msgstr "SD Video (4 ∶ 3)" #: src/editing_tools/EditingTools.vala:759 -msgid "HD Video (16 : 9)" -msgstr "HD Video (16 : 9)" +msgid "HD Video (16 ∶ 9)" +msgstr "HD Video (16 ∶ 9)" #: src/editing_tools/EditingTools.vala:761 src/Printing.vala:818 -msgid "Wallet (2 x 3 in.)" -msgstr "Carteira (2 x 3 pol.)" +msgid "Wallet (2 × 3 in.)" +msgstr "Carteira (2 × 3 pol.)" #: src/editing_tools/EditingTools.vala:762 src/Printing.vala:821 -msgid "Notecard (3 x 5 in.)" -msgstr "Cartão de notas (3 x 5 pol.)" +msgid "Notecard (3 × 5 in.)" +msgstr "Cartão de notas (3 × 5 pol.)" #: src/editing_tools/EditingTools.vala:763 src/Printing.vala:824 -msgid "4 x 6 in." -msgstr "4 x 6 pol." +msgid "4 × 6 in." +msgstr "4 × 6 pol." #: src/editing_tools/EditingTools.vala:764 src/Printing.vala:827 -msgid "5 x 7 in." -msgstr "5 x 7 pol." +msgid "5 × 7 in." +msgstr "5 × 7 pol." #: src/editing_tools/EditingTools.vala:765 src/Printing.vala:830 -msgid "8 x 10 in." -msgstr "8 x 10 pol." +msgid "8 × 10 in." +msgstr "8 × 10 pol." #: src/editing_tools/EditingTools.vala:766 -msgid "Letter (8.5 x 11 in.)" -msgstr "Carta (8.5 x 11 in.)" +msgid "Letter (8.5 × 11 in.)" +msgstr "Carta (8.5 × 11 in.)" #: src/editing_tools/EditingTools.vala:767 src/Printing.vala:833 -msgid "11 x 14 in." -msgstr "11 x 14 pol." +msgid "11 × 14 in." +msgstr "11 × 14 pol." #: src/editing_tools/EditingTools.vala:768 -msgid "Tabloid (11 x 17 in.)" -msgstr "Tabloide (11 x 17 in.)" +msgid "Tabloid (11 × 17 in.)" +msgstr "Tabloide (11 × 17 in.)" #: src/editing_tools/EditingTools.vala:769 src/Printing.vala:836 -msgid "16 x 20 in." -msgstr "16 x 20 pol." +msgid "16 × 20 in." +msgstr "16 × 20 pol." #: src/editing_tools/EditingTools.vala:771 src/Printing.vala:842 -msgid "Metric Wallet (9 x 13 cm)" -msgstr "Carteira Métrica (9 x 13 cm)" +msgid "Metric Wallet (9 × 13 cm)" +msgstr "Carteira Métrica (9 × 13 cm)" #: src/editing_tools/EditingTools.vala:772 src/Printing.vala:845 -msgid "Postcard (10 x 15 cm)" -msgstr "Cartão postal (10 x 15 cm)" +msgid "Postcard (10 × 15 cm)" +msgstr "Cartão postal (10 × 15 cm)" #: src/editing_tools/EditingTools.vala:773 src/Printing.vala:848 -msgid "13 x 18 cm" -msgstr "13 x 18 cm" +msgid "13 × 18 cm" +msgstr "13 × 18 cm" #: src/editing_tools/EditingTools.vala:774 src/Printing.vala:851 -msgid "18 x 24 cm" -msgstr "18 x 24 cm" +msgid "18 × 24 cm" +msgstr "18 × 24 cm" #: src/editing_tools/EditingTools.vala:775 -msgid "A4 (210 x 297 mm)" -msgstr "A4 (210 x 297 mm)" +msgid "A4 (210 × 297 mm)" +msgstr "A4 (210 × 297 mm)" #: src/editing_tools/EditingTools.vala:776 src/Printing.vala:854 -msgid "20 x 30 cm" -msgstr "20 x 30 cm" +msgid "20 × 30 cm" +msgstr "20 × 30 cm" #: src/editing_tools/EditingTools.vala:777 src/Printing.vala:857 -msgid "24 x 40 cm" -msgstr "24 x 40 cm" +msgid "24 × 40 cm" +msgstr "24 × 40 cm" #: src/editing_tools/EditingTools.vala:778 src/Printing.vala:860 -msgid "30 x 40 cm" -msgstr "30 x 40 cm" +msgid "30 × 40 cm" +msgstr "30 × 40 cm" #: src/editing_tools/EditingTools.vala:779 -msgid "A3 (297 x 420 mm)" -msgstr "A4 (210 x 297 mm)" +msgid "A3 (297 × 420 mm)" +msgstr "A3 (297 × 420 mm)" #: src/editing_tools/EditingTools.vala:1872 src/Properties.vala:395 msgid "Size:" @@ -4206,70 +4287,78 @@ msgstr "Fechar ferramenta de olhos vermelhos" msgid "Remove any red-eye effects in the selected region" msgstr "Remove qualquer efeito de olhos vermelhos na região selecionada" -#: src/editing_tools/EditingTools.vala:2226 +#: src/editing_tools/EditingTools.vala:2229 #: src/editing_tools/StraightenTool.vala:102 msgid "_Reset" msgstr "_Reiniciar" #. fit both on the top line, emit and move on -#: src/editing_tools/EditingTools.vala:2240 src/Properties.vala:436 +#: src/editing_tools/EditingTools.vala:2243 src/Properties.vala:436 #: src/Properties.vala:440 src/Properties.vala:447 msgid "Exposure:" msgstr "Exposição:" -#: src/editing_tools/EditingTools.vala:2248 +#: src/editing_tools/EditingTools.vala:2251 +msgid "Contrast:" +msgstr "Contraste:" + +#: src/editing_tools/EditingTools.vala:2259 msgid "Saturation:" msgstr "Saturação:" -#: src/editing_tools/EditingTools.vala:2256 +#: src/editing_tools/EditingTools.vala:2267 msgid "Tint:" msgstr "Colorir:" -#: src/editing_tools/EditingTools.vala:2265 +#: src/editing_tools/EditingTools.vala:2276 msgid "Temperature:" msgstr "Temperatura:" -#: src/editing_tools/EditingTools.vala:2273 +#: src/editing_tools/EditingTools.vala:2284 msgid "Shadows:" msgstr "Sombras:" -#: src/editing_tools/EditingTools.vala:2281 +#: src/editing_tools/EditingTools.vala:2292 msgid "Highlights:" msgstr "Destaques:" -#: src/editing_tools/EditingTools.vala:2335 +#: src/editing_tools/EditingTools.vala:2346 msgid "Reset Colors" msgstr "Reiniciar cores" -#: src/editing_tools/EditingTools.vala:2335 +#: src/editing_tools/EditingTools.vala:2346 msgid "Reset all color adjustments to original" msgstr "Reiniciar todos os ajustes de cores para o original" -#: src/editing_tools/EditingTools.vala:2687 +#: src/editing_tools/EditingTools.vala:2705 msgid "Temperature" msgstr "Temperatura" -#: src/editing_tools/EditingTools.vala:2700 +#: src/editing_tools/EditingTools.vala:2717 msgid "Tint" msgstr "Colorir" -#: src/editing_tools/EditingTools.vala:2713 +#: src/editing_tools/EditingTools.vala:2729 +msgid "Contrast" +msgstr "Contraste" + +#: src/editing_tools/EditingTools.vala:2743 msgid "Saturation" msgstr "Saturação" -#: src/editing_tools/EditingTools.vala:2726 +#: src/editing_tools/EditingTools.vala:2756 msgid "Exposure" msgstr "Exposição" -#: src/editing_tools/EditingTools.vala:2739 +#: src/editing_tools/EditingTools.vala:2769 msgid "Shadows" msgstr "Sombras" -#: src/editing_tools/EditingTools.vala:2752 +#: src/editing_tools/EditingTools.vala:2782 msgid "Highlights" msgstr "Destaques" -#: src/editing_tools/EditingTools.vala:2762 +#: src/editing_tools/EditingTools.vala:2792 msgid "Contrast Expansion" msgstr "Expansão de contraste" @@ -4343,7 +4432,7 @@ msgid "%B" msgstr "%B" #. if no name, pretty up the start time -#: src/Event.vala:751 +#: src/Event.vala:753 #, c-format msgid "Event %s" msgstr "Evento %s" @@ -4359,7 +4448,7 @@ msgstr "Exportando" #: src/Exporter.vala:317 #, c-format -msgid "File %s already exists. Replace?" +msgid "File %s already exists. Replace?" msgstr "%s já existe. Sobrescrever?" #: src/Exporter.vala:319 @@ -4397,8 +4486,8 @@ msgid "Flagged" msgstr "Marcadas" #: src/library/ImportQueuePage.vala:8 -msgid "Importing..." -msgstr "Importando..." +msgid "Importing…" +msgstr "Importando…" #: src/library/ImportQueuePage.vala:67 msgid "_Stop Import" @@ -4409,8 +4498,8 @@ msgid "Stop importing photos" msgstr "Parar importação de fotos" #: src/library/ImportQueuePage.vala:124 -msgid "Preparing to import..." -msgstr "Preparando para importar..." +msgid "Preparing to import…" +msgstr "Preparando para importar…" #: src/library/ImportQueuePage.vala:151 #, c-format @@ -4422,16 +4511,16 @@ msgid "Last Import" msgstr "Última importação" #: src/library/LibraryWindow.vala:285 -msgid "_Import From Folder..." -msgstr "_Importar da pasta..." +msgid "_Import From Folder…" +msgstr "_Importa da pasta…" #: src/library/LibraryWindow.vala:286 msgid "Import photos from disk to library" msgstr "Importar fotos do disco para a biblioteca" #: src/library/LibraryWindow.vala:293 -msgid "Import From _Application..." -msgstr "Importação de _aplicativo..." +msgid "Import From _Application…" +msgstr "Importação de _aplicativo…" #: src/library/LibraryWindow.vala:297 msgid "Sort _Events" @@ -4459,8 +4548,8 @@ msgstr "Localiza fotos e vídeos através de pesquisa" #: src/library/LibraryWindow.vala:329 src/searches/Branch.vala:77 #: src/sidebar/Tree.vala:199 -msgid "Ne_w Saved Search..." -msgstr "No_va pesquisa salva..." +msgid "Ne_w Saved Search…" +msgstr "No_va pesquisa salva…" #: src/library/LibraryWindow.vala:351 msgid "_Photos" @@ -4539,11 +4628,16 @@ msgid "Empty Trash" msgstr "Esvaziar lixeira" #: src/library/LibraryWindow.vala:726 -msgid "Emptying Trash..." -msgstr "Esvaziando lixeira..." +msgid "Emptying Trash…" +msgstr "Esvaziando lixeira…" #: src/library/LibraryWindow.vala:901 #, c-format +#| msgid "" +#| "Shotwell is configured to import photos to your home directory.\n" +#| "We recommend changing this in <span weight=“bold“>Edit %s Preferences</" +#| "span>.\n" +#| "Do you want to continue importing photos?" msgid "" "Shotwell is configured to import photos to your home directory.\n" "We recommend changing this in <span weight=\"bold\">Edit %s Preferences</" @@ -4570,28 +4664,28 @@ msgid "%s (%d%%)" msgstr "%s (%d%%)" #: src/library/LibraryWindow.vala:1247 src/library/LibraryWindow.vala:1258 -msgid "Updating library..." -msgstr "Atualizando biblioteca..." +msgid "Updating library…" +msgstr "Atualizando biblioteca…" #: src/library/LibraryWindow.vala:1264 -msgid "Preparing to auto-import photos..." -msgstr "Preparando para auto-importação de fotos..." +msgid "Preparing to auto-import photos…" +msgstr "Preparando para auto-importação de fotos…" #: src/library/LibraryWindow.vala:1269 -msgid "Auto-importing photos..." -msgstr "Auto-importação de fotos..." +msgid "Auto-importing photos…" +msgstr "Auto-importação de fotos…" #: src/library/LibraryWindow.vala:1277 -msgid "Writing metadata to files..." -msgstr "Escrevendo metadados para arquivos..." +msgid "Writing metadata to files…" +msgstr "Escrevendo metadados para arquivos…" #: src/library/OfflinePage.vala:8 msgid "Missing Files" msgstr "Arquivos faltantes" #: src/library/OfflinePage.vala:106 -msgid "Deleting..." -msgstr "Apagando..." +msgid "Deleting…" +msgstr "Apagando…" #: src/library/TrashPage.vala:8 msgid "Trash" @@ -4612,41 +4706,41 @@ msgstr "Apagando fotos" #: src/main.vala:54 #, c-format msgid "" -"Your photo library is not compatible with this version of Shotwell. It " -"appears it was created by Shotwell %s (schema %d). This version is %s " -"(schema %d). Please use the latest version of Shotwell." +"Your photo library is not compatible with this version of Shotwell. It " +"appears it was created by Shotwell %s (schema %d). This version is %s " +"(schema %d). Please use the latest version of Shotwell." msgstr "" -"Sua biblioteca de fotos não é compatível com essa versão do Shotwell. " -"Parece que ele foi criado pelo Shotwell %s (schema %d). Essa versão é %s " -"(schema %d). Por favor use a última versão do Shotwell." +"Sua biblioteca de fotos não é compatível com essa versão do Shotwell. Parece " +"que ele foi criado pelo Shotwell %s (schema %d). Essa versão é %s (schema " +"%d). Por favor use a última versão do Shotwell." #: src/main.vala:59 #, c-format msgid "" "Shotwell was unable to upgrade your photo library from version %s (schema " -"%d) to %s (schema %d). For more information please check the Shotwell Wiki " +"%d) to %s (schema %d). For more information please check the Shotwell Wiki " "at %s" msgstr "" "O Shotwell não foi capaz de atualizar sua biblioteca de fotos da versão %s " -"(schema %d) para %s (schema %d). Para maiores informações consulte o Wiki " -"do Shotwell Wiki em %s" +"(schema %d) para %s (schema %d). Para maiores informações consulte o Wiki do " +"Shotwell Wiki em %s" #: src/main.vala:65 #, c-format msgid "" -"Your photo library is not compatible with this version of Shotwell. It " -"appears it was created by Shotwell %s (schema %d). This version is %s " -"(schema %d). Please clear your library by deleting %s and re-import your " +"Your photo library is not compatible with this version of Shotwell. It " +"appears it was created by Shotwell %s (schema %d). This version is %s " +"(schema %d). Please clear your library by deleting %s and re-import your " "photos." msgstr "" -"Sua biblioteca de fotos não é compatível com essa versão do Shotwell. " -"Parece que ele foi criado pelo Shotwell %s (schema %d). Essa versão é %s " -"(schema %d). Por favor limpe sua biblioteca excluindo %s e importe " -"novamente suas fotos." +"Sua biblioteca de fotos não é compatível com essa versão do Shotwell. Parece " +"que ele foi criado pelo Shotwell %s (schema %d). Essa versão é %s (schema " +"%d). Por favor limpe sua biblioteca excluindo %s e importe novamente suas " +"fotos." #: src/main.vala:71 #, c-format -msgid "Unknown error attempting to verify Shotwell's database: %s" +msgid "Unknown error attempting to verify Shotwell’s database: %s" msgstr "Erro desconhecido ao tentar verificar o banco de dados do Shotwell: %s" #: src/main.vala:104 @@ -4654,7 +4748,7 @@ msgid "Loading Shotwell" msgstr "Carregando Shotwell" #: src/main.vala:294 -msgid "Path to Shotwell's private data" +msgid "Path to Shotwell’s private data" msgstr "Caminho para os dados privados do Shotwell" #: src/main.vala:294 @@ -4668,11 +4762,11 @@ msgstr "" "mudanças" #: src/main.vala:302 -msgid "Don't display startup progress meter" +msgid "Don’t display startup progress meter" msgstr "Não exibe a medida do progresso de inicialização" #: src/main.vala:306 -msgid "Show the application's version" +msgid "Show the application’s version" msgstr "Exibe a versão do aplicativo" #. init GTK (valac has already called g_threads_init()) @@ -4682,9 +4776,9 @@ msgstr "[ARQUIVO]" #: src/main.vala:342 #, c-format -msgid "Run '%s --help' to see a full list of available command line options.\n" +msgid "Run “%s --help” to see a full list of available command line options.\n" msgstr "" -"Digite \"%s --help\" para ver a lista completa das opções de linha de " +"Digite “%s --help” para ver a lista completa das opções de linha de " "comando.\n" #: src/MediaMonitor.vala:400 @@ -4725,7 +4819,7 @@ msgid "Display the comment of each photo" msgstr "Exibe o comentário de cada foto" #: src/MediaPage.vala:470 -msgid "Display each photo's tags" +msgid "Display each photo’s tags" msgstr "Exibe as etiquetas de cada foto" #: src/MediaPage.vala:486 @@ -4886,8 +4980,8 @@ msgid "Image Settings" msgstr "Configurações da imagem" #: src/Printing.vala:889 -msgid "Printing..." -msgstr "Imprimindo..." +msgid "Printing…" +msgstr "Imprimindo…" #: src/Printing.vala:909 src/Printing.vala:1112 #, c-format @@ -5032,7 +5126,7 @@ msgstr "Enviando %d de %d" #: src/publishing/PublishingPluginHost.vala:81 #, c-format -msgid "Publishing to %s can't continue because an error occurred:" +msgid "Publishing to %s can’t continue because an error occurred:" msgstr "A publicação para %s não pôde continuar, ocorreu um erro:" #: src/publishing/PublishingPluginHost.vala:84 @@ -5060,12 +5154,12 @@ msgid "The selected photo was successfully published." msgstr "A foto selecionada foi publicada com sucesso." #: src/publishing/PublishingUI.vala:122 -msgid "Fetching account information..." -msgstr "Obtendo informação da conta..." +msgid "Fetching account information…" +msgstr "Obtendo informação da conta…" #: src/publishing/PublishingUI.vala:128 -msgid "Logging in..." -msgstr "Autenticando..." +msgid "Logging in…" +msgstr "Autenticando…" #: src/publishing/PublishingUI.vala:188 msgid "Publish Photos" @@ -5255,7 +5349,7 @@ msgid "Enhance" msgstr "Melhorar" #: src/Resources.vala:188 -msgid "Automatically improve the photo's appearance" +msgid "Automatically improve the photo’s appearance" msgstr "Melhora automaticamente a aparência da foto" #: src/Resources.vala:190 @@ -5291,7 +5385,7 @@ msgid "Crop" msgstr "Cortar" #: src/Resources.vala:200 -msgid "Crop the photo's size" +msgid "Crop the photo’s size" msgstr "Corta o tamanho da foto" #: src/Resources.vala:203 @@ -5323,7 +5417,7 @@ msgid "Adjust" msgstr "Ajustar" #: src/Resources.vala:212 -msgid "Adjust the photo's color and tone" +msgid "Adjust the photo’s color and tone" msgstr "Ajusta a cor e os tons das fotos" #: src/Resources.vala:214 @@ -5352,8 +5446,8 @@ msgstr "" "Definir a imagem selecionada como um novo plano de fundo da área de trabalho" #: src/Resources.vala:222 -msgid "Set as _Desktop Slideshow..." -msgstr "Definir como apresentação de sli_des da área de trabalho..." +msgid "Set as _Desktop Slideshow…" +msgstr "Definir apresentação de _slides da área de trabalho…" #: src/Resources.vala:224 msgid "_Undo" @@ -5372,8 +5466,8 @@ msgid "Redo" msgstr "Refazer" #: src/Resources.vala:230 -msgid "Re_name Event..." -msgstr "Re_nomear evento..." +msgid "Re_name Event…" +msgstr "Re_nomear evento…" #: src/Resources.vala:233 msgid "Make _Key Photo for Event" @@ -5514,7 +5608,7 @@ msgid "_Ratings" msgstr "_Avaliações" #: src/Resources.vala:280 -msgid "Display each photo's rating" +msgid "Display each photo’s rating" msgstr "Exibe as avaliações de cada foto" #: src/Resources.vala:282 @@ -5542,24 +5636,24 @@ msgid "Make a duplicate of the photo" msgstr "Duplicar a foto" #: src/Resources.vala:290 -msgid "_Export..." -msgstr "_Exportar..." +msgid "_Export…" +msgstr "_Exportar…" #: src/Resources.vala:292 -msgid "_Print..." -msgstr "Imprimi_r..." +msgid "_Print…" +msgstr "Im_primir…" #: src/Resources.vala:294 -msgid "Pu_blish..." -msgstr "Pu_blicar..." +msgid "Pu_blish…" +msgstr "Pu_blicar…" #: src/Resources.vala:296 msgid "Publish to various websites" msgstr "Publicar para vários sites" #: src/Resources.vala:298 -msgid "Edit _Title..." -msgstr "Editar _título..." +msgid "Edit _Title…" +msgstr "Editar _título…" #. Button label #: src/Resources.vala:300 @@ -5568,8 +5662,8 @@ msgid "Edit Title" msgstr "Editar título" #: src/Resources.vala:302 -msgid "Edit _Comment..." -msgstr "Editar _comentário..." +msgid "Edit _Comment…" +msgstr "Editar _comentário…" #. Button label #: src/Resources.vala:304 @@ -5577,24 +5671,24 @@ msgid "Edit Comment" msgstr "Editar comentário" #: src/Resources.vala:306 -msgid "Edit Event _Comment..." -msgstr "Editar _comentário de evento..." +msgid "Edit Event _Comment…" +msgstr "Editar _comentário de evento…" #: src/Resources.vala:309 -msgid "_Adjust Date and Time..." -msgstr "_Ajustar data e hora..." +msgid "_Adjust Date and Time…" +msgstr "_Ajustar a data e hora…" #: src/Resources.vala:310 msgid "Adjust Date and Time" msgstr "Ajustar a data e hora" #: src/Resources.vala:312 -msgid "Add _Tags..." -msgstr "Adicionar e_tiquetas..." +msgid "Add _Tags…" +msgstr "Adicionar e_tiquetas…" #: src/Resources.vala:313 -msgid "_Add Tags..." -msgstr "_Adicionar etiquetas..." +msgid "_Add Tags…" +msgstr "_Adicionar etiquetas…" #. Dialog title #: src/Resources.vala:315 @@ -5611,16 +5705,16 @@ msgid "Open With RA_W Editor" msgstr "Abrir com editor de RA_W" #: src/Resources.vala:323 -msgid "Send _To..." -msgstr "Enviar _para..." +msgid "Send _To…" +msgstr "Enviar _para…" #: src/Resources.vala:324 -msgid "Send T_o..." -msgstr "Enviar p_ara..." +msgid "Send T_o…" +msgstr "Enviar pa_ra…" #: src/Resources.vala:326 -msgid "_Find..." -msgstr "_Localizar..." +msgid "_Find…" +msgstr "_Localizar…" #: src/Resources.vala:327 msgid "Find" @@ -5646,14 +5740,14 @@ msgstr "Não foi possível iniciar o editor: %s" #: src/Resources.vala:340 #, c-format -msgid "Add Tag \"%s\"" -msgstr "Adicionar etiqueta \"%s\"" +msgid "Add Tag “%s”" +msgstr "Adicionar etiqueta “%s”" #. Used when adding two tags to photo(s) #: src/Resources.vala:343 #, c-format -msgid "Add Tags \"%s\" and \"%s\"" -msgstr "Adicionar etiquetas \"%s\" e \"%s\"" +msgid "Add Tags “%s” and “%s”" +msgstr "Adicionar etiquetas “%s” e “%s”" #. Undo/Redo command name (in Edit menu) #: src/Resources.vala:348 @@ -5663,13 +5757,13 @@ msgstr "Adicionar etiquetas" #: src/Resources.vala:353 #, c-format -msgid "_Delete Tag \"%s\"" -msgstr "A_pagar etiqueta \"%s\"" +msgid "_Delete Tag “%s”" +msgstr "A_pagar etiqueta “%s”" #: src/Resources.vala:357 #, c-format -msgid "Delete Tag \"%s\"" -msgstr "Apagar etiqueta \"%s\"" +msgid "Delete Tag “%s”" +msgstr "Apagar etiqueta “%s”" #: src/Resources.vala:360 msgid "Delete Tag" @@ -5677,21 +5771,21 @@ msgstr "Apagar etiqueta" #: src/Resources.vala:366 #, c-format -msgid "Re_name Tag \"%s\"..." -msgstr "Re_nomear etiqueta \"%s\"..." +msgid "Re_name Tag “%s”…" +msgstr "Re_nomear etiqueta “%s”…" #: src/Resources.vala:370 #, c-format -msgid "Rename Tag \"%s\" to \"%s\"" -msgstr "Renomear a etiqueta \"%s\" para \"%s\"" +msgid "Rename Tag “%s” to “%s”" +msgstr "Renomear a etiqueta “%s” para “%s”" #: src/Resources.vala:373 -msgid "_Rename..." -msgstr "_Renomear..." +msgid "_Rename…" +msgstr "_Renomear…" #: src/Resources.vala:375 -msgid "Modif_y Tags..." -msgstr "_Modificar etiquetas..." +msgid "Modif_y Tags…" +msgstr "_Modificar etiquetas…" #: src/Resources.vala:376 msgid "Modify Tags" @@ -5699,56 +5793,56 @@ msgstr "Modificar etiquetas" #: src/Resources.vala:379 #, c-format -msgid "Tag Photo as \"%s\"" -msgstr "Etiquetar fotos como \"%s\"" +msgid "Tag Photo as “%s”" +msgstr "Etiquetar fotos como “%s”" #: src/Resources.vala:379 #, c-format -msgid "Tag Photos as \"%s\"" -msgstr "Etiquetar foto como \"%s\"" +msgid "Tag Photos as “%s”" +msgstr "Etiquetar foto como “%s”" #: src/Resources.vala:383 #, c-format -msgid "Tag the selected photo as \"%s\"" -msgstr "Etiquetar as fotos selecionadas como \"%s\"" +msgid "Tag the selected photo as “%s”" +msgstr "Etiquetar as fotos selecionadas como “%s”" #: src/Resources.vala:384 #, c-format -msgid "Tag the selected photos as \"%s\"" -msgstr "Etiquetar as fotos selecionadas como \"%s\"" +msgid "Tag the selected photos as “%s”" +msgstr "Etiquetar as fotos selecionadas como “%s“" #: src/Resources.vala:388 #, c-format -msgid "Remove Tag \"%s\" From _Photo" -msgstr "Remover etiqueta \"%s\" da _foto" +msgid "Remove Tag “%s” From _Photo" +msgstr "Remover etiqueta “%s” da _foto" #: src/Resources.vala:389 #, c-format -msgid "Remove Tag \"%s\" From _Photos" -msgstr "Remover etiqueta \"%s\" das _fotos" +msgid "Remove Tag “%s” From _Photos" +msgstr "Remover etiqueta “%s” das _fotos" #: src/Resources.vala:393 #, c-format -msgid "Remove Tag \"%s\" From Photo" -msgstr "Remove a etiqueta \"%s\" da foto" +msgid "Remove Tag “%s” From Photo" +msgstr "Remove a etiqueta “%s” da foto" #: src/Resources.vala:394 #, c-format -msgid "Remove Tag \"%s\" From Photos" -msgstr "Remove a etiqueta \"%s\" das fotos" +msgid "Remove Tag “%s” From Photos" +msgstr "Remove a etiqueta “%s” das fotos" #: src/Resources.vala:398 #, c-format -msgid "Unable to rename tag to \"%s\" because the tag already exists." +msgid "Unable to rename tag to “%s” because the tag already exists." msgstr "" -"Não foi possível renomear a etiqueta para \"%s\" pelo fato da etiqueta já " +"Não foi possível renomear a etiqueta para “%s” pelo fato da etiqueta já " "existir." #: src/Resources.vala:402 #, c-format -msgid "Unable to rename search to \"%s\" because the search already exists." +msgid "Unable to rename search to “%s” because the search already exists." msgstr "" -"Não foi possível renomear a pesquisa para \"%s\" pelo fato da pesquisa já " +"Não foi possível renomear a pesquisa para “%s” pelo fato da pesquisa já " "existir." #. Saved search button @@ -5761,22 +5855,22 @@ msgid "Delete Search" msgstr "Apagar pesquisa" #: src/Resources.vala:410 -msgid "_Edit..." -msgstr "_Editar..." +msgid "_Edit…" +msgstr "_Editar…" #: src/Resources.vala:411 -msgid "Re_name..." -msgstr "Re_nomear..." +msgid "Re_name…" +msgstr "Re_nomear…" #: src/Resources.vala:414 #, c-format -msgid "Rename Search \"%s\" to \"%s\"" -msgstr "Renomeia a pesquisa \"%s\" para \"%s\"" +msgid "Rename Search “%s” to “%s”" +msgstr "Renomeia a pesquisa “%s” para “%s”" #: src/Resources.vala:418 #, c-format -msgid "Delete Search \"%s\"" -msgstr "Apagar pesquisa \"%s\"" +msgid "Delete Search “%s”" +msgstr "Apagar pesquisa “%s”" #: src/Resources.vala:576 #, c-format @@ -5839,7 +5933,7 @@ msgid "Show in File Mana_ger" msgstr "Abrir com o gerenciador de a_rquivos" #: src/Resources.vala:682 -msgid "Open the selected photo's directory in the file manager" +msgid "Open the selected photo’s directory in the file manager" msgstr "Abre o diretório da foto selecionada no gerenciador de arquivos" #: src/Resources.vala:685 @@ -6134,8 +6228,8 @@ msgid "Use a saved search to filter items in the current view" msgstr "Use uma pesquisa salva para filtrar itens na visão atual" #: src/sidebar/Tree.vala:203 -msgid "New _Tag..." -msgstr "Nova etique_ta..." +msgid "New _Tag…" +msgstr "Nova etique_ta…" #: src/SlideshowPage.vala:49 src/SlideshowPage.vala:183 msgid "Settings" @@ -6206,7 +6300,7 @@ msgstr "Etiquetas" #: src/Tag.vala:830 msgid "untitled" -msgstr "Sem título" +msgstr "sem título" #. multiple videos #: src/VideoSupport.vala:490 @@ -6402,6 +6496,75 @@ msgstr "Mostrar títul_o" msgid "seconds" msgstr "segundos" +#~ msgid "Login" +#~ msgstr "Iniciar sessão" + +#~ msgid "Save Details..." +#~ msgstr "Salvar Detalhes..." + +#~ msgid "Save _As..." +#~ msgstr "Salvar _como..." + +#~ msgid "Importing..." +#~ msgstr "Importando..." + +#~ msgid "Preparing to import..." +#~ msgstr "Preparando para importar..." + +#~ msgid "_Import From Folder..." +#~ msgstr "_Importar da pasta..." + +#~ msgid "Import From _Application..." +#~ msgstr "Importação de _aplicativo..." + +#~ msgid "Set as _Desktop Slideshow..." +#~ msgstr "Definir como apresentação de sli_des da área de trabalho..." + +#~ msgid "Re_name Event..." +#~ msgstr "Re_nomear evento..." + +#~ msgid "_Export..." +#~ msgstr "_Exportar..." + +#~ msgid "_Print..." +#~ msgstr "Imprimi_r..." + +#~ msgid "Pu_blish..." +#~ msgstr "Pu_blicar..." + +#~ msgid "Edit _Title..." +#~ msgstr "Editar _título..." + +#~ msgid "Edit _Comment..." +#~ msgstr "Editar _comentário..." + +#~ msgid "Edit Event _Comment..." +#~ msgstr "Editar _comentário de evento..." + +#~ msgid "_Adjust Date and Time..." +#~ msgstr "_Ajustar data e hora..." + +#~ msgid "Add _Tags..." +#~ msgstr "Adicionar e_tiquetas..." + +#~ msgid "_Add Tags..." +#~ msgstr "_Adicionar etiquetas..." + +#~ msgid "Send _To..." +#~ msgstr "Enviar _para..." + +#~ msgid "Send T_o..." +#~ msgstr "Enviar p_ara..." + +#~ msgid "_Find..." +#~ msgstr "_Localizar..." + +#~ msgid "Modif_y Tags..." +#~ msgstr "_Modificar etiquetas..." + +#~ msgid "_Edit..." +#~ msgstr "_Editar..." + # Translated with 24-hour time - default in Brazil. i.e.: 20:31 -- Rafael #~ msgid "%-I:%M %p" #~ msgstr "%-H:%M" diff --git a/po/shotwell.pot b/po/shotwell.pot index d22b9f0..5084b08 100644 --- a/po/shotwell.pot +++ b/po/shotwell.pot @@ -6,16 +6,16 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: shotwell 0.24.1\n" +"Project-Id-Version: shotwell 0.25.0\n" "Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?" "product=Shotwell&component=Internationalization\n" -"POT-Creation-Date: 2016-10-16 22:40+0200\n" +"POT-Creation-Date: 2016-10-24 20:11+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "Language: \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" @@ -35,7 +35,7 @@ msgid "" "desktop. It allows you to import photos from your camera or disk, organize " "them by date and subject matter, even ratings. It also offers basic photo " "editing, like crop, red-eye correction, color adjustments, and straighten. " -"Shotwell's non-destructive photo editor does not alter your master photos, " +"Shotwell’s non-destructive photo editor does not alter your master photos, " "making it easy to experiment and correct errors." msgstr "" @@ -107,7 +107,7 @@ msgid "The secret token to sign oauth requests" msgstr "" #: misc/org.yorba.shotwell-extras.gschema.xml:26 -#: misc/org.yorba.shotwell.gschema.xml:416 +#: misc/org.yorba.shotwell.gschema.xml:486 msgid "default size" msgstr "" @@ -133,9 +133,9 @@ msgid "URL of the Rajce server." msgstr "" #: misc/org.yorba.shotwell-extras.gschema.xml:46 -#: misc/org.yorba.shotwell.gschema.xml:384 -#: misc/org.yorba.shotwell.gschema.xml:442 -#: misc/org.yorba.shotwell.gschema.xml:498 +#: misc/org.yorba.shotwell.gschema.xml:454 +#: misc/org.yorba.shotwell.gschema.xml:512 +#: misc/org.yorba.shotwell.gschema.xml:568 msgid "username" msgstr "" @@ -152,7 +152,7 @@ msgid "user token, if remembered." msgstr "" #: misc/org.yorba.shotwell-extras.gschema.xml:58 -#: misc/org.yorba.shotwell.gschema.xml:460 +#: misc/org.yorba.shotwell.gschema.xml:530 msgid "last category" msgstr "" @@ -161,7 +161,7 @@ msgid "The last selected Rajce category." msgstr "" #: misc/org.yorba.shotwell-extras.gschema.xml:64 -#: misc/org.yorba.shotwell.gschema.xml:472 +#: misc/org.yorba.shotwell.gschema.xml:542 msgid "last photo size" msgstr "" @@ -197,11 +197,11 @@ msgid "" msgstr "" #: misc/org.yorba.shotwell-extras.gschema.xml:88 -#: misc/org.yorba.shotwell.gschema.xml:364 -#: misc/org.yorba.shotwell.gschema.xml:402 -#: misc/org.yorba.shotwell.gschema.xml:428 -#: misc/org.yorba.shotwell.gschema.xml:478 -#: misc/org.yorba.shotwell.gschema.xml:522 +#: misc/org.yorba.shotwell.gschema.xml:434 +#: misc/org.yorba.shotwell.gschema.xml:472 +#: misc/org.yorba.shotwell.gschema.xml:498 +#: misc/org.yorba.shotwell.gschema.xml:548 +#: misc/org.yorba.shotwell.gschema.xml:592 msgid "remove sensitive info from uploads" msgstr "" @@ -211,956 +211,1001 @@ msgid "" "first" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:22 +#: misc/org.yorba.shotwell.gschema.xml:23 msgid "display basic properties" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:23 +#: misc/org.yorba.shotwell.gschema.xml:24 msgid "True if the basic properties pane is to be displayed, false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:28 +#: misc/org.yorba.shotwell.gschema.xml:29 msgid "display extended properties" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:29 +#: misc/org.yorba.shotwell.gschema.xml:30 msgid "" "True if the extended properties window is to be displayed, false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:34 +#: misc/org.yorba.shotwell.gschema.xml:35 msgid "display sidebar" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:35 +#: misc/org.yorba.shotwell.gschema.xml:36 msgid "True if the sidebar is to be displayed, false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:40 +#: misc/org.yorba.shotwell.gschema.xml:41 msgid "display toolbar" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:41 +#: misc/org.yorba.shotwell.gschema.xml:42 msgid "True if the bottom toolbar is to be displayed, false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:46 +#: misc/org.yorba.shotwell.gschema.xml:47 msgid "display search bar" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:47 +#: misc/org.yorba.shotwell.gschema.xml:48 msgid "True if the Search/Filter Toolbar is to be displayed, false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:52 +#: misc/org.yorba.shotwell.gschema.xml:53 msgid "display photo titles" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:53 +#: misc/org.yorba.shotwell.gschema.xml:54 msgid "" "True if photo titles are to be displayed beneath thumbnails in collection " "views, false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:58 +#: misc/org.yorba.shotwell.gschema.xml:59 msgid "display photo comments" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:59 +#: misc/org.yorba.shotwell.gschema.xml:60 msgid "" "True if photo comments are to be displayed beneath thumbnails in collection " "views, false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:64 +#: misc/org.yorba.shotwell.gschema.xml:65 msgid "display event comments" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:65 +#: misc/org.yorba.shotwell.gschema.xml:66 msgid "" "True if event comments are to be displayed beneath thumbnails in event " "views, false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:70 +#: misc/org.yorba.shotwell.gschema.xml:71 msgid "display photo tags" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:71 +#: misc/org.yorba.shotwell.gschema.xml:72 msgid "" "True if photo tags are to be listed beneath thumbnails in collection views, " "false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:76 +#: misc/org.yorba.shotwell.gschema.xml:77 msgid "display photo ratings" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:77 +#: misc/org.yorba.shotwell.gschema.xml:78 msgid "" -"True if a photo's rating should be displayed as overlaid trinket, false " +"True if a photo’s rating should be displayed as overlaid trinket, false " "otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:82 +#: misc/org.yorba.shotwell.gschema.xml:83 msgid "rating filter level" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:83 +#: misc/org.yorba.shotwell.gschema.xml:84 msgid "" "Determines how to filter photos based on their ratings. 1: Rejected or " "better, 2: Unrated or better, 3: One or better, 4: Two or better, 5: Three " "or better, 6: Four or better, 7: Five or better." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:88 +#: misc/org.yorba.shotwell.gschema.xml:89 msgid "sort events ascending" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:89 +#: misc/org.yorba.shotwell.gschema.xml:90 msgid "True if events should be sorted ascending, false if descending." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:94 +#: misc/org.yorba.shotwell.gschema.xml:95 msgid "sort library photos ascending" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:95 +#: misc/org.yorba.shotwell.gschema.xml:96 msgid "True if library photos should be sorted ascending, false if descending." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:100 +#: misc/org.yorba.shotwell.gschema.xml:101 msgid "sort library photos criteria" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:101 +#: misc/org.yorba.shotwell.gschema.xml:102 msgid "" "A numeric code that specifies the sort criteria for photos in library views." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:106 +#: misc/org.yorba.shotwell.gschema.xml:107 msgid "sort event photos ascending" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:107 +#: misc/org.yorba.shotwell.gschema.xml:108 msgid "True if event photos should be sorted ascending, false if descending." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:112 +#: misc/org.yorba.shotwell.gschema.xml:113 msgid "sort event photos criteria" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:113 +#: misc/org.yorba.shotwell.gschema.xml:114 msgid "Specifies the sort criteria for event photos." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:118 +#: misc/org.yorba.shotwell.gschema.xml:119 msgid "use 24 hour time" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:119 +#: misc/org.yorba.shotwell.gschema.xml:120 msgid "" "True if should display times with a 24 hour clock, false if times should use " "AM/PM notation." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:124 +#: misc/org.yorba.shotwell.gschema.xml:125 msgid "keep relative time between photos" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:125 +#: misc/org.yorba.shotwell.gschema.xml:126 msgid "" "True if when adjusting time/date of photos, relative time should be " "maintained. False if all photos should be set to the same time." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:130 +#: misc/org.yorba.shotwell.gschema.xml:131 msgid "modify original photo files" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:131 +#: misc/org.yorba.shotwell.gschema.xml:132 msgid "" "True if when adjusting time/date of photos, the original files should be " "modified as well. False if changes are made only in the database." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:136 +#: misc/org.yorba.shotwell.gschema.xml:137 msgid "show welcome dialog on startup" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:137 +#: misc/org.yorba.shotwell.gschema.xml:138 msgid "" "True if, when on startup, a welcome dialog should be shown. False if it " "should not be shown." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:142 +#: misc/org.yorba.shotwell.gschema.xml:143 msgid "sidebar position" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:143 +#: misc/org.yorba.shotwell.gschema.xml:144 msgid "The width, in pixels, of the sidebar" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:148 +#: misc/org.yorba.shotwell.gschema.xml:149 msgid "photo thumbnail scale" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:149 +#: misc/org.yorba.shotwell.gschema.xml:150 msgid "The scale of photo thumbnails, ranging from 72 to 360." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:154 +#: misc/org.yorba.shotwell.gschema.xml:155 msgid "pin toolbar state" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:155 +#: misc/org.yorba.shotwell.gschema.xml:156 msgid "Pin toolbar in fullscreen, or not." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:160 +#: misc/org.yorba.shotwell.gschema.xml:161 msgid "background color" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:161 +#: misc/org.yorba.shotwell.gschema.xml:162 msgid "A grayscale color for use as the background color." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:166 -msgid "Selection state of \"hide photos\" option" +#: misc/org.yorba.shotwell.gschema.xml:167 +msgid "Selection state of “hide photos” option" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:167 +#: misc/org.yorba.shotwell.gschema.xml:168 msgid "" -"Last used selection state of the \"hide photos already imported\" option in " +"Last used selection state of the “hide photos already imported” option in " "the import page." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:174 +#: misc/org.yorba.shotwell.gschema.xml:175 msgid "delay" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:175 +#: misc/org.yorba.shotwell.gschema.xml:176 msgid "Delay (in seconds) between photos in the slideshow." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:180 +#: misc/org.yorba.shotwell.gschema.xml:181 msgid "transition delay" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:181 +#: misc/org.yorba.shotwell.gschema.xml:182 msgid "" "The time (in seconds) that a transition runs between photos in a slideshow" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:186 +#: misc/org.yorba.shotwell.gschema.xml:187 msgid "transition effect id" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:187 +#: misc/org.yorba.shotwell.gschema.xml:188 msgid "" "The name of the transition effect that will be used between photos when " "running a slideshow" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:192 +#: misc/org.yorba.shotwell.gschema.xml:193 msgid "Show title" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:193 +#: misc/org.yorba.shotwell.gschema.xml:194 msgid "Whether to show the title of a photo during the slideshow" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:200 +#: misc/org.yorba.shotwell.gschema.xml:201 msgid "maximize library window" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:201 +#: misc/org.yorba.shotwell.gschema.xml:202 msgid "True if library application is maximized, false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:206 +#: misc/org.yorba.shotwell.gschema.xml:207 msgid "width of library window" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:207 +#: misc/org.yorba.shotwell.gschema.xml:208 msgid "The last recorded width of the library application window." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:212 +#: misc/org.yorba.shotwell.gschema.xml:213 msgid "height of library window" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:213 +#: misc/org.yorba.shotwell.gschema.xml:214 msgid "The last recorded height of the library application window." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:218 +#: misc/org.yorba.shotwell.gschema.xml:219 msgid "maximize direct-edit window" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:219 +#: misc/org.yorba.shotwell.gschema.xml:220 msgid "True if direct-edit application is maximized, false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:224 +#: misc/org.yorba.shotwell.gschema.xml:225 msgid "width of direct-edit window" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:225 +#: misc/org.yorba.shotwell.gschema.xml:226 msgid "The last recorded width of the direct-edit application window." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:230 +#: misc/org.yorba.shotwell.gschema.xml:231 msgid "height of direct-edit window" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:231 +#: misc/org.yorba.shotwell.gschema.xml:232 msgid "The last recorded height of the direct-edit application window." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:236 +#: misc/org.yorba.shotwell.gschema.xml:237 msgid "sidebar divider position" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:237 +#: misc/org.yorba.shotwell.gschema.xml:238 msgid "" "The last recorded position of the divider between the sidebar and view in " "library application window." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:244 +#: misc/org.yorba.shotwell.gschema.xml:245 msgid "import directory" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:245 +#: misc/org.yorba.shotwell.gschema.xml:246 msgid "Directory in which imported photo files are placed." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:250 +#: misc/org.yorba.shotwell.gschema.xml:251 msgid "watch library directory for new files" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:251 +#: misc/org.yorba.shotwell.gschema.xml:252 msgid "" "If true, files added to the library directory are automatically imported." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:256 +#: misc/org.yorba.shotwell.gschema.xml:257 msgid "write metadata to master files" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:257 +#: misc/org.yorba.shotwell.gschema.xml:258 msgid "" "If true, changes to metadata (tags, titles, etc.) are written to the master " "photo file." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:262 +#: misc/org.yorba.shotwell.gschema.xml:263 msgid "use lowercase filenames" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:263 +#: misc/org.yorba.shotwell.gschema.xml:264 msgid "" "If true, Shotwell will convert all filenames to lowercase when importing " "photo files" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:268 +#: misc/org.yorba.shotwell.gschema.xml:269 msgid "directory pattern" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:269 +#: misc/org.yorba.shotwell.gschema.xml:270 msgid "" "A string encoding a naming pattern that will be used to name photo " "directories on import." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:274 +#: misc/org.yorba.shotwell.gschema.xml:275 msgid "directory pattern custom" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:275 +#: misc/org.yorba.shotwell.gschema.xml:276 msgid "" "A string encoding a custom naming pattern that will be used to name photo " "directories on import." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:280 +#: misc/org.yorba.shotwell.gschema.xml:281 msgid "RAW developer default" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:281 +#: misc/org.yorba.shotwell.gschema.xml:282 msgid "Default option for which RAW developer Shotwell will use." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:288 +#: misc/org.yorba.shotwell.gschema.xml:289 msgid "Most-recently-used crop aspect ratio menu choice." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:289 +#: misc/org.yorba.shotwell.gschema.xml:290 msgid "A numeric code representing the last crop menu choice the user made." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:293 -msgid "Most-recently-used crop custom aspect ratio's numerator." +#: misc/org.yorba.shotwell.gschema.xml:294 +msgid "Most-recently-used crop custom aspect ratio’s numerator." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:294 +#: misc/org.yorba.shotwell.gschema.xml:295 msgid "" "A nonzero, positive integer representing the width part of the last custom " "crop ratio the user entered." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:298 -msgid "Most-recently-used crop custom aspect ratio's denominator." +#: misc/org.yorba.shotwell.gschema.xml:299 +msgid "Most-recently-used crop custom aspect ratio’s denominator." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:299 +#: misc/org.yorba.shotwell.gschema.xml:300 msgid "" "A nonzero, positive integer representing the height part of the last custom " "crop ratio the user entered." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:306 +#: misc/org.yorba.shotwell.gschema.xml:307 msgid "external photo editor" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:307 +#: misc/org.yorba.shotwell.gschema.xml:308 msgid "External application used to edit photos." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:312 +#: misc/org.yorba.shotwell.gschema.xml:313 msgid "external raw editor" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:313 +#: misc/org.yorba.shotwell.gschema.xml:314 msgid "External application used to edit RAW photos." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:320 +#: misc/org.yorba.shotwell.gschema.xml:352 +#: misc/org.yorba.shotwell.gschema.xml:353 +msgid "Setting in export dialog: how to trim images" +msgstr "" + +#: misc/org.yorba.shotwell.gschema.xml:358 +msgid "export metadata" +msgstr "" + +#: misc/org.yorba.shotwell.gschema.xml:359 +msgid "Setting in export dialog: option to export metadata" +msgstr "" + +#: misc/org.yorba.shotwell.gschema.xml:364 +msgid "format setting, special value" +msgstr "" + +#: misc/org.yorba.shotwell.gschema.xml:365 +msgid "Setting in export dialog: format setting, special value" +msgstr "" + +#: misc/org.yorba.shotwell.gschema.xml:370 +msgid "format setting, type value" +msgstr "" + +#: misc/org.yorba.shotwell.gschema.xml:371 +msgid "Setting in export dialog: format setting, type value" +msgstr "" + +#: misc/org.yorba.shotwell.gschema.xml:376 +msgid "JPEG quality option" +msgstr "" + +#: misc/org.yorba.shotwell.gschema.xml:377 +msgid "Setting in export dialog: jpeg quality option" +msgstr "" + +#: misc/org.yorba.shotwell.gschema.xml:382 +msgid "maximal size of image" +msgstr "" + +#: misc/org.yorba.shotwell.gschema.xml:383 +msgid "Setting in export dialog: maximal size of image" +msgstr "" + +#: misc/org.yorba.shotwell.gschema.xml:390 msgid "last used publishing service" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:321 -#: misc/org.yorba.shotwell.gschema.xml:327 +#: misc/org.yorba.shotwell.gschema.xml:391 +#: misc/org.yorba.shotwell.gschema.xml:397 msgid "" "A numeric code representing the last service to which photos were published" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:326 +#: misc/org.yorba.shotwell.gschema.xml:396 msgid "default publishing service" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:340 +#: misc/org.yorba.shotwell.gschema.xml:410 msgid "access token" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:341 +#: misc/org.yorba.shotwell.gschema.xml:411 msgid "Facebook OAuth token for the currently logged in session, if any" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:346 +#: misc/org.yorba.shotwell.gschema.xml:416 msgid "user i.d." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:347 +#: misc/org.yorba.shotwell.gschema.xml:417 msgid "Facebook user i.d. for the currently logged in user, if any" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:352 +#: misc/org.yorba.shotwell.gschema.xml:422 msgid "user name" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:353 +#: misc/org.yorba.shotwell.gschema.xml:423 msgid "The name of the currently logged in Facebook user, if any" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:358 -#: misc/org.yorba.shotwell.gschema.xml:390 +#: misc/org.yorba.shotwell.gschema.xml:428 +#: misc/org.yorba.shotwell.gschema.xml:460 msgid "default size code" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:359 +#: misc/org.yorba.shotwell.gschema.xml:429 msgid "" "A numeric code representing the default size for photos published to Facebook" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:365 +#: misc/org.yorba.shotwell.gschema.xml:435 msgid "" "Whether images being uploaded to Facebook should have their metadata removed " "first" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:372 +#: misc/org.yorba.shotwell.gschema.xml:442 msgid "OAuth Access Phase Token" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:373 +#: misc/org.yorba.shotwell.gschema.xml:443 msgid "The authorization token for the currently logged in Flickr user, if any" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:378 +#: misc/org.yorba.shotwell.gschema.xml:448 msgid "OAuth Access Phase Token Secret" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:379 +#: misc/org.yorba.shotwell.gschema.xml:449 msgid "" "The cryptographic secret used to sign requests against the authorization " "token for the currently logged in Flickr user, if any" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:385 +#: misc/org.yorba.shotwell.gschema.xml:455 msgid "The user name of the currently logged in Flickr user, if any" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:391 +#: misc/org.yorba.shotwell.gschema.xml:461 msgid "" "A numeric code representing the default size for photos published to Flickr" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:396 +#: misc/org.yorba.shotwell.gschema.xml:466 msgid "default visibility" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:397 +#: misc/org.yorba.shotwell.gschema.xml:467 msgid "" "A numeric code representing the default visibility for photos published to " "Flickr" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:403 +#: misc/org.yorba.shotwell.gschema.xml:473 msgid "" "Whether images being uploaded to Flickr should have their metadata removed " "first" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:410 -#: misc/org.yorba.shotwell.gschema.xml:542 +#: misc/org.yorba.shotwell.gschema.xml:480 +#: misc/org.yorba.shotwell.gschema.xml:612 msgid "refresh token" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:411 +#: misc/org.yorba.shotwell.gschema.xml:481 msgid "" "The OAuth token used to refresh the Picasa Web Albums session for the " "currently logged in user, if any." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:417 +#: misc/org.yorba.shotwell.gschema.xml:487 msgid "" "A numeric code representing the default size for photos uploaded to Picasa " "Web Albums" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:422 -#: misc/org.yorba.shotwell.gschema.xml:516 +#: misc/org.yorba.shotwell.gschema.xml:492 +#: misc/org.yorba.shotwell.gschema.xml:586 msgid "last album" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:423 -#: misc/org.yorba.shotwell.gschema.xml:517 +#: misc/org.yorba.shotwell.gschema.xml:493 +#: misc/org.yorba.shotwell.gschema.xml:587 msgid "The name of the last album the user published photos to, if any" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:429 +#: misc/org.yorba.shotwell.gschema.xml:499 msgid "" "Whether images being uploaded to Picasa should have their metadata removed " "first" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:436 +#: misc/org.yorba.shotwell.gschema.xml:506 msgid "Piwigo URL" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:437 +#: misc/org.yorba.shotwell.gschema.xml:507 msgid "URL of the Piwigo server." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:443 +#: misc/org.yorba.shotwell.gschema.xml:513 msgid "Piwigo username, if logged in." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:448 +#: misc/org.yorba.shotwell.gschema.xml:518 msgid "password" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:449 +#: misc/org.yorba.shotwell.gschema.xml:519 msgid "Piwigo password, if logged in." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:454 +#: misc/org.yorba.shotwell.gschema.xml:524 msgid "remember password" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:455 +#: misc/org.yorba.shotwell.gschema.xml:525 msgid "If true, remember the Piwigo password." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:461 +#: misc/org.yorba.shotwell.gschema.xml:531 msgid "The last selected Piwigo category." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:466 +#: misc/org.yorba.shotwell.gschema.xml:536 msgid "last permission level" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:467 +#: misc/org.yorba.shotwell.gschema.xml:537 msgid "The last chosen Piwigo permission level." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:473 +#: misc/org.yorba.shotwell.gschema.xml:543 msgid "" "A numeric code representing the last photo size preset used when publishing " "to Piwigo." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:479 +#: misc/org.yorba.shotwell.gschema.xml:549 msgid "" "Whether images being uploaded to Piwigo should have their metadata removed " "first" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:484 +#: misc/org.yorba.shotwell.gschema.xml:554 msgid "" "if title is set and comment unset, use title as comment for uploads to Piwigo" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:485 +#: misc/org.yorba.shotwell.gschema.xml:555 msgid "" "Whether images being uploaded to Piwigo should have their comment set from " "the title if title is set and comment unset" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:490 +#: misc/org.yorba.shotwell.gschema.xml:560 msgid "do not upload tags when uploading to Piwigo" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:491 +#: misc/org.yorba.shotwell.gschema.xml:561 msgid "" "Whether images being uploaded to Piwigo should have their tags removed on " "upload, such that these tags will not appear on the remote Piwigo server." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:499 +#: misc/org.yorba.shotwell.gschema.xml:569 msgid "Gallery3 username" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:504 +#: misc/org.yorba.shotwell.gschema.xml:574 msgid "API key" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:505 +#: misc/org.yorba.shotwell.gschema.xml:575 msgid "Gallery3 API key" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:510 +#: misc/org.yorba.shotwell.gschema.xml:580 msgid "URL" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:511 +#: misc/org.yorba.shotwell.gschema.xml:581 msgid "Gallery3 site URL" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:523 +#: misc/org.yorba.shotwell.gschema.xml:593 msgid "" "Indicates whether images being uploaded to Gallery3 should have their " "metadata removed first" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:528 +#: misc/org.yorba.shotwell.gschema.xml:598 msgid "scaling constraint of uploaded picture" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:529 +#: misc/org.yorba.shotwell.gschema.xml:599 msgid "The scaling constraint ID of the picture to be uploaded" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:534 +#: misc/org.yorba.shotwell.gschema.xml:604 msgid "pixels of the major axis uploaded picture" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:535 +#: misc/org.yorba.shotwell.gschema.xml:605 msgid "" "The pixels of the major axis of the picture to be uploaded; used only if " "scaling-constraint-id is an appropriate value" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:543 +#: misc/org.yorba.shotwell.gschema.xml:613 msgid "" "The OAuth token used to refresh the YouTube session for the currently logged " "in user, if any." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:550 +#: misc/org.yorba.shotwell.gschema.xml:620 msgid "last used import service" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:551 +#: misc/org.yorba.shotwell.gschema.xml:621 msgid "" "A numeric code representing the last service from which photos were imported" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:558 +#: misc/org.yorba.shotwell.gschema.xml:628 msgid "interpreter state cookie" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:559 +#: misc/org.yorba.shotwell.gschema.xml:629 msgid "" "A numeric code that captures the state of the GStreamer plug-in environment" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:566 +#: misc/org.yorba.shotwell.gschema.xml:636 msgid "content layout mode" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:567 +#: misc/org.yorba.shotwell.gschema.xml:637 msgid "" "A numeric code that describes how photos are laid out on the page during " "printing" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:572 +#: misc/org.yorba.shotwell.gschema.xml:642 msgid "content ppi" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:573 +#: misc/org.yorba.shotwell.gschema.xml:643 msgid "The number of pixels per inch (ppi) sent to the printer during printing" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:578 +#: misc/org.yorba.shotwell.gschema.xml:648 msgid "content width" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:579 +#: misc/org.yorba.shotwell.gschema.xml:649 msgid "The width of the printed emulsion on the page when printing" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:584 +#: misc/org.yorba.shotwell.gschema.xml:654 msgid "content height" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:585 +#: misc/org.yorba.shotwell.gschema.xml:655 msgid "The height of the printed emulsion on the page when printing" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:590 +#: misc/org.yorba.shotwell.gschema.xml:660 msgid "content units" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:591 +#: misc/org.yorba.shotwell.gschema.xml:661 msgid "" "A numeric code representing unit of measure (inches or centimeters) used " "when printing" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:596 +#: misc/org.yorba.shotwell.gschema.xml:666 msgid "images per page code" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:597 +#: misc/org.yorba.shotwell.gschema.xml:667 msgid "" "A numeric code representing the currently selected images per page mode used " "when printing" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:602 +#: misc/org.yorba.shotwell.gschema.xml:672 msgid "size selection" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:603 +#: misc/org.yorba.shotwell.gschema.xml:673 msgid "" "The index of the current print size in a pre-defined list of standard sizes" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:608 +#: misc/org.yorba.shotwell.gschema.xml:678 msgid "match aspect ratio" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:609 +#: misc/org.yorba.shotwell.gschema.xml:679 msgid "" "Determines whether custom print sizes must match the aspect ratio of the " "original photo" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:614 +#: misc/org.yorba.shotwell.gschema.xml:684 msgid "print titles" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:615 +#: misc/org.yorba.shotwell.gschema.xml:685 msgid "" "True if the title of a photo should be printed when the photo is printed, " "false otherwise." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:620 +#: misc/org.yorba.shotwell.gschema.xml:690 msgid "titles font" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:621 +#: misc/org.yorba.shotwell.gschema.xml:691 msgid "The name of the font to use for photo titles when they are printed." msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:632 +#: misc/org.yorba.shotwell.gschema.xml:702 msgid "enable facebook publishing plugin" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:633 +#: misc/org.yorba.shotwell.gschema.xml:703 msgid "True if the Facebook publishing plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:638 +#: misc/org.yorba.shotwell.gschema.xml:708 msgid "enable flickr publishing plugin" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:639 +#: misc/org.yorba.shotwell.gschema.xml:709 msgid "True if the Flickr publishing plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:644 +#: misc/org.yorba.shotwell.gschema.xml:714 msgid "enable picasa publishing plugin" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:645 +#: misc/org.yorba.shotwell.gschema.xml:715 msgid "" "True if the Picasa Web Albums publishing plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:650 +#: misc/org.yorba.shotwell.gschema.xml:720 msgid "enable youtube publishing plugin" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:651 +#: misc/org.yorba.shotwell.gschema.xml:721 msgid "True if the YouTube publishing plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:656 +#: misc/org.yorba.shotwell.gschema.xml:726 msgid "enable piwigo publishing plugin" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:657 +#: misc/org.yorba.shotwell.gschema.xml:727 msgid "True if the Piwigo publishing plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:662 +#: misc/org.yorba.shotwell.gschema.xml:732 msgid "enable yandex publishing plugin" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:663 +#: misc/org.yorba.shotwell.gschema.xml:733 msgid "True if the Yandex.Fotki publishing plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:668 +#: misc/org.yorba.shotwell.gschema.xml:738 msgid "enable tumblr publishing plugin" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:669 +#: misc/org.yorba.shotwell.gschema.xml:739 msgid "True if the Tumblr publishing plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:674 +#: misc/org.yorba.shotwell.gschema.xml:744 msgid "enable rajce publishing plugin" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:675 +#: misc/org.yorba.shotwell.gschema.xml:745 msgid "True if the Rajce publishing plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:680 +#: misc/org.yorba.shotwell.gschema.xml:750 msgid "enable gallery3 publishing plugin" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:681 +#: misc/org.yorba.shotwell.gschema.xml:751 msgid "True if the Gallery3 publishing plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:686 +#: misc/org.yorba.shotwell.gschema.xml:756 msgid "enable F-Spot import plugin" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:687 +#: misc/org.yorba.shotwell.gschema.xml:757 msgid "True if the F-Spot import plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:692 +#: misc/org.yorba.shotwell.gschema.xml:762 msgid "enable slideshow crumble transition" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:693 +#: misc/org.yorba.shotwell.gschema.xml:763 msgid "" "True if the Crumble slideshow transition plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:698 +#: misc/org.yorba.shotwell.gschema.xml:768 msgid "enable slideshow fade transition" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:699 +#: misc/org.yorba.shotwell.gschema.xml:769 msgid "" "True if the Fade slideshow transition plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:704 -#: misc/org.yorba.shotwell.gschema.xml:728 +#: misc/org.yorba.shotwell.gschema.xml:774 +#: misc/org.yorba.shotwell.gschema.xml:798 msgid "enable slideshow slide transition" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:705 +#: misc/org.yorba.shotwell.gschema.xml:775 msgid "" "True if the Slide slideshow transition plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:710 +#: misc/org.yorba.shotwell.gschema.xml:780 msgid "enable slideshow clock transition" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:711 +#: misc/org.yorba.shotwell.gschema.xml:781 msgid "" "True if the Clock slideshow transition plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:716 -#: misc/org.yorba.shotwell.gschema.xml:722 +#: misc/org.yorba.shotwell.gschema.xml:786 +#: misc/org.yorba.shotwell.gschema.xml:792 msgid "enable slideshow circle transition" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:717 +#: misc/org.yorba.shotwell.gschema.xml:787 msgid "" "True if the Circle slideshow transition plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:723 +#: misc/org.yorba.shotwell.gschema.xml:793 msgid "" "True if the Circles slideshow transition plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:729 +#: misc/org.yorba.shotwell.gschema.xml:799 msgid "" "True if the Blinds slideshow transition plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:734 +#: misc/org.yorba.shotwell.gschema.xml:804 msgid "enable slideshow squares transition" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:735 +#: misc/org.yorba.shotwell.gschema.xml:805 msgid "" "True if the Squares slideshow transition plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:740 +#: misc/org.yorba.shotwell.gschema.xml:810 msgid "enable slideshow stripes transition" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:741 +#: misc/org.yorba.shotwell.gschema.xml:811 msgid "" "True if the Stripes slideshow transition plugin is enabled, false otherwise" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:746 +#: misc/org.yorba.shotwell.gschema.xml:816 msgid "enable slideshow chess transition" msgstr "" -#: misc/org.yorba.shotwell.gschema.xml:747 +#: misc/org.yorba.shotwell.gschema.xml:817 msgid "" "True if the Chess-Board slideshow transition plugin is enabled, false " "otherwise" @@ -1174,12 +1219,58 @@ msgstr "" msgid "translator-credits" msgstr "" -#: plugins/common/RESTSupport.vala:451 +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:202 +msgid "" +"⚫ This website presented identification that belongs to a different website." +msgstr "" + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:207 +msgid "" +"⚫ This website’s identification is too old to trust. Check the date on your " +"computer’s calendar." +msgstr "" + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:212 +msgid "" +"⚫ This website’s identification was not issued by a trusted organization." +msgstr "" + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:217 +msgid "" +"⚫ This website’s identification could not be processed. It may be corrupted." +msgstr "" + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:222 +msgid "" +"⚫ This website’s identification has been revoked by the trusted organization " +"that issued it." +msgstr "" + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:227 +msgid "" +"⚫ This website’s identification cannot be trusted because it uses very weak " +"encryption." +msgstr "" + +#. Possible error message when a site presents a bad certificate. +#: plugins/common/RESTSupport.vala:232 +msgid "" +"⚫ This website’s identification is only valid for future dates. Check the " +"date on your computer’s calendar." +msgstr "" + +#: plugins/common/RESTSupport.vala:509 #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:958 msgid "A temporary file needed for publishing is unavailable" msgstr "" -#: plugins/common/RESTSupport.vala:1157 +#: plugins/common/RESTSupport.vala:1167 msgid "" "You have already logged in and out of a Google service during this Shotwell " "session.\n" @@ -1271,7 +1362,7 @@ msgstr "" #: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:8 #: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:145 #: ui/shotwell.ui:1627 -msgid "_Login" +msgid "_Log in" msgstr "" #: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:34 @@ -1340,7 +1431,7 @@ msgstr "" #: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:195 #: plugins/shotwell-publishing/FlickrPublishing.vala:1235 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1234 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1329 #: src/Dimensions.vala:17 msgid "Original size" msgstr "" @@ -1371,8 +1462,8 @@ msgstr "" msgid "" "\n" "\n" -"The file \"%s\" may not be supported by or may be too large for this " -"instance of Gallery3." +"The file “%s” may not be supported by or may be too large for this instance " +"of Gallery3." msgstr "" #: plugins/shotwell-publishing-extras/GalleryConnector.vala:802 @@ -1385,7 +1476,7 @@ msgstr "" #: plugins/shotwell-publishing-extras/GalleryConnector.vala:1773 #, c-format msgid "" -"A file required for publishing is unavailable. Publishing to %s can't " +"A file required for publishing is unavailable. Publishing to %s can’t " "continue." msgstr "" @@ -1445,7 +1536,7 @@ msgstr "" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:895 #: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:107 #: plugins/shotwell-publishing/piwigo_authentication_pane.ui:151 -msgid "Login" +msgid "Log in" msgstr "" #: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:111 @@ -1472,7 +1563,7 @@ msgid "Open target _album in browser" msgstr "" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:40 -msgid "Copyright (C) 2013 rajce.net" +msgid "Copyright © 2013 rajce.net" msgstr "" #: plugins/shotwell-publishing-extras/RajcePublishing.vala:744 @@ -1521,29 +1612,29 @@ msgstr "" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:105 #: plugins/shotwell-publishing/FlickrPublishing.vala:1231 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1230 -msgid "500 x 375 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1325 +msgid "500 × 375 pixels" msgstr "" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:106 #: plugins/shotwell-publishing/FlickrPublishing.vala:1232 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1231 -msgid "1024 x 768 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1326 +msgid "1024 × 768 pixels" msgstr "" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:107 -msgid "1280 x 853 pixels" +msgid "1280 × 853 pixels" msgstr "" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:311 #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:321 #, c-format -msgid "'%s' isn't a valid response to an OAuth authentication request" +msgid "“%s” isn’t a valid response to an OAuth authentication request" msgstr "" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:559 msgid "" -"TumblrPublisher: start( ): can't start; this publisher is not restartable." +"TumblrPublisher: start( ): can’t start; this publisher is not restartable." msgstr "" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:587 @@ -1551,12 +1642,12 @@ msgid "Enter the username and password associated with your Tumblr account." msgstr "" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:588 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:992 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1087 msgid "Username and/or password invalid. Please try again" msgstr "" #: plugins/shotwell-publishing-extras/TumblrPublishing.vala:615 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1026 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1121 msgid "Invalid User Name or Password" msgstr "" @@ -1581,7 +1672,7 @@ msgstr "" msgid "Visit the Yandex.Fotki web site" msgstr "" -#: plugins/shotwell-publishing-extras/YandexPublishing.vala:658 +#: plugins/shotwell-publishing-extras/YandexPublishing.vala:609 msgid "You are not currently logged into Yandex.Fotki." msgstr "" @@ -1606,7 +1697,7 @@ msgid "Public" msgstr "" #: plugins/shotwell-publishing-extras/yandex_publish_model.ui:162 -#: plugins/shotwell-publishing/FacebookPublishing.vala:1194 +#: plugins/shotwell-publishing/FacebookPublishing.vala:1144 msgid "Friends" msgstr "" @@ -1624,7 +1715,7 @@ msgid "Create a _new album named:" msgstr "" #: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:108 -#: plugins/shotwell-publishing/FacebookPublishing.vala:1034 +#: plugins/shotwell-publishing/FacebookPublishing.vala:984 msgid "Upload _size:" msgstr "" @@ -1642,7 +1733,7 @@ msgstr "" #: plugins/shotwell-publishing/FacebookPublishing.vala:62 #: plugins/shotwell-publishing/PicasaPublishing.vala:60 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1114 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1209 msgid "Shotwell Connect" msgstr "" @@ -1650,7 +1741,7 @@ msgstr "" msgid "" "You are not currently logged into Facebook.\n" "\n" -"If you don't yet have a Facebook account, you can create one during the " +"If you don’t yet have a Facebook account, you can create one during the " "login process. During login, Shotwell Connect may ask you for permission to " "upload photos and publish to your feed. These permissions are required for " "Shotwell Connect to function." @@ -1673,39 +1764,39 @@ msgid "Large (2048 pixels)" msgstr "" #: plugins/shotwell-publishing/FacebookPublishing.vala:255 -msgid "Testing connection to Facebook..." +msgid "Testing connection to Facebook…" msgstr "" #: plugins/shotwell-publishing/FacebookPublishing.vala:348 #: plugins/shotwell-publishing/PicasaPublishing.vala:379 -msgid "Creating album..." +msgid "Creating album…" msgstr "" #: plugins/shotwell-publishing/FacebookPublishing.vala:374 msgid "" -"A file required for publishing is unavailable. Publishing to Facebook can't " +"A file required for publishing is unavailable. Publishing to Facebook can’t " "continue." msgstr "" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1032 +#: plugins/shotwell-publishing/FacebookPublishing.vala:982 #, c-format msgid "" "You are logged into Facebook as %s.\n" "\n" msgstr "" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1033 +#: plugins/shotwell-publishing/FacebookPublishing.vala:983 msgid "Where would you like to publish the selected photos?" msgstr "" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1193 +#: plugins/shotwell-publishing/FacebookPublishing.vala:1143 #: plugins/shotwell-publishing/FlickrPublishing.vala:1213 msgid "Just me" msgstr "" -#: plugins/shotwell-publishing/FacebookPublishing.vala:1195 +#: plugins/shotwell-publishing/FacebookPublishing.vala:1145 #: plugins/shotwell-publishing/FlickrPublishing.vala:1209 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1218 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1313 msgid "Everyone" msgstr "" @@ -1719,7 +1810,7 @@ msgstr "" msgid "Authorization _Number:" msgstr "" -#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83 src/Dialogs.vala:132 +#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83 src/Dialogs.vala:128 msgid "Con_tinue" msgstr "" @@ -1727,7 +1818,7 @@ msgstr "" msgid "" "You are not currently logged into Flickr.\n" "\n" -"Click Login to log into Flickr in your Web browser. You will have to " +"Click Log in to log into Flickr in your Web browser. You will have to " "authorize Shotwell Connect to link to your Flickr account." msgstr "" @@ -1739,18 +1830,18 @@ msgid "" msgstr "" #: plugins/shotwell-publishing/FlickrPublishing.vala:374 -msgid "Preparing for login..." +msgid "Preparing for login…" msgstr "" #: plugins/shotwell-publishing/FlickrPublishing.vala:444 #: plugins/shotwell-publishing/FlickrPublishing.vala:594 msgid "" -"A file required for publishing is unavailable. Publishing to Flickr can't " +"A file required for publishing is unavailable. Publishing to Flickr can’t " "continue." msgstr "" #: plugins/shotwell-publishing/FlickrPublishing.vala:457 -msgid "Verifying authorization..." +msgid "Verifying authorization…" msgstr "" #: plugins/shotwell-publishing/FlickrPublishing.vala:1152 @@ -1800,13 +1891,13 @@ msgid "Friends only" msgstr "" #: plugins/shotwell-publishing/FlickrPublishing.vala:1233 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1232 -msgid "2048 x 1536 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1327 +msgid "2048 × 1536 pixels" msgstr "" #: plugins/shotwell-publishing/FlickrPublishing.vala:1234 -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1233 -msgid "4096 x 3072 pixels" +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1328 +msgid "4096 × 3072 pixels" msgstr "" #: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:113 @@ -1821,13 +1912,13 @@ msgstr "" msgid "" "You are not currently logged into Picasa Web Albums.\n" "\n" -"Click Login to log into Picasa Web Albums in your Web browser. You will have " -"to authorize Shotwell Connect to link to your Picasa Web Albums account." +"Click Log in to log into Picasa Web Albums in your Web browser. You will " +"have to authorize Shotwell Connect to link to your Picasa Web Albums account." msgstr "" #: plugins/shotwell-publishing/PicasaPublishing.vala:361 msgid "" -"A file required for publishing is unavailable. Publishing to Picasa can't " +"A file required for publishing is unavailable. Publishing to Picasa can’t " "continue." msgstr "" @@ -1842,19 +1933,19 @@ msgid "Videos will appear in:" msgstr "" #: plugins/shotwell-publishing/PicasaPublishing.vala:746 -msgid "Small (640 x 480 pixels)" +msgid "Small (640 × 480 pixels)" msgstr "" #: plugins/shotwell-publishing/PicasaPublishing.vala:747 -msgid "Medium (1024 x 768 pixels)" +msgid "Medium (1024 × 768 pixels)" msgstr "" #: plugins/shotwell-publishing/PicasaPublishing.vala:748 -msgid "Recommended (1600 x 1200 pixels)" +msgid "Recommended (1600 × 1200 pixels)" msgstr "" #: plugins/shotwell-publishing/PicasaPublishing.vala:749 -msgid "Google+ (2048 x 1536 pixels)" +msgid "Google+ (2048 × 1536 pixels)" msgstr "" #: plugins/shotwell-publishing/PicasaPublishing.vala:750 @@ -1911,47 +2002,68 @@ msgstr "" msgid "Publish" msgstr "" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:747 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:775 #, c-format -msgid "Creating album %s..." +msgid "Creating album %s…" msgstr "" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:920 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:948 msgid "An error message occurred when publishing to Piwigo. Please try again." msgstr "" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:990 +#. %s is the host name that we tried to connect to +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1024 +#, c-format +msgid "" +"This does not look like the real <b>%s</b>. Attackers might be trying to " +"steal or alter information going to or from this site (for example, private " +"messages, credit card information, or passwords)." +msgstr "" + +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1085 msgid "" "Enter the URL of your Piwigo photo library as well as the username and " "password associated with your Piwigo account for that library." msgstr "" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:991 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1086 msgid "" "Shotwell cannot contact your Piwigo photo library. Please verify the URL you " "entered" msgstr "" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1021 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1116 msgid "Invalid URL" msgstr "" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1219 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1314 msgid "Admins, Family, Friends, Contacts" msgstr "" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1220 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1315 msgid "Admins, Family, Friends" msgstr "" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1221 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1316 msgid "Admins, Family" msgstr "" -#: plugins/shotwell-publishing/PiwigoPublishing.vala:1222 +#: plugins/shotwell-publishing/PiwigoPublishing.vala:1317 msgid "Admins" msgstr "" +#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:21 +msgid "This connection is not secure" +msgstr "" + +#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:75 +msgid "Show the certificate…" +msgstr "" + +#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:88 +msgid "I understand, please _proceed." +msgstr "" + #: plugins/shotwell-publishing/shotwell-publishing.vala:26 msgid "Core Publishing Services" msgstr "" @@ -1971,7 +2083,7 @@ msgstr "" #: plugins/shotwell-publishing/YouTubePublishing.vala:363 msgid "" -"A file required for publishing is unavailable. Publishing to Youtube can't " +"A file required for publishing is unavailable. Publishing to YouTube can’t " "continue." msgstr "" @@ -1982,7 +2094,7 @@ msgstr "" #: plugins/shotwell-publishing/YouTubePublishing.vala:464 #, c-format -msgid "Videos will appear in '%s'" +msgid "Videos will appear in “%s”" msgstr "" #: plugins/shotwell-publishing/YouTubePublishing.vala:496 @@ -2099,12 +2211,12 @@ msgid "_Frequently Asked Questions" msgstr "" #: src/AppWindow.vala:509 -msgid "_Report a Problem..." +msgid "_Report a Problem…" msgstr "" #: src/AppWindow.vala:608 src/AppWindow.vala:629 src/AppWindow.vala:646 #: src/data_imports/DataImportsUI.vala:413 src/Dialogs.vala:20 -#: src/Dialogs.vala:28 src/Dialogs.vala:1425 src/Dialogs.vala:1448 +#: src/Dialogs.vala:28 src/Dialogs.vala:1441 src/Dialogs.vala:1464 #: src/publishing/PublishingUI.vala:512 src/Resources.vala:157 msgid "_Cancel" msgstr "" @@ -2112,7 +2224,7 @@ msgstr "" #: src/AppWindow.vala:656 #, c-format msgid "" -"A fatal error occurred when accessing Shotwell's library. Shotwell cannot " +"A fatal error occurred when accessing Shotwell’s library. Shotwell cannot " "continue.\n" "\n" "%s" @@ -2214,7 +2326,7 @@ msgstr "" #: src/camera/ImportPage.vala:458 msgid "" -"Unable to unmount camera. Try unmounting the camera from the file manager." +"Unable to unmount camera. Try unmounting the camera from the file manager." msgstr "" #. hide duplicates checkbox @@ -2262,7 +2374,7 @@ msgstr "" #: src/camera/ImportPage.vala:1013 msgid "" "Shotwell needs to unmount the camera from the filesystem in order to access " -"it. Continue?" +"it. Continue?" msgstr "" #: src/camera/ImportPage.vala:1019 @@ -2275,8 +2387,8 @@ msgstr "" #: src/camera/ImportPage.vala:1029 msgid "" -"The camera is locked by another application. Shotwell can only access the " -"camera when it's unlocked. Please close any other application using the " +"The camera is locked by another application. Shotwell can only access the " +"camera when it’s unlocked. Please close any other application using the " "camera and try again." msgstr "" @@ -2292,11 +2404,11 @@ msgid "" msgstr "" #: src/camera/ImportPage.vala:1061 -msgid "Unmounting..." +msgid "Unmounting…" msgstr "" #: src/camera/ImportPage.vala:1152 -msgid "Starting import, please wait..." +msgid "Starting import, please wait…" msgstr "" #: src/camera/ImportPage.vala:1169 @@ -2341,7 +2453,7 @@ msgid_plural "Delete these %d files from camera?" msgstr[0] "" msgstr[1] "" -#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1392 +#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1408 msgid "_Keep" msgstr "" @@ -2376,7 +2488,7 @@ msgstr "" msgid "Export Photo" msgstr "" -#: src/CollectionPage.vala:458 src/Dialogs.vala:88 +#: src/CollectionPage.vala:458 src/Dialogs.vala:84 msgid "Export Photos" msgstr "" @@ -2526,7 +2638,7 @@ msgstr "" #: src/Commands.vala:1695 #, c-format -msgid "Move Tag \"%s\"" +msgid "Move Tag “%s”" msgstr "" #: src/Commands.vala:2347 @@ -2587,7 +2699,7 @@ msgstr "" #: src/data_imports/DataImportsPluginHost.vala:148 #: src/data_imports/DataImportsPluginHost.vala:294 #, c-format -msgid "Importing from %s can't continue because an error occurred:" +msgid "Importing from %s can’t continue because an error occurred:" msgstr "" #: src/data_imports/DataImportsPluginHost.vala:151 @@ -2675,12 +2787,12 @@ msgstr "" #: src/Dialogs.vala:16 #, c-format -msgid "This will remove the tag \"%s\" from one photo. Continue?" -msgid_plural "This will remove the tag \"%s\" from %d photos. Continue?" +msgid "This will remove the tag “%s” from one photo. Continue?" +msgid_plural "This will remove the tag “%s” from %d photos. Continue?" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1393 +#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1409 #: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:409 #: src/Resources.vala:674 msgid "_Delete" @@ -2688,7 +2800,7 @@ msgstr "" #: src/Dialogs.vala:25 #, c-format -msgid "This will remove the saved search \"%s\". Continue?" +msgid "This will remove the saved search “%s”. Continue?" msgstr "" #: src/Dialogs.vala:36 @@ -2714,20 +2826,20 @@ msgstr "" #. if we can't copy an image over for editing in an external tool. #. Did we fail because we can't write to this directory? #. Yes - display an alternate error message here. -#: src/Dialogs.vala:116 +#: src/Dialogs.vala:112 #, c-format msgid "" -"Shotwell couldn't create a file for editing this photo because you do not " +"Shotwell couldn’t create a file for editing this photo because you do not " "have permission to write to %s." msgstr "" -#: src/Dialogs.vala:125 +#: src/Dialogs.vala:121 msgid "" "Unable to export the following photo due to a file error.\n" "\n" msgstr "" -#: src/Dialogs.vala:131 +#: src/Dialogs.vala:127 msgid "" "\n" "\n" @@ -2737,60 +2849,60 @@ msgstr "" #. "Unmodified" and "Current," though they appear in the "Format:" popup menu, really #. aren't formats so much as they are operating modes that determine specific formats. #. Hereafter we'll refer to these as "special formats." -#: src/Dialogs.vala:148 +#: src/Dialogs.vala:144 msgid "Unmodified" msgstr "" -#: src/Dialogs.vala:149 +#: src/Dialogs.vala:145 msgid "Current" msgstr "" #. layout controls -#: src/Dialogs.vala:216 +#: src/Dialogs.vala:221 msgid "_Format:" msgstr "" -#: src/Dialogs.vala:219 +#: src/Dialogs.vala:224 msgid "_Quality:" msgstr "" -#: src/Dialogs.vala:222 +#: src/Dialogs.vala:227 msgid "_Scaling constraint:" msgstr "" -#: src/Dialogs.vala:225 +#: src/Dialogs.vala:230 msgid "_Pixels:" msgstr "" -#: src/Dialogs.vala:228 -msgid "Export metadata" +#: src/Dialogs.vala:234 +msgid "Export _metadata:" msgstr "" -#: src/Dialogs.vala:462 -msgid "Save Details..." +#: src/Dialogs.vala:478 +msgid "Save Details…" msgstr "" -#: src/Dialogs.vala:463 +#: src/Dialogs.vala:479 msgid "Save Details" msgstr "" -#: src/Dialogs.vala:478 +#: src/Dialogs.vala:494 #, c-format msgid "(and %d more)\n" msgstr "" -#: src/Dialogs.vala:531 +#: src/Dialogs.vala:547 msgid "Import Results Report" msgstr "" -#: src/Dialogs.vala:535 +#: src/Dialogs.vala:551 #, c-format msgid "Attempted to import %d file." msgid_plural "Attempted to import %d files." msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:538 +#: src/Dialogs.vala:554 #, c-format msgid "Of these, %d file was successfully imported." msgid_plural "Of these, %d files were successfully imported." @@ -2800,108 +2912,108 @@ msgstr[1] "" #. #. Duplicates #. -#: src/Dialogs.vala:550 +#: src/Dialogs.vala:566 msgid "Duplicate Photos/Videos Not Imported:" msgstr "" -#: src/Dialogs.vala:554 +#: src/Dialogs.vala:570 msgid "duplicates existing media item" msgstr "" #. #. Files Not Imported Due to Camera Errors #. -#: src/Dialogs.vala:565 +#: src/Dialogs.vala:581 msgid "Photos/Videos Not Imported Due to Camera Errors:" msgstr "" -#: src/Dialogs.vala:568 src/Dialogs.vala:583 src/Dialogs.vala:598 -#: src/Dialogs.vala:614 src/Dialogs.vala:629 src/Dialogs.vala:643 +#: src/Dialogs.vala:584 src/Dialogs.vala:599 src/Dialogs.vala:614 +#: src/Dialogs.vala:630 src/Dialogs.vala:645 src/Dialogs.vala:659 msgid "error message:" msgstr "" #. #. Files Not Imported Because They Weren't Recognized as Photos or Videos #. -#: src/Dialogs.vala:579 -msgid "Files Not Imported Because They Weren't Recognized as Photos or Videos:" +#: src/Dialogs.vala:595 +msgid "Files Not Imported Because They Weren’t Recognized as Photos or Videos:" msgstr "" #. #. Photos/Videos Not Imported Because They Weren't in a Format Shotwell Understands #. -#: src/Dialogs.vala:594 +#: src/Dialogs.vala:610 msgid "" -"Photos/Videos Not Imported Because They Weren't in a Format Shotwell " +"Photos/Videos Not Imported Because They Weren’t in a Format Shotwell " "Understands:" msgstr "" #. #. Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its Library #. -#: src/Dialogs.vala:609 +#: src/Dialogs.vala:625 msgid "" -"Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its " +"Photos/Videos Not Imported Because Shotwell Couldn’t Copy Them into its " "Library:" msgstr "" -#: src/Dialogs.vala:613 +#: src/Dialogs.vala:629 #, c-format msgid "" -"couldn't copy %s\n" +"couldn’t copy %s\n" "\tto %s" msgstr "" #. #. Photos/Videos Not Imported Because GDK Pixbuf Library Identified them as Corrupt #. -#: src/Dialogs.vala:625 +#: src/Dialogs.vala:641 msgid "Photos/Videos Not Imported Because Files Are Corrupt:" msgstr "" #. #. Photos/Videos Not Imported for Other Reasons #. -#: src/Dialogs.vala:640 +#: src/Dialogs.vala:656 msgid "Photos/Videos Not Imported for Other Reasons:" msgstr "" -#: src/Dialogs.vala:660 +#: src/Dialogs.vala:676 #, c-format msgid "1 duplicate photo was not imported:\n" msgid_plural "%d duplicate photos were not imported:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:663 +#: src/Dialogs.vala:679 #, c-format msgid "1 duplicate video was not imported:\n" msgid_plural "%d duplicate videos were not imported:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:666 +#: src/Dialogs.vala:682 #, c-format msgid "1 duplicate photo/video was not imported:\n" msgid_plural "%d duplicate photos/videos were not imported:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:680 +#: src/Dialogs.vala:696 #, c-format msgid "1 photo failed to import due to a file or hardware error:\n" msgid_plural "%d photos failed to import due to a file or hardware error:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:683 +#: src/Dialogs.vala:699 #, c-format msgid "1 video failed to import due to a file or hardware error:\n" msgid_plural "%d videos failed to import due to a file or hardware error:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:686 +#: src/Dialogs.vala:702 #, c-format msgid "1 photo/video failed to import due to a file or hardware error:\n" msgid_plural "" @@ -2909,14 +3021,14 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:689 +#: src/Dialogs.vala:705 #, c-format msgid "1 file failed to import due to a file or hardware error:\n" msgid_plural "%d files failed to import due to a file or hardware error:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:703 +#: src/Dialogs.vala:719 #, c-format msgid "" "1 photo failed to import because the photo library folder was not writable:\n" @@ -2926,7 +3038,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:706 +#: src/Dialogs.vala:722 #, c-format msgid "" "1 video failed to import because the photo library folder was not writable:\n" @@ -2936,7 +3048,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:709 +#: src/Dialogs.vala:725 #, c-format msgid "" "1 photo/video failed to import because the photo library folder was not " @@ -2947,7 +3059,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:712 +#: src/Dialogs.vala:728 #, c-format msgid "" "1 file failed to import because the photo library folder was not writable:\n" @@ -2957,56 +3069,56 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:726 +#: src/Dialogs.vala:742 #, c-format msgid "1 photo failed to import due to a camera error:\n" msgid_plural "%d photos failed to import due to a camera error:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:729 +#: src/Dialogs.vala:745 #, c-format msgid "1 video failed to import due to a camera error:\n" msgid_plural "%d videos failed to import due to a camera error:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:732 +#: src/Dialogs.vala:748 #, c-format msgid "1 photo/video failed to import due to a camera error:\n" msgid_plural "%d photos/videos failed to import due to a camera error:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:735 +#: src/Dialogs.vala:751 #, c-format msgid "1 file failed to import due to a camera error:\n" msgid_plural "%d files failed to import due to a camera error:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:749 +#: src/Dialogs.vala:765 #, c-format msgid "1 photo failed to import because it was corrupt:\n" msgid_plural "%d photos failed to import because they were corrupt:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:752 +#: src/Dialogs.vala:768 #, c-format msgid "1 video failed to import because it was corrupt:\n" msgid_plural "%d videos failed to import because they were corrupt:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:755 +#: src/Dialogs.vala:771 #, c-format msgid "1 photo/video failed to import because it was corrupt:\n" msgid_plural "%d photos/videos failed to import because they were corrupt:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:758 +#: src/Dialogs.vala:774 #, c-format msgid "1 file failed to import because it was corrupt:\n" msgid_plural "%d files failed to import because it was corrupt:\n" @@ -3017,7 +3129,7 @@ msgstr[1] "" #. standard container formats are supported, it's just that the streams in them #. might or might not be interpretable), so this message does not need to be #. media specific -#: src/Dialogs.vala:775 +#: src/Dialogs.vala:791 #, c-format msgid "1 unsupported photo skipped:\n" msgid_plural "%d unsupported photos skipped:\n" @@ -3026,56 +3138,56 @@ msgstr[1] "" #. we have no notion of "non-video" video files right now in Shotwell, so this #. message doesn't need to be media specific -#: src/Dialogs.vala:790 +#: src/Dialogs.vala:806 #, c-format msgid "1 non-image file skipped.\n" msgid_plural "%d non-image files skipped.\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:801 +#: src/Dialogs.vala:817 #, c-format msgid "1 photo skipped due to user cancel:\n" msgid_plural "%d photos skipped due to user cancel:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:804 +#: src/Dialogs.vala:820 #, c-format msgid "1 video skipped due to user cancel:\n" msgid_plural "%d videos skipped due to user cancel:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:807 +#: src/Dialogs.vala:823 #, c-format msgid "1 photo/video skipped due to user cancel:\n" msgid_plural "%d photos/videos skipped due to user cancel:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:810 +#: src/Dialogs.vala:826 #, c-format msgid "1 file skipped due to user cancel:\n" msgid_plural "%d file skipped due to user cancel:\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:824 +#: src/Dialogs.vala:840 #, c-format msgid "1 photo successfully imported.\n" msgid_plural "%d photos successfully imported.\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:827 +#: src/Dialogs.vala:843 #, c-format msgid "1 video successfully imported.\n" msgid_plural "%d videos successfully imported.\n" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:830 +#: src/Dialogs.vala:846 #, c-format msgid "1 photo/video successfully imported.\n" msgid_plural "%d photos/videos successfully imported.\n" @@ -3084,215 +3196,215 @@ msgstr[1] "" #. if no media items were imported at all (i.e. an empty directory attempted), need to at least #. report that nothing was imported -#: src/Dialogs.vala:846 +#: src/Dialogs.vala:862 msgid "No photos or videos imported.\n" msgstr "" -#: src/Dialogs.vala:853 src/Dialogs.vala:872 +#: src/Dialogs.vala:869 src/Dialogs.vala:888 msgid "Import Complete" msgstr "" -#: src/Dialogs.vala:1158 +#: src/Dialogs.vala:1174 #, c-format msgid "%d second" msgid_plural "%d seconds" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:1161 +#: src/Dialogs.vala:1177 #, c-format msgid "%d minute" msgid_plural "%d minutes" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:1165 +#: src/Dialogs.vala:1181 #, c-format msgid "%d hour" msgid_plural "%d hours" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:1168 +#: src/Dialogs.vala:1184 msgid "1 day" msgstr "" -#: src/Dialogs.vala:1322 src/Resources.vala:231 +#: src/Dialogs.vala:1338 src/Resources.vala:231 msgid "Rename Event" msgstr "" -#: src/Dialogs.vala:1322 +#: src/Dialogs.vala:1338 msgid "Name:" msgstr "" #. Dialog title -#: src/Dialogs.vala:1333 +#: src/Dialogs.vala:1349 msgctxt "Dialog Title" msgid "Edit Title" msgstr "" -#: src/Dialogs.vala:1334 src/Properties.vala:340 +#: src/Dialogs.vala:1350 src/Properties.vala:340 msgid "Title:" msgstr "" #. Dialog title -#: src/Dialogs.vala:1350 src/Resources.vala:307 +#: src/Dialogs.vala:1366 src/Resources.vala:307 msgid "Edit Event Comment" msgstr "" -#: src/Dialogs.vala:1351 +#: src/Dialogs.vala:1367 msgid "Edit Photo/Video Comment" msgstr "" -#: src/Dialogs.vala:1352 src/Properties.vala:628 +#: src/Dialogs.vala:1368 src/Properties.vala:628 msgid "Comment:" msgstr "" -#: src/Dialogs.vala:1368 +#: src/Dialogs.vala:1384 msgid "Remove and _Trash File" msgid_plural "Remove and _Trash Files" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:1372 +#: src/Dialogs.vala:1388 msgid "_Remove From Library" msgstr "" -#: src/Dialogs.vala:1415 +#: src/Dialogs.vala:1431 msgid "Revert External Edit?" msgstr "" -#: src/Dialogs.vala:1415 +#: src/Dialogs.vala:1431 msgid "Revert External Edits?" msgstr "" -#: src/Dialogs.vala:1417 +#: src/Dialogs.vala:1433 #, c-format -msgid "This will destroy all changes made to the external file. Continue?" +msgid "This will destroy all changes made to the external file. Continue?" msgid_plural "" -"This will destroy all changes made to %d external files. Continue?" +"This will destroy all changes made to %d external files. Continue?" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:1421 +#: src/Dialogs.vala:1437 msgid "Re_vert External Edit" msgstr "" -#: src/Dialogs.vala:1421 +#: src/Dialogs.vala:1437 msgid "Re_vert External Edits" msgstr "" -#: src/Dialogs.vala:1442 +#: src/Dialogs.vala:1458 #, c-format -msgid "This will remove the photo from the library. Continue?" -msgid_plural "This will remove %d photos from the library. Continue?" +msgid "This will remove the photo from the library. Continue?" +msgid_plural "This will remove %d photos from the library. Continue?" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:1449 src/Resources.vala:173 +#: src/Dialogs.vala:1465 src/Resources.vala:173 msgid "_Remove" msgstr "" -#: src/Dialogs.vala:1450 +#: src/Dialogs.vala:1466 msgid "Remove Photo From Library" msgstr "" -#: src/Dialogs.vala:1450 +#: src/Dialogs.vala:1466 msgid "Remove Photos From Library" msgstr "" -#: src/Dialogs.vala:1543 +#: src/Dialogs.vala:1559 #, c-format msgid "%d%%" msgstr "" -#: src/Dialogs.vala:1697 +#: src/Dialogs.vala:1713 msgid "AM" msgstr "" -#: src/Dialogs.vala:1698 +#: src/Dialogs.vala:1714 msgid "PM" msgstr "" -#: src/Dialogs.vala:1699 +#: src/Dialogs.vala:1715 msgid "24 Hr" msgstr "" -#: src/Dialogs.vala:1714 +#: src/Dialogs.vala:1730 msgid "_Shift photos/videos by the same amount" msgstr "" -#: src/Dialogs.vala:1719 +#: src/Dialogs.vala:1735 msgid "Set _all photos/videos to this time" msgstr "" -#: src/Dialogs.vala:1726 +#: src/Dialogs.vala:1742 msgid "_Modify original photo file" msgstr "" -#: src/Dialogs.vala:1726 +#: src/Dialogs.vala:1742 msgid "_Modify original photo files" msgstr "" -#: src/Dialogs.vala:1729 +#: src/Dialogs.vala:1745 msgid "_Modify original file" msgstr "" -#: src/Dialogs.vala:1729 +#: src/Dialogs.vala:1745 msgid "_Modify original files" msgstr "" -#: src/Dialogs.vala:1815 +#: src/Dialogs.vala:1831 msgid "Original: " msgstr "" -#: src/Dialogs.vala:1816 +#: src/Dialogs.vala:1832 msgid "%m/%d/%Y, %H:%M:%S" msgstr "" -#: src/Dialogs.vala:1817 +#: src/Dialogs.vala:1833 msgid "%m/%d/%Y, %I:%M:%S %p" msgstr "" -#: src/Dialogs.vala:1906 +#: src/Dialogs.vala:1922 #, c-format msgid "" "Exposure time will be shifted forward by\n" "%d %s, %d %s, %d %s, and %d %s." msgstr "" -#: src/Dialogs.vala:1907 +#: src/Dialogs.vala:1923 #, c-format msgid "" "Exposure time will be shifted backward by\n" "%d %s, %d %s, %d %s, and %d %s." msgstr "" -#: src/Dialogs.vala:1909 +#: src/Dialogs.vala:1925 msgid "day" msgid_plural "days" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:1910 +#: src/Dialogs.vala:1926 msgid "hour" msgid_plural "hours" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:1911 +#: src/Dialogs.vala:1927 msgid "minute" msgid_plural "minutes" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:1912 +#: src/Dialogs.vala:1928 msgid "second" msgid_plural "seconds" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:1956 +#: src/Dialogs.vala:1972 #, c-format msgid "" "\n" @@ -3305,49 +3417,49 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:1980 src/Dialogs.vala:2007 +#: src/Dialogs.vala:1996 src/Dialogs.vala:2023 msgid "Tags (separated by commas):" msgstr "" -#: src/Dialogs.vala:2087 +#: src/Dialogs.vala:2103 msgid "Welcome!" msgstr "" -#: src/Dialogs.vala:2094 +#: src/Dialogs.vala:2110 msgid "Welcome to Shotwell!" msgstr "" -#: src/Dialogs.vala:2098 +#: src/Dialogs.vala:2114 msgid "To get started, import photos in any of these ways:" msgstr "" -#: src/Dialogs.vala:2117 +#: src/Dialogs.vala:2133 #, c-format msgid "Choose <span weight=\"bold\">File %s Import From Folder</span>" msgstr "" -#: src/Dialogs.vala:2118 +#: src/Dialogs.vala:2134 msgid "Drag and drop photos onto the Shotwell window" msgstr "" -#: src/Dialogs.vala:2119 +#: src/Dialogs.vala:2135 msgid "Connect a camera to your computer and import" msgstr "" -#: src/Dialogs.vala:2129 +#: src/Dialogs.vala:2145 #, c-format msgid "_Import photos from your %s folder" msgstr "" -#: src/Dialogs.vala:2136 +#: src/Dialogs.vala:2152 msgid "You can also import photos in any of these ways:" msgstr "" -#: src/Dialogs.vala:2146 -msgid "_Don't show this message again" +#: src/Dialogs.vala:2162 +msgid "_Don’t show this message again" msgstr "" -#: src/Dialogs.vala:2181 +#: src/Dialogs.vala:2197 #, c-format msgid "Import photos from your %s library" msgstr "" @@ -3355,126 +3467,126 @@ msgstr "" #. We're installed system-wide, so use the system help. #. We're being run from the build directory; we'll have to handle clicks to this #. link manually ourselves, due to a limitation of help: URIs. -#: src/Dialogs.vala:2328 src/Dialogs.vala:2332 +#: src/Dialogs.vala:2344 src/Dialogs.vala:2348 msgid "(Help)" msgstr "" -#: src/Dialogs.vala:2341 +#: src/Dialogs.vala:2357 #, c-format msgid "Year%sMonth%sDay" msgstr "" -#: src/Dialogs.vala:2343 +#: src/Dialogs.vala:2359 #, c-format msgid "Year%sMonth" msgstr "" -#: src/Dialogs.vala:2345 +#: src/Dialogs.vala:2361 #, c-format msgid "Year%sMonth-Day" msgstr "" -#: src/Dialogs.vala:2347 +#: src/Dialogs.vala:2363 msgid "Year-Month-Day" msgstr "" -#: src/Dialogs.vala:2348 src/editing_tools/EditingTools.vala:781 +#: src/Dialogs.vala:2364 src/editing_tools/EditingTools.vala:781 msgid "Custom" msgstr "" #. Invalid pattern. -#: src/Dialogs.vala:2585 +#: src/Dialogs.vala:2601 msgid "Invalid pattern" msgstr "" #. This function is used to determine whether or not files should be copied or linked when imported. #. Returns ACCEPT for copy, REJECT for link, and CANCEL for (drum-roll) cancel. -#: src/Dialogs.vala:2687 +#: src/Dialogs.vala:2703 msgid "" "Shotwell can copy the photos into your library folder or it can import them " "without copying." msgstr "" -#: src/Dialogs.vala:2692 +#: src/Dialogs.vala:2708 msgid "Co_py Photos" msgstr "" -#: src/Dialogs.vala:2693 +#: src/Dialogs.vala:2709 msgid "_Import in Place" msgstr "" -#: src/Dialogs.vala:2694 +#: src/Dialogs.vala:2710 msgid "Import to Library" msgstr "" -#: src/Dialogs.vala:2704 src/PhotoPage.vala:3085 +#: src/Dialogs.vala:2720 src/PhotoPage.vala:3085 msgid "Remove From Library" msgstr "" -#: src/Dialogs.vala:2705 src/PhotoPage.vala:3085 +#: src/Dialogs.vala:2721 src/PhotoPage.vala:3085 msgid "Removing Photo From Library" msgstr "" -#: src/Dialogs.vala:2705 +#: src/Dialogs.vala:2721 msgid "Removing Photos From Library" msgstr "" -#: src/Dialogs.vala:2719 +#: src/Dialogs.vala:2735 #, c-format msgid "" -"This will remove the photo/video from your Shotwell library. Would you also " +"This will remove the photo/video from your Shotwell library. Would you also " "like to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d photos/videos from your Shotwell library. Would you " -"also like to move the files to your desktop trash?\n" +"This will remove %d photos/videos from your Shotwell library. Would you also " +"like to move the files to your desktop trash?\n" "\n" "This action cannot be undone." msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:2723 +#: src/Dialogs.vala:2739 #, c-format msgid "" -"This will remove the video from your Shotwell library. Would you also like " +"This will remove the video from your Shotwell library. Would you also like " "to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d videos from your Shotwell library. Would you also like " +"This will remove %d videos from your Shotwell library. Would you also like " "to move the files to your desktop trash?\n" "\n" "This action cannot be undone." msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:2727 +#: src/Dialogs.vala:2743 #, c-format msgid "" -"This will remove the photo from your Shotwell library. Would you also like " +"This will remove the photo from your Shotwell library. Would you also like " "to move the file to your desktop trash?\n" "\n" "This action cannot be undone." msgid_plural "" -"This will remove %d photos from your Shotwell library. Would you also like " +"This will remove %d photos from your Shotwell library. Would you also like " "to move the files to your desktop trash?\n" "\n" "This action cannot be undone." msgstr[0] "" msgstr[1] "" -#: src/Dialogs.vala:2759 +#: src/Dialogs.vala:2775 #, c-format msgid "" -"The photo or video cannot be moved to your desktop trash. Delete this file?" +"The photo or video cannot be moved to your desktop trash. Delete this file?" msgid_plural "" -"%d photos/videos cannot be moved to your desktop trash. Delete these files?" +"%d photos/videos cannot be moved to your desktop trash. Delete these files?" msgstr[0] "" msgstr[1] "" #. Alert the user that the files were not removed. -#: src/Dialogs.vala:2776 +#: src/Dialogs.vala:2792 #, c-format msgid "The photo or video cannot be deleted." msgid_plural "%d photos/videos cannot be deleted." @@ -3503,7 +3615,7 @@ msgid "Save photo" msgstr "" #: src/direct/DirectPhotoPage.vala:57 -msgid "Save _As..." +msgid "Save _As…" msgstr "" #: src/direct/DirectPhotoPage.vala:58 @@ -3681,83 +3793,83 @@ msgid "-" msgstr "" #: src/editing_tools/EditingTools.vala:758 -msgid "SD Video (4 : 3)" +msgid "SD Video (4 ∶ 3)" msgstr "" #: src/editing_tools/EditingTools.vala:759 -msgid "HD Video (16 : 9)" +msgid "HD Video (16 ∶ 9)" msgstr "" #: src/editing_tools/EditingTools.vala:761 src/Printing.vala:818 -msgid "Wallet (2 x 3 in.)" +msgid "Wallet (2 × 3 in.)" msgstr "" #: src/editing_tools/EditingTools.vala:762 src/Printing.vala:821 -msgid "Notecard (3 x 5 in.)" +msgid "Notecard (3 × 5 in.)" msgstr "" #: src/editing_tools/EditingTools.vala:763 src/Printing.vala:824 -msgid "4 x 6 in." +msgid "4 × 6 in." msgstr "" #: src/editing_tools/EditingTools.vala:764 src/Printing.vala:827 -msgid "5 x 7 in." +msgid "5 × 7 in." msgstr "" #: src/editing_tools/EditingTools.vala:765 src/Printing.vala:830 -msgid "8 x 10 in." +msgid "8 × 10 in." msgstr "" #: src/editing_tools/EditingTools.vala:766 -msgid "Letter (8.5 x 11 in.)" +msgid "Letter (8.5 × 11 in.)" msgstr "" #: src/editing_tools/EditingTools.vala:767 src/Printing.vala:833 -msgid "11 x 14 in." +msgid "11 × 14 in." msgstr "" #: src/editing_tools/EditingTools.vala:768 -msgid "Tabloid (11 x 17 in.)" +msgid "Tabloid (11 × 17 in.)" msgstr "" #: src/editing_tools/EditingTools.vala:769 src/Printing.vala:836 -msgid "16 x 20 in." +msgid "16 × 20 in." msgstr "" #: src/editing_tools/EditingTools.vala:771 src/Printing.vala:842 -msgid "Metric Wallet (9 x 13 cm)" +msgid "Metric Wallet (9 × 13 cm)" msgstr "" #: src/editing_tools/EditingTools.vala:772 src/Printing.vala:845 -msgid "Postcard (10 x 15 cm)" +msgid "Postcard (10 × 15 cm)" msgstr "" #: src/editing_tools/EditingTools.vala:773 src/Printing.vala:848 -msgid "13 x 18 cm" +msgid "13 × 18 cm" msgstr "" #: src/editing_tools/EditingTools.vala:774 src/Printing.vala:851 -msgid "18 x 24 cm" +msgid "18 × 24 cm" msgstr "" #: src/editing_tools/EditingTools.vala:775 -msgid "A4 (210 x 297 mm)" +msgid "A4 (210 × 297 mm)" msgstr "" #: src/editing_tools/EditingTools.vala:776 src/Printing.vala:854 -msgid "20 x 30 cm" +msgid "20 × 30 cm" msgstr "" #: src/editing_tools/EditingTools.vala:777 src/Printing.vala:857 -msgid "24 x 40 cm" +msgid "24 × 40 cm" msgstr "" #: src/editing_tools/EditingTools.vala:778 src/Printing.vala:860 -msgid "30 x 40 cm" +msgid "30 × 40 cm" msgstr "" #: src/editing_tools/EditingTools.vala:779 -msgid "A3 (297 x 420 mm)" +msgid "A3 (297 × 420 mm)" msgstr "" #: src/editing_tools/EditingTools.vala:1872 src/Properties.vala:395 @@ -3772,70 +3884,78 @@ msgstr "" msgid "Remove any red-eye effects in the selected region" msgstr "" -#: src/editing_tools/EditingTools.vala:2226 +#: src/editing_tools/EditingTools.vala:2229 #: src/editing_tools/StraightenTool.vala:102 msgid "_Reset" msgstr "" #. fit both on the top line, emit and move on -#: src/editing_tools/EditingTools.vala:2240 src/Properties.vala:436 +#: src/editing_tools/EditingTools.vala:2243 src/Properties.vala:436 #: src/Properties.vala:440 src/Properties.vala:447 msgid "Exposure:" msgstr "" -#: src/editing_tools/EditingTools.vala:2248 +#: src/editing_tools/EditingTools.vala:2251 +msgid "Contrast:" +msgstr "" + +#: src/editing_tools/EditingTools.vala:2259 msgid "Saturation:" msgstr "" -#: src/editing_tools/EditingTools.vala:2256 +#: src/editing_tools/EditingTools.vala:2267 msgid "Tint:" msgstr "" -#: src/editing_tools/EditingTools.vala:2265 +#: src/editing_tools/EditingTools.vala:2276 msgid "Temperature:" msgstr "" -#: src/editing_tools/EditingTools.vala:2273 +#: src/editing_tools/EditingTools.vala:2284 msgid "Shadows:" msgstr "" -#: src/editing_tools/EditingTools.vala:2281 +#: src/editing_tools/EditingTools.vala:2292 msgid "Highlights:" msgstr "" -#: src/editing_tools/EditingTools.vala:2335 +#: src/editing_tools/EditingTools.vala:2346 msgid "Reset Colors" msgstr "" -#: src/editing_tools/EditingTools.vala:2335 +#: src/editing_tools/EditingTools.vala:2346 msgid "Reset all color adjustments to original" msgstr "" -#: src/editing_tools/EditingTools.vala:2687 +#: src/editing_tools/EditingTools.vala:2705 msgid "Temperature" msgstr "" -#: src/editing_tools/EditingTools.vala:2700 +#: src/editing_tools/EditingTools.vala:2717 msgid "Tint" msgstr "" -#: src/editing_tools/EditingTools.vala:2713 +#: src/editing_tools/EditingTools.vala:2729 +msgid "Contrast" +msgstr "" + +#: src/editing_tools/EditingTools.vala:2743 msgid "Saturation" msgstr "" -#: src/editing_tools/EditingTools.vala:2726 +#: src/editing_tools/EditingTools.vala:2756 msgid "Exposure" msgstr "" -#: src/editing_tools/EditingTools.vala:2739 +#: src/editing_tools/EditingTools.vala:2769 msgid "Shadows" msgstr "" -#: src/editing_tools/EditingTools.vala:2752 +#: src/editing_tools/EditingTools.vala:2782 msgid "Highlights" msgstr "" -#: src/editing_tools/EditingTools.vala:2762 +#: src/editing_tools/EditingTools.vala:2792 msgid "Contrast Expansion" msgstr "" @@ -3925,7 +4045,7 @@ msgstr "" #: src/Exporter.vala:317 #, c-format -msgid "File %s already exists. Replace?" +msgid "File %s already exists. Replace?" msgstr "" #: src/Exporter.vala:319 @@ -3944,7 +4064,7 @@ msgstr "" msgid "Export" msgstr "" -#: src/folders/Branch.vala:141 +#: src/folders/Branch.vala:144 msgid "Folders" msgstr "" @@ -3963,7 +4083,7 @@ msgid "Flagged" msgstr "" #: src/library/ImportQueuePage.vala:8 -msgid "Importing..." +msgid "Importing…" msgstr "" #: src/library/ImportQueuePage.vala:67 @@ -3975,7 +4095,7 @@ msgid "Stop importing photos" msgstr "" #: src/library/ImportQueuePage.vala:124 -msgid "Preparing to import..." +msgid "Preparing to import…" msgstr "" #: src/library/ImportQueuePage.vala:151 @@ -3988,7 +4108,7 @@ msgid "Last Import" msgstr "" #: src/library/LibraryWindow.vala:285 -msgid "_Import From Folder..." +msgid "_Import From Folder…" msgstr "" #: src/library/LibraryWindow.vala:286 @@ -3996,7 +4116,7 @@ msgid "Import photos from disk to library" msgstr "" #: src/library/LibraryWindow.vala:293 -msgid "Import From _Application..." +msgid "Import From _Application…" msgstr "" #: src/library/LibraryWindow.vala:297 @@ -4025,7 +4145,7 @@ msgstr "" #: src/library/LibraryWindow.vala:329 src/searches/Branch.vala:77 #: src/sidebar/Tree.vala:199 -msgid "Ne_w Saved Search..." +msgid "Ne_w Saved Search…" msgstr "" #: src/library/LibraryWindow.vala:351 @@ -4105,7 +4225,7 @@ msgid "Empty Trash" msgstr "" #: src/library/LibraryWindow.vala:726 -msgid "Emptying Trash..." +msgid "Emptying Trash…" msgstr "" #: src/library/LibraryWindow.vala:901 @@ -4132,19 +4252,19 @@ msgid "%s (%d%%)" msgstr "" #: src/library/LibraryWindow.vala:1247 src/library/LibraryWindow.vala:1258 -msgid "Updating library..." +msgid "Updating library…" msgstr "" #: src/library/LibraryWindow.vala:1264 -msgid "Preparing to auto-import photos..." +msgid "Preparing to auto-import photos…" msgstr "" #: src/library/LibraryWindow.vala:1269 -msgid "Auto-importing photos..." +msgid "Auto-importing photos…" msgstr "" #: src/library/LibraryWindow.vala:1277 -msgid "Writing metadata to files..." +msgid "Writing metadata to files…" msgstr "" #: src/library/OfflinePage.vala:8 @@ -4152,7 +4272,7 @@ msgid "Missing Files" msgstr "" #: src/library/OfflinePage.vala:106 -msgid "Deleting..." +msgid "Deleting…" msgstr "" #: src/library/TrashPage.vala:8 @@ -4174,31 +4294,31 @@ msgstr "" #: src/main.vala:54 #, c-format msgid "" -"Your photo library is not compatible with this version of Shotwell. It " -"appears it was created by Shotwell %s (schema %d). This version is %s " -"(schema %d). Please use the latest version of Shotwell." +"Your photo library is not compatible with this version of Shotwell. It " +"appears it was created by Shotwell %s (schema %d). This version is %s " +"(schema %d). Please use the latest version of Shotwell." msgstr "" #: src/main.vala:59 #, c-format msgid "" "Shotwell was unable to upgrade your photo library from version %s (schema " -"%d) to %s (schema %d). For more information please check the Shotwell Wiki " +"%d) to %s (schema %d). For more information please check the Shotwell Wiki " "at %s" msgstr "" #: src/main.vala:65 #, c-format msgid "" -"Your photo library is not compatible with this version of Shotwell. It " -"appears it was created by Shotwell %s (schema %d). This version is %s " -"(schema %d). Please clear your library by deleting %s and re-import your " +"Your photo library is not compatible with this version of Shotwell. It " +"appears it was created by Shotwell %s (schema %d). This version is %s " +"(schema %d). Please clear your library by deleting %s and re-import your " "photos." msgstr "" #: src/main.vala:71 #, c-format -msgid "Unknown error attempting to verify Shotwell's database: %s" +msgid "Unknown error attempting to verify Shotwell’s database: %s" msgstr "" #: src/main.vala:104 @@ -4206,7 +4326,7 @@ msgid "Loading Shotwell" msgstr "" #: src/main.vala:294 -msgid "Path to Shotwell's private data" +msgid "Path to Shotwell’s private data" msgstr "" #: src/main.vala:294 @@ -4218,11 +4338,11 @@ msgid "Do not monitor library directory at runtime for changes" msgstr "" #: src/main.vala:302 -msgid "Don't display startup progress meter" +msgid "Don’t display startup progress meter" msgstr "" #: src/main.vala:306 -msgid "Show the application's version" +msgid "Show the application’s version" msgstr "" #. init GTK (valac has already called g_threads_init()) @@ -4232,7 +4352,7 @@ msgstr "" #: src/main.vala:342 #, c-format -msgid "Run '%s --help' to see a full list of available command line options.\n" +msgid "Run “%s --help” to see a full list of available command line options.\n" msgstr "" #: src/MediaMonitor.vala:400 @@ -4273,7 +4393,7 @@ msgid "Display the comment of each photo" msgstr "" #: src/MediaPage.vala:470 -msgid "Display each photo's tags" +msgid "Display each photo’s tags" msgstr "" #: src/MediaPage.vala:486 @@ -4432,7 +4552,7 @@ msgid "Image Settings" msgstr "" #: src/Printing.vala:889 -msgid "Printing..." +msgid "Printing…" msgstr "" #: src/Printing.vala:909 src/Printing.vala:1112 @@ -4575,7 +4695,7 @@ msgstr "" #: src/publishing/PublishingPluginHost.vala:81 #, c-format -msgid "Publishing to %s can't continue because an error occurred:" +msgid "Publishing to %s can’t continue because an error occurred:" msgstr "" #: src/publishing/PublishingPluginHost.vala:84 @@ -4603,11 +4723,11 @@ msgid "The selected photo was successfully published." msgstr "" #: src/publishing/PublishingUI.vala:122 -msgid "Fetching account information..." +msgid "Fetching account information…" msgstr "" #: src/publishing/PublishingUI.vala:128 -msgid "Logging in..." +msgid "Logging in…" msgstr "" #: src/publishing/PublishingUI.vala:188 @@ -4794,7 +4914,7 @@ msgid "Enhance" msgstr "" #: src/Resources.vala:188 -msgid "Automatically improve the photo's appearance" +msgid "Automatically improve the photo’s appearance" msgstr "" #: src/Resources.vala:190 @@ -4830,7 +4950,7 @@ msgid "Crop" msgstr "" #: src/Resources.vala:200 -msgid "Crop the photo's size" +msgid "Crop the photo’s size" msgstr "" #: src/Resources.vala:203 @@ -4862,7 +4982,7 @@ msgid "Adjust" msgstr "" #: src/Resources.vala:212 -msgid "Adjust the photo's color and tone" +msgid "Adjust the photo’s color and tone" msgstr "" #: src/Resources.vala:214 @@ -4890,7 +5010,7 @@ msgid "Set selected image to be the new desktop background" msgstr "" #: src/Resources.vala:222 -msgid "Set as _Desktop Slideshow..." +msgid "Set as _Desktop Slideshow…" msgstr "" #: src/Resources.vala:224 @@ -4910,7 +5030,7 @@ msgid "Redo" msgstr "" #: src/Resources.vala:230 -msgid "Re_name Event..." +msgid "Re_name Event…" msgstr "" #: src/Resources.vala:233 @@ -5052,7 +5172,7 @@ msgid "_Ratings" msgstr "" #: src/Resources.vala:280 -msgid "Display each photo's rating" +msgid "Display each photo’s rating" msgstr "" #: src/Resources.vala:282 @@ -5080,15 +5200,15 @@ msgid "Make a duplicate of the photo" msgstr "" #: src/Resources.vala:290 -msgid "_Export..." +msgid "_Export…" msgstr "" #: src/Resources.vala:292 -msgid "_Print..." +msgid "_Print…" msgstr "" #: src/Resources.vala:294 -msgid "Pu_blish..." +msgid "Pu_blish…" msgstr "" #: src/Resources.vala:296 @@ -5096,7 +5216,7 @@ msgid "Publish to various websites" msgstr "" #: src/Resources.vala:298 -msgid "Edit _Title..." +msgid "Edit _Title…" msgstr "" #. Button label @@ -5106,7 +5226,7 @@ msgid "Edit Title" msgstr "" #: src/Resources.vala:302 -msgid "Edit _Comment..." +msgid "Edit _Comment…" msgstr "" #. Button label @@ -5115,11 +5235,11 @@ msgid "Edit Comment" msgstr "" #: src/Resources.vala:306 -msgid "Edit Event _Comment..." +msgid "Edit Event _Comment…" msgstr "" #: src/Resources.vala:309 -msgid "_Adjust Date and Time..." +msgid "_Adjust Date and Time…" msgstr "" #: src/Resources.vala:310 @@ -5127,11 +5247,11 @@ msgid "Adjust Date and Time" msgstr "" #: src/Resources.vala:312 -msgid "Add _Tags..." +msgid "Add _Tags…" msgstr "" #: src/Resources.vala:313 -msgid "_Add Tags..." +msgid "_Add Tags…" msgstr "" #. Dialog title @@ -5149,15 +5269,15 @@ msgid "Open With RA_W Editor" msgstr "" #: src/Resources.vala:323 -msgid "Send _To..." +msgid "Send _To…" msgstr "" #: src/Resources.vala:324 -msgid "Send T_o..." +msgid "Send T_o…" msgstr "" #: src/Resources.vala:326 -msgid "_Find..." +msgid "_Find…" msgstr "" #: src/Resources.vala:327 @@ -5183,13 +5303,13 @@ msgstr "" #: src/Resources.vala:340 #, c-format -msgid "Add Tag \"%s\"" +msgid "Add Tag “%s”" msgstr "" #. Used when adding two tags to photo(s) #: src/Resources.vala:343 #, c-format -msgid "Add Tags \"%s\" and \"%s\"" +msgid "Add Tags “%s” and “%s”" msgstr "" #. Undo/Redo command name (in Edit menu) @@ -5200,12 +5320,12 @@ msgstr "" #: src/Resources.vala:353 #, c-format -msgid "_Delete Tag \"%s\"" +msgid "_Delete Tag “%s”" msgstr "" #: src/Resources.vala:357 #, c-format -msgid "Delete Tag \"%s\"" +msgid "Delete Tag “%s”" msgstr "" #: src/Resources.vala:360 @@ -5214,20 +5334,20 @@ msgstr "" #: src/Resources.vala:366 #, c-format -msgid "Re_name Tag \"%s\"..." +msgid "Re_name Tag “%s”…" msgstr "" #: src/Resources.vala:370 #, c-format -msgid "Rename Tag \"%s\" to \"%s\"" +msgid "Rename Tag “%s” to “%s”" msgstr "" #: src/Resources.vala:373 -msgid "_Rename..." +msgid "_Rename…" msgstr "" #: src/Resources.vala:375 -msgid "Modif_y Tags..." +msgid "Modif_y Tags…" msgstr "" #: src/Resources.vala:376 @@ -5236,52 +5356,52 @@ msgstr "" #: src/Resources.vala:379 #, c-format -msgid "Tag Photo as \"%s\"" +msgid "Tag Photo as “%s”" msgstr "" #: src/Resources.vala:379 #, c-format -msgid "Tag Photos as \"%s\"" +msgid "Tag Photos as “%s”" msgstr "" #: src/Resources.vala:383 #, c-format -msgid "Tag the selected photo as \"%s\"" +msgid "Tag the selected photo as “%s”" msgstr "" #: src/Resources.vala:384 #, c-format -msgid "Tag the selected photos as \"%s\"" +msgid "Tag the selected photos as “%s”" msgstr "" #: src/Resources.vala:388 #, c-format -msgid "Remove Tag \"%s\" From _Photo" +msgid "Remove Tag “%s” From _Photo" msgstr "" #: src/Resources.vala:389 #, c-format -msgid "Remove Tag \"%s\" From _Photos" +msgid "Remove Tag “%s” From _Photos" msgstr "" #: src/Resources.vala:393 #, c-format -msgid "Remove Tag \"%s\" From Photo" +msgid "Remove Tag “%s” From Photo" msgstr "" #: src/Resources.vala:394 #, c-format -msgid "Remove Tag \"%s\" From Photos" +msgid "Remove Tag “%s” From Photos" msgstr "" #: src/Resources.vala:398 #, c-format -msgid "Unable to rename tag to \"%s\" because the tag already exists." +msgid "Unable to rename tag to “%s” because the tag already exists." msgstr "" #: src/Resources.vala:402 #, c-format -msgid "Unable to rename search to \"%s\" because the search already exists." +msgid "Unable to rename search to “%s” because the search already exists." msgstr "" #. Saved search button @@ -5294,21 +5414,21 @@ msgid "Delete Search" msgstr "" #: src/Resources.vala:410 -msgid "_Edit..." +msgid "_Edit…" msgstr "" #: src/Resources.vala:411 -msgid "Re_name..." +msgid "Re_name…" msgstr "" #: src/Resources.vala:414 #, c-format -msgid "Rename Search \"%s\" to \"%s\"" +msgid "Rename Search “%s” to “%s”" msgstr "" #: src/Resources.vala:418 #, c-format -msgid "Delete Search \"%s\"" +msgid "Delete Search “%s”" msgstr "" #: src/Resources.vala:576 @@ -5372,7 +5492,7 @@ msgid "Show in File Mana_ger" msgstr "" #: src/Resources.vala:682 -msgid "Open the selected photo's directory in the file manager" +msgid "Open the selected photo’s directory in the file manager" msgstr "" #: src/Resources.vala:685 @@ -5667,7 +5787,7 @@ msgid "Use a saved search to filter items in the current view" msgstr "" #: src/sidebar/Tree.vala:203 -msgid "New _Tag..." +msgid "New _Tag…" msgstr "" #: src/SlideshowPage.vala:49 src/SlideshowPage.vala:183 @@ -5742,7 +5862,7 @@ msgid "untitled" msgstr "" #. multiple videos -#: src/VideoSupport.vala:490 +#: src/VideoSupport.vala:508 msgid "Export Videos" msgstr "" @@ -12,6 +12,7 @@ dist_noinst_DATA += \ plugins/shotwell-publishing/picasa_publishing_options_pane.ui \ plugins/shotwell-publishing/piwigo_authentication_pane.ui \ plugins/shotwell-publishing/piwigo_publishing_options_pane.ui \ + plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui \ plugins/shotwell-publishing/youtube_publishing_options_pane.ui \ plugins/shotwell-publishing/org.gnome.Shotwell.Publishing.gresource.xml @@ -41,12 +42,16 @@ plugins_shotwell_publishing_shotwell_publishing_la_VALAFLAGS = \ --pkg shotwell-plugin-dev-1.0 \ --pkg libxml-2.0 \ --pkg webkit2gtk-4.0 \ + --pkg gcr-3 \ + --pkg gcr-ui-3 \ --vapidir $(abs_top_srcdir)/plugins plugins_shotwell_publishing_shotwell_publishing_la_CFLAGS = \ -DPLUGIN_RESOURCE_PATH='"/org/gnome/Shotwell/Publishing"' \ $(PLUGIN_CFLAGS) \ $(COMMON_CFLAGS) \ + -DGCR_API_SUBJECT_TO_CHANGE \ + $(PUBLISHING_CFLAGS) \ -I $(top_srcdir)/plugins plugins_shotwell_publishing_shotwell_publishing_la_LDFLAGS = \ diff --git a/shotwell.am b/shotwell.am index 0cd59c9..dcade97 100644 --- a/shotwell.am +++ b/shotwell.am @@ -16,7 +16,7 @@ shotwell_VALAFLAGS = $(COMMON_VALAFLAGS) \ --vapidir $(abs_top_srcdir)/vapi \ --pkg libgphoto2 --pkg posix --pkg libraw --pkg gexiv2 \ --pkg libexif --pkg gudev-1.0 --pkg gstreamer-1.0 \ - --pkg gstreamer-pbutils-1.0 \ + --pkg gstreamer-pbutils-1.0 --pkg misc \ $(UNITY_VALAFLAGS) \ $(COMMON_VALAFLAGS_POST) diff --git a/src/AppDirs.c b/src/AppDirs.c index 5112938..74a188b 100644 --- a/src/AppDirs.c +++ b/src/AppDirs.c @@ -394,11 +394,11 @@ void app_dirs_try_migrate_data (void) { #line 44 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 397 "AppDirs.c" - goto __catch432_g_error; + goto __catch445_g_error; } } - goto __finally432; - __catch432_g_error: + goto __finally445; + __catch445_g_error: { GError* err = NULL; #line 43 "/home/jens/Source/shotwell/src/AppDirs.vala" @@ -409,7 +409,7 @@ void app_dirs_try_migrate_data (void) { _g_error_free0 (err); #line 411 "AppDirs.c" } - __finally432: + __finally445: #line 43 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 43 "/home/jens/Source/shotwell/src/AppDirs.vala" @@ -437,11 +437,11 @@ void app_dirs_try_migrate_data (void) { #line 49 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 440 "AppDirs.c" - goto __catch433_g_error; + goto __catch446_g_error; } } - goto __finally433; - __catch433_g_error: + goto __finally446; + __catch446_g_error: { GError* err = NULL; #line 48 "/home/jens/Source/shotwell/src/AppDirs.vala" @@ -452,7 +452,7 @@ void app_dirs_try_migrate_data (void) { _g_error_free0 (err); #line 454 "AppDirs.c" } - __finally433: + __finally446: #line 48 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 48 "/home/jens/Source/shotwell/src/AppDirs.vala" @@ -539,11 +539,11 @@ void app_dirs_try_migrate_data (void) { #line 62 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 542 "AppDirs.c" - goto __catch434_g_error; + goto __catch447_g_error; } } - goto __finally434; - __catch434_g_error: + goto __finally447; + __catch447_g_error: { GError* err = NULL; const gchar* _tmp35_ = NULL; @@ -584,7 +584,7 @@ void app_dirs_try_migrate_data (void) { _g_error_free0 (err); #line 586 "AppDirs.c" } - __finally434: + __finally447: #line 61 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 61 "/home/jens/Source/shotwell/src/AppDirs.vala" @@ -666,11 +666,11 @@ void app_dirs_try_migrate_data (void) { #line 72 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 669 "AppDirs.c" - goto __catch435_g_error; + goto __catch448_g_error; } } - goto __finally435; - __catch435_g_error: + goto __finally448; + __catch448_g_error: { GError* err = NULL; const gchar* _tmp61_ = NULL; @@ -719,7 +719,7 @@ void app_dirs_try_migrate_data (void) { _g_error_free0 (err); #line 721 "AppDirs.c" } - __finally435: + __finally448: #line 71 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 71 "/home/jens/Source/shotwell/src/AppDirs.vala" @@ -895,12 +895,12 @@ void app_dirs_verify_data_dir (void) { #line 102 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 898 "AppDirs.c" - goto __catch436_g_error; + goto __catch449_g_error; } } } - goto __finally436; - __catch436_g_error: + goto __finally449; + __catch449_g_error: { GError* err = NULL; const gchar* _tmp4_ = NULL; @@ -941,7 +941,7 @@ void app_dirs_verify_data_dir (void) { _g_error_free0 (err); #line 943 "AppDirs.c" } - __finally436: + __finally449: #line 100 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 100 "/home/jens/Source/shotwell/src/AppDirs.vala" @@ -987,12 +987,12 @@ void app_dirs_verify_cache_dir (void) { #line 113 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 990 "AppDirs.c" - goto __catch437_g_error; + goto __catch450_g_error; } } } - goto __finally437; - __catch437_g_error: + goto __finally450; + __catch450_g_error: { GError* err = NULL; const gchar* _tmp4_ = NULL; @@ -1033,7 +1033,7 @@ void app_dirs_verify_cache_dir (void) { _g_error_free0 (err); #line 1035 "AppDirs.c" } - __finally437: + __finally450: #line 111 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 111 "/home/jens/Source/shotwell/src/AppDirs.vala" @@ -1591,12 +1591,12 @@ GFile* app_dirs_get_temp_dir (void) { #line 204 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1594 "AppDirs.c" - goto __catch438_g_error; + goto __catch451_g_error; } } } - goto __finally438; - __catch438_g_error: + goto __finally451; + __catch451_g_error: { GError* err = NULL; const gchar* _tmp9_ = NULL; @@ -1637,7 +1637,7 @@ GFile* app_dirs_get_temp_dir (void) { _g_error_free0 (err); #line 1639 "AppDirs.c" } - __finally438: + __finally451: #line 202 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 202 "/home/jens/Source/shotwell/src/AppDirs.vala" @@ -1725,12 +1725,12 @@ GFile* app_dirs_get_data_subdir (const gchar* name, const gchar* subname) { #line 221 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1728 "AppDirs.c" - goto __catch439_g_error; + goto __catch452_g_error; } } } - goto __finally439; - __catch439_g_error: + goto __finally452; + __catch452_g_error: { GError* err = NULL; const gchar* _tmp12_ = NULL; @@ -1771,7 +1771,7 @@ GFile* app_dirs_get_data_subdir (const gchar* name, const gchar* subname) { _g_error_free0 (err); #line 1773 "AppDirs.c" } - __finally439: + __finally452: #line 219 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 219 "/home/jens/Source/shotwell/src/AppDirs.vala" @@ -1825,7 +1825,7 @@ void app_dirs_ensure_writable (GFile* dir) { #line 233 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1828 "AppDirs.c" - goto __catch440_g_error; + goto __catch453_g_error; } #line 234 "/home/jens/Source/shotwell/src/AppDirs.vala" _tmp4_ = info; @@ -1846,7 +1846,7 @@ void app_dirs_ensure_writable (GFile* dir) { #line 235 "/home/jens/Source/shotwell/src/AppDirs.vala" _g_object_unref0 (info); #line 1849 "AppDirs.c" - goto __catch440_g_error; + goto __catch453_g_error; } #line 235 "/home/jens/Source/shotwell/src/AppDirs.vala" if (!_tmp6_) { @@ -1881,8 +1881,8 @@ void app_dirs_ensure_writable (GFile* dir) { _g_object_unref0 (info); #line 1883 "AppDirs.c" } - goto __finally440; - __catch440_g_error: + goto __finally453; + __catch453_g_error: { GError* err = NULL; const gchar* _tmp16_ = NULL; @@ -1923,7 +1923,7 @@ void app_dirs_ensure_writable (GFile* dir) { _g_error_free0 (err); #line 1925 "AppDirs.c" } - __finally440: + __finally453: #line 232 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 232 "/home/jens/Source/shotwell/src/AppDirs.vala" @@ -2008,12 +2008,12 @@ GFile* app_dirs_get_cache_subdir (const gchar* name, const gchar* subname) { #line 252 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2011 "AppDirs.c" - goto __catch441_g_error; + goto __catch454_g_error; } } } - goto __finally441; - __catch441_g_error: + goto __finally454; + __catch454_g_error: { GError* err = NULL; const gchar* _tmp13_ = NULL; @@ -2054,7 +2054,7 @@ GFile* app_dirs_get_cache_subdir (const gchar* name, const gchar* subname) { _g_error_free0 (err); #line 2056 "AppDirs.c" } - __finally441: + __finally454: #line 250 "/home/jens/Source/shotwell/src/AppDirs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 250 "/home/jens/Source/shotwell/src/AppDirs.vala" diff --git a/src/AppWindow.c b/src/AppWindow.c index 0c84f41..eda3ce5 100644 --- a/src/AppWindow.c +++ b/src/AppWindow.c @@ -759,11 +759,11 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) { #line 28 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 734 "AppWindow.c" - goto __catch211_g_error; + goto __catch224_g_error; } } - goto __finally211; - __catch211_g_error: + goto __finally224; + __catch224_g_error: { GError* err = NULL; gchar* _tmp5_ = NULL; @@ -787,7 +787,7 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) { _g_error_free0 (err); #line 761 "AppWindow.c" } - __finally211: + __finally224: #line 27 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 27 "/home/jens/Source/shotwell/src/AppWindow.vala" @@ -2717,11 +2717,11 @@ AppWindow* app_window_construct (GType object_type) { #line 462 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2692 "AppWindow.c" - goto __catch212_g_error; + goto __catch225_g_error; } } - goto __finally212; - __catch212_g_error: + goto __finally225; + __catch225_g_error: { GError* err = NULL; const gchar* _tmp28_ = NULL; @@ -2737,7 +2737,7 @@ AppWindow* app_window_construct (GType object_type) { _g_error_free0 (err); #line 2711 "AppWindow.c" } - __finally212: + __finally225: #line 461 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 461 "/home/jens/Source/shotwell/src/AppWindow.vala" @@ -2770,7 +2770,7 @@ AppWindow* app_window_construct (GType object_type) { #line 472 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2745 "AppWindow.c" - goto __catch213_g_error; + goto __catch226_g_error; } #line 473 "/home/jens/Source/shotwell/src/AppWindow.vala" _tmp33_ = gdk_screen_get_default (); @@ -2778,8 +2778,8 @@ AppWindow* app_window_construct (GType object_type) { gtk_style_context_add_provider_for_screen (_tmp33_, G_TYPE_CHECK_INSTANCE_CAST (provider, GTK_TYPE_STYLE_PROVIDER, GtkStyleProvider), (guint) GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); #line 2752 "AppWindow.c" } - goto __finally213; - __catch213_g_error: + goto __finally226; + __catch226_g_error: { GError* err = NULL; GError* _tmp34_ = NULL; @@ -2798,7 +2798,7 @@ AppWindow* app_window_construct (GType object_type) { _g_error_free0 (err); #line 2772 "AppWindow.c" } - __finally213: + __finally226: #line 471 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 471 "/home/jens/Source/shotwell/src/AppWindow.vala" @@ -3276,7 +3276,7 @@ static GtkActionEntry* app_window_create_common_actions (AppWindow* self, int* r #line 507 "/home/jens/Source/shotwell/src/AppWindow.vala" help_report_problem = _tmp18_; #line 509 "/home/jens/Source/shotwell/src/AppWindow.vala" - _tmp19_ = _ ("_Report a Problem..."); + _tmp19_ = _ ("_Report a Problem…"); #line 509 "/home/jens/Source/shotwell/src/AppWindow.vala" help_report_problem.label = _tmp19_; #line 510 "/home/jens/Source/shotwell/src/AppWindow.vala" @@ -3540,11 +3540,11 @@ GtkBuilder* app_window_create_builder (const gchar* glade_filename, void* user) #line 556 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3515 "AppWindow.c" - goto __catch214_g_error; + goto __catch227_g_error; } } - goto __finally214; - __catch214_g_error: + goto __finally227; + __catch227_g_error: { GError* _error_ = NULL; GError* _tmp10_ = NULL; @@ -3563,7 +3563,7 @@ GtkBuilder* app_window_create_builder (const gchar* glade_filename, void* user) _g_error_free0 (_error_); #line 3537 "AppWindow.c" } - __finally214: + __finally227: #line 555 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 555 "/home/jens/Source/shotwell/src/AppWindow.vala" @@ -4166,8 +4166,8 @@ void app_window_database_error (GError* err) { gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; #line 656 "/home/jens/Source/shotwell/src/AppWindow.vala" - _tmp0_ = _ ("A fatal error occurred when accessing Shotwell's library. Shotwell ca" \ -"nnot continue.\n" \ + _tmp0_ = _ ("A fatal error occurred when accessing Shotwell’s library. Shotwell can" \ +"not continue.\n" \ "\n" \ "%s"); #line 656 "/home/jens/Source/shotwell/src/AppWindow.vala" @@ -4276,11 +4276,11 @@ static void app_window_on_help_contents (AppWindow* self) { #line 686 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4248 "AppWindow.c" - goto __catch215_g_error; + goto __catch228_g_error; } } - goto __finally215; - __catch215_g_error: + goto __finally228; + __catch228_g_error: { GError* err = NULL; const gchar* _tmp1_ = NULL; @@ -4310,7 +4310,7 @@ static void app_window_on_help_contents (AppWindow* self) { _g_error_free0 (err); #line 4281 "AppWindow.c" } - __finally215: + __finally228: #line 685 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 685 "/home/jens/Source/shotwell/src/AppWindow.vala" @@ -4335,11 +4335,11 @@ static void app_window_on_help_report_problem (AppWindow* self) { #line 694 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4307 "AppWindow.c" - goto __catch216_g_error; + goto __catch229_g_error; } } - goto __finally216; - __catch216_g_error: + goto __finally229; + __catch229_g_error: { GError* err = NULL; const gchar* _tmp0_ = NULL; @@ -4369,7 +4369,7 @@ static void app_window_on_help_report_problem (AppWindow* self) { _g_error_free0 (err); #line 4340 "AppWindow.c" } - __finally216: + __finally229: #line 693 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 693 "/home/jens/Source/shotwell/src/AppWindow.vala" @@ -4394,11 +4394,11 @@ static void app_window_on_help_faq (AppWindow* self) { #line 702 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4366 "AppWindow.c" - goto __catch217_g_error; + goto __catch230_g_error; } } - goto __finally217; - __catch217_g_error: + goto __finally230; + __catch230_g_error: { GError* err = NULL; const gchar* _tmp0_ = NULL; @@ -4428,7 +4428,7 @@ static void app_window_on_help_faq (AppWindow* self) { _g_error_free0 (err); #line 4399 "AppWindow.c" } - __finally217: + __finally230: #line 701 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 701 "/home/jens/Source/shotwell/src/AppWindow.vala" @@ -4576,11 +4576,11 @@ void app_window_on_jump_to_file (AppWindow* self) { #line 722 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4548 "AppWindow.c" - goto __catch218_g_error; + goto __catch231_g_error; } } - goto __finally218; - __catch218_g_error: + goto __finally231; + __catch231_g_error: { GError* err = NULL; GError* _tmp21_ = NULL; @@ -4604,7 +4604,7 @@ void app_window_on_jump_to_file (AppWindow* self) { _g_error_free0 (err); #line 4575 "AppWindow.c" } - __finally218: + __finally231: #line 721 "/home/jens/Source/shotwell/src/AppWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 721 "/home/jens/Source/shotwell/src/AppWindow.vala" @@ -4674,7 +4674,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 4646 "AppWindow.c" - goto __catch219_g_regex_error; + goto __catch232_g_regex_error; } #line 1382 "/usr/share/vala-0.34/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); @@ -4699,7 +4699,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 4671 "AppWindow.c" - goto __catch219_g_regex_error; + goto __catch232_g_regex_error; } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); @@ -4725,8 +4725,8 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* return result; #line 4696 "AppWindow.c" } - goto __finally219; - __catch219_g_regex_error: + goto __finally232; + __catch232_g_regex_error: { GError* e = NULL; #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -4739,7 +4739,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_error_free0 (e); #line 4710 "AppWindow.c" } - __finally219: + __finally232: #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" diff --git a/src/AppWindow.vala b/src/AppWindow.vala index b979d9e..0103300 100644 --- a/src/AppWindow.vala +++ b/src/AppWindow.vala @@ -506,7 +506,7 @@ public abstract class AppWindow : PageWindow { Gtk.ActionEntry help_report_problem = { "CommonHelpReportProblem", null, TRANSLATABLE, null, TRANSLATABLE, on_help_report_problem }; - help_report_problem.label = _("_Report a Problem..."); + help_report_problem.label = _("_Report a Problem…"); actions += help_report_problem; Gtk.ActionEntry undo = { "CommonUndo", Resources.UNDO_MENU, TRANSLATABLE, "<Ctrl>Z", @@ -653,7 +653,7 @@ public abstract class AppWindow : PageWindow { } public static void database_error(DatabaseError err) { - panic(_("A fatal error occurred when accessing Shotwell's library. Shotwell cannot continue.\n\n%s").printf( + panic(_("A fatal error occurred when accessing Shotwell’s library. Shotwell cannot continue.\n\n%s").printf( err.message)); } diff --git a/src/Application.c b/src/Application.c index c0dcecf..45b19e4 100644 --- a/src/Application.c +++ b/src/Application.c @@ -237,11 +237,11 @@ static Application* application_construct (GType object_type, gboolean is_direct #line 53 "/home/jens/Source/shotwell/src/Application.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 240 "Application.c" - goto __catch547_g_error; + goto __catch560_g_error; } } - goto __finally547; - __catch547_g_error: + goto __finally560; + __catch560_g_error: { GError* e = NULL; #line 52 "/home/jens/Source/shotwell/src/Application.vala" @@ -254,7 +254,7 @@ static Application* application_construct (GType object_type, gboolean is_direct _g_error_free0 (e); #line 256 "Application.c" } - __finally547: + __finally560: #line 52 "/home/jens/Source/shotwell/src/Application.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 52 "/home/jens/Source/shotwell/src/Application.vala" diff --git a/src/BatchImport.c b/src/BatchImport.c index 33f0fff..9a5e5bc 100644 --- a/src/BatchImport.c +++ b/src/BatchImport.c @@ -5770,14 +5770,14 @@ static gboolean batch_import_report_failure (BatchImport* self, BatchImportResul #line 557 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 5773 "BatchImport.c" - goto __catch397_g_error; + goto __catch410_g_error; } #line 557 "/home/jens/Source/shotwell/src/BatchImport.vala" filesize = _tmp11_; #line 5778 "BatchImport.c" } - goto __finally397; - __catch397_g_error: + goto __finally410; + __catch410_g_error: { GError* err = NULL; BatchImportResult* _tmp15_ = NULL; @@ -5810,7 +5810,7 @@ static gboolean batch_import_report_failure (BatchImport* self, BatchImportResul _g_error_free0 (err); #line 5812 "BatchImport.c" } - __finally397: + __finally410: #line 555 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 555 "/home/jens/Source/shotwell/src/BatchImport.vala" @@ -8899,11 +8899,11 @@ static void batch_import_on_import_files_completed (BatchImport* self, Backgroun #line 1043 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 8898 "BatchImport.c" - goto __catch398_g_error; + goto __catch411_g_error; } } - goto __finally398; - __catch398_g_error: + goto __finally411; + __catch411_g_error: { GError* e = NULL; BackingPhotoRow* _tmp68_ = NULL; @@ -8929,7 +8929,7 @@ static void batch_import_on_import_files_completed (BatchImport* self, Backgroun _g_error_free0 (e); #line 8926 "BatchImport.c" } - __finally398: + __finally411: #line 1042 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1042 "/home/jens/Source/shotwell/src/BatchImport.vala" @@ -9894,11 +9894,11 @@ static void batch_import_flush_ready_sources (BatchImport* self) { #line 1196 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 9891 "BatchImport.c" - goto __catch399_g_error; + goto __catch412_g_error; } } - goto __finally399; - __catch399_g_error: + goto __finally412; + __catch412_g_error: { GError* err = NULL; MediaSource* _tmp65_ = NULL; @@ -9929,7 +9929,7 @@ static void batch_import_flush_ready_sources (BatchImport* self) { _g_error_free0 (err); #line 9924 "BatchImport.c" } - __finally399: + __finally412: #line 1195 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1195 "/home/jens/Source/shotwell/src/BatchImport.vala" @@ -11931,11 +11931,11 @@ static void work_sniffer_real_execute (BackgroundJob* base) { #line 1465 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 11927 "BatchImport.c" - goto __catch400_g_error; + goto __catch413_g_error; } } - goto __finally400; - __catch400_g_error: + goto __finally413; + __catch413_g_error: { GError* err = NULL; BatchImportJob* _tmp17_ = NULL; @@ -11976,7 +11976,7 @@ static void work_sniffer_real_execute (BackgroundJob* base) { _g_error_free0 (err); #line 11971 "BatchImport.c" } - __finally400: + __finally413: #line 1464 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1464 "/home/jens/Source/shotwell/src/BatchImport.vala" @@ -12676,11 +12676,11 @@ static void work_sniffer_sniff_job (WorkSniffer* self, BatchImportJob* job, GErr #line 1556 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 12672 "BatchImport.c" - goto __catch401_g_error; + goto __catch414_g_error; } } - goto __finally401; - __catch401_g_error: + goto __finally414; + __catch414_g_error: { GError* err = NULL; BatchImportJob* _tmp26_ = NULL; @@ -12724,7 +12724,7 @@ static void work_sniffer_sniff_job (WorkSniffer* self, BatchImportJob* job, GErr _g_error_free0 (err); #line 12719 "BatchImport.c" } - __finally401: + __finally414: #line 1555 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1555 "/home/jens/Source/shotwell/src/BatchImport.vala" @@ -13013,11 +13013,11 @@ void work_sniffer_search_dir (WorkSniffer* self, BatchImportJob* job, GFile* dir #line 1593 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 13009 "BatchImport.c" - goto __catch402_g_error; + goto __catch415_g_error; } } - goto __finally402; - __catch402_g_error: + goto __finally415; + __catch415_g_error: { GError* err = NULL; BatchImportJob* _tmp24_ = NULL; @@ -13061,7 +13061,7 @@ void work_sniffer_search_dir (WorkSniffer* self, BatchImportJob* job, GFile* dir _g_error_free0 (err); #line 13056 "BatchImport.c" } - __finally402: + __finally415: #line 1592 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1592 "/home/jens/Source/shotwell/src/BatchImport.vala" @@ -14580,7 +14580,7 @@ static gboolean prepare_files_job_create_file (PrepareFilesJob* self, BatchImpor #line 1762 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 14576 "BatchImport.c" - goto __catch403_g_error; + goto __catch416_g_error; } #line 1762 "/home/jens/Source/shotwell/src/BatchImport.vala" if (!_tmp0_) { @@ -14635,8 +14635,8 @@ static gboolean prepare_files_job_create_file (PrepareFilesJob* self, BatchImpor #line 14629 "BatchImport.c" } } - goto __finally403; - __catch403_g_error: + goto __finally416; + __catch416_g_error: { GError* err = NULL; BatchImportJob* _tmp12_ = NULL; @@ -14697,7 +14697,7 @@ static gboolean prepare_files_job_create_file (PrepareFilesJob* self, BatchImpor return result; #line 14692 "BatchImport.c" } - __finally403: + __finally416: #line 1761 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1761 "/home/jens/Source/shotwell/src/BatchImport.vala" @@ -14953,7 +14953,7 @@ static ImportResult prepare_files_job_prepare_file (PrepareFilesJob* self, Batch #line 1808 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 14949 "BatchImport.c" - goto __catch404_g_error; + goto __catch417_g_error; } #line 1808 "/home/jens/Source/shotwell/src/BatchImport.vala" _tmp20_ = _tmp17_; @@ -14967,8 +14967,8 @@ static ImportResult prepare_files_job_prepare_file (PrepareFilesJob* self, Batch _g_free0 (_tmp17_); #line 14962 "BatchImport.c" } - goto __finally404; - __catch404_g_error: + goto __finally417; + __catch417_g_error: { GError* err = NULL; GFile* _tmp21_ = NULL; @@ -15024,7 +15024,7 @@ static ImportResult prepare_files_job_prepare_file (PrepareFilesJob* self, Batch return result; #line 15019 "BatchImport.c" } - __finally404: + __finally417: #line 1807 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1807 "/home/jens/Source/shotwell/src/BatchImport.vala" @@ -15135,7 +15135,7 @@ static ImportResult prepare_files_job_prepare_file (PrepareFilesJob* self, Batch #line 1831 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 15131 "BatchImport.c" - goto __catch405_g_error; + goto __catch418_g_error; } #line 1831 "/home/jens/Source/shotwell/src/BatchImport.vala" _tmp44_ = _tmp41_; @@ -15149,8 +15149,8 @@ static ImportResult prepare_files_job_prepare_file (PrepareFilesJob* self, Batch _media_metadata_unref0 (_tmp41_); #line 15144 "BatchImport.c" } - goto __finally405; - __catch405_g_error: + goto __finally418; + __catch418_g_error: { GError* err = NULL; GFile* _tmp45_ = NULL; @@ -15181,7 +15181,7 @@ static ImportResult prepare_files_job_prepare_file (PrepareFilesJob* self, Batch _g_error_free0 (err); #line 15175 "BatchImport.c" } - __finally405: + __finally418: #line 1830 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1830 "/home/jens/Source/shotwell/src/BatchImport.vala" @@ -15374,14 +15374,14 @@ static ImportResult prepare_files_job_prepare_file (PrepareFilesJob* self, Batch #line 1850 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 15369 "BatchImport.c" - goto __catch406_g_error; + goto __catch419_g_error; } #line 1850 "/home/jens/Source/shotwell/src/BatchImport.vala" filesize = _tmp69_; #line 15374 "BatchImport.c" } - goto __finally406; - __catch406_g_error: + goto __finally419; + __catch419_g_error: { GError* err = NULL; GFile* _tmp75_ = NULL; @@ -15437,7 +15437,7 @@ static ImportResult prepare_files_job_prepare_file (PrepareFilesJob* self, Batch return result; #line 15431 "BatchImport.c" } - __finally406: + __finally419: #line 1849 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1849 "/home/jens/Source/shotwell/src/BatchImport.vala" @@ -15832,11 +15832,11 @@ BatchImportResult* ready_for_import_abort (ReadyForImport* self) { #line 1898 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 15827 "BatchImport.c" - goto __catch407_g_error; + goto __catch420_g_error; } } - goto __finally407; - __catch407_g_error: + goto __finally420; + __catch420_g_error: { GError* err = NULL; GFile* _tmp9_ = NULL; @@ -15867,7 +15867,7 @@ BatchImportResult* ready_for_import_abort (ReadyForImport* self) { _g_error_free0 (err); #line 15860 "BatchImport.c" } - __finally407: + __finally420: #line 1897 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1897 "/home/jens/Source/shotwell/src/BatchImport.vala" @@ -16384,7 +16384,7 @@ static void prepared_file_import_job_real_execute (BackgroundJob* base) { #line 1945 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 16378 "BatchImport.c" - goto __catch408_g_error; + goto __catch421_g_error; } #line 1945 "/home/jens/Source/shotwell/src/BatchImport.vala" _tmp14_ = _tmp10_; @@ -16481,7 +16481,7 @@ static void prepared_file_import_job_real_execute (BackgroundJob* base) { #line 1956 "/home/jens/Source/shotwell/src/BatchImport.vala" _g_object_unref0 (_tmp10_); #line 16475 "BatchImport.c" - goto __catch408_g_error; + goto __catch421_g_error; } #line 1956 "/home/jens/Source/shotwell/src/BatchImport.vala" _tmp34_ = _tmp30_; @@ -16499,8 +16499,8 @@ static void prepared_file_import_job_real_execute (BackgroundJob* base) { _g_object_unref0 (_tmp10_); #line 16492 "BatchImport.c" } - goto __finally408; - __catch408_g_error: + goto __finally421; + __catch421_g_error: { GError* err = NULL; gchar* _tmp35_ = NULL; @@ -16591,7 +16591,7 @@ static void prepared_file_import_job_real_execute (BackgroundJob* base) { return; #line 16584 "BatchImport.c" } - __finally408: + __finally421: #line 1943 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1943 "/home/jens/Source/shotwell/src/BatchImport.vala" @@ -16778,11 +16778,11 @@ static void prepared_file_import_job_real_execute (BackgroundJob* base) { #line 1989 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 16772 "BatchImport.c" - goto __catch409_g_error; + goto __catch422_g_error; } } - goto __finally409; - __catch409_g_error: + goto __finally422; + __catch422_g_error: { GError* err = NULL; GFile* _tmp91_ = NULL; @@ -16812,7 +16812,7 @@ static void prepared_file_import_job_real_execute (BackgroundJob* base) { _g_error_free0 (err); #line 16805 "BatchImport.c" } - __finally409: + __finally422: #line 1988 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1988 "/home/jens/Source/shotwell/src/BatchImport.vala" @@ -17393,7 +17393,7 @@ static void thumbnail_writer_job_real_execute (BackgroundJob* base) { #line 2039 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 17387 "BatchImport.c" - goto __catch410_g_error; + goto __catch423_g_error; } #line 2041 "/home/jens/Source/shotwell/src/BatchImport.vala" _tmp4_ = self->completed_import_source; @@ -17403,8 +17403,8 @@ static void thumbnail_writer_job_real_execute (BackgroundJob* base) { _tmp5_->result = IMPORT_RESULT_SUCCESS; #line 17396 "BatchImport.c" } - goto __finally410; - __catch410_g_error: + goto __finally423; + __catch423_g_error: { GError* err = NULL; CompletedImportObject* _tmp6_ = NULL; @@ -17429,7 +17429,7 @@ static void thumbnail_writer_job_real_execute (BackgroundJob* base) { _g_error_free0 (err); #line 17422 "BatchImport.c" } - __finally410: + __finally423: #line 2038 "/home/jens/Source/shotwell/src/BatchImport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2038 "/home/jens/Source/shotwell/src/BatchImport.vala" diff --git a/src/CheckerboardLayout.c b/src/CheckerboardLayout.c index d73f031..005707b 100644 --- a/src/CheckerboardLayout.c +++ b/src/CheckerboardLayout.c @@ -1422,7 +1422,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 1425 "CheckerboardLayout.c" - goto __catch229_g_regex_error; + goto __catch242_g_regex_error; } #line 1382 "/usr/share/vala-0.34/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); @@ -1447,7 +1447,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 1450 "CheckerboardLayout.c" - goto __catch229_g_regex_error; + goto __catch242_g_regex_error; } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); @@ -1473,8 +1473,8 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* return result; #line 1475 "CheckerboardLayout.c" } - goto __finally229; - __catch229_g_regex_error: + goto __finally242; + __catch242_g_regex_error: { GError* e = NULL; #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -1487,7 +1487,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_error_free0 (e); #line 1489 "CheckerboardLayout.c" } - __finally229: + __finally242: #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" diff --git a/src/CollectionPage.c b/src/CollectionPage.c index 84e0b3f..b1e09ea 100644 --- a/src/CollectionPage.c +++ b/src/CollectionPage.c @@ -1149,12 +1149,12 @@ GtkActionEntry* page_init_collect_action_entries (Page* self, int* result_length #define TRANSLATABLE "translatable" static void collection_page_on_print (CollectionPage* self); static void _collection_page_on_print_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_PRINT_MENU _ ("_Print...") +#define RESOURCES_PRINT_MENU _ ("_Print…") static void _vala_array_add171 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_PUBLISH "applications-internet" static void collection_page_on_publish (CollectionPage* self); static void _collection_page_on_publish_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_PUBLISH_MENU _ ("Pu_blish...") +#define RESOURCES_PUBLISH_MENU _ ("Pu_blish…") #define RESOURCES_PUBLISH_TOOLTIP _ ("Publish to various websites") static void _vala_array_add172 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_CLOCKWISE "object-rotate-right" @@ -1183,7 +1183,7 @@ static void _vala_array_add176 (GtkActionEntry** array, int* length, int* size, static void collection_page_on_enhance (CollectionPage* self); static void _collection_page_on_enhance_gtk_action_callback (GtkAction* action, gpointer self); #define RESOURCES_ENHANCE_MENU _ ("_Enhance") -#define RESOURCES_ENHANCE_TOOLTIP _ ("Automatically improve the photo's appearance") +#define RESOURCES_ENHANCE_TOOLTIP _ ("Automatically improve the photo’s appearance") static void _vala_array_add177 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); void collection_page_on_copy_adjustments (CollectionPage* self); static void _collection_page_on_copy_adjustments_gtk_action_callback (GtkAction* action, gpointer self); @@ -1211,7 +1211,7 @@ static void _collection_page_on_duplicate_photo_gtk_action_callback (GtkAction* static void _vala_array_add182 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void collection_page_on_adjust_date_time (CollectionPage* self); static void _collection_page_on_adjust_date_time_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_ADJUST_DATE_TIME_MENU _ ("_Adjust Date and Time...") +#define RESOURCES_ADJUST_DATE_TIME_MENU _ ("_Adjust Date and Time…") static void _vala_array_add183 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_EDIT_LABEL _ ("_Edit") static void collection_page_on_external_edit (CollectionPage* self); @@ -1268,7 +1268,7 @@ static gboolean collection_page_can_revert_selected (CollectionPage* self); gboolean photo_has_color_adjustments (Photo* self); gboolean pixel_transformation_bundle_has_copied_color_adjustments (void); GtkAction* page_get_action (Page* self, const gchar* name); -#define RESOURCES_SET_BACKGROUND_SLIDESHOW_MENU _ ("Set as _Desktop Slideshow...") +#define RESOURCES_SET_BACKGROUND_SLIDESHOW_MENU _ ("Set as _Desktop Slideshow…") gboolean data_view_is_selected (DataView* self); gboolean alteration_has_subject (Alteration* self, const gchar* subject); GType library_photo_get_type (void) G_GNUC_CONST; @@ -4710,7 +4710,7 @@ static void collection_page_real_on_export (MediaPage* base) { #line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4713 "CollectionPage.c" - goto __catch220_g_error; + goto __catch233_g_error; } #line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp76_ = app_window_get_instance (); @@ -4722,8 +4722,8 @@ static void collection_page_real_on_export (MediaPage* base) { _g_object_unref0 (_tmp77_); #line 4724 "CollectionPage.c" } - goto __finally220; - __catch220_g_error: + goto __finally233; + __catch233_g_error: { GError* err = NULL; AppWindow* _tmp78_ = NULL; @@ -4749,7 +4749,7 @@ static void collection_page_real_on_export (MediaPage* base) { _g_error_free0 (err); #line 4751 "CollectionPage.c" } - __finally220: + __finally233: #line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala" @@ -6288,7 +6288,7 @@ static void collection_page_on_external_edit (CollectionPage* self) { #line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 6291 "CollectionPage.c" - goto __catch221_g_error; + goto __catch234_g_error; } #line 674 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp13_ = app_window_get_instance (); @@ -6300,8 +6300,8 @@ static void collection_page_on_external_edit (CollectionPage* self) { _g_object_unref0 (_tmp14_); #line 6302 "CollectionPage.c" } - goto __finally221; - __catch221_g_error: + goto __finally234; + __catch234_g_error: { GError* err = NULL; AppWindow* _tmp15_ = NULL; @@ -6330,7 +6330,7 @@ static void collection_page_on_external_edit (CollectionPage* self) { _g_error_free0 (err); #line 6332 "CollectionPage.c" } - __finally221: + __finally234: #line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala" @@ -6433,7 +6433,7 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) { #line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 6436 "CollectionPage.c" - goto __catch222_g_error; + goto __catch235_g_error; } #line 692 "/home/jens/Source/shotwell/src/CollectionPage.vala" _tmp15_ = app_window_get_instance (); @@ -6445,8 +6445,8 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) { _g_object_unref0 (_tmp16_); #line 6447 "CollectionPage.c" } - goto __finally222; - __catch222_g_error: + goto __finally235; + __catch235_g_error: { GError* err = NULL; AppWindow* _tmp17_ = NULL; @@ -6480,7 +6480,7 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) { _g_error_free0 (err); #line 6482 "CollectionPage.c" } - __finally222: + __finally235: #line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala" diff --git a/src/ColorTransformation.c b/src/ColorTransformation.c index 245e71c..d4df675 100644 --- a/src/ColorTransformation.c +++ b/src/ColorTransformation.c @@ -146,6 +146,16 @@ typedef struct _SaturationTransformationClass SaturationTransformationClass; typedef struct _ExposureTransformation ExposureTransformation; typedef struct _ExposureTransformationClass ExposureTransformationClass; +#define TYPE_CONTRAST_TRANSFORMATION (contrast_transformation_get_type ()) +#define CONTRAST_TRANSFORMATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONTRAST_TRANSFORMATION, ContrastTransformation)) +#define CONTRAST_TRANSFORMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CONTRAST_TRANSFORMATION, ContrastTransformationClass)) +#define IS_CONTRAST_TRANSFORMATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONTRAST_TRANSFORMATION)) +#define IS_CONTRAST_TRANSFORMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CONTRAST_TRANSFORMATION)) +#define CONTRAST_TRANSFORMATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CONTRAST_TRANSFORMATION, ContrastTransformationClass)) + +typedef struct _ContrastTransformation ContrastTransformation; +typedef struct _ContrastTransformationClass ContrastTransformationClass; + #define TYPE_KEY_VALUE_MAP (key_value_map_get_type ()) #define KEY_VALUE_MAP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_KEY_VALUE_MAP, KeyValueMap)) #define KEY_VALUE_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_KEY_VALUE_MAP, KeyValueMapClass)) @@ -177,6 +187,7 @@ typedef struct _TintTransformationPrivate TintTransformationPrivate; typedef struct _TemperatureTransformationPrivate TemperatureTransformationPrivate; typedef struct _SaturationTransformationPrivate SaturationTransformationPrivate; typedef struct _ExposureTransformationPrivate ExposureTransformationPrivate; +typedef struct _ContrastTransformationPrivate ContrastTransformationPrivate; typedef struct _PixelTransformerPrivate PixelTransformerPrivate; typedef struct _ParamSpecPixelTransformer ParamSpecPixelTransformer; @@ -254,7 +265,8 @@ typedef enum { PIXEL_TRANSFORMATION_TYPE_TEMPERATURE, PIXEL_TRANSFORMATION_TYPE_TINT, PIXEL_TRANSFORMATION_TYPE_SATURATION, - PIXEL_TRANSFORMATION_TYPE_EXPOSURE + PIXEL_TRANSFORMATION_TYPE_EXPOSURE, + PIXEL_TRANSFORMATION_TYPE_CONTRAST } PixelTransformationType; struct _PixelTransformationBundle { @@ -376,6 +388,19 @@ struct _ExposureTransformationPrivate { gfloat parameter; }; +struct _ContrastTransformation { + RGBTransformation parent_instance; + ContrastTransformationPrivate * priv; +}; + +struct _ContrastTransformationClass { + RGBTransformationClass parent_class; +}; + +struct _ContrastTransformationPrivate { + gfloat parameter; +}; + struct _PixelTransformer { GTypeInstance parent_instance; volatile int ref_count; @@ -543,6 +568,7 @@ static gpointer tint_transformation_parent_class = NULL; static gpointer temperature_transformation_parent_class = NULL; static gpointer saturation_transformation_parent_class = NULL; static gpointer exposure_transformation_parent_class = NULL; +static gpointer contrast_transformation_parent_class = NULL; static gpointer pixel_transformer_parent_class = NULL; static gpointer rgb_histogram_parent_class = NULL; static gpointer intensity_histogram_parent_class = NULL; @@ -628,6 +654,9 @@ GType saturation_transformation_get_type (void) G_GNUC_CONST; ExposureTransformation* exposure_transformation_new (gfloat client_parameter); ExposureTransformation* exposure_transformation_construct (GType object_type, gfloat client_parameter); GType exposure_transformation_get_type (void) G_GNUC_CONST; +ContrastTransformation* contrast_transformation_new (gfloat client_parameter); +ContrastTransformation* contrast_transformation_construct (GType object_type, gfloat client_parameter); +GType contrast_transformation_get_type (void) G_GNUC_CONST; gpointer key_value_map_ref (gpointer instance); void key_value_map_unref (gpointer instance); GParamSpec* param_spec_key_value_map (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags); @@ -653,6 +682,7 @@ gfloat temperature_transformation_get_parameter (TemperatureTransformation* self gfloat tint_transformation_get_parameter (TintTransformation* self); gfloat saturation_transformation_get_parameter (SaturationTransformation* self); gfloat exposure_transformation_get_parameter (ExposureTransformation* self); +gfloat contrast_transformation_get_parameter (ContrastTransformation* self); gint pixel_transformation_bundle_get_count (PixelTransformationBundle* self); GeeIterable* pixel_transformation_bundle_get_transformations (PixelTransformationBundle* self); gboolean pixel_transformation_bundle_is_identity (PixelTransformationBundle* self); @@ -740,6 +770,14 @@ enum { #define EXPOSURE_TRANSFORMATION_MIN_PARAMETER (-16.0f) #define EXPOSURE_TRANSFORMATION_MAX_PARAMETER 16.0f static void exposure_transformation_finalize (PixelTransformation* obj); +#define CONTRAST_TRANSFORMATION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_CONTRAST_TRANSFORMATION, ContrastTransformationPrivate)) +enum { + CONTRAST_TRANSFORMATION_DUMMY_PROPERTY +}; +#define CONTRAST_TRANSFORMATION_MIN_PARAMETER (-16.0f) +#define CONTRAST_TRANSFORMATION_MAX_PARAMETER 16.0f +#define CONTRAST_TRANSFORMATION_MAX_CONTRAST_ADJUSTMENT 0.5f +static void contrast_transformation_finalize (PixelTransformation* obj); #define PIXEL_TRANSFORMER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_PIXEL_TRANSFORMER, PixelTransformerPrivate)) enum { PIXEL_TRANSFORMER_DUMMY_PROPERTY @@ -871,7 +909,7 @@ void rgb_analytic_pixel_init (RGBAnalyticPixel *self) { (*self).green = 0.0f; #line 17 "/home/jens/Source/shotwell/src/ColorTransformation.vala" (*self).blue = 0.0f; -#line 875 "ColorTransformation.c" +#line 913 "ColorTransformation.c" } @@ -902,7 +940,7 @@ void rgb_analytic_pixel_init_from_components (RGBAnalyticPixel *self, gfloat red _tmp5_ = CLAMP (_tmp4_, 0.0f, 1.0f); #line 24 "/home/jens/Source/shotwell/src/ColorTransformation.vala" (*self).blue = _tmp5_; -#line 906 "ColorTransformation.c" +#line 944 "ColorTransformation.c" } @@ -924,7 +962,7 @@ void rgb_analytic_pixel_init_from_quantized_components (RGBAnalyticPixel *self, _tmp2_ = blue_quantized; #line 31 "/home/jens/Source/shotwell/src/ColorTransformation.vala" (*self).blue = ((gfloat) _tmp2_) * RGB_ANALYTIC_PIXEL_INV_255; -#line 928 "ColorTransformation.c" +#line 966 "ColorTransformation.c" } @@ -963,7 +1001,7 @@ void rgb_analytic_pixel_init_from_hsv (RGBAnalyticPixel *self, HSVAnalyticPixel* _tmp6_ = _tmp5_.blue; #line 38 "/home/jens/Source/shotwell/src/ColorTransformation.vala" (*self).blue = _tmp6_; -#line 967 "ColorTransformation.c" +#line 1005 "ColorTransformation.c" } @@ -976,7 +1014,7 @@ guchar rgb_analytic_pixel_quantized_red (RGBAnalyticPixel *self) { result = (guchar) (_tmp0_ * 255.0f); #line 42 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 980 "ColorTransformation.c" +#line 1018 "ColorTransformation.c" } @@ -989,7 +1027,7 @@ guchar rgb_analytic_pixel_quantized_green (RGBAnalyticPixel *self) { result = (guchar) (_tmp0_ * 255.0f); #line 46 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 993 "ColorTransformation.c" +#line 1031 "ColorTransformation.c" } @@ -1002,7 +1040,7 @@ guchar rgb_analytic_pixel_quantized_blue (RGBAnalyticPixel *self) { result = (guchar) (_tmp0_ * 255.0f); #line 50 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 1006 "ColorTransformation.c" +#line 1044 "ColorTransformation.c" } @@ -1021,7 +1059,7 @@ gboolean rgb_analytic_pixel_equals (RGBAnalyticPixel *self, RGBAnalyticPixel* rh _tmp4_ = (*_tmp3_).red; #line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp2_ == _tmp4_) { -#line 1025 "ColorTransformation.c" +#line 1063 "ColorTransformation.c" gfloat _tmp5_ = 0.0F; RGBAnalyticPixel* _tmp6_ = NULL; gfloat _tmp7_ = 0.0F; @@ -1033,15 +1071,15 @@ gboolean rgb_analytic_pixel_equals (RGBAnalyticPixel *self, RGBAnalyticPixel* rh _tmp7_ = (*_tmp6_).green; #line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = _tmp5_ == _tmp7_; -#line 1037 "ColorTransformation.c" +#line 1075 "ColorTransformation.c" } else { #line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = FALSE; -#line 1041 "ColorTransformation.c" +#line 1079 "ColorTransformation.c" } #line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp1_) { -#line 1045 "ColorTransformation.c" +#line 1083 "ColorTransformation.c" gfloat _tmp8_ = 0.0F; RGBAnalyticPixel* _tmp9_ = NULL; gfloat _tmp10_ = 0.0F; @@ -1053,17 +1091,17 @@ gboolean rgb_analytic_pixel_equals (RGBAnalyticPixel *self, RGBAnalyticPixel* rh _tmp10_ = (*_tmp9_).blue; #line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = _tmp8_ == _tmp10_; -#line 1057 "ColorTransformation.c" +#line 1095 "ColorTransformation.c" } else { #line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = FALSE; -#line 1061 "ColorTransformation.c" +#line 1099 "ColorTransformation.c" } #line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_; #line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 1067 "ColorTransformation.c" +#line 1105 "ColorTransformation.c" } @@ -1082,7 +1120,7 @@ guint rgb_analytic_pixel_hash_code (RGBAnalyticPixel *self) { result = ((((guint) (_tmp0_ * 255.0f)) << 16) + (((guint) (_tmp1_ * 255.0f)) << 8)) + ((guint) (_tmp2_ * 255.0f)); #line 58 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 1086 "ColorTransformation.c" +#line 1124 "ColorTransformation.c" } @@ -1094,7 +1132,7 @@ void rgb_analytic_pixel_to_hsv (RGBAnalyticPixel *self, HSVAnalyticPixel* result *result = _tmp0_; #line 63 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return; -#line 1098 "ColorTransformation.c" +#line 1136 "ColorTransformation.c" } @@ -1106,14 +1144,14 @@ RGBAnalyticPixel* rgb_analytic_pixel_dup (const RGBAnalyticPixel* self) { memcpy (dup, self, sizeof (RGBAnalyticPixel)); #line 7 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return dup; -#line 1110 "ColorTransformation.c" +#line 1148 "ColorTransformation.c" } void rgb_analytic_pixel_free (RGBAnalyticPixel* self) { #line 7 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_free (self); -#line 1117 "ColorTransformation.c" +#line 1155 "ColorTransformation.c" } @@ -1137,7 +1175,7 @@ void hsv_analytic_pixel_init (HSVAnalyticPixel *self) { (*self).saturation = 0.0f; #line 77 "/home/jens/Source/shotwell/src/ColorTransformation.vala" (*self).light_value = 0.0f; -#line 1141 "ColorTransformation.c" +#line 1179 "ColorTransformation.c" } @@ -1168,7 +1206,7 @@ void hsv_analytic_pixel_init_from_components (HSVAnalyticPixel *self, gfloat hue _tmp5_ = CLAMP (_tmp4_, 0.0f, 1.0f); #line 84 "/home/jens/Source/shotwell/src/ColorTransformation.vala" (*self).light_value = _tmp5_; -#line 1172 "ColorTransformation.c" +#line 1210 "ColorTransformation.c" } @@ -1190,7 +1228,7 @@ void hsv_analytic_pixel_init_from_quantized_components (HSVAnalyticPixel *self, _tmp2_ = light_value_quantized; #line 91 "/home/jens/Source/shotwell/src/ColorTransformation.vala" (*self).light_value = ((gfloat) _tmp2_) * HSV_ANALYTIC_PIXEL_INV_255; -#line 1194 "ColorTransformation.c" +#line 1232 "ColorTransformation.c" } @@ -1271,7 +1309,7 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* _tmp18_ = max_component; #line 99 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp18_ != 0.0f) { -#line 1275 "ColorTransformation.c" +#line 1313 "ColorTransformation.c" gfloat _tmp19_ = 0.0F; gfloat _tmp20_ = 0.0F; gfloat _tmp21_ = 0.0F; @@ -1283,11 +1321,11 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* _tmp21_ = max_component; #line 99 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = (_tmp19_ - _tmp20_) / _tmp21_; -#line 1287 "ColorTransformation.c" +#line 1325 "ColorTransformation.c" } else { #line 100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = 0.0f; -#line 1291 "ColorTransformation.c" +#line 1329 "ColorTransformation.c" } #line 99 "/home/jens/Source/shotwell/src/ColorTransformation.vala" (*self).saturation = _tmp17_; @@ -1297,7 +1335,7 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* if (_tmp22_ == 0.0f) { #line 103 "/home/jens/Source/shotwell/src/ColorTransformation.vala" (*self).hue = 0.0f; -#line 1301 "ColorTransformation.c" +#line 1339 "ColorTransformation.c" } else { gfloat delta = 0.0F; gfloat _tmp23_ = 0.0F; @@ -1322,7 +1360,7 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* _tmp27_ = max_component; #line 106 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp26_ == _tmp27_) { -#line 1326 "ColorTransformation.c" +#line 1364 "ColorTransformation.c" RGBAnalyticPixel _tmp28_ = {0}; gfloat _tmp29_ = 0.0F; RGBAnalyticPixel _tmp30_ = {0}; @@ -1340,7 +1378,7 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* _tmp32_ = delta; #line 107 "/home/jens/Source/shotwell/src/ColorTransformation.vala" (*self).hue = (_tmp29_ - _tmp31_) / _tmp32_; -#line 1344 "ColorTransformation.c" +#line 1382 "ColorTransformation.c" } else { RGBAnalyticPixel _tmp33_ = {0}; gfloat _tmp34_ = 0.0F; @@ -1353,7 +1391,7 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* _tmp35_ = max_component; #line 108 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp34_ == _tmp35_) { -#line 1357 "ColorTransformation.c" +#line 1395 "ColorTransformation.c" RGBAnalyticPixel _tmp36_ = {0}; gfloat _tmp37_ = 0.0F; RGBAnalyticPixel _tmp38_ = {0}; @@ -1371,7 +1409,7 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* _tmp40_ = delta; #line 109 "/home/jens/Source/shotwell/src/ColorTransformation.vala" (*self).hue = 2.0f + ((_tmp37_ - _tmp39_) / _tmp40_); -#line 1375 "ColorTransformation.c" +#line 1413 "ColorTransformation.c" } else { RGBAnalyticPixel _tmp41_ = {0}; gfloat _tmp42_ = 0.0F; @@ -1384,7 +1422,7 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* _tmp43_ = max_component; #line 110 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp42_ == _tmp43_) { -#line 1388 "ColorTransformation.c" +#line 1426 "ColorTransformation.c" RGBAnalyticPixel _tmp44_ = {0}; gfloat _tmp45_ = 0.0F; RGBAnalyticPixel _tmp46_ = {0}; @@ -1402,7 +1440,7 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* _tmp48_ = delta; #line 111 "/home/jens/Source/shotwell/src/ColorTransformation.vala" (*self).hue = 4.0f + ((_tmp45_ - _tmp47_) / _tmp48_); -#line 1406 "ColorTransformation.c" +#line 1444 "ColorTransformation.c" } } } @@ -1414,19 +1452,19 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* _tmp50_ = (*self).hue; #line 115 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp50_ < 0.0f) { -#line 1418 "ColorTransformation.c" +#line 1456 "ColorTransformation.c" gfloat _tmp51_ = 0.0F; #line 116 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp51_ = (*self).hue; #line 116 "/home/jens/Source/shotwell/src/ColorTransformation.vala" (*self).hue = _tmp51_ + 360.0f; -#line 1424 "ColorTransformation.c" +#line 1462 "ColorTransformation.c" } #line 118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp52_ = (*self).hue; #line 118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" (*self).hue = _tmp52_ / 360.0f; -#line 1430 "ColorTransformation.c" +#line 1468 "ColorTransformation.c" } #line 121 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp53_ = (*self).hue; @@ -1446,7 +1484,7 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* _tmp58_ = CLAMP (_tmp57_, 0.0f, 1.0f); #line 123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" (*self).light_value = _tmp58_; -#line 1450 "ColorTransformation.c" +#line 1488 "ColorTransformation.c" } @@ -1459,7 +1497,7 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result _tmp0_ = (*self).saturation; #line 129 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp0_ == 0.0f) { -#line 1463 "ColorTransformation.c" +#line 1501 "ColorTransformation.c" gfloat _tmp1_ = 0.0F; gfloat _tmp2_ = 0.0F; gfloat _tmp3_ = 0.0F; @@ -1475,7 +1513,7 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result _tmp3_ = (*self).light_value; #line 132 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _result_.blue = _tmp3_; -#line 1479 "ColorTransformation.c" +#line 1517 "ColorTransformation.c" } else { gfloat hue_denorm = 0.0F; gfloat _tmp4_ = 0.0F; @@ -1509,7 +1547,7 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result if (_tmp5_ == 360.0f) { #line 136 "/home/jens/Source/shotwell/src/ColorTransformation.vala" hue_denorm = 0.0f; -#line 1513 "ColorTransformation.c" +#line 1551 "ColorTransformation.c" } #line 138 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = hue_denorm; @@ -1553,7 +1591,7 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result switch (_tmp18_) { #line 148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" case 0: -#line 1557 "ColorTransformation.c" +#line 1595 "ColorTransformation.c" { gfloat _tmp19_ = 0.0F; gfloat _tmp20_ = 0.0F; @@ -1572,11 +1610,11 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result _result_.blue = _tmp21_; #line 162 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 1576 "ColorTransformation.c" +#line 1614 "ColorTransformation.c" } #line 148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" case 1: -#line 1580 "ColorTransformation.c" +#line 1618 "ColorTransformation.c" { gfloat _tmp22_ = 0.0F; gfloat _tmp23_ = 0.0F; @@ -1595,11 +1633,11 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result _result_.blue = _tmp24_; #line 168 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 1599 "ColorTransformation.c" +#line 1637 "ColorTransformation.c" } #line 148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" case 2: -#line 1603 "ColorTransformation.c" +#line 1641 "ColorTransformation.c" { gfloat _tmp25_ = 0.0F; gfloat _tmp26_ = 0.0F; @@ -1618,11 +1656,11 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result _result_.blue = _tmp27_; #line 174 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 1622 "ColorTransformation.c" +#line 1660 "ColorTransformation.c" } #line 148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" case 3: -#line 1626 "ColorTransformation.c" +#line 1664 "ColorTransformation.c" { gfloat _tmp28_ = 0.0F; gfloat _tmp29_ = 0.0F; @@ -1641,11 +1679,11 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result _result_.blue = _tmp30_; #line 180 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 1645 "ColorTransformation.c" +#line 1683 "ColorTransformation.c" } #line 148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" case 4: -#line 1649 "ColorTransformation.c" +#line 1687 "ColorTransformation.c" { gfloat _tmp31_ = 0.0F; gfloat _tmp32_ = 0.0F; @@ -1664,11 +1702,11 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result _result_.blue = _tmp33_; #line 186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 1668 "ColorTransformation.c" +#line 1706 "ColorTransformation.c" } #line 148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" case 5: -#line 1672 "ColorTransformation.c" +#line 1710 "ColorTransformation.c" { gfloat _tmp34_ = 0.0F; gfloat _tmp35_ = 0.0F; @@ -1687,14 +1725,14 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result _result_.blue = _tmp36_; #line 192 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 1691 "ColorTransformation.c" +#line 1729 "ColorTransformation.c" } default: { #line 195 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_error ("ColorTransformation.vala:195: bad color hexant in HSV-to-RGB conversio" \ "n"); -#line 1697 "ColorTransformation.c" +#line 1735 "ColorTransformation.c" } } } @@ -1702,7 +1740,7 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result *result = _result_; #line 199 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return; -#line 1705 "ColorTransformation.c" +#line 1743 "ColorTransformation.c" } @@ -1723,7 +1761,7 @@ gboolean hsv_analytic_pixel_equals (HSVAnalyticPixel *self, HSVAnalyticPixel* rh _tmp4_ = _tmp3_.hue; #line 203 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp2_ == _tmp4_) { -#line 1726 "ColorTransformation.c" +#line 1764 "ColorTransformation.c" gfloat _tmp5_ = 0.0F; HSVAnalyticPixel _tmp6_ = {0}; gfloat _tmp7_ = 0.0F; @@ -1735,15 +1773,15 @@ gboolean hsv_analytic_pixel_equals (HSVAnalyticPixel *self, HSVAnalyticPixel* rh _tmp7_ = _tmp6_.saturation; #line 203 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = _tmp5_ == _tmp7_; -#line 1738 "ColorTransformation.c" +#line 1776 "ColorTransformation.c" } else { #line 203 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = FALSE; -#line 1742 "ColorTransformation.c" +#line 1780 "ColorTransformation.c" } #line 203 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp1_) { -#line 1746 "ColorTransformation.c" +#line 1784 "ColorTransformation.c" gfloat _tmp8_ = 0.0F; HSVAnalyticPixel _tmp9_ = {0}; gfloat _tmp10_ = 0.0F; @@ -1755,17 +1793,17 @@ gboolean hsv_analytic_pixel_equals (HSVAnalyticPixel *self, HSVAnalyticPixel* rh _tmp10_ = _tmp9_.light_value; #line 204 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = _tmp8_ == _tmp10_; -#line 1758 "ColorTransformation.c" +#line 1796 "ColorTransformation.c" } else { #line 203 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = FALSE; -#line 1762 "ColorTransformation.c" +#line 1800 "ColorTransformation.c" } #line 203 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_; #line 203 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 1768 "ColorTransformation.c" +#line 1806 "ColorTransformation.c" } @@ -1784,7 +1822,7 @@ guint hsv_analytic_pixel_hash_code (HSVAnalyticPixel *self) { result = ((((guint) (_tmp0_ * 255.0f)) << 16) + (((guint) (_tmp1_ * 255.0f)) << 8)) + ((guint) (_tmp2_ * 255.0f)); #line 208 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 1787 "ColorTransformation.c" +#line 1825 "ColorTransformation.c" } @@ -1796,14 +1834,14 @@ HSVAnalyticPixel* hsv_analytic_pixel_dup (const HSVAnalyticPixel* self) { memcpy (dup, self, sizeof (HSVAnalyticPixel)); #line 67 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return dup; -#line 1799 "ColorTransformation.c" +#line 1837 "ColorTransformation.c" } void hsv_analytic_pixel_free (HSVAnalyticPixel* self) { #line 67 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_free (self); -#line 1806 "ColorTransformation.c" +#line 1844 "ColorTransformation.c" } @@ -1845,7 +1883,7 @@ GType pixel_format_get_type (void) { GType pixel_transformation_type_get_type (void) { static volatile gsize pixel_transformation_type_type_id__volatile = 0; if (g_once_init_enter (&pixel_transformation_type_type_id__volatile)) { - static const GEnumValue values[] = {{PIXEL_TRANSFORMATION_TYPE_TONE_EXPANSION, "PIXEL_TRANSFORMATION_TYPE_TONE_EXPANSION", "tone-expansion"}, {PIXEL_TRANSFORMATION_TYPE_SHADOWS, "PIXEL_TRANSFORMATION_TYPE_SHADOWS", "shadows"}, {PIXEL_TRANSFORMATION_TYPE_HIGHLIGHTS, "PIXEL_TRANSFORMATION_TYPE_HIGHLIGHTS", "highlights"}, {PIXEL_TRANSFORMATION_TYPE_TEMPERATURE, "PIXEL_TRANSFORMATION_TYPE_TEMPERATURE", "temperature"}, {PIXEL_TRANSFORMATION_TYPE_TINT, "PIXEL_TRANSFORMATION_TYPE_TINT", "tint"}, {PIXEL_TRANSFORMATION_TYPE_SATURATION, "PIXEL_TRANSFORMATION_TYPE_SATURATION", "saturation"}, {PIXEL_TRANSFORMATION_TYPE_EXPOSURE, "PIXEL_TRANSFORMATION_TYPE_EXPOSURE", "exposure"}, {0, NULL, NULL}}; + static const GEnumValue values[] = {{PIXEL_TRANSFORMATION_TYPE_TONE_EXPANSION, "PIXEL_TRANSFORMATION_TYPE_TONE_EXPANSION", "tone-expansion"}, {PIXEL_TRANSFORMATION_TYPE_SHADOWS, "PIXEL_TRANSFORMATION_TYPE_SHADOWS", "shadows"}, {PIXEL_TRANSFORMATION_TYPE_HIGHLIGHTS, "PIXEL_TRANSFORMATION_TYPE_HIGHLIGHTS", "highlights"}, {PIXEL_TRANSFORMATION_TYPE_TEMPERATURE, "PIXEL_TRANSFORMATION_TYPE_TEMPERATURE", "temperature"}, {PIXEL_TRANSFORMATION_TYPE_TINT, "PIXEL_TRANSFORMATION_TYPE_TINT", "tint"}, {PIXEL_TRANSFORMATION_TYPE_SATURATION, "PIXEL_TRANSFORMATION_TYPE_SATURATION", "saturation"}, {PIXEL_TRANSFORMATION_TYPE_EXPOSURE, "PIXEL_TRANSFORMATION_TYPE_EXPOSURE", "exposure"}, {PIXEL_TRANSFORMATION_TYPE_CONTRAST, "PIXEL_TRANSFORMATION_TYPE_CONTRAST", "contrast"}, {0, NULL, NULL}}; GType pixel_transformation_type_type_id; pixel_transformation_type_type_id = g_enum_register_static ("PixelTransformationType", values); g_once_init_leave (&pixel_transformation_type_type_id__volatile, pixel_transformation_type_type_id); @@ -1856,25 +1894,25 @@ GType pixel_transformation_type_get_type (void) { PixelTransformationBundle* pixel_transformation_bundle_construct (GType object_type) { PixelTransformationBundle* self = NULL; -#line 239 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 240 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (PixelTransformationBundle*) g_type_create_instance (object_type); -#line 239 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 240 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 1863 "ColorTransformation.c" +#line 1901 "ColorTransformation.c" } PixelTransformationBundle* pixel_transformation_bundle_new (void) { -#line 239 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 240 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return pixel_transformation_bundle_construct (TYPE_PIXEL_TRANSFORMATION_BUNDLE); -#line 1870 "ColorTransformation.c" +#line 1908 "ColorTransformation.c" } static gpointer _pixel_transformation_bundle_ref0 (gpointer self) { -#line 243 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 244 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self ? pixel_transformation_bundle_ref (self) : NULL; -#line 1877 "ColorTransformation.c" +#line 1915 "ColorTransformation.c" } @@ -1882,45 +1920,45 @@ PixelTransformationBundle* pixel_transformation_bundle_get_copied_color_adjustme PixelTransformationBundle* result = NULL; PixelTransformationBundle* _tmp0_ = NULL; PixelTransformationBundle* _tmp1_ = NULL; -#line 243 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 244 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = pixel_transformation_bundle_copied_color_adjustments; -#line 243 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 244 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = _pixel_transformation_bundle_ref0 (_tmp0_); -#line 243 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 244 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp1_; -#line 243 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 244 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 1893 "ColorTransformation.c" +#line 1931 "ColorTransformation.c" } void pixel_transformation_bundle_set_copied_color_adjustments (PixelTransformationBundle* adjustments) { PixelTransformationBundle* _tmp0_ = NULL; PixelTransformationBundle* _tmp1_ = NULL; -#line 246 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - g_return_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (adjustments)); #line 247 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + g_return_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (adjustments)); +#line 248 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = adjustments; -#line 247 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 248 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = _pixel_transformation_bundle_ref0 (_tmp0_); -#line 247 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 248 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_bundle_unref0 (pixel_transformation_bundle_copied_color_adjustments); -#line 247 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 248 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_copied_color_adjustments = _tmp1_; -#line 1910 "ColorTransformation.c" +#line 1948 "ColorTransformation.c" } gboolean pixel_transformation_bundle_has_copied_color_adjustments (void) { gboolean result = FALSE; PixelTransformationBundle* _tmp0_ = NULL; -#line 251 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 252 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = pixel_transformation_bundle_copied_color_adjustments; -#line 251 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 252 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_ != NULL; -#line 251 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 252 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 1923 "ColorTransformation.c" +#line 1961 "ColorTransformation.c" } @@ -1929,21 +1967,21 @@ void pixel_transformation_bundle_set (PixelTransformationBundle* self, PixelTran PixelTransformation* _tmp1_ = NULL; PixelTransformationType _tmp2_ = 0; PixelTransformation* _tmp3_ = NULL; -#line 254 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self)); -#line 254 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - g_return_if_fail (IS_PIXEL_TRANSFORMATION (transformation)); #line 255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + g_return_if_fail (IS_PIXEL_TRANSFORMATION (transformation)); +#line 256 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->map; -#line 255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 256 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = transformation; -#line 255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 256 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = pixel_transformation_get_transformation_type (_tmp1_); -#line 255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 256 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = transformation; -#line 255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 256 "/home/jens/Source/shotwell/src/ColorTransformation.vala" gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) ((gint) _tmp2_)), _tmp3_); -#line 1946 "ColorTransformation.c" +#line 1984 "ColorTransformation.c" } @@ -1962,65 +2000,75 @@ void pixel_transformation_bundle_set_to_identity (PixelTransformationBundle* sel SaturationTransformation* _tmp11_ = NULL; ExposureTransformation* _tmp12_ = NULL; ExposureTransformation* _tmp13_ = NULL; -#line 258 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - g_return_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self)); + ContrastTransformation* _tmp14_ = NULL; + ContrastTransformation* _tmp15_ = NULL; #line 259 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + g_return_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self)); +#line 260 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = expansion_transformation_new_from_extrema (0, 255); -#line 259 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 260 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = _tmp0_; -#line 259 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 260 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 259 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - _pixel_transformation_unref0 (_tmp1_); #line 260 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _pixel_transformation_unref0 (_tmp1_); +#line 261 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = shadow_detail_transformation_new (0.0f); -#line 260 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 261 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = _tmp2_; -#line 260 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 261 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 260 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - _pixel_transformation_unref0 (_tmp3_); #line 261 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _pixel_transformation_unref0 (_tmp3_); +#line 262 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = highlight_detail_transformation_new (0.0f); -#line 261 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 262 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = _tmp4_; -#line 261 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 262 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 261 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - _pixel_transformation_unref0 (_tmp5_); #line 262 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _pixel_transformation_unref0 (_tmp5_); +#line 263 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = temperature_transformation_new (0.0f); -#line 262 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 263 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = _tmp6_; -#line 262 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 263 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 262 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - _pixel_transformation_unref0 (_tmp7_); #line 263 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _pixel_transformation_unref0 (_tmp7_); +#line 264 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = tint_transformation_new (0.0f); -#line 263 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 264 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = _tmp8_; -#line 263 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 264 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 263 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - _pixel_transformation_unref0 (_tmp9_); #line 264 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _pixel_transformation_unref0 (_tmp9_); +#line 265 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = saturation_transformation_new (0.0f); -#line 264 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 265 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = _tmp10_; -#line 264 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 265 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 264 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - _pixel_transformation_unref0 (_tmp11_); #line 265 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _pixel_transformation_unref0 (_tmp11_); +#line 266 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = exposure_transformation_new (0.0f); -#line 265 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 266 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = _tmp12_; -#line 265 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 266 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 265 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 266 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp13_); -#line 2023 "ColorTransformation.c" +#line 267 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp14_ = contrast_transformation_new (0.0f); +#line 267 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp15_ = _tmp14_; +#line 267 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); +#line 267 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _pixel_transformation_unref0 (_tmp15_); +#line 2071 "ColorTransformation.c" } @@ -2053,123 +2101,139 @@ void pixel_transformation_bundle_load (PixelTransformationBundle* self, KeyValue gfloat _tmp29_ = 0.0F; ExposureTransformation* _tmp30_ = NULL; ExposureTransformation* _tmp31_ = NULL; -#line 268 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + KeyValueMap* _tmp32_ = NULL; + gfloat _tmp33_ = 0.0F; + ContrastTransformation* _tmp34_ = NULL; + ContrastTransformation* _tmp35_ = NULL; +#line 270 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self)); -#line 268 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 270 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_KEY_VALUE_MAP (store)); -#line 269 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 271 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = store; -#line 269 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 271 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = key_value_map_get_string (_tmp0_, "expansion", "-"); -#line 269 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 271 "/home/jens/Source/shotwell/src/ColorTransformation.vala" expansion_params_encoded = _tmp1_; -#line 270 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 272 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = expansion_params_encoded; -#line 270 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 272 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (g_strcmp0 (_tmp2_, "-") == 0) { -#line 2070 "ColorTransformation.c" +#line 2122 "ColorTransformation.c" ExpansionTransformation* _tmp3_ = NULL; ExpansionTransformation* _tmp4_ = NULL; -#line 271 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 273 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = expansion_transformation_new_from_extrema (0, 255); -#line 271 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 273 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = _tmp3_; -#line 271 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 273 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 271 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 273 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp4_); -#line 2081 "ColorTransformation.c" +#line 2133 "ColorTransformation.c" } else { const gchar* _tmp5_ = NULL; ExpansionTransformation* _tmp6_ = NULL; ExpansionTransformation* _tmp7_ = NULL; -#line 273 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = expansion_params_encoded; -#line 273 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = expansion_transformation_new_from_string (_tmp5_); -#line 273 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = _tmp6_; -#line 273 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 273 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp7_); -#line 2096 "ColorTransformation.c" +#line 2148 "ColorTransformation.c" } -#line 275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 277 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = store; -#line 275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 277 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = key_value_map_get_float (_tmp8_, "shadows", 0.0f); -#line 275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 277 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = shadow_detail_transformation_new (_tmp9_); -#line 275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 277 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = _tmp10_; -#line 275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 277 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 277 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp11_); -#line 276 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 278 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = store; -#line 276 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 278 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = key_value_map_get_float (_tmp12_, "highlights", 0.0f); -#line 276 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 278 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = highlight_detail_transformation_new (_tmp13_); -#line 276 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 278 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = _tmp14_; -#line 276 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 278 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 276 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 278 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp15_); -#line 277 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 279 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = store; -#line 277 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 279 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = key_value_map_get_float (_tmp16_, "temperature", 0.0f); -#line 277 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 279 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = temperature_transformation_new (_tmp17_); -#line 277 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 279 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = _tmp18_; -#line 277 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 279 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 277 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 279 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp19_); -#line 278 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 280 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = store; -#line 278 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 280 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = key_value_map_get_float (_tmp20_, "tint", 0.0f); -#line 278 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 280 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = tint_transformation_new (_tmp21_); -#line 278 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 280 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = _tmp22_; -#line 278 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 280 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 278 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 280 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp23_); -#line 279 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 281 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = store; -#line 279 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 281 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = key_value_map_get_float (_tmp24_, "saturation", 0.0f); -#line 279 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 281 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = saturation_transformation_new (_tmp25_); -#line 279 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 281 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = _tmp26_; -#line 279 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 281 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 279 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 281 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp27_); -#line 280 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 282 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = store; -#line 280 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 282 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = key_value_map_get_float (_tmp28_, "exposure", 0.0f); -#line 280 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 282 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_ = exposure_transformation_new (_tmp29_); -#line 280 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 282 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_ = _tmp30_; -#line 280 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 282 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 280 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 282 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp31_); -#line 268 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 283 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp32_ = store; +#line 283 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp33_ = key_value_map_get_float (_tmp32_, "contrast", 0.0f); +#line 283 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp34_ = contrast_transformation_new (_tmp33_); +#line 283 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp35_ = _tmp34_; +#line 283 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + pixel_transformation_bundle_set (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); +#line 283 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _pixel_transformation_unref0 (_tmp35_); +#line 270 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_free0 (expansion_params_encoded); -#line 2172 "ColorTransformation.c" +#line 2236 "ColorTransformation.c" } @@ -2200,109 +2264,124 @@ KeyValueMap* pixel_transformation_bundle_save (PixelTransformationBundle* self, ExposureTransformation* new_exposure_trans = NULL; PixelTransformation* _tmp15_ = NULL; gfloat _tmp16_ = 0.0F; -#line 283 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + ContrastTransformation* new_contrast_trans = NULL; + PixelTransformation* _tmp17_ = NULL; + gfloat _tmp18_ = 0.0F; +#line 286 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self), NULL); -#line 283 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 286 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (group != NULL, NULL); -#line 284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = group; -#line 284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = key_value_map_new (_tmp0_); -#line 284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" store = _tmp1_; -#line 286 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 289 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = pixel_transformation_bundle_get_transformation (self, PIXEL_TRANSFORMATION_TYPE_TONE_EXPANSION); -#line 286 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 289 "/home/jens/Source/shotwell/src/ColorTransformation.vala" new_expansion_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformation); -#line 288 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 291 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _vala_assert (new_expansion_trans != NULL, "new_expansion_trans != null"); -#line 289 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 292 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = pixel_transformation_to_string (G_TYPE_CHECK_INSTANCE_CAST (new_expansion_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 289 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 292 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = _tmp3_; -#line 289 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 292 "/home/jens/Source/shotwell/src/ColorTransformation.vala" key_value_map_set_string (store, "expansion", _tmp4_); -#line 289 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 292 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_free0 (_tmp4_); -#line 291 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 294 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = pixel_transformation_bundle_get_transformation (self, PIXEL_TRANSFORMATION_TYPE_SHADOWS); -#line 291 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 294 "/home/jens/Source/shotwell/src/ColorTransformation.vala" new_shadows_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_SHADOW_DETAIL_TRANSFORMATION, ShadowDetailTransformation); -#line 293 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 296 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _vala_assert (new_shadows_trans != NULL, "new_shadows_trans != null"); -#line 294 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 297 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = shadow_detail_transformation_get_parameter (new_shadows_trans); -#line 294 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 297 "/home/jens/Source/shotwell/src/ColorTransformation.vala" key_value_map_set_float (store, "shadows", _tmp6_); -#line 296 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 299 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = pixel_transformation_bundle_get_transformation (self, PIXEL_TRANSFORMATION_TYPE_HIGHLIGHTS); -#line 296 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 299 "/home/jens/Source/shotwell/src/ColorTransformation.vala" new_highlight_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, HighlightDetailTransformation); -#line 298 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 301 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _vala_assert (new_highlight_trans != NULL, "new_highlight_trans != null"); -#line 299 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 302 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = highlight_detail_transformation_get_parameter (new_highlight_trans); -#line 299 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 302 "/home/jens/Source/shotwell/src/ColorTransformation.vala" key_value_map_set_float (store, "highlights", _tmp8_); -#line 301 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 304 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = pixel_transformation_bundle_get_transformation (self, PIXEL_TRANSFORMATION_TYPE_TEMPERATURE); -#line 301 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 304 "/home/jens/Source/shotwell/src/ColorTransformation.vala" new_temp_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_TEMPERATURE_TRANSFORMATION, TemperatureTransformation); -#line 303 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 306 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _vala_assert (new_temp_trans != NULL, "new_temp_trans != null"); -#line 304 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 307 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = temperature_transformation_get_parameter (new_temp_trans); -#line 304 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 307 "/home/jens/Source/shotwell/src/ColorTransformation.vala" key_value_map_set_float (store, "temperature", _tmp10_); -#line 306 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 309 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = pixel_transformation_bundle_get_transformation (self, PIXEL_TRANSFORMATION_TYPE_TINT); -#line 306 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 309 "/home/jens/Source/shotwell/src/ColorTransformation.vala" new_tint_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_TINT_TRANSFORMATION, TintTransformation); -#line 308 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 311 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _vala_assert (new_tint_trans != NULL, "new_tint_trans != null"); -#line 309 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 312 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = tint_transformation_get_parameter (new_tint_trans); -#line 309 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 312 "/home/jens/Source/shotwell/src/ColorTransformation.vala" key_value_map_set_float (store, "tint", _tmp12_); -#line 311 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 314 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = pixel_transformation_bundle_get_transformation (self, PIXEL_TRANSFORMATION_TYPE_SATURATION); -#line 311 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 314 "/home/jens/Source/shotwell/src/ColorTransformation.vala" new_sat_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_SATURATION_TRANSFORMATION, SaturationTransformation); -#line 313 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 316 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _vala_assert (new_sat_trans != NULL, "new_sat_trans != null"); -#line 314 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 317 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = saturation_transformation_get_parameter (new_sat_trans); -#line 314 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 317 "/home/jens/Source/shotwell/src/ColorTransformation.vala" key_value_map_set_float (store, "saturation", _tmp14_); -#line 316 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 319 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = pixel_transformation_bundle_get_transformation (self, PIXEL_TRANSFORMATION_TYPE_EXPOSURE); -#line 316 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 319 "/home/jens/Source/shotwell/src/ColorTransformation.vala" new_exposure_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_EXPOSURE_TRANSFORMATION, ExposureTransformation); -#line 318 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 321 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _vala_assert (new_exposure_trans != NULL, "new_exposure_trans != null"); -#line 319 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 322 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = exposure_transformation_get_parameter (new_exposure_trans); -#line 319 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 322 "/home/jens/Source/shotwell/src/ColorTransformation.vala" key_value_map_set_float (store, "exposure", _tmp16_); -#line 321 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 324 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp17_ = pixel_transformation_bundle_get_transformation (self, PIXEL_TRANSFORMATION_TYPE_CONTRAST); +#line 324 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + new_contrast_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_CONTRAST_TRANSFORMATION, ContrastTransformation); +#line 326 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _vala_assert (new_contrast_trans != NULL, "new_contrast_trans != null"); +#line 327 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp18_ = contrast_transformation_get_parameter (new_contrast_trans); +#line 327 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + key_value_map_set_float (store, "contrast", _tmp18_); +#line 329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = store; -#line 321 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _pixel_transformation_unref0 (new_contrast_trans); +#line 329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (new_exposure_trans); -#line 321 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (new_sat_trans); -#line 321 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (new_tint_trans); -#line 321 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (new_temp_trans); -#line 321 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (new_highlight_trans); -#line 321 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (new_shadows_trans); -#line 321 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (new_expansion_trans); -#line 321 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 2305 "ColorTransformation.c" +#line 2384 "ColorTransformation.c" } @@ -2311,19 +2390,19 @@ gint pixel_transformation_bundle_get_count (PixelTransformationBundle* self) { GeeHashMap* _tmp0_ = NULL; gint _tmp1_ = 0; gint _tmp2_ = 0; -#line 324 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 332 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self), 0); -#line 325 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 333 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->map; -#line 325 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 333 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = gee_abstract_map_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_MAP, GeeMap)); -#line 325 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 333 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = _tmp1_; -#line 325 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 333 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp2_; -#line 325 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 333 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 2326 "ColorTransformation.c" +#line 2405 "ColorTransformation.c" } @@ -2332,19 +2411,19 @@ PixelTransformation* pixel_transformation_bundle_get_transformation (PixelTransf GeeHashMap* _tmp0_ = NULL; PixelTransformationType _tmp1_ = 0; gpointer _tmp2_ = NULL; -#line 328 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 336 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self), NULL); -#line 329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->map; -#line 329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = type; -#line 329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) ((gint) _tmp1_))); -#line 329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = (PixelTransformation*) _tmp2_; -#line 329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 2347 "ColorTransformation.c" +#line 2426 "ColorTransformation.c" } @@ -2353,48 +2432,48 @@ GeeIterable* pixel_transformation_bundle_get_transformations (PixelTransformatio GeeHashMap* _tmp0_ = NULL; GeeCollection* _tmp1_ = NULL; GeeCollection* _tmp2_ = NULL; -#line 332 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 340 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self), NULL); -#line 333 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 341 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->map; -#line 333 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 341 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = gee_abstract_map_get_values (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_MAP, GeeMap)); -#line 333 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 341 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = _tmp1_; -#line 333 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 341 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_ITERABLE, GeeIterable); -#line 333 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 341 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 2368 "ColorTransformation.c" +#line 2447 "ColorTransformation.c" } gboolean pixel_transformation_bundle_is_identity (PixelTransformationBundle* self) { gboolean result = FALSE; -#line 336 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 344 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self), FALSE); -#line 2376 "ColorTransformation.c" +#line 2455 "ColorTransformation.c" { GeeIterator* _adjustment_it = NULL; GeeIterable* _tmp0_ = NULL; GeeIterable* _tmp1_ = NULL; GeeIterator* _tmp2_ = NULL; GeeIterator* _tmp3_ = NULL; -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = pixel_transformation_bundle_get_transformations (self); -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = _tmp0_; -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = gee_iterable_iterator (_tmp1_); -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = _tmp2_; -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_object_unref0 (_tmp1_); -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _adjustment_it = _tmp3_; -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 2397 "ColorTransformation.c" +#line 2476 "ColorTransformation.c" GeeIterator* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; PixelTransformation* adjustment = NULL; @@ -2402,51 +2481,51 @@ gboolean pixel_transformation_bundle_is_identity (PixelTransformationBundle* sel gpointer _tmp7_ = NULL; PixelTransformation* _tmp8_ = NULL; gboolean _tmp9_ = FALSE; -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = _adjustment_it; -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = gee_iterator_next (_tmp4_); -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp5_) { -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 2413 "ColorTransformation.c" +#line 2492 "ColorTransformation.c" } -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = _adjustment_it; -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = gee_iterator_get (_tmp6_); -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" adjustment = (PixelTransformation*) _tmp7_; -#line 338 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 346 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = adjustment; -#line 338 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 346 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = pixel_transformation_is_identity (_tmp8_); -#line 338 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 346 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp9_) { -#line 339 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = FALSE; -#line 339 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (adjustment); -#line 339 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_object_unref0 (_adjustment_it); -#line 339 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 2435 "ColorTransformation.c" +#line 2514 "ColorTransformation.c" } -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (adjustment); -#line 2439 "ColorTransformation.c" +#line 2518 "ColorTransformation.c" } -#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_object_unref0 (_adjustment_it); -#line 2443 "ColorTransformation.c" +#line 2522 "ColorTransformation.c" } -#line 342 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 350 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = TRUE; -#line 342 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 350 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 2449 "ColorTransformation.c" +#line 2528 "ColorTransformation.c" } @@ -2454,34 +2533,34 @@ PixelTransformer* pixel_transformation_bundle_generate_transformer (PixelTransfo PixelTransformer* result = NULL; PixelTransformer* transformer = NULL; PixelTransformer* _tmp0_ = NULL; -#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 353 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self), NULL); -#line 346 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 354 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = pixel_transformer_new (); -#line 346 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 354 "/home/jens/Source/shotwell/src/ColorTransformation.vala" transformer = _tmp0_; -#line 2463 "ColorTransformation.c" +#line 2542 "ColorTransformation.c" { GeeIterator* _transformation_it = NULL; GeeIterable* _tmp1_ = NULL; GeeIterable* _tmp2_ = NULL; GeeIterator* _tmp3_ = NULL; GeeIterator* _tmp4_ = NULL; -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = pixel_transformation_bundle_get_transformations (self); -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = _tmp1_; -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = gee_iterable_iterator (_tmp2_); -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = _tmp3_; -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_object_unref0 (_tmp2_); -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _transformation_it = _tmp4_; -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 2484 "ColorTransformation.c" +#line 2563 "ColorTransformation.c" GeeIterator* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; PixelTransformation* transformation = NULL; @@ -2489,41 +2568,41 @@ PixelTransformer* pixel_transformation_bundle_generate_transformer (PixelTransfo gpointer _tmp8_ = NULL; PixelTransformer* _tmp9_ = NULL; PixelTransformation* _tmp10_ = NULL; -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = _transformation_it; -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = gee_iterator_next (_tmp5_); -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp6_) { -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 2500 "ColorTransformation.c" +#line 2579 "ColorTransformation.c" } -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = _transformation_it; -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = gee_iterator_get (_tmp7_); -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" transformation = (PixelTransformation*) _tmp8_; -#line 348 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 356 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = transformer; -#line 348 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 356 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = transformation; -#line 348 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 356 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformer_attach_transformation (_tmp9_, _tmp10_); -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (transformation); -#line 2516 "ColorTransformation.c" +#line 2595 "ColorTransformation.c" } -#line 347 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_object_unref0 (_transformation_it); -#line 2520 "ColorTransformation.c" +#line 2599 "ColorTransformation.c" } -#line 350 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 358 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = transformer; -#line 350 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 358 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 2526 "ColorTransformation.c" +#line 2605 "ColorTransformation.c" } @@ -2531,34 +2610,34 @@ PixelTransformationBundle* pixel_transformation_bundle_copy (PixelTransformation PixelTransformationBundle* result = NULL; PixelTransformationBundle* bundle = NULL; PixelTransformationBundle* _tmp0_ = NULL; -#line 353 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 361 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self), NULL); -#line 354 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = pixel_transformation_bundle_new (); -#line 354 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" bundle = _tmp0_; -#line 2540 "ColorTransformation.c" +#line 2619 "ColorTransformation.c" { GeeIterator* _transformation_it = NULL; GeeIterable* _tmp1_ = NULL; GeeIterable* _tmp2_ = NULL; GeeIterator* _tmp3_ = NULL; GeeIterator* _tmp4_ = NULL; -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = pixel_transformation_bundle_get_transformations (self); -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = _tmp1_; -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = gee_iterable_iterator (_tmp2_); -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = _tmp3_; -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_object_unref0 (_tmp2_); -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _transformation_it = _tmp4_; -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 2561 "ColorTransformation.c" +#line 2640 "ColorTransformation.c" GeeIterator* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; PixelTransformation* transformation = NULL; @@ -2566,232 +2645,232 @@ PixelTransformationBundle* pixel_transformation_bundle_copy (PixelTransformation gpointer _tmp8_ = NULL; PixelTransformationBundle* _tmp9_ = NULL; PixelTransformation* _tmp10_ = NULL; -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = _transformation_it; -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = gee_iterator_next (_tmp5_); -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp6_) { -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 2577 "ColorTransformation.c" +#line 2656 "ColorTransformation.c" } -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = _transformation_it; -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = gee_iterator_get (_tmp7_); -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" transformation = (PixelTransformation*) _tmp8_; -#line 356 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 364 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = bundle; -#line 356 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 364 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = transformation; -#line 356 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 364 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (_tmp9_, _tmp10_); -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (transformation); -#line 2593 "ColorTransformation.c" +#line 2672 "ColorTransformation.c" } -#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_object_unref0 (_transformation_it); -#line 2597 "ColorTransformation.c" +#line 2676 "ColorTransformation.c" } -#line 358 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 366 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = bundle; -#line 358 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 366 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 2603 "ColorTransformation.c" +#line 2682 "ColorTransformation.c" } static void value_pixel_transformation_bundle_init (GValue* value) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 2610 "ColorTransformation.c" +#line 2689 "ColorTransformation.c" } static void value_pixel_transformation_bundle_free_value (GValue* value) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (value->data[0].v_pointer) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_unref (value->data[0].v_pointer); -#line 2619 "ColorTransformation.c" +#line 2698 "ColorTransformation.c" } } static void value_pixel_transformation_bundle_copy_value (const GValue* src_value, GValue* dest_value) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (src_value->data[0].v_pointer) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_value->data[0].v_pointer = pixel_transformation_bundle_ref (src_value->data[0].v_pointer); -#line 2629 "ColorTransformation.c" +#line 2708 "ColorTransformation.c" } else { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_value->data[0].v_pointer = NULL; -#line 2633 "ColorTransformation.c" +#line 2712 "ColorTransformation.c" } } static gpointer value_pixel_transformation_bundle_peek_pointer (const GValue* value) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return value->data[0].v_pointer; -#line 2641 "ColorTransformation.c" +#line 2720 "ColorTransformation.c" } static gchar* value_pixel_transformation_bundle_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (collect_values[0].v_pointer) { -#line 2648 "ColorTransformation.c" +#line 2727 "ColorTransformation.c" PixelTransformationBundle* object; object = collect_values[0].v_pointer; -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (object->parent_instance.g_class == NULL) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 2655 "ColorTransformation.c" +#line 2734 "ColorTransformation.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 2659 "ColorTransformation.c" +#line 2738 "ColorTransformation.c" } -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = pixel_transformation_bundle_ref (object); -#line 2663 "ColorTransformation.c" +#line 2742 "ColorTransformation.c" } else { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 2667 "ColorTransformation.c" +#line 2746 "ColorTransformation.c" } -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return NULL; -#line 2671 "ColorTransformation.c" +#line 2750 "ColorTransformation.c" } static gchar* value_pixel_transformation_bundle_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PixelTransformationBundle** object_p; object_p = collect_values[0].v_pointer; -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!object_p) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 2682 "ColorTransformation.c" +#line 2761 "ColorTransformation.c" } -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!value->data[0].v_pointer) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = NULL; -#line 2688 "ColorTransformation.c" +#line 2767 "ColorTransformation.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = value->data[0].v_pointer; -#line 2692 "ColorTransformation.c" +#line 2771 "ColorTransformation.c" } else { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = pixel_transformation_bundle_ref (value->data[0].v_pointer); -#line 2696 "ColorTransformation.c" +#line 2775 "ColorTransformation.c" } -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return NULL; -#line 2700 "ColorTransformation.c" +#line 2779 "ColorTransformation.c" } GParamSpec* param_spec_pixel_transformation_bundle (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecPixelTransformationBundle* spec; -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (g_type_is_a (object_type, TYPE_PIXEL_TRANSFORMATION_BUNDLE), NULL); -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return G_PARAM_SPEC (spec); -#line 2714 "ColorTransformation.c" +#line 2793 "ColorTransformation.c" } gpointer value_get_pixel_transformation_bundle (const GValue* value) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXEL_TRANSFORMATION_BUNDLE), NULL); -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return value->data[0].v_pointer; -#line 2723 "ColorTransformation.c" +#line 2802 "ColorTransformation.c" } void value_set_pixel_transformation_bundle (GValue* value, gpointer v_object) { PixelTransformationBundle* old; -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXEL_TRANSFORMATION_BUNDLE)); -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" old = value->data[0].v_pointer; -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (v_object) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PIXEL_TRANSFORMATION_BUNDLE)); -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = v_object; -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_ref (value->data[0].v_pointer); -#line 2743 "ColorTransformation.c" +#line 2822 "ColorTransformation.c" } else { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 2747 "ColorTransformation.c" +#line 2826 "ColorTransformation.c" } -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (old) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_unref (old); -#line 2753 "ColorTransformation.c" +#line 2832 "ColorTransformation.c" } } void value_take_pixel_transformation_bundle (GValue* value, gpointer v_object) { PixelTransformationBundle* old; -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXEL_TRANSFORMATION_BUNDLE)); -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" old = value->data[0].v_pointer; -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (v_object) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PIXEL_TRANSFORMATION_BUNDLE)); -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = v_object; -#line 2772 "ColorTransformation.c" +#line 2851 "ColorTransformation.c" } else { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 2776 "ColorTransformation.c" +#line 2855 "ColorTransformation.c" } -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (old) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_unref (old); -#line 2782 "ColorTransformation.c" +#line 2861 "ColorTransformation.c" } } static void pixel_transformation_bundle_class_init (PixelTransformationBundleClass * klass) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_parent_class = g_type_class_peek_parent (klass); -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationBundleClass *) klass)->finalize = pixel_transformation_bundle_finalize; -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_class_add_private (klass, sizeof (PixelTransformationBundlePrivate)); -#line 2794 "ColorTransformation.c" +#line 2873 "ColorTransformation.c" } @@ -2803,31 +2882,31 @@ static void pixel_transformation_bundle_instance_init (PixelTransformationBundle GDestroyNotify _tmp4_ = NULL; GeeEqualDataFunc _tmp5_ = NULL; GeeHashMap* _tmp6_ = NULL; -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv = PIXEL_TRANSFORMATION_BUNDLE_GET_PRIVATE (self); -#line 236 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 237 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = gee_functions_get_hash_func_for (G_TYPE_INT, &_tmp0_, &_tmp1_); -#line 236 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 237 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = gee_functions_get_equal_func_for (G_TYPE_INT, &_tmp3_, &_tmp4_); -#line 236 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 237 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = gee_hash_map_new (G_TYPE_INT, NULL, NULL, TYPE_PIXEL_TRANSFORMATION, (GBoxedCopyFunc) pixel_transformation_ref, pixel_transformation_unref, _tmp2_, _tmp0_, _tmp1_, _tmp5_, _tmp3_, _tmp4_, NULL, NULL, NULL); -#line 236 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 237 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->map = _tmp6_; -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->ref_count = 1; -#line 2818 "ColorTransformation.c" +#line 2897 "ColorTransformation.c" } static void pixel_transformation_bundle_finalize (PixelTransformationBundle* obj) { PixelTransformationBundle * self; -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PIXEL_TRANSFORMATION_BUNDLE, PixelTransformationBundle); -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_signal_handlers_destroy (self); -#line 236 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 237 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_object_unref0 (self->priv->map); -#line 2830 "ColorTransformation.c" +#line 2909 "ColorTransformation.c" } @@ -2848,24 +2927,24 @@ GType pixel_transformation_bundle_get_type (void) { gpointer pixel_transformation_bundle_ref (gpointer instance) { PixelTransformationBundle* self; self = instance; -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_atomic_int_inc (&self->ref_count); -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return instance; -#line 2855 "ColorTransformation.c" +#line 2934 "ColorTransformation.c" } void pixel_transformation_bundle_unref (gpointer instance) { PixelTransformationBundle* self; self = instance; -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" PIXEL_TRANSFORMATION_BUNDLE_GET_CLASS (self)->finalize (self); -#line 233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_free_instance ((GTypeInstance *) self); -#line 2868 "ColorTransformation.c" +#line 2947 "ColorTransformation.c" } } @@ -2873,416 +2952,416 @@ void pixel_transformation_bundle_unref (gpointer instance) { PixelTransformation* pixel_transformation_construct (GType object_type, PixelTransformationType type) { PixelTransformation* self = NULL; PixelTransformationType _tmp0_ = 0; -#line 365 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 373 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (PixelTransformation*) g_type_create_instance (object_type); -#line 366 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 374 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = type; -#line 366 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 374 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->type = _tmp0_; -#line 365 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 373 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 2884 "ColorTransformation.c" +#line 2963 "ColorTransformation.c" } PixelTransformationType pixel_transformation_get_transformation_type (PixelTransformation* self) { PixelTransformationType result = 0; PixelTransformationType _tmp0_ = 0; -#line 369 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 377 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION (self), 0); -#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 378 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->type; -#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 378 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_; -#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 378 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 2899 "ColorTransformation.c" +#line 2978 "ColorTransformation.c" } static PixelFormat pixel_transformation_real_get_preferred_format (PixelTransformation* self) { -#line 373 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 381 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_critical ("Type `%s' does not implement abstract method `pixel_transformation_get_preferred_format'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 373 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 381 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return 0; -#line 2908 "ColorTransformation.c" +#line 2987 "ColorTransformation.c" } PixelFormat pixel_transformation_get_preferred_format (PixelTransformation* self) { -#line 373 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 381 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION (self), 0); -#line 373 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 381 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return PIXEL_TRANSFORMATION_GET_CLASS (self)->get_preferred_format (self); -#line 2917 "ColorTransformation.c" +#line 2996 "ColorTransformation.c" } static CompositionMode pixel_transformation_real_get_composition_mode (PixelTransformation* self) { CompositionMode result = 0; -#line 376 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 384 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = COMPOSITION_MODE_NONE; -#line 376 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 384 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 2927 "ColorTransformation.c" +#line 3006 "ColorTransformation.c" } CompositionMode pixel_transformation_get_composition_mode (PixelTransformation* self) { -#line 375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 383 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION (self), 0); -#line 375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 383 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return PIXEL_TRANSFORMATION_GET_CLASS (self)->get_composition_mode (self); -#line 2936 "ColorTransformation.c" +#line 3015 "ColorTransformation.c" } static void pixel_transformation_real_compose_with (PixelTransformation* self, PixelTransformation* other) { -#line 379 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 387 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION (other)); -#line 380 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - g_error ("ColorTransformation.vala:380: %s", "PixelTransformation: compose_with( ): this type of pixel " "transformation doesn't support composition."); -#line 2945 "ColorTransformation.c" +#line 388 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + g_error ("ColorTransformation.vala:388: %s", "PixelTransformation: compose_with( ): this type of pixel " "transformation doesn't support composition."); +#line 3024 "ColorTransformation.c" } void pixel_transformation_compose_with (PixelTransformation* self, PixelTransformation* other) { -#line 379 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 387 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION (self)); -#line 379 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 387 "/home/jens/Source/shotwell/src/ColorTransformation.vala" PIXEL_TRANSFORMATION_GET_CLASS (self)->compose_with (self, other); -#line 2954 "ColorTransformation.c" +#line 3033 "ColorTransformation.c" } static gboolean pixel_transformation_real_is_identity (PixelTransformation* self) { gboolean result = FALSE; -#line 385 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 393 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = TRUE; -#line 385 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 393 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 2964 "ColorTransformation.c" +#line 3043 "ColorTransformation.c" } gboolean pixel_transformation_is_identity (PixelTransformation* self) { -#line 384 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION (self), FALSE); -#line 384 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return PIXEL_TRANSFORMATION_GET_CLASS (self)->is_identity (self); -#line 2973 "ColorTransformation.c" +#line 3052 "ColorTransformation.c" } static void pixel_transformation_real_transform_pixel_hsv (PixelTransformation* self, HSVAnalyticPixel* p, HSVAnalyticPixel* result) { HSVAnalyticPixel _tmp0_ = {0}; -#line 388 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 396 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (p != NULL); -#line 389 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 397 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = *p; -#line 389 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 397 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *result = _tmp0_; -#line 389 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 397 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return; -#line 2987 "ColorTransformation.c" +#line 3066 "ColorTransformation.c" } void pixel_transformation_transform_pixel_hsv (PixelTransformation* self, HSVAnalyticPixel* p, HSVAnalyticPixel* result) { -#line 388 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 396 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION (self)); -#line 388 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 396 "/home/jens/Source/shotwell/src/ColorTransformation.vala" PIXEL_TRANSFORMATION_GET_CLASS (self)->transform_pixel_hsv (self, p, result); -#line 2996 "ColorTransformation.c" +#line 3075 "ColorTransformation.c" } static void pixel_transformation_real_transform_pixel_rgb (PixelTransformation* self, RGBAnalyticPixel* p, RGBAnalyticPixel* result) { RGBAnalyticPixel _tmp0_ = {0}; -#line 392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (p != NULL); -#line 393 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 401 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = *p; -#line 393 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 401 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *result = _tmp0_; -#line 393 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 401 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return; -#line 3010 "ColorTransformation.c" +#line 3089 "ColorTransformation.c" } void pixel_transformation_transform_pixel_rgb (PixelTransformation* self, RGBAnalyticPixel* p, RGBAnalyticPixel* result) { -#line 392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION (self)); -#line 392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" PIXEL_TRANSFORMATION_GET_CLASS (self)->transform_pixel_rgb (self, p, result); -#line 3019 "ColorTransformation.c" +#line 3098 "ColorTransformation.c" } static gchar* pixel_transformation_real_to_string (PixelTransformation* self) { gchar* result = NULL; gchar* _tmp0_ = NULL; -#line 397 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 405 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = g_strdup ("PixelTransformation"); -#line 397 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 405 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_; -#line 397 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 405 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 3032 "ColorTransformation.c" +#line 3111 "ColorTransformation.c" } gchar* pixel_transformation_to_string (PixelTransformation* self) { -#line 396 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 404 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION (self), NULL); -#line 396 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 404 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return PIXEL_TRANSFORMATION_GET_CLASS (self)->to_string (self); -#line 3041 "ColorTransformation.c" +#line 3120 "ColorTransformation.c" } static PixelTransformation* pixel_transformation_real_copy (PixelTransformation* self) { -#line 400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 408 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_critical ("Type `%s' does not implement abstract method `pixel_transformation_copy'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 408 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return NULL; -#line 3050 "ColorTransformation.c" +#line 3129 "ColorTransformation.c" } PixelTransformation* pixel_transformation_copy (PixelTransformation* self) { -#line 400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 408 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION (self), NULL); -#line 400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 408 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return PIXEL_TRANSFORMATION_GET_CLASS (self)->copy (self); -#line 3059 "ColorTransformation.c" +#line 3138 "ColorTransformation.c" } static void value_pixel_transformation_init (GValue* value) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 3066 "ColorTransformation.c" +#line 3145 "ColorTransformation.c" } static void value_pixel_transformation_free_value (GValue* value) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (value->data[0].v_pointer) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_unref (value->data[0].v_pointer); -#line 3075 "ColorTransformation.c" +#line 3154 "ColorTransformation.c" } } static void value_pixel_transformation_copy_value (const GValue* src_value, GValue* dest_value) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (src_value->data[0].v_pointer) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_value->data[0].v_pointer = pixel_transformation_ref (src_value->data[0].v_pointer); -#line 3085 "ColorTransformation.c" +#line 3164 "ColorTransformation.c" } else { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_value->data[0].v_pointer = NULL; -#line 3089 "ColorTransformation.c" +#line 3168 "ColorTransformation.c" } } static gpointer value_pixel_transformation_peek_pointer (const GValue* value) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return value->data[0].v_pointer; -#line 3097 "ColorTransformation.c" +#line 3176 "ColorTransformation.c" } static gchar* value_pixel_transformation_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (collect_values[0].v_pointer) { -#line 3104 "ColorTransformation.c" +#line 3183 "ColorTransformation.c" PixelTransformation* object; object = collect_values[0].v_pointer; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (object->parent_instance.g_class == NULL) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 3111 "ColorTransformation.c" +#line 3190 "ColorTransformation.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 3115 "ColorTransformation.c" +#line 3194 "ColorTransformation.c" } -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = pixel_transformation_ref (object); -#line 3119 "ColorTransformation.c" +#line 3198 "ColorTransformation.c" } else { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 3123 "ColorTransformation.c" +#line 3202 "ColorTransformation.c" } -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return NULL; -#line 3127 "ColorTransformation.c" +#line 3206 "ColorTransformation.c" } static gchar* value_pixel_transformation_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PixelTransformation** object_p; object_p = collect_values[0].v_pointer; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!object_p) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 3138 "ColorTransformation.c" +#line 3217 "ColorTransformation.c" } -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!value->data[0].v_pointer) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = NULL; -#line 3144 "ColorTransformation.c" +#line 3223 "ColorTransformation.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = value->data[0].v_pointer; -#line 3148 "ColorTransformation.c" +#line 3227 "ColorTransformation.c" } else { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = pixel_transformation_ref (value->data[0].v_pointer); -#line 3152 "ColorTransformation.c" +#line 3231 "ColorTransformation.c" } -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return NULL; -#line 3156 "ColorTransformation.c" +#line 3235 "ColorTransformation.c" } GParamSpec* param_spec_pixel_transformation (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecPixelTransformation* spec; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (g_type_is_a (object_type, TYPE_PIXEL_TRANSFORMATION), NULL); -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return G_PARAM_SPEC (spec); -#line 3170 "ColorTransformation.c" +#line 3249 "ColorTransformation.c" } gpointer value_get_pixel_transformation (const GValue* value) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXEL_TRANSFORMATION), NULL); -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return value->data[0].v_pointer; -#line 3179 "ColorTransformation.c" +#line 3258 "ColorTransformation.c" } void value_set_pixel_transformation (GValue* value, gpointer v_object) { PixelTransformation* old; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXEL_TRANSFORMATION)); -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" old = value->data[0].v_pointer; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (v_object) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PIXEL_TRANSFORMATION)); -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = v_object; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_ref (value->data[0].v_pointer); -#line 3199 "ColorTransformation.c" +#line 3278 "ColorTransformation.c" } else { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 3203 "ColorTransformation.c" +#line 3282 "ColorTransformation.c" } -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (old) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_unref (old); -#line 3209 "ColorTransformation.c" +#line 3288 "ColorTransformation.c" } } void value_take_pixel_transformation (GValue* value, gpointer v_object) { PixelTransformation* old; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXEL_TRANSFORMATION)); -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" old = value->data[0].v_pointer; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (v_object) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PIXEL_TRANSFORMATION)); -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = v_object; -#line 3228 "ColorTransformation.c" +#line 3307 "ColorTransformation.c" } else { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 3232 "ColorTransformation.c" +#line 3311 "ColorTransformation.c" } -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (old) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_unref (old); -#line 3238 "ColorTransformation.c" +#line 3317 "ColorTransformation.c" } } static void pixel_transformation_class_init (PixelTransformationClass * klass) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_parent_class = g_type_class_peek_parent (klass); -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->finalize = pixel_transformation_finalize; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_class_add_private (klass, sizeof (PixelTransformationPrivate)); -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->get_preferred_format = pixel_transformation_real_get_preferred_format; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->get_composition_mode = pixel_transformation_real_get_composition_mode; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->compose_with = pixel_transformation_real_compose_with; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->is_identity = pixel_transformation_real_is_identity; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->transform_pixel_hsv = pixel_transformation_real_transform_pixel_hsv; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->transform_pixel_rgb = pixel_transformation_real_transform_pixel_rgb; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->to_string = pixel_transformation_real_to_string; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->copy = pixel_transformation_real_copy; -#line 3266 "ColorTransformation.c" +#line 3345 "ColorTransformation.c" } static void pixel_transformation_instance_init (PixelTransformation * self) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv = PIXEL_TRANSFORMATION_GET_PRIVATE (self); -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->ref_count = 1; -#line 3275 "ColorTransformation.c" +#line 3354 "ColorTransformation.c" } static void pixel_transformation_finalize (PixelTransformation* obj) { PixelTransformation * self; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PIXEL_TRANSFORMATION, PixelTransformation); -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_signal_handlers_destroy (self); -#line 3285 "ColorTransformation.c" +#line 3364 "ColorTransformation.c" } @@ -3303,24 +3382,24 @@ GType pixel_transformation_get_type (void) { gpointer pixel_transformation_ref (gpointer instance) { PixelTransformation* self; self = instance; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_atomic_int_inc (&self->ref_count); -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return instance; -#line 3310 "ColorTransformation.c" +#line 3389 "ColorTransformation.c" } void pixel_transformation_unref (gpointer instance) { PixelTransformation* self; self = instance; -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" PIXEL_TRANSFORMATION_GET_CLASS (self)->finalize (self); -#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_free_instance ((GTypeInstance *) self); -#line 3323 "ColorTransformation.c" +#line 3402 "ColorTransformation.c" } } @@ -3329,93 +3408,93 @@ RGBTransformation* rgb_transformation_construct (GType object_type, PixelTransfo RGBTransformation* self = NULL; PixelTransformationType _tmp0_ = 0; gfloat* _tmp1_ = NULL; -#line 413 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 421 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = type; -#line 413 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 421 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (RGBTransformation*) pixel_transformation_construct (object_type, _tmp0_); -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = g_new0 (gfloat, 16); -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[0] = 1.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[1] = 0.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[2] = 0.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[3] = 0.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[4] = 0.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[5] = 1.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[6] = 0.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[7] = 0.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[8] = 0.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[9] = 0.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[10] = 1.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[11] = 0.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[12] = 0.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[13] = 0.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[14] = 0.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[15] = 1.0f; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->matrix_entries = (g_free (self->matrix_entries), NULL); -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->matrix_entries = _tmp1_; -#line 419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->matrix_entries_length1 = 16; -#line 412 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 420 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 3378 "ColorTransformation.c" +#line 3457 "ColorTransformation.c" } RGBTransformation* rgb_transformation_new (PixelTransformationType type) { -#line 412 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 420 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return rgb_transformation_construct (TYPE_RGB_TRANSFORMATION, type); -#line 3385 "ColorTransformation.c" +#line 3464 "ColorTransformation.c" } static PixelFormat rgb_transformation_real_get_preferred_format (PixelTransformation* base) { RGBTransformation * self; PixelFormat result = 0; -#line 426 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 434 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_RGB_TRANSFORMATION, RGBTransformation); -#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 435 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = PIXEL_FORMAT_RGB; -#line 427 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 435 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 3398 "ColorTransformation.c" +#line 3477 "ColorTransformation.c" } static CompositionMode rgb_transformation_real_get_composition_mode (PixelTransformation* base) { RGBTransformation * self; CompositionMode result = 0; -#line 430 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 438 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_RGB_TRANSFORMATION, RGBTransformation); -#line 431 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 439 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = COMPOSITION_MODE_RGB_MATRIX; -#line 431 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 439 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 3411 "ColorTransformation.c" +#line 3490 "ColorTransformation.c" } static gpointer _pixel_transformation_ref0 (gpointer self) { -#line 439 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 447 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self ? pixel_transformation_ref (self) : NULL; -#line 3418 "ColorTransformation.c" +#line 3497 "ColorTransformation.c" } @@ -3928,1071 +4007,1071 @@ static void rgb_transformation_real_compose_with (PixelTransformation* base, Pix gfloat _tmp356_ = 0.0F; gboolean _tmp366_ = FALSE; gboolean _tmp367_ = FALSE; -#line 434 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 442 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_RGB_TRANSFORMATION, RGBTransformation); -#line 434 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 442 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION (other)); -#line 435 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 443 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = other; -#line 435 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 443 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = pixel_transformation_get_composition_mode (_tmp0_); -#line 435 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 443 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp1_ != COMPOSITION_MODE_RGB_MATRIX) { -#line 436 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - g_error ("ColorTransformation.vala:436: %s", "RGBTransformation: compose_with( ): 'other' transformation " "does not support RGB_MATRIX composition mode"); -#line 3943 "ColorTransformation.c" +#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + g_error ("ColorTransformation.vala:444: %s", "RGBTransformation: compose_with( ): 'other' transformation " "does not support RGB_MATRIX composition mode"); +#line 4022 "ColorTransformation.c" } -#line 439 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 447 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = other; -#line 439 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 447 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = _pixel_transformation_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_RGB_TRANSFORMATION, RGBTransformation)); -#line 439 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 447 "/home/jens/Source/shotwell/src/ColorTransformation.vala" transform = _tmp3_; -#line 441 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 449 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = g_new0 (gfloat, 16); -#line 441 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 449 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result_matrix_entries = _tmp4_; -#line 441 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 449 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result_matrix_entries_length1 = 16; -#line 441 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 449 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _result_matrix_entries_size_ = result_matrix_entries_length1; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = result_matrix_entries; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5__length1 = result_matrix_entries_length1; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = transform; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = _tmp6_->matrix_entries; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7__length1 = _tmp6_->matrix_entries_length1; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = _tmp7_[0]; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = self->matrix_entries; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9__length1 = self->matrix_entries_length1; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = _tmp9_[0]; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = transform; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = _tmp11_->matrix_entries; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12__length1 = _tmp11_->matrix_entries_length1; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = _tmp12_[1]; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = self->matrix_entries; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14__length1 = self->matrix_entries_length1; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = _tmp14_[4]; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = transform; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = _tmp16_->matrix_entries; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17__length1 = _tmp16_->matrix_entries_length1; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = _tmp17_[2]; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = self->matrix_entries; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19__length1 = self->matrix_entries_length1; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = _tmp19_[8]; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = transform; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = _tmp21_->matrix_entries; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22__length1 = _tmp21_->matrix_entries_length1; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = _tmp22_[3]; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = self->matrix_entries; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24__length1 = self->matrix_entries_length1; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = _tmp24_[12]; -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_[0] = (((_tmp8_ * _tmp10_) + (_tmp13_ * _tmp15_)) + (_tmp18_ * _tmp20_)) + (_tmp23_ * _tmp25_); -#line 444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 452 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = _tmp5_[0]; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = result_matrix_entries; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27__length1 = result_matrix_entries_length1; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = transform; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = _tmp28_->matrix_entries; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29__length1 = _tmp28_->matrix_entries_length1; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_ = _tmp29_[0]; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_ = self->matrix_entries; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31__length1 = self->matrix_entries_length1; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32_ = _tmp31_[1]; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp33_ = transform; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34_ = _tmp33_->matrix_entries; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34__length1 = _tmp33_->matrix_entries_length1; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_ = _tmp34_[1]; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36_ = self->matrix_entries; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36__length1 = self->matrix_entries_length1; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp37_ = _tmp36_[5]; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_ = transform; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39_ = _tmp38_->matrix_entries; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39__length1 = _tmp38_->matrix_entries_length1; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp40_ = _tmp39_[2]; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41_ = self->matrix_entries; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41__length1 = self->matrix_entries_length1; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp42_ = _tmp41_[9]; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43_ = transform; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp44_ = _tmp43_->matrix_entries; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp44__length1 = _tmp43_->matrix_entries_length1; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp45_ = _tmp44_[3]; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp46_ = self->matrix_entries; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp46__length1 = self->matrix_entries_length1; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp47_ = _tmp46_[13]; -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_[1] = (((_tmp30_ * _tmp32_) + (_tmp35_ * _tmp37_)) + (_tmp40_ * _tmp42_)) + (_tmp45_ * _tmp47_); -#line 450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48_ = _tmp27_[1]; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp49_ = result_matrix_entries; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp49__length1 = result_matrix_entries_length1; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp50_ = transform; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp51_ = _tmp50_->matrix_entries; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp51__length1 = _tmp50_->matrix_entries_length1; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp52_ = _tmp51_[0]; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp53_ = self->matrix_entries; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp53__length1 = self->matrix_entries_length1; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp54_ = _tmp53_[2]; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp55_ = transform; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp56_ = _tmp55_->matrix_entries; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp56__length1 = _tmp55_->matrix_entries_length1; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp57_ = _tmp56_[1]; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp58_ = self->matrix_entries; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp58__length1 = self->matrix_entries_length1; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp59_ = _tmp58_[6]; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp60_ = transform; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp61_ = _tmp60_->matrix_entries; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp61__length1 = _tmp60_->matrix_entries_length1; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp62_ = _tmp61_[2]; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp63_ = self->matrix_entries; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp63__length1 = self->matrix_entries_length1; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp64_ = _tmp63_[10]; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp65_ = transform; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp66_ = _tmp65_->matrix_entries; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp66__length1 = _tmp65_->matrix_entries_length1; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp67_ = _tmp66_[3]; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp68_ = self->matrix_entries; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp68__length1 = self->matrix_entries_length1; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp69_ = _tmp68_[14]; -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp49_[2] = (((_tmp52_ * _tmp54_) + (_tmp57_ * _tmp59_)) + (_tmp62_ * _tmp64_)) + (_tmp67_ * _tmp69_); -#line 456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp70_ = _tmp49_[2]; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp71_ = result_matrix_entries; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp71__length1 = result_matrix_entries_length1; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp72_ = transform; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp73_ = _tmp72_->matrix_entries; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp73__length1 = _tmp72_->matrix_entries_length1; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp74_ = _tmp73_[0]; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp75_ = self->matrix_entries; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp75__length1 = self->matrix_entries_length1; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp76_ = _tmp75_[3]; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp77_ = transform; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp78_ = _tmp77_->matrix_entries; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp78__length1 = _tmp77_->matrix_entries_length1; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp79_ = _tmp78_[1]; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp80_ = self->matrix_entries; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp80__length1 = self->matrix_entries_length1; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp81_ = _tmp80_[7]; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp82_ = transform; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp83_ = _tmp82_->matrix_entries; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp83__length1 = _tmp82_->matrix_entries_length1; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp84_ = _tmp83_[2]; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp85_ = self->matrix_entries; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp85__length1 = self->matrix_entries_length1; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp86_ = _tmp85_[11]; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp87_ = transform; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp88_ = _tmp87_->matrix_entries; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp88__length1 = _tmp87_->matrix_entries_length1; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp89_ = _tmp88_[3]; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp90_ = self->matrix_entries; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp90__length1 = self->matrix_entries_length1; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp91_ = _tmp90_[15]; -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp71_[3] = (((_tmp74_ * _tmp76_) + (_tmp79_ * _tmp81_)) + (_tmp84_ * _tmp86_)) + (_tmp89_ * _tmp91_); -#line 462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp92_ = _tmp71_[3]; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp93_ = result_matrix_entries; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp93__length1 = result_matrix_entries_length1; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp94_ = transform; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp95_ = _tmp94_->matrix_entries; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp95__length1 = _tmp94_->matrix_entries_length1; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp96_ = _tmp95_[4]; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp97_ = self->matrix_entries; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp97__length1 = self->matrix_entries_length1; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp98_ = _tmp97_[0]; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp99_ = transform; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp100_ = _tmp99_->matrix_entries; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp100__length1 = _tmp99_->matrix_entries_length1; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp101_ = _tmp100_[5]; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp102_ = self->matrix_entries; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp102__length1 = self->matrix_entries_length1; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp103_ = _tmp102_[4]; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp104_ = transform; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp105_ = _tmp104_->matrix_entries; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp105__length1 = _tmp104_->matrix_entries_length1; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp106_ = _tmp105_[6]; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp107_ = self->matrix_entries; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp107__length1 = self->matrix_entries_length1; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp108_ = _tmp107_[8]; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp109_ = transform; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp110_ = _tmp109_->matrix_entries; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp110__length1 = _tmp109_->matrix_entries_length1; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp111_ = _tmp110_[7]; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp112_ = self->matrix_entries; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp112__length1 = self->matrix_entries_length1; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp113_ = _tmp112_[12]; -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp93_[4] = (((_tmp96_ * _tmp98_) + (_tmp101_ * _tmp103_)) + (_tmp106_ * _tmp108_)) + (_tmp111_ * _tmp113_); -#line 469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp114_ = _tmp93_[4]; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp115_ = result_matrix_entries; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp115__length1 = result_matrix_entries_length1; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp116_ = transform; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp117_ = _tmp116_->matrix_entries; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp117__length1 = _tmp116_->matrix_entries_length1; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp118_ = _tmp117_[4]; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp119_ = self->matrix_entries; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp119__length1 = self->matrix_entries_length1; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp120_ = _tmp119_[1]; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp121_ = transform; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp122_ = _tmp121_->matrix_entries; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp122__length1 = _tmp121_->matrix_entries_length1; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp123_ = _tmp122_[5]; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp124_ = self->matrix_entries; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp124__length1 = self->matrix_entries_length1; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp125_ = _tmp124_[5]; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp126_ = transform; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp127_ = _tmp126_->matrix_entries; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp127__length1 = _tmp126_->matrix_entries_length1; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp128_ = _tmp127_[6]; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp129_ = self->matrix_entries; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp129__length1 = self->matrix_entries_length1; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp130_ = _tmp129_[9]; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp131_ = transform; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp132_ = _tmp131_->matrix_entries; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp132__length1 = _tmp131_->matrix_entries_length1; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp133_ = _tmp132_[7]; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp134_ = self->matrix_entries; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp134__length1 = self->matrix_entries_length1; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp135_ = _tmp134_[13]; -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp115_[5] = (((_tmp118_ * _tmp120_) + (_tmp123_ * _tmp125_)) + (_tmp128_ * _tmp130_)) + (_tmp133_ * _tmp135_); -#line 475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 483 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp136_ = _tmp115_[5]; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp137_ = result_matrix_entries; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp137__length1 = result_matrix_entries_length1; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp138_ = transform; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp139_ = _tmp138_->matrix_entries; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp139__length1 = _tmp138_->matrix_entries_length1; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp140_ = _tmp139_[4]; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp141_ = self->matrix_entries; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp141__length1 = self->matrix_entries_length1; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp142_ = _tmp141_[2]; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp143_ = transform; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp144_ = _tmp143_->matrix_entries; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp144__length1 = _tmp143_->matrix_entries_length1; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp145_ = _tmp144_[5]; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp146_ = self->matrix_entries; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp146__length1 = self->matrix_entries_length1; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp147_ = _tmp146_[6]; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp148_ = transform; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp149_ = _tmp148_->matrix_entries; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp149__length1 = _tmp148_->matrix_entries_length1; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp150_ = _tmp149_[6]; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp151_ = self->matrix_entries; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp151__length1 = self->matrix_entries_length1; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp152_ = _tmp151_[10]; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp153_ = transform; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp154_ = _tmp153_->matrix_entries; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp154__length1 = _tmp153_->matrix_entries_length1; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp155_ = _tmp154_[7]; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp156_ = self->matrix_entries; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp156__length1 = self->matrix_entries_length1; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp157_ = _tmp156_[14]; -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp137_[6] = (((_tmp140_ * _tmp142_) + (_tmp145_ * _tmp147_)) + (_tmp150_ * _tmp152_)) + (_tmp155_ * _tmp157_); -#line 481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp158_ = _tmp137_[6]; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp159_ = result_matrix_entries; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp159__length1 = result_matrix_entries_length1; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp160_ = transform; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp161_ = _tmp160_->matrix_entries; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp161__length1 = _tmp160_->matrix_entries_length1; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp162_ = _tmp161_[4]; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp163_ = self->matrix_entries; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp163__length1 = self->matrix_entries_length1; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp164_ = _tmp163_[3]; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp165_ = transform; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp166_ = _tmp165_->matrix_entries; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp166__length1 = _tmp165_->matrix_entries_length1; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp167_ = _tmp166_[5]; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp168_ = self->matrix_entries; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp168__length1 = self->matrix_entries_length1; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp169_ = _tmp168_[7]; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp170_ = transform; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp171_ = _tmp170_->matrix_entries; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp171__length1 = _tmp170_->matrix_entries_length1; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp172_ = _tmp171_[6]; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp173_ = self->matrix_entries; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp173__length1 = self->matrix_entries_length1; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp174_ = _tmp173_[11]; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp175_ = transform; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp176_ = _tmp175_->matrix_entries; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp176__length1 = _tmp175_->matrix_entries_length1; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp177_ = _tmp176_[7]; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp178_ = self->matrix_entries; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp178__length1 = self->matrix_entries_length1; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp179_ = _tmp178_[15]; -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp159_[7] = (((_tmp162_ * _tmp164_) + (_tmp167_ * _tmp169_)) + (_tmp172_ * _tmp174_)) + (_tmp177_ * _tmp179_); -#line 487 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp180_ = _tmp159_[7]; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp181_ = result_matrix_entries; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp181__length1 = result_matrix_entries_length1; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp182_ = transform; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp183_ = _tmp182_->matrix_entries; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp183__length1 = _tmp182_->matrix_entries_length1; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp184_ = _tmp183_[8]; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp185_ = self->matrix_entries; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp185__length1 = self->matrix_entries_length1; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp186_ = _tmp185_[0]; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp187_ = transform; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp188_ = _tmp187_->matrix_entries; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp188__length1 = _tmp187_->matrix_entries_length1; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp189_ = _tmp188_[9]; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp190_ = self->matrix_entries; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp190__length1 = self->matrix_entries_length1; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp191_ = _tmp190_[4]; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp192_ = transform; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp193_ = _tmp192_->matrix_entries; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp193__length1 = _tmp192_->matrix_entries_length1; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp194_ = _tmp193_[10]; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp195_ = self->matrix_entries; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp195__length1 = self->matrix_entries_length1; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp196_ = _tmp195_[8]; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp197_ = transform; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp198_ = _tmp197_->matrix_entries; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp198__length1 = _tmp197_->matrix_entries_length1; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp199_ = _tmp198_[11]; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp200_ = self->matrix_entries; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp200__length1 = self->matrix_entries_length1; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp201_ = _tmp200_[12]; -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp181_[8] = (((_tmp184_ * _tmp186_) + (_tmp189_ * _tmp191_)) + (_tmp194_ * _tmp196_)) + (_tmp199_ * _tmp201_); -#line 494 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp202_ = _tmp181_[8]; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp203_ = result_matrix_entries; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp203__length1 = result_matrix_entries_length1; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp204_ = transform; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp205_ = _tmp204_->matrix_entries; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp205__length1 = _tmp204_->matrix_entries_length1; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp206_ = _tmp205_[8]; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp207_ = self->matrix_entries; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp207__length1 = self->matrix_entries_length1; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp208_ = _tmp207_[1]; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp209_ = transform; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp210_ = _tmp209_->matrix_entries; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp210__length1 = _tmp209_->matrix_entries_length1; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp211_ = _tmp210_[9]; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp212_ = self->matrix_entries; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp212__length1 = self->matrix_entries_length1; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp213_ = _tmp212_[5]; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp214_ = transform; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp215_ = _tmp214_->matrix_entries; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp215__length1 = _tmp214_->matrix_entries_length1; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp216_ = _tmp215_[10]; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp217_ = self->matrix_entries; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp217__length1 = self->matrix_entries_length1; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp218_ = _tmp217_[9]; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp219_ = transform; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp220_ = _tmp219_->matrix_entries; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp220__length1 = _tmp219_->matrix_entries_length1; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp221_ = _tmp220_[11]; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp222_ = self->matrix_entries; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp222__length1 = self->matrix_entries_length1; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp223_ = _tmp222_[13]; -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp203_[9] = (((_tmp206_ * _tmp208_) + (_tmp211_ * _tmp213_)) + (_tmp216_ * _tmp218_)) + (_tmp221_ * _tmp223_); -#line 500 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp224_ = _tmp203_[9]; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp225_ = result_matrix_entries; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp225__length1 = result_matrix_entries_length1; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp226_ = transform; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp227_ = _tmp226_->matrix_entries; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp227__length1 = _tmp226_->matrix_entries_length1; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp228_ = _tmp227_[8]; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp229_ = self->matrix_entries; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp229__length1 = self->matrix_entries_length1; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp230_ = _tmp229_[2]; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp231_ = transform; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp232_ = _tmp231_->matrix_entries; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp232__length1 = _tmp231_->matrix_entries_length1; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp233_ = _tmp232_[9]; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp234_ = self->matrix_entries; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp234__length1 = self->matrix_entries_length1; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp235_ = _tmp234_[6]; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp236_ = transform; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp237_ = _tmp236_->matrix_entries; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp237__length1 = _tmp236_->matrix_entries_length1; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp238_ = _tmp237_[10]; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp239_ = self->matrix_entries; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp239__length1 = self->matrix_entries_length1; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp240_ = _tmp239_[10]; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp241_ = transform; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp242_ = _tmp241_->matrix_entries; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp242__length1 = _tmp241_->matrix_entries_length1; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp243_ = _tmp242_[11]; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp244_ = self->matrix_entries; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp244__length1 = self->matrix_entries_length1; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp245_ = _tmp244_[14]; -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp225_[10] = (((_tmp228_ * _tmp230_) + (_tmp233_ * _tmp235_)) + (_tmp238_ * _tmp240_)) + (_tmp243_ * _tmp245_); -#line 506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp246_ = _tmp225_[10]; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp247_ = result_matrix_entries; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp247__length1 = result_matrix_entries_length1; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp248_ = transform; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp249_ = _tmp248_->matrix_entries; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp249__length1 = _tmp248_->matrix_entries_length1; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp250_ = _tmp249_[8]; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp251_ = self->matrix_entries; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp251__length1 = self->matrix_entries_length1; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp252_ = _tmp251_[3]; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp253_ = transform; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp254_ = _tmp253_->matrix_entries; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp254__length1 = _tmp253_->matrix_entries_length1; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp255_ = _tmp254_[9]; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp256_ = self->matrix_entries; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp256__length1 = self->matrix_entries_length1; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp257_ = _tmp256_[7]; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp258_ = transform; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp259_ = _tmp258_->matrix_entries; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp259__length1 = _tmp258_->matrix_entries_length1; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp260_ = _tmp259_[10]; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp261_ = self->matrix_entries; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp261__length1 = self->matrix_entries_length1; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp262_ = _tmp261_[11]; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp263_ = transform; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp264_ = _tmp263_->matrix_entries; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp264__length1 = _tmp263_->matrix_entries_length1; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp265_ = _tmp264_[11]; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp266_ = self->matrix_entries; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp266__length1 = self->matrix_entries_length1; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp267_ = _tmp266_[15]; -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp247_[11] = (((_tmp250_ * _tmp252_) + (_tmp255_ * _tmp257_)) + (_tmp260_ * _tmp262_)) + (_tmp265_ * _tmp267_); -#line 512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp268_ = _tmp247_[11]; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp269_ = result_matrix_entries; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp269__length1 = result_matrix_entries_length1; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp270_ = transform; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp271_ = _tmp270_->matrix_entries; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp271__length1 = _tmp270_->matrix_entries_length1; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp272_ = _tmp271_[12]; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp273_ = self->matrix_entries; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp273__length1 = self->matrix_entries_length1; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp274_ = _tmp273_[0]; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp275_ = transform; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp276_ = _tmp275_->matrix_entries; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp276__length1 = _tmp275_->matrix_entries_length1; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp277_ = _tmp276_[13]; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp278_ = self->matrix_entries; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp278__length1 = self->matrix_entries_length1; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp279_ = _tmp278_[4]; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp280_ = transform; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp281_ = _tmp280_->matrix_entries; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp281__length1 = _tmp280_->matrix_entries_length1; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp282_ = _tmp281_[14]; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp283_ = self->matrix_entries; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp283__length1 = self->matrix_entries_length1; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp284_ = _tmp283_[8]; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp285_ = transform; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp286_ = _tmp285_->matrix_entries; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp286__length1 = _tmp285_->matrix_entries_length1; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp287_ = _tmp286_[15]; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp288_ = self->matrix_entries; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp288__length1 = self->matrix_entries_length1; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp289_ = _tmp288_[12]; -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp269_[12] = (((_tmp272_ * _tmp274_) + (_tmp277_ * _tmp279_)) + (_tmp282_ * _tmp284_)) + (_tmp287_ * _tmp289_); -#line 519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 527 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp290_ = _tmp269_[12]; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp291_ = result_matrix_entries; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp291__length1 = result_matrix_entries_length1; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp292_ = transform; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp293_ = _tmp292_->matrix_entries; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp293__length1 = _tmp292_->matrix_entries_length1; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp294_ = _tmp293_[12]; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp295_ = self->matrix_entries; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp295__length1 = self->matrix_entries_length1; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp296_ = _tmp295_[1]; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp297_ = transform; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp298_ = _tmp297_->matrix_entries; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp298__length1 = _tmp297_->matrix_entries_length1; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp299_ = _tmp298_[13]; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp300_ = self->matrix_entries; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp300__length1 = self->matrix_entries_length1; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp301_ = _tmp300_[5]; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp302_ = transform; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp303_ = _tmp302_->matrix_entries; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp303__length1 = _tmp302_->matrix_entries_length1; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp304_ = _tmp303_[14]; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp305_ = self->matrix_entries; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp305__length1 = self->matrix_entries_length1; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp306_ = _tmp305_[9]; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp307_ = transform; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp308_ = _tmp307_->matrix_entries; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp308__length1 = _tmp307_->matrix_entries_length1; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp309_ = _tmp308_[15]; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp310_ = self->matrix_entries; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp310__length1 = self->matrix_entries_length1; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp311_ = _tmp310_[13]; -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp291_[13] = (((_tmp294_ * _tmp296_) + (_tmp299_ * _tmp301_)) + (_tmp304_ * _tmp306_)) + (_tmp309_ * _tmp311_); -#line 525 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp312_ = _tmp291_[13]; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp313_ = result_matrix_entries; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp313__length1 = result_matrix_entries_length1; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp314_ = transform; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp315_ = _tmp314_->matrix_entries; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp315__length1 = _tmp314_->matrix_entries_length1; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp316_ = _tmp315_[12]; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp317_ = self->matrix_entries; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp317__length1 = self->matrix_entries_length1; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp318_ = _tmp317_[2]; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp319_ = transform; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp320_ = _tmp319_->matrix_entries; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp320__length1 = _tmp319_->matrix_entries_length1; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp321_ = _tmp320_[13]; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp322_ = self->matrix_entries; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp322__length1 = self->matrix_entries_length1; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp323_ = _tmp322_[6]; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp324_ = transform; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp325_ = _tmp324_->matrix_entries; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp325__length1 = _tmp324_->matrix_entries_length1; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp326_ = _tmp325_[14]; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp327_ = self->matrix_entries; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp327__length1 = self->matrix_entries_length1; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp328_ = _tmp327_[10]; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp329_ = transform; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp330_ = _tmp329_->matrix_entries; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp330__length1 = _tmp329_->matrix_entries_length1; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp331_ = _tmp330_[15]; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp332_ = self->matrix_entries; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp332__length1 = self->matrix_entries_length1; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp333_ = _tmp332_[14]; -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp313_[14] = (((_tmp316_ * _tmp318_) + (_tmp321_ * _tmp323_)) + (_tmp326_ * _tmp328_)) + (_tmp331_ * _tmp333_); -#line 531 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp334_ = _tmp313_[14]; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp335_ = result_matrix_entries; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp335__length1 = result_matrix_entries_length1; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp336_ = transform; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp337_ = _tmp336_->matrix_entries; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp337__length1 = _tmp336_->matrix_entries_length1; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp338_ = _tmp337_[12]; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp339_ = self->matrix_entries; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp339__length1 = self->matrix_entries_length1; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp340_ = _tmp339_[3]; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp341_ = transform; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp342_ = _tmp341_->matrix_entries; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp342__length1 = _tmp341_->matrix_entries_length1; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp343_ = _tmp342_[13]; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp344_ = self->matrix_entries; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp344__length1 = self->matrix_entries_length1; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp345_ = _tmp344_[7]; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp346_ = transform; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp347_ = _tmp346_->matrix_entries; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp347__length1 = _tmp346_->matrix_entries_length1; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp348_ = _tmp347_[14]; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp349_ = self->matrix_entries; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp349__length1 = self->matrix_entries_length1; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp350_ = _tmp349_[11]; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp351_ = transform; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp352_ = _tmp351_->matrix_entries; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp352__length1 = _tmp351_->matrix_entries_length1; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp353_ = _tmp352_[15]; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp354_ = self->matrix_entries; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp354__length1 = self->matrix_entries_length1; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp355_ = _tmp354_[15]; -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp335_[15] = (((_tmp338_ * _tmp340_) + (_tmp343_ * _tmp345_)) + (_tmp348_ * _tmp350_)) + (_tmp353_ * _tmp355_); -#line 537 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 545 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp356_ = _tmp335_[15]; -#line 4983 "ColorTransformation.c" +#line 5062 "ColorTransformation.c" { gint i = 0; -#line 543 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 551 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 4988 "ColorTransformation.c" +#line 5067 "ColorTransformation.c" { gboolean _tmp357_ = FALSE; -#line 543 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 551 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp357_ = TRUE; -#line 543 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 551 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 4995 "ColorTransformation.c" +#line 5074 "ColorTransformation.c" gint _tmp359_ = 0; gfloat* _tmp360_ = NULL; gint _tmp360__length1 = 0; @@ -5002,74 +5081,74 @@ static void rgb_transformation_real_compose_with (PixelTransformation* base, Pix gint _tmp363_ = 0; gfloat _tmp364_ = 0.0F; gfloat _tmp365_ = 0.0F; -#line 543 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 551 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp357_) { -#line 5007 "ColorTransformation.c" +#line 5086 "ColorTransformation.c" gint _tmp358_ = 0; -#line 543 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 551 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp358_ = i; -#line 543 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 551 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp358_ + 1; -#line 5013 "ColorTransformation.c" +#line 5092 "ColorTransformation.c" } -#line 543 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 551 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp357_ = FALSE; -#line 543 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 551 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp359_ = i; -#line 543 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 551 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp359_ < RGB_TRANSFORMATION_MATRIX_SIZE)) { -#line 543 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 551 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 5023 "ColorTransformation.c" +#line 5102 "ColorTransformation.c" } -#line 544 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 552 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp360_ = self->matrix_entries; -#line 544 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 552 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp360__length1 = self->matrix_entries_length1; -#line 544 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 552 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp361_ = i; -#line 544 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 552 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp362_ = result_matrix_entries; -#line 544 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 552 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp362__length1 = result_matrix_entries_length1; -#line 544 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 552 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp363_ = i; -#line 544 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 552 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp364_ = _tmp362_[_tmp363_]; -#line 544 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 552 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp360_[_tmp361_] = _tmp364_; -#line 544 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 552 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp365_ = _tmp360_[_tmp361_]; -#line 5043 "ColorTransformation.c" +#line 5122 "ColorTransformation.c" } } } -#line 546 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp367_ = self->identity; -#line 546 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp367_) { -#line 5051 "ColorTransformation.c" +#line 5130 "ColorTransformation.c" RGBTransformation* _tmp368_ = NULL; gboolean _tmp369_ = FALSE; -#line 546 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp368_ = transform; -#line 546 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp369_ = _tmp368_->identity; -#line 546 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp366_ = _tmp369_; -#line 5060 "ColorTransformation.c" +#line 5139 "ColorTransformation.c" } else { -#line 546 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp366_ = FALSE; -#line 5064 "ColorTransformation.c" +#line 5143 "ColorTransformation.c" } -#line 546 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->identity = _tmp366_; -#line 434 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 442 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result_matrix_entries = (g_free (result_matrix_entries), NULL); -#line 434 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 442 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (transform); -#line 5072 "ColorTransformation.c" +#line 5151 "ColorTransformation.c" } @@ -5078,21 +5157,21 @@ static void rgb_transformation_real_transform_pixel_hsv (PixelTransformation* ba RGBAnalyticPixel _tmp0_ = {0}; RGBAnalyticPixel _tmp1_ = {0}; HSVAnalyticPixel _tmp2_ = {0}; -#line 549 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 557 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_RGB_TRANSFORMATION, RGBTransformation); -#line 549 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 557 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (p != NULL); -#line 550 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 558 "/home/jens/Source/shotwell/src/ColorTransformation.vala" hsv_analytic_pixel_to_rgb (p, &_tmp0_); -#line 550 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 558 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_transform_pixel_rgb (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), &_tmp0_, &_tmp1_); -#line 550 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 558 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_analytic_pixel_to_hsv (&_tmp1_, &_tmp2_); -#line 550 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 558 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *result = _tmp2_; -#line 550 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 558 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return; -#line 5095 "ColorTransformation.c" +#line 5174 "ColorTransformation.c" } @@ -5165,155 +5244,155 @@ static void rgb_transformation_real_transform_pixel_rgb (PixelTransformation* ba gfloat _tmp49_ = 0.0F; gfloat _tmp50_ = 0.0F; RGBAnalyticPixel _tmp51_ = {0}; -#line 553 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 561 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_RGB_TRANSFORMATION, RGBTransformation); -#line 553 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 561 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (p != NULL); -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = *p; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = _tmp0_.red; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = self->matrix_entries; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2__length1 = self->matrix_entries_length1; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = _tmp2_[0]; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = *p; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = _tmp4_.green; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = self->matrix_entries; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6__length1 = self->matrix_entries_length1; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = _tmp6_[1]; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = *p; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = _tmp8_.blue; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = self->matrix_entries; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10__length1 = self->matrix_entries_length1; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = _tmp10_[2]; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = self->matrix_entries; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12__length1 = self->matrix_entries_length1; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = _tmp12_[3]; -#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 562 "/home/jens/Source/shotwell/src/ColorTransformation.vala" red_out = (((_tmp1_ * _tmp3_) + (_tmp5_ * _tmp7_)) + (_tmp9_ * _tmp11_)) + _tmp13_; -#line 558 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = red_out; -#line 558 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = CLAMP (_tmp14_, 0.0f, 1.0f); -#line 558 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" red_out = _tmp15_; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = *p; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = _tmp16_.red; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = self->matrix_entries; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18__length1 = self->matrix_entries_length1; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = _tmp18_[4]; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = *p; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = _tmp20_.green; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = self->matrix_entries; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22__length1 = self->matrix_entries_length1; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = _tmp22_[5]; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = *p; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = _tmp24_.blue; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = self->matrix_entries; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26__length1 = self->matrix_entries_length1; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = _tmp26_[6]; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = self->matrix_entries; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28__length1 = self->matrix_entries_length1; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = _tmp28_[7]; -#line 560 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 568 "/home/jens/Source/shotwell/src/ColorTransformation.vala" green_out = (((_tmp17_ * _tmp19_) + (_tmp21_ * _tmp23_)) + (_tmp25_ * _tmp27_)) + _tmp29_; -#line 564 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 572 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_ = green_out; -#line 564 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 572 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_ = CLAMP (_tmp30_, 0.0f, 1.0f); -#line 564 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 572 "/home/jens/Source/shotwell/src/ColorTransformation.vala" green_out = _tmp31_; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32_ = *p; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp33_ = _tmp32_.red; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34_ = self->matrix_entries; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34__length1 = self->matrix_entries_length1; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_ = _tmp34_[8]; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36_ = *p; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp37_ = _tmp36_.green; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_ = self->matrix_entries; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38__length1 = self->matrix_entries_length1; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39_ = _tmp38_[9]; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp40_ = *p; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41_ = _tmp40_.blue; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp42_ = self->matrix_entries; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp42__length1 = self->matrix_entries_length1; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43_ = _tmp42_[10]; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp44_ = self->matrix_entries; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp44__length1 = self->matrix_entries_length1; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp45_ = _tmp44_[11]; -#line 566 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 574 "/home/jens/Source/shotwell/src/ColorTransformation.vala" blue_out = (((_tmp33_ * _tmp35_) + (_tmp37_ * _tmp39_)) + (_tmp41_ * _tmp43_)) + _tmp45_; -#line 570 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 578 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp46_ = blue_out; -#line 570 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 578 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp47_ = CLAMP (_tmp46_, 0.0f, 1.0f); -#line 570 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 578 "/home/jens/Source/shotwell/src/ColorTransformation.vala" blue_out = _tmp47_; -#line 572 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 580 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48_ = red_out; -#line 572 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 580 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp49_ = green_out; -#line 572 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 580 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp50_ = blue_out; -#line 572 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 580 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_analytic_pixel_init_from_components (&_tmp51_, _tmp48_, _tmp49_, _tmp50_); -#line 572 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 580 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *result = _tmp51_; -#line 572 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 580 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return; -#line 5316 "ColorTransformation.c" +#line 5395 "ColorTransformation.c" } @@ -5321,15 +5400,15 @@ static gboolean rgb_transformation_real_is_identity (PixelTransformation* base) RGBTransformation * self; gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 575 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 583 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_RGB_TRANSFORMATION, RGBTransformation); -#line 576 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 584 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->identity; -#line 576 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 584 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_; -#line 576 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 584 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 5332 "ColorTransformation.c" +#line 5411 "ColorTransformation.c" } @@ -5339,27 +5418,27 @@ static PixelTransformation* rgb_transformation_real_copy (PixelTransformation* b RGBTransformation* _result_ = NULL; PixelTransformationType _tmp0_ = 0; RGBTransformation* _tmp1_ = NULL; -#line 579 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 587 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_RGB_TRANSFORMATION, RGBTransformation); -#line 580 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 588 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = pixel_transformation_get_transformation_type (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 580 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 588 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = rgb_transformation_new (_tmp0_); -#line 580 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 588 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _result_ = _tmp1_; -#line 5350 "ColorTransformation.c" +#line 5429 "ColorTransformation.c" { gint i = 0; -#line 582 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 5355 "ColorTransformation.c" +#line 5434 "ColorTransformation.c" { gboolean _tmp2_ = FALSE; -#line 582 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = TRUE; -#line 582 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 5362 "ColorTransformation.c" +#line 5441 "ColorTransformation.c" gint _tmp4_ = 0; RGBTransformation* _tmp5_ = NULL; gfloat* _tmp6_ = NULL; @@ -5370,97 +5449,97 @@ static PixelTransformation* rgb_transformation_real_copy (PixelTransformation* b gint _tmp9_ = 0; gfloat _tmp10_ = 0.0F; gfloat _tmp11_ = 0.0F; -#line 582 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp2_) { -#line 5375 "ColorTransformation.c" +#line 5454 "ColorTransformation.c" gint _tmp3_ = 0; -#line 582 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = i; -#line 582 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp3_ + 1; -#line 5381 "ColorTransformation.c" +#line 5460 "ColorTransformation.c" } -#line 582 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = FALSE; -#line 582 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = i; -#line 582 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp4_ < RGB_TRANSFORMATION_MATRIX_SIZE)) { -#line 582 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 5391 "ColorTransformation.c" +#line 5470 "ColorTransformation.c" } -#line 583 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 591 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = _result_; -#line 583 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 591 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = _tmp5_->matrix_entries; -#line 583 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 591 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6__length1 = _tmp5_->matrix_entries_length1; -#line 583 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 591 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = i; -#line 583 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 591 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = self->matrix_entries; -#line 583 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 591 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8__length1 = self->matrix_entries_length1; -#line 583 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 591 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = i; -#line 583 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 591 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = _tmp8_[_tmp9_]; -#line 583 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 591 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_[_tmp7_] = _tmp10_; -#line 583 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 591 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = _tmp6_[_tmp7_]; -#line 5413 "ColorTransformation.c" +#line 5492 "ColorTransformation.c" } } } -#line 586 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 594 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_result_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation); -#line 586 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 594 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 5421 "ColorTransformation.c" +#line 5500 "ColorTransformation.c" } static void rgb_transformation_class_init (RGBTransformationClass * klass) { -#line 403 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_transformation_parent_class = g_type_class_peek_parent (klass); -#line 403 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->finalize = rgb_transformation_finalize; -#line 403 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->get_preferred_format = rgb_transformation_real_get_preferred_format; -#line 403 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->get_composition_mode = rgb_transformation_real_get_composition_mode; -#line 403 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->compose_with = rgb_transformation_real_compose_with; -#line 403 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->transform_pixel_hsv = rgb_transformation_real_transform_pixel_hsv; -#line 403 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->transform_pixel_rgb = rgb_transformation_real_transform_pixel_rgb; -#line 403 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->is_identity = rgb_transformation_real_is_identity; -#line 403 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->copy = rgb_transformation_real_copy; -#line 5444 "ColorTransformation.c" +#line 5523 "ColorTransformation.c" } static void rgb_transformation_instance_init (RGBTransformation * self) { -#line 410 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 418 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->identity = TRUE; -#line 5451 "ColorTransformation.c" +#line 5530 "ColorTransformation.c" } static void rgb_transformation_finalize (PixelTransformation* obj) { RGBTransformation * self; -#line 403 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_RGB_TRANSFORMATION, RGBTransformation); -#line 406 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 414 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->matrix_entries = (g_free (self->matrix_entries), NULL); -#line 403 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala" PIXEL_TRANSFORMATION_CLASS (rgb_transformation_parent_class)->finalize (obj); -#line 5463 "ColorTransformation.c" +#line 5542 "ColorTransformation.c" } @@ -5479,26 +5558,26 @@ GType rgb_transformation_get_type (void) { HSVTransformation* hsv_transformation_construct (GType object_type, PixelTransformationType type) { HSVTransformation* self = NULL; PixelTransformationType _tmp0_ = 0; -#line 592 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 600 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = type; -#line 592 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 600 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (HSVTransformation*) pixel_transformation_construct (object_type, _tmp0_); -#line 591 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 599 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 5488 "ColorTransformation.c" +#line 5567 "ColorTransformation.c" } static PixelFormat hsv_transformation_real_get_preferred_format (PixelTransformation* base) { HSVTransformation * self; PixelFormat result = 0; -#line 595 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 603 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_HSV_TRANSFORMATION, HSVTransformation); -#line 596 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 604 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = PIXEL_FORMAT_HSV; -#line 596 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 604 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 5501 "ColorTransformation.c" +#line 5580 "ColorTransformation.c" } @@ -5507,32 +5586,32 @@ static void hsv_transformation_real_transform_pixel_rgb (PixelTransformation* ba HSVAnalyticPixel _tmp0_ = {0}; HSVAnalyticPixel _tmp1_ = {0}; RGBAnalyticPixel _tmp2_ = {0}; -#line 599 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 607 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_HSV_TRANSFORMATION, HSVTransformation); -#line 599 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 607 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (p != NULL); -#line 600 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 608 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_analytic_pixel_to_hsv (p, &_tmp0_); -#line 600 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 608 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_transform_pixel_hsv (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), &_tmp0_, &_tmp1_); -#line 600 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 608 "/home/jens/Source/shotwell/src/ColorTransformation.vala" hsv_analytic_pixel_to_rgb (&_tmp1_, &_tmp2_); -#line 600 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 608 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *result = _tmp2_; -#line 600 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 608 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return; -#line 5524 "ColorTransformation.c" +#line 5603 "ColorTransformation.c" } static void hsv_transformation_class_init (HSVTransformationClass * klass) { -#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 598 "/home/jens/Source/shotwell/src/ColorTransformation.vala" hsv_transformation_parent_class = g_type_class_peek_parent (klass); -#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 598 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->get_preferred_format = hsv_transformation_real_get_preferred_format; -#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 598 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->transform_pixel_rgb = hsv_transformation_real_transform_pixel_rgb; -#line 5535 "ColorTransformation.c" +#line 5614 "ColorTransformation.c" } @@ -5557,19 +5636,19 @@ TintTransformation* tint_transformation_construct (GType object_type, gfloat cli gfloat _tmp0_ = 0.0F; gfloat _tmp1_ = 0.0F; gfloat _tmp2_ = 0.0F; -#line 612 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 620 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (TintTransformation*) rgb_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_TINT); -#line 614 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 622 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = client_param; -#line 614 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 622 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = CLAMP (_tmp0_, TINT_TRANSFORMATION_MIN_PARAMETER, TINT_TRANSFORMATION_MAX_PARAMETER); -#line 614 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 622 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->parameter = _tmp1_; -#line 616 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 624 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = self->priv->parameter; -#line 616 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 624 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp2_ != 0.0f) { -#line 5572 "ColorTransformation.c" +#line 5651 "ColorTransformation.c" gfloat adjusted_param = 0.0F; gfloat _tmp3_ = 0.0F; gfloat _tmp4_ = 0.0F; @@ -5585,101 +5664,101 @@ TintTransformation* tint_transformation_construct (GType object_type, gfloat cli gint _tmp11__length1 = 0; gfloat _tmp12_ = 0.0F; gfloat _tmp13_ = 0.0F; -#line 617 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 625 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = self->priv->parameter; -#line 617 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 625 "/home/jens/Source/shotwell/src/ColorTransformation.vala" adjusted_param = _tmp3_ / TINT_TRANSFORMATION_MAX_PARAMETER; -#line 618 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 626 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = adjusted_param; -#line 618 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 626 "/home/jens/Source/shotwell/src/ColorTransformation.vala" adjusted_param = _tmp4_ * TINT_TRANSFORMATION_INTENSITY_FACTOR; -#line 620 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 628 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 620 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 628 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 620 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 628 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = adjusted_param; -#line 620 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 628 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_[11] -= _tmp6_ / 2; -#line 620 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 628 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = _tmp5_[11]; -#line 621 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 629 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 621 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 629 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 621 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 629 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = adjusted_param; -#line 621 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 629 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_[7] += _tmp9_; -#line 621 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 629 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = _tmp8_[7]; -#line 622 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 630 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 622 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 630 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 622 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 630 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = adjusted_param; -#line 622 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 630 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_[3] -= _tmp12_ / 2; -#line 622 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 630 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = _tmp11_[3]; -#line 624 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 632 "/home/jens/Source/shotwell/src/ColorTransformation.vala" G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->identity = FALSE; -#line 5628 "ColorTransformation.c" +#line 5707 "ColorTransformation.c" } -#line 611 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 619 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 5632 "ColorTransformation.c" +#line 5711 "ColorTransformation.c" } TintTransformation* tint_transformation_new (gfloat client_param) { -#line 611 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 619 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return tint_transformation_construct (TYPE_TINT_TRANSFORMATION, client_param); -#line 5639 "ColorTransformation.c" +#line 5718 "ColorTransformation.c" } gfloat tint_transformation_get_parameter (TintTransformation* self) { gfloat result = 0.0F; gfloat _tmp0_ = 0.0F; -#line 628 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 636 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_TINT_TRANSFORMATION (self), 0.0F); -#line 629 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 637 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->parameter; -#line 629 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 637 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_; -#line 629 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 637 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 5654 "ColorTransformation.c" +#line 5733 "ColorTransformation.c" } static void tint_transformation_class_init (TintTransformationClass * klass) { -#line 604 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 612 "/home/jens/Source/shotwell/src/ColorTransformation.vala" tint_transformation_parent_class = g_type_class_peek_parent (klass); -#line 604 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 612 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->finalize = tint_transformation_finalize; -#line 604 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 612 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_class_add_private (klass, sizeof (TintTransformationPrivate)); -#line 5665 "ColorTransformation.c" +#line 5744 "ColorTransformation.c" } static void tint_transformation_instance_init (TintTransformation * self) { -#line 604 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 612 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv = TINT_TRANSFORMATION_GET_PRIVATE (self); -#line 5672 "ColorTransformation.c" +#line 5751 "ColorTransformation.c" } static void tint_transformation_finalize (PixelTransformation* obj) { TintTransformation * self; -#line 604 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 612 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_TINT_TRANSFORMATION, TintTransformation); -#line 604 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 612 "/home/jens/Source/shotwell/src/ColorTransformation.vala" PIXEL_TRANSFORMATION_CLASS (tint_transformation_parent_class)->finalize (obj); -#line 5682 "ColorTransformation.c" +#line 5761 "ColorTransformation.c" } @@ -5700,19 +5779,19 @@ TemperatureTransformation* temperature_transformation_construct (GType object_ty gfloat _tmp0_ = 0.0F; gfloat _tmp1_ = 0.0F; gfloat _tmp2_ = 0.0F; -#line 641 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 649 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (TemperatureTransformation*) rgb_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_TEMPERATURE); -#line 643 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 651 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = client_parameter; -#line 643 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 651 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = CLAMP (_tmp0_, TEMPERATURE_TRANSFORMATION_MIN_PARAMETER, TEMPERATURE_TRANSFORMATION_MAX_PARAMETER); -#line 643 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 651 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->parameter = _tmp1_; -#line 645 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 653 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = self->priv->parameter; -#line 645 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 653 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp2_ != 0.0f) { -#line 5715 "ColorTransformation.c" +#line 5794 "ColorTransformation.c" gfloat adjusted_param = 0.0F; gfloat _tmp3_ = 0.0F; gfloat _tmp4_ = 0.0F; @@ -5728,101 +5807,101 @@ TemperatureTransformation* temperature_transformation_construct (GType object_ty gint _tmp11__length1 = 0; gfloat _tmp12_ = 0.0F; gfloat _tmp13_ = 0.0F; -#line 646 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 654 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = self->priv->parameter; -#line 646 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 654 "/home/jens/Source/shotwell/src/ColorTransformation.vala" adjusted_param = _tmp3_ / TEMPERATURE_TRANSFORMATION_MAX_PARAMETER; -#line 647 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 655 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = adjusted_param; -#line 647 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 655 "/home/jens/Source/shotwell/src/ColorTransformation.vala" adjusted_param = _tmp4_ * TEMPERATURE_TRANSFORMATION_INTENSITY_FACTOR; -#line 649 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 657 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 649 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 657 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 649 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 657 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = adjusted_param; -#line 649 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 657 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_[11] -= _tmp6_; -#line 649 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 657 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = _tmp5_[11]; -#line 650 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 658 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 650 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 658 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 650 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 658 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = adjusted_param; -#line 650 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 658 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_[7] += _tmp9_ / 2; -#line 650 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 658 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = _tmp8_[7]; -#line 651 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 659 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 651 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 659 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 651 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 659 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = adjusted_param; -#line 651 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 659 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_[3] += _tmp12_ / 2; -#line 651 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 659 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = _tmp11_[3]; -#line 653 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 661 "/home/jens/Source/shotwell/src/ColorTransformation.vala" G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->identity = FALSE; -#line 5771 "ColorTransformation.c" +#line 5850 "ColorTransformation.c" } -#line 640 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 648 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 5775 "ColorTransformation.c" +#line 5854 "ColorTransformation.c" } TemperatureTransformation* temperature_transformation_new (gfloat client_parameter) { -#line 640 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 648 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return temperature_transformation_construct (TYPE_TEMPERATURE_TRANSFORMATION, client_parameter); -#line 5782 "ColorTransformation.c" +#line 5861 "ColorTransformation.c" } gfloat temperature_transformation_get_parameter (TemperatureTransformation* self) { gfloat result = 0.0F; gfloat _tmp0_ = 0.0F; -#line 657 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 665 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_TEMPERATURE_TRANSFORMATION (self), 0.0F); -#line 658 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 666 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->parameter; -#line 658 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 666 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_; -#line 658 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 666 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 5797 "ColorTransformation.c" +#line 5876 "ColorTransformation.c" } static void temperature_transformation_class_init (TemperatureTransformationClass * klass) { -#line 633 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 641 "/home/jens/Source/shotwell/src/ColorTransformation.vala" temperature_transformation_parent_class = g_type_class_peek_parent (klass); -#line 633 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 641 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->finalize = temperature_transformation_finalize; -#line 633 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 641 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_class_add_private (klass, sizeof (TemperatureTransformationPrivate)); -#line 5808 "ColorTransformation.c" +#line 5887 "ColorTransformation.c" } static void temperature_transformation_instance_init (TemperatureTransformation * self) { -#line 633 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 641 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv = TEMPERATURE_TRANSFORMATION_GET_PRIVATE (self); -#line 5815 "ColorTransformation.c" +#line 5894 "ColorTransformation.c" } static void temperature_transformation_finalize (PixelTransformation* obj) { TemperatureTransformation * self; -#line 633 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 641 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_TEMPERATURE_TRANSFORMATION, TemperatureTransformation); -#line 633 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 641 "/home/jens/Source/shotwell/src/ColorTransformation.vala" PIXEL_TRANSFORMATION_CLASS (temperature_transformation_parent_class)->finalize (obj); -#line 5825 "ColorTransformation.c" +#line 5904 "ColorTransformation.c" } @@ -5843,19 +5922,19 @@ SaturationTransformation* saturation_transformation_construct (GType object_type gfloat _tmp0_ = 0.0F; gfloat _tmp1_ = 0.0F; gfloat _tmp2_ = 0.0F; -#line 669 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 677 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (SaturationTransformation*) rgb_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_SATURATION); -#line 671 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 679 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = client_parameter; -#line 671 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 679 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = CLAMP (_tmp0_, SATURATION_TRANSFORMATION_MIN_PARAMETER, SATURATION_TRANSFORMATION_MAX_PARAMETER); -#line 671 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 679 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->parameter = _tmp1_; -#line 673 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 681 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = self->priv->parameter; -#line 673 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 681 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp2_ != 0.0f) { -#line 5858 "ColorTransformation.c" +#line 5937 "ColorTransformation.c" gfloat adjusted_param = 0.0F; gfloat _tmp3_ = 0.0F; gfloat _tmp4_ = 0.0F; @@ -5908,187 +5987,187 @@ SaturationTransformation* saturation_transformation_construct (GType object_type gfloat _tmp41_ = 0.0F; gfloat _tmp42_ = 0.0F; gfloat _tmp43_ = 0.0F; -#line 674 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 682 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = self->priv->parameter; -#line 674 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 682 "/home/jens/Source/shotwell/src/ColorTransformation.vala" adjusted_param = _tmp3_ / SATURATION_TRANSFORMATION_MAX_PARAMETER; -#line 675 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 683 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = adjusted_param; -#line 675 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 683 "/home/jens/Source/shotwell/src/ColorTransformation.vala" adjusted_param = _tmp4_ + 1.0f; -#line 677 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 685 "/home/jens/Source/shotwell/src/ColorTransformation.vala" one_third = 0.3333333f; -#line 679 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 687 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 679 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 687 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 679 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 687 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = adjusted_param; -#line 679 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 687 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = one_third; -#line 679 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 687 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = adjusted_param; -#line 679 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 687 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_[0] = ((1.0f - _tmp6_) * _tmp7_) + _tmp8_; -#line 679 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 687 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = _tmp5_[0]; -#line 681 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 689 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 681 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 689 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 681 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 689 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = adjusted_param; -#line 681 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 689 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = one_third; -#line 681 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 689 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_[1] = (1.0f - _tmp11_) * _tmp12_; -#line 681 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 689 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = _tmp10_[1]; -#line 682 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 690 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 682 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 690 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 682 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 690 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = adjusted_param; -#line 682 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 690 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = one_third; -#line 682 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 690 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_[2] = (1.0f - _tmp15_) * _tmp16_; -#line 682 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 690 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = _tmp14_[2]; -#line 684 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 692 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 684 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 692 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 684 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 692 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = adjusted_param; -#line 684 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 692 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = one_third; -#line 684 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 692 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_[4] = (1.0f - _tmp19_) * _tmp20_; -#line 684 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 692 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = _tmp18_[4]; -#line 685 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 693 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 685 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 693 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 685 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 693 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = adjusted_param; -#line 685 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 693 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = one_third; -#line 685 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 693 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = adjusted_param; -#line 685 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 693 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_[5] = ((1.0f - _tmp23_) * _tmp24_) + _tmp25_; -#line 685 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 693 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = _tmp22_[5]; -#line 687 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 695 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 687 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 695 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 687 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 695 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = adjusted_param; -#line 687 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 695 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = one_third; -#line 687 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 695 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_[6] = (1.0f - _tmp28_) * _tmp29_; -#line 687 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 695 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_ = _tmp27_[6]; -#line 689 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 697 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 689 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 697 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 689 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 697 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32_ = adjusted_param; -#line 689 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 697 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp33_ = one_third; -#line 689 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 697 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_[8] = (1.0f - _tmp32_) * _tmp33_; -#line 689 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 697 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34_ = _tmp31_[8]; -#line 690 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 698 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 690 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 698 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 690 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 698 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36_ = adjusted_param; -#line 690 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 698 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp37_ = one_third; -#line 690 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 698 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_[9] = (1.0f - _tmp36_) * _tmp37_; -#line 690 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 698 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_ = _tmp35_[9]; -#line 691 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 699 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 691 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 699 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 691 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 699 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp40_ = adjusted_param; -#line 691 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 699 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41_ = one_third; -#line 691 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 699 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp42_ = adjusted_param; -#line 691 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 699 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39_[10] = ((1.0f - _tmp40_) * _tmp41_) + _tmp42_; -#line 691 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 699 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43_ = _tmp39_[10]; -#line 694 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 702 "/home/jens/Source/shotwell/src/ColorTransformation.vala" G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->identity = FALSE; -#line 6037 "ColorTransformation.c" +#line 6116 "ColorTransformation.c" } -#line 668 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 676 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 6041 "ColorTransformation.c" +#line 6120 "ColorTransformation.c" } SaturationTransformation* saturation_transformation_new (gfloat client_parameter) { -#line 668 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 676 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return saturation_transformation_construct (TYPE_SATURATION_TRANSFORMATION, client_parameter); -#line 6048 "ColorTransformation.c" +#line 6127 "ColorTransformation.c" } gfloat saturation_transformation_get_parameter (SaturationTransformation* self) { gfloat result = 0.0F; gfloat _tmp0_ = 0.0F; -#line 698 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 706 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_SATURATION_TRANSFORMATION (self), 0.0F); -#line 699 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 707 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->parameter; -#line 699 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 707 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_; -#line 699 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 707 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 6063 "ColorTransformation.c" +#line 6142 "ColorTransformation.c" } static void saturation_transformation_class_init (SaturationTransformationClass * klass) { -#line 662 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 670 "/home/jens/Source/shotwell/src/ColorTransformation.vala" saturation_transformation_parent_class = g_type_class_peek_parent (klass); -#line 662 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 670 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->finalize = saturation_transformation_finalize; -#line 662 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 670 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_class_add_private (klass, sizeof (SaturationTransformationPrivate)); -#line 6074 "ColorTransformation.c" +#line 6153 "ColorTransformation.c" } static void saturation_transformation_instance_init (SaturationTransformation * self) { -#line 662 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 670 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv = SATURATION_TRANSFORMATION_GET_PRIVATE (self); -#line 6081 "ColorTransformation.c" +#line 6160 "ColorTransformation.c" } static void saturation_transformation_finalize (PixelTransformation* obj) { SaturationTransformation * self; -#line 662 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 670 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SATURATION_TRANSFORMATION, SaturationTransformation); -#line 662 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 670 "/home/jens/Source/shotwell/src/ColorTransformation.vala" PIXEL_TRANSFORMATION_CLASS (saturation_transformation_parent_class)->finalize (obj); -#line 6091 "ColorTransformation.c" +#line 6170 "ColorTransformation.c" } @@ -6109,19 +6188,19 @@ ExposureTransformation* exposure_transformation_construct (GType object_type, gf gfloat _tmp0_ = 0.0F; gfloat _tmp1_ = 0.0F; gfloat _tmp2_ = 0.0F; -#line 710 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 718 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (ExposureTransformation*) rgb_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_EXPOSURE); -#line 712 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 720 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = client_parameter; -#line 712 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 720 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = CLAMP (_tmp0_, EXPOSURE_TRANSFORMATION_MIN_PARAMETER, EXPOSURE_TRANSFORMATION_MAX_PARAMETER); -#line 712 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 720 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->parameter = _tmp1_; -#line 714 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 722 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = self->priv->parameter; -#line 714 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 722 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp2_ != 0.0f) { -#line 6124 "ColorTransformation.c" +#line 6203 "ColorTransformation.c" gfloat adjusted_param = 0.0F; gfloat _tmp3_ = 0.0F; gfloat* _tmp4_ = NULL; @@ -6136,97 +6215,97 @@ ExposureTransformation* exposure_transformation_construct (GType object_type, gf gint _tmp10__length1 = 0; gfloat _tmp11_ = 0.0F; gfloat _tmp12_ = 0.0F; -#line 716 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 724 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = self->priv->parameter; -#line 716 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 724 "/home/jens/Source/shotwell/src/ColorTransformation.vala" adjusted_param = ((_tmp3_ + 16.0f) / 32.0f) + 0.5f; -#line 718 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 726 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 718 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 726 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 718 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 726 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = adjusted_param; -#line 718 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 726 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_[0] = _tmp5_; -#line 718 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 726 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = _tmp4_[0]; -#line 719 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 727 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 719 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 727 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 719 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 727 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = adjusted_param; -#line 719 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 727 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_[5] = _tmp8_; -#line 719 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 727 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = _tmp7_[5]; -#line 720 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 728 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; -#line 720 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 728 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; -#line 720 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 728 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = adjusted_param; -#line 720 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 728 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_[10] = _tmp11_; -#line 720 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 728 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = _tmp10_[10]; -#line 722 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 730 "/home/jens/Source/shotwell/src/ColorTransformation.vala" G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->identity = FALSE; -#line 6175 "ColorTransformation.c" +#line 6254 "ColorTransformation.c" } -#line 709 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 717 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 6179 "ColorTransformation.c" +#line 6258 "ColorTransformation.c" } ExposureTransformation* exposure_transformation_new (gfloat client_parameter) { -#line 709 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 717 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return exposure_transformation_construct (TYPE_EXPOSURE_TRANSFORMATION, client_parameter); -#line 6186 "ColorTransformation.c" +#line 6265 "ColorTransformation.c" } gfloat exposure_transformation_get_parameter (ExposureTransformation* self) { gfloat result = 0.0F; gfloat _tmp0_ = 0.0F; -#line 726 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 734 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_EXPOSURE_TRANSFORMATION (self), 0.0F); -#line 727 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 735 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->parameter; -#line 727 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 735 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_; -#line 727 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 735 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 6201 "ColorTransformation.c" +#line 6280 "ColorTransformation.c" } static void exposure_transformation_class_init (ExposureTransformationClass * klass) { -#line 703 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 711 "/home/jens/Source/shotwell/src/ColorTransformation.vala" exposure_transformation_parent_class = g_type_class_peek_parent (klass); -#line 703 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 711 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->finalize = exposure_transformation_finalize; -#line 703 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 711 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_class_add_private (klass, sizeof (ExposureTransformationPrivate)); -#line 6212 "ColorTransformation.c" +#line 6291 "ColorTransformation.c" } static void exposure_transformation_instance_init (ExposureTransformation * self) { -#line 703 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 711 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv = EXPOSURE_TRANSFORMATION_GET_PRIVATE (self); -#line 6219 "ColorTransformation.c" +#line 6298 "ColorTransformation.c" } static void exposure_transformation_finalize (PixelTransformation* obj) { ExposureTransformation * self; -#line 703 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 711 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_EXPOSURE_TRANSFORMATION, ExposureTransformation); -#line 703 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 711 "/home/jens/Source/shotwell/src/ColorTransformation.vala" PIXEL_TRANSFORMATION_CLASS (exposure_transformation_parent_class)->finalize (obj); -#line 6229 "ColorTransformation.c" +#line 6308 "ColorTransformation.c" } @@ -6242,27 +6321,219 @@ GType exposure_transformation_get_type (void) { } +ContrastTransformation* contrast_transformation_construct (GType object_type, gfloat client_parameter) { + ContrastTransformation* self = NULL; + gfloat _tmp0_ = 0.0F; + gfloat _tmp1_ = 0.0F; + gfloat _tmp2_ = 0.0F; +#line 748 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + self = (ContrastTransformation*) rgb_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_CONTRAST); +#line 750 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp0_ = client_parameter; +#line 750 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp1_ = CLAMP (_tmp0_, CONTRAST_TRANSFORMATION_MIN_PARAMETER, CONTRAST_TRANSFORMATION_MAX_PARAMETER); +#line 750 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + self->priv->parameter = _tmp1_; +#line 752 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp2_ = self->priv->parameter; +#line 752 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + if (_tmp2_ != 0.0f) { +#line 6341 "ColorTransformation.c" + gfloat contrast_adjustment = 0.0F; + gfloat _tmp3_ = 0.0F; + gfloat component_coefficient = 0.0F; + gfloat _tmp4_ = 0.0F; + gfloat component_offset = 0.0F; + gfloat _tmp5_ = 0.0F; + gfloat* _tmp6_ = NULL; + gint _tmp6__length1 = 0; + gfloat _tmp7_ = 0.0F; + gfloat _tmp8_ = 0.0F; + gfloat* _tmp9_ = NULL; + gint _tmp9__length1 = 0; + gfloat _tmp10_ = 0.0F; + gfloat _tmp11_ = 0.0F; + gfloat* _tmp12_ = NULL; + gint _tmp12__length1 = 0; + gfloat _tmp13_ = 0.0F; + gfloat _tmp14_ = 0.0F; + gfloat* _tmp15_ = NULL; + gint _tmp15__length1 = 0; + gfloat _tmp16_ = 0.0F; + gfloat _tmp17_ = 0.0F; + gfloat* _tmp18_ = NULL; + gint _tmp18__length1 = 0; + gfloat _tmp19_ = 0.0F; + gfloat _tmp20_ = 0.0F; + gfloat* _tmp21_ = NULL; + gint _tmp21__length1 = 0; + gfloat _tmp22_ = 0.0F; + gfloat _tmp23_ = 0.0F; +#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp3_ = self->priv->parameter; +#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + contrast_adjustment = (_tmp3_ / 16.0f) * CONTRAST_TRANSFORMATION_MAX_CONTRAST_ADJUSTMENT; +#line 755 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp4_ = contrast_adjustment; +#line 755 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + component_coefficient = 1.0f + _tmp4_; +#line 756 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp5_ = contrast_adjustment; +#line 756 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + component_offset = _tmp5_ / (-2.0f); +#line 758 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; +#line 758 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp6__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; +#line 758 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp7_ = component_coefficient; +#line 758 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp6_[0] = _tmp7_; +#line 758 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp8_ = _tmp6_[0]; +#line 759 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; +#line 759 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp9__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; +#line 759 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp10_ = component_coefficient; +#line 759 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp9_[5] = _tmp10_; +#line 759 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp11_ = _tmp9_[5]; +#line 760 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp12_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; +#line 760 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp12__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; +#line 760 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp13_ = component_coefficient; +#line 760 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp12_[10] = _tmp13_; +#line 760 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp14_ = _tmp12_[10]; +#line 762 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp15_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; +#line 762 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp15__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; +#line 762 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp16_ = component_offset; +#line 762 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp15_[3] = _tmp16_; +#line 762 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp17_ = _tmp15_[3]; +#line 763 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp18_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; +#line 763 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp18__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; +#line 763 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp19_ = component_offset; +#line 763 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp18_[7] = _tmp19_; +#line 763 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp20_ = _tmp18_[7]; +#line 764 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp21_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries; +#line 764 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp21__length1 = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->matrix_entries_length1; +#line 764 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp22_ = component_offset; +#line 764 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp21_[11] = _tmp22_; +#line 764 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp23_ = _tmp21_[11]; +#line 766 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_RGB_TRANSFORMATION, RGBTransformation)->identity = FALSE; +#line 6446 "ColorTransformation.c" + } +#line 747 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + return self; +#line 6450 "ColorTransformation.c" +} + + +ContrastTransformation* contrast_transformation_new (gfloat client_parameter) { +#line 747 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + return contrast_transformation_construct (TYPE_CONTRAST_TRANSFORMATION, client_parameter); +#line 6457 "ColorTransformation.c" +} + + +gfloat contrast_transformation_get_parameter (ContrastTransformation* self) { + gfloat result = 0.0F; + gfloat _tmp0_ = 0.0F; +#line 770 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + g_return_val_if_fail (IS_CONTRAST_TRANSFORMATION (self), 0.0F); +#line 771 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp0_ = self->priv->parameter; +#line 771 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + result = _tmp0_; +#line 771 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + return result; +#line 6472 "ColorTransformation.c" +} + + +static void contrast_transformation_class_init (ContrastTransformationClass * klass) { +#line 739 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + contrast_transformation_parent_class = g_type_class_peek_parent (klass); +#line 739 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + ((PixelTransformationClass *) klass)->finalize = contrast_transformation_finalize; +#line 739 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + g_type_class_add_private (klass, sizeof (ContrastTransformationPrivate)); +#line 6483 "ColorTransformation.c" +} + + +static void contrast_transformation_instance_init (ContrastTransformation * self) { +#line 739 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + self->priv = CONTRAST_TRANSFORMATION_GET_PRIVATE (self); +#line 6490 "ColorTransformation.c" +} + + +static void contrast_transformation_finalize (PixelTransformation* obj) { + ContrastTransformation * self; +#line 739 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CONTRAST_TRANSFORMATION, ContrastTransformation); +#line 739 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + PIXEL_TRANSFORMATION_CLASS (contrast_transformation_parent_class)->finalize (obj); +#line 6500 "ColorTransformation.c" +} + + +GType contrast_transformation_get_type (void) { + static volatile gsize contrast_transformation_type_id__volatile = 0; + if (g_once_init_enter (&contrast_transformation_type_id__volatile)) { + static const GTypeInfo g_define_type_info = { sizeof (ContrastTransformationClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) contrast_transformation_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ContrastTransformation), 0, (GInstanceInitFunc) contrast_transformation_instance_init, NULL }; + GType contrast_transformation_type_id; + contrast_transformation_type_id = g_type_register_static (TYPE_RGB_TRANSFORMATION, "ContrastTransformation", &g_define_type_info, 0); + g_once_init_leave (&contrast_transformation_type_id__volatile, contrast_transformation_type_id); + } + return contrast_transformation_type_id__volatile; +} + + PixelTransformer* pixel_transformer_construct (GType object_type) { PixelTransformer* self = NULL; -#line 737 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 781 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (PixelTransformer*) g_type_create_instance (object_type); -#line 737 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 781 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 6251 "ColorTransformation.c" +#line 6522 "ColorTransformation.c" } PixelTransformer* pixel_transformer_new (void) { -#line 737 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 781 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return pixel_transformer_construct (TYPE_PIXEL_TRANSFORMER); -#line 6258 "ColorTransformation.c" +#line 6529 "ColorTransformation.c" } static gpointer _g_object_ref0 (gpointer self) { -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self ? g_object_ref (self) : NULL; -#line 6265 "ColorTransformation.c" +#line 6536 "ColorTransformation.c" } @@ -6270,13 +6541,13 @@ PixelTransformer* pixel_transformer_copy (PixelTransformer* self) { PixelTransformer* result = NULL; PixelTransformer* clone = NULL; PixelTransformer* _tmp0_ = NULL; -#line 740 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 784 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMER (self), NULL); -#line 741 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 785 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = pixel_transformer_new (); -#line 741 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 785 "/home/jens/Source/shotwell/src/ColorTransformation.vala" clone = _tmp0_; -#line 6279 "ColorTransformation.c" +#line 6550 "ColorTransformation.c" { GeeArrayList* _transformation_list = NULL; GeeArrayList* _tmp1_ = NULL; @@ -6286,25 +6557,25 @@ PixelTransformer* pixel_transformer_copy (PixelTransformer* self) { gint _tmp4_ = 0; gint _tmp5_ = 0; gint _transformation_index = 0; -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = self->priv->transformations; -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = _g_object_ref0 (_tmp1_); -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _transformation_list = _tmp2_; -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = _transformation_list; -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = _tmp4_; -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _transformation_size = _tmp5_; -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _transformation_index = -1; -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 6307 "ColorTransformation.c" +#line 6578 "ColorTransformation.c" gint _tmp6_ = 0; gint _tmp7_ = 0; gint _tmp8_ = 0; @@ -6315,49 +6586,49 @@ PixelTransformer* pixel_transformer_copy (PixelTransformer* self) { PixelTransformer* _tmp12_ = NULL; GeeArrayList* _tmp13_ = NULL; PixelTransformation* _tmp14_ = NULL; -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = _transformation_index; -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _transformation_index = _tmp6_ + 1; -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = _transformation_index; -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = _transformation_size; -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp7_ < _tmp8_)) { -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 6330 "ColorTransformation.c" +#line 6601 "ColorTransformation.c" } -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = _transformation_list; -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = _transformation_index; -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp10_); -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" transformation = (PixelTransformation*) _tmp11_; -#line 744 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 788 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = clone; -#line 744 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 788 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = _tmp12_->priv->transformations; -#line 744 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 788 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = transformation; -#line 744 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 788 "/home/jens/Source/shotwell/src/ColorTransformation.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp14_); -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (transformation); -#line 6350 "ColorTransformation.c" +#line 6621 "ColorTransformation.c" } -#line 743 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_object_unref0 (_transformation_list); -#line 6354 "ColorTransformation.c" +#line 6625 "ColorTransformation.c" } -#line 746 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 790 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = clone; -#line 746 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 790 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 6360 "ColorTransformation.c" +#line 6631 "ColorTransformation.c" } @@ -6367,41 +6638,41 @@ static void pixel_transformer_build_optimized_transformations (PixelTransformer* gint _tmp2_ = 0; PixelTransformation** _tmp3_ = NULL; PixelTransformation* pre_trans = NULL; -#line 749 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 793 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMER (self)); -#line 750 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 794 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->transformations; -#line 750 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 794 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 750 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 794 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = _tmp1_; -#line 750 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 794 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = g_new0 (PixelTransformation*, _tmp2_ + 1); -#line 750 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 794 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_transformations = (_vala_array_free (self->priv->optimized_transformations, self->priv->optimized_transformations_length1, (GDestroyNotify) pixel_transformation_unref), NULL); -#line 750 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 794 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_transformations = _tmp3_; -#line 750 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 794 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_transformations_length1 = _tmp2_; -#line 750 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 794 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_optimized_transformations_size_ = self->priv->optimized_transformations_length1; -#line 752 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 796 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pre_trans = NULL; -#line 753 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 797 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_slots_used = 0; -#line 6392 "ColorTransformation.c" +#line 6663 "ColorTransformation.c" { gint i = 0; -#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 6397 "ColorTransformation.c" +#line 6668 "ColorTransformation.c" { gboolean _tmp4_ = FALSE; -#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = TRUE; -#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 6404 "ColorTransformation.c" +#line 6675 "ColorTransformation.c" gint _tmp6_ = 0; GeeArrayList* _tmp7_ = NULL; gint _tmp8_ = 0; @@ -6418,139 +6689,139 @@ static void pixel_transformer_build_optimized_transformations (PixelTransformer* gboolean _tmp21_ = FALSE; gboolean _tmp22_ = FALSE; PixelTransformation* _tmp23_ = NULL; -#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp4_) { -#line 6423 "ColorTransformation.c" +#line 6694 "ColorTransformation.c" gint _tmp5_ = 0; -#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = i; -#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp5_ + 1; -#line 6429 "ColorTransformation.c" +#line 6700 "ColorTransformation.c" } -#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = FALSE; -#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = i; -#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = self->priv->transformations; -#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = _tmp8_; -#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp6_ < _tmp9_)) { -#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 6445 "ColorTransformation.c" +#line 6716 "ColorTransformation.c" } -#line 755 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 799 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = self->priv->transformations; -#line 755 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 799 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = i; -#line 755 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 799 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp11_); -#line 755 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 799 "/home/jens/Source/shotwell/src/ColorTransformation.vala" trans = (PixelTransformation*) _tmp12_; -#line 757 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 801 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = trans; -#line 757 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 801 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = pixel_transformation_is_identity (_tmp13_); -#line 757 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 801 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp14_) { -#line 758 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 802 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (trans); -#line 758 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 802 "/home/jens/Source/shotwell/src/ColorTransformation.vala" continue; -#line 6465 "ColorTransformation.c" +#line 6736 "ColorTransformation.c" } -#line 760 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 804 "/home/jens/Source/shotwell/src/ColorTransformation.vala" this_trans = NULL; -#line 761 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 805 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = trans; -#line 761 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 805 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = pixel_transformation_get_composition_mode (_tmp15_); -#line 761 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 805 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp16_ == COMPOSITION_MODE_NONE) { -#line 6475 "ColorTransformation.c" +#line 6746 "ColorTransformation.c" PixelTransformation* _tmp17_ = NULL; PixelTransformation* _tmp18_ = NULL; -#line 762 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 806 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = trans; -#line 762 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 806 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = _pixel_transformation_ref0 (_tmp17_); -#line 762 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 806 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (this_trans); -#line 762 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 806 "/home/jens/Source/shotwell/src/ColorTransformation.vala" this_trans = _tmp18_; -#line 6486 "ColorTransformation.c" +#line 6757 "ColorTransformation.c" } else { PixelTransformation* _tmp19_ = NULL; PixelTransformation* _tmp20_ = NULL; -#line 764 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 808 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = trans; -#line 764 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 808 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = pixel_transformation_copy (_tmp19_); -#line 764 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 808 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (this_trans); -#line 764 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 808 "/home/jens/Source/shotwell/src/ColorTransformation.vala" this_trans = _tmp20_; -#line 6498 "ColorTransformation.c" +#line 6769 "ColorTransformation.c" } -#line 766 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 810 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = pre_trans; -#line 766 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 810 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp23_ != NULL) { -#line 6504 "ColorTransformation.c" +#line 6775 "ColorTransformation.c" PixelTransformation* _tmp24_ = NULL; CompositionMode _tmp25_ = 0; -#line 766 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 810 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = this_trans; -#line 766 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 810 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = pixel_transformation_get_composition_mode (_tmp24_); -#line 766 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 810 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = _tmp25_ != COMPOSITION_MODE_NONE; -#line 6513 "ColorTransformation.c" +#line 6784 "ColorTransformation.c" } else { -#line 766 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 810 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = FALSE; -#line 6517 "ColorTransformation.c" +#line 6788 "ColorTransformation.c" } -#line 766 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 810 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp22_) { -#line 6521 "ColorTransformation.c" +#line 6792 "ColorTransformation.c" PixelTransformation* _tmp26_ = NULL; CompositionMode _tmp27_ = 0; PixelTransformation* _tmp28_ = NULL; CompositionMode _tmp29_ = 0; -#line 767 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 811 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = this_trans; -#line 767 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 811 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = pixel_transformation_get_composition_mode (_tmp26_); -#line 767 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 811 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = pre_trans; -#line 767 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 811 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = pixel_transformation_get_composition_mode (_tmp28_); -#line 767 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 811 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = _tmp27_ == _tmp29_; -#line 6536 "ColorTransformation.c" +#line 6807 "ColorTransformation.c" } else { -#line 766 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 810 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = FALSE; -#line 6540 "ColorTransformation.c" +#line 6811 "ColorTransformation.c" } -#line 766 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 810 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp21_) { -#line 6544 "ColorTransformation.c" +#line 6815 "ColorTransformation.c" PixelTransformation* _tmp30_ = NULL; PixelTransformation* _tmp31_ = NULL; -#line 768 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 812 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_ = pre_trans; -#line 768 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 812 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_ = this_trans; -#line 768 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 812 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_compose_with (_tmp30_, _tmp31_); -#line 6553 "ColorTransformation.c" +#line 6824 "ColorTransformation.c" } else { PixelTransformation** _tmp32_ = NULL; gint _tmp32__length1 = 0; @@ -6560,45 +6831,45 @@ static void pixel_transformer_build_optimized_transformations (PixelTransformer* PixelTransformation* _tmp36_ = NULL; PixelTransformation* _tmp37_ = NULL; PixelTransformation* _tmp38_ = NULL; -#line 770 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 814 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32_ = self->priv->optimized_transformations; -#line 770 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 814 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32__length1 = self->priv->optimized_transformations_length1; -#line 770 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 814 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp33_ = self->priv->optimized_slots_used; -#line 770 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 814 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_slots_used = _tmp33_ + 1; -#line 770 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 814 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34_ = this_trans; -#line 770 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 814 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_ = _pixel_transformation_ref0 (_tmp34_); -#line 770 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 814 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp32_[_tmp33_]); -#line 770 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 814 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32_[_tmp33_] = _tmp35_; -#line 770 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 814 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36_ = _tmp32_[_tmp33_]; -#line 771 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 815 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp37_ = this_trans; -#line 771 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 815 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_ = _pixel_transformation_ref0 (_tmp37_); -#line 771 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 815 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (pre_trans); -#line 771 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 815 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pre_trans = _tmp38_; -#line 6589 "ColorTransformation.c" +#line 6860 "ColorTransformation.c" } -#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (this_trans); -#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (trans); -#line 6595 "ColorTransformation.c" +#line 6866 "ColorTransformation.c" } } } -#line 749 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 793 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (pre_trans); -#line 6601 "ColorTransformation.c" +#line 6872 "ColorTransformation.c" } @@ -6608,31 +6879,31 @@ static void pixel_transformer_apply_transformations (PixelTransformer* self, RGB RGBAnalyticPixel _tmp0_ = {0}; HSVAnalyticPixel p_hsv = {0}; PixelFormat _tmp21_ = 0; -#line 776 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 820 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMER (self)); -#line 776 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 820 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (p != NULL); -#line 777 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 821 "/home/jens/Source/shotwell/src/ColorTransformation.vala" current_format = PIXEL_FORMAT_RGB; -#line 778 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 822 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = *p; -#line 778 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 822 "/home/jens/Source/shotwell/src/ColorTransformation.vala" p_rgb = _tmp0_; -#line 779 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 823 "/home/jens/Source/shotwell/src/ColorTransformation.vala" hsv_analytic_pixel_init (&p_hsv); -#line 6623 "ColorTransformation.c" +#line 6894 "ColorTransformation.c" { gint i = 0; -#line 781 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 6628 "ColorTransformation.c" +#line 6899 "ColorTransformation.c" { gboolean _tmp1_ = FALSE; -#line 781 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = TRUE; -#line 781 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 6635 "ColorTransformation.c" +#line 6906 "ColorTransformation.c" gint _tmp3_ = 0; gint _tmp4_ = 0; PixelTransformation* trans = NULL; @@ -6643,199 +6914,199 @@ static void pixel_transformer_apply_transformations (PixelTransformer* self, RGB PixelTransformation* _tmp8_ = NULL; PixelTransformation* _tmp9_ = NULL; PixelFormat _tmp10_ = 0; -#line 781 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp1_) { -#line 6648 "ColorTransformation.c" +#line 6919 "ColorTransformation.c" gint _tmp2_ = 0; -#line 781 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = i; -#line 781 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp2_ + 1; -#line 6654 "ColorTransformation.c" +#line 6925 "ColorTransformation.c" } -#line 781 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = FALSE; -#line 781 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = i; -#line 781 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = self->priv->optimized_slots_used; -#line 781 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp3_ < _tmp4_)) { -#line 781 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 6666 "ColorTransformation.c" +#line 6937 "ColorTransformation.c" } -#line 782 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 826 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = self->priv->optimized_transformations; -#line 782 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 826 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5__length1 = self->priv->optimized_transformations_length1; -#line 782 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 826 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = i; -#line 782 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 826 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = _tmp5_[_tmp6_]; -#line 782 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 826 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = _pixel_transformation_ref0 (_tmp7_); -#line 782 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 826 "/home/jens/Source/shotwell/src/ColorTransformation.vala" trans = _tmp8_; -#line 783 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 827 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = trans; -#line 783 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 827 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = pixel_transformation_get_preferred_format (_tmp9_); -#line 783 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 827 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp10_ == PIXEL_FORMAT_RGB) { -#line 6686 "ColorTransformation.c" +#line 6957 "ColorTransformation.c" PixelFormat _tmp11_ = 0; PixelTransformation* _tmp13_ = NULL; RGBAnalyticPixel _tmp14_ = {0}; RGBAnalyticPixel _tmp15_ = {0}; -#line 784 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 828 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = current_format; -#line 784 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 828 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp11_ == PIXEL_FORMAT_HSV) { -#line 6695 "ColorTransformation.c" +#line 6966 "ColorTransformation.c" RGBAnalyticPixel _tmp12_ = {0}; -#line 785 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 829 "/home/jens/Source/shotwell/src/ColorTransformation.vala" hsv_analytic_pixel_to_rgb (&p_hsv, &_tmp12_); -#line 785 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 829 "/home/jens/Source/shotwell/src/ColorTransformation.vala" p_rgb = _tmp12_; -#line 786 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 830 "/home/jens/Source/shotwell/src/ColorTransformation.vala" current_format = PIXEL_FORMAT_RGB; -#line 6703 "ColorTransformation.c" +#line 6974 "ColorTransformation.c" } -#line 788 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 832 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = trans; -#line 788 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 832 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = p_rgb; -#line 788 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 832 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_transform_pixel_rgb (_tmp13_, &_tmp14_, &_tmp15_); -#line 788 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 832 "/home/jens/Source/shotwell/src/ColorTransformation.vala" p_rgb = _tmp15_; -#line 6713 "ColorTransformation.c" +#line 6984 "ColorTransformation.c" } else { PixelFormat _tmp16_ = 0; PixelTransformation* _tmp18_ = NULL; HSVAnalyticPixel _tmp19_ = {0}; HSVAnalyticPixel _tmp20_ = {0}; -#line 790 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 834 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = current_format; -#line 790 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 834 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp16_ == PIXEL_FORMAT_RGB) { -#line 6723 "ColorTransformation.c" +#line 6994 "ColorTransformation.c" HSVAnalyticPixel _tmp17_ = {0}; -#line 791 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 835 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_analytic_pixel_to_hsv (&p_rgb, &_tmp17_); -#line 791 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 835 "/home/jens/Source/shotwell/src/ColorTransformation.vala" p_hsv = _tmp17_; -#line 792 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 836 "/home/jens/Source/shotwell/src/ColorTransformation.vala" current_format = PIXEL_FORMAT_HSV; -#line 6731 "ColorTransformation.c" +#line 7002 "ColorTransformation.c" } -#line 794 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 838 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = trans; -#line 794 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 838 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = p_hsv; -#line 794 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 838 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_transform_pixel_hsv (_tmp18_, &_tmp19_, &_tmp20_); -#line 794 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 838 "/home/jens/Source/shotwell/src/ColorTransformation.vala" p_hsv = _tmp20_; -#line 6741 "ColorTransformation.c" +#line 7012 "ColorTransformation.c" } -#line 781 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (trans); -#line 6745 "ColorTransformation.c" +#line 7016 "ColorTransformation.c" } } } -#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 842 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = current_format; -#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 842 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp21_ == PIXEL_FORMAT_HSV) { -#line 6753 "ColorTransformation.c" +#line 7024 "ColorTransformation.c" RGBAnalyticPixel _tmp22_ = {0}; -#line 799 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 843 "/home/jens/Source/shotwell/src/ColorTransformation.vala" hsv_analytic_pixel_to_rgb (&p_hsv, &_tmp22_); -#line 799 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 843 "/home/jens/Source/shotwell/src/ColorTransformation.vala" p_rgb = _tmp22_; -#line 6759 "ColorTransformation.c" +#line 7030 "ColorTransformation.c" } -#line 801 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 845 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *result = p_rgb; -#line 801 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 845 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return; -#line 6765 "ColorTransformation.c" +#line 7036 "ColorTransformation.c" } void pixel_transformer_attach_transformation (PixelTransformer* self, PixelTransformation* trans) { GeeArrayList* _tmp0_ = NULL; PixelTransformation* _tmp1_ = NULL; -#line 807 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 851 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMER (self)); -#line 807 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 851 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION (trans)); -#line 808 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 852 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->transformations; -#line 808 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 852 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = trans; -#line 808 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 852 "/home/jens/Source/shotwell/src/ColorTransformation.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp1_); -#line 809 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 853 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_transformations = (_vala_array_free (self->priv->optimized_transformations, self->priv->optimized_transformations_length1, (GDestroyNotify) pixel_transformation_unref), NULL); -#line 809 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 853 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_transformations = NULL; -#line 809 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 853 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_transformations_length1 = 0; -#line 809 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 853 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_optimized_transformations_size_ = self->priv->optimized_transformations_length1; -#line 6790 "ColorTransformation.c" +#line 7061 "ColorTransformation.c" } void pixel_transformer_detach_transformation (PixelTransformer* self, PixelTransformation* victim) { GeeArrayList* _tmp0_ = NULL; PixelTransformation* _tmp1_ = NULL; -#line 814 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 858 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMER (self)); -#line 814 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 858 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION (victim)); -#line 815 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 859 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->transformations; -#line 815 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 859 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = victim; -#line 815 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 859 "/home/jens/Source/shotwell/src/ColorTransformation.vala" gee_abstract_collection_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp1_); -#line 816 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 860 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_transformations = (_vala_array_free (self->priv->optimized_transformations, self->priv->optimized_transformations_length1, (GDestroyNotify) pixel_transformation_unref), NULL); -#line 816 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 860 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_transformations = NULL; -#line 816 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 860 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_transformations_length1 = 0; -#line 816 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 860 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_optimized_transformations_size_ = self->priv->optimized_transformations_length1; -#line 6815 "ColorTransformation.c" +#line 7086 "ColorTransformation.c" } void pixel_transformer_replace_transformation (PixelTransformer* self, PixelTransformation* old_trans, PixelTransformation* new_trans) { -#line 821 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 865 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMER (self)); -#line 821 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 865 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION (old_trans)); -#line 821 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 865 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION (new_trans)); -#line 6826 "ColorTransformation.c" +#line 7097 "ColorTransformation.c" { gint i = 0; -#line 823 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 6831 "ColorTransformation.c" +#line 7102 "ColorTransformation.c" { gboolean _tmp0_ = FALSE; -#line 823 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = TRUE; -#line 823 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 6838 "ColorTransformation.c" +#line 7109 "ColorTransformation.c" gint _tmp2_ = 0; GeeArrayList* _tmp3_ = NULL; gint _tmp4_ = 0; @@ -6846,79 +7117,79 @@ void pixel_transformer_replace_transformation (PixelTransformer* self, PixelTran PixelTransformation* _tmp9_ = NULL; PixelTransformation* _tmp10_ = NULL; gboolean _tmp11_ = FALSE; -#line 823 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp0_) { -#line 6851 "ColorTransformation.c" +#line 7122 "ColorTransformation.c" gint _tmp1_ = 0; -#line 823 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = i; -#line 823 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp1_ + 1; -#line 6857 "ColorTransformation.c" +#line 7128 "ColorTransformation.c" } -#line 823 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = FALSE; -#line 823 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = i; -#line 823 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = self->priv->transformations; -#line 823 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 823 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = _tmp4_; -#line 823 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp2_ < _tmp5_)) { -#line 823 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 6873 "ColorTransformation.c" +#line 7144 "ColorTransformation.c" } -#line 824 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 868 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = self->priv->transformations; -#line 824 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 868 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = i; -#line 824 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 868 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp7_); -#line 824 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 868 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = (PixelTransformation*) _tmp8_; -#line 824 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 868 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = old_trans; -#line 824 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 868 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = _tmp9_ == _tmp10_; -#line 824 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 868 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp9_); -#line 824 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 868 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp11_) { -#line 6891 "ColorTransformation.c" +#line 7162 "ColorTransformation.c" GeeArrayList* _tmp12_ = NULL; gint _tmp13_ = 0; PixelTransformation* _tmp14_ = NULL; -#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 869 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = self->priv->transformations; -#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 869 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = i; -#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 869 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = new_trans; -#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 869 "/home/jens/Source/shotwell/src/ColorTransformation.vala" gee_abstract_list_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp13_, _tmp14_); -#line 827 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 871 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_transformations = (_vala_array_free (self->priv->optimized_transformations, self->priv->optimized_transformations_length1, (GDestroyNotify) pixel_transformation_unref), NULL); -#line 827 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 871 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_transformations = NULL; -#line 827 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 871 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_transformations_length1 = 0; -#line 827 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 871 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_optimized_transformations_size_ = self->priv->optimized_transformations_length1; -#line 828 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 872 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return; -#line 6913 "ColorTransformation.c" +#line 7184 "ColorTransformation.c" } } } } -#line 831 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - g_error ("ColorTransformation.vala:831: %s", "PixelTransformer: replace_transformation( ): old_trans is not present " \ +#line 875 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + g_error ("ColorTransformation.vala:875: %s", "PixelTransformer: replace_transformation( ): old_trans is not present " \ "in " "transformation collection"); -#line 6920 "ColorTransformation.c" +#line 7191 "ColorTransformation.c" } @@ -6926,21 +7197,21 @@ void pixel_transformer_transform_pixbuf (PixelTransformer* self, GdkPixbuf* pixb GdkPixbuf* _tmp0_ = NULL; GdkPixbuf* _tmp1_ = NULL; GCancellable* _tmp2_ = NULL; -#line 835 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 879 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMER (self)); -#line 835 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 879 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (GDK_IS_PIXBUF (pixbuf)); -#line 835 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 879 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail ((cancellable == NULL) || G_IS_CANCELLABLE (cancellable)); -#line 836 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 880 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = pixbuf; -#line 836 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 880 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = pixbuf; -#line 836 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 880 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = cancellable; -#line 836 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 880 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformer_transform_to_other_pixbuf (self, _tmp0_, _tmp1_, _tmp2_); -#line 6942 "ColorTransformation.c" +#line 7213 "ColorTransformation.c" } @@ -6965,69 +7236,69 @@ void pixel_transformer_transform_from_fp (PixelTransformer* self, gfloat** fp_pi gint dest_pixels_length1 = 0; gint _dest_pixels_size_ = 0; gint cache_pixel_ticker = 0; -#line 839 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 883 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMER (self)); -#line 839 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 883 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (GDK_IS_PIXBUF (dest)); -#line 840 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 884 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->optimized_transformations; -#line 840 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 884 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0__length1 = self->priv->optimized_transformations_length1; -#line 840 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 884 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp0_ == NULL) { -#line 841 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 885 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformer_build_optimized_transformations (self); -#line 6979 "ColorTransformation.c" +#line 7250 "ColorTransformation.c" } -#line 843 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 887 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = dest; -#line 843 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 887 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = gdk_pixbuf_get_width (_tmp1_); -#line 843 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 887 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_width = _tmp2_; -#line 844 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 888 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = dest; -#line 844 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 888 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = gdk_pixbuf_get_height (_tmp3_); -#line 844 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 888 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_height = _tmp4_; -#line 845 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 889 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = dest; -#line 845 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 889 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = gdk_pixbuf_get_n_channels (_tmp5_); -#line 845 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 889 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_num_channels = _tmp6_; -#line 846 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 890 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = dest; -#line 846 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 890 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = gdk_pixbuf_get_rowstride (_tmp7_); -#line 846 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 890 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_rowstride = _tmp8_; -#line 847 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 891 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = dest; -#line 847 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 891 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = gdk_pixbuf_get_pixels (_tmp9_); -#line 847 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 891 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_pixels = _tmp10_; -#line 847 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 891 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_pixels_length1 = -1; -#line 847 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 891 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _dest_pixels_size_ = dest_pixels_length1; -#line 849 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 893 "/home/jens/Source/shotwell/src/ColorTransformation.vala" cache_pixel_ticker = 0; -#line 7017 "ColorTransformation.c" +#line 7288 "ColorTransformation.c" { gint j = 0; -#line 851 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala" j = 0; -#line 7022 "ColorTransformation.c" +#line 7293 "ColorTransformation.c" { gboolean _tmp11_ = FALSE; -#line 851 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = TRUE; -#line 851 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 7029 "ColorTransformation.c" +#line 7300 "ColorTransformation.c" gint _tmp13_ = 0; gint _tmp14_ = 0; gint row_start_index = 0; @@ -7037,58 +7308,58 @@ void pixel_transformer_transform_from_fp (PixelTransformer* self, gfloat** fp_pi gint _tmp17_ = 0; gint _tmp18_ = 0; gint _tmp19_ = 0; -#line 851 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp11_) { -#line 7041 "ColorTransformation.c" +#line 7312 "ColorTransformation.c" gint _tmp12_ = 0; -#line 851 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = j; -#line 851 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala" j = _tmp12_ + 1; -#line 7047 "ColorTransformation.c" +#line 7318 "ColorTransformation.c" } -#line 851 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = FALSE; -#line 851 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = j; -#line 851 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = dest_height; -#line 851 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp13_ < _tmp14_)) { -#line 851 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 7059 "ColorTransformation.c" +#line 7330 "ColorTransformation.c" } -#line 852 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = j; -#line 852 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = dest_rowstride; -#line 852 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" row_start_index = _tmp15_ * _tmp16_; -#line 853 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = row_start_index; -#line 853 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = dest_width; -#line 853 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = dest_num_channels; -#line 853 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" row_end_index = _tmp17_ + (_tmp18_ * _tmp19_); -#line 7075 "ColorTransformation.c" +#line 7346 "ColorTransformation.c" { gint i = 0; gint _tmp20_ = 0; -#line 854 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = row_start_index; -#line 854 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp20_; -#line 7083 "ColorTransformation.c" +#line 7354 "ColorTransformation.c" { gboolean _tmp21_ = FALSE; -#line 854 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = TRUE; -#line 854 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 7090 "ColorTransformation.c" +#line 7361 "ColorTransformation.c" gint _tmp24_ = 0; gint _tmp25_ = 0; RGBAnalyticPixel pixel = {0}; @@ -7125,110 +7396,110 @@ void pixel_transformer_transform_from_fp (PixelTransformer* self, gfloat** fp_pi RGBAnalyticPixel _tmp50_ = {0}; gfloat _tmp51_ = 0.0F; guchar _tmp52_ = '\0'; -#line 854 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp21_) { -#line 7129 "ColorTransformation.c" +#line 7400 "ColorTransformation.c" gint _tmp22_ = 0; gint _tmp23_ = 0; -#line 854 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = i; -#line 854 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = dest_num_channels; -#line 854 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp22_ + _tmp23_; -#line 7138 "ColorTransformation.c" +#line 7409 "ColorTransformation.c" } -#line 854 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = FALSE; -#line 854 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = i; -#line 854 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = row_end_index; -#line 854 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp24_ < _tmp25_)) { -#line 854 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 7150 "ColorTransformation.c" +#line 7421 "ColorTransformation.c" } -#line 855 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 899 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = *fp_pixel_cache; -#line 855 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 899 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26__length1 = *fp_pixel_cache_length1; -#line 855 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 899 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = cache_pixel_ticker; -#line 855 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 899 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = _tmp26_[_tmp27_]; -#line 855 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 899 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = *fp_pixel_cache; -#line 855 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 899 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29__length1 = *fp_pixel_cache_length1; -#line 855 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 899 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_ = cache_pixel_ticker; -#line 855 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 899 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_ = _tmp29_[_tmp30_ + 1]; -#line 855 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 899 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32_ = *fp_pixel_cache; -#line 855 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 899 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32__length1 = *fp_pixel_cache_length1; -#line 855 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 899 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp33_ = cache_pixel_ticker; -#line 855 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 899 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34_ = _tmp32_[_tmp33_ + 2]; -#line 855 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 899 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_analytic_pixel_init_from_components (&pixel, _tmp28_, _tmp31_, _tmp34_); -#line 860 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 904 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_ = cache_pixel_ticker; -#line 860 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 904 "/home/jens/Source/shotwell/src/ColorTransformation.vala" cache_pixel_ticker = _tmp35_ + 3; -#line 862 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 906 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36_ = pixel; -#line 862 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 906 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformer_apply_transformations (self, &_tmp36_, &_tmp37_); -#line 862 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 906 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel = _tmp37_; -#line 864 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 908 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_ = dest_pixels; -#line 864 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 908 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38__length1 = dest_pixels_length1; -#line 864 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 908 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39_ = i; -#line 864 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 908 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp40_ = pixel; -#line 864 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 908 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41_ = _tmp40_.red; -#line 864 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 908 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_[_tmp39_] = (guchar) (_tmp41_ * 255.0f); -#line 864 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 908 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp42_ = _tmp38_[_tmp39_]; -#line 865 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 909 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43_ = dest_pixels; -#line 865 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 909 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43__length1 = dest_pixels_length1; -#line 865 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 909 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp44_ = i; -#line 865 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 909 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp45_ = pixel; -#line 865 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 909 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp46_ = _tmp45_.green; -#line 865 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 909 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43_[_tmp44_ + 1] = (guchar) (_tmp46_ * 255.0f); -#line 865 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 909 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp47_ = _tmp43_[_tmp44_ + 1]; -#line 866 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 910 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48_ = dest_pixels; -#line 866 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 910 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48__length1 = dest_pixels_length1; -#line 866 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 910 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp49_ = i; -#line 866 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 910 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp50_ = pixel; -#line 866 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 910 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp51_ = _tmp50_.blue; -#line 866 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 910 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48_[_tmp49_ + 2] = (guchar) (_tmp51_ * 255.0f); -#line 866 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 910 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp52_ = _tmp48_[_tmp49_ + 2]; -#line 7230 "ColorTransformation.c" +#line 7501 "ColorTransformation.c" } } } @@ -7284,144 +7555,144 @@ void pixel_transformer_transform_to_other_pixbuf (PixelTransformer* self, GdkPix guint8* _tmp32_ = NULL; gint dest_pixels_length1 = 0; gint _dest_pixels_size_ = 0; -#line 871 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 915 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_PIXEL_TRANSFORMER (self)); -#line 871 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 915 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (GDK_IS_PIXBUF (source)); -#line 871 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 915 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (GDK_IS_PIXBUF (dest)); -#line 871 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 915 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail ((cancellable == NULL) || G_IS_CANCELLABLE (cancellable)); -#line 873 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 917 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = source; -#line 873 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 917 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = gdk_pixbuf_get_width (_tmp0_); -#line 873 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 917 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = _tmp1_; -#line 873 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 917 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = dest; -#line 873 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 917 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = gdk_pixbuf_get_width (_tmp3_); -#line 873 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 917 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = _tmp4_; -#line 873 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 917 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp2_ != _tmp5_) { -#line 874 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - g_error ("ColorTransformation.vala:874: PixelTransformer: source and destination" \ +#line 918 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + g_error ("ColorTransformation.vala:918: PixelTransformer: source and destination" \ " pixbufs must have the same width"); -#line 7310 "ColorTransformation.c" +#line 7581 "ColorTransformation.c" } -#line 876 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 920 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = source; -#line 876 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 920 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = gdk_pixbuf_get_height (_tmp6_); -#line 876 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 920 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = _tmp7_; -#line 876 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 920 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = dest; -#line 876 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 920 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = gdk_pixbuf_get_height (_tmp9_); -#line 876 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 920 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = _tmp10_; -#line 876 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 920 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp8_ != _tmp11_) { -#line 877 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - g_error ("ColorTransformation.vala:877: PixelTransformer: source and destination" \ +#line 921 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + g_error ("ColorTransformation.vala:921: PixelTransformer: source and destination" \ " pixbufs must have the same height"); -#line 7328 "ColorTransformation.c" +#line 7599 "ColorTransformation.c" } -#line 879 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 923 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = source; -#line 879 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 923 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = gdk_pixbuf_get_n_channels (_tmp12_); -#line 879 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 923 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = _tmp13_; -#line 879 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 923 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = dest; -#line 879 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 923 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = gdk_pixbuf_get_n_channels (_tmp15_); -#line 879 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 923 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = _tmp16_; -#line 879 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 923 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp14_ != _tmp17_) { -#line 880 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - g_error ("ColorTransformation.vala:880: %s", "PixelTransformer: source and destination pixbufs must have the same nu" \ +#line 924 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + g_error ("ColorTransformation.vala:924: %s", "PixelTransformer: source and destination pixbufs must have the same nu" \ "mber " "of channels"); -#line 7346 "ColorTransformation.c" +#line 7617 "ColorTransformation.c" } -#line 883 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 927 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = self->priv->optimized_transformations; -#line 883 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 927 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18__length1 = self->priv->optimized_transformations_length1; -#line 883 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 927 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp18_ == NULL) { -#line 884 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 928 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformer_build_optimized_transformations (self); -#line 7356 "ColorTransformation.c" +#line 7627 "ColorTransformation.c" } -#line 886 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 930 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = source; -#line 886 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 930 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = gdk_pixbuf_get_n_channels (_tmp19_); -#line 886 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 930 "/home/jens/Source/shotwell/src/ColorTransformation.vala" n_channels = _tmp20_; -#line 887 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 931 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = source; -#line 887 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 931 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = gdk_pixbuf_get_rowstride (_tmp21_); -#line 887 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 931 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rowstride = _tmp22_; -#line 888 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 932 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = source; -#line 888 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 932 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = gdk_pixbuf_get_width (_tmp23_); -#line 888 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 932 "/home/jens/Source/shotwell/src/ColorTransformation.vala" width = _tmp24_; -#line 889 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 933 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = source; -#line 889 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 933 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = gdk_pixbuf_get_height (_tmp25_); -#line 889 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 933 "/home/jens/Source/shotwell/src/ColorTransformation.vala" height = _tmp26_; -#line 890 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 934 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = n_channels; -#line 890 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 934 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = width; -#line 890 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 934 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rowbytes = _tmp27_ * _tmp28_; -#line 891 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 935 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = source; -#line 891 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 935 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_ = gdk_pixbuf_get_pixels (_tmp29_); -#line 891 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 935 "/home/jens/Source/shotwell/src/ColorTransformation.vala" source_pixels = _tmp30_; -#line 891 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 935 "/home/jens/Source/shotwell/src/ColorTransformation.vala" source_pixels_length1 = -1; -#line 891 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 935 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _source_pixels_size_ = source_pixels_length1; -#line 892 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 936 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_ = dest; -#line 892 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 936 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32_ = gdk_pixbuf_get_pixels (_tmp31_); -#line 892 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 936 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_pixels = _tmp32_; -#line 892 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 936 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_pixels_length1 = -1; -#line 892 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 936 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _dest_pixels_size_ = dest_pixels_length1; -#line 7408 "ColorTransformation.c" +#line 7679 "ColorTransformation.c" { gint j = 0; -#line 893 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" j = 0; -#line 7413 "ColorTransformation.c" +#line 7684 "ColorTransformation.c" { gboolean _tmp33_ = FALSE; -#line 893 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp33_ = TRUE; -#line 893 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 7420 "ColorTransformation.c" +#line 7691 "ColorTransformation.c" gint _tmp35_ = 0; gint _tmp36_ = 0; gint row_start_index = 0; @@ -7432,56 +7703,56 @@ void pixel_transformer_transform_to_other_pixbuf (PixelTransformer* self, GdkPix gint _tmp40_ = 0; gboolean _tmp70_ = FALSE; GCancellable* _tmp71_ = NULL; -#line 893 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp33_) { -#line 7433 "ColorTransformation.c" +#line 7704 "ColorTransformation.c" gint _tmp34_ = 0; -#line 893 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34_ = j; -#line 893 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" j = _tmp34_ + 1; -#line 7439 "ColorTransformation.c" +#line 7710 "ColorTransformation.c" } -#line 893 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp33_ = FALSE; -#line 893 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_ = j; -#line 893 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36_ = height; -#line 893 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp35_ < _tmp36_)) { -#line 893 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 7451 "ColorTransformation.c" +#line 7722 "ColorTransformation.c" } -#line 894 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 938 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp37_ = j; -#line 894 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 938 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_ = rowstride; -#line 894 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 938 "/home/jens/Source/shotwell/src/ColorTransformation.vala" row_start_index = _tmp37_ * _tmp38_; -#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 939 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39_ = row_start_index; -#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 939 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp40_ = rowbytes; -#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 939 "/home/jens/Source/shotwell/src/ColorTransformation.vala" row_end_index = _tmp39_ + _tmp40_; -#line 7465 "ColorTransformation.c" +#line 7736 "ColorTransformation.c" { gint i = 0; gint _tmp41_ = 0; -#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41_ = row_start_index; -#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp41_; -#line 7473 "ColorTransformation.c" +#line 7744 "ColorTransformation.c" { gboolean _tmp42_ = FALSE; -#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp42_ = TRUE; -#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 7480 "ColorTransformation.c" +#line 7751 "ColorTransformation.c" gint _tmp45_ = 0; gint _tmp46_ = 0; RGBAnalyticPixel current_pixel = {0}; @@ -7514,127 +7785,127 @@ void pixel_transformer_transform_to_other_pixbuf (PixelTransformer* self, GdkPix gint _tmp67_ = 0; guchar _tmp68_ = '\0'; guchar _tmp69_ = '\0'; -#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp42_) { -#line 7515 "ColorTransformation.c" +#line 7786 "ColorTransformation.c" gint _tmp43_ = 0; gint _tmp44_ = 0; -#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43_ = i; -#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp44_ = n_channels; -#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp43_ + _tmp44_; -#line 7524 "ColorTransformation.c" +#line 7795 "ColorTransformation.c" } -#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp42_ = FALSE; -#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp45_ = i; -#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp46_ = row_end_index; -#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp45_ < _tmp46_)) { -#line 896 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 7536 "ColorTransformation.c" +#line 7807 "ColorTransformation.c" } -#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp47_ = source_pixels; -#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp47__length1 = source_pixels_length1; -#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48_ = i; -#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp49_ = _tmp47_[_tmp48_]; -#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp50_ = source_pixels; -#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp50__length1 = source_pixels_length1; -#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp51_ = i; -#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp52_ = _tmp50_[_tmp51_ + 1]; -#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp53_ = source_pixels; -#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp53__length1 = source_pixels_length1; -#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp54_ = i; -#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp55_ = _tmp53_[_tmp54_ + 2]; -#line 897 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_analytic_pixel_init_from_quantized_components (¤t_pixel, _tmp49_, _tmp52_, _tmp55_); -#line 900 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 944 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp56_ = current_pixel; -#line 900 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 944 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformer_apply_transformations (self, &_tmp56_, &_tmp57_); -#line 900 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 944 "/home/jens/Source/shotwell/src/ColorTransformation.vala" current_pixel = _tmp57_; -#line 902 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 946 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp58_ = dest_pixels; -#line 902 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 946 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp58__length1 = dest_pixels_length1; -#line 902 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 946 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp59_ = i; -#line 902 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 946 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp60_ = rgb_analytic_pixel_quantized_red (¤t_pixel); -#line 902 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 946 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp58_[_tmp59_] = _tmp60_; -#line 902 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 946 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp61_ = _tmp58_[_tmp59_]; -#line 903 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 947 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp62_ = dest_pixels; -#line 903 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 947 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp62__length1 = dest_pixels_length1; -#line 903 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 947 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp63_ = i; -#line 903 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 947 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp64_ = rgb_analytic_pixel_quantized_green (¤t_pixel); -#line 903 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 947 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp62_[_tmp63_ + 1] = _tmp64_; -#line 903 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 947 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp65_ = _tmp62_[_tmp63_ + 1]; -#line 904 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 948 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp66_ = dest_pixels; -#line 904 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 948 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp66__length1 = dest_pixels_length1; -#line 904 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 948 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp67_ = i; -#line 904 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 948 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp68_ = rgb_analytic_pixel_quantized_blue (¤t_pixel); -#line 904 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 948 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp66_[_tmp67_ + 2] = _tmp68_; -#line 904 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 948 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp69_ = _tmp66_[_tmp67_ + 2]; -#line 7606 "ColorTransformation.c" +#line 7877 "ColorTransformation.c" } } } -#line 907 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 951 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp71_ = cancellable; -#line 907 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 951 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp71_ != NULL) { -#line 7614 "ColorTransformation.c" +#line 7885 "ColorTransformation.c" GCancellable* _tmp72_ = NULL; gboolean _tmp73_ = FALSE; -#line 907 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 951 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp72_ = cancellable; -#line 907 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 951 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp73_ = g_cancellable_is_cancelled (_tmp72_); -#line 907 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 951 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp70_ = _tmp73_; -#line 7623 "ColorTransformation.c" +#line 7894 "ColorTransformation.c" } else { -#line 907 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 951 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp70_ = FALSE; -#line 7627 "ColorTransformation.c" +#line 7898 "ColorTransformation.c" } -#line 907 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 951 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp70_) { -#line 908 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 952 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return; -#line 7633 "ColorTransformation.c" +#line 7904 "ColorTransformation.c" } } } @@ -7643,229 +7914,229 @@ void pixel_transformer_transform_to_other_pixbuf (PixelTransformer* self, GdkPix static void value_pixel_transformer_init (GValue* value) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 7644 "ColorTransformation.c" +#line 7915 "ColorTransformation.c" } static void value_pixel_transformer_free_value (GValue* value) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (value->data[0].v_pointer) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformer_unref (value->data[0].v_pointer); -#line 7653 "ColorTransformation.c" +#line 7924 "ColorTransformation.c" } } static void value_pixel_transformer_copy_value (const GValue* src_value, GValue* dest_value) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (src_value->data[0].v_pointer) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_value->data[0].v_pointer = pixel_transformer_ref (src_value->data[0].v_pointer); -#line 7663 "ColorTransformation.c" +#line 7934 "ColorTransformation.c" } else { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_value->data[0].v_pointer = NULL; -#line 7667 "ColorTransformation.c" +#line 7938 "ColorTransformation.c" } } static gpointer value_pixel_transformer_peek_pointer (const GValue* value) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return value->data[0].v_pointer; -#line 7675 "ColorTransformation.c" +#line 7946 "ColorTransformation.c" } static gchar* value_pixel_transformer_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (collect_values[0].v_pointer) { -#line 7682 "ColorTransformation.c" +#line 7953 "ColorTransformation.c" PixelTransformer* object; object = collect_values[0].v_pointer; -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (object->parent_instance.g_class == NULL) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 7689 "ColorTransformation.c" +#line 7960 "ColorTransformation.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 7693 "ColorTransformation.c" +#line 7964 "ColorTransformation.c" } -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = pixel_transformer_ref (object); -#line 7697 "ColorTransformation.c" +#line 7968 "ColorTransformation.c" } else { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 7701 "ColorTransformation.c" +#line 7972 "ColorTransformation.c" } -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return NULL; -#line 7705 "ColorTransformation.c" +#line 7976 "ColorTransformation.c" } static gchar* value_pixel_transformer_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PixelTransformer** object_p; object_p = collect_values[0].v_pointer; -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!object_p) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 7716 "ColorTransformation.c" +#line 7987 "ColorTransformation.c" } -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!value->data[0].v_pointer) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = NULL; -#line 7722 "ColorTransformation.c" +#line 7993 "ColorTransformation.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = value->data[0].v_pointer; -#line 7726 "ColorTransformation.c" +#line 7997 "ColorTransformation.c" } else { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = pixel_transformer_ref (value->data[0].v_pointer); -#line 7730 "ColorTransformation.c" +#line 8001 "ColorTransformation.c" } -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return NULL; -#line 7734 "ColorTransformation.c" +#line 8005 "ColorTransformation.c" } GParamSpec* param_spec_pixel_transformer (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecPixelTransformer* spec; -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (g_type_is_a (object_type, TYPE_PIXEL_TRANSFORMER), NULL); -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return G_PARAM_SPEC (spec); -#line 7748 "ColorTransformation.c" +#line 8019 "ColorTransformation.c" } gpointer value_get_pixel_transformer (const GValue* value) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXEL_TRANSFORMER), NULL); -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return value->data[0].v_pointer; -#line 7757 "ColorTransformation.c" +#line 8028 "ColorTransformation.c" } void value_set_pixel_transformer (GValue* value, gpointer v_object) { PixelTransformer* old; -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXEL_TRANSFORMER)); -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" old = value->data[0].v_pointer; -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (v_object) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PIXEL_TRANSFORMER)); -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = v_object; -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformer_ref (value->data[0].v_pointer); -#line 7777 "ColorTransformation.c" +#line 8048 "ColorTransformation.c" } else { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 7781 "ColorTransformation.c" +#line 8052 "ColorTransformation.c" } -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (old) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformer_unref (old); -#line 7787 "ColorTransformation.c" +#line 8058 "ColorTransformation.c" } } void value_take_pixel_transformer (GValue* value, gpointer v_object) { PixelTransformer* old; -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXEL_TRANSFORMER)); -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" old = value->data[0].v_pointer; -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (v_object) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PIXEL_TRANSFORMER)); -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = v_object; -#line 7806 "ColorTransformation.c" +#line 8077 "ColorTransformation.c" } else { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 7810 "ColorTransformation.c" +#line 8081 "ColorTransformation.c" } -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (old) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformer_unref (old); -#line 7816 "ColorTransformation.c" +#line 8087 "ColorTransformation.c" } } static void pixel_transformer_class_init (PixelTransformerClass * klass) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformer_parent_class = g_type_class_peek_parent (klass); -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformerClass *) klass)->finalize = pixel_transformer_finalize; -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_class_add_private (klass, sizeof (PixelTransformerPrivate)); -#line 7828 "ColorTransformation.c" +#line 8099 "ColorTransformation.c" } static void pixel_transformer_instance_init (PixelTransformer * self) { GeeArrayList* _tmp0_ = NULL; -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv = PIXEL_TRANSFORMER_GET_PRIVATE (self); -#line 732 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 776 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = gee_array_list_new (TYPE_PIXEL_TRANSFORMATION, (GBoxedCopyFunc) pixel_transformation_ref, pixel_transformation_unref, NULL, NULL, NULL); -#line 732 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 776 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->transformations = _tmp0_; -#line 734 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 778 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_transformations = NULL; -#line 734 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 778 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_transformations_length1 = 0; -#line 734 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 778 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_optimized_transformations_size_ = self->priv->optimized_transformations_length1; -#line 735 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 779 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_slots_used = 0; -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->ref_count = 1; -#line 7850 "ColorTransformation.c" +#line 8121 "ColorTransformation.c" } static void pixel_transformer_finalize (PixelTransformer* obj) { PixelTransformer * self; -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PIXEL_TRANSFORMER, PixelTransformer); -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_signal_handlers_destroy (self); -#line 732 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 776 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_object_unref0 (self->priv->transformations); -#line 734 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 778 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->optimized_transformations = (_vala_array_free (self->priv->optimized_transformations, self->priv->optimized_transformations_length1, (GDestroyNotify) pixel_transformation_unref), NULL); -#line 7864 "ColorTransformation.c" +#line 8135 "ColorTransformation.c" } @@ -7886,24 +8157,24 @@ GType pixel_transformer_get_type (void) { gpointer pixel_transformer_ref (gpointer instance) { PixelTransformer* self; self = instance; -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_atomic_int_inc (&self->ref_count); -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return instance; -#line 7889 "ColorTransformation.c" +#line 8160 "ColorTransformation.c" } void pixel_transformer_unref (gpointer instance) { PixelTransformer* self; self = instance; -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" PIXEL_TRANSFORMER_GET_CLASS (self)->finalize (self); -#line 731 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_free_instance ((GTypeInstance *) self); -#line 7902 "ColorTransformation.c" +#line 8173 "ColorTransformation.c" } } @@ -7927,57 +8198,57 @@ RGBHistogram* rgb_histogram_construct (GType object_type, GdkPixbuf* pixbuf) { guint8* _tmp10_ = NULL; gint pixel_data_length1 = 0; gint _pixel_data_size_ = 0; -#line 930 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 974 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL); -#line 930 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 974 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (RGBHistogram*) g_type_create_instance (object_type); -#line 931 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 975 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = pixbuf; -#line 931 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 975 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = gdk_pixbuf_get_bits_per_sample (_tmp0_); -#line 931 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 975 "/home/jens/Source/shotwell/src/ColorTransformation.vala" sample_bytes = _tmp1_ / 8; -#line 932 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 976 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = sample_bytes; -#line 932 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 976 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = pixbuf; -#line 932 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 976 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = gdk_pixbuf_get_n_channels (_tmp3_); -#line 932 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 976 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_bytes = _tmp2_ * _tmp4_; -#line 933 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 977 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = pixel_bytes; -#line 933 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 977 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = pixbuf; -#line 933 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 977 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = gdk_pixbuf_get_width (_tmp6_); -#line 933 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 977 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = _tmp7_; -#line 933 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 977 "/home/jens/Source/shotwell/src/ColorTransformation.vala" row_length_bytes = _tmp5_ * _tmp8_; -#line 935 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 979 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = pixbuf; -#line 935 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 979 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = gdk_pixbuf_get_pixels (_tmp9_); -#line 935 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 979 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_data = _tmp10_; -#line 935 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 979 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_data_length1 = -1; -#line 935 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 979 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_data_size_ = pixel_data_length1; -#line 7964 "ColorTransformation.c" +#line 8235 "ColorTransformation.c" { gint y = 0; -#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" y = 0; -#line 7969 "ColorTransformation.c" +#line 8240 "ColorTransformation.c" { gboolean _tmp11_ = FALSE; -#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = TRUE; -#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 7976 "ColorTransformation.c" +#line 8247 "ColorTransformation.c" gint _tmp13_ = 0; GdkPixbuf* _tmp14_ = NULL; gint _tmp15_ = 0; @@ -7996,63 +8267,63 @@ RGBHistogram* rgb_histogram_construct (GType object_type, GdkPixbuf* pixbuf) { gint _tmp24_ = 0; gint _tmp25_ = 0; gint _tmp26_ = 0; -#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp11_) { -#line 7997 "ColorTransformation.c" +#line 8268 "ColorTransformation.c" gint _tmp12_ = 0; -#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = y; -#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" y = _tmp12_ + 1; -#line 8003 "ColorTransformation.c" +#line 8274 "ColorTransformation.c" } -#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = FALSE; -#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = y; -#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = pixbuf; -#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = gdk_pixbuf_get_height (_tmp14_); -#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = _tmp15_; -#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp13_ < _tmp16_)) { -#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 8019 "ColorTransformation.c" +#line 8290 "ColorTransformation.c" } -#line 938 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 982 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = y; -#line 938 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 982 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = pixbuf; -#line 938 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 982 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = gdk_pixbuf_get_rowstride (_tmp18_); -#line 938 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 982 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = _tmp19_; -#line 938 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 982 "/home/jens/Source/shotwell/src/ColorTransformation.vala" row_start_offset = _tmp17_ * _tmp20_; -#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 984 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = row_start_offset; -#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 984 "/home/jens/Source/shotwell/src/ColorTransformation.vala" r_offset = _tmp21_; -#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 985 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = row_start_offset; -#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 985 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = sample_bytes; -#line 941 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 985 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_offset = _tmp22_ + _tmp23_; -#line 942 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 986 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = row_start_offset; -#line 942 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 986 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = sample_bytes; -#line 942 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 986 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = sample_bytes; -#line 942 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 986 "/home/jens/Source/shotwell/src/ColorTransformation.vala" b_offset = (_tmp24_ + _tmp25_) + _tmp26_; -#line 944 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 988 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 8051 "ColorTransformation.c" +#line 8322 "ColorTransformation.c" gint _tmp27_ = 0; gint _tmp28_ = 0; gint _tmp29_ = 0; @@ -8083,99 +8354,99 @@ RGBHistogram* rgb_histogram_construct (GType object_type, GdkPixbuf* pixbuf) { gint _tmp48_ = 0; gint _tmp49_ = 0; gint _tmp50_ = 0; -#line 944 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 988 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = b_offset; -#line 944 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 988 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = row_start_offset; -#line 944 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 988 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = row_length_bytes; -#line 944 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 988 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp27_ < (_tmp28_ + _tmp29_))) { -#line 944 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 988 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 8092 "ColorTransformation.c" +#line 8363 "ColorTransformation.c" } -#line 945 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 989 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_ = self->priv->red_counts; -#line 945 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 989 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30__length1 = self->priv->red_counts_length1; -#line 945 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 989 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_ = pixel_data; -#line 945 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 989 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31__length1 = pixel_data_length1; -#line 945 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 989 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32_ = r_offset; -#line 945 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 989 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp33_ = _tmp31_[_tmp32_]; -#line 945 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 989 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_[_tmp33_] += 1; -#line 945 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 989 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34_ = _tmp30_[_tmp33_]; -#line 946 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 990 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_ = self->priv->green_counts; -#line 946 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 990 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35__length1 = self->priv->green_counts_length1; -#line 946 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 990 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36_ = pixel_data; -#line 946 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 990 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36__length1 = pixel_data_length1; -#line 946 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 990 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp37_ = g_offset; -#line 946 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 990 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_ = _tmp36_[_tmp37_]; -#line 946 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 990 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_[_tmp38_] += 1; -#line 946 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 990 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39_ = _tmp35_[_tmp38_]; -#line 947 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp40_ = self->priv->blue_counts; -#line 947 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp40__length1 = self->priv->blue_counts_length1; -#line 947 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41_ = pixel_data; -#line 947 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41__length1 = pixel_data_length1; -#line 947 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp42_ = b_offset; -#line 947 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43_ = _tmp41_[_tmp42_]; -#line 947 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp40_[_tmp43_] += 1; -#line 947 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp44_ = _tmp40_[_tmp43_]; -#line 949 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 993 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp45_ = r_offset; -#line 949 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 993 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp46_ = pixel_bytes; -#line 949 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 993 "/home/jens/Source/shotwell/src/ColorTransformation.vala" r_offset = _tmp45_ + _tmp46_; -#line 950 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 994 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp47_ = g_offset; -#line 950 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 994 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48_ = pixel_bytes; -#line 950 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 994 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_offset = _tmp47_ + _tmp48_; -#line 951 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 995 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp49_ = b_offset; -#line 951 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 995 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp50_ = pixel_bytes; -#line 951 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 995 "/home/jens/Source/shotwell/src/ColorTransformation.vala" b_offset = _tmp49_ + _tmp50_; -#line 8160 "ColorTransformation.c" +#line 8431 "ColorTransformation.c" } } } } -#line 930 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 974 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 8167 "ColorTransformation.c" +#line 8438 "ColorTransformation.c" } RGBHistogram* rgb_histogram_new (GdkPixbuf* pixbuf) { -#line 930 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 974 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return rgb_histogram_construct (TYPE_RGB_HISTOGRAM, pixbuf); -#line 8174 "ColorTransformation.c" +#line 8445 "ColorTransformation.c" } @@ -8190,67 +8461,67 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint gint _tmp54__length1 = 0; gint _tmp55_ = 0; gint _tmp56_ = 0; -#line 956 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1000 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_RGB_HISTOGRAM (self), 0); -#line 957 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1001 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = buckets; -#line 957 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1001 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0__length1 = buckets_length1; -#line 957 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1001 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _vala_assert (_tmp0__length1 == 256, "buckets.length == 256"); -#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1002 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = i; -#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1002 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp2_ >= 0) { -#line 8201 "ColorTransformation.c" +#line 8472 "ColorTransformation.c" gint _tmp3_ = 0; -#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1002 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = i; -#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1002 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = _tmp3_ <= 255; -#line 8207 "ColorTransformation.c" +#line 8478 "ColorTransformation.c" } else { -#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1002 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = FALSE; -#line 8211 "ColorTransformation.c" +#line 8482 "ColorTransformation.c" } -#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1002 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _vala_assert (_tmp1_, "(i >= 0) && (i <= 255)"); -#line 960 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = i; -#line 960 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp4_ == 0) { -#line 8219 "ColorTransformation.c" +#line 8490 "ColorTransformation.c" gint* _tmp5_ = NULL; gint _tmp5__length1 = 0; gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 961 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1005 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = buckets; -#line 961 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1005 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5__length1 = buckets_length1; -#line 961 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1005 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = i; -#line 961 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1005 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = _tmp5_[_tmp6_]; -#line 961 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1005 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp7_ > 0) { -#line 8234 "ColorTransformation.c" +#line 8505 "ColorTransformation.c" gint* _tmp8_ = NULL; gint _tmp8__length1 = 0; gint _tmp9_ = 0; gint _tmp10_ = 0; -#line 962 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = buckets; -#line 962 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8__length1 = buckets_length1; -#line 962 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = i; -#line 962 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = _tmp8_[_tmp9_ + 1]; -#line 962 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp10_ > 0) { -#line 8249 "ColorTransformation.c" +#line 8520 "ColorTransformation.c" gint* _tmp11_ = NULL; gint _tmp11__length1 = 0; gint _tmp12_ = 0; @@ -8259,82 +8530,82 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint gint _tmp14__length1 = 0; gint _tmp15_ = 0; gint _tmp16_ = 0; -#line 963 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1007 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = buckets; -#line 963 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1007 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11__length1 = buckets_length1; -#line 963 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1007 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = i; -#line 963 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1007 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = _tmp11_[_tmp12_]; -#line 963 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1007 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = buckets; -#line 963 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1007 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14__length1 = buckets_length1; -#line 963 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1007 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = i; -#line 963 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1007 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = _tmp14_[_tmp15_ + 1]; -#line 963 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1007 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp13_ > (2 * _tmp16_)) { -#line 8276 "ColorTransformation.c" +#line 8547 "ColorTransformation.c" gint* _tmp17_ = NULL; gint _tmp17__length1 = 0; gint _tmp18_ = 0; gint _tmp19_ = 0; -#line 964 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = buckets; -#line 964 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17__length1 = buckets_length1; -#line 964 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = i; -#line 964 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = _tmp17_[_tmp18_ + 1]; -#line 964 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp19_; -#line 964 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 8293 "ColorTransformation.c" +#line 8564 "ColorTransformation.c" } } } } else { gint _tmp20_ = 0; -#line 965 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1009 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = i; -#line 965 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1009 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp20_ == 255) { -#line 8303 "ColorTransformation.c" +#line 8574 "ColorTransformation.c" gint* _tmp21_ = NULL; gint _tmp21__length1 = 0; gint _tmp22_ = 0; gint _tmp23_ = 0; -#line 966 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = buckets; -#line 966 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21__length1 = buckets_length1; -#line 966 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = i; -#line 966 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = _tmp21_[_tmp22_]; -#line 966 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp23_ > 0) { -#line 8318 "ColorTransformation.c" +#line 8589 "ColorTransformation.c" gint* _tmp24_ = NULL; gint _tmp24__length1 = 0; gint _tmp25_ = 0; gint _tmp26_ = 0; -#line 967 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1011 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = buckets; -#line 967 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1011 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24__length1 = buckets_length1; -#line 967 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1011 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = i; -#line 967 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1011 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = _tmp24_[_tmp25_ - 1]; -#line 967 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1011 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp26_ > 0) { -#line 8333 "ColorTransformation.c" +#line 8604 "ColorTransformation.c" gint* _tmp27_ = NULL; gint _tmp27__length1 = 0; gint _tmp28_ = 0; @@ -8343,42 +8614,42 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint gint _tmp30__length1 = 0; gint _tmp31_ = 0; gint _tmp32_ = 0; -#line 968 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = buckets; -#line 968 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27__length1 = buckets_length1; -#line 968 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = i; -#line 968 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = _tmp27_[_tmp28_]; -#line 968 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_ = buckets; -#line 968 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30__length1 = buckets_length1; -#line 968 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_ = i; -#line 968 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32_ = _tmp30_[_tmp31_ - 1]; -#line 968 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp29_ > (2 * _tmp32_)) { -#line 8360 "ColorTransformation.c" +#line 8631 "ColorTransformation.c" gint* _tmp33_ = NULL; gint _tmp33__length1 = 0; gint _tmp34_ = 0; gint _tmp35_ = 0; -#line 969 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1013 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp33_ = buckets; -#line 969 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1013 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp33__length1 = buckets_length1; -#line 969 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1013 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34_ = i; -#line 969 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1013 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_ = _tmp33_[_tmp34_ - 1]; -#line 969 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1013 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp35_; -#line 969 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1013 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 8377 "ColorTransformation.c" +#line 8648 "ColorTransformation.c" } } } @@ -8387,17 +8658,17 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint gint _tmp36__length1 = 0; gint _tmp37_ = 0; gint _tmp38_ = 0; -#line 971 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36_ = buckets; -#line 971 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36__length1 = buckets_length1; -#line 971 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp37_ = i; -#line 971 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_ = _tmp36_[_tmp37_]; -#line 971 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp38_ > 0) { -#line 8396 "ColorTransformation.c" +#line 8667 "ColorTransformation.c" gint* _tmp39_ = NULL; gint _tmp39__length1 = 0; gint _tmp40_ = 0; @@ -8410,33 +8681,33 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint gint _tmp45__length1 = 0; gint _tmp46_ = 0; gint _tmp47_ = 0; -#line 972 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39_ = buckets; -#line 972 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39__length1 = buckets_length1; -#line 972 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp40_ = i; -#line 972 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41_ = _tmp39_[_tmp40_]; -#line 972 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp42_ = buckets; -#line 972 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp42__length1 = buckets_length1; -#line 972 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43_ = i; -#line 972 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp44_ = _tmp42_[_tmp43_ - 1]; -#line 972 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp45_ = buckets; -#line 972 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp45__length1 = buckets_length1; -#line 972 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp46_ = i; -#line 972 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp47_ = _tmp45_[_tmp46_ + 1]; -#line 972 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp41_ > ((_tmp44_ + _tmp47_) / 2)) { -#line 8435 "ColorTransformation.c" +#line 8706 "ColorTransformation.c" gint* _tmp48_ = NULL; gint _tmp48__length1 = 0; gint _tmp49_ = 0; @@ -8445,44 +8716,44 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint gint _tmp51__length1 = 0; gint _tmp52_ = 0; gint _tmp53_ = 0; -#line 973 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48_ = buckets; -#line 973 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48__length1 = buckets_length1; -#line 973 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp49_ = i; -#line 973 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp50_ = _tmp48_[_tmp49_ - 1]; -#line 973 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp51_ = buckets; -#line 973 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp51__length1 = buckets_length1; -#line 973 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp52_ = i; -#line 973 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp53_ = _tmp51_[_tmp52_ + 1]; -#line 973 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = (_tmp50_ + _tmp53_) / 2; -#line 973 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 8464 "ColorTransformation.c" +#line 8735 "ColorTransformation.c" } } } } -#line 976 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1020 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp54_ = buckets; -#line 976 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1020 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp54__length1 = buckets_length1; -#line 976 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1020 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp55_ = i; -#line 976 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1020 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp56_ = _tmp54_[_tmp55_]; -#line 976 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1020 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp56_; -#line 976 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1020 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 8481 "ColorTransformation.c" +#line 8752 "ColorTransformation.c" } @@ -8497,124 +8768,124 @@ static gint rgb_histogram_correct_snap_from_quantization (RGBHistogram* self, gi gint _tmp27__length1 = 0; gint _tmp28_ = 0; gint _tmp29_ = 0; -#line 979 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_RGB_HISTOGRAM (self), 0); -#line 980 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1024 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = buckets; -#line 980 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1024 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0__length1 = buckets_length1; -#line 980 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1024 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _vala_assert (_tmp0__length1 == 256, "buckets.length == 256"); -#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1025 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = i; -#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1025 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp2_ >= 0) { -#line 8508 "ColorTransformation.c" +#line 8779 "ColorTransformation.c" gint _tmp3_ = 0; -#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1025 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = i; -#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1025 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = _tmp3_ <= 255; -#line 8514 "ColorTransformation.c" +#line 8785 "ColorTransformation.c" } else { -#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1025 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = FALSE; -#line 8518 "ColorTransformation.c" +#line 8789 "ColorTransformation.c" } -#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1025 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _vala_assert (_tmp1_, "(i >= 0) && (i <= 255)"); -#line 983 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1027 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = i; -#line 983 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1027 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp4_ == 0) { -#line 8526 "ColorTransformation.c" +#line 8797 "ColorTransformation.c" gint* _tmp5_ = NULL; gint _tmp5__length1 = 0; gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 984 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = buckets; -#line 984 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5__length1 = buckets_length1; -#line 984 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = i; -#line 984 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = _tmp5_[_tmp6_]; -#line 984 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp7_; -#line 984 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 8543 "ColorTransformation.c" +#line 8814 "ColorTransformation.c" } else { gint _tmp8_ = 0; -#line 985 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1029 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = i; -#line 985 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1029 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp8_ == 255) { -#line 8550 "ColorTransformation.c" +#line 8821 "ColorTransformation.c" gint* _tmp9_ = NULL; gint _tmp9__length1 = 0; gint _tmp10_ = 0; gint _tmp11_ = 0; -#line 986 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1030 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = buckets; -#line 986 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1030 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9__length1 = buckets_length1; -#line 986 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1030 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = i; -#line 986 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1030 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = _tmp9_[_tmp10_]; -#line 986 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1030 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp11_; -#line 986 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1030 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 8567 "ColorTransformation.c" +#line 8838 "ColorTransformation.c" } else { gint* _tmp12_ = NULL; gint _tmp12__length1 = 0; gint _tmp13_ = 0; gint _tmp14_ = 0; -#line 988 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1032 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = buckets; -#line 988 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1032 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12__length1 = buckets_length1; -#line 988 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1032 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = i; -#line 988 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1032 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = _tmp12_[_tmp13_]; -#line 988 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1032 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp14_ == 0) { -#line 8583 "ColorTransformation.c" +#line 8854 "ColorTransformation.c" gint* _tmp15_ = NULL; gint _tmp15__length1 = 0; gint _tmp16_ = 0; gint _tmp17_ = 0; -#line 989 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1033 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = buckets; -#line 989 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1033 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15__length1 = buckets_length1; -#line 989 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1033 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = i; -#line 989 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1033 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = _tmp15_[_tmp16_ - 1]; -#line 989 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1033 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp17_ > 0) { -#line 8598 "ColorTransformation.c" +#line 8869 "ColorTransformation.c" gint* _tmp18_ = NULL; gint _tmp18__length1 = 0; gint _tmp19_ = 0; gint _tmp20_ = 0; -#line 990 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1034 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = buckets; -#line 990 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1034 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18__length1 = buckets_length1; -#line 990 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1034 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = i; -#line 990 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1034 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = _tmp18_[_tmp19_ + 1]; -#line 990 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1034 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp20_ > 0) { -#line 8613 "ColorTransformation.c" +#line 8884 "ColorTransformation.c" gint* _tmp21_ = NULL; gint _tmp21__length1 = 0; gint _tmp22_ = 0; @@ -8623,45 +8894,45 @@ static gint rgb_histogram_correct_snap_from_quantization (RGBHistogram* self, gi gint _tmp24__length1 = 0; gint _tmp25_ = 0; gint _tmp26_ = 0; -#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1035 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = buckets; -#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1035 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21__length1 = buckets_length1; -#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1035 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = i; -#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1035 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = _tmp21_[_tmp22_ - 1]; -#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1035 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = buckets; -#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1035 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24__length1 = buckets_length1; -#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1035 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = i; -#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1035 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = _tmp24_[_tmp25_ + 1]; -#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1035 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = (_tmp23_ + _tmp26_) / 2; -#line 991 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1035 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 8642 "ColorTransformation.c" +#line 8913 "ColorTransformation.c" } } } } } -#line 994 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1038 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = buckets; -#line 994 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1038 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27__length1 = buckets_length1; -#line 994 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1038 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = i; -#line 994 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1038 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = _tmp27_[_tmp28_]; -#line 994 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1038 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp29_; -#line 994 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1038 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 8660 "ColorTransformation.c" +#line 8931 "ColorTransformation.c" } @@ -8830,359 +9101,359 @@ static void rgb_histogram_smooth_extrema (RGBHistogram* self, gint** count_data, gint _tmp106__length1 = 0; gint _tmp107_ = 0; gint _tmp108_ = 0; -#line 997 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1041 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_RGB_HISTOGRAM (self)); -#line 998 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1042 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = *count_data; -#line 998 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1042 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0__length1 = *count_data_length1; -#line 998 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1042 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _vala_assert (_tmp0__length1 == 256, "count_data.length == 256"); -#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1048 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = *count_data; -#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1048 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1__length1 = *count_data_length1; -#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1048 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = *count_data; -#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1048 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2__length1 = *count_data_length1; -#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1048 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = _tmp2_[0]; -#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1048 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = *count_data; -#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1048 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4__length1 = *count_data_length1; -#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1048 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = _tmp4_[1]; -#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1048 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = *count_data; -#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1048 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6__length1 = *count_data_length1; -#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1048 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = _tmp6_[2]; -#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1048 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_[0] = (((5 * _tmp3_) + (3 * _tmp5_)) + (2 * _tmp7_)) / 10; -#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1048 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = _tmp1_[0]; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = *count_data; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9__length1 = *count_data_length1; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = *count_data; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10__length1 = *count_data_length1; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = _tmp10_[0]; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = *count_data; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12__length1 = *count_data_length1; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = _tmp12_[1]; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = *count_data; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14__length1 = *count_data_length1; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = _tmp14_[2]; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = *count_data; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16__length1 = *count_data_length1; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = _tmp16_[3]; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_[1] = ((((3 * _tmp11_) + (5 * _tmp13_)) + (3 * _tmp15_)) + (2 * _tmp17_)) / 13; -#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1050 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = _tmp9_[1]; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = *count_data; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19__length1 = *count_data_length1; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = *count_data; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20__length1 = *count_data_length1; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = _tmp20_[0]; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = *count_data; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22__length1 = *count_data_length1; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = _tmp22_[1]; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = *count_data; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24__length1 = *count_data_length1; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = _tmp24_[2]; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = *count_data; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26__length1 = *count_data_length1; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = _tmp26_[3]; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = *count_data; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28__length1 = *count_data_length1; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = _tmp28_[4]; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_[2] = (((((2 * _tmp21_) + (3 * _tmp23_)) + (5 * _tmp25_)) + (3 * _tmp27_)) + (2 * _tmp29_)) / 15; -#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1052 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_ = _tmp19_[2]; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_ = *count_data; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31__length1 = *count_data_length1; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32_ = *count_data; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32__length1 = *count_data_length1; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp33_ = _tmp32_[1]; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34_ = *count_data; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34__length1 = *count_data_length1; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_ = _tmp34_[2]; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36_ = *count_data; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36__length1 = *count_data_length1; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp37_ = _tmp36_[3]; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_ = *count_data; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38__length1 = *count_data_length1; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39_ = _tmp38_[4]; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp40_ = *count_data; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp40__length1 = *count_data_length1; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41_ = _tmp40_[5]; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_[3] = (((((2 * _tmp33_) + (3 * _tmp35_)) + (5 * _tmp37_)) + (3 * _tmp39_)) + (2 * _tmp41_)) / 15; -#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp42_ = _tmp31_[3]; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43_ = *count_data; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43__length1 = *count_data_length1; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp44_ = *count_data; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp44__length1 = *count_data_length1; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp45_ = _tmp44_[2]; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp46_ = *count_data; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp46__length1 = *count_data_length1; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp47_ = _tmp46_[3]; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48_ = *count_data; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48__length1 = *count_data_length1; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp49_ = _tmp48_[4]; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp50_ = *count_data; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp50__length1 = *count_data_length1; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp51_ = _tmp50_[5]; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp52_ = *count_data; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp52__length1 = *count_data_length1; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp53_ = _tmp52_[6]; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43_[4] = (((((2 * _tmp45_) + (3 * _tmp47_)) + (5 * _tmp49_)) + (3 * _tmp51_)) + (2 * _tmp53_)) / 15; -#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp54_ = _tmp43_[4]; -#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1059 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp55_ = *count_data; -#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1059 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp55__length1 = *count_data_length1; -#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1059 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp56_ = *count_data; -#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1059 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp56__length1 = *count_data_length1; -#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1059 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp57_ = _tmp56_[255]; -#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1059 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp58_ = *count_data; -#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1059 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp58__length1 = *count_data_length1; -#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1059 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp59_ = _tmp58_[254]; -#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1059 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp60_ = *count_data; -#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1059 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp60__length1 = *count_data_length1; -#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1059 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp61_ = _tmp60_[253]; -#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1059 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp55_[255] = (((5 * _tmp57_) + (3 * _tmp59_)) + (2 * _tmp61_)) / 10; -#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1059 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp62_ = _tmp55_[255]; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp63_ = *count_data; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp63__length1 = *count_data_length1; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp64_ = *count_data; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp64__length1 = *count_data_length1; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp65_ = _tmp64_[255]; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp66_ = *count_data; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp66__length1 = *count_data_length1; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp67_ = _tmp66_[254]; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp68_ = *count_data; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp68__length1 = *count_data_length1; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp69_ = _tmp68_[253]; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp70_ = *count_data; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp70__length1 = *count_data_length1; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp71_ = _tmp70_[252]; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp63_[254] = ((((3 * _tmp65_) + (5 * _tmp67_)) + (3 * _tmp69_)) + (2 * _tmp71_)) / 13; -#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp72_ = _tmp63_[254]; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp73_ = *count_data; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp73__length1 = *count_data_length1; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp74_ = *count_data; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp74__length1 = *count_data_length1; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp75_ = _tmp74_[255]; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp76_ = *count_data; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp76__length1 = *count_data_length1; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp77_ = _tmp76_[254]; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp78_ = *count_data; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp78__length1 = *count_data_length1; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp79_ = _tmp78_[253]; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp80_ = *count_data; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp80__length1 = *count_data_length1; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp81_ = _tmp80_[252]; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp82_ = *count_data; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp82__length1 = *count_data_length1; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp83_ = _tmp82_[251]; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp73_[253] = (((((2 * _tmp75_) + (3 * _tmp77_)) + (5 * _tmp79_)) + (3 * _tmp81_)) + (2 * _tmp83_)) / 15; -#line 1019 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1063 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp84_ = _tmp73_[253]; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp85_ = *count_data; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp85__length1 = *count_data_length1; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp86_ = *count_data; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp86__length1 = *count_data_length1; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp87_ = _tmp86_[254]; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp88_ = *count_data; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp88__length1 = *count_data_length1; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp89_ = _tmp88_[253]; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp90_ = *count_data; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp90__length1 = *count_data_length1; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp91_ = _tmp90_[252]; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp92_ = *count_data; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp92__length1 = *count_data_length1; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp93_ = _tmp92_[251]; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp94_ = *count_data; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp94__length1 = *count_data_length1; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp95_ = _tmp94_[250]; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp85_[252] = (((((2 * _tmp87_) + (3 * _tmp89_)) + (5 * _tmp91_)) + (3 * _tmp93_)) + (2 * _tmp95_)) / 15; -#line 1021 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1065 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp96_ = _tmp85_[252]; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp97_ = *count_data; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp97__length1 = *count_data_length1; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp98_ = *count_data; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp98__length1 = *count_data_length1; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp99_ = _tmp98_[253]; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp100_ = *count_data; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp100__length1 = *count_data_length1; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp101_ = _tmp100_[252]; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp102_ = *count_data; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp102__length1 = *count_data_length1; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp103_ = _tmp102_[251]; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp104_ = *count_data; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp104__length1 = *count_data_length1; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp105_ = _tmp104_[250]; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp106_ = *count_data; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp106__length1 = *count_data_length1; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp107_ = _tmp106_[249]; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp97_[251] = (((((2 * _tmp99_) + (3 * _tmp101_)) + (5 * _tmp103_)) + (3 * _tmp105_)) + (2 * _tmp107_)) / 15; -#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1067 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp108_ = _tmp97_[251]; -#line 9181 "ColorTransformation.c" +#line 9452 "ColorTransformation.c" } @@ -9210,119 +9481,119 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) { gint _tmp87_ = 0; gint constrained_max_qual_count = 0; gint _tmp88_ = 0; -#line 1027 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1071 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_RGB_HISTOGRAM (self)); -#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = self->priv->qualitative_red_counts; -#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2__length1 = self->priv->qualitative_red_counts_length1; -#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp2_ != NULL) { -#line 9217 "ColorTransformation.c" +#line 9488 "ColorTransformation.c" gint* _tmp3_ = NULL; gint _tmp3__length1 = 0; -#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = self->priv->qualitative_green_counts; -#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3__length1 = self->priv->qualitative_green_counts_length1; -#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = _tmp3_ != NULL; -#line 9226 "ColorTransformation.c" +#line 9497 "ColorTransformation.c" } else { -#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = FALSE; -#line 9230 "ColorTransformation.c" +#line 9501 "ColorTransformation.c" } -#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp1_) { -#line 9234 "ColorTransformation.c" +#line 9505 "ColorTransformation.c" gint* _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 1029 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1073 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = self->priv->qualitative_blue_counts; -#line 1029 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1073 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4__length1 = self->priv->qualitative_blue_counts_length1; -#line 1029 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1073 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = _tmp4_ != NULL; -#line 9243 "ColorTransformation.c" +#line 9514 "ColorTransformation.c" } else { -#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = FALSE; -#line 9247 "ColorTransformation.c" +#line 9518 "ColorTransformation.c" } -#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp0_) { -#line 1030 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1074 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return; -#line 9253 "ColorTransformation.c" +#line 9524 "ColorTransformation.c" } -#line 1032 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1076 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = g_new0 (gint, 256); -#line 1032 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1076 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_red_counts = (g_free (self->priv->qualitative_red_counts), NULL); -#line 1032 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1076 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_red_counts = _tmp5_; -#line 1032 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1076 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_red_counts_length1 = 256; -#line 1032 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1076 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_qualitative_red_counts_size_ = self->priv->qualitative_red_counts_length1; -#line 1033 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1077 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = g_new0 (gint, 256); -#line 1033 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1077 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_green_counts = (g_free (self->priv->qualitative_green_counts), NULL); -#line 1033 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1077 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_green_counts = _tmp6_; -#line 1033 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1077 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_green_counts_length1 = 256; -#line 1033 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1077 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_qualitative_green_counts_size_ = self->priv->qualitative_green_counts_length1; -#line 1034 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1078 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = g_new0 (gint, 256); -#line 1034 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1078 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_blue_counts = (g_free (self->priv->qualitative_blue_counts), NULL); -#line 1034 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1078 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_blue_counts = _tmp7_; -#line 1034 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1078 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_blue_counts_length1 = 256; -#line 1034 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1078 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_qualitative_blue_counts_size_ = self->priv->qualitative_blue_counts_length1; -#line 1036 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1080 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = g_new0 (gint, 256); -#line 1036 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1080 "/home/jens/Source/shotwell/src/ColorTransformation.vala" temp_red_counts = _tmp8_; -#line 1036 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1080 "/home/jens/Source/shotwell/src/ColorTransformation.vala" temp_red_counts_length1 = 256; -#line 1036 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1080 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _temp_red_counts_size_ = temp_red_counts_length1; -#line 1037 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1081 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = g_new0 (gint, 256); -#line 1037 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1081 "/home/jens/Source/shotwell/src/ColorTransformation.vala" temp_green_counts = _tmp9_; -#line 1037 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1081 "/home/jens/Source/shotwell/src/ColorTransformation.vala" temp_green_counts_length1 = 256; -#line 1037 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1081 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _temp_green_counts_size_ = temp_green_counts_length1; -#line 1038 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1082 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = g_new0 (gint, 256); -#line 1038 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1082 "/home/jens/Source/shotwell/src/ColorTransformation.vala" temp_blue_counts = _tmp10_; -#line 1038 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1082 "/home/jens/Source/shotwell/src/ColorTransformation.vala" temp_blue_counts_length1 = 256; -#line 1038 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1082 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _temp_blue_counts_size_ = temp_blue_counts_length1; -#line 9309 "ColorTransformation.c" +#line 9580 "ColorTransformation.c" { gint i = 0; -#line 1044 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1088 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 9314 "ColorTransformation.c" +#line 9585 "ColorTransformation.c" { gboolean _tmp11_ = FALSE; -#line 1044 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1088 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = TRUE; -#line 1044 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1088 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 9321 "ColorTransformation.c" +#line 9592 "ColorTransformation.c" gint _tmp13_ = 0; gint* _tmp14_ = NULL; gint _tmp14__length1 = 0; @@ -9348,96 +9619,96 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) { gint _tmp29_ = 0; gint _tmp30_ = 0; gint _tmp31_ = 0; -#line 1044 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1088 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp11_) { -#line 9349 "ColorTransformation.c" +#line 9620 "ColorTransformation.c" gint _tmp12_ = 0; -#line 1044 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1088 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = i; -#line 1044 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1088 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp12_ + 1; -#line 9355 "ColorTransformation.c" +#line 9626 "ColorTransformation.c" } -#line 1044 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1088 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = FALSE; -#line 1044 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1088 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = i; -#line 1044 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1088 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp13_ < 256)) { -#line 1044 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1088 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 9365 "ColorTransformation.c" +#line 9636 "ColorTransformation.c" } -#line 1045 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1089 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = self->priv->qualitative_red_counts; -#line 1045 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1089 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14__length1 = self->priv->qualitative_red_counts_length1; -#line 1045 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1089 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = i; -#line 1045 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1089 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = self->priv->red_counts; -#line 1045 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1089 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16__length1 = self->priv->red_counts_length1; -#line 1045 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1089 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = i; -#line 1045 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1089 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = rgb_histogram_correct_snap_from_quantization (self, _tmp16_, _tmp16__length1, _tmp17_); -#line 1045 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1089 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_[_tmp15_] = _tmp18_; -#line 1045 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1089 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = _tmp14_[_tmp15_]; -#line 1047 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1091 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = self->priv->qualitative_green_counts; -#line 1047 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1091 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20__length1 = self->priv->qualitative_green_counts_length1; -#line 1047 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1091 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = i; -#line 1047 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1091 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = self->priv->green_counts; -#line 1047 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1091 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22__length1 = self->priv->green_counts_length1; -#line 1047 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1091 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = i; -#line 1047 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1091 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = rgb_histogram_correct_snap_from_quantization (self, _tmp22_, _tmp22__length1, _tmp23_); -#line 1047 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1091 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_[_tmp21_] = _tmp24_; -#line 1047 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1091 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = _tmp20_[_tmp21_]; -#line 1049 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1093 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = self->priv->qualitative_blue_counts; -#line 1049 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1093 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26__length1 = self->priv->qualitative_blue_counts_length1; -#line 1049 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1093 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = i; -#line 1049 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1093 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = self->priv->blue_counts; -#line 1049 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1093 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28__length1 = self->priv->blue_counts_length1; -#line 1049 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1093 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = i; -#line 1049 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1093 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_ = rgb_histogram_correct_snap_from_quantization (self, _tmp28_, _tmp28__length1, _tmp29_); -#line 1049 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1093 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_[_tmp27_] = _tmp30_; -#line 1049 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1093 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_ = _tmp26_[_tmp27_]; -#line 9421 "ColorTransformation.c" +#line 9692 "ColorTransformation.c" } } } { gint i = 0; -#line 1053 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1097 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 9429 "ColorTransformation.c" +#line 9700 "ColorTransformation.c" { gboolean _tmp32_ = FALSE; -#line 1053 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1097 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32_ = TRUE; -#line 1053 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1097 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 9436 "ColorTransformation.c" +#line 9707 "ColorTransformation.c" gint _tmp34_ = 0; gint* _tmp35_ = NULL; gint _tmp35__length1 = 0; @@ -9463,96 +9734,96 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) { gint _tmp50_ = 0; gint _tmp51_ = 0; gint _tmp52_ = 0; -#line 1053 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1097 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp32_) { -#line 9464 "ColorTransformation.c" +#line 9735 "ColorTransformation.c" gint _tmp33_ = 0; -#line 1053 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1097 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp33_ = i; -#line 1053 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1097 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp33_ + 1; -#line 9470 "ColorTransformation.c" +#line 9741 "ColorTransformation.c" } -#line 1053 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1097 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32_ = FALSE; -#line 1053 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1097 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34_ = i; -#line 1053 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1097 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp34_ < 256)) { -#line 1053 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1097 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 9480 "ColorTransformation.c" +#line 9751 "ColorTransformation.c" } -#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1098 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_ = temp_red_counts; -#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1098 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35__length1 = temp_red_counts_length1; -#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1098 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36_ = i; -#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1098 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp37_ = self->priv->qualitative_red_counts; -#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1098 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp37__length1 = self->priv->qualitative_red_counts_length1; -#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1098 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_ = i; -#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1098 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39_ = _tmp37_[_tmp38_]; -#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1098 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_[_tmp36_] = _tmp39_; -#line 1054 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1098 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp40_ = _tmp35_[_tmp36_]; -#line 1055 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41_ = temp_green_counts; -#line 1055 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41__length1 = temp_green_counts_length1; -#line 1055 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp42_ = i; -#line 1055 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43_ = self->priv->qualitative_green_counts; -#line 1055 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43__length1 = self->priv->qualitative_green_counts_length1; -#line 1055 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp44_ = i; -#line 1055 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp45_ = _tmp43_[_tmp44_]; -#line 1055 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41_[_tmp42_] = _tmp45_; -#line 1055 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp46_ = _tmp41_[_tmp42_]; -#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp47_ = temp_blue_counts; -#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp47__length1 = temp_blue_counts_length1; -#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48_ = i; -#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp49_ = self->priv->qualitative_blue_counts; -#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp49__length1 = self->priv->qualitative_blue_counts_length1; -#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp50_ = i; -#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp51_ = _tmp49_[_tmp50_]; -#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp47_[_tmp48_] = _tmp51_; -#line 1056 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp52_ = _tmp47_[_tmp48_]; -#line 9536 "ColorTransformation.c" +#line 9807 "ColorTransformation.c" } } } { gint i = 0; -#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 9544 "ColorTransformation.c" +#line 9815 "ColorTransformation.c" { gboolean _tmp53_ = FALSE; -#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp53_ = TRUE; -#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 9551 "ColorTransformation.c" +#line 9822 "ColorTransformation.c" gint _tmp55_ = 0; gint* _tmp56_ = NULL; gint _tmp56__length1 = 0; @@ -9578,99 +9849,99 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) { gint _tmp71_ = 0; gint _tmp72_ = 0; gint _tmp73_ = 0; -#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp53_) { -#line 9579 "ColorTransformation.c" +#line 9850 "ColorTransformation.c" gint _tmp54_ = 0; -#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp54_ = i; -#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp54_ + 1; -#line 9585 "ColorTransformation.c" +#line 9856 "ColorTransformation.c" } -#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp53_ = FALSE; -#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp55_ = i; -#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp55_ < 256)) { -#line 1061 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 9595 "ColorTransformation.c" +#line 9866 "ColorTransformation.c" } -#line 1062 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1106 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp56_ = self->priv->qualitative_red_counts; -#line 1062 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1106 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp56__length1 = self->priv->qualitative_red_counts_length1; -#line 1062 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1106 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp57_ = i; -#line 1062 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1106 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp58_ = temp_red_counts; -#line 1062 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1106 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp58__length1 = temp_red_counts_length1; -#line 1062 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1106 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp59_ = i; -#line 1062 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1106 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp60_ = rgb_histogram_correct_snap_to_quantization (self, _tmp58_, _tmp58__length1, _tmp59_); -#line 1062 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1106 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp56_[_tmp57_] = _tmp60_; -#line 1062 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1106 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp61_ = _tmp56_[_tmp57_]; -#line 1064 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1108 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp62_ = self->priv->qualitative_green_counts; -#line 1064 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1108 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp62__length1 = self->priv->qualitative_green_counts_length1; -#line 1064 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1108 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp63_ = i; -#line 1064 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1108 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp64_ = temp_green_counts; -#line 1064 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1108 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp64__length1 = temp_green_counts_length1; -#line 1064 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1108 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp65_ = i; -#line 1064 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1108 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp66_ = rgb_histogram_correct_snap_to_quantization (self, _tmp64_, _tmp64__length1, _tmp65_); -#line 1064 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1108 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp62_[_tmp63_] = _tmp66_; -#line 1064 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1108 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp67_ = _tmp62_[_tmp63_]; -#line 1066 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1110 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp68_ = self->priv->qualitative_blue_counts; -#line 1066 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1110 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp68__length1 = self->priv->qualitative_blue_counts_length1; -#line 1066 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1110 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp69_ = i; -#line 1066 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1110 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp70_ = temp_blue_counts; -#line 1066 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1110 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp70__length1 = temp_blue_counts_length1; -#line 1066 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1110 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp71_ = i; -#line 1066 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1110 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp72_ = rgb_histogram_correct_snap_to_quantization (self, _tmp70_, _tmp70__length1, _tmp71_); -#line 1066 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1110 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp68_[_tmp69_] = _tmp72_; -#line 1066 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1110 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp73_ = _tmp68_[_tmp69_]; -#line 9651 "ColorTransformation.c" +#line 9922 "ColorTransformation.c" } } } -#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1116 "/home/jens/Source/shotwell/src/ColorTransformation.vala" mean_qual_count = 0; -#line 9657 "ColorTransformation.c" +#line 9928 "ColorTransformation.c" { gint i = 0; -#line 1073 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1117 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 9662 "ColorTransformation.c" +#line 9933 "ColorTransformation.c" { gboolean _tmp74_ = FALSE; -#line 1073 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1117 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp74_ = TRUE; -#line 1073 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1117 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 9669 "ColorTransformation.c" +#line 9940 "ColorTransformation.c" gint _tmp76_ = 0; gint _tmp77_ = 0; gint* _tmp78_ = NULL; @@ -9685,79 +9956,79 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) { gint _tmp84__length1 = 0; gint _tmp85_ = 0; gint _tmp86_ = 0; -#line 1073 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1117 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp74_) { -#line 9686 "ColorTransformation.c" +#line 9957 "ColorTransformation.c" gint _tmp75_ = 0; -#line 1073 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1117 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp75_ = i; -#line 1073 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1117 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp75_ + 1; -#line 9692 "ColorTransformation.c" +#line 9963 "ColorTransformation.c" } -#line 1073 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1117 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp74_ = FALSE; -#line 1073 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1117 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp76_ = i; -#line 1073 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1117 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp76_ < 256)) { -#line 1073 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1117 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 9702 "ColorTransformation.c" +#line 9973 "ColorTransformation.c" } -#line 1074 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp77_ = mean_qual_count; -#line 1074 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp78_ = self->priv->qualitative_red_counts; -#line 1074 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp78__length1 = self->priv->qualitative_red_counts_length1; -#line 1074 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp79_ = i; -#line 1074 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp80_ = _tmp78_[_tmp79_]; -#line 1074 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp81_ = self->priv->qualitative_green_counts; -#line 1074 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp81__length1 = self->priv->qualitative_green_counts_length1; -#line 1074 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp82_ = i; -#line 1074 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp83_ = _tmp81_[_tmp82_]; -#line 1074 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp84_ = self->priv->qualitative_blue_counts; -#line 1074 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp84__length1 = self->priv->qualitative_blue_counts_length1; -#line 1074 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp85_ = i; -#line 1074 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp86_ = _tmp84_[_tmp85_]; -#line 1074 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" mean_qual_count = _tmp77_ + ((_tmp80_ + _tmp83_) + _tmp86_); -#line 9732 "ColorTransformation.c" +#line 10003 "ColorTransformation.c" } } } -#line 1077 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1121 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp87_ = mean_qual_count; -#line 1077 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1121 "/home/jens/Source/shotwell/src/ColorTransformation.vala" mean_qual_count = _tmp87_ / (256 * 3); -#line 1078 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1122 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp88_ = mean_qual_count; -#line 1078 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1122 "/home/jens/Source/shotwell/src/ColorTransformation.vala" constrained_max_qual_count = 8 * _tmp88_; -#line 9744 "ColorTransformation.c" +#line 10015 "ColorTransformation.c" { gint i = 0; -#line 1079 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 9749 "ColorTransformation.c" +#line 10020 "ColorTransformation.c" { gboolean _tmp89_ = FALSE; -#line 1079 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp89_ = TRUE; -#line 1079 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 9756 "ColorTransformation.c" +#line 10027 "ColorTransformation.c" gint _tmp91_ = 0; gint* _tmp92_ = NULL; gint _tmp92__length1 = 0; @@ -9774,138 +10045,138 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) { gint _tmp109_ = 0; gint _tmp110_ = 0; gint _tmp111_ = 0; -#line 1079 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp89_) { -#line 9775 "ColorTransformation.c" +#line 10046 "ColorTransformation.c" gint _tmp90_ = 0; -#line 1079 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp90_ = i; -#line 1079 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp90_ + 1; -#line 9781 "ColorTransformation.c" +#line 10052 "ColorTransformation.c" } -#line 1079 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp89_ = FALSE; -#line 1079 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp91_ = i; -#line 1079 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp91_ < 256)) { -#line 1079 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 9791 "ColorTransformation.c" +#line 10062 "ColorTransformation.c" } -#line 1080 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1124 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp92_ = self->priv->qualitative_red_counts; -#line 1080 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1124 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp92__length1 = self->priv->qualitative_red_counts_length1; -#line 1080 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1124 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp93_ = i; -#line 1080 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1124 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp94_ = _tmp92_[_tmp93_]; -#line 1080 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1124 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp95_ = constrained_max_qual_count; -#line 1080 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1124 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp94_ > _tmp95_) { -#line 9805 "ColorTransformation.c" +#line 10076 "ColorTransformation.c" gint* _tmp96_ = NULL; gint _tmp96__length1 = 0; gint _tmp97_ = 0; gint _tmp98_ = 0; gint _tmp99_ = 0; -#line 1081 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1125 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp96_ = self->priv->qualitative_red_counts; -#line 1081 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1125 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp96__length1 = self->priv->qualitative_red_counts_length1; -#line 1081 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1125 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp97_ = i; -#line 1081 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1125 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp98_ = constrained_max_qual_count; -#line 1081 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1125 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp96_[_tmp97_] = _tmp98_; -#line 1081 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1125 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp99_ = _tmp96_[_tmp97_]; -#line 9823 "ColorTransformation.c" +#line 10094 "ColorTransformation.c" } -#line 1083 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1127 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp100_ = self->priv->qualitative_green_counts; -#line 1083 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1127 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp100__length1 = self->priv->qualitative_green_counts_length1; -#line 1083 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1127 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp101_ = i; -#line 1083 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1127 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp102_ = _tmp100_[_tmp101_]; -#line 1083 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1127 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp103_ = constrained_max_qual_count; -#line 1083 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1127 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp102_ > _tmp103_) { -#line 9837 "ColorTransformation.c" +#line 10108 "ColorTransformation.c" gint* _tmp104_ = NULL; gint _tmp104__length1 = 0; gint _tmp105_ = 0; gint _tmp106_ = 0; gint _tmp107_ = 0; -#line 1084 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1128 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp104_ = self->priv->qualitative_green_counts; -#line 1084 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1128 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp104__length1 = self->priv->qualitative_green_counts_length1; -#line 1084 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1128 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp105_ = i; -#line 1084 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1128 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp106_ = constrained_max_qual_count; -#line 1084 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1128 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp104_[_tmp105_] = _tmp106_; -#line 1084 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1128 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp107_ = _tmp104_[_tmp105_]; -#line 9855 "ColorTransformation.c" +#line 10126 "ColorTransformation.c" } -#line 1086 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1130 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp108_ = self->priv->qualitative_blue_counts; -#line 1086 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1130 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp108__length1 = self->priv->qualitative_blue_counts_length1; -#line 1086 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1130 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp109_ = i; -#line 1086 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1130 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp110_ = _tmp108_[_tmp109_]; -#line 1086 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1130 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp111_ = constrained_max_qual_count; -#line 1086 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1130 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp110_ > _tmp111_) { -#line 9869 "ColorTransformation.c" +#line 10140 "ColorTransformation.c" gint* _tmp112_ = NULL; gint _tmp112__length1 = 0; gint _tmp113_ = 0; gint _tmp114_ = 0; gint _tmp115_ = 0; -#line 1087 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1131 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp112_ = self->priv->qualitative_blue_counts; -#line 1087 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1131 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp112__length1 = self->priv->qualitative_blue_counts_length1; -#line 1087 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1131 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp113_ = i; -#line 1087 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1131 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp114_ = constrained_max_qual_count; -#line 1087 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1131 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp112_[_tmp113_] = _tmp114_; -#line 1087 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1131 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp115_ = _tmp112_[_tmp113_]; -#line 9887 "ColorTransformation.c" +#line 10158 "ColorTransformation.c" } } } } -#line 1090 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1134 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_histogram_smooth_extrema (self, &self->priv->qualitative_red_counts, &self->priv->qualitative_red_counts_length1); -#line 1091 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1135 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_histogram_smooth_extrema (self, &self->priv->qualitative_green_counts, &self->priv->qualitative_green_counts_length1); -#line 1092 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1136 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_histogram_smooth_extrema (self, &self->priv->qualitative_blue_counts, &self->priv->qualitative_blue_counts_length1); -#line 1027 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1071 "/home/jens/Source/shotwell/src/ColorTransformation.vala" temp_blue_counts = (g_free (temp_blue_counts), NULL); -#line 1027 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1071 "/home/jens/Source/shotwell/src/ColorTransformation.vala" temp_green_counts = (g_free (temp_green_counts), NULL); -#line 1027 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1071 "/home/jens/Source/shotwell/src/ColorTransformation.vala" temp_red_counts = (g_free (temp_red_counts), NULL); -#line 9904 "ColorTransformation.c" +#line 10175 "ColorTransformation.c" } @@ -9914,13 +10185,13 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) { GdkPixbuf* _tmp0_ = NULL; GdkPixbuf* _tmp121_ = NULL; GdkPixbuf* _tmp122_ = NULL; -#line 1095 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1139 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_RGB_HISTOGRAM (self), NULL); -#line 1096 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1140 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->graphic; -#line 1096 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1140 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp0_ == NULL) { -#line 9919 "ColorTransformation.c" +#line 10190 "ColorTransformation.c" gint max_count = 0; GdkPixbuf* _tmp25_ = NULL; gint rowstride = 0; @@ -9942,23 +10213,23 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) { gint pixel_data_length1 = 0; gint _pixel_data_size_ = 0; gint _tmp37_ = 0; -#line 1097 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1141 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_histogram_prepare_qualitative_counts (self); -#line 1098 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1142 "/home/jens/Source/shotwell/src/ColorTransformation.vala" max_count = 0; -#line 9945 "ColorTransformation.c" +#line 10216 "ColorTransformation.c" { gint i = 0; -#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 9950 "ColorTransformation.c" +#line 10221 "ColorTransformation.c" { gboolean _tmp1_ = FALSE; -#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = TRUE; -#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 9957 "ColorTransformation.c" +#line 10228 "ColorTransformation.c" gint _tmp3_ = 0; gint* _tmp4_ = NULL; gint _tmp4__length1 = 0; @@ -9975,177 +10246,177 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) { gint _tmp19_ = 0; gint _tmp20_ = 0; gint _tmp21_ = 0; -#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp1_) { -#line 9976 "ColorTransformation.c" +#line 10247 "ColorTransformation.c" gint _tmp2_ = 0; -#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = i; -#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp2_ + 1; -#line 9982 "ColorTransformation.c" +#line 10253 "ColorTransformation.c" } -#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = FALSE; -#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = i; -#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp3_ < 256)) { -#line 1099 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 9992 "ColorTransformation.c" +#line 10263 "ColorTransformation.c" } -#line 1100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1144 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = self->priv->qualitative_red_counts; -#line 1100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1144 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4__length1 = self->priv->qualitative_red_counts_length1; -#line 1100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1144 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = i; -#line 1100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1144 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = _tmp4_[_tmp5_]; -#line 1100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1144 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = max_count; -#line 1100 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1144 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp6_ > _tmp7_) { -#line 10006 "ColorTransformation.c" +#line 10277 "ColorTransformation.c" gint* _tmp8_ = NULL; gint _tmp8__length1 = 0; gint _tmp9_ = 0; gint _tmp10_ = 0; -#line 1101 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1145 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = self->priv->qualitative_red_counts; -#line 1101 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1145 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8__length1 = self->priv->qualitative_red_counts_length1; -#line 1101 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1145 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = i; -#line 1101 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1145 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = _tmp8_[_tmp9_]; -#line 1101 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1145 "/home/jens/Source/shotwell/src/ColorTransformation.vala" max_count = _tmp10_; -#line 10021 "ColorTransformation.c" +#line 10292 "ColorTransformation.c" } -#line 1102 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1146 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = self->priv->qualitative_green_counts; -#line 1102 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1146 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11__length1 = self->priv->qualitative_green_counts_length1; -#line 1102 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1146 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = i; -#line 1102 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1146 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = _tmp11_[_tmp12_]; -#line 1102 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1146 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = max_count; -#line 1102 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1146 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp13_ > _tmp14_) { -#line 10035 "ColorTransformation.c" +#line 10306 "ColorTransformation.c" gint* _tmp15_ = NULL; gint _tmp15__length1 = 0; gint _tmp16_ = 0; gint _tmp17_ = 0; -#line 1103 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1147 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = self->priv->qualitative_green_counts; -#line 1103 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1147 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15__length1 = self->priv->qualitative_green_counts_length1; -#line 1103 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1147 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = i; -#line 1103 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1147 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = _tmp15_[_tmp16_]; -#line 1103 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1147 "/home/jens/Source/shotwell/src/ColorTransformation.vala" max_count = _tmp17_; -#line 10050 "ColorTransformation.c" +#line 10321 "ColorTransformation.c" } -#line 1104 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = self->priv->qualitative_blue_counts; -#line 1104 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18__length1 = self->priv->qualitative_blue_counts_length1; -#line 1104 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = i; -#line 1104 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = _tmp18_[_tmp19_]; -#line 1104 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = max_count; -#line 1104 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp20_ > _tmp21_) { -#line 10064 "ColorTransformation.c" +#line 10335 "ColorTransformation.c" gint* _tmp22_ = NULL; gint _tmp22__length1 = 0; gint _tmp23_ = 0; gint _tmp24_ = 0; -#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1149 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = self->priv->qualitative_blue_counts; -#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1149 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22__length1 = self->priv->qualitative_blue_counts_length1; -#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1149 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = i; -#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1149 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = _tmp22_[_tmp23_]; -#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1149 "/home/jens/Source/shotwell/src/ColorTransformation.vala" max_count = _tmp24_; -#line 10079 "ColorTransformation.c" +#line 10350 "ColorTransformation.c" } } } } -#line 1108 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1152 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, RGB_HISTOGRAM_GRAPHIC_WIDTH, RGB_HISTOGRAM_GRAPHIC_HEIGHT); -#line 1108 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1152 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_object_unref0 (self->priv->graphic); -#line 1108 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1152 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->graphic = _tmp25_; -#line 1111 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1155 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = self->priv->graphic; -#line 1111 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1155 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = gdk_pixbuf_get_rowstride (_tmp26_); -#line 1111 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1155 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = _tmp27_; -#line 1111 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1155 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rowstride = _tmp28_; -#line 1112 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1156 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = self->priv->graphic; -#line 1112 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1156 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_ = gdk_pixbuf_get_bits_per_sample (_tmp29_); -#line 1112 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1156 "/home/jens/Source/shotwell/src/ColorTransformation.vala" sample_bytes = _tmp30_ / 8; -#line 1113 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1157 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_ = sample_bytes; -#line 1113 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1157 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32_ = self->priv->graphic; -#line 1113 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1157 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp33_ = gdk_pixbuf_get_n_channels (_tmp32_); -#line 1113 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1157 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_bytes = _tmp31_ * _tmp33_; -#line 1115 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1159 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34_ = max_count; -#line 1115 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1159 "/home/jens/Source/shotwell/src/ColorTransformation.vala" scale_bar = (0.98 * ((gdouble) RGB_HISTOGRAM_GRAPHIC_HEIGHT)) / ((gdouble) _tmp34_); -#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1162 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_ = self->priv->graphic; -#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1162 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36_ = gdk_pixbuf_get_pixels (_tmp35_); -#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1162 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_data = _tmp36_; -#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1162 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_data_length1 = -1; -#line 1118 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1162 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_data_size_ = pixel_data_length1; -#line 1122 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1166 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp37_ = max_count; -#line 1122 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1166 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp37_ == 0) { -#line 10130 "ColorTransformation.c" +#line 10401 "ColorTransformation.c" GdkPixbuf* _tmp51_ = NULL; GdkPixbuf* _tmp52_ = NULL; { gint i = 0; -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 10137 "ColorTransformation.c" +#line 10408 "ColorTransformation.c" { gboolean _tmp38_ = FALSE; -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_ = TRUE; -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 10144 "ColorTransformation.c" +#line 10415 "ColorTransformation.c" gint _tmp40_ = 0; gint _tmp41_ = 0; GdkPixbuf* _tmp42_ = NULL; @@ -10158,76 +10429,76 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) { gint _tmp48__length1 = 0; gint _tmp49_ = 0; guchar _tmp50_ = '\0'; -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp38_) { -#line 10159 "ColorTransformation.c" +#line 10430 "ColorTransformation.c" gint _tmp39_ = 0; -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39_ = i; -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp39_ + 1; -#line 10165 "ColorTransformation.c" +#line 10436 "ColorTransformation.c" } -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_ = FALSE; -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp40_ = i; -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41_ = pixel_bytes; -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp42_ = self->priv->graphic; -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43_ = gdk_pixbuf_get_width (_tmp42_); -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp44_ = _tmp43_; -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp45_ = self->priv->graphic; -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp46_ = gdk_pixbuf_get_height (_tmp45_); -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp47_ = _tmp46_; -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp40_ < ((_tmp41_ * _tmp44_) * _tmp47_))) { -#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 10189 "ColorTransformation.c" +#line 10460 "ColorTransformation.c" } -#line 1124 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1168 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48_ = pixel_data; -#line 1124 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1168 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48__length1 = pixel_data_length1; -#line 1124 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1168 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp49_ = i; -#line 1124 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1168 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48_[_tmp49_] = RGB_HISTOGRAM_UNMARKED_BACKGROUND; -#line 1124 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1168 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp50_ = _tmp48_[_tmp49_]; -#line 10201 "ColorTransformation.c" +#line 10472 "ColorTransformation.c" } } } -#line 1126 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1170 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp51_ = self->priv->graphic; -#line 1126 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1170 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp52_ = _g_object_ref0 (_tmp51_); -#line 1126 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1170 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp52_; -#line 1126 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1170 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 10213 "ColorTransformation.c" +#line 10484 "ColorTransformation.c" } { gint x = 0; -#line 1129 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala" x = 0; -#line 10219 "ColorTransformation.c" +#line 10490 "ColorTransformation.c" { gboolean _tmp53_ = FALSE; -#line 1129 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp53_ = TRUE; -#line 1129 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 10226 "ColorTransformation.c" +#line 10497 "ColorTransformation.c" gint _tmp55_ = 0; gint red_bar_height = 0; gint* _tmp56_ = NULL; @@ -10259,94 +10530,94 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) { gint _tmp74_ = 0; gint _tmp75_ = 0; gint _tmp76_ = 0; -#line 1129 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp53_) { -#line 10260 "ColorTransformation.c" +#line 10531 "ColorTransformation.c" gint _tmp54_ = 0; -#line 1129 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp54_ = x; -#line 1129 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala" x = _tmp54_ + 1; -#line 10266 "ColorTransformation.c" +#line 10537 "ColorTransformation.c" } -#line 1129 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp53_ = FALSE; -#line 1129 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp55_ = x; -#line 1129 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp55_ < 256)) { -#line 1129 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 10276 "ColorTransformation.c" +#line 10547 "ColorTransformation.c" } -#line 1130 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1174 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp56_ = self->priv->qualitative_red_counts; -#line 1130 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1174 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp56__length1 = self->priv->qualitative_red_counts_length1; -#line 1130 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1174 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp57_ = x; -#line 1130 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1174 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp58_ = _tmp56_[_tmp57_]; -#line 1130 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1174 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp59_ = scale_bar; -#line 1130 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1174 "/home/jens/Source/shotwell/src/ColorTransformation.vala" red_bar_height = (gint) (((gdouble) _tmp58_) * _tmp59_); -#line 1132 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1176 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp60_ = self->priv->qualitative_green_counts; -#line 1132 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1176 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp60__length1 = self->priv->qualitative_green_counts_length1; -#line 1132 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1176 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp61_ = x; -#line 1132 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1176 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp62_ = _tmp60_[_tmp61_]; -#line 1132 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1176 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp63_ = scale_bar; -#line 1132 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1176 "/home/jens/Source/shotwell/src/ColorTransformation.vala" green_bar_height = (gint) (((gdouble) _tmp62_) * _tmp63_); -#line 1134 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1178 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp64_ = self->priv->qualitative_blue_counts; -#line 1134 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1178 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp64__length1 = self->priv->qualitative_blue_counts_length1; -#line 1134 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1178 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp65_ = x; -#line 1134 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1178 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp66_ = _tmp64_[_tmp65_]; -#line 1134 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1178 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp67_ = scale_bar; -#line 1134 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1178 "/home/jens/Source/shotwell/src/ColorTransformation.vala" blue_bar_height = (gint) (((gdouble) _tmp66_) * _tmp67_); -#line 1137 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1181 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp68_ = red_bar_height; -#line 1137 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1181 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp69_ = green_bar_height; -#line 1137 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1181 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp70_ = MAX (_tmp68_, _tmp69_); -#line 1137 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1181 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp71_ = blue_bar_height; -#line 1137 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1181 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp72_ = MAX (_tmp70_, _tmp71_); -#line 1137 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1181 "/home/jens/Source/shotwell/src/ColorTransformation.vala" max_bar_height = _tmp72_; -#line 1140 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1184 "/home/jens/Source/shotwell/src/ColorTransformation.vala" y = RGB_HISTOGRAM_GRAPHIC_HEIGHT - 1; -#line 1141 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1185 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp73_ = x; -#line 1141 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1185 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp74_ = pixel_bytes; -#line 1141 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1185 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp75_ = y; -#line 1141 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1185 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp76_ = rowstride; -#line 1141 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1185 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_index = (_tmp73_ * _tmp74_) + (_tmp75_ * _tmp76_); -#line 10338 "ColorTransformation.c" +#line 10609 "ColorTransformation.c" { gboolean _tmp77_ = FALSE; -#line 1142 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp77_ = TRUE; -#line 1142 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 10345 "ColorTransformation.c" +#line 10616 "ColorTransformation.c" gint _tmp79_ = 0; gint _tmp80_ = 0; guchar* _tmp81_ = NULL; @@ -10369,143 +10640,143 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) { gint _tmp101_ = 0; gint _tmp105_ = 0; gint _tmp106_ = 0; -#line 1142 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp77_) { -#line 10370 "ColorTransformation.c" +#line 10641 "ColorTransformation.c" gint _tmp78_ = 0; -#line 1142 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp78_ = y; -#line 1142 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" y = _tmp78_ - 1; -#line 10376 "ColorTransformation.c" +#line 10647 "ColorTransformation.c" } -#line 1142 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp77_ = FALSE; -#line 1142 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp79_ = y; -#line 1142 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp80_ = max_bar_height; -#line 1142 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp79_ >= (RGB_HISTOGRAM_GRAPHIC_HEIGHT - _tmp80_))) { -#line 1142 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 10388 "ColorTransformation.c" +#line 10659 "ColorTransformation.c" } -#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp81_ = pixel_data; -#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp81__length1 = pixel_data_length1; -#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp82_ = pixel_index; -#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp81_[_tmp82_] = RGB_HISTOGRAM_MARKED_BACKGROUND; -#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp83_ = _tmp81_[_tmp82_]; -#line 1144 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1188 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp84_ = pixel_data; -#line 1144 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1188 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp84__length1 = pixel_data_length1; -#line 1144 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1188 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp85_ = pixel_index; -#line 1144 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1188 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp84_[_tmp85_ + 1] = RGB_HISTOGRAM_MARKED_BACKGROUND; -#line 1144 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1188 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp86_ = _tmp84_[_tmp85_ + 1]; -#line 1145 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1189 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp87_ = pixel_data; -#line 1145 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1189 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp87__length1 = pixel_data_length1; -#line 1145 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1189 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp88_ = pixel_index; -#line 1145 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1189 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp87_[_tmp88_ + 2] = RGB_HISTOGRAM_MARKED_BACKGROUND; -#line 1145 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1189 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp89_ = _tmp87_[_tmp88_ + 2]; -#line 1147 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1191 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp90_ = y; -#line 1147 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1191 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp91_ = red_bar_height; -#line 1147 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1191 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp90_ >= ((RGB_HISTOGRAM_GRAPHIC_HEIGHT - _tmp91_) - 1)) { -#line 10426 "ColorTransformation.c" +#line 10697 "ColorTransformation.c" guchar* _tmp92_ = NULL; gint _tmp92__length1 = 0; gint _tmp93_ = 0; guchar _tmp94_ = '\0'; -#line 1148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1192 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp92_ = pixel_data; -#line 1148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1192 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp92__length1 = pixel_data_length1; -#line 1148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1192 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp93_ = pixel_index; -#line 1148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1192 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp92_[_tmp93_] = RGB_HISTOGRAM_MARKED_FOREGROUND; -#line 1148 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1192 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp94_ = _tmp92_[_tmp93_]; -#line 10441 "ColorTransformation.c" +#line 10712 "ColorTransformation.c" } -#line 1149 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1193 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp95_ = y; -#line 1149 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1193 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp96_ = green_bar_height; -#line 1149 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1193 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp95_ >= ((RGB_HISTOGRAM_GRAPHIC_HEIGHT - _tmp96_) - 1)) { -#line 10449 "ColorTransformation.c" +#line 10720 "ColorTransformation.c" guchar* _tmp97_ = NULL; gint _tmp97__length1 = 0; gint _tmp98_ = 0; guchar _tmp99_ = '\0'; -#line 1150 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1194 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp97_ = pixel_data; -#line 1150 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1194 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp97__length1 = pixel_data_length1; -#line 1150 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1194 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp98_ = pixel_index; -#line 1150 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1194 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp97_[_tmp98_ + 1] = RGB_HISTOGRAM_MARKED_FOREGROUND; -#line 1150 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1194 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp99_ = _tmp97_[_tmp98_ + 1]; -#line 10464 "ColorTransformation.c" +#line 10735 "ColorTransformation.c" } -#line 1151 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1195 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp100_ = y; -#line 1151 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1195 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp101_ = blue_bar_height; -#line 1151 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1195 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp100_ >= ((RGB_HISTOGRAM_GRAPHIC_HEIGHT - _tmp101_) - 1)) { -#line 10472 "ColorTransformation.c" +#line 10743 "ColorTransformation.c" guchar* _tmp102_ = NULL; gint _tmp102__length1 = 0; gint _tmp103_ = 0; guchar _tmp104_ = '\0'; -#line 1152 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1196 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp102_ = pixel_data; -#line 1152 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1196 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp102__length1 = pixel_data_length1; -#line 1152 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1196 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp103_ = pixel_index; -#line 1152 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1196 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp102_[_tmp103_ + 2] = RGB_HISTOGRAM_MARKED_FOREGROUND; -#line 1152 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1196 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp104_ = _tmp102_[_tmp103_ + 2]; -#line 10487 "ColorTransformation.c" +#line 10758 "ColorTransformation.c" } -#line 1154 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1198 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp105_ = pixel_index; -#line 1154 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1198 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp106_ = rowstride; -#line 1154 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1198 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_index = _tmp105_ - _tmp106_; -#line 10495 "ColorTransformation.c" +#line 10766 "ColorTransformation.c" } } { gboolean _tmp107_ = FALSE; -#line 1157 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1201 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp107_ = TRUE; -#line 1157 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1201 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 10504 "ColorTransformation.c" +#line 10775 "ColorTransformation.c" gint _tmp109_ = 0; guchar* _tmp110_ = NULL; gint _tmp110__length1 = 0; @@ -10521,269 +10792,269 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) { guchar _tmp118_ = '\0'; gint _tmp119_ = 0; gint _tmp120_ = 0; -#line 1157 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1201 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp107_) { -#line 10522 "ColorTransformation.c" +#line 10793 "ColorTransformation.c" gint _tmp108_ = 0; -#line 1157 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1201 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp108_ = y; -#line 1157 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1201 "/home/jens/Source/shotwell/src/ColorTransformation.vala" y = _tmp108_ - 1; -#line 10528 "ColorTransformation.c" +#line 10799 "ColorTransformation.c" } -#line 1157 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1201 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp107_ = FALSE; -#line 1157 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1201 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp109_ = y; -#line 1157 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1201 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp109_ >= 0)) { -#line 1157 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1201 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 10538 "ColorTransformation.c" +#line 10809 "ColorTransformation.c" } -#line 1158 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1202 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp110_ = pixel_data; -#line 1158 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1202 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp110__length1 = pixel_data_length1; -#line 1158 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1202 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp111_ = pixel_index; -#line 1158 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1202 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp110_[_tmp111_] = RGB_HISTOGRAM_UNMARKED_BACKGROUND; -#line 1158 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1202 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp112_ = _tmp110_[_tmp111_]; -#line 1159 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1203 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp113_ = pixel_data; -#line 1159 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1203 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp113__length1 = pixel_data_length1; -#line 1159 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1203 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp114_ = pixel_index; -#line 1159 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1203 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp113_[_tmp114_ + 1] = RGB_HISTOGRAM_UNMARKED_BACKGROUND; -#line 1159 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1203 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp115_ = _tmp113_[_tmp114_ + 1]; -#line 1160 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1204 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp116_ = pixel_data; -#line 1160 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1204 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp116__length1 = pixel_data_length1; -#line 1160 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1204 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp117_ = pixel_index; -#line 1160 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1204 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp116_[_tmp117_ + 2] = RGB_HISTOGRAM_UNMARKED_BACKGROUND; -#line 1160 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1204 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp118_ = _tmp116_[_tmp117_ + 2]; -#line 1162 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1206 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp119_ = pixel_index; -#line 1162 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1206 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp120_ = rowstride; -#line 1162 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1206 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_index = _tmp119_ - _tmp120_; -#line 10576 "ColorTransformation.c" +#line 10847 "ColorTransformation.c" } } } } } } -#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1211 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp121_ = self->priv->graphic; -#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1211 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp122_ = _g_object_ref0 (_tmp121_); -#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1211 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp122_; -#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1211 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 10591 "ColorTransformation.c" +#line 10862 "ColorTransformation.c" } static void value_rgb_histogram_init (GValue* value) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 10598 "ColorTransformation.c" +#line 10869 "ColorTransformation.c" } static void value_rgb_histogram_free_value (GValue* value) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (value->data[0].v_pointer) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_histogram_unref (value->data[0].v_pointer); -#line 10607 "ColorTransformation.c" +#line 10878 "ColorTransformation.c" } } static void value_rgb_histogram_copy_value (const GValue* src_value, GValue* dest_value) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (src_value->data[0].v_pointer) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_value->data[0].v_pointer = rgb_histogram_ref (src_value->data[0].v_pointer); -#line 10617 "ColorTransformation.c" +#line 10888 "ColorTransformation.c" } else { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_value->data[0].v_pointer = NULL; -#line 10621 "ColorTransformation.c" +#line 10892 "ColorTransformation.c" } } static gpointer value_rgb_histogram_peek_pointer (const GValue* value) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return value->data[0].v_pointer; -#line 10629 "ColorTransformation.c" +#line 10900 "ColorTransformation.c" } static gchar* value_rgb_histogram_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (collect_values[0].v_pointer) { -#line 10636 "ColorTransformation.c" +#line 10907 "ColorTransformation.c" RGBHistogram* object; object = collect_values[0].v_pointer; -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (object->parent_instance.g_class == NULL) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 10643 "ColorTransformation.c" +#line 10914 "ColorTransformation.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 10647 "ColorTransformation.c" +#line 10918 "ColorTransformation.c" } -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = rgb_histogram_ref (object); -#line 10651 "ColorTransformation.c" +#line 10922 "ColorTransformation.c" } else { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 10655 "ColorTransformation.c" +#line 10926 "ColorTransformation.c" } -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return NULL; -#line 10659 "ColorTransformation.c" +#line 10930 "ColorTransformation.c" } static gchar* value_rgb_histogram_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { RGBHistogram** object_p; object_p = collect_values[0].v_pointer; -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!object_p) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 10670 "ColorTransformation.c" +#line 10941 "ColorTransformation.c" } -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!value->data[0].v_pointer) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = NULL; -#line 10676 "ColorTransformation.c" +#line 10947 "ColorTransformation.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = value->data[0].v_pointer; -#line 10680 "ColorTransformation.c" +#line 10951 "ColorTransformation.c" } else { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = rgb_histogram_ref (value->data[0].v_pointer); -#line 10684 "ColorTransformation.c" +#line 10955 "ColorTransformation.c" } -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return NULL; -#line 10688 "ColorTransformation.c" +#line 10959 "ColorTransformation.c" } GParamSpec* param_spec_rgb_histogram (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecRGBHistogram* spec; -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (g_type_is_a (object_type, TYPE_RGB_HISTOGRAM), NULL); -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return G_PARAM_SPEC (spec); -#line 10702 "ColorTransformation.c" +#line 10973 "ColorTransformation.c" } gpointer value_get_rgb_histogram (const GValue* value) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_RGB_HISTOGRAM), NULL); -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return value->data[0].v_pointer; -#line 10711 "ColorTransformation.c" +#line 10982 "ColorTransformation.c" } void value_set_rgb_histogram (GValue* value, gpointer v_object) { RGBHistogram* old; -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_RGB_HISTOGRAM)); -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" old = value->data[0].v_pointer; -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (v_object) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_RGB_HISTOGRAM)); -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = v_object; -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_histogram_ref (value->data[0].v_pointer); -#line 10731 "ColorTransformation.c" +#line 11002 "ColorTransformation.c" } else { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 10735 "ColorTransformation.c" +#line 11006 "ColorTransformation.c" } -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (old) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_histogram_unref (old); -#line 10741 "ColorTransformation.c" +#line 11012 "ColorTransformation.c" } } void value_take_rgb_histogram (GValue* value, gpointer v_object) { RGBHistogram* old; -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_RGB_HISTOGRAM)); -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" old = value->data[0].v_pointer; -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (v_object) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_RGB_HISTOGRAM)); -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = v_object; -#line 10760 "ColorTransformation.c" +#line 11031 "ColorTransformation.c" } else { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 10764 "ColorTransformation.c" +#line 11035 "ColorTransformation.c" } -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (old) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_histogram_unref (old); -#line 10770 "ColorTransformation.c" +#line 11041 "ColorTransformation.c" } } static void rgb_histogram_class_init (RGBHistogramClass * klass) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_histogram_parent_class = g_type_class_peek_parent (klass); -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((RGBHistogramClass *) klass)->finalize = rgb_histogram_finalize; -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_class_add_private (klass, sizeof (RGBHistogramPrivate)); -#line 10782 "ColorTransformation.c" +#line 11053 "ColorTransformation.c" } @@ -10791,79 +11062,79 @@ static void rgb_histogram_instance_init (RGBHistogram * self) { gint* _tmp0_ = NULL; gint* _tmp1_ = NULL; gint* _tmp2_ = NULL; -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv = RGB_HISTOGRAM_GET_PRIVATE (self); -#line 922 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 966 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = g_new0 (gint, 256); -#line 922 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 966 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->red_counts = _tmp0_; -#line 922 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 966 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->red_counts_length1 = 256; -#line 922 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 966 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_red_counts_size_ = self->priv->red_counts_length1; -#line 923 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 967 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = g_new0 (gint, 256); -#line 923 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 967 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->green_counts = _tmp1_; -#line 923 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 967 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->green_counts_length1 = 256; -#line 923 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 967 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_green_counts_size_ = self->priv->green_counts_length1; -#line 924 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 968 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = g_new0 (gint, 256); -#line 924 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 968 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->blue_counts = _tmp2_; -#line 924 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 968 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->blue_counts_length1 = 256; -#line 924 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 968 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_blue_counts_size_ = self->priv->blue_counts_length1; -#line 925 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 969 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_red_counts = NULL; -#line 925 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 969 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_red_counts_length1 = 0; -#line 925 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 969 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_qualitative_red_counts_size_ = self->priv->qualitative_red_counts_length1; -#line 926 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 970 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_green_counts = NULL; -#line 926 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 970 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_green_counts_length1 = 0; -#line 926 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 970 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_qualitative_green_counts_size_ = self->priv->qualitative_green_counts_length1; -#line 927 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 971 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_blue_counts = NULL; -#line 927 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 971 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_blue_counts_length1 = 0; -#line 927 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 971 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_qualitative_blue_counts_size_ = self->priv->qualitative_blue_counts_length1; -#line 928 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 972 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->graphic = NULL; -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->ref_count = 1; -#line 10838 "ColorTransformation.c" +#line 11109 "ColorTransformation.c" } static void rgb_histogram_finalize (RGBHistogram* obj) { RGBHistogram * self; -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_RGB_HISTOGRAM, RGBHistogram); -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_signal_handlers_destroy (self); -#line 922 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 966 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->red_counts = (g_free (self->priv->red_counts), NULL); -#line 923 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 967 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->green_counts = (g_free (self->priv->green_counts), NULL); -#line 924 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 968 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->blue_counts = (g_free (self->priv->blue_counts), NULL); -#line 925 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 969 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_red_counts = (g_free (self->priv->qualitative_red_counts), NULL); -#line 926 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 970 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_green_counts = (g_free (self->priv->qualitative_green_counts), NULL); -#line 927 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 971 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->qualitative_blue_counts = (g_free (self->priv->qualitative_blue_counts), NULL); -#line 928 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 972 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_object_unref0 (self->priv->graphic); -#line 10862 "ColorTransformation.c" +#line 11133 "ColorTransformation.c" } @@ -10884,24 +11155,24 @@ GType rgb_histogram_get_type (void) { gpointer rgb_histogram_ref (gpointer instance) { RGBHistogram* self; self = instance; -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_atomic_int_inc (&self->ref_count); -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return instance; -#line 10887 "ColorTransformation.c" +#line 11158 "ColorTransformation.c" } void rgb_histogram_unref (gpointer instance) { RGBHistogram* self; self = instance; -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" RGB_HISTOGRAM_GET_CLASS (self)->finalize (self); -#line 914 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_free_instance ((GTypeInstance *) self); -#line 10900 "ColorTransformation.c" +#line 11171 "ColorTransformation.c" } } @@ -10936,63 +11207,63 @@ IntensityHistogram* intensity_histogram_construct (GType object_type, GdkPixbuf* gint _tmp45_ = 0; gint _tmp46_ = 0; gfloat accumulator = 0.0F; -#line 1176 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1220 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL); -#line 1176 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1220 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (IntensityHistogram*) g_type_create_instance (object_type); -#line 1177 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1221 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = pixbuf; -#line 1177 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1221 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = gdk_pixbuf_get_n_channels (_tmp0_); -#line 1177 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1221 "/home/jens/Source/shotwell/src/ColorTransformation.vala" n_channels = _tmp1_; -#line 1178 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1222 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = pixbuf; -#line 1178 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1222 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = gdk_pixbuf_get_rowstride (_tmp2_); -#line 1178 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1222 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rowstride = _tmp3_; -#line 1179 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1223 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = pixbuf; -#line 1179 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1223 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = gdk_pixbuf_get_width (_tmp4_); -#line 1179 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1223 "/home/jens/Source/shotwell/src/ColorTransformation.vala" width = _tmp5_; -#line 1180 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1224 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = pixbuf; -#line 1180 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1224 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = gdk_pixbuf_get_height (_tmp6_); -#line 1180 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1224 "/home/jens/Source/shotwell/src/ColorTransformation.vala" height = _tmp7_; -#line 1181 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1225 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = n_channels; -#line 1181 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1225 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = width; -#line 1181 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1225 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rowbytes = _tmp8_ * _tmp9_; -#line 1182 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1226 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = pixbuf; -#line 1182 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1226 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = gdk_pixbuf_get_pixels (_tmp10_); -#line 1182 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1226 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixels = _tmp11_; -#line 1182 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1226 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixels_length1 = -1; -#line 1182 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1226 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixels_size_ = pixels_length1; -#line 10979 "ColorTransformation.c" +#line 11250 "ColorTransformation.c" { gint j = 0; -#line 1183 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala" j = 0; -#line 10984 "ColorTransformation.c" +#line 11255 "ColorTransformation.c" { gboolean _tmp12_ = FALSE; -#line 1183 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = TRUE; -#line 1183 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 10991 "ColorTransformation.c" +#line 11262 "ColorTransformation.c" gint _tmp14_ = 0; gint _tmp15_ = 0; gint row_start_index = 0; @@ -11001,56 +11272,56 @@ IntensityHistogram* intensity_histogram_construct (GType object_type, GdkPixbuf* gint row_end_index = 0; gint _tmp18_ = 0; gint _tmp19_ = 0; -#line 1183 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp12_) { -#line 11002 "ColorTransformation.c" +#line 11273 "ColorTransformation.c" gint _tmp13_ = 0; -#line 1183 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = j; -#line 1183 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala" j = _tmp13_ + 1; -#line 11008 "ColorTransformation.c" +#line 11279 "ColorTransformation.c" } -#line 1183 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = FALSE; -#line 1183 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = j; -#line 1183 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = height; -#line 1183 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp14_ < _tmp15_)) { -#line 1183 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 11020 "ColorTransformation.c" +#line 11291 "ColorTransformation.c" } -#line 1184 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1228 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = j; -#line 1184 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1228 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = rowstride; -#line 1184 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1228 "/home/jens/Source/shotwell/src/ColorTransformation.vala" row_start_index = _tmp16_ * _tmp17_; -#line 1185 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1229 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = row_start_index; -#line 1185 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1229 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = rowbytes; -#line 1185 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1229 "/home/jens/Source/shotwell/src/ColorTransformation.vala" row_end_index = _tmp18_ + _tmp19_; -#line 11034 "ColorTransformation.c" +#line 11305 "ColorTransformation.c" { gint i = 0; gint _tmp20_ = 0; -#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = row_start_index; -#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp20_; -#line 11042 "ColorTransformation.c" +#line 11313 "ColorTransformation.c" { gboolean _tmp21_ = FALSE; -#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = TRUE; -#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 11049 "ColorTransformation.c" +#line 11320 "ColorTransformation.c" gint _tmp24_ = 0; gint _tmp25_ = 0; RGBAnalyticPixel pix_rgb = {0}; @@ -11075,113 +11346,113 @@ IntensityHistogram* intensity_histogram_construct (GType object_type, GdkPixbuf* gint _tmp38__length1 = 0; gint _tmp39_ = 0; gint _tmp40_ = 0; -#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp21_) { -#line 11076 "ColorTransformation.c" +#line 11347 "ColorTransformation.c" gint _tmp22_ = 0; gint _tmp23_ = 0; -#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = i; -#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = n_channels; -#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp22_ + _tmp23_; -#line 11085 "ColorTransformation.c" +#line 11356 "ColorTransformation.c" } -#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = FALSE; -#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = i; -#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = row_end_index; -#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp24_ < _tmp25_)) { -#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 11097 "ColorTransformation.c" +#line 11368 "ColorTransformation.c" } -#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = pixels; -#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26__length1 = pixels_length1; -#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = i; -#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = _tmp26_[_tmp27_]; -#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = pixels; -#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29__length1 = pixels_length1; -#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_ = i; -#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_ = _tmp29_[_tmp30_ + 1]; -#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32_ = pixels; -#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32__length1 = pixels_length1; -#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp33_ = i; -#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34_ = _tmp32_[_tmp33_ + 2]; -#line 1187 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" rgb_analytic_pixel_init_from_quantized_components (&pix_rgb, _tmp28_, _tmp31_, _tmp34_); -#line 1189 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_ = pix_rgb; -#line 1189 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1233 "/home/jens/Source/shotwell/src/ColorTransformation.vala" hsv_analytic_pixel_init_from_rgb (&pix_hsi, &_tmp35_); -#line 1190 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36_ = pix_hsi; -#line 1190 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp37_ = _tmp36_.light_value; -#line 1190 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" quantized_light_value = (gint) (_tmp37_ * 255.0f); -#line 1191 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1235 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_ = self->priv->counts; -#line 1191 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1235 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38__length1 = self->priv->counts_length1; -#line 1191 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1235 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39_ = quantized_light_value; -#line 1191 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1235 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_[_tmp39_] += 1; -#line 1191 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1235 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp40_ = _tmp38_[_tmp39_]; -#line 11145 "ColorTransformation.c" +#line 11416 "ColorTransformation.c" } } } } } } -#line 1195 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1239 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41_ = pixbuf; -#line 1195 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1239 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp42_ = gdk_pixbuf_get_width (_tmp41_); -#line 1195 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1239 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43_ = _tmp42_; -#line 1195 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1239 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp44_ = pixbuf; -#line 1195 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1239 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp45_ = gdk_pixbuf_get_height (_tmp44_); -#line 1195 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1239 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp46_ = _tmp45_; -#line 1195 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1239 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_count = (gfloat) (_tmp43_ * _tmp46_); -#line 1196 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1240 "/home/jens/Source/shotwell/src/ColorTransformation.vala" accumulator = 0.0f; -#line 11168 "ColorTransformation.c" +#line 11439 "ColorTransformation.c" { gint i = 0; -#line 1197 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 11173 "ColorTransformation.c" +#line 11444 "ColorTransformation.c" { gboolean _tmp47_ = FALSE; -#line 1197 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp47_ = TRUE; -#line 1197 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 11180 "ColorTransformation.c" +#line 11451 "ColorTransformation.c" gint _tmp49_ = 0; gfloat* _tmp50_ = NULL; gint _tmp50__length1 = 0; @@ -11202,84 +11473,84 @@ IntensityHistogram* intensity_histogram_construct (GType object_type, GdkPixbuf* gint _tmp62_ = 0; gfloat _tmp63_ = 0.0F; gfloat _tmp64_ = 0.0F; -#line 1197 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp47_) { -#line 11203 "ColorTransformation.c" +#line 11474 "ColorTransformation.c" gint _tmp48_ = 0; -#line 1197 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48_ = i; -#line 1197 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp48_ + 1; -#line 11209 "ColorTransformation.c" +#line 11480 "ColorTransformation.c" } -#line 1197 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp47_ = FALSE; -#line 1197 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp49_ = i; -#line 1197 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp49_ < 256)) { -#line 1197 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 11219 "ColorTransformation.c" +#line 11490 "ColorTransformation.c" } -#line 1198 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1242 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp50_ = self->priv->probabilities; -#line 1198 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1242 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp50__length1 = self->priv->probabilities_length1; -#line 1198 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1242 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp51_ = i; -#line 1198 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1242 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp52_ = self->priv->counts; -#line 1198 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1242 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp52__length1 = self->priv->counts_length1; -#line 1198 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1242 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp53_ = i; -#line 1198 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1242 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp54_ = _tmp52_[_tmp53_]; -#line 1198 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1242 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp55_ = pixel_count; -#line 1198 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1242 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp50_[_tmp51_] = ((gfloat) _tmp54_) / _tmp55_; -#line 1198 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1242 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp56_ = _tmp50_[_tmp51_]; -#line 1199 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1243 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp57_ = accumulator; -#line 1199 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1243 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp58_ = self->priv->probabilities; -#line 1199 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1243 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp58__length1 = self->priv->probabilities_length1; -#line 1199 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1243 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp59_ = i; -#line 1199 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1243 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp60_ = _tmp58_[_tmp59_]; -#line 1199 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1243 "/home/jens/Source/shotwell/src/ColorTransformation.vala" accumulator = _tmp57_ + _tmp60_; -#line 1200 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1244 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp61_ = self->priv->cumulative_probabilities; -#line 1200 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1244 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp61__length1 = self->priv->cumulative_probabilities_length1; -#line 1200 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1244 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp62_ = i; -#line 1200 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1244 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp63_ = accumulator; -#line 1200 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1244 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp61_[_tmp62_] = _tmp63_; -#line 1200 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1244 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp64_ = _tmp61_[_tmp62_]; -#line 11265 "ColorTransformation.c" +#line 11536 "ColorTransformation.c" } } } -#line 1176 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1220 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 11271 "ColorTransformation.c" +#line 11542 "ColorTransformation.c" } IntensityHistogram* intensity_histogram_new (GdkPixbuf* pixbuf) { -#line 1176 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1220 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return intensity_histogram_construct (TYPE_INTENSITY_HISTOGRAM, pixbuf); -#line 11278 "ColorTransformation.c" +#line 11549 "ColorTransformation.c" } @@ -11291,218 +11562,218 @@ gfloat intensity_histogram_get_cumulative_probability (IntensityHistogram* self, gint _tmp2__length1 = 0; gint _tmp3_ = 0; gfloat _tmp4_ = 0.0F; -#line 1204 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1248 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_INTENSITY_HISTOGRAM (self), 0.0F); -#line 1206 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1250 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = level; -#line 1206 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1250 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = CLAMP (_tmp0_, 0, 255); -#line 1206 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1250 "/home/jens/Source/shotwell/src/ColorTransformation.vala" level = _tmp1_; -#line 1207 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1251 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = self->priv->cumulative_probabilities; -#line 1207 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1251 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2__length1 = self->priv->cumulative_probabilities_length1; -#line 1207 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1251 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = level; -#line 1207 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1251 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = _tmp2_[_tmp3_]; -#line 1207 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1251 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp4_; -#line 1207 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1251 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 11310 "ColorTransformation.c" +#line 11581 "ColorTransformation.c" } static void value_intensity_histogram_init (GValue* value) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 11317 "ColorTransformation.c" +#line 11588 "ColorTransformation.c" } static void value_intensity_histogram_free_value (GValue* value) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (value->data[0].v_pointer) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" intensity_histogram_unref (value->data[0].v_pointer); -#line 11326 "ColorTransformation.c" +#line 11597 "ColorTransformation.c" } } static void value_intensity_histogram_copy_value (const GValue* src_value, GValue* dest_value) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (src_value->data[0].v_pointer) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_value->data[0].v_pointer = intensity_histogram_ref (src_value->data[0].v_pointer); -#line 11336 "ColorTransformation.c" +#line 11607 "ColorTransformation.c" } else { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_value->data[0].v_pointer = NULL; -#line 11340 "ColorTransformation.c" +#line 11611 "ColorTransformation.c" } } static gpointer value_intensity_histogram_peek_pointer (const GValue* value) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return value->data[0].v_pointer; -#line 11348 "ColorTransformation.c" +#line 11619 "ColorTransformation.c" } static gchar* value_intensity_histogram_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (collect_values[0].v_pointer) { -#line 11355 "ColorTransformation.c" +#line 11626 "ColorTransformation.c" IntensityHistogram* object; object = collect_values[0].v_pointer; -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (object->parent_instance.g_class == NULL) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 11362 "ColorTransformation.c" +#line 11633 "ColorTransformation.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 11366 "ColorTransformation.c" +#line 11637 "ColorTransformation.c" } -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = intensity_histogram_ref (object); -#line 11370 "ColorTransformation.c" +#line 11641 "ColorTransformation.c" } else { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 11374 "ColorTransformation.c" +#line 11645 "ColorTransformation.c" } -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return NULL; -#line 11378 "ColorTransformation.c" +#line 11649 "ColorTransformation.c" } static gchar* value_intensity_histogram_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { IntensityHistogram** object_p; object_p = collect_values[0].v_pointer; -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!object_p) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 11389 "ColorTransformation.c" +#line 11660 "ColorTransformation.c" } -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!value->data[0].v_pointer) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = NULL; -#line 11395 "ColorTransformation.c" +#line 11666 "ColorTransformation.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = value->data[0].v_pointer; -#line 11399 "ColorTransformation.c" +#line 11670 "ColorTransformation.c" } else { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = intensity_histogram_ref (value->data[0].v_pointer); -#line 11403 "ColorTransformation.c" +#line 11674 "ColorTransformation.c" } -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return NULL; -#line 11407 "ColorTransformation.c" +#line 11678 "ColorTransformation.c" } GParamSpec* param_spec_intensity_histogram (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecIntensityHistogram* spec; -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (g_type_is_a (object_type, TYPE_INTENSITY_HISTOGRAM), NULL); -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return G_PARAM_SPEC (spec); -#line 11421 "ColorTransformation.c" +#line 11692 "ColorTransformation.c" } gpointer value_get_intensity_histogram (const GValue* value) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_INTENSITY_HISTOGRAM), NULL); -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return value->data[0].v_pointer; -#line 11430 "ColorTransformation.c" +#line 11701 "ColorTransformation.c" } void value_set_intensity_histogram (GValue* value, gpointer v_object) { IntensityHistogram* old; -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_INTENSITY_HISTOGRAM)); -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" old = value->data[0].v_pointer; -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (v_object) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_INTENSITY_HISTOGRAM)); -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = v_object; -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" intensity_histogram_ref (value->data[0].v_pointer); -#line 11450 "ColorTransformation.c" +#line 11721 "ColorTransformation.c" } else { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 11454 "ColorTransformation.c" +#line 11725 "ColorTransformation.c" } -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (old) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" intensity_histogram_unref (old); -#line 11460 "ColorTransformation.c" +#line 11731 "ColorTransformation.c" } } void value_take_intensity_histogram (GValue* value, gpointer v_object) { IntensityHistogram* old; -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_INTENSITY_HISTOGRAM)); -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" old = value->data[0].v_pointer; -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (v_object) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_INTENSITY_HISTOGRAM)); -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = v_object; -#line 11479 "ColorTransformation.c" +#line 11750 "ColorTransformation.c" } else { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 11483 "ColorTransformation.c" +#line 11754 "ColorTransformation.c" } -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (old) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" intensity_histogram_unref (old); -#line 11489 "ColorTransformation.c" +#line 11760 "ColorTransformation.c" } } static void intensity_histogram_class_init (IntensityHistogramClass * klass) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" intensity_histogram_parent_class = g_type_class_peek_parent (klass); -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((IntensityHistogramClass *) klass)->finalize = intensity_histogram_finalize; -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_class_add_private (klass, sizeof (IntensityHistogramPrivate)); -#line 11501 "ColorTransformation.c" +#line 11772 "ColorTransformation.c" } @@ -11510,51 +11781,51 @@ static void intensity_histogram_instance_init (IntensityHistogram * self) { gint* _tmp0_ = NULL; gfloat* _tmp1_ = NULL; gfloat* _tmp2_ = NULL; -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv = INTENSITY_HISTOGRAM_GET_PRIVATE (self); -#line 1172 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1216 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = g_new0 (gint, 256); -#line 1172 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1216 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->counts = _tmp0_; -#line 1172 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1216 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->counts_length1 = 256; -#line 1172 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1216 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_counts_size_ = self->priv->counts_length1; -#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1217 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = g_new0 (gfloat, 256); -#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1217 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->probabilities = _tmp1_; -#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1217 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->probabilities_length1 = 256; -#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1217 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_probabilities_size_ = self->priv->probabilities_length1; -#line 1174 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1218 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = g_new0 (gfloat, 256); -#line 1174 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1218 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->cumulative_probabilities = _tmp2_; -#line 1174 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1218 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->cumulative_probabilities_length1 = 256; -#line 1174 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1218 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_cumulative_probabilities_size_ = self->priv->cumulative_probabilities_length1; -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->ref_count = 1; -#line 11537 "ColorTransformation.c" +#line 11808 "ColorTransformation.c" } static void intensity_histogram_finalize (IntensityHistogram* obj) { IntensityHistogram * self; -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_INTENSITY_HISTOGRAM, IntensityHistogram); -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_signal_handlers_destroy (self); -#line 1172 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1216 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->counts = (g_free (self->priv->counts), NULL); -#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1217 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->probabilities = (g_free (self->priv->probabilities), NULL); -#line 1174 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1218 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->cumulative_probabilities = (g_free (self->priv->cumulative_probabilities), NULL); -#line 11553 "ColorTransformation.c" +#line 11824 "ColorTransformation.c" } @@ -11575,24 +11846,24 @@ GType intensity_histogram_get_type (void) { gpointer intensity_histogram_ref (gpointer instance) { IntensityHistogram* self; self = instance; -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_atomic_int_inc (&self->ref_count); -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return instance; -#line 11578 "ColorTransformation.c" +#line 11849 "ColorTransformation.c" } void intensity_histogram_unref (gpointer instance) { IntensityHistogram* self; self = instance; -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" INTENSITY_HISTOGRAM_GET_CLASS (self)->finalize (self); -#line 1171 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_free_instance ((GTypeInstance *) self); -#line 11591 "ColorTransformation.c" +#line 11862 "ColorTransformation.c" } } @@ -11602,111 +11873,111 @@ ExpansionTransformation* expansion_transformation_construct (GType object_type, gfloat* _tmp0_ = NULL; gfloat LOW_KINK_MASS = 0.0F; gfloat HIGH_KINK_MASS = 0.0F; -#line 1219 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1263 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_INTENSITY_HISTOGRAM (histogram), NULL); -#line 1220 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1264 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (ExpansionTransformation*) hsv_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_TONE_EXPANSION); -#line 1222 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1266 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = g_new0 (gfloat, 256); -#line 1222 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1266 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table = (g_free (self->priv->remap_table), NULL); -#line 1222 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1266 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table = _tmp0_; -#line 1222 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1266 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table_length1 = 256; -#line 1222 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1266 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_remap_table_size_ = self->priv->remap_table_length1; -#line 1224 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1268 "/home/jens/Source/shotwell/src/ColorTransformation.vala" LOW_KINK_MASS = EXPANSION_TRANSFORMATION_LOW_DISCARD_MASS; -#line 1225 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1269 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->low_kink = 0; -#line 1226 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1270 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 11621 "ColorTransformation.c" +#line 11892 "ColorTransformation.c" IntensityHistogram* _tmp1_ = NULL; gint _tmp2_ = 0; gfloat _tmp3_ = 0.0F; gfloat _tmp4_ = 0.0F; gint _tmp5_ = 0; -#line 1226 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1270 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = histogram; -#line 1226 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1270 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = self->priv->low_kink; -#line 1226 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1270 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = intensity_histogram_get_cumulative_probability (_tmp1_, _tmp2_); -#line 1226 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1270 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = LOW_KINK_MASS; -#line 1226 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1270 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp3_ < _tmp4_)) { -#line 1226 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1270 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 11639 "ColorTransformation.c" +#line 11910 "ColorTransformation.c" } -#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1271 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = self->priv->low_kink; -#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1271 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->low_kink = _tmp5_ + 1; -#line 11645 "ColorTransformation.c" +#line 11916 "ColorTransformation.c" } -#line 1229 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1273 "/home/jens/Source/shotwell/src/ColorTransformation.vala" HIGH_KINK_MASS = 1.0f - EXPANSION_TRANSFORMATION_HIGH_DISCARD_MASS; -#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1274 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->high_kink = 255; -#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 11653 "ColorTransformation.c" +#line 11924 "ColorTransformation.c" gboolean _tmp6_ = FALSE; IntensityHistogram* _tmp7_ = NULL; gint _tmp8_ = 0; gfloat _tmp9_ = 0.0F; gfloat _tmp10_ = 0.0F; gint _tmp12_ = 0; -#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = histogram; -#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = self->priv->high_kink; -#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = intensity_histogram_get_cumulative_probability (_tmp7_, _tmp8_); -#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = HIGH_KINK_MASS; -#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp9_ > _tmp10_) { -#line 11670 "ColorTransformation.c" +#line 11941 "ColorTransformation.c" gint _tmp11_ = 0; -#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = self->priv->high_kink; -#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = _tmp11_ > 0; -#line 11676 "ColorTransformation.c" +#line 11947 "ColorTransformation.c" } else { -#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = FALSE; -#line 11680 "ColorTransformation.c" +#line 11951 "ColorTransformation.c" } -#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp6_) { -#line 1231 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 11686 "ColorTransformation.c" +#line 11957 "ColorTransformation.c" } -#line 1232 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1276 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = self->priv->high_kink; -#line 1232 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1276 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->high_kink = _tmp12_ - 1; -#line 11692 "ColorTransformation.c" +#line 11963 "ColorTransformation.c" } -#line 1234 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1278 "/home/jens/Source/shotwell/src/ColorTransformation.vala" expansion_transformation_build_remap_table (self); -#line 1219 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1263 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 11698 "ColorTransformation.c" +#line 11969 "ColorTransformation.c" } ExpansionTransformation* expansion_transformation_new (IntensityHistogram* histogram) { -#line 1219 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1263 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return expansion_transformation_construct (TYPE_EXPANSION_TRANSFORMATION, histogram); -#line 11705 "ColorTransformation.c" +#line 11976 "ColorTransformation.c" } @@ -11720,74 +11991,74 @@ ExpansionTransformation* expansion_transformation_construct_from_extrema (GType gint _tmp5_ = 0; gint _tmp9_ = 0; gint _tmp10_ = 0; -#line 1238 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1282 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (ExpansionTransformation*) hsv_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_TONE_EXPANSION); -#line 1240 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = white_point; -#line 1240 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = CLAMP (_tmp0_, 0, 255); -#line 1240 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" white_point = _tmp1_; -#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1285 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = black_point; -#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1285 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = CLAMP (_tmp2_, 0, 255); -#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1285 "/home/jens/Source/shotwell/src/ColorTransformation.vala" black_point = _tmp3_; -#line 1243 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = black_point; -#line 1243 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = white_point; -#line 1243 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp4_ == _tmp5_) { -#line 11739 "ColorTransformation.c" +#line 12010 "ColorTransformation.c" gint _tmp6_ = 0; -#line 1244 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1288 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = black_point; -#line 1244 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1288 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp6_ == 0) { -#line 1245 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1289 "/home/jens/Source/shotwell/src/ColorTransformation.vala" white_point = 1; -#line 11747 "ColorTransformation.c" +#line 12018 "ColorTransformation.c" } else { gint _tmp7_ = 0; -#line 1246 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1290 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = white_point; -#line 1246 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1290 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp7_ == 255) { -#line 1247 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1291 "/home/jens/Source/shotwell/src/ColorTransformation.vala" black_point = 254; -#line 11756 "ColorTransformation.c" +#line 12027 "ColorTransformation.c" } else { gint _tmp8_ = 0; -#line 1249 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1293 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = white_point; -#line 1249 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1293 "/home/jens/Source/shotwell/src/ColorTransformation.vala" black_point = _tmp8_ - 1; -#line 11763 "ColorTransformation.c" +#line 12034 "ColorTransformation.c" } } } -#line 1252 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1296 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = black_point; -#line 1252 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1296 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->low_kink = _tmp9_; -#line 1253 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1297 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = white_point; -#line 1253 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1297 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->high_kink = _tmp10_; -#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1299 "/home/jens/Source/shotwell/src/ColorTransformation.vala" expansion_transformation_build_remap_table (self); -#line 1237 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1281 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 11779 "ColorTransformation.c" +#line 12050 "ColorTransformation.c" } ExpansionTransformation* expansion_transformation_new_from_extrema (gint black_point, gint white_point) { -#line 1237 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1281 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return expansion_transformation_construct_from_extrema (TYPE_EXPANSION_TRANSFORMATION, black_point, white_point); -#line 11786 "ColorTransformation.c" +#line 12057 "ColorTransformation.c" } @@ -11810,7 +12081,7 @@ static gchar* string_chug (const gchar* self) { result = _result_; #line 1202 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 11809 "ColorTransformation.c" +#line 12080 "ColorTransformation.c" } @@ -11833,7 +12104,7 @@ static gchar* string_chomp (const gchar* self) { result = _result_; #line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 11832 "ColorTransformation.c" +#line 12103 "ColorTransformation.c" } @@ -11849,50 +12120,50 @@ ExpansionTransformation* expansion_transformation_construct_from_string (GType o gint num_captured = 0; const gchar* _tmp7_ = NULL; gint _tmp8_ = 0; -#line 1258 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1302 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (encoded_transformation != NULL, NULL); -#line 1259 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1303 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (ExpansionTransformation*) hsv_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_TONE_EXPANSION); -#line 1261 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1305 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = encoded_transformation; -#line 1261 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1305 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_strcanon (_tmp0_, "0123456789. ", ' '); -#line 1262 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1306 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = encoded_transformation; -#line 1262 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1306 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = string_chug (_tmp1_); -#line 1262 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1306 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = _tmp2_; -#line 1262 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1306 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_free0 (_tmp3_); -#line 1263 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1307 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = encoded_transformation; -#line 1263 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1307 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = string_chomp (_tmp4_); -#line 1263 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1307 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = _tmp5_; -#line 1263 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1307 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _g_free0 (_tmp6_); -#line 1265 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1309 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = encoded_transformation; -#line 1265 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1309 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = sscanf (_tmp7_, "%d %d", &self->priv->low_kink, &self->priv->high_kink); -#line 1265 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1309 "/home/jens/Source/shotwell/src/ColorTransformation.vala" num_captured = _tmp8_; -#line 1268 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1312 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _vala_assert (num_captured == 2, "num_captured == 2"); -#line 1270 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1314 "/home/jens/Source/shotwell/src/ColorTransformation.vala" expansion_transformation_build_remap_table (self); -#line 1258 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1302 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 11884 "ColorTransformation.c" +#line 12155 "ColorTransformation.c" } ExpansionTransformation* expansion_transformation_new_from_string (const gchar* encoded_transformation) { -#line 1258 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1302 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return expansion_transformation_construct_from_string (TYPE_EXPANSION_TRANSFORMATION, encoded_transformation); -#line 11891 "ColorTransformation.c" +#line 12162 "ColorTransformation.c" } @@ -11911,108 +12182,108 @@ static void expansion_transformation_build_remap_table (ExpansionTransformation* gfloat _tmp7_ = 0.0F; gfloat _tmp8_ = 0.0F; gint i = 0; -#line 1273 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1317 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (IS_EXPANSION_TRANSFORMATION (self)); -#line 1274 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1318 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->remap_table; -#line 1274 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1318 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0__length1 = self->priv->remap_table_length1; -#line 1274 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1318 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp0_ == NULL) { -#line 11918 "ColorTransformation.c" +#line 12189 "ColorTransformation.c" gfloat* _tmp1_ = NULL; -#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1319 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = g_new0 (gfloat, 256); -#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1319 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table = (g_free (self->priv->remap_table), NULL); -#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1319 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table = _tmp1_; -#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1319 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table_length1 = 256; -#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1319 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_remap_table_size_ = self->priv->remap_table_length1; -#line 11930 "ColorTransformation.c" +#line 12201 "ColorTransformation.c" } -#line 1277 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1321 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = self->priv->low_kink; -#line 1277 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1321 "/home/jens/Source/shotwell/src/ColorTransformation.vala" low_kink_f = ((gfloat) _tmp2_) / 255.0f; -#line 1278 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1322 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = self->priv->high_kink; -#line 1278 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1322 "/home/jens/Source/shotwell/src/ColorTransformation.vala" high_kink_f = ((gfloat) _tmp3_) / 255.0f; -#line 1280 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1324 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = high_kink_f; -#line 1280 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1324 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = low_kink_f; -#line 1280 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1324 "/home/jens/Source/shotwell/src/ColorTransformation.vala" slope = 1.0f / (_tmp4_ - _tmp5_); -#line 1281 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1325 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = low_kink_f; -#line 1281 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1325 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = high_kink_f; -#line 1281 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1325 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = low_kink_f; -#line 1281 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1325 "/home/jens/Source/shotwell/src/ColorTransformation.vala" intercept = -(_tmp6_ / (_tmp7_ - _tmp8_)); -#line 1283 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1327 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 11956 "ColorTransformation.c" +#line 12227 "ColorTransformation.c" { gboolean _tmp9_ = FALSE; -#line 1284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1328 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = TRUE; -#line 1284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1328 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 11963 "ColorTransformation.c" +#line 12234 "ColorTransformation.c" gint _tmp11_ = 0; gint _tmp12_ = 0; gfloat* _tmp13_ = NULL; gint _tmp13__length1 = 0; gint _tmp14_ = 0; gfloat _tmp15_ = 0.0F; -#line 1284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1328 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp9_) { -#line 11972 "ColorTransformation.c" +#line 12243 "ColorTransformation.c" gint _tmp10_ = 0; -#line 1284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1328 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = i; -#line 1284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1328 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp10_ + 1; -#line 11978 "ColorTransformation.c" +#line 12249 "ColorTransformation.c" } -#line 1284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1328 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = FALSE; -#line 1284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1328 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = i; -#line 1284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1328 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = self->priv->low_kink; -#line 1284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1328 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp11_ <= _tmp12_)) { -#line 1284 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1328 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 11990 "ColorTransformation.c" +#line 12261 "ColorTransformation.c" } -#line 1285 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = self->priv->remap_table; -#line 1285 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13__length1 = self->priv->remap_table_length1; -#line 1285 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = i; -#line 1285 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_[_tmp14_] = 0.0f; -#line 1285 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1329 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = _tmp13_[_tmp14_]; -#line 12002 "ColorTransformation.c" +#line 12273 "ColorTransformation.c" } } { gboolean _tmp16_ = FALSE; -#line 1287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1331 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = TRUE; -#line 1287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1331 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 12011 "ColorTransformation.c" +#line 12282 "ColorTransformation.c" gint _tmp18_ = 0; gint _tmp19_ = 0; gfloat* _tmp20_ = NULL; @@ -12022,90 +12293,90 @@ static void expansion_transformation_build_remap_table (ExpansionTransformation* gint _tmp23_ = 0; gfloat _tmp24_ = 0.0F; gfloat _tmp25_ = 0.0F; -#line 1287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1331 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp16_) { -#line 12023 "ColorTransformation.c" +#line 12294 "ColorTransformation.c" gint _tmp17_ = 0; -#line 1287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1331 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = i; -#line 1287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1331 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp17_ + 1; -#line 12029 "ColorTransformation.c" +#line 12300 "ColorTransformation.c" } -#line 1287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1331 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = FALSE; -#line 1287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1331 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = i; -#line 1287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1331 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = self->priv->high_kink; -#line 1287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1331 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp18_ < _tmp19_)) { -#line 1287 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1331 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 12041 "ColorTransformation.c" +#line 12312 "ColorTransformation.c" } -#line 1288 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1332 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = self->priv->remap_table; -#line 1288 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1332 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20__length1 = self->priv->remap_table_length1; -#line 1288 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1332 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = i; -#line 1288 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1332 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = slope; -#line 1288 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1332 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = i; -#line 1288 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1332 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = intercept; -#line 1288 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1332 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_[_tmp21_] = (_tmp22_ * (((gfloat) _tmp23_) / 255.0f)) + _tmp24_; -#line 1288 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1332 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = _tmp20_[_tmp21_]; -#line 12059 "ColorTransformation.c" +#line 12330 "ColorTransformation.c" } } { gboolean _tmp26_ = FALSE; -#line 1290 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1334 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = TRUE; -#line 1290 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1334 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 12068 "ColorTransformation.c" +#line 12339 "ColorTransformation.c" gint _tmp28_ = 0; gfloat* _tmp29_ = NULL; gint _tmp29__length1 = 0; gint _tmp30_ = 0; gfloat _tmp31_ = 0.0F; -#line 1290 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1334 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp26_) { -#line 12076 "ColorTransformation.c" +#line 12347 "ColorTransformation.c" gint _tmp27_ = 0; -#line 1290 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1334 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = i; -#line 1290 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1334 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp27_ + 1; -#line 12082 "ColorTransformation.c" +#line 12353 "ColorTransformation.c" } -#line 1290 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1334 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = FALSE; -#line 1290 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1334 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = i; -#line 1290 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1334 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp28_ < 256)) { -#line 1290 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1334 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 12092 "ColorTransformation.c" +#line 12363 "ColorTransformation.c" } -#line 1291 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1335 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = self->priv->remap_table; -#line 1291 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1335 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29__length1 = self->priv->remap_table_length1; -#line 1291 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1335 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_ = i; -#line 1291 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1335 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_[_tmp30_] = 1.0f; -#line 1291 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1335 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_ = _tmp29_[_tmp30_]; -#line 12104 "ColorTransformation.c" +#line 12375 "ColorTransformation.c" } } } @@ -12124,41 +12395,41 @@ static void expansion_transformation_real_transform_pixel_hsv (PixelTransformati HSVAnalyticPixel _tmp5_ = {0}; gfloat _tmp6_ = 0.0F; gfloat _tmp7_ = 0.0F; -#line 1294 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1338 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformation); -#line 1294 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1338 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (pixel != NULL); -#line 1295 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1339 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = *pixel; -#line 1295 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1339 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = _tmp0_.light_value; -#line 1295 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1339 "/home/jens/Source/shotwell/src/ColorTransformation.vala" remap_index = (gint) (_tmp1_ * 255.0f); -#line 1297 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1341 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = *pixel; -#line 1297 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1341 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _result_ = _tmp2_; -#line 1298 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1342 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = self->priv->remap_table; -#line 1298 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1342 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3__length1 = self->priv->remap_table_length1; -#line 1298 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1342 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = _tmp3_[remap_index]; -#line 1298 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1342 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _result_.light_value = _tmp4_; -#line 1300 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1344 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = _result_; -#line 1300 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1344 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = _tmp5_.light_value; -#line 1300 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1344 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = CLAMP (_tmp6_, 0.0f, 1.0f); -#line 1300 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1344 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _result_.light_value = _tmp7_; -#line 1302 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1346 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *result = _result_; -#line 1302 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1346 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return; -#line 12157 "ColorTransformation.c" +#line 12428 "ColorTransformation.c" } @@ -12168,49 +12439,49 @@ static gchar* expansion_transformation_real_to_string (PixelTransformation* base gint _tmp0_ = 0; gint _tmp1_ = 0; gchar* _tmp2_ = NULL; -#line 1305 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1349 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformation); -#line 1306 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1350 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->low_kink; -#line 1306 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1350 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = self->priv->high_kink; -#line 1306 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1350 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = g_strdup_printf ("{ %d, %d }", _tmp0_, _tmp1_); -#line 1306 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1350 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp2_; -#line 1306 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1350 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 12179 "ColorTransformation.c" +#line 12450 "ColorTransformation.c" } gint expansion_transformation_get_white_point (ExpansionTransformation* self) { gint result = 0; gint _tmp0_ = 0; -#line 1309 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1353 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_EXPANSION_TRANSFORMATION (self), 0); -#line 1310 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1354 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->high_kink; -#line 1310 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1354 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_; -#line 1310 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1354 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 12194 "ColorTransformation.c" +#line 12465 "ColorTransformation.c" } gint expansion_transformation_get_black_point (ExpansionTransformation* self) { gint result = 0; gint _tmp0_ = 0; -#line 1313 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1357 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_EXPANSION_TRANSFORMATION (self), 0); -#line 1314 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1358 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->low_kink; -#line 1314 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1358 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_; -#line 1314 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1358 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 12209 "ColorTransformation.c" +#line 12480 "ColorTransformation.c" } @@ -12219,29 +12490,29 @@ static gboolean expansion_transformation_real_is_identity (PixelTransformation* gboolean result = FALSE; gboolean _tmp0_ = FALSE; gint _tmp1_ = 0; -#line 1317 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1361 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformation); -#line 1318 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = self->priv->low_kink; -#line 1318 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp1_ == 0) { -#line 12224 "ColorTransformation.c" +#line 12495 "ColorTransformation.c" gint _tmp2_ = 0; -#line 1318 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = self->priv->high_kink; -#line 1318 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = _tmp2_ == 255; -#line 12230 "ColorTransformation.c" +#line 12501 "ColorTransformation.c" } else { -#line 1318 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = FALSE; -#line 12234 "ColorTransformation.c" +#line 12505 "ColorTransformation.c" } -#line 1318 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_; -#line 1318 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 12240 "ColorTransformation.c" +#line 12511 "ColorTransformation.c" } @@ -12251,63 +12522,63 @@ static PixelTransformation* expansion_transformation_real_copy (PixelTransformat gint _tmp0_ = 0; gint _tmp1_ = 0; ExpansionTransformation* _tmp2_ = NULL; -#line 1321 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1365 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformation); -#line 1322 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1366 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->low_kink; -#line 1322 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1366 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = self->priv->high_kink; -#line 1322 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1366 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = expansion_transformation_new_from_extrema (_tmp0_, _tmp1_); -#line 1322 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1366 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation); -#line 1322 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1366 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 12262 "ColorTransformation.c" +#line 12533 "ColorTransformation.c" } static void expansion_transformation_class_init (ExpansionTransformationClass * klass) { -#line 1211 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" expansion_transformation_parent_class = g_type_class_peek_parent (klass); -#line 1211 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->finalize = expansion_transformation_finalize; -#line 1211 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_class_add_private (klass, sizeof (ExpansionTransformationPrivate)); -#line 1211 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->transform_pixel_hsv = expansion_transformation_real_transform_pixel_hsv; -#line 1211 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->to_string = expansion_transformation_real_to_string; -#line 1211 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->is_identity = expansion_transformation_real_is_identity; -#line 1211 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->copy = expansion_transformation_real_copy; -#line 12281 "ColorTransformation.c" +#line 12552 "ColorTransformation.c" } static void expansion_transformation_instance_init (ExpansionTransformation * self) { -#line 1211 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv = EXPANSION_TRANSFORMATION_GET_PRIVATE (self); -#line 1212 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1256 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table = NULL; -#line 1212 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1256 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table_length1 = 0; -#line 1212 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1256 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_remap_table_size_ = self->priv->remap_table_length1; -#line 12294 "ColorTransformation.c" +#line 12565 "ColorTransformation.c" } static void expansion_transformation_finalize (PixelTransformation* obj) { ExpansionTransformation * self; -#line 1211 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformation); -#line 1212 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1256 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table = (g_free (self->priv->remap_table), NULL); -#line 1211 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala" PIXEL_TRANSFORMATION_CLASS (expansion_transformation_parent_class)->finalize (obj); -#line 12306 "ColorTransformation.c" +#line 12577 "ColorTransformation.c" } @@ -12334,49 +12605,49 @@ ShadowDetailTransformation* shadow_detail_transformation_construct (GType object HermiteGammaApproximationFunction* func = NULL; HermiteGammaApproximationFunction* _tmp4_ = NULL; gfloat* _tmp5_ = NULL; -#line 1339 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1383 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (ShadowDetailTransformation*) hsv_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_SHADOWS); -#line 1341 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1385 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = user_intensity; -#line 1341 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1385 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->intensity = _tmp0_; -#line 1342 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1386 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = self->priv->intensity; -#line 1342 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1386 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = CLAMP (_tmp1_ / SHADOW_DETAIL_TRANSFORMATION_MAX_PARAMETER, 0.0f, 1.0f); -#line 1342 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1386 "/home/jens/Source/shotwell/src/ColorTransformation.vala" intensity_adj = _tmp2_; -#line 1344 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1388 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = intensity_adj; -#line 1344 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1388 "/home/jens/Source/shotwell/src/ColorTransformation.vala" effect_shift = SHADOW_DETAIL_TRANSFORMATION_MAX_EFFECT_SHIFT * _tmp3_; -#line 1345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1389 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = hermite_gamma_approximation_function_new (SHADOW_DETAIL_TRANSFORMATION_TONAL_WIDTH); -#line 1345 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1389 "/home/jens/Source/shotwell/src/ColorTransformation.vala" func = _tmp4_; -#line 1348 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = g_new0 (gfloat, 256); -#line 1348 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table = (g_free (self->priv->remap_table), NULL); -#line 1348 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table = _tmp5_; -#line 1348 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table_length1 = 256; -#line 1348 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_remap_table_size_ = self->priv->remap_table_length1; -#line 12363 "ColorTransformation.c" +#line 12634 "ColorTransformation.c" { gint i = 0; -#line 1349 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1393 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 12368 "ColorTransformation.c" +#line 12639 "ColorTransformation.c" { gboolean _tmp6_ = FALSE; -#line 1349 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1393 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = TRUE; -#line 1349 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1393 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 12375 "ColorTransformation.c" +#line 12646 "ColorTransformation.c" gint _tmp8_ = 0; gfloat x = 0.0F; gint _tmp9_ = 0; @@ -12393,74 +12664,74 @@ ShadowDetailTransformation* shadow_detail_transformation_construct (GType object gfloat _tmp18_ = 0.0F; gfloat _tmp19_ = 0.0F; gfloat _tmp20_ = 0.0F; -#line 1349 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1393 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp6_) { -#line 12394 "ColorTransformation.c" +#line 12665 "ColorTransformation.c" gint _tmp7_ = 0; -#line 1349 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1393 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = i; -#line 1349 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1393 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp7_ + 1; -#line 12400 "ColorTransformation.c" +#line 12671 "ColorTransformation.c" } -#line 1349 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1393 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = FALSE; -#line 1349 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1393 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = i; -#line 1349 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1393 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp8_ < 256)) { -#line 1349 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1393 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 12410 "ColorTransformation.c" +#line 12681 "ColorTransformation.c" } -#line 1350 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1394 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = i; -#line 1350 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1394 "/home/jens/Source/shotwell/src/ColorTransformation.vala" x = ((gfloat) _tmp9_) / 255.0f; -#line 1351 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1395 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = func; -#line 1351 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1395 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = x; -#line 1351 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1395 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = hermite_gamma_approximation_function_evaluate (_tmp10_, _tmp11_); -#line 1351 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1395 "/home/jens/Source/shotwell/src/ColorTransformation.vala" weight = _tmp12_; -#line 1352 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1396 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = self->priv->remap_table; -#line 1352 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1396 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13__length1 = self->priv->remap_table_length1; -#line 1352 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1396 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = i; -#line 1352 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1396 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = weight; -#line 1352 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1396 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = x; -#line 1352 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1396 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = effect_shift; -#line 1352 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1396 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = weight; -#line 1352 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1396 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = x; -#line 1352 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1396 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_[_tmp14_] = (_tmp15_ * (_tmp16_ + _tmp17_)) + ((1.0f - _tmp18_) * _tmp19_); -#line 1352 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1396 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = _tmp13_[_tmp14_]; -#line 12444 "ColorTransformation.c" +#line 12715 "ColorTransformation.c" } } } -#line 1338 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1382 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _hermite_gamma_approximation_function_unref0 (func); -#line 1338 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1382 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 12452 "ColorTransformation.c" +#line 12723 "ColorTransformation.c" } ShadowDetailTransformation* shadow_detail_transformation_new (gfloat user_intensity) { -#line 1338 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1382 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return shadow_detail_transformation_construct (TYPE_SHADOW_DETAIL_TRANSFORMATION, user_intensity); -#line 12459 "ColorTransformation.c" +#line 12730 "ColorTransformation.c" } @@ -12474,33 +12745,33 @@ static void shadow_detail_transformation_real_transform_pixel_hsv (PixelTransfor gfloat _tmp3_ = 0.0F; gfloat _tmp4_ = 0.0F; gfloat _tmp5_ = 0.0F; -#line 1356 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SHADOW_DETAIL_TRANSFORMATION, ShadowDetailTransformation); -#line 1356 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (pixel != NULL); -#line 1357 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1401 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = *pixel; -#line 1357 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1401 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _result_ = _tmp0_; -#line 1358 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1402 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = self->priv->remap_table; -#line 1358 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1402 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1__length1 = self->priv->remap_table_length1; -#line 1358 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1402 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = *pixel; -#line 1358 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1402 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = _tmp2_.light_value; -#line 1358 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1402 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = _tmp1_[(gint) (_tmp3_ * 255.0f)]; -#line 1358 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1402 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = CLAMP (_tmp4_, 0.0f, 1.0f); -#line 1358 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1402 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _result_.light_value = _tmp5_; -#line 1359 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1403 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *result = _result_; -#line 1359 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1403 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return; -#line 12499 "ColorTransformation.c" +#line 12770 "ColorTransformation.c" } @@ -12509,17 +12780,17 @@ static PixelTransformation* shadow_detail_transformation_real_copy (PixelTransfo PixelTransformation* result = NULL; gfloat _tmp0_ = 0.0F; ShadowDetailTransformation* _tmp1_ = NULL; -#line 1362 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1406 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SHADOW_DETAIL_TRANSFORMATION, ShadowDetailTransformation); -#line 1363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1407 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->intensity; -#line 1363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1407 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = shadow_detail_transformation_new (_tmp0_); -#line 1363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1407 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation); -#line 1363 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1407 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 12518 "ColorTransformation.c" +#line 12789 "ColorTransformation.c" } @@ -12527,74 +12798,74 @@ static gboolean shadow_detail_transformation_real_is_identity (PixelTransformati ShadowDetailTransformation * self; gboolean result = FALSE; gfloat _tmp0_ = 0.0F; -#line 1366 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1410 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SHADOW_DETAIL_TRANSFORMATION, ShadowDetailTransformation); -#line 1367 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1411 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->intensity; -#line 1367 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1411 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_ == 0.0f; -#line 1367 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1411 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 12534 "ColorTransformation.c" +#line 12805 "ColorTransformation.c" } gfloat shadow_detail_transformation_get_parameter (ShadowDetailTransformation* self) { gfloat result = 0.0F; gfloat _tmp0_ = 0.0F; -#line 1370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1414 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_SHADOW_DETAIL_TRANSFORMATION (self), 0.0F); -#line 1371 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1415 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->intensity; -#line 1371 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1415 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_; -#line 1371 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1415 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 12549 "ColorTransformation.c" +#line 12820 "ColorTransformation.c" } static void shadow_detail_transformation_class_init (ShadowDetailTransformationClass * klass) { -#line 1326 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" shadow_detail_transformation_parent_class = g_type_class_peek_parent (klass); -#line 1326 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->finalize = shadow_detail_transformation_finalize; -#line 1326 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_class_add_private (klass, sizeof (ShadowDetailTransformationPrivate)); -#line 1326 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->transform_pixel_hsv = shadow_detail_transformation_real_transform_pixel_hsv; -#line 1326 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->copy = shadow_detail_transformation_real_copy; -#line 1326 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->is_identity = shadow_detail_transformation_real_is_identity; -#line 12566 "ColorTransformation.c" +#line 12837 "ColorTransformation.c" } static void shadow_detail_transformation_instance_init (ShadowDetailTransformation * self) { -#line 1326 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv = SHADOW_DETAIL_TRANSFORMATION_GET_PRIVATE (self); -#line 1332 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1376 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->intensity = 0.0f; -#line 1333 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1377 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table = NULL; -#line 1333 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1377 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table_length1 = 0; -#line 1333 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1377 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_remap_table_size_ = self->priv->remap_table_length1; -#line 12581 "ColorTransformation.c" +#line 12852 "ColorTransformation.c" } static void shadow_detail_transformation_finalize (PixelTransformation* obj) { ShadowDetailTransformation * self; -#line 1326 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SHADOW_DETAIL_TRANSFORMATION, ShadowDetailTransformation); -#line 1333 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1377 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table = (g_free (self->priv->remap_table), NULL); -#line 1326 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1370 "/home/jens/Source/shotwell/src/ColorTransformation.vala" PIXEL_TRANSFORMATION_CLASS (shadow_detail_transformation_parent_class)->finalize (obj); -#line 12593 "ColorTransformation.c" +#line 12864 "ColorTransformation.c" } @@ -12615,59 +12886,59 @@ HermiteGammaApproximationFunction* hermite_gamma_approximation_function_construc gfloat _tmp0_ = 0.0F; gfloat _tmp1_ = 0.0F; gfloat _tmp2_ = 0.0F; -#line 1379 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1423 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (HermiteGammaApproximationFunction*) g_type_create_instance (object_type); -#line 1380 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1424 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = user_interval_upper; -#line 1380 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1424 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = CLAMP (_tmp0_, 0.1f, 1.0f); -#line 1380 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1424 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->nonzero_interval_upper = _tmp1_; -#line 1381 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1425 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = self->priv->nonzero_interval_upper; -#line 1381 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1425 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->x_scale = 1.0f / _tmp2_; -#line 1379 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1423 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 12628 "ColorTransformation.c" +#line 12899 "ColorTransformation.c" } HermiteGammaApproximationFunction* hermite_gamma_approximation_function_new (gfloat user_interval_upper) { -#line 1379 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1423 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return hermite_gamma_approximation_function_construct (TYPE_HERMITE_GAMMA_APPROXIMATION_FUNCTION, user_interval_upper); -#line 12635 "ColorTransformation.c" +#line 12906 "ColorTransformation.c" } gfloat hermite_gamma_approximation_function_evaluate (HermiteGammaApproximationFunction* self, gfloat x) { gfloat result = 0.0F; gfloat _tmp0_ = 0.0F; -#line 1384 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1428 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_HERMITE_GAMMA_APPROXIMATION_FUNCTION (self), 0.0F); -#line 1385 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1429 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = x; -#line 1385 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1429 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp0_ < 0.0f) { -#line 1386 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1430 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = 0.0f; -#line 1386 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1430 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 12652 "ColorTransformation.c" +#line 12923 "ColorTransformation.c" } else { gfloat _tmp1_ = 0.0F; gfloat _tmp2_ = 0.0F; -#line 1387 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1431 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = x; -#line 1387 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1431 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = self->priv->nonzero_interval_upper; -#line 1387 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1431 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp1_ > _tmp2_) { -#line 1388 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1432 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = 0.0f; -#line 1388 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1432 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 12666 "ColorTransformation.c" +#line 12937 "ColorTransformation.c" } else { gfloat indep_var = 0.0F; gfloat _tmp3_ = 0.0F; @@ -12681,251 +12952,251 @@ gfloat hermite_gamma_approximation_function_evaluate (HermiteGammaApproximationF gfloat _tmp10_ = 0.0F; gfloat _tmp11_ = 0.0F; gfloat _tmp12_ = 0.0F; -#line 1390 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1434 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = self->priv->x_scale; -#line 1390 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1434 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = x; -#line 1390 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1434 "/home/jens/Source/shotwell/src/ColorTransformation.vala" indep_var = _tmp3_ * _tmp4_; -#line 1392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1436 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = indep_var; -#line 1392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1436 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = indep_var; -#line 1392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1436 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = indep_var; -#line 1392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1436 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = indep_var; -#line 1392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1436 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = indep_var; -#line 1392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1436 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = indep_var; -#line 1392 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1436 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dep_var = 6.0f * ((((_tmp5_ * _tmp6_) * _tmp7_) - (2.0f * (_tmp8_ * _tmp9_))) + _tmp10_); -#line 1395 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1439 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = dep_var; -#line 1395 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1439 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = CLAMP (_tmp11_, 0.0f, 1.0f); -#line 1395 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1439 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp12_; -#line 1395 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1439 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 12708 "ColorTransformation.c" +#line 12979 "ColorTransformation.c" } } } static void value_hermite_gamma_approximation_function_init (GValue* value) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 12717 "ColorTransformation.c" +#line 12988 "ColorTransformation.c" } static void value_hermite_gamma_approximation_function_free_value (GValue* value) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (value->data[0].v_pointer) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" hermite_gamma_approximation_function_unref (value->data[0].v_pointer); -#line 12726 "ColorTransformation.c" +#line 12997 "ColorTransformation.c" } } static void value_hermite_gamma_approximation_function_copy_value (const GValue* src_value, GValue* dest_value) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (src_value->data[0].v_pointer) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_value->data[0].v_pointer = hermite_gamma_approximation_function_ref (src_value->data[0].v_pointer); -#line 12736 "ColorTransformation.c" +#line 13007 "ColorTransformation.c" } else { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" dest_value->data[0].v_pointer = NULL; -#line 12740 "ColorTransformation.c" +#line 13011 "ColorTransformation.c" } } static gpointer value_hermite_gamma_approximation_function_peek_pointer (const GValue* value) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return value->data[0].v_pointer; -#line 12748 "ColorTransformation.c" +#line 13019 "ColorTransformation.c" } static gchar* value_hermite_gamma_approximation_function_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (collect_values[0].v_pointer) { -#line 12755 "ColorTransformation.c" +#line 13026 "ColorTransformation.c" HermiteGammaApproximationFunction* object; object = collect_values[0].v_pointer; -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (object->parent_instance.g_class == NULL) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 12762 "ColorTransformation.c" +#line 13033 "ColorTransformation.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 12766 "ColorTransformation.c" +#line 13037 "ColorTransformation.c" } -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = hermite_gamma_approximation_function_ref (object); -#line 12770 "ColorTransformation.c" +#line 13041 "ColorTransformation.c" } else { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 12774 "ColorTransformation.c" +#line 13045 "ColorTransformation.c" } -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return NULL; -#line 12778 "ColorTransformation.c" +#line 13049 "ColorTransformation.c" } static gchar* value_hermite_gamma_approximation_function_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { HermiteGammaApproximationFunction** object_p; object_p = collect_values[0].v_pointer; -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!object_p) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 12789 "ColorTransformation.c" +#line 13060 "ColorTransformation.c" } -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!value->data[0].v_pointer) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = NULL; -#line 12795 "ColorTransformation.c" +#line 13066 "ColorTransformation.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = value->data[0].v_pointer; -#line 12799 "ColorTransformation.c" +#line 13070 "ColorTransformation.c" } else { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *object_p = hermite_gamma_approximation_function_ref (value->data[0].v_pointer); -#line 12803 "ColorTransformation.c" +#line 13074 "ColorTransformation.c" } -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return NULL; -#line 12807 "ColorTransformation.c" +#line 13078 "ColorTransformation.c" } GParamSpec* param_spec_hermite_gamma_approximation_function (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecHermiteGammaApproximationFunction* spec; -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (g_type_is_a (object_type, TYPE_HERMITE_GAMMA_APPROXIMATION_FUNCTION), NULL); -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return G_PARAM_SPEC (spec); -#line 12821 "ColorTransformation.c" +#line 13092 "ColorTransformation.c" } gpointer value_get_hermite_gamma_approximation_function (const GValue* value) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_HERMITE_GAMMA_APPROXIMATION_FUNCTION), NULL); -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return value->data[0].v_pointer; -#line 12830 "ColorTransformation.c" +#line 13101 "ColorTransformation.c" } void value_set_hermite_gamma_approximation_function (GValue* value, gpointer v_object) { HermiteGammaApproximationFunction* old; -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_HERMITE_GAMMA_APPROXIMATION_FUNCTION)); -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" old = value->data[0].v_pointer; -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (v_object) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_HERMITE_GAMMA_APPROXIMATION_FUNCTION)); -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = v_object; -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" hermite_gamma_approximation_function_ref (value->data[0].v_pointer); -#line 12850 "ColorTransformation.c" +#line 13121 "ColorTransformation.c" } else { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 12854 "ColorTransformation.c" +#line 13125 "ColorTransformation.c" } -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (old) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" hermite_gamma_approximation_function_unref (old); -#line 12860 "ColorTransformation.c" +#line 13131 "ColorTransformation.c" } } void value_take_hermite_gamma_approximation_function (GValue* value, gpointer v_object) { HermiteGammaApproximationFunction* old; -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_HERMITE_GAMMA_APPROXIMATION_FUNCTION)); -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" old = value->data[0].v_pointer; -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (v_object) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_HERMITE_GAMMA_APPROXIMATION_FUNCTION)); -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = v_object; -#line 12879 "ColorTransformation.c" +#line 13150 "ColorTransformation.c" } else { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" value->data[0].v_pointer = NULL; -#line 12883 "ColorTransformation.c" +#line 13154 "ColorTransformation.c" } -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (old) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" hermite_gamma_approximation_function_unref (old); -#line 12889 "ColorTransformation.c" +#line 13160 "ColorTransformation.c" } } static void hermite_gamma_approximation_function_class_init (HermiteGammaApproximationFunctionClass * klass) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" hermite_gamma_approximation_function_parent_class = g_type_class_peek_parent (klass); -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((HermiteGammaApproximationFunctionClass *) klass)->finalize = hermite_gamma_approximation_function_finalize; -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_class_add_private (klass, sizeof (HermiteGammaApproximationFunctionPrivate)); -#line 12901 "ColorTransformation.c" +#line 13172 "ColorTransformation.c" } static void hermite_gamma_approximation_function_instance_init (HermiteGammaApproximationFunction * self) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv = HERMITE_GAMMA_APPROXIMATION_FUNCTION_GET_PRIVATE (self); -#line 1376 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1420 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->x_scale = 1.0f; -#line 1377 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1421 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->nonzero_interval_upper = 1.0f; -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->ref_count = 1; -#line 12914 "ColorTransformation.c" +#line 13185 "ColorTransformation.c" } static void hermite_gamma_approximation_function_finalize (HermiteGammaApproximationFunction* obj) { HermiteGammaApproximationFunction * self; -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_HERMITE_GAMMA_APPROXIMATION_FUNCTION, HermiteGammaApproximationFunction); -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_signal_handlers_destroy (self); -#line 12924 "ColorTransformation.c" +#line 13195 "ColorTransformation.c" } @@ -12946,24 +13217,24 @@ GType hermite_gamma_approximation_function_get_type (void) { gpointer hermite_gamma_approximation_function_ref (gpointer instance) { HermiteGammaApproximationFunction* self; self = instance; -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_atomic_int_inc (&self->ref_count); -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return instance; -#line 12949 "ColorTransformation.c" +#line 13220 "ColorTransformation.c" } void hermite_gamma_approximation_function_unref (gpointer instance) { HermiteGammaApproximationFunction* self; self = instance; -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" HERMITE_GAMMA_APPROXIMATION_FUNCTION_GET_CLASS (self)->finalize (self); -#line 1375 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_free_instance ((GTypeInstance *) self); -#line 12962 "ColorTransformation.c" +#line 13233 "ColorTransformation.c" } } @@ -12979,49 +13250,49 @@ HighlightDetailTransformation* highlight_detail_transformation_construct (GType HermiteGammaApproximationFunction* func = NULL; HermiteGammaApproximationFunction* _tmp4_ = NULL; gfloat* _tmp5_ = NULL; -#line 1413 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1457 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = (HighlightDetailTransformation*) hsv_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_HIGHLIGHTS); -#line 1415 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1459 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = user_intensity; -#line 1415 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1459 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->intensity = _tmp0_; -#line 1416 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1460 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = self->priv->intensity; -#line 1416 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1460 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = CLAMP (_tmp1_ / HIGHLIGHT_DETAIL_TRANSFORMATION_MIN_PARAMETER, 0.0f, 1.0f); -#line 1416 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1460 "/home/jens/Source/shotwell/src/ColorTransformation.vala" intensity_adj = _tmp2_; -#line 1418 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = intensity_adj; -#line 1418 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1462 "/home/jens/Source/shotwell/src/ColorTransformation.vala" effect_shift = HIGHLIGHT_DETAIL_TRANSFORMATION_MAX_EFFECT_SHIFT * _tmp3_; -#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1463 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = hermite_gamma_approximation_function_new (HIGHLIGHT_DETAIL_TRANSFORMATION_TONAL_WIDTH); -#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1463 "/home/jens/Source/shotwell/src/ColorTransformation.vala" func = _tmp4_; -#line 1422 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1466 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = g_new0 (gfloat, 256); -#line 1422 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1466 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table = (g_free (self->priv->remap_table), NULL); -#line 1422 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1466 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table = _tmp5_; -#line 1422 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1466 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table_length1 = 256; -#line 1422 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1466 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_remap_table_size_ = self->priv->remap_table_length1; -#line 13008 "ColorTransformation.c" +#line 13279 "ColorTransformation.c" { gint i = 0; -#line 1423 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1467 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = 0; -#line 13013 "ColorTransformation.c" +#line 13284 "ColorTransformation.c" { gboolean _tmp6_ = FALSE; -#line 1423 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1467 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = TRUE; -#line 1423 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1467 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 13020 "ColorTransformation.c" +#line 13291 "ColorTransformation.c" gint _tmp8_ = 0; gfloat x = 0.0F; gint _tmp9_ = 0; @@ -13038,74 +13309,74 @@ HighlightDetailTransformation* highlight_detail_transformation_construct (GType gfloat _tmp18_ = 0.0F; gfloat _tmp19_ = 0.0F; gfloat _tmp20_ = 0.0F; -#line 1423 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1467 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp6_) { -#line 13039 "ColorTransformation.c" +#line 13310 "ColorTransformation.c" gint _tmp7_ = 0; -#line 1423 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1467 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = i; -#line 1423 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1467 "/home/jens/Source/shotwell/src/ColorTransformation.vala" i = _tmp7_ + 1; -#line 13045 "ColorTransformation.c" +#line 13316 "ColorTransformation.c" } -#line 1423 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1467 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = FALSE; -#line 1423 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1467 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = i; -#line 1423 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1467 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp8_ < 256)) { -#line 1423 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1467 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 13055 "ColorTransformation.c" +#line 13326 "ColorTransformation.c" } -#line 1424 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1468 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = i; -#line 1424 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1468 "/home/jens/Source/shotwell/src/ColorTransformation.vala" x = ((gfloat) _tmp9_) / 255.0f; -#line 1425 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = func; -#line 1425 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = x; -#line 1425 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = hermite_gamma_approximation_function_evaluate (_tmp10_, 1.0f - _tmp11_); -#line 1425 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1469 "/home/jens/Source/shotwell/src/ColorTransformation.vala" weight = _tmp12_; -#line 1426 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = self->priv->remap_table; -#line 1426 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13__length1 = self->priv->remap_table_length1; -#line 1426 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = i; -#line 1426 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = weight; -#line 1426 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = x; -#line 1426 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = effect_shift; -#line 1426 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = weight; -#line 1426 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = x; -#line 1426 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_[_tmp14_] = (_tmp15_ * (_tmp16_ - _tmp17_)) + ((1.0f - _tmp18_) * _tmp19_); -#line 1426 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = _tmp13_[_tmp14_]; -#line 13089 "ColorTransformation.c" +#line 13360 "ColorTransformation.c" } } } -#line 1412 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _hermite_gamma_approximation_function_unref0 (func); -#line 1412 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return self; -#line 13097 "ColorTransformation.c" +#line 13368 "ColorTransformation.c" } HighlightDetailTransformation* highlight_detail_transformation_new (gfloat user_intensity) { -#line 1412 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1456 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return highlight_detail_transformation_construct (TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, user_intensity); -#line 13104 "ColorTransformation.c" +#line 13375 "ColorTransformation.c" } @@ -13119,33 +13390,33 @@ static void highlight_detail_transformation_real_transform_pixel_hsv (PixelTrans gfloat _tmp3_ = 0.0F; gfloat _tmp4_ = 0.0F; gfloat _tmp5_ = 0.0F; -#line 1430 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1474 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, HighlightDetailTransformation); -#line 1430 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1474 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_if_fail (pixel != NULL); -#line 1431 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = *pixel; -#line 1431 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _result_ = _tmp0_; -#line 1432 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1476 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = self->priv->remap_table; -#line 1432 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1476 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1__length1 = self->priv->remap_table_length1; -#line 1432 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1476 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = *pixel; -#line 1432 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1476 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = _tmp2_.light_value; -#line 1432 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1476 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = _tmp1_[(gint) (_tmp3_ * 255.0f)]; -#line 1432 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1476 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = CLAMP (_tmp4_, 0.0f, 1.0f); -#line 1432 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1476 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _result_.light_value = _tmp5_; -#line 1433 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" *result = _result_; -#line 1433 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1477 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return; -#line 13144 "ColorTransformation.c" +#line 13415 "ColorTransformation.c" } @@ -13154,17 +13425,17 @@ static PixelTransformation* highlight_detail_transformation_real_copy (PixelTran PixelTransformation* result = NULL; gfloat _tmp0_ = 0.0F; HighlightDetailTransformation* _tmp1_ = NULL; -#line 1436 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1480 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, HighlightDetailTransformation); -#line 1437 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->intensity; -#line 1437 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = highlight_detail_transformation_new (_tmp0_); -#line 1437 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation); -#line 1437 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1481 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 13163 "ColorTransformation.c" +#line 13434 "ColorTransformation.c" } @@ -13172,74 +13443,74 @@ static gboolean highlight_detail_transformation_real_is_identity (PixelTransform HighlightDetailTransformation * self; gboolean result = FALSE; gfloat _tmp0_ = 0.0F; -#line 1440 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1484 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, HighlightDetailTransformation); -#line 1441 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1485 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->intensity; -#line 1441 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1485 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_ == 0.0f; -#line 1441 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1485 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 13179 "ColorTransformation.c" +#line 13450 "ColorTransformation.c" } gfloat highlight_detail_transformation_get_parameter (HighlightDetailTransformation* self) { gfloat result = 0.0F; gfloat _tmp0_ = 0.0F; -#line 1444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1488 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (IS_HIGHLIGHT_DETAIL_TRANSFORMATION (self), 0.0F); -#line 1445 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = self->priv->intensity; -#line 1445 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = _tmp0_; -#line 1445 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 13194 "ColorTransformation.c" +#line 13465 "ColorTransformation.c" } static void highlight_detail_transformation_class_init (HighlightDetailTransformationClass * klass) { -#line 1400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" highlight_detail_transformation_parent_class = g_type_class_peek_parent (klass); -#line 1400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->finalize = highlight_detail_transformation_finalize; -#line 1400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_type_class_add_private (klass, sizeof (HighlightDetailTransformationPrivate)); -#line 1400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->transform_pixel_hsv = highlight_detail_transformation_real_transform_pixel_hsv; -#line 1400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->copy = highlight_detail_transformation_real_copy; -#line 1400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" ((PixelTransformationClass *) klass)->is_identity = highlight_detail_transformation_real_is_identity; -#line 13211 "ColorTransformation.c" +#line 13482 "ColorTransformation.c" } static void highlight_detail_transformation_instance_init (HighlightDetailTransformation * self) { -#line 1400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv = HIGHLIGHT_DETAIL_TRANSFORMATION_GET_PRIVATE (self); -#line 1406 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1450 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->intensity = 0.0f; -#line 1407 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1451 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table = NULL; -#line 1407 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1451 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table_length1 = 0; -#line 1407 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1451 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->_remap_table_size_ = self->priv->remap_table_length1; -#line 13226 "ColorTransformation.c" +#line 13497 "ColorTransformation.c" } static void highlight_detail_transformation_finalize (PixelTransformation* obj) { HighlightDetailTransformation * self; -#line 1400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, HighlightDetailTransformation); -#line 1407 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1451 "/home/jens/Source/shotwell/src/ColorTransformation.vala" self->priv->remap_table = (g_free (self->priv->remap_table), NULL); -#line 1400 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1444 "/home/jens/Source/shotwell/src/ColorTransformation.vala" PIXEL_TRANSFORMATION_CLASS (highlight_detail_transformation_parent_class)->finalize (obj); -#line 13238 "ColorTransformation.c" +#line 13509 "ColorTransformation.c" } @@ -13288,124 +13559,127 @@ PixelTransformationBundle* auto_enhance_create_auto_enhance_adjustments (GdkPixb ExposureTransformation* _tmp56_ = NULL; ExposureTransformation* _tmp57_ = NULL; PixelTransformationBundle* _tmp58_ = NULL; - SaturationTransformation* _tmp59_ = NULL; - SaturationTransformation* _tmp60_ = NULL; -#line 1458 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + ContrastTransformation* _tmp59_ = NULL; + ContrastTransformation* _tmp60_ = NULL; + PixelTransformationBundle* _tmp61_ = NULL; + SaturationTransformation* _tmp62_ = NULL; + SaturationTransformation* _tmp63_ = NULL; +#line 1502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL); -#line 1459 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1503 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp0_ = pixel_transformation_bundle_new (); -#line 1459 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1503 "/home/jens/Source/shotwell/src/ColorTransformation.vala" adjustments = _tmp0_; -#line 1461 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1505 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp1_ = pixbuf; -#line 1461 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1505 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp2_ = intensity_histogram_new (_tmp1_); -#line 1461 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1505 "/home/jens/Source/shotwell/src/ColorTransformation.vala" analysis_histogram = _tmp2_; -#line 1464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp3_ = analysis_histogram; -#line 1464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp4_ = intensity_histogram_get_cumulative_probability (_tmp3_, AUTO_ENHANCE_SHADOW_DETECT_MAX_INTENSITY); -#line 1464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp5_ = analysis_histogram; -#line 1464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp6_ = intensity_histogram_get_cumulative_probability (_tmp5_, AUTO_ENHANCE_SHADOW_DETECT_MIN_INTENSITY); -#line 1464 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1508 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pct_in_range = 100.0f * (_tmp4_ - _tmp6_); -#line 1470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp7_ = analysis_histogram; -#line 1470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp8_ = intensity_histogram_get_cumulative_probability (_tmp7_, AUTO_ENHANCE_SHADOW_DETECT_MIN_INTENSITY); -#line 1470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp9_ = analysis_histogram; -#line 1470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp10_ = intensity_histogram_get_cumulative_probability (_tmp9_, AUTO_ENHANCE_SHADOW_DETECT_MAX_INTENSITY); -#line 1470 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" shadow_range_mean_prob_val = (_tmp8_ + _tmp10_) * 0.5f; -#line 1473 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1517 "/home/jens/Source/shotwell/src/ColorTransformation.vala" shadow_mean_intensity = AUTO_ENHANCE_SHADOW_DETECT_MIN_INTENSITY; -#line 13323 "ColorTransformation.c" +#line 13597 "ColorTransformation.c" { gboolean _tmp11_ = FALSE; -#line 1474 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1518 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = TRUE; -#line 1474 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1518 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 13330 "ColorTransformation.c" +#line 13604 "ColorTransformation.c" gint _tmp13_ = 0; IntensityHistogram* _tmp14_ = NULL; gint _tmp15_ = 0; gfloat _tmp16_ = 0.0F; gfloat _tmp17_ = 0.0F; -#line 1474 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1518 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp11_) { -#line 13338 "ColorTransformation.c" +#line 13612 "ColorTransformation.c" gint _tmp12_ = 0; -#line 1474 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1518 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp12_ = shadow_mean_intensity; -#line 1474 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1518 "/home/jens/Source/shotwell/src/ColorTransformation.vala" shadow_mean_intensity = _tmp12_ + 1; -#line 13344 "ColorTransformation.c" +#line 13618 "ColorTransformation.c" } -#line 1474 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1518 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp11_ = FALSE; -#line 1474 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1518 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp13_ = shadow_mean_intensity; -#line 1474 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1518 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp13_ <= AUTO_ENHANCE_SHADOW_DETECT_MAX_INTENSITY)) { -#line 1474 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1518 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 13354 "ColorTransformation.c" +#line 13628 "ColorTransformation.c" } -#line 1475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp14_ = analysis_histogram; -#line 1475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp15_ = shadow_mean_intensity; -#line 1475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp16_ = intensity_histogram_get_cumulative_probability (_tmp14_, _tmp15_); -#line 1475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp17_ = shadow_range_mean_prob_val; -#line 1475 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1519 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp16_ >= _tmp17_) { -#line 1476 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1520 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 13368 "ColorTransformation.c" +#line 13642 "ColorTransformation.c" } } } -#line 1484 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1528 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp19_ = pct_in_range; -#line 1484 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1528 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp19_ > 40.0f) { -#line 1484 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1528 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = TRUE; -#line 13378 "ColorTransformation.c" +#line 13652 "ColorTransformation.c" } else { gboolean _tmp20_ = FALSE; gfloat _tmp21_ = 0.0F; -#line 1484 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1528 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp21_ = pct_in_range; -#line 1484 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1528 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp21_ > 20.0f) { -#line 13386 "ColorTransformation.c" +#line 13660 "ColorTransformation.c" gint _tmp22_ = 0; -#line 1484 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1528 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp22_ = shadow_mean_intensity; -#line 1484 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1528 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = _tmp22_ < AUTO_ENHANCE_EMPIRICAL_DARK; -#line 13392 "ColorTransformation.c" +#line 13666 "ColorTransformation.c" } else { -#line 1484 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1528 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp20_ = FALSE; -#line 13396 "ColorTransformation.c" +#line 13670 "ColorTransformation.c" } -#line 1484 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1528 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp18_ = _tmp20_; -#line 13400 "ColorTransformation.c" +#line 13674 "ColorTransformation.c" } -#line 1484 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1528 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (_tmp18_) { -#line 13404 "ColorTransformation.c" +#line 13678 "ColorTransformation.c" gfloat shadow_trans_effect_size = 0.0F; gint _tmp23_ = 0; gfloat _tmp24_ = 0.0F; @@ -13418,87 +13692,87 @@ PixelTransformationBundle* auto_enhance_create_auto_enhance_adjustments (GdkPixb gint _tmp36_ = 0; ExpansionTransformation* _tmp37_ = NULL; ExpansionTransformation* _tmp38_ = NULL; -#line 1485 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1529 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp23_ = shadow_mean_intensity; -#line 1485 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1529 "/home/jens/Source/shotwell/src/ColorTransformation.vala" shadow_trans_effect_size = ((((gfloat) AUTO_ENHANCE_SHADOW_DETECT_MAX_INTENSITY) - ((gfloat) _tmp23_)) / ((gfloat) AUTO_ENHANCE_SHADOW_DETECT_INTENSITY_RANGE)) * SHADOW_DETAIL_TRANSFORMATION_MAX_PARAMETER; -#line 1489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp24_ = shadow_trans_effect_size; -#line 1489 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1533 "/home/jens/Source/shotwell/src/ColorTransformation.vala" shadow_trans_effect_size = _tmp24_ * AUTO_ENHANCE_SHADOW_AGGRESSIVENESS_MUL; -#line 1491 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1535 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp25_ = adjustments; -#line 1491 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1535 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp26_ = shadow_trans_effect_size; -#line 1491 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1535 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp27_ = shadow_detail_transformation_new (_tmp26_); -#line 1491 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1535 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp28_ = _tmp27_; -#line 1491 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1535 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (_tmp25_, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 1491 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1535 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp28_); -#line 1495 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1539 "/home/jens/Source/shotwell/src/ColorTransformation.vala" discard_point = 255; -#line 13439 "ColorTransformation.c" +#line 13713 "ColorTransformation.c" { gboolean _tmp29_ = FALSE; -#line 1496 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1540 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = TRUE; -#line 1496 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1540 "/home/jens/Source/shotwell/src/ColorTransformation.vala" while (TRUE) { -#line 13446 "ColorTransformation.c" +#line 13720 "ColorTransformation.c" gint _tmp31_ = 0; IntensityHistogram* _tmp32_ = NULL; gint _tmp33_ = 0; gfloat _tmp34_ = 0.0F; -#line 1496 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1540 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!_tmp29_) { -#line 13453 "ColorTransformation.c" +#line 13727 "ColorTransformation.c" gint _tmp30_ = 0; -#line 1496 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1540 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp30_ = discard_point; -#line 1496 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1540 "/home/jens/Source/shotwell/src/ColorTransformation.vala" discard_point = _tmp30_ - 1; -#line 13459 "ColorTransformation.c" +#line 13733 "ColorTransformation.c" } -#line 1496 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1540 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp29_ = FALSE; -#line 1496 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1540 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp31_ = discard_point; -#line 1496 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1540 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if (!(_tmp31_ > -1)) { -#line 1496 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1540 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 13469 "ColorTransformation.c" +#line 13743 "ColorTransformation.c" } -#line 1497 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1541 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp32_ = analysis_histogram; -#line 1497 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1541 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp33_ = discard_point; -#line 1497 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1541 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp34_ = intensity_histogram_get_cumulative_probability (_tmp32_, _tmp33_); -#line 1497 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1541 "/home/jens/Source/shotwell/src/ColorTransformation.vala" if ((1.0f - _tmp34_) > AUTO_ENHANCE_SHADOW_MODE_HIGH_DISCARD_MASS) { -#line 1499 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1543 "/home/jens/Source/shotwell/src/ColorTransformation.vala" break; -#line 13481 "ColorTransformation.c" +#line 13755 "ColorTransformation.c" } } } -#line 1502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1546 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp35_ = adjustments; -#line 1502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1546 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp36_ = discard_point; -#line 1502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1546 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp37_ = expansion_transformation_new_from_extrema (0, _tmp36_); -#line 1502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1546 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp38_ = _tmp37_; -#line 1502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1546 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (_tmp35_, G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 1502 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1546 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp38_); -#line 13497 "ColorTransformation.c" +#line 13771 "ColorTransformation.c" } else { PixelTransformationBundle* _tmp39_ = NULL; IntensityHistogram* _tmp40_ = NULL; @@ -13507,87 +13781,97 @@ PixelTransformationBundle* auto_enhance_create_auto_enhance_adjustments (GdkPixb PixelTransformationBundle* _tmp43_ = NULL; ShadowDetailTransformation* _tmp44_ = NULL; ShadowDetailTransformation* _tmp45_ = NULL; -#line 1505 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1549 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp39_ = adjustments; -#line 1505 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1549 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp40_ = analysis_histogram; -#line 1505 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1549 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp41_ = expansion_transformation_new (_tmp40_); -#line 1505 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1549 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp42_ = _tmp41_; -#line 1505 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1549 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (_tmp39_, G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 1505 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1549 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp42_); -#line 1506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1550 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp43_ = adjustments; -#line 1506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1550 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp44_ = shadow_detail_transformation_new ((gfloat) 0); -#line 1506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1550 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp45_ = _tmp44_; -#line 1506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1550 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (_tmp43_, G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 1506 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1550 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp45_); -#line 13528 "ColorTransformation.c" +#line 13802 "ColorTransformation.c" } -#line 1510 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp46_ = adjustments; -#line 1510 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp47_ = highlight_detail_transformation_new (0.0f); -#line 1510 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp48_ = _tmp47_; -#line 1510 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (_tmp46_, G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 1510 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1554 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp48_); -#line 1511 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1555 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp49_ = adjustments; -#line 1511 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1555 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp50_ = temperature_transformation_new (0.0f); -#line 1511 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1555 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp51_ = _tmp50_; -#line 1511 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1555 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (_tmp49_, G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 1511 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1555 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp51_); -#line 1512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1556 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp52_ = adjustments; -#line 1512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1556 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp53_ = tint_transformation_new (0.0f); -#line 1512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1556 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp54_ = _tmp53_; -#line 1512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1556 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (_tmp52_, G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 1512 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1556 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp54_); -#line 1513 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1557 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp55_ = adjustments; -#line 1513 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1557 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp56_ = exposure_transformation_new (0.0f); -#line 1513 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1557 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp57_ = _tmp56_; -#line 1513 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1557 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (_tmp55_, G_TYPE_CHECK_INSTANCE_CAST (_tmp57_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 1513 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1557 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp57_); -#line 1514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1558 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp58_ = adjustments; -#line 1514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" - _tmp59_ = saturation_transformation_new (0.0f); -#line 1514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1558 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp59_ = contrast_transformation_new (0.0f); +#line 1558 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _tmp60_ = _tmp59_; -#line 1514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1558 "/home/jens/Source/shotwell/src/ColorTransformation.vala" pixel_transformation_bundle_set (_tmp58_, G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 1514 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1558 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _pixel_transformation_unref0 (_tmp60_); -#line 1516 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1559 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp61_ = adjustments; +#line 1559 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp62_ = saturation_transformation_new (0.0f); +#line 1559 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _tmp63_ = _tmp62_; +#line 1559 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + pixel_transformation_bundle_set (_tmp61_, G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); +#line 1559 "/home/jens/Source/shotwell/src/ColorTransformation.vala" + _pixel_transformation_unref0 (_tmp63_); +#line 1561 "/home/jens/Source/shotwell/src/ColorTransformation.vala" result = adjustments; -#line 1516 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1561 "/home/jens/Source/shotwell/src/ColorTransformation.vala" _intensity_histogram_unref0 (analysis_histogram); -#line 1516 "/home/jens/Source/shotwell/src/ColorTransformation.vala" +#line 1561 "/home/jens/Source/shotwell/src/ColorTransformation.vala" return result; -#line 13586 "ColorTransformation.c" +#line 13870 "ColorTransformation.c" } diff --git a/src/ColorTransformation.vala b/src/ColorTransformation.vala index a7b7452..435d3f4 100644 --- a/src/ColorTransformation.vala +++ b/src/ColorTransformation.vala @@ -227,7 +227,8 @@ public enum PixelTransformationType { TEMPERATURE, TINT, SATURATION, - EXPOSURE + EXPOSURE, + CONTRAST } public class PixelTransformationBundle { @@ -263,6 +264,7 @@ public class PixelTransformationBundle { set(new TintTransformation(0.0f)); set(new SaturationTransformation(0.0f)); set(new ExposureTransformation(0.0f)); + set(new ContrastTransformation(0.0f)); } public void load(KeyValueMap store) { @@ -278,6 +280,7 @@ public class PixelTransformationBundle { set(new TintTransformation(store.get_float("tint", 0.0f))); set(new SaturationTransformation(store.get_float("saturation", 0.0f))); set(new ExposureTransformation(store.get_float("exposure", 0.0f))); + set(new ContrastTransformation(store.get_float("contrast", 0.0f))); } public KeyValueMap save(string group) { @@ -318,6 +321,11 @@ public class PixelTransformationBundle { assert(new_exposure_trans != null); store.set_float("exposure", new_exposure_trans.get_parameter()); + ContrastTransformation? new_contrast_trans = + (ContrastTransformation) get_transformation(PixelTransformationType.CONTRAST); + assert(new_contrast_trans != null); + store.set_float("contrast", new_contrast_trans.get_parameter()); + return store; } @@ -728,6 +736,42 @@ public class ExposureTransformation : RGBTransformation { } } +public class ContrastTransformation : RGBTransformation { + public const float MIN_PARAMETER = -16.0f; + public const float MAX_PARAMETER = 16.0f; + + const float MAX_CONTRAST_ADJUSTMENT = 0.5f; // must be less than 1.0 + + float parameter; + + public ContrastTransformation(float client_parameter) { + base(PixelTransformationType.CONTRAST); + + parameter = client_parameter.clamp(MIN_PARAMETER, MAX_PARAMETER); + + if (parameter != 0.0f) { + + float contrast_adjustment = (parameter / 16.0f) * MAX_CONTRAST_ADJUSTMENT; + float component_coefficient = 1.0f + contrast_adjustment; + float component_offset = contrast_adjustment / -2.0f; + + matrix_entries[0] = component_coefficient; + matrix_entries[5] = component_coefficient; + matrix_entries[10] = component_coefficient; + + matrix_entries[3] = component_offset; + matrix_entries[7] = component_offset; + matrix_entries[11] = component_offset; + + identity = false; + } + } + + public float get_parameter() { + return parameter; + } +} + public class PixelTransformer { private Gee.ArrayList<PixelTransformation> transformations = new Gee.ArrayList<PixelTransformation>(); @@ -1511,6 +1555,7 @@ public PixelTransformationBundle create_auto_enhance_adjustments(Gdk.Pixbuf pixb adjustments.set(new TemperatureTransformation(0.0f)); adjustments.set(new TintTransformation(0.0f)); adjustments.set(new ExposureTransformation(0.0f)); + adjustments.set(new ContrastTransformation(0.0f)); adjustments.set(new SaturationTransformation(0.0f)); return adjustments; diff --git a/src/Commands.c b/src/Commands.c index 1e59698..8005488 100644 --- a/src/Commands.c +++ b/src/Commands.c @@ -2277,7 +2277,7 @@ enum { EnhanceSingleCommand* enhance_single_command_new (Photo* photo); EnhanceSingleCommand* enhance_single_command_construct (GType object_type, Photo* photo); #define RESOURCES_ENHANCE_LABEL _ ("Enhance") -#define RESOURCES_ENHANCE_TOOLTIP _ ("Automatically improve the photo's appearance") +#define RESOURCES_ENHANCE_TOOLTIP _ ("Automatically improve the photo’s appearance") static void enhance_single_command_real_execute_on_photo (GenericPhotoTransformationCommand* base, Photo* photo); gboolean photo_enhance (Photo* self); static gboolean enhance_single_command_real_compress (Command* base, Command* command); @@ -5446,7 +5446,7 @@ static void multiple_data_source_at_once_command_real_execute (Command* base) { #line 448 "/home/jens/Source/shotwell/src/Commands.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 5449 "Commands.c" - goto __catch444_database_error; + goto __catch457_database_error; } { AppWindow* _tmp7_ = NULL; @@ -5470,8 +5470,8 @@ static void multiple_data_source_at_once_command_real_execute (Command* base) { #line 5471 "Commands.c" } } - goto __finally444; - __catch444_database_error: + goto __finally457; + __catch457_database_error: { GError* err = NULL; GError* _tmp9_ = NULL; @@ -5487,7 +5487,7 @@ static void multiple_data_source_at_once_command_real_execute (Command* base) { _g_error_free0 (err); #line 5489 "Commands.c" } - __finally444: + __finally457: { AppWindow* _tmp10_ = NULL; AppWindow* _tmp11_ = NULL; @@ -5583,7 +5583,7 @@ static void multiple_data_source_at_once_command_real_undo (Command* base) { #line 468 "/home/jens/Source/shotwell/src/Commands.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 5586 "Commands.c" - goto __catch445_database_error; + goto __catch458_database_error; } { AppWindow* _tmp7_ = NULL; @@ -5607,8 +5607,8 @@ static void multiple_data_source_at_once_command_real_undo (Command* base) { #line 5608 "Commands.c" } } - goto __finally445; - __catch445_database_error: + goto __finally458; + __catch458_database_error: { GError* err = NULL; GError* _tmp9_ = NULL; @@ -5624,7 +5624,7 @@ static void multiple_data_source_at_once_command_real_undo (Command* base) { _g_error_free0 (err); #line 5626 "Commands.c" } - __finally445: + __finally458: { AppWindow* _tmp10_ = NULL; AppWindow* _tmp11_ = NULL; @@ -10094,7 +10094,7 @@ static void duplicate_multiple_photos_command_real_execute_on_source (MultipleDa #line 1118 "/home/jens/Source/shotwell/src/Commands.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 10097 "Commands.c" - goto __catch446_g_error; + goto __catch459_g_error; } #line 1119 "/home/jens/Source/shotwell/src/Commands.vala" _tmp3_ = self->priv->dupes; @@ -10104,8 +10104,8 @@ static void duplicate_multiple_photos_command_real_execute_on_source (MultipleDa _g_object_unref0 (dupe); #line 10106 "Commands.c" } - goto __finally446; - __catch446_g_error: + goto __finally459; + __catch459_g_error: { GError* err = NULL; GFile* _tmp4_ = NULL; @@ -10145,7 +10145,7 @@ static void duplicate_multiple_photos_command_real_execute_on_source (MultipleDa _g_error_free0 (err); #line 10147 "Commands.c" } - __finally446: + __finally459: #line 1117 "/home/jens/Source/shotwell/src/Commands.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1117 "/home/jens/Source/shotwell/src/Commands.vala" @@ -11543,11 +11543,11 @@ static void adjust_date_time_photo_command_set_time (AdjustDateTimePhotoCommand* #line 1345 "/home/jens/Source/shotwell/src/Commands.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 11546 "Commands.c" - goto __catch447_g_error; + goto __catch460_g_error; } } - goto __finally447; - __catch447_g_error: + goto __finally460; + __catch460_g_error: { GError* err = NULL; const gchar* _tmp5_ = NULL; @@ -11563,7 +11563,7 @@ static void adjust_date_time_photo_command_set_time (AdjustDateTimePhotoCommand* _g_error_free0 (err); #line 11565 "Commands.c" } - __finally447: + __finally460: #line 1344 "/home/jens/Source/shotwell/src/Commands.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1344 "/home/jens/Source/shotwell/src/Commands.vala" @@ -12149,11 +12149,11 @@ static void adjust_date_time_photos_command_set_time (AdjustDateTimePhotosComman #line 1435 "/home/jens/Source/shotwell/src/Commands.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 12152 "Commands.c" - goto __catch448_g_error; + goto __catch461_g_error; } } - goto __finally448; - __catch448_g_error: + goto __finally461; + __catch461_g_error: { GError* err = NULL; GeeArrayList* _tmp5_ = NULL; @@ -12172,7 +12172,7 @@ static void adjust_date_time_photos_command_set_time (AdjustDateTimePhotosComman _g_error_free0 (err); #line 12174 "Commands.c" } - __finally448: + __finally461: #line 1434 "/home/jens/Source/shotwell/src/Commands.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1434 "/home/jens/Source/shotwell/src/Commands.vala" @@ -14262,7 +14262,7 @@ ReparentTagCommand* reparent_tag_command_construct (GType object_type, Tag* tag, #line 1694 "/home/jens/Source/shotwell/src/Commands.vala" g_return_val_if_fail (new_parent_path != NULL, NULL); #line 1695 "/home/jens/Source/shotwell/src/Commands.vala" - _tmp0_ = _ ("Move Tag \"%s\""); + _tmp0_ = _ ("Move Tag “%s”"); #line 1695 "/home/jens/Source/shotwell/src/Commands.vala" _tmp1_ = tag; #line 1695 "/home/jens/Source/shotwell/src/Commands.vala" @@ -14608,7 +14608,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 14611 "Commands.c" - goto __catch449_g_regex_error; + goto __catch462_g_regex_error; } #line 1382 "/usr/share/vala-0.34/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); @@ -14633,7 +14633,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 14636 "Commands.c" - goto __catch449_g_regex_error; + goto __catch462_g_regex_error; } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); @@ -14659,8 +14659,8 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* return result; #line 14661 "Commands.c" } - goto __finally449; - __catch449_g_regex_error: + goto __finally462; + __catch462_g_regex_error: { GError* e = NULL; #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -14673,7 +14673,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_error_free0 (e); #line 14675 "Commands.c" } - __finally449: + __finally462: #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" diff --git a/src/Commands.vala b/src/Commands.vala index d922c7d..73e6c8d 100644 --- a/src/Commands.vala +++ b/src/Commands.vala @@ -1692,7 +1692,7 @@ public class ReparentTagCommand : PageCommand { bool to_path_exists = false; public ReparentTagCommand(Tag tag, string new_parent_path) { - base (_("Move Tag \"%s\"").printf(tag.get_user_visible_name()), ""); + base (_("Move Tag “%s”").printf(tag.get_user_visible_name()), ""); this.from_path = tag.get_path(); diff --git a/src/Debug.c b/src/Debug.c index afacca4..253bd51 100644 --- a/src/Debug.c +++ b/src/Debug.c @@ -198,7 +198,7 @@ void debug_init (const gchar* app_version_prefix) { #line 42 "/home/jens/Source/shotwell/src/Debug.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 201 "Debug.c" - goto __catch421_g_error; + goto __catch434_g_error; } #line 42 "/home/jens/Source/shotwell/src/Debug.vala" if (!_tmp13_) { @@ -225,8 +225,8 @@ void debug_init (const gchar* app_version_prefix) { } } } - goto __finally421; - __catch421_g_error: + goto __finally434; + __catch434_g_error: { GError* err = NULL; GError* _tmp20_ = NULL; @@ -250,7 +250,7 @@ void debug_init (const gchar* app_version_prefix) { _g_error_free0 (err); #line 252 "Debug.c" } - __finally421: + __finally434: #line 40 "/home/jens/Source/shotwell/src/Debug.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 40 "/home/jens/Source/shotwell/src/Debug.vala" diff --git a/src/DesktopIntegration.c b/src/DesktopIntegration.c index 26190e3..1b5019f 100644 --- a/src/DesktopIntegration.c +++ b/src/DesktopIntegration.c @@ -1173,7 +1173,7 @@ void desktop_integration_files_send_to (GFile** files, int files_length1) { #line 110 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1176 "DesktopIntegration.c" - goto __catch554_g_error; + goto __catch567_g_error; } #line 118 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp21_ = app_window_get_instance (); @@ -1185,8 +1185,8 @@ void desktop_integration_files_send_to (GFile** files, int files_length1) { _g_object_unref0 (_tmp22_); #line 1187 "DesktopIntegration.c" } - goto __finally554; - __catch554_g_error: + goto __finally567; + __catch567_g_error: { GError* err = NULL; AppWindow* _tmp23_ = NULL; @@ -1226,7 +1226,7 @@ void desktop_integration_files_send_to (GFile** files, int files_length1) { _g_error_free0 (err); #line 1228 "DesktopIntegration.c" } - __finally554: + __finally567: #line 106 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 106 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -1568,11 +1568,11 @@ void desktop_integration_set_background (Photo* photo, gboolean desktop, gboolea #line 172 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1571 "DesktopIntegration.c" - goto __catch555_g_error; + goto __catch568_g_error; } } - goto __finally555; - __catch555_g_error: + goto __finally568; + __catch568_g_error: { GError* err = NULL; const gchar* _tmp27_ = NULL; @@ -1617,7 +1617,7 @@ void desktop_integration_set_background (Photo* photo, gboolean desktop, gboolea return; #line 1619 "DesktopIntegration.c" } - __finally555: + __finally568: #line 171 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 171 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2588,11 +2588,11 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl #line 278 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2591 "DesktopIntegration.c" - goto __catch556_g_error; + goto __catch569_g_error; } } - goto __finally556; - __catch556_g_error: + goto __finally569; + __catch569_g_error: { GError* err = NULL; GError* _tmp8_ = NULL; @@ -2612,7 +2612,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl _g_error_free0 (err); #line 2613 "DesktopIntegration.c" } - __finally556: + __finally569: #line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2747,7 +2747,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo #line 304 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2749 "DesktopIntegration.c" - goto __catch557_g_error; + goto __catch570_g_error; } #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp10_ = exporter; @@ -2789,7 +2789,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo #line 307 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" file_collection = (_vala_array_free (file_collection, file_collection_length1, (GDestroyNotify) g_object_unref), NULL); #line 2791 "DesktopIntegration.c" - goto __catch557_g_error; + goto __catch570_g_error; } #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (file); @@ -2809,7 +2809,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo #line 309 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2811 "DesktopIntegration.c" - goto __catch557_g_error; + goto __catch570_g_error; } #line 309 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp19_ = _tmp16_; @@ -2823,8 +2823,8 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo _g_object_unref0 (_tmp16_); #line 2824 "DesktopIntegration.c" } - goto __finally557; - __catch557_g_error: + goto __finally570; + __catch570_g_error: { GError* err = NULL; const gchar* _tmp20_ = NULL; @@ -2860,7 +2860,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo return; #line 2861 "DesktopIntegration.c" } - __finally557: + __finally570: #line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" diff --git a/src/Dialogs.c b/src/Dialogs.c index 7f02943..0820882 100644 --- a/src/Dialogs.c +++ b/src/Dialogs.c @@ -17,9 +17,9 @@ #include <gtk/gtk.h> #include <gio/gio.h> #include <gee.h> +#include <gdk/gdk.h> #include <float.h> #include <math.h> -#include <gdk/gdk.h> #include <time.h> #include <gdk-pixbuf/gdk-pixbuf.h> #include <gobject/gvaluecollector.h> @@ -149,6 +149,26 @@ typedef struct _ExportDialogPrivate ExportDialogPrivate; #define JPEG_TYPE_QUALITY (jpeg_quality_get_type ()) typedef struct _ExportFormatParameters ExportFormatParameters; +#define TYPE_CONFIGURATION_FACADE (configuration_facade_get_type ()) +#define CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacade)) +#define CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass)) +#define IS_CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONFIGURATION_FACADE)) +#define IS_CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CONFIGURATION_FACADE)) +#define CONFIGURATION_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass)) + +typedef struct _ConfigurationFacade ConfigurationFacade; +typedef struct _ConfigurationFacadeClass ConfigurationFacadeClass; + +#define CONFIG_TYPE_FACADE (config_facade_get_type ()) +#define CONFIG_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONFIG_TYPE_FACADE, ConfigFacade)) +#define CONFIG_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONFIG_TYPE_FACADE, ConfigFacadeClass)) +#define CONFIG_IS_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONFIG_TYPE_FACADE)) +#define CONFIG_IS_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONFIG_TYPE_FACADE)) +#define CONFIG_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONFIG_TYPE_FACADE, ConfigFacadeClass)) + +typedef struct _ConfigFacade ConfigFacade; +typedef struct _ConfigFacadeClass ConfigFacadeClass; + #define TYPE_PHOTO_FILE_FORMAT_PROPERTIES (photo_file_format_properties_get_type ()) #define PHOTO_FILE_FORMAT_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PHOTO_FILE_FORMAT_PROPERTIES, PhotoFileFormatProperties)) #define PHOTO_FILE_FORMAT_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PHOTO_FILE_FORMAT_PROPERTIES, PhotoFileFormatPropertiesClass)) @@ -375,26 +395,6 @@ typedef struct _AdjustDateTimeDialogPrivate AdjustDateTimeDialogPrivate; typedef struct _Dateable Dateable; typedef struct _DateableIface DateableIface; -#define TYPE_CONFIGURATION_FACADE (configuration_facade_get_type ()) -#define CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacade)) -#define CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass)) -#define IS_CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONFIGURATION_FACADE)) -#define IS_CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CONFIGURATION_FACADE)) -#define CONFIGURATION_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass)) - -typedef struct _ConfigurationFacade ConfigurationFacade; -typedef struct _ConfigurationFacadeClass ConfigurationFacadeClass; - -#define CONFIG_TYPE_FACADE (config_facade_get_type ()) -#define CONFIG_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONFIG_TYPE_FACADE, ConfigFacade)) -#define CONFIG_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONFIG_TYPE_FACADE, ConfigFacadeClass)) -#define CONFIG_IS_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONFIG_TYPE_FACADE)) -#define CONFIG_IS_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONFIG_TYPE_FACADE)) -#define CONFIG_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONFIG_TYPE_FACADE, ConfigFacadeClass)) - -typedef struct _ConfigFacade ConfigFacade; -typedef struct _ConfigFacadeClass ConfigFacadeClass; - #define TYPE_TAGS_DIALOG (tags_dialog_get_type ()) #define TAGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TAGS_DIALOG, TagsDialog)) #define TAGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TAGS_DIALOG, TagsDialogClass)) @@ -646,7 +646,7 @@ struct _ExportDialogPrivate { GtkComboBoxText* quality_combo; GtkComboBoxText* constraint_combo; GtkComboBoxText* format_combo; - GtkCheckButton* export_metadata; + GtkSwitch* export_metadata; GeeArrayList* format_options; GtkEntry* pixels_entry; GtkWidget* ok_button; @@ -1168,8 +1168,6 @@ AppWindow* app_window_get_instance (void); GFile* export_ui_choose_file (const gchar* current_file_basename); gboolean video_reader_is_supported_video_filename (const gchar* filename); #define RESOURCES_SAVE_LABEL _ ("_Save") -void suppress_warnings (const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message); -static void _suppress_warnings_glog_func (const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message, gpointer self); GFile* export_ui_choose_dir (const gchar* user_title); #define RESOURCES_OK_LABEL _ ("_OK") GType thumbnail_source_get_type (void) G_GNUC_CONST; @@ -1201,6 +1199,15 @@ void export_format_parameters_current (ExportFormatParameters* result); #define EXPORT_DIALOG_CURRENT_FORMAT_LABEL _ ("Current") ExportDialog* export_dialog_new (const gchar* title); ExportDialog* export_dialog_construct (GType object_type, const gchar* title); +GType configuration_facade_get_type (void) G_GNUC_CONST; +GType config_facade_get_type (void) G_GNUC_CONST; +ConfigFacade* config_facade_get_instance (void); +ExportFormatMode configuration_facade_get_export_export_format_mode (ConfigurationFacade* self); +PhotoFileFormat configuration_facade_get_export_photo_file_format (ConfigurationFacade* self); +JpegQuality configuration_facade_get_export_quality (ConfigurationFacade* self); +gboolean configuration_facade_get_export_export_metadata (ConfigurationFacade* self); +ScaleConstraint configuration_facade_get_export_constraint (ConfigurationFacade* self); +gint configuration_facade_get_export_scale (ConfigurationFacade* self); gchar* jpeg_quality_to_string (JpegQuality self); gchar* scale_constraint_to_string (ScaleConstraint self); static void export_dialog_format_add_option (ExportDialog* self, const gchar* format_name); @@ -1232,9 +1239,15 @@ static gchar* export_dialog_get_label_for_parameters (ExportDialog* self, Export gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint* constraint, ExportFormatParameters* parameters); gboolean photo_file_format_can_write (PhotoFileFormat self); PhotoFileFormat photo_file_format_get_system_default_format (void); +void configuration_facade_set_export_export_format_mode (ConfigurationFacade* self, ExportFormatMode export_format_mode); +void configuration_facade_set_export_photo_file_format (ConfigurationFacade* self, PhotoFileFormat photo_file_format); +void configuration_facade_set_export_quality (ConfigurationFacade* self, JpegQuality quality); +void configuration_facade_set_export_export_metadata (ConfigurationFacade* self, gboolean export_metadata); +void configuration_facade_set_export_constraint (ConfigurationFacade* self, ScaleConstraint constraint); +void configuration_facade_set_export_scale (ConfigurationFacade* self, gint scale); static void export_dialog_finalize (GObject* obj); #define IMPORT_UI_REPORT_FAILURE_COUNT 4 -#define IMPORT_UI_SAVE_RESULTS_BUTTON_NAME _ ("Save Details...") +#define IMPORT_UI_SAVE_RESULTS_BUTTON_NAME _ ("Save Details…") #define IMPORT_UI_SAVE_RESULTS_FILE_CHOOSER_TITLE _ ("Save Details") #define IMPORT_UI_SAVE_RESULTS_RESPONSE_ID 1024 gpointer batch_import_result_ref (gpointer instance); @@ -1469,9 +1482,6 @@ static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_day_selected ( static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_month_changed (GtkCalendar* _sender, gpointer self); static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_next_year (GtkCalendar* _sender, gpointer self); static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_prev_year (GtkCalendar* _sender, gpointer self); -GType configuration_facade_get_type (void) G_GNUC_CONST; -GType config_facade_get_type (void) G_GNUC_CONST; -ConfigFacade* config_facade_get_instance (void); gboolean configuration_facade_get_use_24_hour_time (ConfigurationFacade* self); static gboolean adjust_date_time_dialog_on_spin_button_output (AdjustDateTimeDialog* self, GtkSpinButton* button); static gboolean _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output (GtkSpinButton* _sender, gpointer self); @@ -1742,12 +1752,12 @@ gboolean dialogs_confirm_delete_tag (Tag* tag) { result = TRUE; #line 14 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 1746 "Dialogs.c" +#line 1756 "Dialogs.c" } #line 15 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = count; #line 15 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp4_ = ngettext ("This will remove the tag \"%s\" from one photo. Continue?", "This will remove the tag \"%s\" from %d photos. Continue?", (gulong) _tmp3_); + _tmp4_ = ngettext ("This will remove the tag “%s” from one photo. Continue?", "This will remove the tag “%s” from %d photos. Continue?", (gulong) _tmp3_); #line 15 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = tag; #line 15 "/home/jens/Source/shotwell/src/Dialogs.vala" @@ -1778,7 +1788,7 @@ gboolean dialogs_confirm_delete_tag (Tag* tag) { _g_free0 (msg); #line 20 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 1782 "Dialogs.c" +#line 1792 "Dialogs.c" } @@ -1797,7 +1807,7 @@ gboolean dialogs_confirm_delete_saved_search (SavedSearch* search) { #line 24 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_SAVED_SEARCH (search), FALSE); #line 25 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp0_ = _ ("This will remove the saved search \"%s\". Continue?"); + _tmp0_ = _ ("This will remove the saved search “%s”. Continue?"); #line 25 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = search; #line 25 "/home/jens/Source/shotwell/src/Dialogs.vala" @@ -1824,7 +1834,7 @@ gboolean dialogs_confirm_delete_saved_search (SavedSearch* search) { _g_free0 (msg); #line 28 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 1828 "Dialogs.c" +#line 1838 "Dialogs.c" } @@ -1878,14 +1888,7 @@ gboolean dialogs_confirm_warn_developer_changed (gint number) { _g_object_unref0 (dialog); #line 46 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 1880 "Dialogs.c" -} - - -static void _suppress_warnings_glog_func (const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message, gpointer self) { -#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala" - suppress_warnings (log_domain, log_levels, message); -#line 1887 "Dialogs.c" +#line 1890 "Dialogs.c" } @@ -1914,16 +1917,14 @@ GFile* export_ui_choose_file (const gchar* current_file_basename) { GFile* file = NULL; GtkFileChooserDialog* _tmp22_ = NULL; gint _tmp23_ = 0; - GLogFunc _tmp30_ = NULL; - void* _tmp30__target = NULL; - GtkFileChooserDialog* _tmp31_ = NULL; + GtkFileChooserDialog* _tmp30_ = NULL; #line 54 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (current_file_basename != NULL, NULL); #line 55 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = export_ui_current_export_dir; #line 55 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_ == NULL) { -#line 1925 "Dialogs.c" +#line 1926 "Dialogs.c" const gchar* _tmp1_ = NULL; GFile* _tmp2_ = NULL; #line 56 "/home/jens/Source/shotwell/src/Dialogs.vala" @@ -1934,7 +1935,7 @@ GFile* export_ui_choose_file (const gchar* current_file_basename) { _g_object_unref0 (export_ui_current_export_dir); #line 56 "/home/jens/Source/shotwell/src/Dialogs.vala" export_ui_current_export_dir = _tmp2_; -#line 1936 "Dialogs.c" +#line 1937 "Dialogs.c" } #line 58 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = current_file_basename; @@ -1942,20 +1943,20 @@ GFile* export_ui_choose_file (const gchar* current_file_basename) { _tmp5_ = video_reader_is_supported_video_filename (_tmp4_); #line 58 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp5_) { -#line 1944 "Dialogs.c" +#line 1945 "Dialogs.c" const gchar* _tmp6_ = NULL; #line 59 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _ ("Export Video"); #line 59 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp6_; -#line 1950 "Dialogs.c" +#line 1951 "Dialogs.c" } else { const gchar* _tmp7_ = NULL; #line 59 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _ ("Export Photo"); #line 59 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp7_; -#line 1957 "Dialogs.c" +#line 1958 "Dialogs.c" } #line 58 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = g_strdup (_tmp3_); @@ -2003,73 +2004,65 @@ GFile* export_ui_choose_file (const gchar* current_file_basename) { _tmp21_ = chooser; #line 67 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_file_chooser_set_local_only (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), FALSE); -#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_log_set_handler ("Gtk", G_LOG_LEVEL_WARNING, _suppress_warnings_glog_func, NULL); -#line 72 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 69 "/home/jens/Source/shotwell/src/Dialogs.vala" file = NULL; -#line 73 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 70 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = chooser; -#line 73 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 70 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_dialog_get_type (), GtkDialog)); -#line 73 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 70 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp23_ == ((gint) GTK_RESPONSE_ACCEPT)) { -#line 2015 "Dialogs.c" +#line 2014 "Dialogs.c" GtkFileChooserDialog* _tmp24_ = NULL; gchar* _tmp25_ = NULL; gchar* _tmp26_ = NULL; GFile* _tmp27_ = NULL; GFile* _tmp28_ = NULL; GFile* _tmp29_ = NULL; -#line 74 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = chooser; -#line 74 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = gtk_file_chooser_get_filename (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser)); -#line 74 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = _tmp25_; -#line 74 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = g_file_new_for_path (_tmp26_); -#line 74 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (file); -#line 74 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala" file = _tmp27_; -#line 74 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 71 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp26_); -#line 75 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 72 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = file; -#line 75 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 72 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = g_file_get_parent (_tmp28_); -#line 75 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 72 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (export_ui_current_export_dir); -#line 75 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 72 "/home/jens/Source/shotwell/src/Dialogs.vala" export_ui_current_export_dir = _tmp29_; -#line 2044 "Dialogs.c" - } -#line 77 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp30_ = g_log_default_handler; -#line 77 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp30__target = NULL; -#line 77 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_log_set_handler ("Gtk", G_LOG_LEVEL_WARNING, _tmp30_, _tmp30__target); -#line 78 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp31_ = chooser; -#line 78 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_widget_get_type (), GtkWidget)); -#line 80 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2043 "Dialogs.c" + } +#line 74 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp30_ = chooser; +#line 74 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_widget_get_type (), GtkWidget)); +#line 76 "/home/jens/Source/shotwell/src/Dialogs.vala" result = file; -#line 80 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 76 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (chooser); -#line 80 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 76 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (file_chooser_title); -#line 80 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 76 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 2064 "Dialogs.c" +#line 2057 "Dialogs.c" } static gpointer _g_object_ref0 (gpointer self) { -#line 99 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 95 "/home/jens/Source/shotwell/src/Dialogs.vala" return self ? g_object_ref (self) : NULL; -#line 2071 "Dialogs.c" +#line 2064 "Dialogs.c" } @@ -2092,143 +2085,143 @@ GFile* export_ui_choose_dir (const gchar* user_title) { GtkFileChooserDialog* _tmp15_ = NULL; gint _tmp16_ = 0; GtkFileChooserDialog* _tmp23_ = NULL; -#line 84 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 80 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = export_ui_current_export_dir; -#line 84 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 80 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_ == NULL) { -#line 2098 "Dialogs.c" +#line 2091 "Dialogs.c" const gchar* _tmp1_ = NULL; GFile* _tmp2_ = NULL; -#line 85 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 81 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = g_get_home_dir (); -#line 85 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 81 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = g_file_new_for_path (_tmp1_); -#line 85 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 81 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (export_ui_current_export_dir); -#line 85 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 81 "/home/jens/Source/shotwell/src/Dialogs.vala" export_ui_current_export_dir = _tmp2_; -#line 2109 "Dialogs.c" +#line 2102 "Dialogs.c" } -#line 87 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 83 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = user_title; -#line 87 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 83 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp3_ == NULL) { -#line 2115 "Dialogs.c" +#line 2108 "Dialogs.c" const gchar* _tmp4_ = NULL; -#line 88 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 84 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _ ("Export Photos"); -#line 88 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 84 "/home/jens/Source/shotwell/src/Dialogs.vala" user_title = _tmp4_; -#line 2121 "Dialogs.c" +#line 2114 "Dialogs.c" } -#line 90 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = user_title; -#line 90 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = app_window_get_instance (); -#line 90 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _tmp6_; -#line 90 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (_tmp5_, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_window_get_type (), GtkWindow), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, RESOURCES_CANCEL_LABEL, GTK_RESPONSE_CANCEL, RESOURCES_OK_LABEL, GTK_RESPONSE_ACCEPT, NULL, NULL); -#line 90 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp8_); -#line 90 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _tmp8_; -#line 90 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp7_); -#line 90 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala" chooser = _tmp9_; -#line 93 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 89 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = chooser; -#line 93 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 89 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = export_ui_current_export_dir; -#line 93 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 89 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = g_file_get_path (_tmp11_); -#line 93 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 89 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = _tmp12_; -#line 93 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 89 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_file_chooser_set_current_folder (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), _tmp13_); -#line 93 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 89 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp13_); -#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 90 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = chooser; -#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 90 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_file_chooser_set_local_only (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), FALSE); -#line 96 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 92 "/home/jens/Source/shotwell/src/Dialogs.vala" dir = NULL; -#line 97 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 93 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = chooser; -#line 97 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 93 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_dialog_get_type (), GtkDialog)); -#line 97 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 93 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp16_ == ((gint) GTK_RESPONSE_ACCEPT)) { -#line 2163 "Dialogs.c" +#line 2156 "Dialogs.c" GtkFileChooserDialog* _tmp17_ = NULL; gchar* _tmp18_ = NULL; gchar* _tmp19_ = NULL; GFile* _tmp20_ = NULL; GFile* _tmp21_ = NULL; GFile* _tmp22_ = NULL; -#line 98 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = chooser; -#line 98 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = gtk_file_chooser_get_filename (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser)); -#line 98 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = _tmp18_; -#line 98 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = g_file_new_for_path (_tmp19_); -#line 98 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (dir); -#line 98 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala" dir = _tmp20_; -#line 98 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 94 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp19_); -#line 99 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 95 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = dir; -#line 99 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 95 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = _g_object_ref0 (_tmp21_); -#line 99 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 95 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (export_ui_current_export_dir); -#line 99 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 95 "/home/jens/Source/shotwell/src/Dialogs.vala" export_ui_current_export_dir = _tmp22_; -#line 2192 "Dialogs.c" +#line 2185 "Dialogs.c" } -#line 102 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 98 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = chooser; -#line 102 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 98 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget)); -#line 104 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 100 "/home/jens/Source/shotwell/src/Dialogs.vala" result = dir; -#line 104 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 100 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (chooser); -#line 104 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 100 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 2204 "Dialogs.c" +#line 2197 "Dialogs.c" } void open_external_editor_error_dialog (GError* err, Photo* photo) { gboolean _tmp0_ = FALSE; GError* _tmp1_ = NULL; -#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 107 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PHOTO (photo)); -#line 113 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = err; -#line 113 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala" if (g_error_matches (_tmp1_, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED)) { -#line 113 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = TRUE; -#line 2219 "Dialogs.c" +#line 2212 "Dialogs.c" } else { GError* _tmp2_ = NULL; -#line 113 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = err; -#line 113 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = g_error_matches (_tmp2_, G_FILE_ERROR, G_FILE_ERROR_PERM); -#line 2226 "Dialogs.c" +#line 2219 "Dialogs.c" } -#line 113 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_) { -#line 2230 "Dialogs.c" +#line 2223 "Dialogs.c" const gchar* _tmp3_ = NULL; Photo* _tmp4_ = NULL; GFile* _tmp5_ = NULL; @@ -2239,53 +2232,53 @@ void open_external_editor_error_dialog (GError* err, Photo* photo) { gchar* _tmp10_ = NULL; gchar* _tmp11_ = NULL; gchar* _tmp12_ = NULL; -#line 115 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp3_ = _ ("Shotwell couldn't create a file for editing this photo because you do " \ +#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp3_ = _ ("Shotwell couldn’t create a file for editing this photo because you do " \ "not have permission to write to %s."); -#line 115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = photo; -#line 115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = media_source_get_master_file (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_MEDIA_SOURCE, MediaSource)); -#line 115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _tmp5_; -#line 115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = g_file_get_parent (_tmp6_); -#line 115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _tmp7_; -#line 115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = g_file_get_path (_tmp8_); -#line 115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp9_; -#line 115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = g_strdup_printf (_tmp3_, _tmp10_); -#line 115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = _tmp11_; -#line 115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" app_window_error_message (_tmp12_, NULL); -#line 115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp12_); -#line 115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp10_); -#line 115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp8_); -#line 115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp6_); -#line 2271 "Dialogs.c" +#line 2264 "Dialogs.c" } else { GError* _tmp13_ = NULL; gchar* _tmp14_ = NULL; gchar* _tmp15_ = NULL; -#line 120 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 116 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = err; -#line 120 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 116 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = resources_launch_editor_failed (_tmp13_); -#line 120 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 116 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = _tmp14_; -#line 120 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 116 "/home/jens/Source/shotwell/src/Dialogs.vala" app_window_error_message (_tmp15_, NULL); -#line 120 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 116 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp15_); -#line 2286 "Dialogs.c" +#line 2279 "Dialogs.c" } } @@ -2301,106 +2294,106 @@ GtkResponseType export_error_dialog (GFile* dest, gboolean photos_remaining) { gchar* _tmp5_ = NULL; GtkResponseType response = 0; gboolean _tmp6_ = FALSE; -#line 124 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 120 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (G_IS_FILE (dest), 0); -#line 125 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _ ("Unable to export the following photo due to a file error.\n\n"); -#line 125 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = dest; -#line 125 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = g_file_get_path (_tmp1_); -#line 125 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp2_; -#line 125 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = g_strconcat (_tmp0_, _tmp3_, NULL); -#line 125 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_; -#line 125 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp3_); -#line 125 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 121 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp5_; -#line 128 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 124 "/home/jens/Source/shotwell/src/Dialogs.vala" response = GTK_RESPONSE_NONE; -#line 130 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 126 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = photos_remaining; -#line 130 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 126 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp6_) { -#line 2326 "Dialogs.c" +#line 2319 "Dialogs.c" const gchar* _tmp7_ = NULL; const gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; const gchar* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; GtkResponseType _tmp12_ = 0; -#line 131 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 127 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = message; -#line 131 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 127 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _ ("\n\nWould you like to continue exporting?"); -#line 131 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 127 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = g_strconcat (_tmp7_, _tmp8_, NULL); -#line 131 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 127 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 131 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 127 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp9_; -#line 132 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 128 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = message; -#line 132 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 128 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = _ ("Con_tinue"); -#line 132 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 128 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = app_window_affirm_cancel_question (_tmp10_, _tmp11_, NULL, NULL); -#line 132 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 128 "/home/jens/Source/shotwell/src/Dialogs.vala" response = _tmp12_; -#line 2351 "Dialogs.c" +#line 2344 "Dialogs.c" } else { const gchar* _tmp13_ = NULL; -#line 134 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 130 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = message; -#line 134 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 130 "/home/jens/Source/shotwell/src/Dialogs.vala" app_window_error_message (_tmp13_, NULL); -#line 2358 "Dialogs.c" +#line 2351 "Dialogs.c" } -#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 133 "/home/jens/Source/shotwell/src/Dialogs.vala" result = response; -#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 133 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 133 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 2366 "Dialogs.c" +#line 2359 "Dialogs.c" } static void _export_dialog_on_constraint_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { -#line 209 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 214 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_on_constraint_changed ((ExportDialog*) self); -#line 2373 "Dialogs.c" +#line 2366 "Dialogs.c" } static void _export_dialog_on_format_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { -#line 210 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 215 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_on_format_changed ((ExportDialog*) self); -#line 2380 "Dialogs.c" +#line 2373 "Dialogs.c" } static void _export_dialog_on_pixels_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) { -#line 211 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 216 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_on_pixels_changed ((ExportDialog*) self); -#line 2387 "Dialogs.c" +#line 2380 "Dialogs.c" } static void _export_dialog_on_pixels_insert_text_gtk_editable_insert_text (GtkEditable* _sender, const gchar* new_text, gint new_text_length, gint* position, gpointer self) { -#line 212 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 217 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_on_pixels_insert_text ((ExportDialog*) self, new_text, new_text_length, position); -#line 2394 "Dialogs.c" +#line 2387 "Dialogs.c" } static void _export_dialog_on_activate_gtk_entry_activate (GtkEntry* _sender, gpointer self) { -#line 213 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 218 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_on_activate ((ExportDialog*) self); -#line 2401 "Dialogs.c" +#line 2394 "Dialogs.c" } @@ -2411,459 +2404,525 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) { gint _tmp1_ = 0; gboolean _tmp2_ = FALSE; const gchar* _tmp3_ = NULL; - GtkComboBoxText* _tmp4_ = NULL; + ConfigFacade* config = NULL; + ConfigFacade* _tmp4_ = NULL; + ConfigFacade* _tmp5_ = NULL; + ExportFormatMode _tmp6_ = 0; + ConfigFacade* _tmp7_ = NULL; + PhotoFileFormat _tmp8_ = 0; + ConfigFacade* _tmp9_ = NULL; + JpegQuality _tmp10_ = 0; + ConfigFacade* _tmp11_ = NULL; + gboolean _tmp12_ = FALSE; + ConfigFacade* _tmp13_ = NULL; + ScaleConstraint _tmp14_ = 0; + ConfigFacade* _tmp15_ = NULL; + gint _tmp16_ = 0; + GtkComboBoxText* _tmp17_ = NULL; gint ctr = 0; - GtkComboBoxText* _tmp15_ = NULL; - GtkComboBoxText* _tmp25_ = NULL; - gint _tmp26_ = 0; - PhotoFileFormat* _tmp27_ = NULL; - GtkEntry* _tmp33_ = NULL; - GtkEntry* _tmp34_ = NULL; - GtkEntry* _tmp35_ = NULL; - gint _tmp36_ = 0; - gchar* _tmp37_ = NULL; - gchar* _tmp38_ = NULL; - GtkComboBoxText* _tmp39_ = NULL; - GtkComboBoxText* _tmp40_ = NULL; - GtkEntry* _tmp41_ = NULL; - GtkEntry* _tmp42_ = NULL; - GtkEntry* _tmp43_ = NULL; - const gchar* _tmp44_ = NULL; - GtkComboBoxText* _tmp45_ = NULL; - GtkComboBoxText* _tmp46_ = NULL; - const gchar* _tmp47_ = NULL; - GtkComboBoxText* _tmp48_ = NULL; - GtkComboBoxText* _tmp49_ = NULL; - const gchar* _tmp50_ = NULL; - GtkComboBoxText* _tmp51_ = NULL; + GtkComboBoxText* _tmp28_ = NULL; + GtkComboBoxText* _tmp38_ = NULL; + gint _tmp39_ = 0; + PhotoFileFormat* _tmp40_ = NULL; + GtkEntry* _tmp46_ = NULL; + GtkEntry* _tmp47_ = NULL; + GtkEntry* _tmp48_ = NULL; + gint _tmp49_ = 0; + gchar* _tmp50_ = NULL; + gchar* _tmp51_ = NULL; GtkComboBoxText* _tmp52_ = NULL; - const gchar* _tmp53_ = NULL; + GtkComboBoxText* _tmp53_ = NULL; GtkEntry* _tmp54_ = NULL; GtkEntry* _tmp55_ = NULL; - const gchar* _tmp56_ = NULL; - GtkCheckButton* _tmp57_ = NULL; - GtkCheckButton* _tmp58_ = NULL; - GtkCheckButton* _tmp59_ = NULL; - GtkGrid* _tmp60_ = NULL; - GtkGrid* _tmp61_ = NULL; - GtkGrid* _tmp62_ = NULL; - GtkBox* _tmp63_ = NULL; - GtkGrid* _tmp64_ = NULL; - GtkWidget* _tmp65_ = NULL; - GtkWidget* _tmp66_ = NULL; - GtkWidget* _tmp67_ = NULL; - GtkWidget* _tmp68_ = NULL; - GtkWidget* _tmp69_ = NULL; - ScaleConstraint _tmp70_ = 0; - GtkWidget* _tmp73_ = NULL; -#line 171 "/home/jens/Source/shotwell/src/Dialogs.vala" + GtkEntry* _tmp56_ = NULL; + const gchar* _tmp57_ = NULL; + GtkComboBoxText* _tmp58_ = NULL; + GtkComboBoxText* _tmp59_ = NULL; + const gchar* _tmp60_ = NULL; + GtkComboBoxText* _tmp61_ = NULL; + GtkComboBoxText* _tmp62_ = NULL; + const gchar* _tmp63_ = NULL; + GtkComboBoxText* _tmp64_ = NULL; + GtkComboBoxText* _tmp65_ = NULL; + const gchar* _tmp66_ = NULL; + GtkEntry* _tmp67_ = NULL; + GtkEntry* _tmp68_ = NULL; + GtkSwitch* _tmp69_ = NULL; + const gchar* _tmp70_ = NULL; + GtkSwitch* _tmp71_ = NULL; + GtkSwitch* _tmp72_ = NULL; + GtkSwitch* _tmp73_ = NULL; + GtkSwitch* _tmp74_ = NULL; + GtkGrid* _tmp75_ = NULL; + GtkGrid* _tmp76_ = NULL; + GtkGrid* _tmp77_ = NULL; + GtkBox* _tmp78_ = NULL; + GtkGrid* _tmp79_ = NULL; + GtkWidget* _tmp80_ = NULL; + GtkWidget* _tmp81_ = NULL; + GtkWidget* _tmp82_ = NULL; + GtkWidget* _tmp83_ = NULL; + GtkWidget* _tmp84_ = NULL; + ScaleConstraint _tmp85_ = 0; + GtkWidget* _tmp88_ = NULL; +#line 167 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (title != NULL, NULL); -#line 173 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 169 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = gtk_settings_get_default (); -#line 173 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 169 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL); -#line 174 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 170 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = use_header; -#line 174 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 170 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp2_) { -#line 174 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 170 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = 1; -#line 2469 "Dialogs.c" +#line 2478 "Dialogs.c" } else { -#line 174 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 170 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = 0; -#line 2473 "Dialogs.c" +#line 2482 "Dialogs.c" } -#line 174 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 170 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (ExportDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL); -#line 176 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 172 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = title; -#line 176 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 172 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp3_); -#line 177 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 173 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE); +#line 176 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp4_ = config_facade_get_instance (); +#line 176 "/home/jens/Source/shotwell/src/Dialogs.vala" + config = _tmp4_; +#line 177 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp5_ = config; +#line 177 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp6_ = configuration_facade_get_export_export_format_mode (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); +#line 177 "/home/jens/Source/shotwell/src/Dialogs.vala" + export_dialog_current_parameters.mode = _tmp6_; +#line 178 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp7_ = config; +#line 178 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp8_ = configuration_facade_get_export_photo_file_format (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); +#line 178 "/home/jens/Source/shotwell/src/Dialogs.vala" + export_dialog_current_parameters.specified_format = _tmp8_; #line 179 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp4_ = (GtkComboBoxText*) gtk_combo_box_text_new (); -#line 179 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_object_ref_sink (_tmp4_); + _tmp9_ = config; #line 179 "/home/jens/Source/shotwell/src/Dialogs.vala" - _g_object_unref0 (self->priv->quality_combo); + _tmp10_ = configuration_facade_get_export_quality (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); #line 179 "/home/jens/Source/shotwell/src/Dialogs.vala" - self->priv->quality_combo = _tmp4_; + export_dialog_current_parameters.quality = _tmp10_; #line 180 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp11_ = config; +#line 180 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp12_ = configuration_facade_get_export_export_metadata (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); +#line 180 "/home/jens/Source/shotwell/src/Dialogs.vala" + export_dialog_current_parameters.export_metadata = _tmp12_; +#line 181 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp13_ = config; +#line 181 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp14_ = configuration_facade_get_export_constraint (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); +#line 181 "/home/jens/Source/shotwell/src/Dialogs.vala" + export_dialog_current_constraint = _tmp14_; +#line 182 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp15_ = config; +#line 182 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp16_ = configuration_facade_get_export_scale (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); +#line 182 "/home/jens/Source/shotwell/src/Dialogs.vala" + export_dialog_current_scale = _tmp16_; +#line 184 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp17_ = (GtkComboBoxText*) gtk_combo_box_text_new (); +#line 184 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_object_ref_sink (_tmp17_); +#line 184 "/home/jens/Source/shotwell/src/Dialogs.vala" + _g_object_unref0 (self->priv->quality_combo); +#line 184 "/home/jens/Source/shotwell/src/Dialogs.vala" + self->priv->quality_combo = _tmp17_; +#line 185 "/home/jens/Source/shotwell/src/Dialogs.vala" ctr = 0; -#line 2493 "Dialogs.c" +#line 2542 "Dialogs.c" { JpegQuality* quality_collection = NULL; gint quality_collection_length1 = 0; gint _quality_collection_size_ = 0; gint quality_it = 0; -#line 181 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 186 "/home/jens/Source/shotwell/src/Dialogs.vala" quality_collection = EXPORT_DIALOG_QUALITY_ARRAY; -#line 181 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 186 "/home/jens/Source/shotwell/src/Dialogs.vala" quality_collection_length1 = G_N_ELEMENTS (EXPORT_DIALOG_QUALITY_ARRAY); -#line 181 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 186 "/home/jens/Source/shotwell/src/Dialogs.vala" for (quality_it = 0; quality_it < G_N_ELEMENTS (EXPORT_DIALOG_QUALITY_ARRAY); quality_it = quality_it + 1) { -#line 2505 "Dialogs.c" +#line 2554 "Dialogs.c" JpegQuality quality = 0; -#line 181 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 186 "/home/jens/Source/shotwell/src/Dialogs.vala" quality = quality_collection[quality_it]; -#line 2509 "Dialogs.c" +#line 2558 "Dialogs.c" { - GtkComboBoxText* _tmp5_ = NULL; - JpegQuality _tmp6_ = 0; - gchar* _tmp7_ = NULL; - gchar* _tmp8_ = NULL; - JpegQuality _tmp9_ = 0; - ExportFormatParameters _tmp10_ = {0}; - JpegQuality _tmp11_ = 0; - gint _tmp14_ = 0; -#line 182 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp5_ = self->priv->quality_combo; -#line 182 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp6_ = quality; -#line 182 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp7_ = jpeg_quality_to_string (_tmp6_); -#line 182 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp8_ = _tmp7_; -#line 182 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_combo_box_text_append_text (_tmp5_, _tmp8_); -#line 182 "/home/jens/Source/shotwell/src/Dialogs.vala" - _g_free0 (_tmp8_); -#line 183 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp9_ = quality; -#line 183 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp10_ = export_dialog_current_parameters; -#line 183 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp11_ = _tmp10_.quality; -#line 183 "/home/jens/Source/shotwell/src/Dialogs.vala" - if (_tmp9_ == _tmp11_) { -#line 2539 "Dialogs.c" - GtkComboBoxText* _tmp12_ = NULL; - gint _tmp13_ = 0; -#line 184 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp12_ = self->priv->quality_combo; -#line 184 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp13_ = ctr; -#line 184 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_combo_box_get_type (), GtkComboBox), _tmp13_); -#line 2548 "Dialogs.c" - } -#line 185 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp14_ = ctr; -#line 185 "/home/jens/Source/shotwell/src/Dialogs.vala" - ctr = _tmp14_ + 1; -#line 2554 "Dialogs.c" - } - } - } + GtkComboBoxText* _tmp18_ = NULL; + JpegQuality _tmp19_ = 0; + gchar* _tmp20_ = NULL; + gchar* _tmp21_ = NULL; + JpegQuality _tmp22_ = 0; + ExportFormatParameters _tmp23_ = {0}; + JpegQuality _tmp24_ = 0; + gint _tmp27_ = 0; +#line 187 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp18_ = self->priv->quality_combo; +#line 187 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp19_ = quality; +#line 187 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp20_ = jpeg_quality_to_string (_tmp19_); +#line 187 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp21_ = _tmp20_; +#line 187 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_combo_box_text_append_text (_tmp18_, _tmp21_); +#line 187 "/home/jens/Source/shotwell/src/Dialogs.vala" + _g_free0 (_tmp21_); #line 188 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp15_ = (GtkComboBoxText*) gtk_combo_box_text_new (); + _tmp22_ = quality; #line 188 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_object_ref_sink (_tmp15_); + _tmp23_ = export_dialog_current_parameters; #line 188 "/home/jens/Source/shotwell/src/Dialogs.vala" - _g_object_unref0 (self->priv->constraint_combo); + _tmp24_ = _tmp23_.quality; #line 188 "/home/jens/Source/shotwell/src/Dialogs.vala" - self->priv->constraint_combo = _tmp15_; + if (_tmp22_ == _tmp24_) { +#line 2588 "Dialogs.c" + GtkComboBoxText* _tmp25_ = NULL; + gint _tmp26_ = 0; +#line 189 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp25_ = self->priv->quality_combo; #line 189 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp26_ = ctr; +#line 189 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_combo_box_get_type (), GtkComboBox), _tmp26_); +#line 2597 "Dialogs.c" + } +#line 190 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp27_ = ctr; +#line 190 "/home/jens/Source/shotwell/src/Dialogs.vala" + ctr = _tmp27_ + 1; +#line 2603 "Dialogs.c" + } + } + } +#line 193 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp28_ = (GtkComboBoxText*) gtk_combo_box_text_new (); +#line 193 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_object_ref_sink (_tmp28_); +#line 193 "/home/jens/Source/shotwell/src/Dialogs.vala" + _g_object_unref0 (self->priv->constraint_combo); +#line 193 "/home/jens/Source/shotwell/src/Dialogs.vala" + self->priv->constraint_combo = _tmp28_; +#line 194 "/home/jens/Source/shotwell/src/Dialogs.vala" ctr = 0; -#line 2568 "Dialogs.c" +#line 2617 "Dialogs.c" { ScaleConstraint* constraint_collection = NULL; gint constraint_collection_length1 = 0; gint _constraint_collection_size_ = 0; gint constraint_it = 0; -#line 190 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 195 "/home/jens/Source/shotwell/src/Dialogs.vala" constraint_collection = EXPORT_DIALOG_CONSTRAINT_ARRAY; -#line 190 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 195 "/home/jens/Source/shotwell/src/Dialogs.vala" constraint_collection_length1 = G_N_ELEMENTS (EXPORT_DIALOG_CONSTRAINT_ARRAY); -#line 190 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 195 "/home/jens/Source/shotwell/src/Dialogs.vala" for (constraint_it = 0; constraint_it < G_N_ELEMENTS (EXPORT_DIALOG_CONSTRAINT_ARRAY); constraint_it = constraint_it + 1) { -#line 2580 "Dialogs.c" +#line 2629 "Dialogs.c" ScaleConstraint constraint = 0; -#line 190 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 195 "/home/jens/Source/shotwell/src/Dialogs.vala" constraint = constraint_collection[constraint_it]; -#line 2584 "Dialogs.c" +#line 2633 "Dialogs.c" { - GtkComboBoxText* _tmp16_ = NULL; - ScaleConstraint _tmp17_ = 0; - gchar* _tmp18_ = NULL; - gchar* _tmp19_ = NULL; - ScaleConstraint _tmp20_ = 0; - ScaleConstraint _tmp21_ = 0; - gint _tmp24_ = 0; -#line 191 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp16_ = self->priv->constraint_combo; -#line 191 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp17_ = constraint; -#line 191 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp18_ = scale_constraint_to_string (_tmp17_); -#line 191 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp19_ = _tmp18_; -#line 191 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_combo_box_text_append_text (_tmp16_, _tmp19_); -#line 191 "/home/jens/Source/shotwell/src/Dialogs.vala" - _g_free0 (_tmp19_); -#line 192 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp20_ = constraint; -#line 192 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp21_ = export_dialog_current_constraint; -#line 192 "/home/jens/Source/shotwell/src/Dialogs.vala" - if (_tmp20_ == _tmp21_) { -#line 2611 "Dialogs.c" - GtkComboBoxText* _tmp22_ = NULL; - gint _tmp23_ = 0; -#line 193 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp22_ = self->priv->constraint_combo; -#line 193 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp23_ = ctr; -#line 193 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_combo_box_get_type (), GtkComboBox), _tmp23_); -#line 2620 "Dialogs.c" + GtkComboBoxText* _tmp29_ = NULL; + ScaleConstraint _tmp30_ = 0; + gchar* _tmp31_ = NULL; + gchar* _tmp32_ = NULL; + ScaleConstraint _tmp33_ = 0; + ScaleConstraint _tmp34_ = 0; + gint _tmp37_ = 0; +#line 196 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp29_ = self->priv->constraint_combo; +#line 196 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp30_ = constraint; +#line 196 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp31_ = scale_constraint_to_string (_tmp30_); +#line 196 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp32_ = _tmp31_; +#line 196 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_combo_box_text_append_text (_tmp29_, _tmp32_); +#line 196 "/home/jens/Source/shotwell/src/Dialogs.vala" + _g_free0 (_tmp32_); +#line 197 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp33_ = constraint; +#line 197 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp34_ = export_dialog_current_constraint; +#line 197 "/home/jens/Source/shotwell/src/Dialogs.vala" + if (_tmp33_ == _tmp34_) { +#line 2660 "Dialogs.c" + GtkComboBoxText* _tmp35_ = NULL; + gint _tmp36_ = 0; +#line 198 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp35_ = self->priv->constraint_combo; +#line 198 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp36_ = ctr; +#line 198 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_combo_box_get_type (), GtkComboBox), _tmp36_); +#line 2669 "Dialogs.c" } -#line 194 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp24_ = ctr; -#line 194 "/home/jens/Source/shotwell/src/Dialogs.vala" - ctr = _tmp24_ + 1; -#line 2626 "Dialogs.c" +#line 199 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp37_ = ctr; +#line 199 "/home/jens/Source/shotwell/src/Dialogs.vala" + ctr = _tmp37_ + 1; +#line 2675 "Dialogs.c" } } } -#line 197 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp25_ = (GtkComboBoxText*) gtk_combo_box_text_new (); -#line 197 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_object_ref_sink (_tmp25_); -#line 197 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 202 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp38_ = (GtkComboBoxText*) gtk_combo_box_text_new (); +#line 202 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_object_ref_sink (_tmp38_); +#line 202 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->format_combo); -#line 197 "/home/jens/Source/shotwell/src/Dialogs.vala" - self->priv->format_combo = _tmp25_; -#line 198 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 202 "/home/jens/Source/shotwell/src/Dialogs.vala" + self->priv->format_combo = _tmp38_; +#line 203 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_format_add_option (self, EXPORT_DIALOG_UNMODIFIED_FORMAT_LABEL); -#line 199 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 204 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_format_add_option (self, EXPORT_DIALOG_CURRENT_FORMAT_LABEL); -#line 200 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp27_ = photo_file_format_get_writeable (&_tmp26_); -#line 2644 "Dialogs.c" +#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp40_ = photo_file_format_get_writeable (&_tmp39_); +#line 2693 "Dialogs.c" { PhotoFileFormat* format_collection = NULL; gint format_collection_length1 = 0; gint _format_collection_size_ = 0; gint format_it = 0; -#line 200 "/home/jens/Source/shotwell/src/Dialogs.vala" - format_collection = _tmp27_; -#line 200 "/home/jens/Source/shotwell/src/Dialogs.vala" - format_collection_length1 = _tmp26_; -#line 200 "/home/jens/Source/shotwell/src/Dialogs.vala" - for (format_it = 0; format_it < _tmp26_; format_it = format_it + 1) { -#line 2656 "Dialogs.c" +#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala" + format_collection = _tmp40_; +#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala" + format_collection_length1 = _tmp39_; +#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala" + for (format_it = 0; format_it < _tmp39_; format_it = format_it + 1) { +#line 2705 "Dialogs.c" PhotoFileFormat format = 0; -#line 200 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala" format = format_collection[format_it]; -#line 2660 "Dialogs.c" +#line 2709 "Dialogs.c" { - PhotoFileFormat _tmp28_ = 0; - PhotoFileFormatProperties* _tmp29_ = NULL; - PhotoFileFormatProperties* _tmp30_ = NULL; - gchar* _tmp31_ = NULL; - gchar* _tmp32_ = NULL; -#line 201 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp28_ = format; -#line 201 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp29_ = photo_file_format_get_properties (_tmp28_); -#line 201 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp30_ = _tmp29_; -#line 201 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp31_ = photo_file_format_properties_get_user_visible_name (_tmp30_); -#line 201 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp32_ = _tmp31_; -#line 201 "/home/jens/Source/shotwell/src/Dialogs.vala" - export_dialog_format_add_option (self, _tmp32_); -#line 201 "/home/jens/Source/shotwell/src/Dialogs.vala" - _g_free0 (_tmp32_); -#line 201 "/home/jens/Source/shotwell/src/Dialogs.vala" - _photo_file_format_properties_unref0 (_tmp30_); -#line 2683 "Dialogs.c" - } - } -#line 200 "/home/jens/Source/shotwell/src/Dialogs.vala" - format_collection = (g_free (format_collection), NULL); -#line 2688 "Dialogs.c" - } -#line 204 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp33_ = (GtkEntry*) gtk_entry_new (); -#line 204 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_object_ref_sink (_tmp33_); -#line 204 "/home/jens/Source/shotwell/src/Dialogs.vala" - _g_object_unref0 (self->priv->pixels_entry); -#line 204 "/home/jens/Source/shotwell/src/Dialogs.vala" - self->priv->pixels_entry = _tmp33_; -#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp34_ = self->priv->pixels_entry; -#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_entry_set_max_length (_tmp34_, 6); + PhotoFileFormat _tmp41_ = 0; + PhotoFileFormatProperties* _tmp42_ = NULL; + PhotoFileFormatProperties* _tmp43_ = NULL; + gchar* _tmp44_ = NULL; + gchar* _tmp45_ = NULL; #line 206 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp35_ = self->priv->pixels_entry; + _tmp41_ = format; #line 206 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp36_ = export_dialog_current_scale; + _tmp42_ = photo_file_format_get_properties (_tmp41_); #line 206 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp37_ = g_strdup_printf ("%d", _tmp36_); + _tmp43_ = _tmp42_; #line 206 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp38_ = _tmp37_; + _tmp44_ = photo_file_format_properties_get_user_visible_name (_tmp43_); +#line 206 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp45_ = _tmp44_; #line 206 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_entry_set_text (_tmp35_, _tmp38_); + export_dialog_format_add_option (self, _tmp45_); #line 206 "/home/jens/Source/shotwell/src/Dialogs.vala" - _g_free0 (_tmp38_); + _g_free0 (_tmp45_); +#line 206 "/home/jens/Source/shotwell/src/Dialogs.vala" + _photo_file_format_properties_unref0 (_tmp43_); +#line 2732 "Dialogs.c" + } + } +#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala" + format_collection = (g_free (format_collection), NULL); +#line 2737 "Dialogs.c" + } #line 209 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp39_ = self->priv->constraint_combo; + _tmp46_ = (GtkEntry*) gtk_entry_new (); #line 209 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _export_dialog_on_constraint_changed_gtk_combo_box_changed, self, 0); + g_object_ref_sink (_tmp46_); +#line 209 "/home/jens/Source/shotwell/src/Dialogs.vala" + _g_object_unref0 (self->priv->pixels_entry); +#line 209 "/home/jens/Source/shotwell/src/Dialogs.vala" + self->priv->pixels_entry = _tmp46_; #line 210 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp40_ = self->priv->format_combo; + _tmp47_ = self->priv->pixels_entry; #line 210 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _export_dialog_on_format_changed_gtk_combo_box_changed, self, 0); + gtk_entry_set_max_length (_tmp47_, 6); #line 211 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp41_ = self->priv->pixels_entry; + _tmp48_ = self->priv->pixels_entry; #line 211 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _export_dialog_on_pixels_changed_gtk_editable_changed, self, 0); -#line 212 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp42_ = self->priv->pixels_entry; -#line 212 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, GTK_TYPE_EDITABLE, GtkEditable), "insert-text", (GCallback) _export_dialog_on_pixels_insert_text_gtk_editable_insert_text, self, 0); -#line 213 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp43_ = self->priv->pixels_entry; -#line 213 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_signal_connect_object (_tmp43_, "activate", (GCallback) _export_dialog_on_activate_gtk_entry_activate, self, 0); -#line 216 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp44_ = _ ("_Format:"); + _tmp49_ = export_dialog_current_scale; +#line 211 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp50_ = g_strdup_printf ("%d", _tmp49_); +#line 211 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp51_ = _tmp50_; +#line 211 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_entry_set_text (_tmp48_, _tmp51_); +#line 211 "/home/jens/Source/shotwell/src/Dialogs.vala" + _g_free0 (_tmp51_); +#line 214 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp52_ = self->priv->constraint_combo; +#line 214 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _export_dialog_on_constraint_changed_gtk_combo_box_changed, self, 0); +#line 215 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp53_ = self->priv->format_combo; +#line 215 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _export_dialog_on_format_changed_gtk_combo_box_changed, self, 0); #line 216 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp45_ = self->priv->format_combo; + _tmp54_ = self->priv->pixels_entry; #line 216 "/home/jens/Source/shotwell/src/Dialogs.vala" - export_dialog_add_label (self, _tmp44_, 0, 0, G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_widget_get_type (), GtkWidget)); + g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _export_dialog_on_pixels_changed_gtk_editable_changed, self, 0); #line 217 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp46_ = self->priv->format_combo; + _tmp55_ = self->priv->pixels_entry; #line 217 "/home/jens/Source/shotwell/src/Dialogs.vala" - export_dialog_add_control (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), 1, 0); -#line 219 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp47_ = _ ("_Quality:"); -#line 219 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp48_ = self->priv->quality_combo; -#line 219 "/home/jens/Source/shotwell/src/Dialogs.vala" - export_dialog_add_label (self, _tmp47_, 0, 1, G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_widget_get_type (), GtkWidget)); -#line 220 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp49_ = self->priv->quality_combo; -#line 220 "/home/jens/Source/shotwell/src/Dialogs.vala" - export_dialog_add_control (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, gtk_widget_get_type (), GtkWidget), 1, 1); -#line 222 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp50_ = _ ("_Scaling constraint:"); + g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, GTK_TYPE_EDITABLE, GtkEditable), "insert-text", (GCallback) _export_dialog_on_pixels_insert_text_gtk_editable_insert_text, self, 0); +#line 218 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp56_ = self->priv->pixels_entry; +#line 218 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_signal_connect_object (_tmp56_, "activate", (GCallback) _export_dialog_on_activate_gtk_entry_activate, self, 0); +#line 221 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp57_ = _ ("_Format:"); +#line 221 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp58_ = self->priv->format_combo; +#line 221 "/home/jens/Source/shotwell/src/Dialogs.vala" + export_dialog_add_label (self, _tmp57_, 0, 0, G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, gtk_widget_get_type (), GtkWidget)); #line 222 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp51_ = self->priv->constraint_combo; + _tmp59_ = self->priv->format_combo; #line 222 "/home/jens/Source/shotwell/src/Dialogs.vala" - export_dialog_add_label (self, _tmp50_, 0, 2, G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, gtk_widget_get_type (), GtkWidget)); -#line 223 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp52_ = self->priv->constraint_combo; -#line 223 "/home/jens/Source/shotwell/src/Dialogs.vala" - export_dialog_add_control (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, gtk_widget_get_type (), GtkWidget), 1, 2); + export_dialog_add_control (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, gtk_widget_get_type (), GtkWidget), 1, 0); +#line 224 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp60_ = _ ("_Quality:"); +#line 224 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp61_ = self->priv->quality_combo; +#line 224 "/home/jens/Source/shotwell/src/Dialogs.vala" + export_dialog_add_label (self, _tmp60_, 0, 1, G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, gtk_widget_get_type (), GtkWidget)); #line 225 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp53_ = _ ("_Pixels:"); + _tmp62_ = self->priv->quality_combo; #line 225 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp54_ = self->priv->pixels_entry; -#line 225 "/home/jens/Source/shotwell/src/Dialogs.vala" - export_dialog_add_label (self, _tmp53_, 0, 3, G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, gtk_widget_get_type (), GtkWidget)); -#line 226 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp55_ = self->priv->pixels_entry; -#line 226 "/home/jens/Source/shotwell/src/Dialogs.vala" - export_dialog_add_control (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, gtk_widget_get_type (), GtkWidget), 1, 3); -#line 228 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp56_ = _ ("Export metadata"); + export_dialog_add_control (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, gtk_widget_get_type (), GtkWidget), 1, 1); +#line 227 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp63_ = _ ("_Scaling constraint:"); +#line 227 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp64_ = self->priv->constraint_combo; +#line 227 "/home/jens/Source/shotwell/src/Dialogs.vala" + export_dialog_add_label (self, _tmp63_, 0, 2, G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, gtk_widget_get_type (), GtkWidget)); #line 228 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp57_ = (GtkCheckButton*) gtk_check_button_new_with_label (_tmp56_); + _tmp65_ = self->priv->constraint_combo; #line 228 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_object_ref_sink (_tmp57_); -#line 228 "/home/jens/Source/shotwell/src/Dialogs.vala" - _g_object_unref0 (self->priv->export_metadata); -#line 228 "/home/jens/Source/shotwell/src/Dialogs.vala" - self->priv->export_metadata = _tmp57_; -#line 229 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp58_ = self->priv->export_metadata; -#line 229 "/home/jens/Source/shotwell/src/Dialogs.vala" - export_dialog_add_control (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, gtk_widget_get_type (), GtkWidget), 1, 4); + export_dialog_add_control (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp65_, gtk_widget_get_type (), GtkWidget), 1, 2); #line 230 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp59_ = self->priv->export_metadata; + _tmp66_ = _ ("_Pixels:"); #line 230 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE); -#line 232 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp60_ = self->priv->table; -#line 232 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_grid_set_row_spacing (_tmp60_, (guint) 5); + _tmp67_ = self->priv->pixels_entry; +#line 230 "/home/jens/Source/shotwell/src/Dialogs.vala" + export_dialog_add_label (self, _tmp66_, 0, 3, G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, gtk_widget_get_type (), GtkWidget)); +#line 231 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp68_ = self->priv->pixels_entry; +#line 231 "/home/jens/Source/shotwell/src/Dialogs.vala" + export_dialog_add_control (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, gtk_widget_get_type (), GtkWidget), 1, 3); +#line 233 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp69_ = (GtkSwitch*) gtk_switch_new (); #line 233 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp61_ = self->priv->table; + g_object_ref_sink (_tmp69_); +#line 233 "/home/jens/Source/shotwell/src/Dialogs.vala" + _g_object_unref0 (self->priv->export_metadata); #line 233 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_grid_set_column_spacing (_tmp61_, (guint) 5); + self->priv->export_metadata = _tmp69_; #line 234 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp62_ = self->priv->table; + _tmp70_ = _ ("Export _metadata:"); #line 234 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, gtk_container_get_type (), GtkContainer), (guint) 3); -#line 236 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp63_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); + _tmp71_ = self->priv->export_metadata; +#line 234 "/home/jens/Source/shotwell/src/Dialogs.vala" + export_dialog_add_label (self, _tmp70_, 0, 4, G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, gtk_widget_get_type (), GtkWidget)); +#line 235 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp72_ = self->priv->export_metadata; +#line 235 "/home/jens/Source/shotwell/src/Dialogs.vala" + export_dialog_add_control (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, gtk_widget_get_type (), GtkWidget), 1, 4); #line 236 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp64_ = self->priv->table; + _tmp73_ = self->priv->export_metadata; #line 236 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, gtk_box_get_type (), GtkBox), gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, gtk_widget_get_type (), GtkWidget)); + gtk_switch_set_active (_tmp73_, TRUE); +#line 237 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp74_ = self->priv->export_metadata; +#line 237 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START); #line 239 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_CANCEL_LABEL, (gint) GTK_RESPONSE_CANCEL); -#line 240 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp65_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_OK_LABEL, (gint) GTK_RESPONSE_OK); -#line 240 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp66_ = _g_object_ref0 (_tmp65_); + _tmp75_ = self->priv->table; +#line 239 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_grid_set_row_spacing (_tmp75_, (guint) 6); #line 240 "/home/jens/Source/shotwell/src/Dialogs.vala" - _g_object_unref0 (self->priv->ok_button); + _tmp76_ = self->priv->table; #line 240 "/home/jens/Source/shotwell/src/Dialogs.vala" - self->priv->ok_button = _tmp66_; + gtk_grid_set_column_spacing (_tmp76_, (guint) 12); #line 241 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK); + _tmp77_ = self->priv->table; +#line 241 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, gtk_container_get_type (), GtkContainer), (guint) 18); #line 243 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp67_ = self->priv->ok_button; + _tmp78_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); #line 243 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_widget_set_can_default (_tmp67_, TRUE); -#line 244 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp68_ = self->priv->ok_button; -#line 244 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_object_set (_tmp68_, "has-default", TRUE, NULL); -#line 245 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp69_ = self->priv->ok_button; -#line 245 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_window_set_default (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp69_); + _tmp79_ = self->priv->table; +#line 243 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp78_, gtk_box_get_type (), GtkBox), gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp79_, gtk_widget_get_type (), GtkWidget)); +#line 246 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_CANCEL_LABEL, (gint) GTK_RESPONSE_CANCEL); #line 247 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp70_ = export_dialog_current_constraint; + _tmp80_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_OK_LABEL, (gint) GTK_RESPONSE_OK); #line 247 "/home/jens/Source/shotwell/src/Dialogs.vala" - if (_tmp70_ == SCALE_CONSTRAINT_ORIGINAL) { -#line 2838 "Dialogs.c" - GtkEntry* _tmp71_ = NULL; - GtkComboBoxText* _tmp72_ = NULL; -#line 248 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp71_ = self->priv->pixels_entry; + _tmp81_ = _g_object_ref0 (_tmp80_); +#line 247 "/home/jens/Source/shotwell/src/Dialogs.vala" + _g_object_unref0 (self->priv->ok_button); +#line 247 "/home/jens/Source/shotwell/src/Dialogs.vala" + self->priv->ok_button = _tmp81_; #line 248 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 249 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp72_ = self->priv->quality_combo; -#line 249 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 2849 "Dialogs.c" - } + gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK); +#line 250 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp82_ = self->priv->ok_button; +#line 250 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_widget_set_can_default (_tmp82_, TRUE); +#line 251 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp83_ = self->priv->ok_button; +#line 251 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_object_set (_tmp83_, "has-default", TRUE, NULL); #line 252 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp73_ = self->priv->ok_button; + _tmp84_ = self->priv->ok_button; #line 252 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_widget_grab_focus (_tmp73_); -#line 171 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_window_set_default (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp84_); +#line 254 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp85_ = export_dialog_current_constraint; +#line 254 "/home/jens/Source/shotwell/src/Dialogs.vala" + if (_tmp85_ == SCALE_CONSTRAINT_ORIGINAL) { +#line 2895 "Dialogs.c" + GtkEntry* _tmp86_ = NULL; + GtkComboBoxText* _tmp87_ = NULL; +#line 255 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp86_ = self->priv->pixels_entry; +#line 255 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp86_, gtk_widget_get_type (), GtkWidget), FALSE); +#line 256 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp87_ = self->priv->quality_combo; +#line 256 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp87_, gtk_widget_get_type (), GtkWidget), FALSE); +#line 2906 "Dialogs.c" + } +#line 259 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp88_ = self->priv->ok_button; +#line 259 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_widget_grab_focus (_tmp88_); +#line 167 "/home/jens/Source/shotwell/src/Dialogs.vala" + _g_object_unref0 (config); +#line 167 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 2857 "Dialogs.c" +#line 2916 "Dialogs.c" } ExportDialog* export_dialog_new (const gchar* title) { -#line 171 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 167 "/home/jens/Source/shotwell/src/Dialogs.vala" return export_dialog_construct (TYPE_EXPORT_DIALOG, title); -#line 2864 "Dialogs.c" +#line 2923 "Dialogs.c" } @@ -2872,36 +2931,36 @@ static void export_dialog_format_add_option (ExportDialog* self, const gchar* fo const gchar* _tmp1_ = NULL; GtkComboBoxText* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; -#line 255 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 262 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_EXPORT_DIALOG (self)); -#line 255 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 262 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (format_name != NULL); -#line 256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->format_options; -#line 256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = format_name; -#line 256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp1_); -#line 257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 264 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = self->priv->format_combo; -#line 257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 264 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = format_name; -#line 257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 264 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_text_append_text (_tmp2_, _tmp3_); -#line 2889 "Dialogs.c" +#line 2948 "Dialogs.c" } static void export_dialog_format_set_active_text (ExportDialog* self, const gchar* text) { gint selection_ticker = 0; const gchar* _tmp16_ = NULL; -#line 260 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 267 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_EXPORT_DIALOG (self)); -#line 260 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 267 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (text != NULL); -#line 261 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 268 "/home/jens/Source/shotwell/src/Dialogs.vala" selection_ticker = 0; -#line 2902 "Dialogs.c" +#line 2961 "Dialogs.c" { GeeArrayList* _current_text_list = NULL; GeeArrayList* _tmp0_ = NULL; @@ -2911,25 +2970,25 @@ static void export_dialog_format_set_active_text (ExportDialog* self, const gcha gint _tmp3_ = 0; gint _tmp4_ = 0; gint _current_text_index = 0; -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->format_options; -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _current_text_list = _tmp1_; -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _current_text_list; -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp3_; -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _current_text_size = _tmp4_; -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _current_text_index = -1; -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 2930 "Dialogs.c" +#line 2989 "Dialogs.c" gint _tmp5_ = 0; gint _tmp6_ = 0; gint _tmp7_ = 0; @@ -2940,68 +2999,68 @@ static void export_dialog_format_set_active_text (ExportDialog* self, const gcha const gchar* _tmp11_ = NULL; const gchar* _tmp12_ = NULL; gint _tmp15_ = 0; -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _current_text_index; -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _current_text_index = _tmp5_ + 1; -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _current_text_index; -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _current_text_size; -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!(_tmp6_ < _tmp7_)) { -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 2953 "Dialogs.c" +#line 3012 "Dialogs.c" } -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _current_text_list; -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _current_text_index; -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp9_); -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" current_text = (gchar*) _tmp10_; -#line 264 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 271 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = current_text; -#line 264 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 271 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = text; -#line 264 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 271 "/home/jens/Source/shotwell/src/Dialogs.vala" if (g_strcmp0 (_tmp11_, _tmp12_) == 0) { -#line 2969 "Dialogs.c" +#line 3028 "Dialogs.c" GtkComboBoxText* _tmp13_ = NULL; gint _tmp14_ = 0; -#line 265 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 272 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = self->priv->format_combo; -#line 265 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 272 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = selection_ticker; -#line 265 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 272 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_combo_box_get_type (), GtkComboBox), _tmp14_); -#line 266 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 273 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (current_text); -#line 266 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 273 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_current_text_list); -#line 266 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 273 "/home/jens/Source/shotwell/src/Dialogs.vala" return; -#line 2984 "Dialogs.c" +#line 3043 "Dialogs.c" } -#line 268 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 275 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = selection_ticker; -#line 268 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 275 "/home/jens/Source/shotwell/src/Dialogs.vala" selection_ticker = _tmp15_ + 1; -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (current_text); -#line 2992 "Dialogs.c" +#line 3051 "Dialogs.c" } -#line 263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_current_text_list); -#line 2996 "Dialogs.c" +#line 3055 "Dialogs.c" } -#line 271 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 278 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = text; -#line 271 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_error ("Dialogs.vala:271: format_set_active_text: text '%s' isn't in combo box", _tmp16_); -#line 3002 "Dialogs.c" +#line 278 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_error ("Dialogs.vala:278: format_set_active_text: text '%s' isn't in combo box", _tmp16_); +#line 3061 "Dialogs.c" } @@ -3019,45 +3078,45 @@ static PhotoFileFormat export_dialog_get_specified_format (ExportDialog* self) { gint _writeable_formats_size_ = 0; gint _tmp6_ = 0; PhotoFileFormat _tmp7_ = 0; -#line 274 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 281 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_EXPORT_DIALOG (self), 0); -#line 275 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 282 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->format_combo; -#line 275 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 282 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox)); -#line 275 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 282 "/home/jens/Source/shotwell/src/Dialogs.vala" index = _tmp1_; -#line 276 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 283 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = index; -#line 276 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 283 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp2_ < EXPORT_DIALOG_NUM_SPECIAL_FORMATS) { -#line 277 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 284 "/home/jens/Source/shotwell/src/Dialogs.vala" index = EXPORT_DIALOG_NUM_SPECIAL_FORMATS; -#line 3034 "Dialogs.c" +#line 3093 "Dialogs.c" } -#line 279 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 286 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = index; -#line 279 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 286 "/home/jens/Source/shotwell/src/Dialogs.vala" index = _tmp3_ - EXPORT_DIALOG_NUM_SPECIAL_FORMATS; -#line 280 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 287 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = photo_file_format_get_writeable (&_tmp4_); -#line 280 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 287 "/home/jens/Source/shotwell/src/Dialogs.vala" writeable_formats = _tmp5_; -#line 280 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 287 "/home/jens/Source/shotwell/src/Dialogs.vala" writeable_formats_length1 = _tmp4_; -#line 280 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 287 "/home/jens/Source/shotwell/src/Dialogs.vala" _writeable_formats_size_ = writeable_formats_length1; -#line 281 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 288 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = index; -#line 281 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 288 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = writeable_formats[_tmp6_]; -#line 281 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 288 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp7_; -#line 281 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 288 "/home/jens/Source/shotwell/src/Dialogs.vala" writeable_formats = (g_free (writeable_formats), NULL); -#line 281 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 288 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 3058 "Dialogs.c" +#line 3117 "Dialogs.c" } @@ -3065,45 +3124,45 @@ static gchar* export_dialog_get_label_for_parameters (ExportDialog* self, Export gchar* result = NULL; ExportFormatParameters _tmp0_ = {0}; ExportFormatMode _tmp1_ = 0; -#line 284 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 291 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_EXPORT_DIALOG (self), NULL); -#line 284 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 291 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (params != NULL, NULL); -#line 285 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 292 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = *params; -#line 285 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 292 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _tmp0_.mode; -#line 285 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 292 "/home/jens/Source/shotwell/src/Dialogs.vala" switch (_tmp1_) { -#line 285 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 292 "/home/jens/Source/shotwell/src/Dialogs.vala" case EXPORT_FORMAT_MODE_UNMODIFIED: -#line 3078 "Dialogs.c" +#line 3137 "Dialogs.c" { gchar* _tmp2_ = NULL; -#line 287 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 294 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = g_strdup (EXPORT_DIALOG_UNMODIFIED_FORMAT_LABEL); -#line 287 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 294 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp2_; -#line 287 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 294 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 3087 "Dialogs.c" +#line 3146 "Dialogs.c" } -#line 285 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 292 "/home/jens/Source/shotwell/src/Dialogs.vala" case EXPORT_FORMAT_MODE_CURRENT: -#line 3091 "Dialogs.c" +#line 3150 "Dialogs.c" { gchar* _tmp3_ = NULL; -#line 290 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 297 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = g_strdup (EXPORT_DIALOG_CURRENT_FORMAT_LABEL); -#line 290 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 297 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp3_; -#line 290 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 297 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 3100 "Dialogs.c" +#line 3159 "Dialogs.c" } -#line 285 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 292 "/home/jens/Source/shotwell/src/Dialogs.vala" case EXPORT_FORMAT_MODE_SPECIFIED: -#line 3104 "Dialogs.c" +#line 3163 "Dialogs.c" { ExportFormatParameters _tmp4_ = {0}; PhotoFileFormat _tmp5_ = 0; @@ -3111,32 +3170,32 @@ static gchar* export_dialog_get_label_for_parameters (ExportDialog* self, Export PhotoFileFormatProperties* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 293 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = *params; -#line 293 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_.specified_format; -#line 293 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = photo_file_format_get_properties (_tmp5_); -#line 293 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _tmp6_; -#line 293 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = photo_file_format_properties_get_user_visible_name (_tmp7_); -#line 293 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _tmp8_; -#line 293 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala" _photo_file_format_properties_unref0 (_tmp7_); -#line 293 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp9_; -#line 293 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 3130 "Dialogs.c" +#line 3189 "Dialogs.c" } default: { -#line 296 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_error ("Dialogs.vala:296: get_label_for_parameters: unrecognized export format" \ +#line 303 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_error ("Dialogs.vala:303: get_label_for_parameters: unrecognized export format" \ " mode"); -#line 3136 "Dialogs.c" +#line 3195 "Dialogs.c" } } } @@ -3156,106 +3215,106 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint gboolean ok = FALSE; gint _tmp17_ = 0; gboolean _tmp18_ = FALSE; -#line 303 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 310 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_EXPORT_DIALOG (self), FALSE); -#line 303 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 310 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (parameters != NULL, FALSE); -#line 305 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 312 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 309 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = *parameters; -#line 309 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _tmp0_.mode; -#line 309 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp1_ != EXPORT_FORMAT_MODE_LAST) { -#line 3168 "Dialogs.c" +#line 3227 "Dialogs.c" ScaleConstraint _tmp2_ = 0; GtkComboBoxText* _tmp3_ = NULL; -#line 310 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 317 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_constraint = SCALE_CONSTRAINT_ORIGINAL; -#line 310 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 317 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _vala_constraint; -#line 310 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 317 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_current_constraint = _tmp2_; -#line 311 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 318 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = self->priv->constraint_combo; -#line 311 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 318 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_combo_box_get_type (), GtkComboBox), 0); -#line 3181 "Dialogs.c" +#line 3240 "Dialogs.c" } -#line 314 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 321 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = *parameters; -#line 314 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 321 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_.mode; -#line 314 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 321 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp5_ == EXPORT_FORMAT_MODE_LAST) { -#line 3189 "Dialogs.c" +#line 3248 "Dialogs.c" ExportFormatParameters _tmp6_ = {0}; -#line 315 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 322 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = export_dialog_current_parameters; -#line 315 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 322 "/home/jens/Source/shotwell/src/Dialogs.vala" *parameters = _tmp6_; -#line 3195 "Dialogs.c" +#line 3254 "Dialogs.c" } else { gboolean _tmp7_ = FALSE; ExportFormatParameters _tmp8_ = {0}; ExportFormatMode _tmp9_ = 0; -#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = *parameters; -#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _tmp8_.mode; -#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp9_ == EXPORT_FORMAT_MODE_SPECIFIED) { -#line 3206 "Dialogs.c" +#line 3265 "Dialogs.c" ExportFormatParameters _tmp10_ = {0}; PhotoFileFormat _tmp11_ = 0; gboolean _tmp12_ = FALSE; -#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = *parameters; -#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = _tmp10_.specified_format; -#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = photo_file_format_can_write (_tmp11_); -#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = !_tmp12_; -#line 3218 "Dialogs.c" +#line 3277 "Dialogs.c" } else { -#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = FALSE; -#line 3222 "Dialogs.c" +#line 3281 "Dialogs.c" } -#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp7_) { -#line 3226 "Dialogs.c" +#line 3285 "Dialogs.c" PhotoFileFormat _tmp13_ = 0; -#line 317 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 324 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = photo_file_format_get_system_default_format (); -#line 317 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 324 "/home/jens/Source/shotwell/src/Dialogs.vala" (*parameters).specified_format = _tmp13_; -#line 3232 "Dialogs.c" +#line 3291 "Dialogs.c" } } -#line 319 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 326 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = *parameters; -#line 319 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 326 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = export_dialog_get_label_for_parameters (self, &_tmp14_); -#line 319 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 326 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = _tmp15_; -#line 319 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 326 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_format_set_active_text (self, _tmp16_); -#line 319 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 326 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp16_); -#line 320 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 327 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_on_format_changed (self); -#line 322 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 329 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); -#line 322 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 329 "/home/jens/Source/shotwell/src/Dialogs.vala" ok = _tmp17_ == ((gint) GTK_RESPONSE_OK); -#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 330 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = ok; -#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 330 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp18_) { -#line 3255 "Dialogs.c" +#line 3314 "Dialogs.c" gint index = 0; GtkComboBoxText* _tmp19_ = NULL; gint _tmp20_ = 0; @@ -3269,317 +3328,386 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint ScaleConstraint _tmp28_ = 0; gint _tmp30_ = 0; gboolean _tmp31_ = FALSE; - GtkCheckButton* _tmp32_ = NULL; + GtkSwitch* _tmp32_ = NULL; gboolean _tmp33_ = FALSE; gboolean _tmp34_ = FALSE; GtkComboBoxText* _tmp38_ = NULL; gchar* _tmp39_ = NULL; gchar* _tmp40_ = NULL; gboolean _tmp41_ = FALSE; -#line 324 "/home/jens/Source/shotwell/src/Dialogs.vala" + ConfigFacade* config = NULL; + ConfigFacade* _tmp57_ = NULL; + ConfigFacade* _tmp58_ = NULL; + ExportFormatParameters _tmp59_ = {0}; + ExportFormatMode _tmp60_ = 0; + ConfigFacade* _tmp61_ = NULL; + ExportFormatParameters _tmp62_ = {0}; + PhotoFileFormat _tmp63_ = 0; + ConfigFacade* _tmp64_ = NULL; + ExportFormatParameters _tmp65_ = {0}; + JpegQuality _tmp66_ = 0; + ConfigFacade* _tmp67_ = NULL; + ExportFormatParameters _tmp68_ = {0}; + gboolean _tmp69_ = FALSE; + ConfigFacade* _tmp70_ = NULL; + ScaleConstraint _tmp71_ = 0; + ConfigFacade* _tmp72_ = NULL; + gint _tmp73_ = 0; +#line 331 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = self->priv->constraint_combo; -#line 324 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 331 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_combo_box_get_type (), GtkComboBox)); -#line 324 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 331 "/home/jens/Source/shotwell/src/Dialogs.vala" index = _tmp20_; -#line 325 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 332 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = index; -#line 325 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 332 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_assert (_tmp21_ >= 0, "index >= 0"); -#line 326 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 333 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = index; -#line 326 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 333 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = EXPORT_DIALOG_CONSTRAINT_ARRAY[_tmp22_]; -#line 326 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 333 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_constraint = _tmp23_; -#line 327 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 334 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = _vala_constraint; -#line 327 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 334 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_current_constraint = _tmp24_; -#line 329 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 336 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = self->priv->pixels_entry; -#line 329 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 336 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = gtk_entry_get_text (_tmp25_); -#line 329 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 336 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = atoi (_tmp26_); -#line 329 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 336 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_scale = _tmp27_; -#line 330 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 337 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = _vala_constraint; -#line 330 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 337 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp28_ != SCALE_CONSTRAINT_ORIGINAL) { -#line 3308 "Dialogs.c" +#line 3385 "Dialogs.c" gint _tmp29_ = 0; -#line 331 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 338 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = _vala_scale; -#line 331 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 338 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_assert (_tmp29_ > 0, "scale > 0"); -#line 3314 "Dialogs.c" +#line 3391 "Dialogs.c" } -#line 332 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 339 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = _vala_scale; -#line 332 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 339 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_current_scale = _tmp30_; -#line 334 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = self->priv->export_metadata; -#line 334 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_widget_get_type (), GtkWidget)); -#line 334 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp34_ = _tmp33_; -#line 334 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp34_) { -#line 3328 "Dialogs.c" - GtkCheckButton* _tmp35_ = NULL; +#line 3405 "Dialogs.c" + GtkSwitch* _tmp35_ = NULL; gboolean _tmp36_ = FALSE; gboolean _tmp37_ = FALSE; -#line 334 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp35_ = self->priv->export_metadata; -#line 334 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp36_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 334 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp36_ = gtk_switch_get_active (_tmp35_); +#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp37_ = _tmp36_; -#line 334 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = _tmp37_; -#line 3340 "Dialogs.c" +#line 3417 "Dialogs.c" } else { -#line 334 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = FALSE; -#line 3344 "Dialogs.c" +#line 3421 "Dialogs.c" } -#line 334 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala" (*parameters).export_metadata = _tmp31_; -#line 336 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp38_ = self->priv->format_combo; -#line 336 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp39_ = gtk_combo_box_text_get_active_text (_tmp38_); -#line 336 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp40_ = _tmp39_; -#line 336 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp41_ = g_strcmp0 (_tmp40_, EXPORT_DIALOG_UNMODIFIED_FORMAT_LABEL) == 0; -#line 336 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp40_); -#line 336 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp41_) { -#line 3360 "Dialogs.c" +#line 3437 "Dialogs.c" ExportFormatMode _tmp42_ = 0; -#line 337 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 344 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_current_parameters.mode = EXPORT_FORMAT_MODE_UNMODIFIED; -#line 337 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 344 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp42_ = export_dialog_current_parameters.mode; -#line 337 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 344 "/home/jens/Source/shotwell/src/Dialogs.vala" (*parameters).mode = _tmp42_; -#line 3368 "Dialogs.c" +#line 3445 "Dialogs.c" } else { GtkComboBoxText* _tmp43_ = NULL; gchar* _tmp44_ = NULL; gchar* _tmp45_ = NULL; gboolean _tmp46_ = FALSE; -#line 338 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 345 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp43_ = self->priv->format_combo; -#line 338 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 345 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp44_ = gtk_combo_box_text_get_active_text (_tmp43_); -#line 338 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 345 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp45_ = _tmp44_; -#line 338 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 345 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp46_ = g_strcmp0 (_tmp45_, EXPORT_DIALOG_CURRENT_FORMAT_LABEL) == 0; -#line 338 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 345 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp45_); -#line 338 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 345 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp46_) { -#line 3386 "Dialogs.c" +#line 3463 "Dialogs.c" ExportFormatMode _tmp47_ = 0; -#line 339 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 346 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_current_parameters.mode = EXPORT_FORMAT_MODE_CURRENT; -#line 339 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 346 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp47_ = export_dialog_current_parameters.mode; -#line 339 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 346 "/home/jens/Source/shotwell/src/Dialogs.vala" (*parameters).mode = _tmp47_; -#line 3394 "Dialogs.c" +#line 3471 "Dialogs.c" } else { ExportFormatMode _tmp48_ = 0; PhotoFileFormat _tmp49_ = 0; PhotoFileFormat _tmp50_ = 0; ExportFormatParameters _tmp51_ = {0}; PhotoFileFormat _tmp52_ = 0; -#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 348 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_current_parameters.mode = EXPORT_FORMAT_MODE_SPECIFIED; -#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 348 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp48_ = export_dialog_current_parameters.mode; -#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 348 "/home/jens/Source/shotwell/src/Dialogs.vala" (*parameters).mode = _tmp48_; -#line 342 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 349 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp49_ = export_dialog_get_specified_format (self); -#line 342 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 349 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_current_parameters.specified_format = _tmp49_; -#line 342 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 349 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp50_ = export_dialog_current_parameters.specified_format; -#line 342 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 349 "/home/jens/Source/shotwell/src/Dialogs.vala" (*parameters).specified_format = _tmp50_; -#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 350 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp51_ = export_dialog_current_parameters; -#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 350 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp52_ = _tmp51_.specified_format; -#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 350 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp52_ == PHOTO_FILE_FORMAT_JFIF) { -#line 3421 "Dialogs.c" +#line 3498 "Dialogs.c" GtkComboBoxText* _tmp53_ = NULL; gint _tmp54_ = 0; JpegQuality _tmp55_ = 0; JpegQuality _tmp56_ = 0; -#line 344 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 351 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp53_ = self->priv->quality_combo; -#line 344 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 351 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp54_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, gtk_combo_box_get_type (), GtkComboBox)); -#line 344 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 351 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp55_ = EXPORT_DIALOG_QUALITY_ARRAY[_tmp54_]; -#line 344 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 351 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_current_parameters.quality = _tmp55_; -#line 344 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 351 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp56_ = export_dialog_current_parameters.quality; -#line 344 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 351 "/home/jens/Source/shotwell/src/Dialogs.vala" (*parameters).quality = _tmp56_; -#line 3438 "Dialogs.c" +#line 3515 "Dialogs.c" } } } +#line 355 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp57_ = config_facade_get_instance (); +#line 355 "/home/jens/Source/shotwell/src/Dialogs.vala" + config = _tmp57_; +#line 356 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp58_ = config; +#line 356 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp59_ = export_dialog_current_parameters; +#line 356 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp60_ = _tmp59_.mode; +#line 356 "/home/jens/Source/shotwell/src/Dialogs.vala" + configuration_facade_set_export_export_format_mode (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp60_); +#line 357 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp61_ = config; +#line 357 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp62_ = export_dialog_current_parameters; +#line 357 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp63_ = _tmp62_.specified_format; +#line 357 "/home/jens/Source/shotwell/src/Dialogs.vala" + configuration_facade_set_export_photo_file_format (G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp63_); +#line 358 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp64_ = config; +#line 358 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp65_ = export_dialog_current_parameters; +#line 358 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp66_ = _tmp65_.quality; +#line 358 "/home/jens/Source/shotwell/src/Dialogs.vala" + configuration_facade_set_export_quality (G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp66_); +#line 359 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp67_ = config; +#line 359 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp68_ = export_dialog_current_parameters; +#line 359 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp69_ = _tmp68_.export_metadata; +#line 359 "/home/jens/Source/shotwell/src/Dialogs.vala" + configuration_facade_set_export_export_metadata (G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp69_); +#line 360 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp70_ = config; +#line 360 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp71_ = export_dialog_current_constraint; +#line 360 "/home/jens/Source/shotwell/src/Dialogs.vala" + configuration_facade_set_export_constraint (G_TYPE_CHECK_INSTANCE_CAST (_tmp70_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp71_); +#line 361 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp72_ = config; +#line 361 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp73_ = export_dialog_current_scale; +#line 361 "/home/jens/Source/shotwell/src/Dialogs.vala" + configuration_facade_set_export_scale (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp73_); +#line 330 "/home/jens/Source/shotwell/src/Dialogs.vala" + _g_object_unref0 (config); +#line 3569 "Dialogs.c" } else { -#line 347 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 363 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_scale = 0; -#line 348 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 364 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_constraint = SCALE_CONSTRAINT_ORIGINAL; -#line 3447 "Dialogs.c" +#line 3575 "Dialogs.c" } -#line 351 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 367 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 353 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala" result = ok; -#line 353 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala" if (scale) { -#line 353 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala" *scale = _vala_scale; -#line 3457 "Dialogs.c" +#line 3585 "Dialogs.c" } -#line 353 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala" if (constraint) { -#line 353 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala" *constraint = _vala_constraint; -#line 3463 "Dialogs.c" +#line 3591 "Dialogs.c" } -#line 353 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 3467 "Dialogs.c" +#line 3595 "Dialogs.c" } static void export_dialog_add_label (ExportDialog* self, const gchar* text, gint x, gint y, GtkWidget* widget) { - GtkAlignment* left_aligned = NULL; - GtkAlignment* _tmp0_ = NULL; GtkLabel* new_label = NULL; - const gchar* _tmp1_ = NULL; + const gchar* _tmp0_ = NULL; + GtkLabel* _tmp1_ = NULL; GtkLabel* _tmp2_ = NULL; GtkLabel* _tmp3_ = NULL; - GtkWidget* _tmp4_ = NULL; - GtkAlignment* _tmp7_ = NULL; - GtkLabel* _tmp8_ = NULL; - GtkGrid* _tmp9_ = NULL; - GtkAlignment* _tmp10_ = NULL; + GtkLabel* _tmp4_ = NULL; + GtkWidget* _tmp5_ = NULL; + GtkGrid* _tmp8_ = NULL; + GtkLabel* _tmp9_ = NULL; + gint _tmp10_ = 0; gint _tmp11_ = 0; - gint _tmp12_ = 0; -#line 356 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 372 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_EXPORT_DIALOG (self)); -#line 356 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 372 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (text != NULL); -#line 356 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 372 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail ((widget == NULL) || GTK_IS_WIDGET (widget)); -#line 357 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp0_ = (GtkAlignment*) gtk_alignment_new ((gfloat) 1, 0.5f, (gfloat) 0, (gfloat) 0); -#line 357 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_object_ref_sink (_tmp0_); -#line 357 "/home/jens/Source/shotwell/src/Dialogs.vala" - left_aligned = _tmp0_; -#line 359 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp1_ = text; -#line 359 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp2_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp1_); -#line 359 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_object_ref_sink (_tmp2_); -#line 359 "/home/jens/Source/shotwell/src/Dialogs.vala" - new_label = _tmp2_; -#line 360 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 373 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp0_ = text; +#line 373 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp1_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp0_); +#line 373 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_object_ref_sink (_tmp1_); +#line 373 "/home/jens/Source/shotwell/src/Dialogs.vala" + new_label = _tmp1_; +#line 374 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp2_ = new_label; +#line 374 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_END); +#line 375 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = new_label; -#line 360 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_label_set_use_underline (_tmp3_, TRUE); -#line 362 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp4_ = widget; -#line 362 "/home/jens/Source/shotwell/src/Dialogs.vala" - if (_tmp4_ != NULL) { -#line 3513 "Dialogs.c" - GtkLabel* _tmp5_ = NULL; - GtkWidget* _tmp6_ = NULL; -#line 363 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp5_ = new_label; -#line 363 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp6_ = widget; -#line 363 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_label_set_mnemonic_widget (_tmp5_, _tmp6_); -#line 3522 "Dialogs.c" - } -#line 365 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp7_ = left_aligned; -#line 365 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp8_ = new_label; -#line 365 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget)); -#line 367 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp9_ = self->priv->table; -#line 367 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp10_ = left_aligned; -#line 367 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp11_ = x; -#line 367 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp12_ = y; -#line 367 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_grid_attach (_tmp9_, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), _tmp11_, _tmp12_, 1, 1); -#line 356 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 375 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER); +#line 376 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp4_ = new_label; +#line 376 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_label_set_use_underline (_tmp4_, TRUE); +#line 378 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp5_ = widget; +#line 378 "/home/jens/Source/shotwell/src/Dialogs.vala" + if (_tmp5_ != NULL) { +#line 3641 "Dialogs.c" + GtkLabel* _tmp6_ = NULL; + GtkWidget* _tmp7_ = NULL; +#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp6_ = new_label; +#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp7_ = widget; +#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_label_set_mnemonic_widget (_tmp6_, _tmp7_); +#line 3650 "Dialogs.c" + } +#line 381 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp8_ = self->priv->table; +#line 381 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp9_ = new_label; +#line 381 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp10_ = x; +#line 381 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp11_ = y; +#line 381 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_grid_attach (_tmp8_, G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), _tmp10_, _tmp11_, 1, 1); +#line 372 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (new_label); -#line 356 "/home/jens/Source/shotwell/src/Dialogs.vala" - _g_object_unref0 (left_aligned); -#line 3544 "Dialogs.c" +#line 3664 "Dialogs.c" } static void export_dialog_add_control (ExportDialog* self, GtkWidget* widget, gint x, gint y) { - GtkAlignment* left_aligned = NULL; - GtkAlignment* _tmp0_ = NULL; + GtkWidget* _tmp0_ = NULL; GtkWidget* _tmp1_ = NULL; - GtkGrid* _tmp2_ = NULL; - gint _tmp3_ = 0; - gint _tmp4_ = 0; -#line 370 "/home/jens/Source/shotwell/src/Dialogs.vala" + GtkWidget* _tmp2_ = NULL; + GtkWidget* _tmp3_ = NULL; + GtkGrid* _tmp4_ = NULL; + GtkWidget* _tmp5_ = NULL; + gint _tmp6_ = 0; + gint _tmp7_ = 0; +#line 384 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_EXPORT_DIALOG (self)); -#line 370 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 384 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (GTK_IS_WIDGET (widget)); -#line 371 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp0_ = (GtkAlignment*) gtk_alignment_new ((gfloat) 0, 0.5f, (gfloat) 1, (gfloat) 0); -#line 371 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_object_ref_sink (_tmp0_); -#line 371 "/home/jens/Source/shotwell/src/Dialogs.vala" - left_aligned = _tmp0_; -#line 372 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 385 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp0_ = widget; +#line 385 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_widget_set_halign (_tmp0_, GTK_ALIGN_FILL); +#line 386 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = widget; -#line 372 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (left_aligned, gtk_container_get_type (), GtkContainer), _tmp1_); -#line 374 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp2_ = self->priv->table; -#line 374 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp3_ = x; -#line 374 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp4_ = y; -#line 374 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_grid_attach (_tmp2_, G_TYPE_CHECK_INSTANCE_CAST (left_aligned, gtk_widget_get_type (), GtkWidget), _tmp3_, _tmp4_, 1, 1); -#line 370 "/home/jens/Source/shotwell/src/Dialogs.vala" - _g_object_unref0 (left_aligned); -#line 3579 "Dialogs.c" +#line 386 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_widget_set_valign (_tmp1_, GTK_ALIGN_CENTER); +#line 387 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp2_ = widget; +#line 387 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_widget_set_hexpand (_tmp2_, TRUE); +#line 388 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp3_ = widget; +#line 388 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_widget_set_vexpand (_tmp3_, TRUE); +#line 390 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp4_ = self->priv->table; +#line 390 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp5_ = widget; +#line 390 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp6_ = x; +#line 390 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp7_ = y; +#line 390 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_grid_attach (_tmp4_, _tmp5_, _tmp6_, _tmp7_, 1, 1); +#line 3707 "Dialogs.c" } @@ -3603,81 +3731,81 @@ static void export_dialog_on_constraint_changed (ExportDialog* self) { gboolean _tmp14_ = FALSE; GtkComboBoxText* _tmp16_ = NULL; gboolean _tmp17_ = FALSE; -#line 377 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 393 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_EXPORT_DIALOG (self)); -#line 378 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 394 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->constraint_combo; -#line 378 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 394 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox)); -#line 378 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 394 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = EXPORT_DIALOG_CONSTRAINT_ARRAY[_tmp1_]; -#line 378 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 394 "/home/jens/Source/shotwell/src/Dialogs.vala" original = _tmp2_ == SCALE_CONSTRAINT_ORIGINAL; -#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = self->priv->format_combo; -#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = gtk_combo_box_text_get_active_text (_tmp3_); -#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_; -#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = photo_file_format_get_properties (PHOTO_FILE_FORMAT_JFIF); -#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _tmp6_; -#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = photo_file_format_properties_get_user_visible_name (_tmp7_); -#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _tmp8_; -#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = g_strcmp0 (_tmp5_, _tmp9_) == 0; -#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp9_); -#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala" _photo_file_format_properties_unref0 (_tmp7_); -#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp5_); -#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 395 "/home/jens/Source/shotwell/src/Dialogs.vala" jpeg = _tmp10_; -#line 381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 397 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = self->priv->pixels_entry; -#line 381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 397 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = original; -#line 381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 397 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), !_tmp12_); -#line 382 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = original; -#line 382 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp14_) { -#line 3647 "Dialogs.c" +#line 3775 "Dialogs.c" gboolean _tmp15_ = FALSE; -#line 382 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = jpeg; -#line 382 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = _tmp15_; -#line 3653 "Dialogs.c" +#line 3781 "Dialogs.c" } else { -#line 382 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = FALSE; -#line 3657 "Dialogs.c" +#line 3785 "Dialogs.c" } -#line 382 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = self->priv->quality_combo; -#line 382 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_widget_get_type (), GtkWidget), _tmp13_); -#line 383 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 399 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = original; -#line 383 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 399 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp17_) { -#line 3667 "Dialogs.c" +#line 3795 "Dialogs.c" GtkWidget* _tmp18_ = NULL; -#line 384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 400 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = self->priv->ok_button; -#line 384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 400 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (_tmp18_, TRUE); -#line 3673 "Dialogs.c" +#line 3801 "Dialogs.c" } else { -#line 386 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 402 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_on_pixels_changed (self); -#line 3677 "Dialogs.c" +#line 3805 "Dialogs.c" } } @@ -3691,102 +3819,102 @@ static void export_dialog_on_format_changed (ExportDialog* self) { gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; -#line 389 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 405 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_EXPORT_DIALOG (self)); -#line 390 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 406 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->constraint_combo; -#line 390 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 406 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox)); -#line 390 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 406 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = EXPORT_DIALOG_CONSTRAINT_ARRAY[_tmp1_]; -#line 390 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 406 "/home/jens/Source/shotwell/src/Dialogs.vala" original = _tmp2_ == SCALE_CONSTRAINT_ORIGINAL; -#line 392 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 408 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = self->priv->format_combo; -#line 392 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 408 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = gtk_combo_box_text_get_active_text (_tmp3_); -#line 392 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 408 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_; -#line 392 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 408 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = g_strcmp0 (_tmp5_, EXPORT_DIALOG_UNMODIFIED_FORMAT_LABEL) == 0; -#line 392 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 408 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp5_); -#line 392 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 408 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp6_) { -#line 3713 "Dialogs.c" +#line 3841 "Dialogs.c" GtkComboBoxText* _tmp7_ = NULL; GtkComboBoxText* _tmp8_ = NULL; GtkComboBoxText* _tmp9_ = NULL; GtkEntry* _tmp10_ = NULL; - GtkCheckButton* _tmp11_ = NULL; - GtkCheckButton* _tmp12_ = NULL; -#line 397 "/home/jens/Source/shotwell/src/Dialogs.vala" + GtkSwitch* _tmp11_ = NULL; + GtkSwitch* _tmp12_ = NULL; +#line 413 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = self->priv->constraint_combo; -#line 397 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 413 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_combo_box_get_type (), GtkComboBox), 0); -#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 414 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = self->priv->constraint_combo; -#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 414 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 399 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 415 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = self->priv->quality_combo; -#line 399 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 415 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 400 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 416 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = self->priv->pixels_entry; -#line 400 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 416 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 401 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 417 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = self->priv->export_metadata; -#line 401 "/home/jens/Source/shotwell/src/Dialogs.vala" - gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_toggle_button_get_type (), GtkToggleButton), FALSE); -#line 402 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 417 "/home/jens/Source/shotwell/src/Dialogs.vala" + gtk_switch_set_active (_tmp11_, FALSE); +#line 418 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = self->priv->export_metadata; -#line 402 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 418 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 3744 "Dialogs.c" +#line 3872 "Dialogs.c" } else { GtkComboBoxText* _tmp13_ = NULL; gchar* _tmp14_ = NULL; gchar* _tmp15_ = NULL; gboolean _tmp16_ = FALSE; -#line 403 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 419 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = self->priv->format_combo; -#line 403 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 419 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = gtk_combo_box_text_get_active_text (_tmp13_); -#line 403 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 419 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = _tmp14_; -#line 403 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 419 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = g_strcmp0 (_tmp15_, EXPORT_DIALOG_CURRENT_FORMAT_LABEL) == 0; -#line 403 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 419 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp15_); -#line 403 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 419 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp16_) { -#line 3762 "Dialogs.c" +#line 3890 "Dialogs.c" GtkComboBoxText* _tmp17_ = NULL; GtkComboBoxText* _tmp18_ = NULL; GtkEntry* _tmp19_ = NULL; gboolean _tmp20_ = FALSE; - GtkCheckButton* _tmp21_ = NULL; -#line 410 "/home/jens/Source/shotwell/src/Dialogs.vala" + GtkSwitch* _tmp21_ = NULL; +#line 426 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = self->priv->constraint_combo; -#line 410 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 426 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 411 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 427 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = self->priv->quality_combo; -#line 411 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 427 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 412 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 428 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = self->priv->pixels_entry; -#line 412 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 428 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = original; -#line 412 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 428 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget), !_tmp20_); -#line 413 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 429 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = self->priv->export_metadata; -#line 413 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 429 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 3786 "Dialogs.c" +#line 3914 "Dialogs.c" } else { GtkComboBoxText* _tmp22_ = NULL; gboolean jpeg = FALSE; @@ -3794,51 +3922,51 @@ static void export_dialog_on_format_changed (ExportDialog* self) { gboolean _tmp24_ = FALSE; gboolean _tmp25_ = FALSE; GtkComboBoxText* _tmp27_ = NULL; - GtkCheckButton* _tmp28_ = NULL; -#line 418 "/home/jens/Source/shotwell/src/Dialogs.vala" + GtkSwitch* _tmp28_ = NULL; +#line 434 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = self->priv->constraint_combo; -#line 418 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 434 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 419 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 435 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = export_dialog_get_specified_format (self); -#line 419 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 435 "/home/jens/Source/shotwell/src/Dialogs.vala" jpeg = _tmp23_ == PHOTO_FILE_FORMAT_JFIF; -#line 420 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = original; -#line 420 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp25_) { -#line 3807 "Dialogs.c" +#line 3935 "Dialogs.c" gboolean _tmp26_ = FALSE; -#line 420 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = jpeg; -#line 420 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = _tmp26_; -#line 3813 "Dialogs.c" +#line 3941 "Dialogs.c" } else { -#line 420 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = FALSE; -#line 3817 "Dialogs.c" +#line 3945 "Dialogs.c" } -#line 420 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = self->priv->quality_combo; -#line 420 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_widget_get_type (), GtkWidget), _tmp24_); -#line 421 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 437 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = self->priv->export_metadata; -#line 421 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 437 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 3827 "Dialogs.c" +#line 3955 "Dialogs.c" } } } static void export_dialog_on_activate (ExportDialog* self) { -#line 425 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 441 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_EXPORT_DIALOG (self)); -#line 426 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 442 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK); -#line 3838 "Dialogs.c" +#line 3966 "Dialogs.c" } @@ -3847,37 +3975,37 @@ static void export_dialog_on_pixels_changed (ExportDialog* self) { GtkEntry* _tmp1_ = NULL; guint16 _tmp2_ = 0U; GtkWidget* _tmp6_ = NULL; -#line 429 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 445 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_EXPORT_DIALOG (self)); -#line 430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->pixels_entry; -#line 430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_entry_get_text_length (_tmp1_); -#line 430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala" if (((gint) _tmp2_) > 0) { -#line 3855 "Dialogs.c" +#line 3983 "Dialogs.c" GtkEntry* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gint _tmp5_ = 0; -#line 430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = self->priv->pixels_entry; -#line 430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = gtk_entry_get_text (_tmp3_); -#line 430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = atoi (_tmp4_); -#line 430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _tmp5_ > 0; -#line 3867 "Dialogs.c" +#line 3995 "Dialogs.c" } else { -#line 430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = FALSE; -#line 3871 "Dialogs.c" +#line 3999 "Dialogs.c" } -#line 430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = self->priv->ok_button; -#line 430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (_tmp6_, _tmp0_); -#line 3877 "Dialogs.c" +#line 4005 "Dialogs.c" } @@ -3895,7 +4023,7 @@ static gchar string_get (const gchar* self, glong index) { result = _tmp1_; #line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 3895 "Dialogs.c" +#line 4023 "Dialogs.c" } @@ -3908,94 +4036,94 @@ static void export_dialog_on_pixels_insert_text (ExportDialog* self, const gchar gint _tmp22_ = 0; gint _tmp23_ = 0; GtkEntry* _tmp29_ = NULL; -#line 433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 449 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_EXPORT_DIALOG (self)); -#line 433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 449 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (text != NULL); -#line 435 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 451 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->in_insert; -#line 435 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 451 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_) { -#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 452 "/home/jens/Source/shotwell/src/Dialogs.vala" return; -#line 3918 "Dialogs.c" +#line 4046 "Dialogs.c" } -#line 438 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 454 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->in_insert = TRUE; -#line 440 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 456 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = length; -#line 440 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 456 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp1_ == -1) { -#line 3926 "Dialogs.c" +#line 4054 "Dialogs.c" const gchar* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 441 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 457 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = text; -#line 441 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 457 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = strlen (_tmp2_); -#line 441 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 457 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp3_; -#line 441 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 457 "/home/jens/Source/shotwell/src/Dialogs.vala" length = (gint) _tmp4_; -#line 3938 "Dialogs.c" +#line 4066 "Dialogs.c" } -#line 444 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 460 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = g_strdup (""); -#line 444 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 460 "/home/jens/Source/shotwell/src/Dialogs.vala" new_text = _tmp5_; -#line 3944 "Dialogs.c" +#line 4072 "Dialogs.c" { gint ctr = 0; -#line 445 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala" ctr = 0; -#line 3949 "Dialogs.c" +#line 4077 "Dialogs.c" { gboolean _tmp6_ = FALSE; -#line 445 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = TRUE; -#line 445 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 3956 "Dialogs.c" +#line 4084 "Dialogs.c" gint _tmp8_ = 0; gint _tmp9_ = 0; const gchar* _tmp10_ = NULL; gint _tmp11_ = 0; gchar _tmp12_ = '\0'; gboolean _tmp13_ = FALSE; -#line 445 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp6_) { -#line 3965 "Dialogs.c" +#line 4093 "Dialogs.c" gint _tmp7_ = 0; -#line 445 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = ctr; -#line 445 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala" ctr = _tmp7_ + 1; -#line 3971 "Dialogs.c" +#line 4099 "Dialogs.c" } -#line 445 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = FALSE; -#line 445 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = ctr; -#line 445 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = length; -#line 445 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!(_tmp8_ < _tmp9_)) { -#line 445 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 3983 "Dialogs.c" +#line 4111 "Dialogs.c" } -#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 462 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = text; -#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 462 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = ctr; -#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 462 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = string_get (_tmp10_, (glong) _tmp11_); -#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 462 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = g_ascii_isdigit (_tmp12_); -#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 462 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp13_) { -#line 3995 "Dialogs.c" +#line 4123 "Dialogs.c" const gchar* _tmp14_ = NULL; const gchar* _tmp15_ = NULL; gint _tmp16_ = 0; @@ -4003,133 +4131,133 @@ static void export_dialog_on_pixels_insert_text (ExportDialog* self, const gchar gchar* _tmp18_ = NULL; gchar* _tmp19_ = NULL; gchar* _tmp20_ = NULL; -#line 447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = new_text; -#line 447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = text; -#line 447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = ctr; -#line 447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = string_get (_tmp15_, (glong) _tmp16_); -#line 447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = g_strdup_printf ("%c", (gchar) _tmp17_); -#line 447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = _tmp18_; -#line 447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = g_strconcat (_tmp14_, _tmp19_, NULL); -#line 447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (new_text); -#line 447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala" new_text = _tmp20_; -#line 447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp19_); -#line 4023 "Dialogs.c" +#line 4151 "Dialogs.c" } } } } -#line 451 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 467 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = new_text; -#line 451 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 467 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = strlen (_tmp21_); -#line 451 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 467 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = _tmp22_; -#line 451 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 467 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp23_ > 0) { -#line 4036 "Dialogs.c" +#line 4164 "Dialogs.c" GtkEntry* _tmp24_ = NULL; const gchar* _tmp25_ = NULL; const gchar* _tmp26_ = NULL; gint _tmp27_ = 0; gint _tmp28_ = 0; -#line 452 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 468 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = self->priv->pixels_entry; -#line 452 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 468 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = new_text; -#line 452 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 468 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = new_text; -#line 452 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 468 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = strlen (_tmp26_); -#line 452 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 468 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = _tmp27_; -#line 452 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 468 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_editable_insert_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GTK_TYPE_EDITABLE, GtkEditable), _tmp25_, (gint) _tmp28_, position); -#line 4054 "Dialogs.c" +#line 4182 "Dialogs.c" } -#line 454 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 470 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = self->priv->pixels_entry; -#line 454 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 470 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_stop_emission_by_name (_tmp29_, "insert-text"); -#line 456 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->in_insert = FALSE; -#line 433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 449 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (new_text); -#line 4064 "Dialogs.c" +#line 4192 "Dialogs.c" } static void export_dialog_class_init (ExportDialogClass * klass) { ExportFormatParameters _tmp0_ = {0}; -#line 141 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_parent_class = g_type_class_peek_parent (klass); -#line 141 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_class_add_private (klass, sizeof (ExportDialogPrivate)); -#line 141 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala" G_OBJECT_CLASS (klass)->finalize = export_dialog_finalize; -#line 158 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 154 "/home/jens/Source/shotwell/src/Dialogs.vala" export_format_parameters_current (&_tmp0_); -#line 158 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 154 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_current_parameters = _tmp0_; -#line 159 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 155 "/home/jens/Source/shotwell/src/Dialogs.vala" export_dialog_current_scale = EXPORT_DIALOG_DEFAULT_SCALE; -#line 4082 "Dialogs.c" +#line 4210 "Dialogs.c" } static void export_dialog_instance_init (ExportDialog * self) { GtkGrid* _tmp0_ = NULL; GeeArrayList* _tmp1_ = NULL; -#line 141 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv = EXPORT_DIALOG_GET_PRIVATE (self); -#line 161 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 157 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = (GtkGrid*) gtk_grid_new (); -#line 161 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 157 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp0_); -#line 161 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 157 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->table = _tmp0_; -#line 166 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 162 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL); -#line 166 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 162 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->format_options = _tmp1_; -#line 169 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 165 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->in_insert = FALSE; -#line 4103 "Dialogs.c" +#line 4231 "Dialogs.c" } static void export_dialog_finalize (GObject* obj) { ExportDialog * self; -#line 141 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_EXPORT_DIALOG, ExportDialog); -#line 161 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 157 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->table); -#line 162 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 158 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->quality_combo); -#line 163 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 159 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->constraint_combo); -#line 164 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 160 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->format_combo); -#line 165 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 161 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->export_metadata); -#line 166 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 162 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->format_options); -#line 167 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 163 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->pixels_entry); -#line 168 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 164 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->ok_button); -#line 141 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala" G_OBJECT_CLASS (export_dialog_parent_class)->finalize (obj); -#line 4129 "Dialogs.c" +#line 4257 "Dialogs.c" } @@ -4157,39 +4285,39 @@ gchar* import_ui_generate_import_failure_list (GeeList* failed, gboolean show_de gint _tmp29_ = 0; gint _tmp30_ = 0; gint _tmp31_ = 0; -#line 466 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 482 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GEE_IS_LIST (failed), NULL); -#line 467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = failed; -#line 467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _tmp1_; -#line 467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp2_ == 0) { -#line 468 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 484 "/home/jens/Source/shotwell/src/Dialogs.vala" result = NULL; -#line 468 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 484 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 4171 "Dialogs.c" +#line 4299 "Dialogs.c" } -#line 470 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 486 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = g_strdup (""); -#line 470 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 486 "/home/jens/Source/shotwell/src/Dialogs.vala" list = _tmp3_; -#line 4177 "Dialogs.c" +#line 4305 "Dialogs.c" { gint ctr = 0; -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" ctr = 0; -#line 4182 "Dialogs.c" +#line 4310 "Dialogs.c" { gboolean _tmp4_ = FALSE; -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = TRUE; -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 4189 "Dialogs.c" +#line 4317 "Dialogs.c" gboolean _tmp6_ = FALSE; gint _tmp7_ = 0; const gchar* _tmp12_ = NULL; @@ -4198,158 +4326,158 @@ gchar* import_ui_generate_import_failure_list (GeeList* failed, gboolean show_de gchar* _tmp25_ = NULL; gchar* _tmp26_ = NULL; gchar* _tmp27_ = NULL; -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp4_) { -#line 4200 "Dialogs.c" +#line 4328 "Dialogs.c" gint _tmp5_ = 0; -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = ctr; -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" ctr = _tmp5_ + 1; -#line 4206 "Dialogs.c" +#line 4334 "Dialogs.c" } -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = FALSE; -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = ctr; -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp7_ < IMPORT_UI_REPORT_FAILURE_COUNT) { -#line 4214 "Dialogs.c" +#line 4342 "Dialogs.c" gint _tmp8_ = 0; GeeList* _tmp9_ = NULL; gint _tmp10_ = 0; gint _tmp11_ = 0; -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = ctr; -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = failed; -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = _tmp10_; -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _tmp8_ < _tmp11_; -#line 4229 "Dialogs.c" +#line 4357 "Dialogs.c" } else { -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = FALSE; -#line 4233 "Dialogs.c" +#line 4361 "Dialogs.c" } -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp6_) { -#line 471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 4239 "Dialogs.c" +#line 4367 "Dialogs.c" } -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = show_dest_id; -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp13_) { -#line 4245 "Dialogs.c" +#line 4373 "Dialogs.c" GeeList* _tmp14_ = NULL; gint _tmp15_ = 0; gpointer _tmp16_ = NULL; BatchImportResult* _tmp17_ = NULL; const gchar* _tmp18_ = NULL; -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = failed; -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = ctr; -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = gee_list_get (_tmp14_, _tmp15_); -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = (BatchImportResult*) _tmp16_; -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = _tmp17_->dest_identifier; -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = _tmp18_; -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" _batch_import_result_unref0 (_tmp17_); -#line 4265 "Dialogs.c" +#line 4393 "Dialogs.c" } else { GeeList* _tmp19_ = NULL; gint _tmp20_ = 0; gpointer _tmp21_ = NULL; BatchImportResult* _tmp22_ = NULL; const gchar* _tmp23_ = NULL; -#line 473 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = failed; -#line 473 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = ctr; -#line 473 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = gee_list_get (_tmp19_, _tmp20_); -#line 473 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = (BatchImportResult*) _tmp21_; -#line 473 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = _tmp22_->src_identifier; -#line 473 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = _tmp23_; -#line 473 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala" _batch_import_result_unref0 (_tmp22_); -#line 4286 "Dialogs.c" +#line 4414 "Dialogs.c" } -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = list; -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = g_strdup_printf ("%s\n", _tmp12_); -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = _tmp25_; -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = g_strconcat (_tmp24_, _tmp26_, NULL); -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (list); -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" list = _tmp27_; -#line 472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp26_); -#line 4302 "Dialogs.c" +#line 4430 "Dialogs.c" } } } -#line 476 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 492 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = failed; -#line 476 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 492 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 476 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 492 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = _tmp29_; -#line 476 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 492 "/home/jens/Source/shotwell/src/Dialogs.vala" remaining = _tmp30_ - IMPORT_UI_REPORT_FAILURE_COUNT; -#line 477 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 493 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = remaining; -#line 477 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 493 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp31_ > 0) { -#line 4318 "Dialogs.c" +#line 4446 "Dialogs.c" const gchar* _tmp32_ = NULL; const gchar* _tmp33_ = NULL; gint _tmp34_ = 0; gchar* _tmp35_ = NULL; gchar* _tmp36_ = NULL; gchar* _tmp37_ = NULL; -#line 478 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = list; -#line 478 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = _ ("(and %d more)\n"); -#line 478 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp34_ = remaining; -#line 478 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp35_ = g_strdup_printf (_tmp33_, _tmp34_); -#line 478 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp36_ = _tmp35_; -#line 478 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp37_ = g_strconcat (_tmp32_, _tmp36_, NULL); -#line 478 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (list); -#line 478 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala" list = _tmp37_; -#line 478 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp36_); -#line 4343 "Dialogs.c" +#line 4471 "Dialogs.c" } -#line 480 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala" result = list; -#line 480 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 4349 "Dialogs.c" +#line 4477 "Dialogs.c" } @@ -4361,260 +4489,260 @@ ImportUIQuestionParams* import_ui_question_params_construct (GType object_type, gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 504 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (question != NULL, NULL); -#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 504 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (yes_button != NULL, NULL); -#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 504 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (no_button != NULL, NULL); -#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 504 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (ImportUIQuestionParams*) g_type_create_instance (object_type); -#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 505 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = question; -#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 505 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = g_strdup (_tmp0_); -#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 505 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (self->question); -#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 505 "/home/jens/Source/shotwell/src/Dialogs.vala" self->question = _tmp1_; -#line 490 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = yes_button; -#line 490 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = g_strdup (_tmp2_); -#line 490 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (self->yes_button); -#line 490 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" self->yes_button = _tmp3_; -#line 491 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = no_button; -#line 491 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = g_strdup (_tmp4_); -#line 491 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (self->no_button); -#line 491 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala" self->no_button = _tmp5_; -#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 504 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 4395 "Dialogs.c" +#line 4523 "Dialogs.c" } ImportUIQuestionParams* import_ui_question_params_new (const gchar* question, const gchar* yes_button, const gchar* no_button) { -#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 504 "/home/jens/Source/shotwell/src/Dialogs.vala" return import_ui_question_params_construct (IMPORT_UI_TYPE_QUESTION_PARAMS, question, yes_button, no_button); -#line 4402 "Dialogs.c" +#line 4530 "Dialogs.c" } static void import_ui_value_question_params_init (GValue* value) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 4409 "Dialogs.c" +#line 4537 "Dialogs.c" } static void import_ui_value_question_params_free_value (GValue* value) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" if (value->data[0].v_pointer) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" import_ui_question_params_unref (value->data[0].v_pointer); -#line 4418 "Dialogs.c" +#line 4546 "Dialogs.c" } } static void import_ui_value_question_params_copy_value (const GValue* src_value, GValue* dest_value) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" if (src_value->data[0].v_pointer) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" dest_value->data[0].v_pointer = import_ui_question_params_ref (src_value->data[0].v_pointer); -#line 4428 "Dialogs.c" +#line 4556 "Dialogs.c" } else { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" dest_value->data[0].v_pointer = NULL; -#line 4432 "Dialogs.c" +#line 4560 "Dialogs.c" } } static gpointer import_ui_value_question_params_peek_pointer (const GValue* value) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" return value->data[0].v_pointer; -#line 4440 "Dialogs.c" +#line 4568 "Dialogs.c" } static gchar* import_ui_value_question_params_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" if (collect_values[0].v_pointer) { -#line 4447 "Dialogs.c" +#line 4575 "Dialogs.c" ImportUIQuestionParams* object; object = collect_values[0].v_pointer; -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" if (object->parent_instance.g_class == NULL) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 4454 "Dialogs.c" +#line 4582 "Dialogs.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 4458 "Dialogs.c" +#line 4586 "Dialogs.c" } -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = import_ui_question_params_ref (object); -#line 4462 "Dialogs.c" +#line 4590 "Dialogs.c" } else { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 4466 "Dialogs.c" +#line 4594 "Dialogs.c" } -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" return NULL; -#line 4470 "Dialogs.c" +#line 4598 "Dialogs.c" } static gchar* import_ui_value_question_params_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { ImportUIQuestionParams** object_p; object_p = collect_values[0].v_pointer; -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!object_p) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 4481 "Dialogs.c" +#line 4609 "Dialogs.c" } -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!value->data[0].v_pointer) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = NULL; -#line 4487 "Dialogs.c" +#line 4615 "Dialogs.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = value->data[0].v_pointer; -#line 4491 "Dialogs.c" +#line 4619 "Dialogs.c" } else { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = import_ui_question_params_ref (value->data[0].v_pointer); -#line 4495 "Dialogs.c" +#line 4623 "Dialogs.c" } -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" return NULL; -#line 4499 "Dialogs.c" +#line 4627 "Dialogs.c" } GParamSpec* import_ui_param_spec_question_params (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ImportUIParamSpecQuestionParams* spec; -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (g_type_is_a (object_type, IMPORT_UI_TYPE_QUESTION_PARAMS), NULL); -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" return G_PARAM_SPEC (spec); -#line 4513 "Dialogs.c" +#line 4641 "Dialogs.c" } gpointer import_ui_value_get_question_params (const GValue* value) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, IMPORT_UI_TYPE_QUESTION_PARAMS), NULL); -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" return value->data[0].v_pointer; -#line 4522 "Dialogs.c" +#line 4650 "Dialogs.c" } void import_ui_value_set_question_params (GValue* value, gpointer v_object) { ImportUIQuestionParams* old; -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, IMPORT_UI_TYPE_QUESTION_PARAMS)); -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" old = value->data[0].v_pointer; -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" if (v_object) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, IMPORT_UI_TYPE_QUESTION_PARAMS)); -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = v_object; -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" import_ui_question_params_ref (value->data[0].v_pointer); -#line 4542 "Dialogs.c" +#line 4670 "Dialogs.c" } else { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 4546 "Dialogs.c" +#line 4674 "Dialogs.c" } -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" if (old) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" import_ui_question_params_unref (old); -#line 4552 "Dialogs.c" +#line 4680 "Dialogs.c" } } void import_ui_value_take_question_params (GValue* value, gpointer v_object) { ImportUIQuestionParams* old; -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, IMPORT_UI_TYPE_QUESTION_PARAMS)); -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" old = value->data[0].v_pointer; -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" if (v_object) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, IMPORT_UI_TYPE_QUESTION_PARAMS)); -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = v_object; -#line 4571 "Dialogs.c" +#line 4699 "Dialogs.c" } else { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 4575 "Dialogs.c" +#line 4703 "Dialogs.c" } -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" if (old) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" import_ui_question_params_unref (old); -#line 4581 "Dialogs.c" +#line 4709 "Dialogs.c" } } static void import_ui_question_params_class_init (ImportUIQuestionParamsClass * klass) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" import_ui_question_params_parent_class = g_type_class_peek_parent (klass); -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" ((ImportUIQuestionParamsClass *) klass)->finalize = import_ui_question_params_finalize; -#line 4591 "Dialogs.c" +#line 4719 "Dialogs.c" } static void import_ui_question_params_instance_init (ImportUIQuestionParams * self) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" self->ref_count = 1; -#line 4598 "Dialogs.c" +#line 4726 "Dialogs.c" } static void import_ui_question_params_finalize (ImportUIQuestionParams* obj) { ImportUIQuestionParams * self; -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, IMPORT_UI_TYPE_QUESTION_PARAMS, ImportUIQuestionParams); -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_handlers_destroy (self); -#line 484 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 500 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (self->question); -#line 485 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 501 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (self->yes_button); -#line 486 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 502 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (self->no_button); -#line 4614 "Dialogs.c" +#line 4742 "Dialogs.c" } @@ -4635,46 +4763,46 @@ GType import_ui_question_params_get_type (void) { gpointer import_ui_question_params_ref (gpointer instance) { ImportUIQuestionParams* self; self = instance; -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" g_atomic_int_inc (&self->ref_count); -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" return instance; -#line 4639 "Dialogs.c" +#line 4767 "Dialogs.c" } void import_ui_question_params_unref (gpointer instance) { ImportUIQuestionParams* self; self = instance; -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" IMPORT_UI_QUESTION_PARAMS_GET_CLASS (self)->finalize (self); -#line 483 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_free_instance ((GTypeInstance *) self); -#line 4652 "Dialogs.c" +#line 4780 "Dialogs.c" } } gboolean import_ui_import_has_photos (GeeCollection* import_collection) { gboolean result = FALSE; -#line 495 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 511 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GEE_IS_COLLECTION (import_collection), FALSE); -#line 4661 "Dialogs.c" +#line 4789 "Dialogs.c" { GeeIterator* _current_result_it = NULL; GeeCollection* _tmp0_ = NULL; GeeIterator* _tmp1_ = NULL; -#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = import_collection; -#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala" _current_result_it = _tmp1_; -#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 4674 "Dialogs.c" +#line 4802 "Dialogs.c" GeeIterator* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; BatchImportResult* current_result = NULL; @@ -4683,92 +4811,92 @@ gboolean import_ui_import_has_photos (GeeCollection* import_collection) { gboolean _tmp6_ = FALSE; BatchImportResult* _tmp7_ = NULL; GFile* _tmp8_ = NULL; -#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _current_result_it; -#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gee_iterator_next (_tmp2_); -#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp3_) { -#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 4691 "Dialogs.c" +#line 4819 "Dialogs.c" } -#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _current_result_it; -#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = gee_iterator_get (_tmp4_); -#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala" current_result = (BatchImportResult*) _tmp5_; -#line 497 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = current_result; -#line 497 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _tmp7_->file; -#line 497 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp8_ != NULL) { -#line 4705 "Dialogs.c" +#line 4833 "Dialogs.c" BatchImportResult* _tmp9_ = NULL; GFile* _tmp10_ = NULL; PhotoFileFormat _tmp11_ = 0; -#line 498 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 514 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = current_result; -#line 498 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 514 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp9_->file; -#line 498 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 514 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = photo_file_format_get_by_file_extension (_tmp10_); -#line 498 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 514 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _tmp11_ != PHOTO_FILE_FORMAT_UNKNOWN; -#line 4717 "Dialogs.c" +#line 4845 "Dialogs.c" } else { -#line 497 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = FALSE; -#line 4721 "Dialogs.c" +#line 4849 "Dialogs.c" } -#line 497 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp6_) { -#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 515 "/home/jens/Source/shotwell/src/Dialogs.vala" result = TRUE; -#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 515 "/home/jens/Source/shotwell/src/Dialogs.vala" _batch_import_result_unref0 (current_result); -#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 515 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_current_result_it); -#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 515 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 4733 "Dialogs.c" +#line 4861 "Dialogs.c" } -#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala" _batch_import_result_unref0 (current_result); -#line 4737 "Dialogs.c" +#line 4865 "Dialogs.c" } -#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_current_result_it); -#line 4741 "Dialogs.c" +#line 4869 "Dialogs.c" } -#line 502 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 518 "/home/jens/Source/shotwell/src/Dialogs.vala" result = FALSE; -#line 502 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 518 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 4747 "Dialogs.c" +#line 4875 "Dialogs.c" } gboolean import_ui_import_has_videos (GeeCollection* import_collection) { gboolean result = FALSE; -#line 505 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 521 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GEE_IS_COLLECTION (import_collection), FALSE); -#line 4755 "Dialogs.c" +#line 4883 "Dialogs.c" { GeeIterator* _current_result_it = NULL; GeeCollection* _tmp0_ = NULL; GeeIterator* _tmp1_ = NULL; -#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = import_collection; -#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala" _current_result_it = _tmp1_; -#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 4768 "Dialogs.c" +#line 4896 "Dialogs.c" GeeIterator* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; BatchImportResult* current_result = NULL; @@ -4777,71 +4905,71 @@ gboolean import_ui_import_has_videos (GeeCollection* import_collection) { gboolean _tmp6_ = FALSE; BatchImportResult* _tmp7_ = NULL; GFile* _tmp8_ = NULL; -#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _current_result_it; -#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gee_iterator_next (_tmp2_); -#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp3_) { -#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 4785 "Dialogs.c" +#line 4913 "Dialogs.c" } -#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _current_result_it; -#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = gee_iterator_get (_tmp4_); -#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala" current_result = (BatchImportResult*) _tmp5_; -#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = current_result; -#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _tmp7_->file; -#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp8_ != NULL) { -#line 4799 "Dialogs.c" +#line 4927 "Dialogs.c" BatchImportResult* _tmp9_ = NULL; GFile* _tmp10_ = NULL; gboolean _tmp11_ = FALSE; -#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = current_result; -#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp9_->file; -#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = video_reader_is_supported_video_file (_tmp10_); -#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _tmp11_; -#line 4811 "Dialogs.c" +#line 4939 "Dialogs.c" } else { -#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = FALSE; -#line 4815 "Dialogs.c" +#line 4943 "Dialogs.c" } -#line 507 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp6_) { -#line 508 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 524 "/home/jens/Source/shotwell/src/Dialogs.vala" result = TRUE; -#line 508 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 524 "/home/jens/Source/shotwell/src/Dialogs.vala" _batch_import_result_unref0 (current_result); -#line 508 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 524 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_current_result_it); -#line 508 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 524 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 4827 "Dialogs.c" +#line 4955 "Dialogs.c" } -#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala" _batch_import_result_unref0 (current_result); -#line 4831 "Dialogs.c" +#line 4959 "Dialogs.c" } -#line 506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_current_result_it); -#line 4835 "Dialogs.c" +#line 4963 "Dialogs.c" } -#line 510 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 526 "/home/jens/Source/shotwell/src/Dialogs.vala" result = FALSE; -#line 510 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 526 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 4841 "Dialogs.c" +#line 4969 "Dialogs.c" } @@ -4855,106 +4983,106 @@ gchar* import_ui_get_media_specific_string (GeeCollection* import_collection, co gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; gboolean _tmp5_ = FALSE; -#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 529 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GEE_IS_COLLECTION (import_collection), NULL); -#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 529 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (photos_msg != NULL, NULL); -#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 529 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (videos_msg != NULL, NULL); -#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 529 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (both_msg != NULL, NULL); -#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 529 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (neither_msg != NULL, NULL); -#line 515 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = import_collection; -#line 515 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = import_ui_import_has_photos (_tmp0_); -#line 515 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" has_photos = _tmp1_; -#line 516 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 532 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = import_collection; -#line 516 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 532 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = import_ui_import_has_videos (_tmp2_); -#line 516 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 532 "/home/jens/Source/shotwell/src/Dialogs.vala" has_videos = _tmp3_; -#line 518 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = has_photos; -#line 518 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp5_) { -#line 4881 "Dialogs.c" +#line 5009 "Dialogs.c" gboolean _tmp6_ = FALSE; -#line 518 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = has_videos; -#line 518 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp6_; -#line 4887 "Dialogs.c" +#line 5015 "Dialogs.c" } else { -#line 518 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = FALSE; -#line 4891 "Dialogs.c" +#line 5019 "Dialogs.c" } -#line 518 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp4_) { -#line 4895 "Dialogs.c" +#line 5023 "Dialogs.c" const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; -#line 519 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = both_msg; -#line 519 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = g_strdup (_tmp7_); -#line 519 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp8_; -#line 519 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 4906 "Dialogs.c" +#line 5034 "Dialogs.c" } else { gboolean _tmp9_ = FALSE; -#line 520 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 536 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = has_photos; -#line 520 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 536 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp9_) { -#line 4913 "Dialogs.c" +#line 5041 "Dialogs.c" const gchar* _tmp10_ = NULL; gchar* _tmp11_ = NULL; -#line 521 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 537 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = photos_msg; -#line 521 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 537 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = g_strdup (_tmp10_); -#line 521 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 537 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp11_; -#line 521 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 537 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 4924 "Dialogs.c" +#line 5052 "Dialogs.c" } else { gboolean _tmp12_ = FALSE; -#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = has_videos; -#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp12_) { -#line 4931 "Dialogs.c" +#line 5059 "Dialogs.c" const gchar* _tmp13_ = NULL; gchar* _tmp14_ = NULL; -#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 539 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = videos_msg; -#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 539 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = g_strdup (_tmp13_); -#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 539 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp14_; -#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 539 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 4942 "Dialogs.c" +#line 5070 "Dialogs.c" } else { const gchar* _tmp15_ = NULL; gchar* _tmp16_ = NULL; -#line 525 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 541 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = neither_msg; -#line 525 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 541 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = g_strdup (_tmp15_); -#line 525 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 541 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp16_; -#line 525 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 541 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 4954 "Dialogs.c" +#line 5082 "Dialogs.c" } } } @@ -5045,166 +5173,166 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) { GString* _tmp308_ = NULL; const gchar* _tmp309_ = NULL; gchar* _tmp310_ = NULL; -#line 528 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 544 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_IMPORT_MANIFEST (manifest), NULL); -#line 529 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 545 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = g_string_new (""); -#line 529 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 545 "/home/jens/Source/shotwell/src/Dialogs.vala" builder = _tmp0_; -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _ ("Import Results Report"); -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = g_strconcat (_tmp1_, " (Shotwell ", NULL); -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp2_; -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = g_strconcat (_tmp3_, RESOURCES_APP_VERSION, NULL); -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_; -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = g_strconcat (_tmp5_, " @ ", NULL); -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _tmp6_; -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" g_get_current_time (&_tmp8_); -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = g_time_val_to_iso8601 (&_tmp8_); -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp9_; -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = g_strconcat (_tmp7_, _tmp10_, NULL); -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = _tmp11_; -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = g_strconcat (_tmp12_, ")\n\n", NULL); -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = _tmp13_; -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp12_); -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp10_); -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp7_); -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp5_); -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp3_); -#line 531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 547 "/home/jens/Source/shotwell/src/Dialogs.vala" header = _tmp14_; -#line 533 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 549 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = builder; -#line 533 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 549 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = header; -#line 533 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 549 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp15_, _tmp16_); -#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = manifest; -#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = _tmp17_->all; -#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = _tmp19_; -#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = ngettext ("Attempted to import %d file.", "Attempted to import %d files.", (gulong) _tmp20_); -#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = manifest; -#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = _tmp22_->all; -#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = _tmp24_; -#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = g_strdup_printf (_tmp21_, _tmp25_); -#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 551 "/home/jens/Source/shotwell/src/Dialogs.vala" subhead = _tmp26_; -#line 537 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = subhead; -#line 537 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = g_strconcat (_tmp27_, " ", NULL); -#line 537 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (subhead); -#line 537 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" subhead = _tmp28_; -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = subhead; -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = manifest; -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = _tmp30_->success; -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = _tmp32_; -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp34_ = ngettext ("Of these, %d file was successfully imported.", "Of these, %d files were successfully imported.", (gulong) _tmp33_); -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp35_ = manifest; -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp36_ = _tmp35_->success; -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp37_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp38_ = _tmp37_; -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp39_ = g_strdup_printf (_tmp34_, _tmp38_); -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp40_ = _tmp39_; -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp41_ = g_strconcat (_tmp29_, _tmp40_, NULL); -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (subhead); -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" subhead = _tmp41_; -#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 554 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp40_); -#line 541 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 557 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp42_ = subhead; -#line 541 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 557 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp43_ = g_strconcat (_tmp42_, "\n\n", NULL); -#line 541 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 557 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (subhead); -#line 541 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 557 "/home/jens/Source/shotwell/src/Dialogs.vala" subhead = _tmp43_; -#line 542 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 558 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp44_ = builder; -#line 542 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 558 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp45_ = subhead; -#line 542 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 558 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp44_, _tmp45_); -#line 544 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 560 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp46_ = g_strdup (""); -#line 544 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 560 "/home/jens/Source/shotwell/src/Dialogs.vala" current_file_summary = _tmp46_; -#line 549 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp47_ = manifest; -#line 549 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp48_ = _tmp47_->already_imported; -#line 549 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp49_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 549 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp50_ = _tmp49_; -#line 549 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp50_ > 0) { -#line 5187 "Dialogs.c" +#line 5315 "Dialogs.c" GString* _tmp51_ = NULL; const gchar* _tmp52_ = NULL; gchar* _tmp53_ = NULL; gchar* _tmp54_ = NULL; -#line 550 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 566 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp51_ = builder; -#line 550 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 566 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp52_ = _ ("Duplicate Photos/Videos Not Imported:"); -#line 550 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 566 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp53_ = g_strconcat (_tmp52_, "\n\n", NULL); -#line 550 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 566 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp54_ = _tmp53_; -#line 550 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 566 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp51_, _tmp54_); -#line 550 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 566 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp54_); -#line 5204 "Dialogs.c" +#line 5332 "Dialogs.c" { GeeList* _result_list = NULL; ImportManifest* _tmp55_ = NULL; @@ -5215,27 +5343,27 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) { gint _tmp59_ = 0; gint _tmp60_ = 0; gint _result_index = 0; -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp55_ = manifest; -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp56_ = _tmp55_->already_imported; -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp57_ = _g_object_ref0 (_tmp56_); -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_list = _tmp57_; -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp58_ = _result_list; -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp59_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp60_ = _tmp59_; -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_size = _tmp60_; -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_index = -1; -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 5235 "Dialogs.c" +#line 5363 "Dialogs.c" gint _tmp61_ = 0; gint _tmp62_ = 0; gint _tmp63_ = 0; @@ -5263,123 +5391,123 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) { gchar* _tmp84_ = NULL; GString* _tmp85_ = NULL; const gchar* _tmp86_ = NULL; -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp61_ = _result_index; -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_index = _tmp61_ + 1; -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp62_ = _result_index; -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp63_ = _result_size; -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!(_tmp62_ < _tmp63_)) { -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 5275 "Dialogs.c" +#line 5403 "Dialogs.c" } -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp64_ = _result_list; -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp65_ = _result_index; -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp66_ = gee_list_get (_tmp64_, _tmp65_); -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = (BatchImportResult*) _tmp66_; -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp67_ = _result_; -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp68_ = _tmp67_->src_identifier; -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp69_ = g_strconcat (_tmp68_, " ", NULL); -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp70_ = _tmp69_; -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp71_ = _ ("duplicates existing media item"); -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp72_ = g_strconcat (_tmp70_, _tmp71_, NULL); -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp73_ = _tmp72_; -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp74_ = g_strconcat (_tmp73_, "\n\t", NULL); -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp75_ = _tmp74_; -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp76_ = _result_; -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp77_ = _tmp76_->duplicate_of; -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp78_ = duplicated_file_get_file (_tmp77_); -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp79_ = _tmp78_; -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp80_ = g_file_get_path (_tmp79_); -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp81_ = _tmp80_; -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp82_ = g_strconcat (_tmp75_, _tmp81_, NULL); -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp83_ = _tmp82_; -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp84_ = g_strconcat (_tmp83_, "\n\n", NULL); -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (current_file_summary); -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" current_file_summary = _tmp84_; -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp83_); -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp81_); -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp79_); -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp75_); -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp73_); -#line 553 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 569 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp70_); -#line 557 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 573 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp85_ = builder; -#line 557 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 573 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp86_ = current_file_summary; -#line 557 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 573 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp85_, _tmp86_); -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _batch_import_result_unref0 (_result_); -#line 5345 "Dialogs.c" +#line 5473 "Dialogs.c" } -#line 552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_result_list); -#line 5349 "Dialogs.c" +#line 5477 "Dialogs.c" } } -#line 564 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 580 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp87_ = manifest; -#line 564 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 580 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp88_ = _tmp87_->camera_failed; -#line 564 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 580 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp89_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp88_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 564 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 580 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp90_ = _tmp89_; -#line 564 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 580 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp90_ > 0) { -#line 5362 "Dialogs.c" +#line 5490 "Dialogs.c" GString* _tmp91_ = NULL; const gchar* _tmp92_ = NULL; gchar* _tmp93_ = NULL; gchar* _tmp94_ = NULL; -#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 581 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp91_ = builder; -#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 581 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp92_ = _ ("Photos/Videos Not Imported Due to Camera Errors:"); -#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 581 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp93_ = g_strconcat (_tmp92_, "\n\n", NULL); -#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 581 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp94_ = _tmp93_; -#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 581 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp91_, _tmp94_); -#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 581 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp94_); -#line 5379 "Dialogs.c" +#line 5507 "Dialogs.c" { GeeList* _result_list = NULL; ImportManifest* _tmp95_ = NULL; @@ -5390,27 +5518,27 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) { gint _tmp99_ = 0; gint _tmp100_ = 0; gint _result_index = 0; -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp95_ = manifest; -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp96_ = _tmp95_->camera_failed; -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp97_ = _g_object_ref0 (_tmp96_); -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_list = _tmp97_; -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp98_ = _result_list; -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp99_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp98_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp100_ = _tmp99_; -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_size = _tmp100_; -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_index = -1; -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 5410 "Dialogs.c" +#line 5538 "Dialogs.c" gint _tmp101_ = 0; gint _tmp102_ = 0; gint _tmp103_ = 0; @@ -5434,112 +5562,112 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) { gchar* _tmp120_ = NULL; GString* _tmp121_ = NULL; const gchar* _tmp122_ = NULL; -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp101_ = _result_index; -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_index = _tmp101_ + 1; -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp102_ = _result_index; -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp103_ = _result_size; -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!(_tmp102_ < _tmp103_)) { -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 5446 "Dialogs.c" +#line 5574 "Dialogs.c" } -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp104_ = _result_list; -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp105_ = _result_index; -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp106_ = gee_list_get (_tmp104_, _tmp105_); -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = (BatchImportResult*) _tmp106_; -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp107_ = _result_; -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp108_ = _tmp107_->src_identifier; -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp109_ = g_strconcat (_tmp108_, "\n\t", NULL); -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp110_ = _tmp109_; -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp111_ = _ ("error message:"); -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp112_ = g_strconcat (_tmp110_, _tmp111_, NULL); -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp113_ = _tmp112_; -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp114_ = g_strconcat (_tmp113_, " ", NULL); -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp115_ = _tmp114_; -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp116_ = _result_; -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp117_ = _tmp116_->errmsg; -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp118_ = g_strconcat (_tmp115_, _tmp117_, NULL); -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp119_ = _tmp118_; -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp120_ = g_strconcat (_tmp119_, "\n\n", NULL); -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (current_file_summary); -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" current_file_summary = _tmp120_; -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp119_); -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp115_); -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp113_); -#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 584 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp110_); -#line 571 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 587 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp121_ = builder; -#line 571 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 587 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp122_ = current_file_summary; -#line 571 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 587 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp121_, _tmp122_); -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _batch_import_result_unref0 (_result_); -#line 5504 "Dialogs.c" +#line 5632 "Dialogs.c" } -#line 567 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_result_list); -#line 5508 "Dialogs.c" +#line 5636 "Dialogs.c" } } -#line 578 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp123_ = manifest; -#line 578 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp124_ = _tmp123_->skipped_files; -#line 578 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp125_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp124_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 578 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp126_ = _tmp125_; -#line 578 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp126_ > 0) { -#line 5521 "Dialogs.c" +#line 5649 "Dialogs.c" GString* _tmp127_ = NULL; const gchar* _tmp128_ = NULL; gchar* _tmp129_ = NULL; gchar* _tmp130_ = NULL; -#line 579 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 595 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp127_ = builder; -#line 579 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp128_ = _ ("Files Not Imported Because They Weren't Recognized as Photos or Videos" \ +#line 595 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp128_ = _ ("Files Not Imported Because They Weren’t Recognized as Photos or Videos" \ ":"); -#line 579 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 595 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp129_ = g_strconcat (_tmp128_, "\n\n", NULL); -#line 579 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 595 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp130_ = _tmp129_; -#line 579 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 595 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp127_, _tmp130_); -#line 579 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 595 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp130_); -#line 5538 "Dialogs.c" +#line 5666 "Dialogs.c" { GeeList* _result_list = NULL; ImportManifest* _tmp131_ = NULL; @@ -5550,27 +5678,27 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) { gint _tmp135_ = 0; gint _tmp136_ = 0; gint _result_index = 0; -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp131_ = manifest; -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp132_ = _tmp131_->skipped_files; -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp133_ = _g_object_ref0 (_tmp132_); -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_list = _tmp133_; -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp134_ = _result_list; -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp135_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp134_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp136_ = _tmp135_; -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_size = _tmp136_; -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_index = -1; -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 5569 "Dialogs.c" +#line 5697 "Dialogs.c" gint _tmp137_ = 0; gint _tmp138_ = 0; gint _tmp139_ = 0; @@ -5594,112 +5722,112 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) { gchar* _tmp156_ = NULL; GString* _tmp157_ = NULL; const gchar* _tmp158_ = NULL; -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp137_ = _result_index; -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_index = _tmp137_ + 1; -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp138_ = _result_index; -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp139_ = _result_size; -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!(_tmp138_ < _tmp139_)) { -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 5605 "Dialogs.c" +#line 5733 "Dialogs.c" } -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp140_ = _result_list; -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp141_ = _result_index; -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp142_ = gee_list_get (_tmp140_, _tmp141_); -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = (BatchImportResult*) _tmp142_; -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp143_ = _result_; -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp144_ = _tmp143_->src_identifier; -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp145_ = g_strconcat (_tmp144_, "\n\t", NULL); -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp146_ = _tmp145_; -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp147_ = _ ("error message:"); -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp148_ = g_strconcat (_tmp146_, _tmp147_, NULL); -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp149_ = _tmp148_; -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp150_ = g_strconcat (_tmp149_, " ", NULL); -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp151_ = _tmp150_; -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp152_ = _result_; -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp153_ = _tmp152_->errmsg; -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp154_ = g_strconcat (_tmp151_, _tmp153_, NULL); -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp155_ = _tmp154_; -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp156_ = g_strconcat (_tmp155_, "\n\n", NULL); -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (current_file_summary); -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" current_file_summary = _tmp156_; -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp155_); -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp151_); -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp149_); -#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 599 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp146_); -#line 586 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 602 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp157_ = builder; -#line 586 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 602 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp158_ = current_file_summary; -#line 586 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 602 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp157_, _tmp158_); -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _batch_import_result_unref0 (_result_); -#line 5663 "Dialogs.c" +#line 5791 "Dialogs.c" } -#line 582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_result_list); -#line 5667 "Dialogs.c" +#line 5795 "Dialogs.c" } } -#line 593 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp159_ = manifest; -#line 593 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp160_ = _tmp159_->skipped_photos; -#line 593 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp161_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp160_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 593 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp162_ = _tmp161_; -#line 593 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp162_ > 0) { -#line 5680 "Dialogs.c" +#line 5808 "Dialogs.c" GString* _tmp163_ = NULL; const gchar* _tmp164_ = NULL; gchar* _tmp165_ = NULL; gchar* _tmp166_ = NULL; -#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 610 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp163_ = builder; -#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp164_ = _ ("Photos/Videos Not Imported Because They Weren't in a Format Shotwell U" \ +#line 610 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp164_ = _ ("Photos/Videos Not Imported Because They Weren’t in a Format Shotwell U" \ "nderstands:"); -#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 610 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp165_ = g_strconcat (_tmp164_, "\n\n", NULL); -#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 610 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp166_ = _tmp165_; -#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 610 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp163_, _tmp166_); -#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 610 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp166_); -#line 5697 "Dialogs.c" +#line 5825 "Dialogs.c" { GeeList* _result_list = NULL; ImportManifest* _tmp167_ = NULL; @@ -5710,27 +5838,27 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) { gint _tmp171_ = 0; gint _tmp172_ = 0; gint _result_index = 0; -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp167_ = manifest; -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp168_ = _tmp167_->skipped_photos; -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp169_ = _g_object_ref0 (_tmp168_); -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_list = _tmp169_; -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp170_ = _result_list; -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp171_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp170_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp172_ = _tmp171_; -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_size = _tmp172_; -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_index = -1; -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 5728 "Dialogs.c" +#line 5856 "Dialogs.c" gint _tmp173_ = 0; gint _tmp174_ = 0; gint _tmp175_ = 0; @@ -5754,112 +5882,112 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) { gchar* _tmp192_ = NULL; GString* _tmp193_ = NULL; const gchar* _tmp194_ = NULL; -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp173_ = _result_index; -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_index = _tmp173_ + 1; -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp174_ = _result_index; -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp175_ = _result_size; -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!(_tmp174_ < _tmp175_)) { -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 5764 "Dialogs.c" +#line 5892 "Dialogs.c" } -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp176_ = _result_list; -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp177_ = _result_index; -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp178_ = gee_list_get (_tmp176_, _tmp177_); -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = (BatchImportResult*) _tmp178_; -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp179_ = _result_; -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp180_ = _tmp179_->src_identifier; -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp181_ = g_strconcat (_tmp180_, "\n\t", NULL); -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp182_ = _tmp181_; -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp183_ = _ ("error message:"); -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp184_ = g_strconcat (_tmp182_, _tmp183_, NULL); -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp185_ = _tmp184_; -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp186_ = g_strconcat (_tmp185_, " ", NULL); -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp187_ = _tmp186_; -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp188_ = _result_; -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp189_ = _tmp188_->errmsg; -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp190_ = g_strconcat (_tmp187_, _tmp189_, NULL); -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp191_ = _tmp190_; -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp192_ = g_strconcat (_tmp191_, "\n\n", NULL); -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (current_file_summary); -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" current_file_summary = _tmp192_; -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp191_); -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp187_); -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp185_); -#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 614 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp182_); -#line 601 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 617 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp193_ = builder; -#line 601 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 617 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp194_ = current_file_summary; -#line 601 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 617 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp193_, _tmp194_); -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _batch_import_result_unref0 (_result_); -#line 5822 "Dialogs.c" +#line 5950 "Dialogs.c" } -#line 597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_result_list); -#line 5826 "Dialogs.c" +#line 5954 "Dialogs.c" } } -#line 608 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp195_ = manifest; -#line 608 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp196_ = _tmp195_->write_failed; -#line 608 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp197_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp196_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 608 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp198_ = _tmp197_; -#line 608 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp198_ > 0) { -#line 5839 "Dialogs.c" +#line 5967 "Dialogs.c" GString* _tmp199_ = NULL; const gchar* _tmp200_ = NULL; gchar* _tmp201_ = NULL; gchar* _tmp202_ = NULL; -#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp199_ = builder; -#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp200_ = _ ("Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into it" \ +#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp200_ = _ ("Photos/Videos Not Imported Because Shotwell Couldn’t Copy Them into it" \ "s Library:"); -#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp201_ = g_strconcat (_tmp200_, "\n\n", NULL); -#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp202_ = _tmp201_; -#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp199_, _tmp202_); -#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp202_); -#line 5856 "Dialogs.c" +#line 5984 "Dialogs.c" { GeeList* _result_list = NULL; ImportManifest* _tmp203_ = NULL; @@ -5870,27 +5998,27 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) { gint _tmp207_ = 0; gint _tmp208_ = 0; gint _result_index = 0; -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp203_ = manifest; -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp204_ = _tmp203_->write_failed; -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp205_ = _g_object_ref0 (_tmp204_); -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_list = _tmp205_; -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp206_ = _result_list; -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp207_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp206_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp208_ = _tmp207_; -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_size = _tmp208_; -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_index = -1; -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 5887 "Dialogs.c" +#line 6015 "Dialogs.c" gint _tmp209_ = 0; gint _tmp210_ = 0; gint _tmp211_ = 0; @@ -5919,123 +6047,123 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) { gchar* _tmp233_ = NULL; GString* _tmp234_ = NULL; const gchar* _tmp235_ = NULL; -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp209_ = _result_index; -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_index = _tmp209_ + 1; -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp210_ = _result_index; -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp211_ = _result_size; -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!(_tmp210_ < _tmp211_)) { -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 5928 "Dialogs.c" +#line 6056 "Dialogs.c" } -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp212_ = _result_list; -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp213_ = _result_index; -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp214_ = gee_list_get (_tmp212_, _tmp213_); -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = (BatchImportResult*) _tmp214_; -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp215_ = _ ("couldn't copy %s\n\tto %s"); -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp215_ = _ ("couldn’t copy %s\n\tto %s"); +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp216_ = _result_; -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp217_ = _tmp216_->src_identifier; -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp218_ = _result_; -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp219_ = _tmp218_->dest_identifier; -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp220_ = g_strdup_printf (_tmp215_, _tmp217_, _tmp219_); -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp221_ = _tmp220_; -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp222_ = g_strconcat (_tmp221_, "\n\t", NULL); -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp223_ = _tmp222_; -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp224_ = _ ("error message:"); -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp225_ = g_strconcat (_tmp223_, _tmp224_, NULL); -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp226_ = _tmp225_; -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp227_ = g_strconcat (_tmp226_, " ", NULL); -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp228_ = _tmp227_; -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp229_ = _result_; -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp230_ = _tmp229_->errmsg; -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp231_ = g_strconcat (_tmp228_, _tmp230_, NULL); -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp232_ = _tmp231_; -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp233_ = g_strconcat (_tmp232_, "\n\n", NULL); -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (current_file_summary); -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" current_file_summary = _tmp233_; -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp232_); -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp228_); -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp226_); -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp223_); -#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp221_); -#line 617 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 633 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp234_ = builder; -#line 617 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 633 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp235_ = current_file_summary; -#line 617 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 633 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp234_, _tmp235_); -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _batch_import_result_unref0 (_result_); -#line 5998 "Dialogs.c" +#line 6126 "Dialogs.c" } -#line 612 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_result_list); -#line 6002 "Dialogs.c" +#line 6130 "Dialogs.c" } } -#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp236_ = manifest; -#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp237_ = _tmp236_->corrupt_files; -#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp238_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp237_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp239_ = _tmp238_; -#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp239_ > 0) { -#line 6015 "Dialogs.c" +#line 6143 "Dialogs.c" GString* _tmp240_ = NULL; const gchar* _tmp241_ = NULL; gchar* _tmp242_ = NULL; gchar* _tmp243_ = NULL; -#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 641 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp240_ = builder; -#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 641 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp241_ = _ ("Photos/Videos Not Imported Because Files Are Corrupt:"); -#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 641 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp242_ = g_strconcat (_tmp241_, "\n\n", NULL); -#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 641 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp243_ = _tmp242_; -#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 641 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp240_, _tmp243_); -#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 641 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp243_); -#line 6032 "Dialogs.c" +#line 6160 "Dialogs.c" { GeeList* _result_list = NULL; ImportManifest* _tmp244_ = NULL; @@ -6046,27 +6174,27 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) { gint _tmp248_ = 0; gint _tmp249_ = 0; gint _result_index = 0; -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp244_ = manifest; -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp245_ = _tmp244_->corrupt_files; -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp246_ = _g_object_ref0 (_tmp245_); -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_list = _tmp246_; -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp247_ = _result_list; -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp248_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp247_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp249_ = _tmp248_; -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_size = _tmp249_; -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_index = -1; -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 6063 "Dialogs.c" +#line 6191 "Dialogs.c" gint _tmp250_ = 0; gint _tmp251_ = 0; gint _tmp252_ = 0; @@ -6090,111 +6218,111 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) { gchar* _tmp269_ = NULL; GString* _tmp270_ = NULL; const gchar* _tmp271_ = NULL; -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp250_ = _result_index; -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_index = _tmp250_ + 1; -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp251_ = _result_index; -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp252_ = _result_size; -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!(_tmp251_ < _tmp252_)) { -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 6099 "Dialogs.c" +#line 6227 "Dialogs.c" } -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp253_ = _result_list; -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp254_ = _result_index; -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp255_ = gee_list_get (_tmp253_, _tmp254_); -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = (BatchImportResult*) _tmp255_; -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp256_ = _result_; -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp257_ = _tmp256_->src_identifier; -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp258_ = g_strconcat (_tmp257_, "\n\t", NULL); -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp259_ = _tmp258_; -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp260_ = _ ("error message:"); -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp261_ = g_strconcat (_tmp259_, _tmp260_, NULL); -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp262_ = _tmp261_; -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp263_ = g_strconcat (_tmp262_, " |", NULL); -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp264_ = _tmp263_; -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp265_ = _result_; -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp266_ = _tmp265_->errmsg; -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp267_ = g_strconcat (_tmp264_, _tmp266_, NULL); -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp268_ = _tmp267_; -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp269_ = g_strconcat (_tmp268_, "|\n\n", NULL); -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (current_file_summary); -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" current_file_summary = _tmp269_; -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp268_); -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp264_); -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp262_); -#line 629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 645 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp259_); -#line 632 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 648 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp270_ = builder; -#line 632 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 648 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp271_ = current_file_summary; -#line 632 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 648 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp270_, _tmp271_); -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _batch_import_result_unref0 (_result_); -#line 6157 "Dialogs.c" +#line 6285 "Dialogs.c" } -#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_result_list); -#line 6161 "Dialogs.c" +#line 6289 "Dialogs.c" } } -#line 639 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 655 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp272_ = manifest; -#line 639 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 655 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp273_ = _tmp272_->failed; -#line 639 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 655 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp274_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp273_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 639 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 655 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp275_ = _tmp274_; -#line 639 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 655 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp275_ > 0) { -#line 6174 "Dialogs.c" +#line 6302 "Dialogs.c" GString* _tmp276_ = NULL; const gchar* _tmp277_ = NULL; gchar* _tmp278_ = NULL; gchar* _tmp279_ = NULL; -#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 656 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp276_ = builder; -#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 656 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp277_ = _ ("Photos/Videos Not Imported for Other Reasons:"); -#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 656 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp278_ = g_strconcat (_tmp277_, "\n\n", NULL); -#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 656 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp279_ = _tmp278_; -#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 656 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp276_, _tmp279_); -#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 656 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp279_); -#line 6191 "Dialogs.c" +#line 6319 "Dialogs.c" { GeeList* _result_list = NULL; ImportManifest* _tmp280_ = NULL; @@ -6205,27 +6333,27 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) { gint _tmp284_ = 0; gint _tmp285_ = 0; gint _result_index = 0; -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp280_ = manifest; -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp281_ = _tmp280_->failed; -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp282_ = _g_object_ref0 (_tmp281_); -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_list = _tmp282_; -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp283_ = _result_list; -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp284_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp283_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp285_ = _tmp284_; -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_size = _tmp285_; -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_index = -1; -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 6222 "Dialogs.c" +#line 6350 "Dialogs.c" gint _tmp286_ = 0; gint _tmp287_ = 0; gint _tmp288_ = 0; @@ -6249,102 +6377,102 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) { gchar* _tmp305_ = NULL; GString* _tmp306_ = NULL; const gchar* _tmp307_ = NULL; -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp286_ = _result_index; -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_index = _tmp286_ + 1; -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp287_ = _result_index; -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp288_ = _result_size; -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!(_tmp287_ < _tmp288_)) { -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 6258 "Dialogs.c" +#line 6386 "Dialogs.c" } -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp289_ = _result_list; -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp290_ = _result_index; -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp291_ = gee_list_get (_tmp289_, _tmp290_); -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = (BatchImportResult*) _tmp291_; -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp292_ = _result_; -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp293_ = _tmp292_->src_identifier; -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp294_ = g_strconcat (_tmp293_, "\n\t", NULL); -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp295_ = _tmp294_; -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp296_ = _ ("error message:"); -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp297_ = g_strconcat (_tmp295_, _tmp296_, NULL); -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp298_ = _tmp297_; -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp299_ = g_strconcat (_tmp298_, " ", NULL); -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp300_ = _tmp299_; -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp301_ = _result_; -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp302_ = _tmp301_->errmsg; -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp303_ = g_strconcat (_tmp300_, _tmp302_, NULL); -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp304_ = _tmp303_; -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp305_ = g_strconcat (_tmp304_, "\n\n", NULL); -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (current_file_summary); -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" current_file_summary = _tmp305_; -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp304_); -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp300_); -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp298_); -#line 643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp295_); -#line 646 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 662 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp306_ = builder; -#line 646 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 662 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp307_ = current_file_summary; -#line 646 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 662 "/home/jens/Source/shotwell/src/Dialogs.vala" g_string_append (_tmp306_, _tmp307_); -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _batch_import_result_unref0 (_result_); -#line 6316 "Dialogs.c" +#line 6444 "Dialogs.c" } -#line 642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_result_list); -#line 6320 "Dialogs.c" +#line 6448 "Dialogs.c" } } -#line 650 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp308_ = builder; -#line 650 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp309_ = _tmp308_->str; -#line 650 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp310_ = g_strdup (_tmp309_); -#line 650 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp310_; -#line 650 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (current_file_summary); -#line 650 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (subhead); -#line 650 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (header); -#line 650 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_string_free0 (builder); -#line 650 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 6341 "Dialogs.c" +#line 6469 "Dialogs.c" } @@ -6435,25 +6563,25 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest gint dialog_response = 0; ImportUIQuestionParams* _tmp526_ = NULL; gint _tmp606_ = 0; -#line 655 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 671 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_IMPORT_MANIFEST (manifest), FALSE); -#line 655 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 671 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail ((question == NULL) || IMPORT_UI_IS_QUESTION_PARAMS (question), FALSE); -#line 657 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 673 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = g_strdup (""); -#line 657 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 673 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp0_; -#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = manifest; -#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _tmp1_->already_imported; -#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp3_; -#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp4_ > 0) { -#line 6450 "Dialogs.c" +#line 6578 "Dialogs.c" gchar* photos_message = NULL; ImportManifest* _tmp5_ = NULL; GeeList* _tmp6_ = NULL; @@ -6504,137 +6632,137 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest gchar* _tmp49_ = NULL; gchar* _tmp50_ = NULL; gchar* _tmp51_ = NULL; -#line 660 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = manifest; -#line 660 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _tmp5_->already_imported; -#line 660 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 660 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _tmp7_; -#line 660 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = ngettext ("1 duplicate photo was not imported:\n", "%d duplicate photos were not imported:\n", (gulong) _tmp8_); -#line 660 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = manifest; -#line 660 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = _tmp10_->already_imported; -#line 660 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 660 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = _tmp12_; -#line 660 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = g_strdup_printf (_tmp9_, _tmp13_); -#line 660 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" photos_message = _tmp14_; -#line 663 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = manifest; -#line 663 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = _tmp15_->already_imported; -#line 663 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 663 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = _tmp17_; -#line 663 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = ngettext ("1 duplicate video was not imported:\n", "%d duplicate videos were not imported:\n", (gulong) _tmp18_); -#line 663 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = manifest; -#line 663 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = _tmp20_->already_imported; -#line 663 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 663 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = _tmp22_; -#line 663 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = g_strdup_printf (_tmp19_, _tmp23_); -#line 663 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 679 "/home/jens/Source/shotwell/src/Dialogs.vala" videos_message = _tmp24_; -#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = manifest; -#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = _tmp25_->already_imported; -#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = _tmp27_; -#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = ngettext ("1 duplicate photo/video was not imported:\n", "%d duplicate photos/videos were not imported:\n", (gulong) _tmp28_); -#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = manifest; -#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = _tmp30_->already_imported; -#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = _tmp32_; -#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp34_ = g_strdup_printf (_tmp29_, _tmp33_); -#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 682 "/home/jens/Source/shotwell/src/Dialogs.vala" both_message = _tmp34_; -#line 670 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp35_ = message; -#line 670 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp36_ = manifest; -#line 670 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp37_ = _tmp36_->already_imported; -#line 670 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp38_ = photos_message; -#line 670 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp39_ = videos_message; -#line 670 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp40_ = both_message; -#line 670 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp41_ = both_message; -#line 670 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp42_ = import_ui_get_media_specific_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, GEE_TYPE_COLLECTION, GeeCollection), _tmp38_, _tmp39_, _tmp40_, _tmp41_); -#line 670 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp43_ = _tmp42_; -#line 670 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp44_ = g_strconcat (_tmp35_, _tmp43_, NULL); -#line 670 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 670 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp44_; -#line 670 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp43_); -#line 673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp45_ = message; -#line 673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp46_ = manifest; -#line 673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp47_ = _tmp46_->already_imported; -#line 673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp48_ = show_dest_id; -#line 673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp49_ = import_ui_generate_import_failure_list (_tmp47_, _tmp48_); -#line 673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp50_ = _tmp49_; -#line 673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp51_ = g_strconcat (_tmp45_, _tmp50_, NULL); -#line 673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp51_; -#line 673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp50_); -#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (both_message); -#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (videos_message); -#line 659 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (photos_message); -#line 6619 "Dialogs.c" +#line 6747 "Dialogs.c" } -#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp52_ = manifest; -#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp53_ = _tmp52_->failed; -#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp54_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp55_ = _tmp54_; -#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp55_ > 0) { -#line 6631 "Dialogs.c" +#line 6759 "Dialogs.c" const gchar* _tmp56_ = NULL; gint _tmp57_ = 0; gint _tmp58_ = 0; @@ -6699,182 +6827,182 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest gchar* _tmp115_ = NULL; gchar* _tmp116_ = NULL; gchar* _tmp117_ = NULL; -#line 677 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp56_ = message; -#line 677 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp57_ = strlen (_tmp56_); -#line 677 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp58_ = _tmp57_; -#line 677 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp58_ > 0) { -#line 6704 "Dialogs.c" +#line 6832 "Dialogs.c" const gchar* _tmp59_ = NULL; gchar* _tmp60_ = NULL; -#line 678 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 694 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp59_ = message; -#line 678 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 694 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp60_ = g_strconcat (_tmp59_, "\n", NULL); -#line 678 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 694 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 678 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 694 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp60_; -#line 6715 "Dialogs.c" +#line 6843 "Dialogs.c" } -#line 680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp61_ = manifest; -#line 680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp62_ = _tmp61_->failed; -#line 680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp63_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp64_ = _tmp63_; -#line 680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp65_ = ngettext ("1 photo failed to import due to a file or hardware error:\n", "%d photos failed to import due to a file or hardware error:\n", (gulong) _tmp64_); -#line 680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp66_ = manifest; -#line 680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp67_ = _tmp66_->failed; -#line 680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp68_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp69_ = _tmp68_; -#line 680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp70_ = g_strdup_printf (_tmp65_, _tmp69_); -#line 680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" photos_message = _tmp70_; -#line 683 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp71_ = manifest; -#line 683 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp72_ = _tmp71_->failed; -#line 683 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp73_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 683 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp74_ = _tmp73_; -#line 683 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp75_ = ngettext ("1 video failed to import due to a file or hardware error:\n", "%d videos failed to import due to a file or hardware error:\n", (gulong) _tmp74_); -#line 683 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp76_ = manifest; -#line 683 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp77_ = _tmp76_->failed; -#line 683 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp78_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 683 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp79_ = _tmp78_; -#line 683 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp80_ = g_strdup_printf (_tmp75_, _tmp79_); -#line 683 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" videos_message = _tmp80_; -#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp81_ = manifest; -#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp82_ = _tmp81_->failed; -#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp83_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp82_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp84_ = _tmp83_; -#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp85_ = ngettext ("1 photo/video failed to import due to a file or hardware error:\n", "%d photos/videos failed to import due to a file or hardware error:\n", (gulong) _tmp84_); -#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp86_ = manifest; -#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp87_ = _tmp86_->failed; -#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp88_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp87_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp89_ = _tmp88_; -#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp90_ = g_strdup_printf (_tmp85_, _tmp89_); -#line 686 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 702 "/home/jens/Source/shotwell/src/Dialogs.vala" both_message = _tmp90_; -#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp91_ = manifest; -#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp92_ = _tmp91_->failed; -#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp93_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp92_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp94_ = _tmp93_; -#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp95_ = ngettext ("1 file failed to import due to a file or hardware error:\n", "%d files failed to import due to a file or hardware error:\n", (gulong) _tmp94_); -#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp96_ = manifest; -#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp97_ = _tmp96_->failed; -#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp98_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp97_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp99_ = _tmp98_; -#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp100_ = g_strdup_printf (_tmp95_, _tmp99_); -#line 689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 705 "/home/jens/Source/shotwell/src/Dialogs.vala" neither_message = _tmp100_; -#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp101_ = message; -#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp102_ = manifest; -#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp103_ = _tmp102_->failed; -#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp104_ = photos_message; -#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp105_ = videos_message; -#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp106_ = both_message; -#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp107_ = neither_message; -#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp108_ = import_ui_get_media_specific_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp103_, GEE_TYPE_COLLECTION, GeeCollection), _tmp104_, _tmp105_, _tmp106_, _tmp107_); -#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp109_ = _tmp108_; -#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp110_ = g_strconcat (_tmp101_, _tmp109_, NULL); -#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp110_; -#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp109_); -#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp111_ = message; -#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp112_ = manifest; -#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp113_ = _tmp112_->failed; -#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp114_ = show_dest_id; -#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp115_ = import_ui_generate_import_failure_list (_tmp113_, _tmp114_); -#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp116_ = _tmp115_; -#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp117_ = g_strconcat (_tmp111_, _tmp116_, NULL); -#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp117_; -#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp116_); -#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (neither_message); -#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (both_message); -#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (videos_message); -#line 676 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (photos_message); -#line 6859 "Dialogs.c" +#line 6987 "Dialogs.c" } -#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp118_ = manifest; -#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp119_ = _tmp118_->write_failed; -#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp120_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp119_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp121_ = _tmp120_; -#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp121_ > 0) { -#line 6871 "Dialogs.c" +#line 6999 "Dialogs.c" const gchar* _tmp122_ = NULL; gint _tmp123_ = 0; gint _tmp124_ = 0; @@ -6939,190 +7067,190 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest gchar* _tmp181_ = NULL; gchar* _tmp182_ = NULL; gchar* _tmp183_ = NULL; -#line 700 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp122_ = message; -#line 700 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp123_ = strlen (_tmp122_); -#line 700 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp124_ = _tmp123_; -#line 700 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp124_ > 0) { -#line 6944 "Dialogs.c" +#line 7072 "Dialogs.c" const gchar* _tmp125_ = NULL; gchar* _tmp126_ = NULL; -#line 701 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 717 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp125_ = message; -#line 701 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 717 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp126_ = g_strconcat (_tmp125_, "\n", NULL); -#line 701 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 717 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 701 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 717 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp126_; -#line 6955 "Dialogs.c" +#line 7083 "Dialogs.c" } -#line 703 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp127_ = manifest; -#line 703 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp128_ = _tmp127_->write_failed; -#line 703 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp129_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp128_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 703 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp130_ = _tmp129_; -#line 703 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp131_ = ngettext ("1 photo failed to import because the photo library folder was not writ" \ "able:\n", "%d photos failed to import because the photo library folder was not wr" \ "itable:\n", (gulong) _tmp130_); -#line 703 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp132_ = manifest; -#line 703 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp133_ = _tmp132_->write_failed; -#line 703 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp134_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp133_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 703 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp135_ = _tmp134_; -#line 703 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp136_ = g_strdup_printf (_tmp131_, _tmp135_); -#line 703 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" photos_message = _tmp136_; -#line 706 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp137_ = manifest; -#line 706 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp138_ = _tmp137_->write_failed; -#line 706 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp139_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp138_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 706 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp140_ = _tmp139_; -#line 706 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp141_ = ngettext ("1 video failed to import because the photo library folder was not writ" \ "able:\n", "%d videos failed to import because the photo library folder was not wr" \ "itable:\n", (gulong) _tmp140_); -#line 706 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp142_ = manifest; -#line 706 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp143_ = _tmp142_->write_failed; -#line 706 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp144_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp143_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 706 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp145_ = _tmp144_; -#line 706 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp146_ = g_strdup_printf (_tmp141_, _tmp145_); -#line 706 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" videos_message = _tmp146_; -#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp147_ = manifest; -#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp148_ = _tmp147_->write_failed; -#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp149_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp148_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp150_ = _tmp149_; -#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp151_ = ngettext ("1 photo/video failed to import because the photo library folder was no" \ "t writable:\n", "%d photos/videos failed to import because the photo library folder was" \ " not writable:\n", (gulong) _tmp150_); -#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp152_ = manifest; -#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp153_ = _tmp152_->write_failed; -#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp154_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp153_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp155_ = _tmp154_; -#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp156_ = g_strdup_printf (_tmp151_, _tmp155_); -#line 709 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 725 "/home/jens/Source/shotwell/src/Dialogs.vala" both_message = _tmp156_; -#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp157_ = manifest; -#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp158_ = _tmp157_->write_failed; -#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp159_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp158_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp160_ = _tmp159_; -#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp161_ = ngettext ("1 file failed to import because the photo library folder was not writa" \ "ble:\n", "%d files failed to import because the photo library folder was not wri" \ "table:\n", (gulong) _tmp160_); -#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp162_ = manifest; -#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp163_ = _tmp162_->write_failed; -#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp164_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp163_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp165_ = _tmp164_; -#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp166_ = g_strdup_printf (_tmp161_, _tmp165_); -#line 712 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 728 "/home/jens/Source/shotwell/src/Dialogs.vala" neither_message = _tmp166_; -#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp167_ = message; -#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp168_ = manifest; -#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp169_ = _tmp168_->write_failed; -#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp170_ = photos_message; -#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp171_ = videos_message; -#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp172_ = both_message; -#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp173_ = neither_message; -#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp174_ = import_ui_get_media_specific_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp169_, GEE_TYPE_COLLECTION, GeeCollection), _tmp170_, _tmp171_, _tmp172_, _tmp173_); -#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp175_ = _tmp174_; -#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp176_ = g_strconcat (_tmp167_, _tmp175_, NULL); -#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp176_; -#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp175_); -#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp177_ = message; -#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp178_ = manifest; -#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp179_ = _tmp178_->write_failed; -#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp180_ = show_dest_id; -#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp181_ = import_ui_generate_import_failure_list (_tmp179_, _tmp180_); -#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp182_ = _tmp181_; -#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp183_ = g_strconcat (_tmp177_, _tmp182_, NULL); -#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp183_; -#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp182_); -#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (neither_message); -#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (both_message); -#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (videos_message); -#line 699 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (photos_message); -#line 7099 "Dialogs.c" +#line 7227 "Dialogs.c" } -#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp184_ = manifest; -#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp185_ = _tmp184_->camera_failed; -#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp186_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp185_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp187_ = _tmp186_; -#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp187_ > 0) { -#line 7111 "Dialogs.c" +#line 7239 "Dialogs.c" const gchar* _tmp188_ = NULL; gint _tmp189_ = 0; gint _tmp190_ = 0; @@ -7187,182 +7315,182 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest gchar* _tmp247_ = NULL; gchar* _tmp248_ = NULL; gchar* _tmp249_ = NULL; -#line 723 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp188_ = message; -#line 723 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp189_ = strlen (_tmp188_); -#line 723 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp190_ = _tmp189_; -#line 723 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp190_ > 0) { -#line 7184 "Dialogs.c" +#line 7312 "Dialogs.c" const gchar* _tmp191_ = NULL; gchar* _tmp192_ = NULL; -#line 724 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 740 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp191_ = message; -#line 724 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 740 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp192_ = g_strconcat (_tmp191_, "\n", NULL); -#line 724 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 740 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 724 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 740 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp192_; -#line 7195 "Dialogs.c" +#line 7323 "Dialogs.c" } -#line 726 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp193_ = manifest; -#line 726 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp194_ = _tmp193_->camera_failed; -#line 726 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp195_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp194_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 726 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp196_ = _tmp195_; -#line 726 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp197_ = ngettext ("1 photo failed to import due to a camera error:\n", "%d photos failed to import due to a camera error:\n", (gulong) _tmp196_); -#line 726 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp198_ = manifest; -#line 726 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp199_ = _tmp198_->camera_failed; -#line 726 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp200_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp199_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 726 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp201_ = _tmp200_; -#line 726 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp202_ = g_strdup_printf (_tmp197_, _tmp201_); -#line 726 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" photos_message = _tmp202_; -#line 729 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp203_ = manifest; -#line 729 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp204_ = _tmp203_->camera_failed; -#line 729 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp205_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp204_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 729 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp206_ = _tmp205_; -#line 729 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp207_ = ngettext ("1 video failed to import due to a camera error:\n", "%d videos failed to import due to a camera error:\n", (gulong) _tmp206_); -#line 729 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp208_ = manifest; -#line 729 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp209_ = _tmp208_->camera_failed; -#line 729 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp210_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp209_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 729 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp211_ = _tmp210_; -#line 729 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp212_ = g_strdup_printf (_tmp207_, _tmp211_); -#line 729 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" videos_message = _tmp212_; -#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp213_ = manifest; -#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp214_ = _tmp213_->camera_failed; -#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp215_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp214_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp216_ = _tmp215_; -#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp217_ = ngettext ("1 photo/video failed to import due to a camera error:\n", "%d photos/videos failed to import due to a camera error:\n", (gulong) _tmp216_); -#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp218_ = manifest; -#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp219_ = _tmp218_->camera_failed; -#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp220_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp219_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp221_ = _tmp220_; -#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp222_ = g_strdup_printf (_tmp217_, _tmp221_); -#line 732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 748 "/home/jens/Source/shotwell/src/Dialogs.vala" both_message = _tmp222_; -#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp223_ = manifest; -#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp224_ = _tmp223_->camera_failed; -#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp225_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp224_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp226_ = _tmp225_; -#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp227_ = ngettext ("1 file failed to import due to a camera error:\n", "%d files failed to import due to a camera error:\n", (gulong) _tmp226_); -#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp228_ = manifest; -#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp229_ = _tmp228_->camera_failed; -#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp230_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp229_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp231_ = _tmp230_; -#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp232_ = g_strdup_printf (_tmp227_, _tmp231_); -#line 735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 751 "/home/jens/Source/shotwell/src/Dialogs.vala" neither_message = _tmp232_; -#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp233_ = message; -#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp234_ = manifest; -#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp235_ = _tmp234_->camera_failed; -#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp236_ = photos_message; -#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp237_ = videos_message; -#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp238_ = both_message; -#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp239_ = neither_message; -#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp240_ = import_ui_get_media_specific_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp235_, GEE_TYPE_COLLECTION, GeeCollection), _tmp236_, _tmp237_, _tmp238_, _tmp239_); -#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp241_ = _tmp240_; -#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp242_ = g_strconcat (_tmp233_, _tmp241_, NULL); -#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp242_; -#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp241_); -#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp243_ = message; -#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp244_ = manifest; -#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp245_ = _tmp244_->camera_failed; -#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp246_ = show_dest_id; -#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp247_ = import_ui_generate_import_failure_list (_tmp245_, _tmp246_); -#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp248_ = _tmp247_; -#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp249_ = g_strconcat (_tmp243_, _tmp248_, NULL); -#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp249_; -#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp248_); -#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (neither_message); -#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (both_message); -#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (videos_message); -#line 722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (photos_message); -#line 7339 "Dialogs.c" +#line 7467 "Dialogs.c" } -#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp250_ = manifest; -#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp251_ = _tmp250_->corrupt_files; -#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp252_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp251_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp253_ = _tmp252_; -#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp253_ > 0) { -#line 7351 "Dialogs.c" +#line 7479 "Dialogs.c" const gchar* _tmp254_ = NULL; gint _tmp255_ = 0; gint _tmp256_ = 0; @@ -7427,182 +7555,182 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest gchar* _tmp313_ = NULL; gchar* _tmp314_ = NULL; gchar* _tmp315_ = NULL; -#line 746 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp254_ = message; -#line 746 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp255_ = strlen (_tmp254_); -#line 746 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp256_ = _tmp255_; -#line 746 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp256_ > 0) { -#line 7424 "Dialogs.c" +#line 7552 "Dialogs.c" const gchar* _tmp257_ = NULL; gchar* _tmp258_ = NULL; -#line 747 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 763 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp257_ = message; -#line 747 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 763 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp258_ = g_strconcat (_tmp257_, "\n", NULL); -#line 747 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 763 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 747 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 763 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp258_; -#line 7435 "Dialogs.c" +#line 7563 "Dialogs.c" } -#line 749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp259_ = manifest; -#line 749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp260_ = _tmp259_->corrupt_files; -#line 749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp261_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp260_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp262_ = _tmp261_; -#line 749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp263_ = ngettext ("1 photo failed to import because it was corrupt:\n", "%d photos failed to import because they were corrupt:\n", (gulong) _tmp262_); -#line 749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp264_ = manifest; -#line 749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp265_ = _tmp264_->corrupt_files; -#line 749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp266_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp265_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp267_ = _tmp266_; -#line 749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp268_ = g_strdup_printf (_tmp263_, _tmp267_); -#line 749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" photos_message = _tmp268_; -#line 752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp269_ = manifest; -#line 752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp270_ = _tmp269_->corrupt_files; -#line 752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp271_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp270_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp272_ = _tmp271_; -#line 752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp273_ = ngettext ("1 video failed to import because it was corrupt:\n", "%d videos failed to import because they were corrupt:\n", (gulong) _tmp272_); -#line 752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp274_ = manifest; -#line 752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp275_ = _tmp274_->corrupt_files; -#line 752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp276_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp275_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp277_ = _tmp276_; -#line 752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp278_ = g_strdup_printf (_tmp273_, _tmp277_); -#line 752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" videos_message = _tmp278_; -#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp279_ = manifest; -#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp280_ = _tmp279_->corrupt_files; -#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp281_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp280_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp282_ = _tmp281_; -#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp283_ = ngettext ("1 photo/video failed to import because it was corrupt:\n", "%d photos/videos failed to import because they were corrupt:\n", (gulong) _tmp282_); -#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp284_ = manifest; -#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp285_ = _tmp284_->corrupt_files; -#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp286_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp285_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp287_ = _tmp286_; -#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp288_ = g_strdup_printf (_tmp283_, _tmp287_); -#line 755 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 771 "/home/jens/Source/shotwell/src/Dialogs.vala" both_message = _tmp288_; -#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp289_ = manifest; -#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp290_ = _tmp289_->corrupt_files; -#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp291_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp290_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp292_ = _tmp291_; -#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp293_ = ngettext ("1 file failed to import because it was corrupt:\n", "%d files failed to import because it was corrupt:\n", (gulong) _tmp292_); -#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp294_ = manifest; -#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp295_ = _tmp294_->corrupt_files; -#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp296_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp295_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp297_ = _tmp296_; -#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp298_ = g_strdup_printf (_tmp293_, _tmp297_); -#line 758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 774 "/home/jens/Source/shotwell/src/Dialogs.vala" neither_message = _tmp298_; -#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp299_ = message; -#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp300_ = manifest; -#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp301_ = _tmp300_->corrupt_files; -#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp302_ = photos_message; -#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp303_ = videos_message; -#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp304_ = both_message; -#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp305_ = neither_message; -#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp306_ = import_ui_get_media_specific_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp301_, GEE_TYPE_COLLECTION, GeeCollection), _tmp302_, _tmp303_, _tmp304_, _tmp305_); -#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp307_ = _tmp306_; -#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp308_ = g_strconcat (_tmp299_, _tmp307_, NULL); -#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp308_; -#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 778 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp307_); -#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp309_ = message; -#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp310_ = manifest; -#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp311_ = _tmp310_->corrupt_files; -#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp312_ = show_dest_id; -#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp313_ = import_ui_generate_import_failure_list (_tmp311_, _tmp312_); -#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp314_ = _tmp313_; -#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp315_ = g_strconcat (_tmp309_, _tmp314_, NULL); -#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp315_; -#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp314_); -#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (neither_message); -#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (both_message); -#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (videos_message); -#line 745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (photos_message); -#line 7579 "Dialogs.c" +#line 7707 "Dialogs.c" } -#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp316_ = manifest; -#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp317_ = _tmp316_->skipped_photos; -#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp318_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp317_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp319_ = _tmp318_; -#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp319_ > 0) { -#line 7591 "Dialogs.c" +#line 7719 "Dialogs.c" const gchar* _tmp320_ = NULL; gint _tmp321_ = 0; gint _tmp322_ = 0; @@ -7627,94 +7755,94 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest gchar* _tmp342_ = NULL; gchar* _tmp343_ = NULL; gchar* _tmp344_ = NULL; -#line 769 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 785 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp320_ = message; -#line 769 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 785 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp321_ = strlen (_tmp320_); -#line 769 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 785 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp322_ = _tmp321_; -#line 769 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 785 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp322_ > 0) { -#line 7624 "Dialogs.c" +#line 7752 "Dialogs.c" const gchar* _tmp323_ = NULL; gchar* _tmp324_ = NULL; -#line 770 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 786 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp323_ = message; -#line 770 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 786 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp324_ = g_strconcat (_tmp323_, "\n", NULL); -#line 770 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 786 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 770 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 786 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp324_; -#line 7635 "Dialogs.c" +#line 7763 "Dialogs.c" } -#line 775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp325_ = manifest; -#line 775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp326_ = _tmp325_->skipped_photos; -#line 775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp327_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp326_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp328_ = _tmp327_; -#line 775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp329_ = ngettext ("1 unsupported photo skipped:\n", "%d unsupported photos skipped:\n", (gulong) _tmp328_); -#line 775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp330_ = manifest; -#line 775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp331_ = _tmp330_->skipped_photos; -#line 775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp332_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp331_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp333_ = _tmp332_; -#line 775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp334_ = g_strdup_printf (_tmp329_, _tmp333_); -#line 775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala" skipped_photos_message = _tmp334_; -#line 779 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 795 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp335_ = message; -#line 779 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 795 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp336_ = skipped_photos_message; -#line 779 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 795 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp337_ = g_strconcat (_tmp335_, _tmp336_, NULL); -#line 779 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 795 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 779 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 795 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp337_; -#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp338_ = message; -#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp339_ = manifest; -#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp340_ = _tmp339_->skipped_photos; -#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp341_ = show_dest_id; -#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp342_ = import_ui_generate_import_failure_list (_tmp340_, _tmp341_); -#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp343_ = _tmp342_; -#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp344_ = g_strconcat (_tmp338_, _tmp343_, NULL); -#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp344_; -#line 781 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp343_); -#line 768 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (skipped_photos_message); -#line 7691 "Dialogs.c" +#line 7819 "Dialogs.c" } -#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 800 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp345_ = manifest; -#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 800 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp346_ = _tmp345_->skipped_files; -#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 800 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp347_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp346_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 800 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp348_ = _tmp347_; -#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 800 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp348_ > 0) { -#line 7703 "Dialogs.c" +#line 7831 "Dialogs.c" const gchar* _tmp349_ = NULL; gint _tmp350_ = 0; gint _tmp351_ = 0; @@ -7732,74 +7860,74 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest const gchar* _tmp364_ = NULL; const gchar* _tmp365_ = NULL; gchar* _tmp366_ = NULL; -#line 785 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp349_ = message; -#line 785 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp350_ = strlen (_tmp349_); -#line 785 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp351_ = _tmp350_; -#line 785 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp351_ > 0) { -#line 7729 "Dialogs.c" +#line 7857 "Dialogs.c" const gchar* _tmp352_ = NULL; gchar* _tmp353_ = NULL; -#line 786 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 802 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp352_ = message; -#line 786 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 802 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp353_ = g_strconcat (_tmp352_, "\n", NULL); -#line 786 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 802 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 786 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 802 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp353_; -#line 7740 "Dialogs.c" +#line 7868 "Dialogs.c" } -#line 790 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp354_ = manifest; -#line 790 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp355_ = _tmp354_->skipped_files; -#line 790 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp356_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp355_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 790 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp357_ = _tmp356_; -#line 790 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp358_ = ngettext ("1 non-image file skipped.\n", "%d non-image files skipped.\n", (gulong) _tmp357_); -#line 790 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp359_ = manifest; -#line 790 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp360_ = _tmp359_->skipped_files; -#line 790 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp361_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp360_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 790 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp362_ = _tmp361_; -#line 790 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp363_ = g_strdup_printf (_tmp358_, _tmp362_); -#line 790 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala" skipped_files_message = _tmp363_; -#line 794 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp364_ = message; -#line 794 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp365_ = skipped_files_message; -#line 794 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp366_ = g_strconcat (_tmp364_, _tmp365_, NULL); -#line 794 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 794 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp366_; -#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 800 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (skipped_files_message); -#line 7776 "Dialogs.c" +#line 7904 "Dialogs.c" } -#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp367_ = manifest; -#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp368_ = _tmp367_->aborted; -#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp369_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp368_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp370_ = _tmp369_; -#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp370_ > 0) { -#line 7788 "Dialogs.c" +#line 7916 "Dialogs.c" const gchar* _tmp371_ = NULL; gint _tmp372_ = 0; gint _tmp373_ = 0; @@ -7864,182 +7992,182 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest gchar* _tmp430_ = NULL; gchar* _tmp431_ = NULL; gchar* _tmp432_ = NULL; -#line 798 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp371_ = message; -#line 798 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp372_ = strlen (_tmp371_); -#line 798 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp373_ = _tmp372_; -#line 798 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp373_ > 0) { -#line 7861 "Dialogs.c" +#line 7989 "Dialogs.c" const gchar* _tmp374_ = NULL; gchar* _tmp375_ = NULL; -#line 799 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 815 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp374_ = message; -#line 799 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 815 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp375_ = g_strconcat (_tmp374_, "\n", NULL); -#line 799 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 815 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 799 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 815 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp375_; -#line 7872 "Dialogs.c" +#line 8000 "Dialogs.c" } -#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp376_ = manifest; -#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp377_ = _tmp376_->aborted; -#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp378_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp377_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp379_ = _tmp378_; -#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp380_ = ngettext ("1 photo skipped due to user cancel:\n", "%d photos skipped due to user cancel:\n", (gulong) _tmp379_); -#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp381_ = manifest; -#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp382_ = _tmp381_->aborted; -#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp383_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp382_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp384_ = _tmp383_; -#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp385_ = g_strdup_printf (_tmp380_, _tmp384_); -#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" photos_message = _tmp385_; -#line 804 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp386_ = manifest; -#line 804 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp387_ = _tmp386_->aborted; -#line 804 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp388_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp387_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 804 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp389_ = _tmp388_; -#line 804 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp390_ = ngettext ("1 video skipped due to user cancel:\n", "%d videos skipped due to user cancel:\n", (gulong) _tmp389_); -#line 804 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp391_ = manifest; -#line 804 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp392_ = _tmp391_->aborted; -#line 804 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp393_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp392_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 804 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp394_ = _tmp393_; -#line 804 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp395_ = g_strdup_printf (_tmp390_, _tmp394_); -#line 804 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" videos_message = _tmp395_; -#line 807 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp396_ = manifest; -#line 807 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp397_ = _tmp396_->aborted; -#line 807 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp398_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp397_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 807 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp399_ = _tmp398_; -#line 807 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp400_ = ngettext ("1 photo/video skipped due to user cancel:\n", "%d photos/videos skipped due to user cancel:\n", (gulong) _tmp399_); -#line 807 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp401_ = manifest; -#line 807 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp402_ = _tmp401_->aborted; -#line 807 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp403_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp402_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 807 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp404_ = _tmp403_; -#line 807 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp405_ = g_strdup_printf (_tmp400_, _tmp404_); -#line 807 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 823 "/home/jens/Source/shotwell/src/Dialogs.vala" both_message = _tmp405_; -#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp406_ = manifest; -#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp407_ = _tmp406_->aborted; -#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp408_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp407_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp409_ = _tmp408_; -#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp410_ = ngettext ("1 file skipped due to user cancel:\n", "%d file skipped due to user cancel:\n", (gulong) _tmp409_); -#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp411_ = manifest; -#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp412_ = _tmp411_->aborted; -#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp413_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp412_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp414_ = _tmp413_; -#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp415_ = g_strdup_printf (_tmp410_, _tmp414_); -#line 810 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 826 "/home/jens/Source/shotwell/src/Dialogs.vala" neither_message = _tmp415_; -#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp416_ = message; -#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp417_ = manifest; -#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp418_ = _tmp417_->aborted; -#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp419_ = photos_message; -#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp420_ = videos_message; -#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp421_ = both_message; -#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp422_ = neither_message; -#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp423_ = import_ui_get_media_specific_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp418_, GEE_TYPE_COLLECTION, GeeCollection), _tmp419_, _tmp420_, _tmp421_, _tmp422_); -#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp424_ = _tmp423_; -#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp425_ = g_strconcat (_tmp416_, _tmp424_, NULL); -#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp425_; -#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp424_); -#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp426_ = message; -#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp427_ = manifest; -#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp428_ = _tmp427_->aborted; -#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp429_ = show_dest_id; -#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp430_ = import_ui_generate_import_failure_list (_tmp428_, _tmp429_); -#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp431_ = _tmp430_; -#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp432_ = g_strconcat (_tmp426_, _tmp431_, NULL); -#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp432_; -#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 833 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp431_); -#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (neither_message); -#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (both_message); -#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (videos_message); -#line 797 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (photos_message); -#line 8016 "Dialogs.c" +#line 8144 "Dialogs.c" } -#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp433_ = manifest; -#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp434_ = _tmp433_->success; -#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp435_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp434_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp436_ = _tmp435_; -#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp436_ > 0) { -#line 8028 "Dialogs.c" +#line 8156 "Dialogs.c" const gchar* _tmp437_ = NULL; gint _tmp438_ = 0; gint _tmp439_ = 0; @@ -8085,240 +8213,240 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest gchar* _tmp478_ = NULL; gchar* _tmp479_ = NULL; gchar* _tmp480_ = NULL; -#line 821 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 837 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp437_ = message; -#line 821 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 837 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp438_ = strlen (_tmp437_); -#line 821 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 837 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp439_ = _tmp438_; -#line 821 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 837 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp439_ > 0) { -#line 8082 "Dialogs.c" +#line 8210 "Dialogs.c" const gchar* _tmp440_ = NULL; gchar* _tmp441_ = NULL; -#line 822 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp440_ = message; -#line 822 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp441_ = g_strconcat (_tmp440_, "\n", NULL); -#line 822 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 822 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp441_; -#line 8093 "Dialogs.c" +#line 8221 "Dialogs.c" } -#line 824 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp442_ = manifest; -#line 824 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp443_ = _tmp442_->success; -#line 824 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp444_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp443_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 824 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp445_ = _tmp444_; -#line 824 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp446_ = ngettext ("1 photo successfully imported.\n", "%d photos successfully imported.\n", (gulong) _tmp445_); -#line 824 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp447_ = manifest; -#line 824 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp448_ = _tmp447_->success; -#line 824 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp449_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp448_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 824 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp450_ = _tmp449_; -#line 824 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp451_ = g_strdup_printf (_tmp446_, _tmp450_); -#line 824 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala" photos_message = _tmp451_; -#line 827 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp452_ = manifest; -#line 827 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp453_ = _tmp452_->success; -#line 827 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp454_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp453_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 827 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp455_ = _tmp454_; -#line 827 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp456_ = ngettext ("1 video successfully imported.\n", "%d videos successfully imported.\n", (gulong) _tmp455_); -#line 827 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp457_ = manifest; -#line 827 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp458_ = _tmp457_->success; -#line 827 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp459_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp458_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 827 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp460_ = _tmp459_; -#line 827 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp461_ = g_strdup_printf (_tmp456_, _tmp460_); -#line 827 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 843 "/home/jens/Source/shotwell/src/Dialogs.vala" videos_message = _tmp461_; -#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp462_ = manifest; -#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp463_ = _tmp462_->success; -#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp464_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp463_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp465_ = _tmp464_; -#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp466_ = ngettext ("1 photo/video successfully imported.\n", "%d photos/videos successfully imported.\n", (gulong) _tmp465_); -#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp467_ = manifest; -#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp468_ = _tmp467_->success; -#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp469_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp468_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp470_ = _tmp469_; -#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp471_ = g_strdup_printf (_tmp466_, _tmp470_); -#line 830 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" both_message = _tmp471_; -#line 834 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp472_ = message; -#line 834 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp473_ = manifest; -#line 834 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp474_ = _tmp473_->success; -#line 834 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp475_ = photos_message; -#line 834 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp476_ = videos_message; -#line 834 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp477_ = both_message; -#line 834 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp478_ = import_ui_get_media_specific_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp474_, GEE_TYPE_COLLECTION, GeeCollection), _tmp475_, _tmp476_, _tmp477_, ""); -#line 834 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp479_ = _tmp478_; -#line 834 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp480_ = g_strconcat (_tmp472_, _tmp479_, NULL); -#line 834 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 834 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp480_; -#line 834 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp479_); -#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (both_message); -#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (videos_message); -#line 820 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (photos_message); -#line 8191 "Dialogs.c" +#line 8319 "Dialogs.c" } -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp481_ = manifest; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp482_ = _tmp481_->success; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp483_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp482_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp484_ = _tmp483_; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp485_ = manifest; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp486_ = _tmp485_->failed; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp487_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp486_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp488_ = _tmp487_; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp489_ = manifest; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp490_ = _tmp489_->camera_failed; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp491_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp490_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp492_ = _tmp491_; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp493_ = manifest; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp494_ = _tmp493_->skipped_photos; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp495_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp494_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp496_ = _tmp495_; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp497_ = manifest; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp498_ = _tmp497_->skipped_files; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp499_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp498_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp500_ = _tmp499_; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp501_ = manifest; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp502_ = _tmp501_->corrupt_files; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp503_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp502_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp504_ = _tmp503_; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp505_ = manifest; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp506_ = _tmp505_->already_imported; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp507_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp506_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp508_ = _tmp507_; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp509_ = manifest; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp510_ = _tmp509_->aborted; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp511_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp510_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp512_ = _tmp511_; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp513_ = manifest; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp514_ = _tmp513_->write_failed; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp515_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp514_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp516_ = _tmp515_; -#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" total = (((((((_tmp484_ + _tmp488_) + _tmp492_) + _tmp496_) + _tmp500_) + _tmp504_) + _tmp508_) + _tmp512_) + _tmp516_; -#line 841 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp517_ = total; -#line 841 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp518_ = manifest; -#line 841 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp519_ = _tmp518_->all; -#line 841 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp520_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp519_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 841 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp521_ = _tmp520_; -#line 841 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_assert (_tmp517_ == _tmp521_, "total == manifest.all.size"); -#line 845 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 861 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp522_ = total; -#line 845 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 861 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp522_ == 0) { -#line 8283 "Dialogs.c" +#line 8411 "Dialogs.c" const gchar* _tmp523_ = NULL; const gchar* _tmp524_ = NULL; gchar* _tmp525_ = NULL; -#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 862 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp523_ = message; -#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 862 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp524_ = _ ("No photos or videos imported.\n"); -#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 862 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp525_ = g_strconcat (_tmp523_, _tmp524_, NULL); -#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 862 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 846 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 862 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp525_; -#line 8297 "Dialogs.c" +#line 8425 "Dialogs.c" } -#line 848 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 864 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog = NULL; -#line 849 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 865 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog_response = (gint) GTK_RESPONSE_NONE; -#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp526_ = question; -#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp526_ == NULL) { -#line 8307 "Dialogs.c" +#line 8435 "Dialogs.c" AppWindow* _tmp527_ = NULL; AppWindow* _tmp528_ = NULL; const gchar* _tmp529_ = NULL; @@ -8352,118 +8480,118 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest gint _tmp554_ = 0; GtkMessageDialog* _tmp555_ = NULL; gint _tmp556_ = 0; -#line 851 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp527_ = app_window_get_instance (); -#line 851 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp528_ = _tmp527_; -#line 851 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp529_ = message; -#line 851 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp530_ = (GtkMessageDialog*) gtk_message_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp528_, gtk_window_get_type (), GtkWindow), GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_NONE, "%s", _tmp529_); -#line 851 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp530_); -#line 851 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (dialog); -#line 851 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog = _tmp530_; -#line 851 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 867 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp528_); -#line 853 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 869 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp531_ = dialog; -#line 853 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 869 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp532_ = _ ("Import Complete"); -#line 853 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 869 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp531_, gtk_window_get_type (), GtkWindow), _tmp532_); -#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp533_ = dialog; -#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp534_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp533_, gtk_dialog_get_type (), GtkDialog), IMPORT_UI_SAVE_RESULTS_BUTTON_NAME, IMPORT_UI_SAVE_RESULTS_RESPONSE_ID); -#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp535_ = _g_object_ref0 (_tmp534_); -#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala" save_results_button = _tmp535_; -#line 856 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp536_ = save_results_button; -#line 856 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp537_ = manifest; -#line 856 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp538_ = _tmp537_->success; -#line 856 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp539_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp538_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 856 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp540_ = _tmp539_; -#line 856 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp541_ = manifest; -#line 856 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp542_ = _tmp541_->all; -#line 856 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp543_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp542_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 856 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp544_ = _tmp543_; -#line 856 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_visible (_tmp536_, _tmp540_ < _tmp544_); -#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 873 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp545_ = dialog; -#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 873 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp546_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp545_, gtk_dialog_get_type (), GtkDialog), RESOURCES_OK_LABEL, (gint) GTK_RESPONSE_OK); -#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 873 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp547_ = _g_object_ref0 (_tmp546_); -#line 857 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 873 "/home/jens/Source/shotwell/src/Dialogs.vala" ok_button = _tmp547_; -#line 858 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 874 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp548_ = dialog; -#line 858 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 874 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp549_ = ok_button; -#line 858 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 874 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp548_, gtk_window_get_type (), GtkWindow), _tmp549_); -#line 860 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 876 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp550_ = dialog; -#line 860 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 876 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp551_ = (GtkContainer*) gtk_widget_get_parent (G_TYPE_CHECK_INSTANCE_CAST (_tmp550_, gtk_widget_get_type (), GtkWidget)); -#line 860 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 876 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp552_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp551_, gtk_window_get_type (), GtkWindow)); -#line 860 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 876 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog_parent = _tmp552_; -#line 861 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 877 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp553_ = dialog; -#line 861 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 877 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp554_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp553_, gtk_dialog_get_type (), GtkDialog)); -#line 861 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 877 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog_response = _tmp554_; -#line 862 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 878 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp555_ = dialog; -#line 862 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 878 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp555_, gtk_widget_get_type (), GtkWidget)); -#line 864 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 880 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp556_ = dialog_response; -#line 864 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 880 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp556_ == IMPORT_UI_SAVE_RESULTS_RESPONSE_ID) { -#line 8427 "Dialogs.c" +#line 8555 "Dialogs.c" GtkWindow* _tmp557_ = NULL; ImportManifest* _tmp558_ = NULL; gchar* _tmp559_ = NULL; gchar* _tmp560_ = NULL; -#line 865 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp557_ = dialog_parent; -#line 865 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp558_ = manifest; -#line 865 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp559_ = import_ui_create_result_report_from_manifest (_tmp558_); -#line 865 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp560_ = _tmp559_; -#line 865 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala" import_ui_save_import_results (_tmp557_, _tmp560_); -#line 865 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp560_); -#line 8444 "Dialogs.c" +#line 8572 "Dialogs.c" } -#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (dialog_parent); -#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (ok_button); -#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (save_results_button); -#line 8452 "Dialogs.c" +#line 8580 "Dialogs.c" } else { const gchar* _tmp561_ = NULL; ImportUIQuestionParams* _tmp562_ = NULL; @@ -8505,109 +8633,109 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest gint _tmp596_ = 0; GtkMessageDialog* _tmp604_ = NULL; GtkMessageDialog* _tmp605_ = NULL; -#line 868 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp561_ = message; -#line 868 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp562_ = question; -#line 868 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp563_ = _tmp562_->question; -#line 868 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp564_ = g_strconcat ("\n", _tmp563_, NULL); -#line 868 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp565_ = _tmp564_; -#line 868 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp566_ = g_strconcat (_tmp561_, _tmp565_, NULL); -#line 868 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 868 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala" message = _tmp566_; -#line 868 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 884 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp565_); -#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp567_ = app_window_get_instance (); -#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp568_ = _tmp567_; -#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp569_ = message; -#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp570_ = (GtkMessageDialog*) gtk_message_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp568_, gtk_window_get_type (), GtkWindow), GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp569_); -#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp570_); -#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (dialog); -#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog = _tmp570_; -#line 870 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp568_); -#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 888 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp571_ = dialog; -#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 888 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp572_ = _ ("Import Complete"); -#line 872 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 888 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp571_, gtk_window_get_type (), GtkWindow), _tmp572_); -#line 873 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 889 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp573_ = dialog; -#line 873 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 889 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp574_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp573_, gtk_dialog_get_type (), GtkDialog), IMPORT_UI_SAVE_RESULTS_BUTTON_NAME, IMPORT_UI_SAVE_RESULTS_RESPONSE_ID); -#line 873 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 889 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp575_ = _g_object_ref0 (_tmp574_); -#line 873 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 889 "/home/jens/Source/shotwell/src/Dialogs.vala" save_results_button = _tmp575_; -#line 875 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp576_ = save_results_button; -#line 875 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp577_ = manifest; -#line 875 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp578_ = _tmp577_->success; -#line 875 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp579_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp578_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 875 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp580_ = _tmp579_; -#line 875 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp581_ = manifest; -#line 875 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp582_ = _tmp581_->all; -#line 875 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp583_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp582_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 875 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp584_ = _tmp583_; -#line 875 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 891 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_visible (_tmp576_, _tmp580_ < _tmp584_); -#line 876 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 892 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp585_ = dialog; -#line 876 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 892 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp586_ = question; -#line 876 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 892 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp587_ = _tmp586_->no_button; -#line 876 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 892 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp588_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp585_, gtk_dialog_get_type (), GtkDialog), _tmp587_, (gint) GTK_RESPONSE_NO); -#line 876 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 892 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp589_ = _g_object_ref0 (_tmp588_); -#line 876 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 892 "/home/jens/Source/shotwell/src/Dialogs.vala" no_button = _tmp589_; -#line 877 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 893 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp590_ = dialog; -#line 877 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 893 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp591_ = question; -#line 877 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 893 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp592_ = _tmp591_->yes_button; -#line 877 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 893 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp590_, gtk_dialog_get_type (), GtkDialog), _tmp592_, (gint) GTK_RESPONSE_YES); -#line 878 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 894 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp593_ = dialog; -#line 878 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 894 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp594_ = no_button; -#line 878 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 894 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp593_, gtk_window_get_type (), GtkWindow), _tmp594_); -#line 880 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 896 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp595_ = dialog; -#line 880 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 896 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp596_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp595_, gtk_dialog_get_type (), GtkDialog)); -#line 880 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 896 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog_response = _tmp596_; -#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 897 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 8596 "Dialogs.c" +#line 8724 "Dialogs.c" gint _tmp597_ = 0; GtkMessageDialog* _tmp598_ = NULL; ImportManifest* _tmp599_ = NULL; @@ -8615,59 +8743,59 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest gchar* _tmp601_ = NULL; GtkMessageDialog* _tmp602_ = NULL; gint _tmp603_ = 0; -#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 897 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp597_ = dialog_response; -#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 897 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!(_tmp597_ == IMPORT_UI_SAVE_RESULTS_RESPONSE_ID)) { -#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 897 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 8610 "Dialogs.c" +#line 8738 "Dialogs.c" } -#line 882 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp598_ = dialog; -#line 882 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp599_ = manifest; -#line 882 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp600_ = import_ui_create_result_report_from_manifest (_tmp599_); -#line 882 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp601_ = _tmp600_; -#line 882 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala" import_ui_save_import_results (G_TYPE_CHECK_INSTANCE_CAST (_tmp598_, gtk_window_get_type (), GtkWindow), _tmp601_); -#line 882 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp601_); -#line 883 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 899 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp602_ = dialog; -#line 883 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 899 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp603_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp602_, gtk_dialog_get_type (), GtkDialog)); -#line 883 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 899 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog_response = _tmp603_; -#line 8630 "Dialogs.c" +#line 8758 "Dialogs.c" } -#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 902 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp604_ = dialog; -#line 886 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 902 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp604_, gtk_widget_get_type (), GtkWidget)); -#line 887 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 903 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp605_ = dialog; -#line 887 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 903 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp605_, gtk_widget_get_type (), GtkWidget)); -#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (no_button); -#line 850 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (save_results_button); -#line 8644 "Dialogs.c" +#line 8772 "Dialogs.c" } -#line 890 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 906 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp606_ = dialog_response; -#line 890 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 906 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp606_ == ((gint) GTK_RESPONSE_YES); -#line 890 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 906 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (dialog); -#line 890 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 906 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (message); -#line 890 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 906 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 8656 "Dialogs.c" +#line 8784 "Dialogs.c" } @@ -8711,13 +8839,13 @@ static guint8* string_get_data (const gchar* self, int* result_length1) { if (result_length1) { #line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" *result_length1 = _tmp4__length1; -#line 8700 "Dialogs.c" +#line 8828 "Dialogs.c" } #line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = _tmp4_; #line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 8706 "Dialogs.c" +#line 8834 "Dialogs.c" } @@ -8741,75 +8869,75 @@ void import_ui_save_import_results (GtkWindow* chooser_dialog_parent, const gcha gboolean _tmp13_ = FALSE; gint _tmp14_ = 0; GError * _inner_error_ = NULL; -#line 893 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 909 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail ((chooser_dialog_parent == NULL) || GTK_IS_WINDOW (chooser_dialog_parent)); -#line 893 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 909 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (results_log != NULL); -#line 894 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = chooser_dialog_parent; -#line 894 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (IMPORT_UI_SAVE_RESULTS_FILE_CHOOSER_TITLE, _tmp0_, GTK_FILE_CHOOSER_ACTION_SAVE, RESOURCES_CANCEL_LABEL, GTK_RESPONSE_CANCEL, RESOURCES_SAVE_AS_LABEL, GTK_RESPONSE_ACCEPT, NULL, NULL); -#line 894 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp1_); -#line 894 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala" chooser_dialog = _tmp1_; -#line 897 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 913 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = chooser_dialog; -#line 897 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 913 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_file_chooser_set_do_overwrite_confirmation (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), TRUE); -#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 914 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = chooser_dialog; -#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 914 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = g_get_home_dir (); -#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 914 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_file_chooser_set_current_folder (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), _tmp4_); -#line 899 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 915 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = chooser_dialog; -#line 899 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 915 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_file_chooser_set_current_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), "Shotwell Import Log.txt"); -#line 900 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 916 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = chooser_dialog; -#line 900 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 916 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_file_chooser_set_local_only (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), FALSE); -#line 902 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 918 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = chooser_dialog; -#line 902 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 918 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_dialog_get_type (), GtkDialog)); -#line 902 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 918 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog_result = _tmp8_; -#line 903 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 919 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = chooser_dialog; -#line 903 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 919 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = gtk_file_chooser_get_file (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser)); -#line 903 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 919 "/home/jens/Source/shotwell/src/Dialogs.vala" chosen_file = _tmp10_; -#line 904 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 920 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = chooser_dialog; -#line 904 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 920 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget)); -#line 905 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = chooser_dialog; -#line 905 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget)); -#line 907 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = dialog_result; -#line 907 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp14_ == ((gint) GTK_RESPONSE_ACCEPT)) { -#line 8784 "Dialogs.c" +#line 8912 "Dialogs.c" GFile* _tmp15_ = NULL; -#line 907 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = chosen_file; -#line 907 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = _tmp15_ != NULL; -#line 8790 "Dialogs.c" +#line 8918 "Dialogs.c" } else { -#line 907 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = FALSE; -#line 8794 "Dialogs.c" +#line 8922 "Dialogs.c" } -#line 907 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp13_) { -#line 8798 "Dialogs.c" +#line 8926 "Dialogs.c" { GFileOutputStream* outstream = NULL; GFile* _tmp16_ = NULL; @@ -8821,53 +8949,53 @@ void import_ui_save_import_results (GtkWindow* chooser_dialog_parent, const gcha guint8* _tmp21_ = NULL; gint _tmp21__length1 = 0; GFileOutputStream* _tmp22_ = NULL; -#line 909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = chosen_file; -#line 909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = g_file_replace (_tmp16_, NULL, FALSE, G_FILE_CREATE_NONE, NULL, &_inner_error_); -#line 909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 925 "/home/jens/Source/shotwell/src/Dialogs.vala" outstream = _tmp17_; -#line 909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 925 "/home/jens/Source/shotwell/src/Dialogs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 8818 "Dialogs.c" - goto __catch411_g_error; +#line 8946 "Dialogs.c" + goto __catch424_g_error; } -#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = outstream; -#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = results_log; -#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = string_get_data (_tmp19_, &_tmp20__length1); -#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = _tmp20_; -#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21__length1 = _tmp20__length1; -#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala" g_output_stream_write (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, g_output_stream_get_type (), GOutputStream), _tmp21_, (gsize) _tmp21__length1, NULL, &_inner_error_); -#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 910 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (outstream); -#line 8837 "Dialogs.c" - goto __catch411_g_error; +#line 8965 "Dialogs.c" + goto __catch424_g_error; } -#line 911 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = outstream; -#line 911 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala" g_output_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, g_output_stream_get_type (), GOutputStream), NULL, &_inner_error_); -#line 911 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 911 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (outstream); -#line 8848 "Dialogs.c" - goto __catch411_g_error; +#line 8976 "Dialogs.c" + goto __catch424_g_error; } -#line 908 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (outstream); -#line 8853 "Dialogs.c" +#line 8981 "Dialogs.c" } - goto __finally411; - __catch411_g_error: + goto __finally424; + __catch424_g_error: { GError* err = NULL; GFile* _tmp23_ = NULL; @@ -8875,58 +9003,58 @@ void import_ui_save_import_results (GtkWindow* chooser_dialog_parent, const gcha gchar* _tmp25_ = NULL; GError* _tmp26_ = NULL; const gchar* _tmp27_ = NULL; -#line 908 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" err = _inner_error_; -#line 908 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" _inner_error_ = NULL; -#line 913 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = chosen_file; -#line 913 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = g_file_get_path (_tmp23_); -#line 913 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = _tmp24_; -#line 913 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = err; -#line 913 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = _tmp26_->message; -#line 913 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_critical ("Dialogs.vala:913: couldn't save import results to log file %s: %s", _tmp25_, _tmp27_); -#line 913 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_critical ("Dialogs.vala:929: couldn't save import results to log file %s: %s", _tmp25_, _tmp27_); +#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp25_); -#line 908 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_error_free0 (err); -#line 8884 "Dialogs.c" +#line 9012 "Dialogs.c" } - __finally411: -#line 908 "/home/jens/Source/shotwell/src/Dialogs.vala" + __finally424: +#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 908 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (chosen_file); -#line 908 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (chooser_dialog); -#line 908 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 908 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" g_clear_error (&_inner_error_); -#line 908 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" return; -#line 8899 "Dialogs.c" +#line 9027 "Dialogs.c" } } -#line 893 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 909 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (chosen_file); -#line 893 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 909 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (chooser_dialog); -#line 8906 "Dialogs.c" +#line 9034 "Dialogs.c" } static gboolean _text_entry_dialog_mediator_on_modify_validate_text_entry_dialog_on_modify_validate_type (const gchar* text, gpointer self) { gboolean result; result = text_entry_dialog_mediator_on_modify_validate ((TextEntryDialogMediator*) self, text); -#line 930 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 8915 "Dialogs.c" +#line 9043 "Dialogs.c" } @@ -8945,78 +9073,78 @@ TextEntryDialogMediator* text_entry_dialog_mediator_construct (GType object_type const gchar* _tmp9_ = NULL; GeeCollection* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; -#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 940 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (title != NULL, NULL); -#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 940 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (label != NULL, NULL); -#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 940 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail ((completion_list == NULL) || GEE_IS_COLLECTION (completion_list), NULL); -#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 940 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (TextEntryDialogMediator*) g_type_create_instance (object_type); -#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = app_window_create_builder ("shotwell.ui", NULL); -#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" builder = _tmp0_; -#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 943 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = text_entry_dialog_new (); -#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 943 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp1_); -#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 943 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->dialog); -#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 943 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->dialog = _tmp1_; -#line 928 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 944 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = self->priv->dialog; -#line 928 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 944 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_dialog_get_type (), GtkDialog)); -#line 928 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 944 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = gtk_builder_get_object (builder, "dialog-vbox2"); -#line 928 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 944 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_box_get_type (), GtkBox), gtk_widget_get_type (), GtkWidget)); -#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 945 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = self->priv->dialog; -#line 929 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 945 "/home/jens/Source/shotwell/src/Dialogs.vala" text_entry_dialog_set_builder (_tmp5_, builder); -#line 930 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = self->priv->dialog; -#line 930 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = title; -#line 930 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = label; -#line 930 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = initial_text; -#line 930 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = completion_list; -#line 930 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = completion_delimiter; -#line 930 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala" text_entry_dialog_setup (_tmp6_, _text_entry_dialog_mediator_on_modify_validate_text_entry_dialog_on_modify_validate_type, self, _tmp7_, _tmp8_, _tmp9_, _tmp10_, _tmp11_); -#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 940 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (builder); -#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 940 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 8984 "Dialogs.c" +#line 9112 "Dialogs.c" } static gboolean text_entry_dialog_mediator_real_on_modify_validate (TextEntryDialogMediator* self, const gchar* text) { gboolean result = FALSE; -#line 933 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 949 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (text != NULL, FALSE); -#line 934 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 950 "/home/jens/Source/shotwell/src/Dialogs.vala" result = TRUE; -#line 934 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 950 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 8996 "Dialogs.c" +#line 9124 "Dialogs.c" } gboolean text_entry_dialog_mediator_on_modify_validate (TextEntryDialogMediator* self, const gchar* text) { -#line 933 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 949 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_TEXT_ENTRY_DIALOG_MEDIATOR (self), FALSE); -#line 933 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 949 "/home/jens/Source/shotwell/src/Dialogs.vala" return TEXT_ENTRY_DIALOG_MEDIATOR_GET_CLASS (self)->on_modify_validate (self, text); -#line 9005 "Dialogs.c" +#line 9133 "Dialogs.c" } @@ -9024,231 +9152,231 @@ gchar* _text_entry_dialog_mediator_execute (TextEntryDialogMediator* self) { gchar* result = NULL; TextEntryDialog* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 953 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_TEXT_ENTRY_DIALOG_MEDIATOR (self), NULL); -#line 938 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 954 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->dialog; -#line 938 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 954 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = text_entry_dialog_execute (_tmp0_); -#line 938 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 954 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp1_; -#line 938 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 954 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 9023 "Dialogs.c" +#line 9151 "Dialogs.c" } static void value_text_entry_dialog_mediator_init (GValue* value) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 9030 "Dialogs.c" +#line 9158 "Dialogs.c" } static void value_text_entry_dialog_mediator_free_value (GValue* value) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" if (value->data[0].v_pointer) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" text_entry_dialog_mediator_unref (value->data[0].v_pointer); -#line 9039 "Dialogs.c" +#line 9167 "Dialogs.c" } } static void value_text_entry_dialog_mediator_copy_value (const GValue* src_value, GValue* dest_value) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" if (src_value->data[0].v_pointer) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" dest_value->data[0].v_pointer = text_entry_dialog_mediator_ref (src_value->data[0].v_pointer); -#line 9049 "Dialogs.c" +#line 9177 "Dialogs.c" } else { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" dest_value->data[0].v_pointer = NULL; -#line 9053 "Dialogs.c" +#line 9181 "Dialogs.c" } } static gpointer value_text_entry_dialog_mediator_peek_pointer (const GValue* value) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" return value->data[0].v_pointer; -#line 9061 "Dialogs.c" +#line 9189 "Dialogs.c" } static gchar* value_text_entry_dialog_mediator_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" if (collect_values[0].v_pointer) { -#line 9068 "Dialogs.c" +#line 9196 "Dialogs.c" TextEntryDialogMediator* object; object = collect_values[0].v_pointer; -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" if (object->parent_instance.g_class == NULL) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 9075 "Dialogs.c" +#line 9203 "Dialogs.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 9079 "Dialogs.c" +#line 9207 "Dialogs.c" } -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = text_entry_dialog_mediator_ref (object); -#line 9083 "Dialogs.c" +#line 9211 "Dialogs.c" } else { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 9087 "Dialogs.c" +#line 9215 "Dialogs.c" } -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" return NULL; -#line 9091 "Dialogs.c" +#line 9219 "Dialogs.c" } static gchar* value_text_entry_dialog_mediator_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { TextEntryDialogMediator** object_p; object_p = collect_values[0].v_pointer; -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!object_p) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 9102 "Dialogs.c" +#line 9230 "Dialogs.c" } -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!value->data[0].v_pointer) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = NULL; -#line 9108 "Dialogs.c" +#line 9236 "Dialogs.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = value->data[0].v_pointer; -#line 9112 "Dialogs.c" +#line 9240 "Dialogs.c" } else { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = text_entry_dialog_mediator_ref (value->data[0].v_pointer); -#line 9116 "Dialogs.c" +#line 9244 "Dialogs.c" } -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" return NULL; -#line 9120 "Dialogs.c" +#line 9248 "Dialogs.c" } GParamSpec* param_spec_text_entry_dialog_mediator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecTextEntryDialogMediator* spec; -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (g_type_is_a (object_type, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR), NULL); -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" return G_PARAM_SPEC (spec); -#line 9134 "Dialogs.c" +#line 9262 "Dialogs.c" } gpointer value_get_text_entry_dialog_mediator (const GValue* value) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR), NULL); -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" return value->data[0].v_pointer; -#line 9143 "Dialogs.c" +#line 9271 "Dialogs.c" } void value_set_text_entry_dialog_mediator (GValue* value, gpointer v_object) { TextEntryDialogMediator* old; -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR)); -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" old = value->data[0].v_pointer; -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" if (v_object) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR)); -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = v_object; -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" text_entry_dialog_mediator_ref (value->data[0].v_pointer); -#line 9163 "Dialogs.c" +#line 9291 "Dialogs.c" } else { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 9167 "Dialogs.c" +#line 9295 "Dialogs.c" } -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" if (old) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" text_entry_dialog_mediator_unref (old); -#line 9173 "Dialogs.c" +#line 9301 "Dialogs.c" } } void value_take_text_entry_dialog_mediator (GValue* value, gpointer v_object) { TextEntryDialogMediator* old; -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR)); -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" old = value->data[0].v_pointer; -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" if (v_object) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR)); -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = v_object; -#line 9192 "Dialogs.c" +#line 9320 "Dialogs.c" } else { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 9196 "Dialogs.c" +#line 9324 "Dialogs.c" } -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" if (old) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" text_entry_dialog_mediator_unref (old); -#line 9202 "Dialogs.c" +#line 9330 "Dialogs.c" } } static void text_entry_dialog_mediator_class_init (TextEntryDialogMediatorClass * klass) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" text_entry_dialog_mediator_parent_class = g_type_class_peek_parent (klass); -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" ((TextEntryDialogMediatorClass *) klass)->finalize = text_entry_dialog_mediator_finalize; -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_class_add_private (klass, sizeof (TextEntryDialogMediatorPrivate)); -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" ((TextEntryDialogMediatorClass *) klass)->on_modify_validate = text_entry_dialog_mediator_real_on_modify_validate; -#line 9216 "Dialogs.c" +#line 9344 "Dialogs.c" } static void text_entry_dialog_mediator_instance_init (TextEntryDialogMediator * self) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv = TEXT_ENTRY_DIALOG_MEDIATOR_GET_PRIVATE (self); -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" self->ref_count = 1; -#line 9225 "Dialogs.c" +#line 9353 "Dialogs.c" } static void text_entry_dialog_mediator_finalize (TextEntryDialogMediator* obj) { TextEntryDialogMediator * self; -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator); -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_handlers_destroy (self); -#line 922 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 938 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->dialog); -#line 9237 "Dialogs.c" +#line 9365 "Dialogs.c" } @@ -9269,24 +9397,24 @@ GType text_entry_dialog_mediator_get_type (void) { gpointer text_entry_dialog_mediator_ref (gpointer instance) { TextEntryDialogMediator* self; self = instance; -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" g_atomic_int_inc (&self->ref_count); -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" return instance; -#line 9262 "Dialogs.c" +#line 9390 "Dialogs.c" } void text_entry_dialog_mediator_unref (gpointer instance) { TextEntryDialogMediator* self; self = instance; -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" TEXT_ENTRY_DIALOG_MEDIATOR_GET_CLASS (self)->finalize (self); -#line 921 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_free_instance ((GTypeInstance *) self); -#line 9275 "Dialogs.c" +#line 9403 "Dialogs.c" } } @@ -9294,9 +9422,9 @@ void text_entry_dialog_mediator_unref (gpointer instance) { static gboolean _multi_text_entry_dialog_mediator_on_modify_validate_multi_text_entry_dialog_on_modify_validate_type (const gchar* text, gpointer self) { gboolean result; result = multi_text_entry_dialog_mediator_on_modify_validate ((MultiTextEntryDialogMediator*) self, text); -#line 950 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 966 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 9285 "Dialogs.c" +#line 9413 "Dialogs.c" } @@ -9313,72 +9441,72 @@ MultiTextEntryDialogMediator* multi_text_entry_dialog_mediator_construct (GType const gchar* _tmp7_ = NULL; const gchar* _tmp8_ = NULL; const gchar* _tmp9_ = NULL; -#line 945 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 961 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (title != NULL, NULL); -#line 945 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 961 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (label != NULL, NULL); -#line 945 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 961 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (MultiTextEntryDialogMediator*) g_type_create_instance (object_type); -#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 962 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = app_window_create_builder ("shotwell.ui", NULL); -#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 962 "/home/jens/Source/shotwell/src/Dialogs.vala" builder = _tmp0_; -#line 947 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 963 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = multi_text_entry_dialog_new (); -#line 947 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 963 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp1_); -#line 947 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 963 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->dialog); -#line 947 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 963 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->dialog = _tmp1_; -#line 948 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 964 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = self->priv->dialog; -#line 948 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 964 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_dialog_get_type (), GtkDialog)); -#line 948 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 964 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = gtk_builder_get_object (builder, "dialog-vbox4"); -#line 948 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 964 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_box_get_type (), GtkBox), gtk_widget_get_type (), GtkWidget)); -#line 949 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 965 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = self->priv->dialog; -#line 949 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 965 "/home/jens/Source/shotwell/src/Dialogs.vala" multi_text_entry_dialog_set_builder (_tmp5_, builder); -#line 950 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 966 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = self->priv->dialog; -#line 950 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 966 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = title; -#line 950 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 966 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = label; -#line 950 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 966 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = initial_text; -#line 950 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 966 "/home/jens/Source/shotwell/src/Dialogs.vala" multi_text_entry_dialog_setup (_tmp6_, _multi_text_entry_dialog_mediator_on_modify_validate_multi_text_entry_dialog_on_modify_validate_type, self, _tmp7_, _tmp8_, _tmp9_); -#line 945 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 961 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (builder); -#line 945 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 961 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 9346 "Dialogs.c" +#line 9474 "Dialogs.c" } static gboolean multi_text_entry_dialog_mediator_real_on_modify_validate (MultiTextEntryDialogMediator* self, const gchar* text) { gboolean result = FALSE; -#line 953 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 969 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (text != NULL, FALSE); -#line 954 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 970 "/home/jens/Source/shotwell/src/Dialogs.vala" result = TRUE; -#line 954 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 970 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 9358 "Dialogs.c" +#line 9486 "Dialogs.c" } gboolean multi_text_entry_dialog_mediator_on_modify_validate (MultiTextEntryDialogMediator* self, const gchar* text) { -#line 953 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 969 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR (self), FALSE); -#line 953 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 969 "/home/jens/Source/shotwell/src/Dialogs.vala" return MULTI_TEXT_ENTRY_DIALOG_MEDIATOR_GET_CLASS (self)->on_modify_validate (self, text); -#line 9367 "Dialogs.c" +#line 9495 "Dialogs.c" } @@ -9386,231 +9514,231 @@ gchar* _multi_text_entry_dialog_mediator_execute (MultiTextEntryDialogMediator* gchar* result = NULL; MultiTextEntryDialog* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 957 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 973 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR (self), NULL); -#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 974 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->dialog; -#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 974 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = multi_text_entry_dialog_execute (_tmp0_); -#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 974 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp1_; -#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 974 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 9385 "Dialogs.c" +#line 9513 "Dialogs.c" } static void value_multi_text_entry_dialog_mediator_init (GValue* value) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 9392 "Dialogs.c" +#line 9520 "Dialogs.c" } static void value_multi_text_entry_dialog_mediator_free_value (GValue* value) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" if (value->data[0].v_pointer) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" multi_text_entry_dialog_mediator_unref (value->data[0].v_pointer); -#line 9401 "Dialogs.c" +#line 9529 "Dialogs.c" } } static void value_multi_text_entry_dialog_mediator_copy_value (const GValue* src_value, GValue* dest_value) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" if (src_value->data[0].v_pointer) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" dest_value->data[0].v_pointer = multi_text_entry_dialog_mediator_ref (src_value->data[0].v_pointer); -#line 9411 "Dialogs.c" +#line 9539 "Dialogs.c" } else { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" dest_value->data[0].v_pointer = NULL; -#line 9415 "Dialogs.c" +#line 9543 "Dialogs.c" } } static gpointer value_multi_text_entry_dialog_mediator_peek_pointer (const GValue* value) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" return value->data[0].v_pointer; -#line 9423 "Dialogs.c" +#line 9551 "Dialogs.c" } static gchar* value_multi_text_entry_dialog_mediator_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" if (collect_values[0].v_pointer) { -#line 9430 "Dialogs.c" +#line 9558 "Dialogs.c" MultiTextEntryDialogMediator* object; object = collect_values[0].v_pointer; -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" if (object->parent_instance.g_class == NULL) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 9437 "Dialogs.c" +#line 9565 "Dialogs.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 9441 "Dialogs.c" +#line 9569 "Dialogs.c" } -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = multi_text_entry_dialog_mediator_ref (object); -#line 9445 "Dialogs.c" +#line 9573 "Dialogs.c" } else { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 9449 "Dialogs.c" +#line 9577 "Dialogs.c" } -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" return NULL; -#line 9453 "Dialogs.c" +#line 9581 "Dialogs.c" } static gchar* value_multi_text_entry_dialog_mediator_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { MultiTextEntryDialogMediator** object_p; object_p = collect_values[0].v_pointer; -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!object_p) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 9464 "Dialogs.c" +#line 9592 "Dialogs.c" } -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!value->data[0].v_pointer) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = NULL; -#line 9470 "Dialogs.c" +#line 9598 "Dialogs.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = value->data[0].v_pointer; -#line 9474 "Dialogs.c" +#line 9602 "Dialogs.c" } else { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = multi_text_entry_dialog_mediator_ref (value->data[0].v_pointer); -#line 9478 "Dialogs.c" +#line 9606 "Dialogs.c" } -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" return NULL; -#line 9482 "Dialogs.c" +#line 9610 "Dialogs.c" } GParamSpec* param_spec_multi_text_entry_dialog_mediator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecMultiTextEntryDialogMediator* spec; -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (g_type_is_a (object_type, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR), NULL); -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" return G_PARAM_SPEC (spec); -#line 9496 "Dialogs.c" +#line 9624 "Dialogs.c" } gpointer value_get_multi_text_entry_dialog_mediator (const GValue* value) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR), NULL); -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" return value->data[0].v_pointer; -#line 9505 "Dialogs.c" +#line 9633 "Dialogs.c" } void value_set_multi_text_entry_dialog_mediator (GValue* value, gpointer v_object) { MultiTextEntryDialogMediator* old; -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR)); -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" old = value->data[0].v_pointer; -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" if (v_object) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR)); -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = v_object; -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" multi_text_entry_dialog_mediator_ref (value->data[0].v_pointer); -#line 9525 "Dialogs.c" +#line 9653 "Dialogs.c" } else { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 9529 "Dialogs.c" +#line 9657 "Dialogs.c" } -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" if (old) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" multi_text_entry_dialog_mediator_unref (old); -#line 9535 "Dialogs.c" +#line 9663 "Dialogs.c" } } void value_take_multi_text_entry_dialog_mediator (GValue* value, gpointer v_object) { MultiTextEntryDialogMediator* old; -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR)); -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" old = value->data[0].v_pointer; -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" if (v_object) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR)); -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = v_object; -#line 9554 "Dialogs.c" +#line 9682 "Dialogs.c" } else { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 9558 "Dialogs.c" +#line 9686 "Dialogs.c" } -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" if (old) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" multi_text_entry_dialog_mediator_unref (old); -#line 9564 "Dialogs.c" +#line 9692 "Dialogs.c" } } static void multi_text_entry_dialog_mediator_class_init (MultiTextEntryDialogMediatorClass * klass) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" multi_text_entry_dialog_mediator_parent_class = g_type_class_peek_parent (klass); -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" ((MultiTextEntryDialogMediatorClass *) klass)->finalize = multi_text_entry_dialog_mediator_finalize; -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_class_add_private (klass, sizeof (MultiTextEntryDialogMediatorPrivate)); -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" ((MultiTextEntryDialogMediatorClass *) klass)->on_modify_validate = multi_text_entry_dialog_mediator_real_on_modify_validate; -#line 9578 "Dialogs.c" +#line 9706 "Dialogs.c" } static void multi_text_entry_dialog_mediator_instance_init (MultiTextEntryDialogMediator * self) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv = MULTI_TEXT_ENTRY_DIALOG_MEDIATOR_GET_PRIVATE (self); -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" self->ref_count = 1; -#line 9587 "Dialogs.c" +#line 9715 "Dialogs.c" } static void multi_text_entry_dialog_mediator_finalize (MultiTextEntryDialogMediator* obj) { MultiTextEntryDialogMediator * self; -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR, MultiTextEntryDialogMediator); -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_handlers_destroy (self); -#line 943 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 959 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->dialog); -#line 9599 "Dialogs.c" +#line 9727 "Dialogs.c" } @@ -9631,24 +9759,24 @@ GType multi_text_entry_dialog_mediator_get_type (void) { gpointer multi_text_entry_dialog_mediator_ref (gpointer instance) { MultiTextEntryDialogMediator* self; self = instance; -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" g_atomic_int_inc (&self->ref_count); -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" return instance; -#line 9624 "Dialogs.c" +#line 9752 "Dialogs.c" } void multi_text_entry_dialog_mediator_unref (gpointer instance) { MultiTextEntryDialogMediator* self; self = instance; -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" MULTI_TEXT_ENTRY_DIALOG_MEDIATOR_GET_CLASS (self)->finalize (self); -#line 942 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_free_instance ((GTypeInstance *) self); -#line 9637 "Dialogs.c" +#line 9765 "Dialogs.c" } } @@ -9662,11 +9790,11 @@ gchar* build_alert_body_text (const gchar* primary_text, const gchar* secondary_ const gchar* _tmp12_ = NULL; gchar* _tmp13_ = NULL; gchar* _tmp14_ = NULL; -#line 967 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 983 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = should_escape; -#line 967 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 983 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_) { -#line 9655 "Dialogs.c" +#line 9783 "Dialogs.c" const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; @@ -9675,60 +9803,60 @@ gchar* build_alert_body_text (const gchar* primary_text, const gchar* secondary_ gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; -#line 968 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = primary_text; -#line 968 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = guarded_markup_escape_text (_tmp1_); -#line 968 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp2_; -#line 968 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = secondary_text; -#line 968 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = guarded_markup_escape_text (_tmp4_); -#line 968 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _tmp5_; -#line 968 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = g_strdup_printf ("<span weight=\"Bold\" size=\"larger\">%s</span>\n%s", _tmp3_, _tmp6_); -#line 968 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _tmp7_; -#line 968 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp6_); -#line 968 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp3_); -#line 968 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp8_; -#line 968 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 9688 "Dialogs.c" +#line 9816 "Dialogs.c" } -#line 972 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = primary_text; -#line 972 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = guarded_markup_escape_text (_tmp9_); -#line 972 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = _tmp10_; -#line 972 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = secondary_text; -#line 972 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = g_strdup_printf ("<span weight=\"Bold\" size=\"larger\">%s</span>\n%s", _tmp11_, _tmp12_); -#line 972 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = _tmp13_; -#line 972 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp11_); -#line 972 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp14_; -#line 972 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 9708 "Dialogs.c" +#line 9836 "Dialogs.c" } static gboolean _entry_multi_completion_match_func_gtk_entry_completion_match_func (GtkEntryCompletion* completion, const gchar* key, GtkTreeIter* iter, gpointer self) { gboolean result; result = entry_multi_completion_match_func ((EntryMultiCompletion*) self, completion, key, iter); -#line 987 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1003 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 9717 "Dialogs.c" +#line 9845 "Dialogs.c" } @@ -9741,65 +9869,65 @@ EntryMultiCompletion* entry_multi_completion_construct (GType object_type, GeeCo GeeCollection* _tmp7_ = NULL; GtkListStore* _tmp8_ = NULL; GtkListStore* _tmp9_ = NULL; -#line 981 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 997 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GEE_IS_COLLECTION (completion_list), NULL); -#line 981 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 997 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (EntryMultiCompletion*) g_object_new (object_type, NULL); -#line 982 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = delimiter; -#line 982 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp1_ == NULL) { -#line 982 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = TRUE; -#line 9740 "Dialogs.c" +#line 9868 "Dialogs.c" } else { const gchar* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 982 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = delimiter; -#line 982 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = strlen (_tmp2_); -#line 982 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp3_; -#line 982 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _tmp4_ == 1; -#line 9753 "Dialogs.c" +#line 9881 "Dialogs.c" } -#line 982 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_assert (_tmp0_, "delimiter == null || delimiter.length == 1"); -#line 983 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 999 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = delimiter; -#line 983 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 999 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = g_strdup (_tmp5_); -#line 983 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 999 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (self->priv->delimiter); -#line 983 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 999 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->delimiter = _tmp6_; -#line 985 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1001 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = completion_list; -#line 985 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1001 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = entry_multi_completion_create_completion_store (_tmp7_); -#line 985 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1001 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _tmp8_; -#line 985 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1001 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_completion_set_model (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_entry_completion_get_type (), GtkEntryCompletion), G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GTK_TYPE_TREE_MODEL, GtkTreeModel)); -#line 985 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1001 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp9_); -#line 986 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1002 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_completion_set_text_column (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_entry_completion_get_type (), GtkEntryCompletion), 0); -#line 987 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1003 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_completion_set_match_func (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_entry_completion_get_type (), GtkEntryCompletion), _entry_multi_completion_match_func_gtk_entry_completion_match_func, g_object_ref (self), g_object_unref); -#line 981 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 997 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 9781 "Dialogs.c" +#line 9909 "Dialogs.c" } EntryMultiCompletion* entry_multi_completion_new (GeeCollection* completion_list, const gchar* delimiter) { -#line 981 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 997 "/home/jens/Source/shotwell/src/Dialogs.vala" return entry_multi_completion_construct (TYPE_ENTRY_MULTI_COMPLETION, completion_list, delimiter); -#line 9788 "Dialogs.c" +#line 9916 "Dialogs.c" } @@ -9811,21 +9939,21 @@ static GtkListStore* entry_multi_completion_create_completion_store (GeeCollecti GeeIterator* completion_iter = NULL; GeeCollection* _tmp1_ = NULL; GeeIterator* _tmp2_ = NULL; -#line 990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1006 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GEE_IS_COLLECTION (completion_list), NULL); -#line 991 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1007 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = gtk_list_store_new (1, G_TYPE_STRING, -1); -#line 991 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1007 "/home/jens/Source/shotwell/src/Dialogs.vala" completion_store = _tmp0_; -#line 993 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1009 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = completion_list; -#line 993 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1009 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 993 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1009 "/home/jens/Source/shotwell/src/Dialogs.vala" completion_iter = _tmp2_; -#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1010 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 9814 "Dialogs.c" +#line 9942 "Dialogs.c" GeeIterator* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; GtkListStore* _tmp5_ = NULL; @@ -9835,45 +9963,45 @@ static GtkListStore* entry_multi_completion_create_completion_store (GeeCollecti GeeIterator* _tmp9_ = NULL; gpointer _tmp10_ = NULL; gchar* _tmp11_ = NULL; -#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1010 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = completion_iter; -#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1010 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = gee_iterator_next (_tmp3_); -#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1010 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp4_) { -#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1010 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 9832 "Dialogs.c" +#line 9960 "Dialogs.c" } -#line 995 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1011 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = completion_store; -#line 995 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1011 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_list_store_append (_tmp5_, &_tmp6_); -#line 995 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1011 "/home/jens/Source/shotwell/src/Dialogs.vala" store_iter = _tmp6_; -#line 996 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = completion_store; -#line 996 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = store_iter; -#line 996 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = completion_iter; -#line 996 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = gee_iterator_get (_tmp9_); -#line 996 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = (gchar*) _tmp10_; -#line 996 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_list_store_set (_tmp7_, &_tmp8_, 0, _tmp11_, -1, -1); -#line 996 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp11_); -#line 9854 "Dialogs.c" +#line 9982 "Dialogs.c" } -#line 999 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala" result = completion_store; -#line 999 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (completion_iter); -#line 999 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 9862 "Dialogs.c" +#line 9990 "Dialogs.c" } @@ -9896,7 +10024,7 @@ static gchar* string_strip (const gchar* self) { result = _result_; #line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 9885 "Dialogs.c" +#line 10013 "Dialogs.c" } @@ -9916,7 +10044,7 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { result = _tmp1_ != NULL; #line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 9905 "Dialogs.c" +#line 10033 "Dialogs.c" } @@ -9941,7 +10069,7 @@ static gint string_last_index_of_char (const gchar* self, gunichar c, gint start _tmp3_ = _result_; #line 1020 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ != NULL) { -#line 9930 "Dialogs.c" +#line 10058 "Dialogs.c" gchar* _tmp4_ = NULL; #line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = _result_; @@ -9949,13 +10077,13 @@ static gint string_last_index_of_char (const gchar* self, gunichar c, gint start result = (gint) (_tmp4_ - ((gchar*) self)); #line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 9938 "Dialogs.c" +#line 10066 "Dialogs.c" } else { #line 1023 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" result = -1; #line 1023 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 9944 "Dialogs.c" +#line 10072 "Dialogs.c" } } @@ -9977,84 +10105,84 @@ static gboolean entry_multi_completion_match_func (EntryMultiCompletion* self, G const gchar* _tmp9_ = NULL; gchar* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; -#line 1002 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_ENTRY_MULTI_COMPLETION (self), FALSE); -#line 1002 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GTK_IS_ENTRY_COMPLETION (completion), FALSE); -#line 1002 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (key != NULL, FALSE); -#line 1002 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (iter != NULL, FALSE); -#line 1003 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1019 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = completion; -#line 1003 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1019 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gtk_entry_completion_get_model (_tmp0_); -#line 1003 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1019 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _g_object_ref0 (_tmp1_); -#line 1003 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1019 "/home/jens/Source/shotwell/src/Dialogs.vala" model = _tmp2_; -#line 1005 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1021 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = model; -#line 1005 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1021 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = *iter; -#line 1005 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1021 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_tree_model_get (_tmp3_, &_tmp4_, 0, &possible_match, -1); -#line 1011 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = possible_match; -#line 1011 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = g_utf8_casefold (_tmp5_, (gssize) -1); -#line 1011 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _tmp6_; -#line 1011 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = g_utf8_normalize (_tmp7_, (gssize) -1, G_NORMALIZE_ALL_COMPOSE); -#line 1011 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (possible_match); -#line 1011 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala" possible_match = _tmp8_; -#line 1011 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp7_); -#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1028 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = key; -#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1028 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = g_utf8_normalize (_tmp9_, (gssize) -1, G_NORMALIZE_ALL_COMPOSE); -#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1028 "/home/jens/Source/shotwell/src/Dialogs.vala" normed_key = _tmp10_; -#line 1014 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = self->priv->delimiter; -#line 1014 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp11_ == NULL) { -#line 10012 "Dialogs.c" +#line 10140 "Dialogs.c" const gchar* _tmp12_ = NULL; const gchar* _tmp13_ = NULL; gchar* _tmp14_ = NULL; gchar* _tmp15_ = NULL; gboolean _tmp16_ = FALSE; gboolean _tmp17_ = FALSE; -#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = possible_match; -#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = normed_key; -#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = string_strip (_tmp13_); -#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = _tmp14_; -#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = g_str_has_prefix (_tmp12_, _tmp15_); -#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = _tmp16_; -#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp15_); -#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp17_; -#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (normed_key); -#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (possible_match); -#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (model); -#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 10043 "Dialogs.c" +#line 10171 "Dialogs.c" } else { const gchar* _tmp18_ = NULL; const gchar* _tmp19_ = NULL; @@ -10075,15 +10203,15 @@ static gboolean entry_multi_completion_match_func (EntryMultiCompletion* self, G gchar* _tmp43_ = NULL; gboolean _tmp44_ = FALSE; gboolean _tmp45_ = FALSE; -#line 1017 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1033 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = normed_key; -#line 1017 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1033 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = self->priv->delimiter; -#line 1017 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1033 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = string_contains (_tmp18_, _tmp19_); -#line 1017 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1033 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp20_) { -#line 10072 "Dialogs.c" +#line 10200 "Dialogs.c" gint offset = 0; const gchar* _tmp21_ = NULL; const gchar* _tmp22_ = NULL; @@ -10096,118 +10224,118 @@ static gboolean entry_multi_completion_match_func (EntryMultiCompletion* self, G gint _tmp28_ = 0; gint _tmp29_ = 0; gint _tmp30_ = 0; -#line 1019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1035 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = normed_key; -#line 1019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1035 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = normed_key; -#line 1019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1035 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = self->priv->delimiter; -#line 1019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1035 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = string_get (_tmp23_, (glong) 0); -#line 1019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1035 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = string_last_index_of_char (_tmp22_, (gunichar) _tmp24_, 0); -#line 1019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1035 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = g_utf8_strlen (_tmp21_, (gssize) _tmp25_); -#line 1019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1035 "/home/jens/Source/shotwell/src/Dialogs.vala" offset = _tmp26_; -#line 1020 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1036 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = gtk_entry_completion_get_entry (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_entry_completion_get_type (), GtkEntryCompletion)); -#line 1020 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1036 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = gtk_editable_get_position (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_entry_get_type (), GtkEntry), GTK_TYPE_EDITABLE, GtkEditable)); -#line 1020 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1036 "/home/jens/Source/shotwell/src/Dialogs.vala" position = _tmp28_; -#line 1021 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1037 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = position; -#line 1021 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1037 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = offset; -#line 1021 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1037 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp29_ <= _tmp30_) { -#line 1022 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1038 "/home/jens/Source/shotwell/src/Dialogs.vala" result = FALSE; -#line 1022 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1038 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (normed_key); -#line 1022 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1038 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (possible_match); -#line 1022 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1038 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (model); -#line 1022 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1038 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 10121 "Dialogs.c" +#line 10249 "Dialogs.c" } } -#line 1025 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = normed_key; -#line 1025 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = string_strip (_tmp31_); -#line 1025 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = _tmp32_; -#line 1025 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp34_ = self->priv->delimiter; -#line 1025 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp35_ = entry_multi_completion_get_last_part (_tmp33_, _tmp34_); -#line 1025 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp36_ = _tmp35_; -#line 1025 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp33_); -#line 1025 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala" last_part = _tmp36_; -#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp37_ = last_part; -#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp38_ = strlen (_tmp37_); -#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp39_ = _tmp38_; -#line 1027 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp39_ == 0) { -#line 1028 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1044 "/home/jens/Source/shotwell/src/Dialogs.vala" result = FALSE; -#line 1028 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1044 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (last_part); -#line 1028 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1044 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (normed_key); -#line 1028 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1044 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (possible_match); -#line 1028 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1044 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (model); -#line 1028 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1044 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 10160 "Dialogs.c" +#line 10288 "Dialogs.c" } -#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp40_ = possible_match; -#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp41_ = last_part; -#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp42_ = string_strip (_tmp41_); -#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp43_ = _tmp42_; -#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp44_ = g_str_has_prefix (_tmp40_, _tmp43_); -#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp45_ = _tmp44_; -#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp43_); -#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp45_; -#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (last_part); -#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (normed_key); -#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (possible_match); -#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (model); -#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 10188 "Dialogs.c" +#line 10316 "Dialogs.c" } -#line 1002 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (normed_key); -#line 1002 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (possible_match); -#line 1002 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (model); -#line 10196 "Dialogs.c" +#line 10324 "Dialogs.c" } @@ -10230,7 +10358,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { _tmp3_ = end; #line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { -#line 10219 "Dialogs.c" +#line 10347 "Dialogs.c" glong _tmp4_ = 0L; #line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; @@ -10238,7 +10366,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { result = _tmp4_; #line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 10227 "Dialogs.c" +#line 10355 "Dialogs.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; @@ -10250,7 +10378,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { result = (glong) (_tmp5_ - _tmp6_); #line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 10239 "Dialogs.c" +#line 10367 "Dialogs.c" } } @@ -10274,21 +10402,21 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp1_ = offset; #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { -#line 10263 "Dialogs.c" +#line 10391 "Dialogs.c" glong _tmp2_ = 0L; #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); -#line 10269 "Dialogs.c" +#line 10397 "Dialogs.c" } else { #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; -#line 10273 "Dialogs.c" +#line 10401 "Dialogs.c" } #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { -#line 10277 "Dialogs.c" +#line 10405 "Dialogs.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; @@ -10300,7 +10428,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); #line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; -#line 10289 "Dialogs.c" +#line 10417 "Dialogs.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; @@ -10310,13 +10438,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp7_ = _tmp6_; #line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; -#line 10299 "Dialogs.c" +#line 10427 "Dialogs.c" } #line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; #line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { -#line 10305 "Dialogs.c" +#line 10433 "Dialogs.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; @@ -10330,7 +10458,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp11_ = offset; #line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); -#line 10319 "Dialogs.c" +#line 10447 "Dialogs.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; @@ -10340,13 +10468,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp13_ = string_length; #line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); -#line 10329 "Dialogs.c" +#line 10457 "Dialogs.c" } #line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; #line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { -#line 10335 "Dialogs.c" +#line 10463 "Dialogs.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; #line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -10355,7 +10483,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp16_ = offset; #line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; -#line 10344 "Dialogs.c" +#line 10472 "Dialogs.c" } #line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; @@ -10375,7 +10503,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { result = _tmp22_; #line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 10364 "Dialogs.c" +#line 10492 "Dialogs.c" } @@ -10411,53 +10539,53 @@ static gboolean entry_multi_completion_real_match_selected (GtkEntryCompletion* GtkEntry* _tmp36_ = NULL; gint _tmp37_ = 0; gint _tmp38_ = 0; -#line 1034 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1050 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_ENTRY_MULTI_COMPLETION, EntryMultiCompletion); -#line 1034 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1050 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GTK_IS_TREE_MODEL (model), FALSE); -#line 1034 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1050 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (iter != NULL, FALSE); -#line 1036 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1052 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = model; -#line 1036 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1052 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = *iter; -#line 1036 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1052 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_tree_model_get (_tmp0_, &_tmp1_, 0, &match, -1); -#line 1038 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1054 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_entry_completion_get_entry (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_entry_completion_get_type (), GtkEntryCompletion)); -#line 1038 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1054 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_entry_get_type (), GtkEntry)); -#line 1038 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1054 "/home/jens/Source/shotwell/src/Dialogs.vala" entry = _tmp3_; -#line 1040 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1056 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = entry; -#line 1040 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1056 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = gtk_entry_get_text (_tmp4_); -#line 1040 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1056 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = g_utf8_normalize (_tmp5_, (gssize) -1, G_NORMALIZE_ALL_COMPOSE); -#line 1040 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1056 "/home/jens/Source/shotwell/src/Dialogs.vala" old_text = _tmp6_; -#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1057 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = old_text; -#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1057 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = strlen (_tmp7_); -#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1057 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _tmp8_; -#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1057 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp9_ > 0) { -#line 10434 "Dialogs.c" +#line 10562 "Dialogs.c" const gchar* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; gboolean _tmp12_ = FALSE; -#line 1042 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1058 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = old_text; -#line 1042 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1058 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = self->priv->delimiter; -#line 1042 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1058 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = string_contains (_tmp10_, _tmp11_); -#line 1042 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1058 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp12_) { -#line 10446 "Dialogs.c" +#line 10574 "Dialogs.c" const gchar* _tmp13_ = NULL; const gchar* _tmp14_ = NULL; const gchar* _tmp15_ = NULL; @@ -10468,113 +10596,113 @@ static gboolean entry_multi_completion_real_match_selected (GtkEntryCompletion* gchar* _tmp20_ = NULL; gchar* _tmp21_ = NULL; gchar* _tmp22_ = NULL; -#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = self->priv->delimiter; -#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" if (g_strcmp0 (_tmp14_, " ") != 0) { -#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = " "; -#line 10463 "Dialogs.c" +#line 10591 "Dialogs.c" } else { -#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = ""; -#line 10467 "Dialogs.c" +#line 10595 "Dialogs.c" } -#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = old_text; -#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = old_text; -#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = self->priv->delimiter; -#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = string_get (_tmp17_, (glong) 0); -#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = string_last_index_of_char (_tmp16_, (gunichar) _tmp18_, 0); -#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = string_substring (_tmp15_, (glong) 0, (glong) (_tmp19_ + 1)); -#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = _tmp20_; -#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = g_strconcat (_tmp21_, _tmp13_, NULL); -#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (old_text); -#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" old_text = _tmp22_; -#line 1043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp21_); -#line 10491 "Dialogs.c" +#line 10619 "Dialogs.c" } else { gchar* _tmp23_ = NULL; -#line 1045 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1061 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = g_strdup (""); -#line 1045 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1061 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (old_text); -#line 1045 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1061 "/home/jens/Source/shotwell/src/Dialogs.vala" old_text = _tmp23_; -#line 10500 "Dialogs.c" +#line 10628 "Dialogs.c" } } -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = self->priv->delimiter; -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" if (g_strcmp0 (_tmp25_, " ") != 0) { -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = " "; -#line 10509 "Dialogs.c" +#line 10637 "Dialogs.c" } else { -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = ""; -#line 10513 "Dialogs.c" +#line 10641 "Dialogs.c" } -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = old_text; -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = match; -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = g_strconcat (_tmp26_, _tmp27_, NULL); -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = _tmp28_; -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = self->priv->delimiter; -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = g_strconcat (_tmp29_, _tmp30_, NULL); -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = _tmp31_; -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = g_strconcat (_tmp32_, _tmp24_, NULL); -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp34_ = _tmp33_; -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp32_); -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp29_); -#line 1048 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala" new_text = _tmp34_; -#line 1049 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1065 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp35_ = entry; -#line 1049 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1065 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_set_text (_tmp35_, new_text); -#line 1050 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1066 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp36_ = entry; -#line 1050 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1066 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp37_ = strlen (new_text); -#line 1050 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1066 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp38_ = _tmp37_; -#line 1050 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1066 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_editable_set_position (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, GTK_TYPE_EDITABLE, GtkEditable), (gint) _tmp38_); -#line 1052 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1068 "/home/jens/Source/shotwell/src/Dialogs.vala" result = TRUE; -#line 1052 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1068 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (new_text); -#line 1052 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1068 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (old_text); -#line 1052 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1068 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (entry); -#line 1052 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1068 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (match); -#line 1052 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1068 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 10563 "Dialogs.c" +#line 10691 "Dialogs.c" } @@ -10590,121 +10718,121 @@ static gchar* entry_multi_completion_get_last_part (const gchar* s, const gchar* gboolean _tmp4_ = FALSE; gchar** _tmp5_ = NULL; gint _tmp5__length1 = 0; -#line 1056 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1072 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (s != NULL, NULL); -#line 1056 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1072 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (delimiter != NULL, NULL); -#line 1057 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1073 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = s; -#line 1057 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1073 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = delimiter; -#line 1057 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1073 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp2_ = g_strsplit (_tmp0_, _tmp1_, 0); -#line 1057 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1073 "/home/jens/Source/shotwell/src/Dialogs.vala" split = _tmp3_; -#line 1057 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1073 "/home/jens/Source/shotwell/src/Dialogs.vala" split_length1 = _vala_array_length (_tmp2_); -#line 1057 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1073 "/home/jens/Source/shotwell/src/Dialogs.vala" _split_size_ = split_length1; -#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = split; -#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5__length1 = split_length1; -#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp5_ != NULL) { -#line 10601 "Dialogs.c" +#line 10729 "Dialogs.c" gchar** _tmp6_ = NULL; gint _tmp6__length1 = 0; const gchar* _tmp7_ = NULL; -#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = split; -#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6__length1 = split_length1; -#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _tmp6_[0]; -#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp7_ != NULL; -#line 10613 "Dialogs.c" +#line 10741 "Dialogs.c" } else { -#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = FALSE; -#line 10617 "Dialogs.c" +#line 10745 "Dialogs.c" } -#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp4_) { -#line 10621 "Dialogs.c" +#line 10749 "Dialogs.c" gchar** _tmp8_ = NULL; gint _tmp8__length1 = 0; gchar** _tmp9_ = NULL; gint _tmp9__length1 = 0; const gchar* _tmp10_ = NULL; gchar* _tmp11_ = NULL; -#line 1060 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = split; -#line 1060 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8__length1 = split_length1; -#line 1060 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = split; -#line 1060 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9__length1 = split_length1; -#line 1060 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp8_[_tmp9__length1 - 1]; -#line 1060 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = g_strdup (_tmp10_); -#line 1060 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp11_; -#line 1060 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala" split = (_vala_array_free (split, split_length1, (GDestroyNotify) g_free), NULL); -#line 1060 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 10646 "Dialogs.c" +#line 10774 "Dialogs.c" } else { gchar* _tmp12_ = NULL; -#line 1062 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1078 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = g_strdup (""); -#line 1062 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1078 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp12_; -#line 1062 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1078 "/home/jens/Source/shotwell/src/Dialogs.vala" split = (_vala_array_free (split, split_length1, (GDestroyNotify) g_free), NULL); -#line 1062 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1078 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 10657 "Dialogs.c" +#line 10785 "Dialogs.c" } -#line 1056 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1072 "/home/jens/Source/shotwell/src/Dialogs.vala" split = (_vala_array_free (split, split_length1, (GDestroyNotify) g_free), NULL); -#line 10661 "Dialogs.c" +#line 10789 "Dialogs.c" } static void entry_multi_completion_class_init (EntryMultiCompletionClass * klass) { -#line 978 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala" entry_multi_completion_parent_class = g_type_class_peek_parent (klass); -#line 978 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_class_add_private (klass, sizeof (EntryMultiCompletionPrivate)); -#line 978 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala" ((GtkEntryCompletionClass *) klass)->match_selected = entry_multi_completion_real_match_selected; -#line 978 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala" G_OBJECT_CLASS (klass)->finalize = entry_multi_completion_finalize; -#line 10674 "Dialogs.c" +#line 10802 "Dialogs.c" } static void entry_multi_completion_instance_init (EntryMultiCompletion * self) { -#line 978 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv = ENTRY_MULTI_COMPLETION_GET_PRIVATE (self); -#line 10681 "Dialogs.c" +#line 10809 "Dialogs.c" } static void entry_multi_completion_finalize (GObject* obj) { EntryMultiCompletion * self; -#line 978 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_ENTRY_MULTI_COMPLETION, EntryMultiCompletion); -#line 979 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 995 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (self->priv->delimiter); -#line 978 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala" G_OBJECT_CLASS (entry_multi_completion_parent_class)->finalize (obj); -#line 10693 "Dialogs.c" +#line 10821 "Dialogs.c" } @@ -10721,9 +10849,9 @@ GType entry_multi_completion_get_type (void) { static void _set_background_dialog_on_checkbox_clicked_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) { -#line 1086 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1102 "/home/jens/Source/shotwell/src/Dialogs.vala" set_background_dialog_on_checkbox_clicked ((SetBackgroundDialog*) self); -#line 10712 "Dialogs.c" +#line 10840 "Dialogs.c" } @@ -10756,103 +10884,103 @@ SetBackgroundDialog* set_background_dialog_construct (GType object_type, GtkBuil GtkBuilder* _tmp24_ = NULL; GObject* _tmp25_ = NULL; GtkButton* _tmp26_ = NULL; -#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1092 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GTK_IS_BUILDER (builder), NULL); -#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1092 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (SetBackgroundDialog*) g_type_create_instance (object_type); -#line 1078 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1094 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = builder; -#line 1078 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1094 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gtk_builder_get_object (_tmp0_, "dialog1"); -#line 1078 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1094 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_dialog_get_type ()) ? ((GtkDialog*) _tmp1_) : NULL); -#line 1078 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1094 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->dialog); -#line 1078 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1094 "/home/jens/Source/shotwell/src/Dialogs.vala" self->dialog = _tmp2_; -#line 1079 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1095 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = self->dialog; -#line 1079 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1095 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_type_hint (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_window_get_type (), GtkWindow), GDK_WINDOW_TYPE_HINT_DIALOG); -#line 1080 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = self->dialog; -#line 1080 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = app_window_get_instance (); -#line 1080 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _tmp5_; -#line 1080 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = gtk_widget_get_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget)); -#line 1080 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), _tmp7_); -#line 1080 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp6_); -#line 1081 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1097 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = self->dialog; -#line 1081 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1097 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = app_window_get_instance (); -#line 1081 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1097 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp9_; -#line 1081 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1097 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_window_get_type (), GtkWindow)); -#line 1081 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1097 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp10_); -#line 1082 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1098 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = self->dialog; -#line 1082 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1098 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_set_default_response (_tmp11_, (gint) GTK_RESPONSE_OK); -#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1100 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = builder; -#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1100 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = gtk_builder_get_object (_tmp12_, "desktop_background_checkbox"); -#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1100 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp13_) : NULL); -#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1100 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->desktop_background_button); -#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1100 "/home/jens/Source/shotwell/src/Dialogs.vala" self->desktop_background_button = _tmp14_; -#line 1085 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1101 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = self->desktop_background_button; -#line 1085 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1101 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = self->desktop; -#line 1085 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1101 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp16_); -#line 1086 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1102 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = self->desktop_background_button; -#line 1086 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1102 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) _set_background_dialog_on_checkbox_clicked_gtk_toggle_button_toggled, self); -#line 1087 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1103 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = builder; -#line 1087 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1103 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = gtk_builder_get_object (_tmp18_, "screensaver_checkbox"); -#line 1087 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1103 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp19_) : NULL); -#line 1087 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1103 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->screensaver_button); -#line 1087 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1103 "/home/jens/Source/shotwell/src/Dialogs.vala" self->screensaver_button = _tmp20_; -#line 1088 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1104 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = self->screensaver_button; -#line 1088 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1104 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = self->screensaver; -#line 1088 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1104 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp22_); -#line 1089 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1105 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = self->screensaver_button; -#line 1089 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1105 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) _set_background_dialog_on_checkbox_clicked_gtk_toggle_button_toggled, self); -#line 1091 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1107 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = builder; -#line 1091 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1107 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = gtk_builder_get_object (_tmp24_, "ok_button"); -#line 1091 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1107 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp25_, gtk_button_get_type ()) ? ((GtkButton*) _tmp25_) : NULL); -#line 1091 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1107 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->ok_button); -#line 1091 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1107 "/home/jens/Source/shotwell/src/Dialogs.vala" self->ok_button = _tmp26_; -#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1092 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 10841 "Dialogs.c" +#line 10969 "Dialogs.c" } @@ -10865,56 +10993,56 @@ void set_background_dialog_on_checkbox_clicked (SetBackgroundDialog* self) { gboolean _tmp5_ = FALSE; gboolean _tmp6_ = FALSE; gboolean _tmp7_ = FALSE; -#line 1094 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1110 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_SET_BACKGROUND_DIALOG (self)); -#line 1095 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1111 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->desktop_background_button; -#line 1095 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1111 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1095 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1111 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _tmp1_; -#line 1095 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1111 "/home/jens/Source/shotwell/src/Dialogs.vala" self->desktop = _tmp2_; -#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1112 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = self->screensaver_button; -#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1112 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1112 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_; -#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1112 "/home/jens/Source/shotwell/src/Dialogs.vala" self->screensaver = _tmp5_; -#line 1098 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1114 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = self->desktop; -#line 1098 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1114 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp7_) { -#line 10876 "Dialogs.c" +#line 11004 "Dialogs.c" gboolean _tmp8_ = FALSE; -#line 1098 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1114 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = self->screensaver; -#line 1098 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1114 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = !_tmp8_; -#line 10882 "Dialogs.c" +#line 11010 "Dialogs.c" } else { -#line 1098 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1114 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = FALSE; -#line 10886 "Dialogs.c" +#line 11014 "Dialogs.c" } -#line 1098 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1114 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp6_) { -#line 10890 "Dialogs.c" +#line 11018 "Dialogs.c" GtkButton* _tmp9_ = NULL; -#line 1099 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1115 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = self->ok_button; -#line 1099 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1115 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 10896 "Dialogs.c" +#line 11024 "Dialogs.c" } else { GtkButton* _tmp10_ = NULL; -#line 1101 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1117 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = self->ok_button; -#line 1101 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1117 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 10903 "Dialogs.c" +#line 11031 "Dialogs.c" } } @@ -10926,245 +11054,245 @@ gboolean set_background_dialog_execute_base (SetBackgroundDialog* self) { GtkDialog* _tmp1_ = NULL; gint _tmp2_ = 0; GtkDialog* _tmp3_ = NULL; -#line 1105 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1121 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_SET_BACKGROUND_DIALOG (self), FALSE); -#line 1106 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1122 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->dialog; -#line 1106 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1122 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 1107 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1123 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->dialog; -#line 1107 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1123 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_dialog_run (_tmp1_); -#line 1107 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1123 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = _tmp2_ == ((gint) GTK_RESPONSE_OK); -#line 1108 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1124 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = self->dialog; -#line 1108 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1124 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget)); -#line 1110 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1126 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _result_; -#line 1110 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1126 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 10935 "Dialogs.c" +#line 11063 "Dialogs.c" } static void value_set_background_dialog_init (GValue* value) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 10942 "Dialogs.c" +#line 11070 "Dialogs.c" } static void value_set_background_dialog_free_value (GValue* value) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" if (value->data[0].v_pointer) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" set_background_dialog_unref (value->data[0].v_pointer); -#line 10951 "Dialogs.c" +#line 11079 "Dialogs.c" } } static void value_set_background_dialog_copy_value (const GValue* src_value, GValue* dest_value) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" if (src_value->data[0].v_pointer) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" dest_value->data[0].v_pointer = set_background_dialog_ref (src_value->data[0].v_pointer); -#line 10961 "Dialogs.c" +#line 11089 "Dialogs.c" } else { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" dest_value->data[0].v_pointer = NULL; -#line 10965 "Dialogs.c" +#line 11093 "Dialogs.c" } } static gpointer value_set_background_dialog_peek_pointer (const GValue* value) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" return value->data[0].v_pointer; -#line 10973 "Dialogs.c" +#line 11101 "Dialogs.c" } static gchar* value_set_background_dialog_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" if (collect_values[0].v_pointer) { -#line 10980 "Dialogs.c" +#line 11108 "Dialogs.c" SetBackgroundDialog* object; object = collect_values[0].v_pointer; -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" if (object->parent_instance.g_class == NULL) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 10987 "Dialogs.c" +#line 11115 "Dialogs.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 10991 "Dialogs.c" +#line 11119 "Dialogs.c" } -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = set_background_dialog_ref (object); -#line 10995 "Dialogs.c" +#line 11123 "Dialogs.c" } else { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 10999 "Dialogs.c" +#line 11127 "Dialogs.c" } -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" return NULL; -#line 11003 "Dialogs.c" +#line 11131 "Dialogs.c" } static gchar* value_set_background_dialog_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { SetBackgroundDialog** object_p; object_p = collect_values[0].v_pointer; -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!object_p) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 11014 "Dialogs.c" +#line 11142 "Dialogs.c" } -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!value->data[0].v_pointer) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = NULL; -#line 11020 "Dialogs.c" +#line 11148 "Dialogs.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = value->data[0].v_pointer; -#line 11024 "Dialogs.c" +#line 11152 "Dialogs.c" } else { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = set_background_dialog_ref (value->data[0].v_pointer); -#line 11028 "Dialogs.c" +#line 11156 "Dialogs.c" } -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" return NULL; -#line 11032 "Dialogs.c" +#line 11160 "Dialogs.c" } GParamSpec* param_spec_set_background_dialog (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecSetBackgroundDialog* spec; -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (g_type_is_a (object_type, TYPE_SET_BACKGROUND_DIALOG), NULL); -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" return G_PARAM_SPEC (spec); -#line 11046 "Dialogs.c" +#line 11174 "Dialogs.c" } gpointer value_get_set_background_dialog (const GValue* value) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_SET_BACKGROUND_DIALOG), NULL); -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" return value->data[0].v_pointer; -#line 11055 "Dialogs.c" +#line 11183 "Dialogs.c" } void value_set_set_background_dialog (GValue* value, gpointer v_object) { SetBackgroundDialog* old; -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_SET_BACKGROUND_DIALOG)); -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" old = value->data[0].v_pointer; -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" if (v_object) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_SET_BACKGROUND_DIALOG)); -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = v_object; -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" set_background_dialog_ref (value->data[0].v_pointer); -#line 11075 "Dialogs.c" +#line 11203 "Dialogs.c" } else { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 11079 "Dialogs.c" +#line 11207 "Dialogs.c" } -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" if (old) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" set_background_dialog_unref (old); -#line 11085 "Dialogs.c" +#line 11213 "Dialogs.c" } } void value_take_set_background_dialog (GValue* value, gpointer v_object) { SetBackgroundDialog* old; -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_SET_BACKGROUND_DIALOG)); -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" old = value->data[0].v_pointer; -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" if (v_object) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_SET_BACKGROUND_DIALOG)); -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = v_object; -#line 11104 "Dialogs.c" +#line 11232 "Dialogs.c" } else { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 11108 "Dialogs.c" +#line 11236 "Dialogs.c" } -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" if (old) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" set_background_dialog_unref (old); -#line 11114 "Dialogs.c" +#line 11242 "Dialogs.c" } } static void set_background_dialog_class_init (SetBackgroundDialogClass * klass) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" set_background_dialog_parent_class = g_type_class_peek_parent (klass); -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" ((SetBackgroundDialogClass *) klass)->finalize = set_background_dialog_finalize; -#line 11124 "Dialogs.c" +#line 11252 "Dialogs.c" } static void set_background_dialog_instance_init (SetBackgroundDialog * self) { -#line 1073 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1089 "/home/jens/Source/shotwell/src/Dialogs.vala" self->desktop = TRUE; -#line 1074 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1090 "/home/jens/Source/shotwell/src/Dialogs.vala" self->screensaver = FALSE; -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" self->ref_count = 1; -#line 11135 "Dialogs.c" +#line 11263 "Dialogs.c" } static void set_background_dialog_finalize (SetBackgroundDialog* obj) { SetBackgroundDialog * self; -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog); -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_handlers_destroy (self); -#line 1068 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->dialog); -#line 1069 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1085 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->desktop_background_button); -#line 1070 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1086 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->screensaver_button); -#line 1071 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1087 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->ok_button); -#line 11153 "Dialogs.c" +#line 11281 "Dialogs.c" } @@ -11185,24 +11313,24 @@ GType set_background_dialog_get_type (void) { gpointer set_background_dialog_ref (gpointer instance) { SetBackgroundDialog* self; self = instance; -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" g_atomic_int_inc (&self->ref_count); -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" return instance; -#line 11178 "Dialogs.c" +#line 11306 "Dialogs.c" } void set_background_dialog_unref (gpointer instance) { SetBackgroundDialog* self; self = instance; -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" SET_BACKGROUND_DIALOG_GET_CLASS (self)->finalize (self); -#line 1067 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_free_instance ((GTypeInstance *) self); -#line 11191 "Dialogs.c" +#line 11319 "Dialogs.c" } } @@ -11211,24 +11339,24 @@ SetBackgroundPhotoDialog* set_background_photo_dialog_construct (GType object_ty SetBackgroundPhotoDialog* self = NULL; GtkBuilder* builder = NULL; GtkBuilder* _tmp0_ = NULL; -#line 1117 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1133 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = app_window_create_builder ("set_background_dialog.ui", self); -#line 1117 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1133 "/home/jens/Source/shotwell/src/Dialogs.vala" builder = _tmp0_; -#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1134 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (SetBackgroundPhotoDialog*) set_background_dialog_construct (object_type, builder); -#line 1116 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1132 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (builder); -#line 1116 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1132 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 11210 "Dialogs.c" +#line 11338 "Dialogs.c" } SetBackgroundPhotoDialog* set_background_photo_dialog_new (void) { -#line 1116 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1132 "/home/jens/Source/shotwell/src/Dialogs.vala" return set_background_photo_dialog_construct (TYPE_SET_BACKGROUND_PHOTO_DIALOG); -#line 11217 "Dialogs.c" +#line 11345 "Dialogs.c" } @@ -11240,44 +11368,44 @@ gboolean set_background_photo_dialog_execute (SetBackgroundPhotoDialog* self, gb gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 1121 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1137 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_SET_BACKGROUND_PHOTO_DIALOG (self), FALSE); -#line 1122 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1138 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = set_background_dialog_execute_base (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog)); -#line 1122 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1138 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = _tmp0_; -#line 1124 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1140 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog)->desktop; -#line 1124 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1140 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_desktop_background = _tmp1_; -#line 1125 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1141 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog)->screensaver; -#line 1125 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1141 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_screensaver = _tmp2_; -#line 1127 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _result_; -#line 1127 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala" if (desktop_background) { -#line 1127 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala" *desktop_background = _vala_desktop_background; -#line 11249 "Dialogs.c" +#line 11377 "Dialogs.c" } -#line 1127 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala" if (screensaver) { -#line 1127 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala" *screensaver = _vala_screensaver; -#line 11255 "Dialogs.c" +#line 11383 "Dialogs.c" } -#line 1127 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 11259 "Dialogs.c" +#line 11387 "Dialogs.c" } static void set_background_photo_dialog_class_init (SetBackgroundPhotoDialogClass * klass) { -#line 1114 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1130 "/home/jens/Source/shotwell/src/Dialogs.vala" set_background_photo_dialog_parent_class = g_type_class_peek_parent (klass); -#line 11266 "Dialogs.c" +#line 11394 "Dialogs.c" } @@ -11298,9 +11426,9 @@ GType set_background_photo_dialog_get_type (void) { static void _set_background_slideshow_dialog_on_delay_scale_value_changed_gtk_range_value_changed (GtkRange* _sender, gpointer self) { -#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1159 "/home/jens/Source/shotwell/src/Dialogs.vala" set_background_slideshow_dialog_on_delay_scale_value_changed ((SetBackgroundSlideshowDialog*) self); -#line 11289 "Dialogs.c" +#line 11417 "Dialogs.c" } @@ -11316,52 +11444,52 @@ SetBackgroundSlideshowDialog* set_background_slideshow_dialog_construct (GType o GtkScale* _tmp6_ = NULL; GtkAdjustment* _tmp7_ = NULL; GtkAdjustment* _tmp8_ = NULL; -#line 1137 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1153 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = app_window_create_builder ("set_background_slideshow_dialog.ui", self); -#line 1137 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1153 "/home/jens/Source/shotwell/src/Dialogs.vala" builder = _tmp0_; -#line 1138 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1154 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (SetBackgroundSlideshowDialog*) set_background_dialog_construct (object_type, builder); -#line 1140 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1156 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gtk_builder_get_object (builder, "delay_value_label"); -#line 1140 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1156 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp1_) : NULL); -#line 1140 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1156 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->delay_value_label); -#line 1140 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1156 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->delay_value_label = _tmp2_; -#line 1142 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1158 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gtk_builder_get_object (builder, "delay_scale"); -#line 1142 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1158 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, gtk_scale_get_type ()) ? ((GtkScale*) _tmp3_) : NULL); -#line 1142 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1158 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->delay_scale); -#line 1142 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1158 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->delay_scale = _tmp4_; -#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1159 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = self->priv->delay_scale; -#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1159 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _set_background_slideshow_dialog_on_delay_scale_value_changed_gtk_range_value_changed, self); -#line 1144 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = self->priv->delay_scale; -#line 1144 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = gtk_range_get_adjustment (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_range_get_type (), GtkRange)); -#line 1144 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _tmp7_; -#line 1144 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_adjustment_set_value (_tmp8_, (gdouble) 50); -#line 1136 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1152 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (builder); -#line 1136 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1152 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 11343 "Dialogs.c" +#line 11471 "Dialogs.c" } SetBackgroundSlideshowDialog* set_background_slideshow_dialog_new (void) { -#line 1136 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1152 "/home/jens/Source/shotwell/src/Dialogs.vala" return set_background_slideshow_dialog_construct (TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG); -#line 11350 "Dialogs.c" +#line 11478 "Dialogs.c" } @@ -11379,57 +11507,57 @@ static void set_background_slideshow_dialog_on_delay_scale_value_changed (SetBac gint _tmp8_ = 0; GtkLabel* _tmp29_ = NULL; const gchar* _tmp30_ = NULL; -#line 1147 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_SET_BACKGROUND_SLIDESHOW_DIALOG (self)); -#line 1148 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->delay_scale; -#line 1148 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gtk_range_get_adjustment (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_range_get_type (), GtkRange)); -#line 1148 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _tmp1_; -#line 1148 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gtk_adjustment_get_value (_tmp2_); -#line 1148 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp3_; -#line 1148 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala" value = _tmp4_; -#line 1153 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1169 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = value; -#line 1153 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1169 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = pow (_tmp5_, (gdouble) 5); -#line 1153 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1169 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = pow ((gdouble) 90, (gdouble) 5); -#line 1153 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1169 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->delay_value = (gint) (((((_tmp6_ / _tmp7_) * 60) * 60) * 24) + 5); -#line 1157 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1173 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = self->priv->delay_value; -#line 1157 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1173 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp8_ < 60) { -#line 11394 "Dialogs.c" +#line 11522 "Dialogs.c" gint _tmp9_ = 0; const gchar* _tmp10_ = NULL; gint _tmp11_ = 0; gchar* _tmp12_ = NULL; -#line 1158 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = self->priv->delay_value; -#line 1158 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = ngettext ("%d second", "%d seconds", (gulong) _tmp9_); -#line 1158 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = self->priv->delay_value; -#line 1158 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = g_strdup_printf (_tmp10_, _tmp11_); -#line 1158 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (text); -#line 1158 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala" text = _tmp12_; -#line 11411 "Dialogs.c" +#line 11539 "Dialogs.c" } else { gint _tmp13_ = 0; -#line 1159 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1175 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = self->priv->delay_value; -#line 1159 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1175 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp13_ < (60 * 60)) { -#line 11418 "Dialogs.c" +#line 11546 "Dialogs.c" gint minutes = 0; gint _tmp14_ = 0; gint _tmp15_ = 0; @@ -11437,34 +11565,34 @@ static void set_background_slideshow_dialog_on_delay_scale_value_changed (SetBac gint _tmp17_ = 0; gchar* _tmp18_ = NULL; gint _tmp19_ = 0; -#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1176 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = self->priv->delay_value; -#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1176 "/home/jens/Source/shotwell/src/Dialogs.vala" minutes = _tmp14_ / 60; -#line 1161 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1177 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = minutes; -#line 1161 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1177 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = ngettext ("%d minute", "%d minutes", (gulong) _tmp15_); -#line 1161 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1177 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = minutes; -#line 1161 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1177 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = g_strdup_printf (_tmp16_, _tmp17_); -#line 1161 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1177 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (text); -#line 1161 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1177 "/home/jens/Source/shotwell/src/Dialogs.vala" text = _tmp18_; -#line 1162 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1178 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = minutes; -#line 1162 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1178 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->delay_value = _tmp19_ * 60; -#line 11446 "Dialogs.c" +#line 11574 "Dialogs.c" } else { gint _tmp20_ = 0; -#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1179 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = self->priv->delay_value; -#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1179 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp20_ < ((60 * 60) * 24)) { -#line 11453 "Dialogs.c" +#line 11581 "Dialogs.c" gint hours = 0; gint _tmp21_ = 0; gint _tmp22_ = 0; @@ -11472,53 +11600,53 @@ static void set_background_slideshow_dialog_on_delay_scale_value_changed (SetBac gint _tmp24_ = 0; gchar* _tmp25_ = NULL; gint _tmp26_ = 0; -#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1180 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = self->priv->delay_value; -#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1180 "/home/jens/Source/shotwell/src/Dialogs.vala" hours = _tmp21_ / (60 * 60); -#line 1165 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1181 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = hours; -#line 1165 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1181 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = ngettext ("%d hour", "%d hours", (gulong) _tmp22_); -#line 1165 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1181 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = hours; -#line 1165 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1181 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = g_strdup_printf (_tmp23_, _tmp24_); -#line 1165 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1181 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (text); -#line 1165 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1181 "/home/jens/Source/shotwell/src/Dialogs.vala" text = _tmp25_; -#line 1166 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = hours; -#line 1166 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->delay_value = _tmp26_ * (60 * 60); -#line 11481 "Dialogs.c" +#line 11609 "Dialogs.c" } else { const gchar* _tmp27_ = NULL; gchar* _tmp28_ = NULL; -#line 1168 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = _ ("1 day"); -#line 1168 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = g_strdup (_tmp27_); -#line 1168 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (text); -#line 1168 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala" text = _tmp28_; -#line 1169 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1185 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->delay_value = (60 * 60) * 24; -#line 11495 "Dialogs.c" +#line 11623 "Dialogs.c" } } } -#line 1172 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1188 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = self->priv->delay_value_label; -#line 1172 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1188 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = text; -#line 1172 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1188 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_label (_tmp29_, _tmp30_); -#line 1147 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (text); -#line 11507 "Dialogs.c" +#line 11635 "Dialogs.c" } @@ -11532,81 +11660,81 @@ gboolean set_background_slideshow_dialog_execute (SetBackgroundSlideshowDialog* gint _tmp1_ = 0; gboolean _tmp2_ = FALSE; gboolean _tmp3_ = FALSE; -#line 1175 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1191 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_SET_BACKGROUND_SLIDESHOW_DIALOG (self), FALSE); -#line 1176 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = set_background_dialog_execute_base (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog)); -#line 1176 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = _tmp0_; -#line 1178 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1194 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->delay_value; -#line 1178 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1194 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_delay_value = _tmp1_; -#line 1179 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1195 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog)->desktop; -#line 1179 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1195 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_desktop_background = _tmp2_; -#line 1180 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1196 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog)->screensaver; -#line 1180 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1196 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_screensaver = _tmp3_; -#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _result_; -#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala" if (delay_value) { -#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala" *delay_value = _vala_delay_value; -#line 11545 "Dialogs.c" +#line 11673 "Dialogs.c" } -#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala" if (desktop_background) { -#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala" *desktop_background = _vala_desktop_background; -#line 11551 "Dialogs.c" +#line 11679 "Dialogs.c" } -#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala" if (screensaver) { -#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala" *screensaver = _vala_screensaver; -#line 11557 "Dialogs.c" +#line 11685 "Dialogs.c" } -#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 11561 "Dialogs.c" +#line 11689 "Dialogs.c" } static void set_background_slideshow_dialog_class_init (SetBackgroundSlideshowDialogClass * klass) { -#line 1131 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1147 "/home/jens/Source/shotwell/src/Dialogs.vala" set_background_slideshow_dialog_parent_class = g_type_class_peek_parent (klass); -#line 1131 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1147 "/home/jens/Source/shotwell/src/Dialogs.vala" ((SetBackgroundDialogClass *) klass)->finalize = set_background_slideshow_dialog_finalize; -#line 1131 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1147 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_class_add_private (klass, sizeof (SetBackgroundSlideshowDialogPrivate)); -#line 11572 "Dialogs.c" +#line 11700 "Dialogs.c" } static void set_background_slideshow_dialog_instance_init (SetBackgroundSlideshowDialog * self) { -#line 1131 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1147 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv = SET_BACKGROUND_SLIDESHOW_DIALOG_GET_PRIVATE (self); -#line 1134 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1150 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->delay_value = 0; -#line 11581 "Dialogs.c" +#line 11709 "Dialogs.c" } static void set_background_slideshow_dialog_finalize (SetBackgroundDialog* obj) { SetBackgroundSlideshowDialog * self; -#line 1131 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1147 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG, SetBackgroundSlideshowDialog); -#line 1132 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1148 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->delay_value_label); -#line 1133 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1149 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->delay_scale); -#line 1131 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1147 "/home/jens/Source/shotwell/src/Dialogs.vala" SET_BACKGROUND_DIALOG_CLASS (set_background_slideshow_dialog_parent_class)->finalize (obj); -#line 11595 "Dialogs.c" +#line 11723 "Dialogs.c" } @@ -11628,60 +11756,60 @@ TextEntryDialog* text_entry_dialog_construct (GType object_type) { GtkSettings* _tmp0_ = NULL; gint _tmp1_ = 0; gboolean _tmp2_ = FALSE; -#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1214 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = gtk_settings_get_default (); -#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1214 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL); -#line 1199 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = use_header; -#line 1199 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp2_) { -#line 1199 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = 1; -#line 11627 "Dialogs.c" +#line 11755 "Dialogs.c" } else { -#line 1199 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = 0; -#line 11631 "Dialogs.c" +#line 11759 "Dialogs.c" } -#line 1199 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (TextEntryDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL); -#line 1196 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1212 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 11637 "Dialogs.c" +#line 11765 "Dialogs.c" } TextEntryDialog* text_entry_dialog_new (void) { -#line 1196 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1212 "/home/jens/Source/shotwell/src/Dialogs.vala" return text_entry_dialog_construct (TYPE_TEXT_ENTRY_DIALOG); -#line 11644 "Dialogs.c" +#line 11772 "Dialogs.c" } void text_entry_dialog_set_builder (TextEntryDialog* self, GtkBuilder* builder) { GtkBuilder* _tmp0_ = NULL; GtkBuilder* _tmp1_ = NULL; -#line 1202 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1218 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_TEXT_ENTRY_DIALOG (self)); -#line 1202 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1218 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (GTK_IS_BUILDER (builder)); -#line 1203 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1219 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = builder; -#line 1203 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1219 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 1203 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1219 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->builder); -#line 1203 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1219 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->builder = _tmp1_; -#line 11663 "Dialogs.c" +#line 11791 "Dialogs.c" } static void _text_entry_dialog_on_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) { -#line 1220 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1236 "/home/jens/Source/shotwell/src/Dialogs.vala" text_entry_dialog_on_entry_changed ((TextEntryDialog*) self); -#line 11670 "Dialogs.c" +#line 11798 "Dialogs.c" } @@ -11716,164 +11844,164 @@ void text_entry_dialog_setup (TextEntryDialog* self, TextEntryDialogOnModifyVali GtkWidget* _tmp26_ = NULL; GtkButton* _tmp27_ = NULL; GeeCollection* _tmp28_ = NULL; -#line 1206 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_TEXT_ENTRY_DIALOG (self)); -#line 1206 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (title != NULL); -#line 1206 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (label != NULL); -#line 1206 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail ((completion_list == NULL) || GEE_IS_COLLECTION (completion_list)); -#line 1208 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1224 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = title; -#line 1208 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1224 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp0_); -#line 1209 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE); -#line 1210 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1226 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = app_window_get_instance (); -#line 1210 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1226 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _tmp1_; -#line 1210 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1226 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gtk_widget_get_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget)); -#line 1210 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1226 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_parent_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp3_); -#line 1210 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1226 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp2_); -#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = app_window_get_instance (); -#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_; -#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_window_get_type (), GtkWindow)); -#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp5_); -#line 1212 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1228 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = modify_validate; -#line 1212 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1228 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6__target = modify_validate_target; -#line 1212 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1228 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->on_modify_validate = _tmp6_; -#line 1212 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1228 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->on_modify_validate_target = _tmp6__target; -#line 1214 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1230 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = self->priv->builder; -#line 1214 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1230 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = gtk_builder_get_object (_tmp7_, "label"); -#line 1214 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1230 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp8_) : NULL); -#line 1214 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1230 "/home/jens/Source/shotwell/src/Dialogs.vala" name_label = _tmp9_; -#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1231 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = name_label; -#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1231 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = label; -#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1231 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_text (_tmp10_, _tmp11_); -#line 1217 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1233 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = self->priv->builder; -#line 1217 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1233 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = gtk_builder_get_object (_tmp12_, "entry"); -#line 1217 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1233 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp13_) : NULL); -#line 1217 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1233 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->entry); -#line 1217 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1233 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->entry = _tmp14_; -#line 1218 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1234 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = initial_text; -#line 1218 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1234 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp16_ != NULL) { -#line 11773 "Dialogs.c" +#line 11901 "Dialogs.c" const gchar* _tmp17_ = NULL; -#line 1218 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1234 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = initial_text; -#line 1218 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1234 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = _tmp17_; -#line 11779 "Dialogs.c" +#line 11907 "Dialogs.c" } else { -#line 1218 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1234 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = ""; -#line 11783 "Dialogs.c" +#line 11911 "Dialogs.c" } -#line 1218 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1234 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = self->priv->entry; -#line 1218 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1234 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_set_text (_tmp18_, _tmp15_); -#line 1219 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1235 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = self->priv->entry; -#line 1219 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1235 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget)); -#line 1220 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1236 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = self->priv->entry; -#line 1220 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1236 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _text_entry_dialog_on_entry_changed_gtk_editable_changed, self, 0); -#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1238 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = gtk_dialog_get_action_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); -#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1238 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_button_box_get_type (), GtkButtonBox)); -#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1238 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->action_area_box); -#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1238 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->action_area_box = _tmp22_; -#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1239 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = self->priv->action_area_box; -#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1239 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_button_box_set_layout (_tmp23_, GTK_BUTTONBOX_END); -#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1241 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_CANCEL_LABEL, (gint) GTK_RESPONSE_CANCEL); -#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1241 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_button_get_type (), GtkButton)); -#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1241 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->button1); -#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1241 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->button1 = _tmp25_; -#line 1226 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1242 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_SAVE_LABEL, (gint) GTK_RESPONSE_OK); -#line 1226 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1242 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_button_get_type (), GtkButton)); -#line 1226 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1242 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->button2); -#line 1226 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1242 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->button2 = _tmp27_; -#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1243 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK); -#line 1229 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1245 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = completion_list; -#line 1229 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1245 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp28_ != NULL) { -#line 11831 "Dialogs.c" +#line 11959 "Dialogs.c" EntryMultiCompletion* completion = NULL; GeeCollection* _tmp29_ = NULL; const gchar* _tmp30_ = NULL; EntryMultiCompletion* _tmp31_ = NULL; GtkEntry* _tmp32_ = NULL; EntryMultiCompletion* _tmp33_ = NULL; -#line 1230 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1246 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = completion_list; -#line 1230 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1246 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = completion_delimiter; -#line 1230 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1246 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = entry_multi_completion_new (_tmp29_, _tmp30_); -#line 1230 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1246 "/home/jens/Source/shotwell/src/Dialogs.vala" completion = _tmp31_; -#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1248 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = self->priv->entry; -#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1248 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = completion; -#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1248 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_set_completion (_tmp32_, G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, gtk_entry_completion_get_type (), GtkEntryCompletion)); -#line 1229 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1245 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (completion); -#line 11854 "Dialogs.c" +#line 11982 "Dialogs.c" } -#line 1235 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1251 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK); -#line 1236 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1252 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_has_resize_grip (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE); -#line 1206 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (name_label); -#line 11862 "Dialogs.c" +#line 11990 "Dialogs.c" } @@ -11888,57 +12016,57 @@ gchar* text_entry_dialog_execute (TextEntryDialog* self) { gint _tmp4_ = 0; GtkEntry* _tmp8_ = NULL; guint _tmp9_ = 0U; -#line 1239 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1255 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_TEXT_ENTRY_DIALOG (self), NULL); -#line 1240 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1256 "/home/jens/Source/shotwell/src/Dialogs.vala" text = NULL; -#line 1243 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1259 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->on_modify_validate; -#line 1243 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1259 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0__target = self->priv->on_modify_validate_target; -#line 1243 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1259 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->entry; -#line 1243 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1259 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_entry_get_text (_tmp1_); -#line 1243 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1259 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp0_ (_tmp2_, _tmp0__target); -#line 1243 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1259 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_set_response_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK, _tmp3_); -#line 1245 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1261 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 1247 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1263 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); -#line 1247 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1263 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp4_ == ((gint) GTK_RESPONSE_OK)) { -#line 11899 "Dialogs.c" +#line 12027 "Dialogs.c" GtkEntry* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 1248 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1264 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = self->priv->entry; -#line 1248 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1264 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = gtk_entry_get_text (_tmp5_); -#line 1248 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1264 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = g_strdup (_tmp6_); -#line 1248 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1264 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (text); -#line 1248 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1264 "/home/jens/Source/shotwell/src/Dialogs.vala" text = _tmp7_; -#line 11913 "Dialogs.c" +#line 12041 "Dialogs.c" } -#line 1250 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1266 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = self->priv->entry; -#line 1250 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1266 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_parse_name ("changed", GTK_TYPE_EDITABLE, &_tmp9_, NULL, FALSE); -#line 1250 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1266 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GTK_TYPE_EDITABLE, GtkEditable), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp9_, 0, NULL, (GCallback) _text_entry_dialog_on_entry_changed_gtk_editable_changed, self); -#line 1251 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1267 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 1253 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1269 "/home/jens/Source/shotwell/src/Dialogs.vala" result = text; -#line 1253 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1269 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 11927 "Dialogs.c" +#line 12055 "Dialogs.c" } @@ -11948,59 +12076,59 @@ void text_entry_dialog_on_entry_changed (TextEntryDialog* self) { GtkEntry* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; -#line 1256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1272 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_TEXT_ENTRY_DIALOG (self)); -#line 1257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1273 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->on_modify_validate; -#line 1257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1273 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0__target = self->priv->on_modify_validate_target; -#line 1257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1273 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->entry; -#line 1257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1273 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_entry_get_text (_tmp1_); -#line 1257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1273 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp0_ (_tmp2_, _tmp0__target); -#line 1257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1273 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_set_response_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK, _tmp3_); -#line 11951 "Dialogs.c" +#line 12079 "Dialogs.c" } static void text_entry_dialog_class_init (TextEntryDialogClass * klass) { -#line 1186 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1202 "/home/jens/Source/shotwell/src/Dialogs.vala" text_entry_dialog_parent_class = g_type_class_peek_parent (klass); -#line 1186 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1202 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_class_add_private (klass, sizeof (TextEntryDialogPrivate)); -#line 1186 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1202 "/home/jens/Source/shotwell/src/Dialogs.vala" G_OBJECT_CLASS (klass)->finalize = text_entry_dialog_finalize; -#line 11962 "Dialogs.c" +#line 12090 "Dialogs.c" } static void text_entry_dialog_instance_init (TextEntryDialog * self) { -#line 1186 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1202 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv = TEXT_ENTRY_DIALOG_GET_PRIVATE (self); -#line 11969 "Dialogs.c" +#line 12097 "Dialogs.c" } static void text_entry_dialog_finalize (GObject* obj) { TextEntryDialog * self; -#line 1186 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1202 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_TEXT_ENTRY_DIALOG, TextEntryDialog); -#line 1190 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1206 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->entry); -#line 1191 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1207 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->builder); -#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1208 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->button1); -#line 1193 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1209 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->button2); -#line 1194 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1210 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->action_area_box); -#line 1186 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1202 "/home/jens/Source/shotwell/src/Dialogs.vala" G_OBJECT_CLASS (text_entry_dialog_parent_class)->finalize (obj); -#line 11989 "Dialogs.c" +#line 12117 "Dialogs.c" } @@ -12022,53 +12150,53 @@ MultiTextEntryDialog* multi_text_entry_dialog_construct (GType object_type) { GtkSettings* _tmp0_ = NULL; gint _tmp1_ = 0; gboolean _tmp2_ = FALSE; -#line 1273 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = gtk_settings_get_default (); -#line 1273 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL); -#line 1274 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1290 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = use_header; -#line 1274 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1290 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp2_) { -#line 1274 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1290 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = 1; -#line 12021 "Dialogs.c" +#line 12149 "Dialogs.c" } else { -#line 1274 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1290 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = 0; -#line 12025 "Dialogs.c" +#line 12153 "Dialogs.c" } -#line 1274 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1290 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (MultiTextEntryDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL); -#line 1271 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 12031 "Dialogs.c" +#line 12159 "Dialogs.c" } MultiTextEntryDialog* multi_text_entry_dialog_new (void) { -#line 1271 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala" return multi_text_entry_dialog_construct (TYPE_MULTI_TEXT_ENTRY_DIALOG); -#line 12038 "Dialogs.c" +#line 12166 "Dialogs.c" } void multi_text_entry_dialog_set_builder (MultiTextEntryDialog* self, GtkBuilder* builder) { GtkBuilder* _tmp0_ = NULL; GtkBuilder* _tmp1_ = NULL; -#line 1277 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1293 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_MULTI_TEXT_ENTRY_DIALOG (self)); -#line 1277 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1293 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (GTK_IS_BUILDER (builder)); -#line 1278 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1294 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = builder; -#line 1278 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1294 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 1278 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1294 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->builder); -#line 1278 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1294 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->builder = _tmp1_; -#line 12057 "Dialogs.c" +#line 12185 "Dialogs.c" } @@ -12101,131 +12229,131 @@ void multi_text_entry_dialog_setup (MultiTextEntryDialog* self, MultiTextEntryDi GtkButton* _tmp25_ = NULL; GtkWidget* _tmp26_ = NULL; GtkButton* _tmp27_ = NULL; -#line 1281 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_MULTI_TEXT_ENTRY_DIALOG (self)); -#line 1281 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (title != NULL); -#line 1281 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (label != NULL); -#line 1282 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1298 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = title; -#line 1282 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1298 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp0_); -#line 1283 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1299 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE); -#line 1284 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1300 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_default_size (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), 500, 300); -#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1301 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = app_window_get_instance (); -#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1301 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _tmp1_; -#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1301 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gtk_widget_get_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget)); -#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1301 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_parent_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp3_); -#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1301 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp2_); -#line 1286 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1302 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = app_window_get_instance (); -#line 1286 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1302 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_; -#line 1286 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1302 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_window_get_type (), GtkWindow)); -#line 1286 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1302 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp5_); -#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1303 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = modify_validate; -#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1303 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6__target = modify_validate_target; -#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1303 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->on_modify_validate = _tmp6_; -#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1303 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->on_modify_validate_target = _tmp6__target; -#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1305 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = self->priv->builder; -#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1305 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = gtk_builder_get_object (_tmp7_, "textview1"); -#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1305 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, gtk_text_view_get_type ()) ? ((GtkTextView*) _tmp8_) : NULL); -#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1305 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->entry); -#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1305 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->entry = _tmp9_; -#line 1290 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1306 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = self->priv->entry; -#line 1290 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1306 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_text_view_set_wrap_mode (_tmp10_, GTK_WRAP_WORD); -#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = self->priv->entry; -#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = gtk_text_buffer_new (NULL); -#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = _tmp12_; -#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_text_view_set_buffer (_tmp11_, _tmp13_); -#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp13_); -#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1308 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = initial_text; -#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1308 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp15_ != NULL) { -#line 12158 "Dialogs.c" +#line 12286 "Dialogs.c" const gchar* _tmp16_ = NULL; -#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1308 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = initial_text; -#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1308 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = _tmp16_; -#line 12164 "Dialogs.c" +#line 12292 "Dialogs.c" } else { -#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1308 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = ""; -#line 12168 "Dialogs.c" +#line 12296 "Dialogs.c" } -#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1308 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = self->priv->entry; -#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1308 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = gtk_text_view_get_buffer (_tmp17_); -#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1308 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = _tmp18_; -#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1308 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_set (_tmp19_, "text", _tmp14_, NULL); -#line 1294 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1310 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = self->priv->entry; -#line 1294 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1310 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget)); -#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1312 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = gtk_dialog_get_action_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); -#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1312 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_button_box_get_type (), GtkButtonBox)); -#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1312 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->action_area_box); -#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1312 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->action_area_box = _tmp22_; -#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1313 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = self->priv->action_area_box; -#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1313 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_button_box_set_layout (_tmp23_, GTK_BUTTONBOX_END); -#line 1299 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1315 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_CANCEL_LABEL, (gint) GTK_RESPONSE_CANCEL); -#line 1299 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1315 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_button_get_type (), GtkButton)); -#line 1299 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1315 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->button1); -#line 1299 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1315 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->button1 = _tmp25_; -#line 1300 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1316 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_SAVE_LABEL, (gint) GTK_RESPONSE_OK); -#line 1300 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1316 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_button_get_type (), GtkButton)); -#line 1300 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1316 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->button2); -#line 1300 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1316 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->button2 = _tmp27_; -#line 1301 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK); -#line 1303 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1319 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_has_resize_grip (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE); -#line 12214 "Dialogs.c" +#line 12342 "Dialogs.c" } @@ -12233,83 +12361,83 @@ gchar* multi_text_entry_dialog_execute (MultiTextEntryDialog* self) { gchar* result = NULL; gchar* text = NULL; gint _tmp0_ = 0; -#line 1306 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1322 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_MULTI_TEXT_ENTRY_DIALOG (self), NULL); -#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1323 "/home/jens/Source/shotwell/src/Dialogs.vala" text = NULL; -#line 1309 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1325 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 1311 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1327 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); -#line 1311 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1327 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) { -#line 12232 "Dialogs.c" +#line 12360 "Dialogs.c" GtkTextView* _tmp1_ = NULL; GtkTextBuffer* _tmp2_ = NULL; GtkTextBuffer* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 1312 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1328 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->entry; -#line 1312 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1328 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_text_view_get_buffer (_tmp1_); -#line 1312 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1328 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp2_; -#line 1312 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1328 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_get (_tmp3_, "text", &_tmp4_, NULL); -#line 1312 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1328 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_; -#line 1312 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1328 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (text); -#line 1312 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1328 "/home/jens/Source/shotwell/src/Dialogs.vala" text = _tmp5_; -#line 12252 "Dialogs.c" +#line 12380 "Dialogs.c" } -#line 1314 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1330 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 1316 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1332 "/home/jens/Source/shotwell/src/Dialogs.vala" result = text; -#line 1316 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1332 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 12260 "Dialogs.c" +#line 12388 "Dialogs.c" } static void multi_text_entry_dialog_class_init (MultiTextEntryDialogClass * klass) { -#line 1261 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1277 "/home/jens/Source/shotwell/src/Dialogs.vala" multi_text_entry_dialog_parent_class = g_type_class_peek_parent (klass); -#line 1261 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1277 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_class_add_private (klass, sizeof (MultiTextEntryDialogPrivate)); -#line 1261 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1277 "/home/jens/Source/shotwell/src/Dialogs.vala" G_OBJECT_CLASS (klass)->finalize = multi_text_entry_dialog_finalize; -#line 12271 "Dialogs.c" +#line 12399 "Dialogs.c" } static void multi_text_entry_dialog_instance_init (MultiTextEntryDialog * self) { -#line 1261 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1277 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv = MULTI_TEXT_ENTRY_DIALOG_GET_PRIVATE (self); -#line 12278 "Dialogs.c" +#line 12406 "Dialogs.c" } static void multi_text_entry_dialog_finalize (GObject* obj) { MultiTextEntryDialog * self; -#line 1261 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1277 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MULTI_TEXT_ENTRY_DIALOG, MultiTextEntryDialog); -#line 1265 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1281 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->entry); -#line 1266 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1282 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->builder); -#line 1267 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1283 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->button1); -#line 1268 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1284 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->button2); -#line 1269 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->action_area_box); -#line 1261 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1277 "/home/jens/Source/shotwell/src/Dialogs.vala" G_OBJECT_CLASS (multi_text_entry_dialog_parent_class)->finalize (obj); -#line 12298 "Dialogs.c" +#line 12426 "Dialogs.c" } @@ -12330,24 +12458,24 @@ EventRenameDialog* event_rename_dialog_construct (GType object_type, const gchar const gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 1322 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1338 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _ ("Rename Event"); -#line 1322 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1338 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _ ("Name:"); -#line 1322 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1338 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = event_name; -#line 1322 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1338 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (EventRenameDialog*) text_entry_dialog_mediator_construct (object_type, _tmp0_, _tmp1_, _tmp2_, NULL, NULL); -#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1337 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 12329 "Dialogs.c" +#line 12457 "Dialogs.c" } EventRenameDialog* event_rename_dialog_new (const gchar* event_name) { -#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1337 "/home/jens/Source/shotwell/src/Dialogs.vala" return event_rename_dialog_construct (TYPE_EVENT_RENAME_DIALOG, event_name); -#line 12336 "Dialogs.c" +#line 12464 "Dialogs.c" } @@ -12357,39 +12485,39 @@ static gchar* event_rename_dialog_real_execute (EventRenameDialog* self) { gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1326 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _text_entry_dialog_mediator_execute (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator)); -#line 1326 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _tmp0_; -#line 1326 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = event_prep_event_name (_tmp1_); -#line 1326 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp2_; -#line 1326 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp1_); -#line 1326 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp3_; -#line 1326 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 12360 "Dialogs.c" +#line 12488 "Dialogs.c" } gchar* event_rename_dialog_execute (EventRenameDialog* self) { -#line 1325 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1341 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_EVENT_RENAME_DIALOG (self), NULL); -#line 1325 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1341 "/home/jens/Source/shotwell/src/Dialogs.vala" return EVENT_RENAME_DIALOG_GET_CLASS (self)->execute (self); -#line 12369 "Dialogs.c" +#line 12497 "Dialogs.c" } static void event_rename_dialog_class_init (EventRenameDialogClass * klass) { -#line 1320 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1336 "/home/jens/Source/shotwell/src/Dialogs.vala" event_rename_dialog_parent_class = g_type_class_peek_parent (klass); -#line 1320 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1336 "/home/jens/Source/shotwell/src/Dialogs.vala" ((EventRenameDialogClass *) klass)->execute = event_rename_dialog_real_execute; -#line 12378 "Dialogs.c" +#line 12506 "Dialogs.c" } @@ -12414,24 +12542,24 @@ EditTitleDialog* edit_title_dialog_construct (GType object_type, const gchar* ph const gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1349 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = C_ ("Dialog Title", "Edit Title"); -#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1349 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _ ("Title:"); -#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1349 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = photo_title; -#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1349 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (EditTitleDialog*) text_entry_dialog_mediator_construct (object_type, _tmp0_, _tmp1_, _tmp2_, NULL, NULL); -#line 1331 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1347 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 12413 "Dialogs.c" +#line 12541 "Dialogs.c" } EditTitleDialog* edit_title_dialog_new (const gchar* photo_title) { -#line 1331 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1347 "/home/jens/Source/shotwell/src/Dialogs.vala" return edit_title_dialog_construct (TYPE_EDIT_TITLE_DIALOG, photo_title); -#line 12420 "Dialogs.c" +#line 12548 "Dialogs.c" } @@ -12441,56 +12569,56 @@ static gchar* edit_title_dialog_real_execute (EditTitleDialog* self) { gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1338 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1354 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _text_entry_dialog_mediator_execute (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator)); -#line 1338 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1354 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _tmp0_; -#line 1338 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1354 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = media_source_prep_title (_tmp1_); -#line 1338 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1354 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp2_; -#line 1338 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1354 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp1_); -#line 1338 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1354 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp3_; -#line 1338 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1354 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 12444 "Dialogs.c" +#line 12572 "Dialogs.c" } gchar* edit_title_dialog_execute (EditTitleDialog* self) { -#line 1337 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1353 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_EDIT_TITLE_DIALOG (self), NULL); -#line 1337 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1353 "/home/jens/Source/shotwell/src/Dialogs.vala" return EDIT_TITLE_DIALOG_GET_CLASS (self)->execute (self); -#line 12453 "Dialogs.c" +#line 12581 "Dialogs.c" } static gboolean edit_title_dialog_real_on_modify_validate (TextEntryDialogMediator* base, const gchar* text) { EditTitleDialog * self; gboolean result = FALSE; -#line 1341 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1357 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EDIT_TITLE_DIALOG, EditTitleDialog); -#line 1341 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1357 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (text != NULL, FALSE); -#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1358 "/home/jens/Source/shotwell/src/Dialogs.vala" result = TRUE; -#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1358 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 12468 "Dialogs.c" +#line 12596 "Dialogs.c" } static void edit_title_dialog_class_init (EditTitleDialogClass * klass) { -#line 1330 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1346 "/home/jens/Source/shotwell/src/Dialogs.vala" edit_title_dialog_parent_class = g_type_class_peek_parent (klass); -#line 1330 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1346 "/home/jens/Source/shotwell/src/Dialogs.vala" ((EditTitleDialogClass *) klass)->execute = edit_title_dialog_real_execute; -#line 1330 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1346 "/home/jens/Source/shotwell/src/Dialogs.vala" ((TextEntryDialogMediatorClass *) klass)->on_modify_validate = edit_title_dialog_real_on_modify_validate; -#line 12479 "Dialogs.c" +#line 12607 "Dialogs.c" } @@ -12518,47 +12646,47 @@ EditCommentDialog* edit_comment_dialog_construct (GType object_type, const gchar gchar* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; -#line 1348 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1364 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = is_event; -#line 1348 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1364 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp1_) { -#line 12511 "Dialogs.c" +#line 12639 "Dialogs.c" const gchar* _tmp2_ = NULL; -#line 1350 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1366 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _ ("Edit Event Comment"); -#line 1350 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1366 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _tmp2_; -#line 12517 "Dialogs.c" +#line 12645 "Dialogs.c" } else { const gchar* _tmp3_ = NULL; -#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1367 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _ ("Edit Photo/Video Comment"); -#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1367 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _tmp3_; -#line 12524 "Dialogs.c" +#line 12652 "Dialogs.c" } -#line 1348 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1364 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = g_strdup (_tmp0_); -#line 1348 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1364 "/home/jens/Source/shotwell/src/Dialogs.vala" title_tmp = _tmp4_; -#line 1352 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1368 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _ ("Comment:"); -#line 1352 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1368 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = comment; -#line 1352 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1368 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (EditCommentDialog*) multi_text_entry_dialog_mediator_construct (object_type, title_tmp, _tmp5_, _tmp6_); -#line 1347 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1363 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (title_tmp); -#line 1347 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1363 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 12540 "Dialogs.c" +#line 12668 "Dialogs.c" } EditCommentDialog* edit_comment_dialog_new (const gchar* comment, gboolean is_event) { -#line 1347 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1363 "/home/jens/Source/shotwell/src/Dialogs.vala" return edit_comment_dialog_construct (TYPE_EDIT_COMMENT_DIALOG, comment, is_event); -#line 12547 "Dialogs.c" +#line 12675 "Dialogs.c" } @@ -12568,56 +12696,56 @@ static gchar* edit_comment_dialog_real_execute (EditCommentDialog* self) { gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 1356 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1372 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _multi_text_entry_dialog_mediator_execute (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR, MultiTextEntryDialogMediator)); -#line 1356 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1372 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _tmp0_; -#line 1356 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1372 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = media_source_prep_comment (_tmp1_); -#line 1356 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1372 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp2_; -#line 1356 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1372 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp1_); -#line 1356 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1372 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp3_; -#line 1356 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1372 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 12571 "Dialogs.c" +#line 12699 "Dialogs.c" } gchar* edit_comment_dialog_execute (EditCommentDialog* self) { -#line 1355 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1371 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_EDIT_COMMENT_DIALOG (self), NULL); -#line 1355 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1371 "/home/jens/Source/shotwell/src/Dialogs.vala" return EDIT_COMMENT_DIALOG_GET_CLASS (self)->execute (self); -#line 12580 "Dialogs.c" +#line 12708 "Dialogs.c" } static gboolean edit_comment_dialog_real_on_modify_validate (MultiTextEntryDialogMediator* base, const gchar* text) { EditCommentDialog * self; gboolean result = FALSE; -#line 1359 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1375 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EDIT_COMMENT_DIALOG, EditCommentDialog); -#line 1359 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1375 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (text != NULL, FALSE); -#line 1360 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1376 "/home/jens/Source/shotwell/src/Dialogs.vala" result = TRUE; -#line 1360 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1376 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 12595 "Dialogs.c" +#line 12723 "Dialogs.c" } static void edit_comment_dialog_class_init (EditCommentDialogClass * klass) { -#line 1346 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1362 "/home/jens/Source/shotwell/src/Dialogs.vala" edit_comment_dialog_parent_class = g_type_class_peek_parent (klass); -#line 1346 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1362 "/home/jens/Source/shotwell/src/Dialogs.vala" ((EditCommentDialogClass *) klass)->execute = edit_comment_dialog_real_execute; -#line 1346 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1362 "/home/jens/Source/shotwell/src/Dialogs.vala" ((MultiTextEntryDialogMediatorClass *) klass)->on_modify_validate = edit_comment_dialog_real_on_modify_validate; -#line 12606 "Dialogs.c" +#line 12734 "Dialogs.c" } @@ -12654,63 +12782,63 @@ GtkResponseType remove_from_library_dialog (GtkWindow* owner, const gchar* title gchar* _tmp10_ = NULL; GtkResponseType _result_ = 0; gint _tmp11_ = 0; -#line 1366 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1382 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GTK_IS_WINDOW (owner), 0); -#line 1366 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1382 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (title != NULL, 0); -#line 1366 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1382 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (user_message != NULL, 0); -#line 1368 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1384 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = count; -#line 1368 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1384 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = ngettext ("Remove and _Trash File", "Remove and _Trash Files", (gulong) _tmp0_); -#line 1368 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1384 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = g_strdup (_tmp1_); -#line 1368 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1384 "/home/jens/Source/shotwell/src/Dialogs.vala" trash_action = _tmp2_; -#line 1370 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1386 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = owner; -#line 1370 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1386 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = user_message; -#line 1370 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1386 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp3_, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_CANCEL, "%s", _tmp4_); -#line 1370 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1386 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp5_); -#line 1370 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1386 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog = _tmp5_; -#line 1372 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1388 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _ ("_Remove From Library"); -#line 1372 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1388 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp6_, (gint) GTK_RESPONSE_NO); -#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1389 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), trash_action, (gint) GTK_RESPONSE_YES); -#line 1378 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1394 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = title; -#line 1378 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1394 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = user_message; -#line 1378 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1394 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = build_alert_body_text (_tmp7_, _tmp8_, TRUE); -#line 1378 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1394 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp9_; -#line 1378 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1394 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_message_dialog_set_markup (dialog, _tmp10_); -#line 1378 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1394 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp10_); -#line 1380 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1396 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog)); -#line 1380 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1396 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = (GtkResponseType) _tmp11_; -#line 1382 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1398 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget)); -#line 1384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1400 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _result_; -#line 1384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1400 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (dialog); -#line 1384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1400 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (trash_action); -#line 1384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1400 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 12699 "Dialogs.c" +#line 12827 "Dialogs.c" } @@ -12728,57 +12856,57 @@ GtkResponseType remove_from_filesystem_dialog (GtkWindow* owner, const gchar* ti gchar* _tmp8_ = NULL; GtkResponseType _result_ = 0; gint _tmp9_ = 0; -#line 1388 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1404 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GTK_IS_WINDOW (owner), 0); -#line 1388 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1404 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (title != NULL, 0); -#line 1388 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1404 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (user_message != NULL, 0); -#line 1390 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1406 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = owner; -#line 1390 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1406 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = user_message; -#line 1390 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1406 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp1_); -#line 1390 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1406 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp2_); -#line 1390 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1406 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog = _tmp2_; -#line 1392 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1408 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _ ("_Keep"); -#line 1392 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1408 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp3_, (gint) GTK_RESPONSE_NO); -#line 1393 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1409 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _ ("_Delete"); -#line 1393 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1409 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp4_, (gint) GTK_RESPONSE_YES); -#line 1394 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_NO); -#line 1396 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = title; -#line 1396 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = user_message; -#line 1396 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = build_alert_body_text (_tmp5_, _tmp6_, TRUE); -#line 1396 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _tmp7_; -#line 1396 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_message_dialog_set_markup (dialog, _tmp8_); -#line 1396 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp8_); -#line 1398 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1414 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog)); -#line 1398 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1414 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = (GtkResponseType) _tmp9_; -#line 1400 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget)); -#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1418 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _result_; -#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1418 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (dialog); -#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1418 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 12767 "Dialogs.c" +#line 12895 "Dialogs.c" } @@ -12817,26 +12945,26 @@ gboolean revert_editable_dialog (GtkWindow* owner, GeeCollection* photos) { gint _tmp37_ = 0; GtkMessageDialog* _tmp38_ = NULL; GtkResponseType _tmp39_ = 0; -#line 1405 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GTK_IS_WINDOW (owner), FALSE); -#line 1405 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GEE_IS_COLLECTION (photos), FALSE); -#line 1406 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1422 "/home/jens/Source/shotwell/src/Dialogs.vala" count = 0; -#line 12812 "Dialogs.c" +#line 12940 "Dialogs.c" { GeeIterator* _photo_it = NULL; GeeCollection* _tmp0_ = NULL; GeeIterator* _tmp1_ = NULL; -#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = photos; -#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" _photo_it = _tmp1_; -#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 12825 "Dialogs.c" +#line 12953 "Dialogs.c" GeeIterator* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; Photo* photo = NULL; @@ -12844,171 +12972,171 @@ gboolean revert_editable_dialog (GtkWindow* owner, GeeCollection* photos) { gpointer _tmp5_ = NULL; Photo* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; -#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _photo_it; -#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gee_iterator_next (_tmp2_); -#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp3_) { -#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 12841 "Dialogs.c" +#line 12969 "Dialogs.c" } -#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _photo_it; -#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = gee_iterator_get (_tmp4_); -#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" photo = (Photo*) _tmp5_; -#line 1408 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1424 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = photo; -#line 1408 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1424 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = photo_has_editable (_tmp6_); -#line 1408 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1424 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp7_) { -#line 12855 "Dialogs.c" +#line 12983 "Dialogs.c" gint _tmp8_ = 0; -#line 1409 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1425 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = count; -#line 1409 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1425 "/home/jens/Source/shotwell/src/Dialogs.vala" count = _tmp8_ + 1; -#line 12861 "Dialogs.c" +#line 12989 "Dialogs.c" } -#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (photo); -#line 12865 "Dialogs.c" +#line 12993 "Dialogs.c" } -#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_photo_it); -#line 12869 "Dialogs.c" +#line 12997 "Dialogs.c" } -#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1428 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = count; -#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1428 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp9_ == 0) { -#line 1413 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala" result = FALSE; -#line 1413 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 12879 "Dialogs.c" +#line 13007 "Dialogs.c" } -#line 1415 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1431 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = count; -#line 1415 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1431 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp11_ == 1) { -#line 12885 "Dialogs.c" +#line 13013 "Dialogs.c" const gchar* _tmp12_ = NULL; -#line 1415 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1431 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = _ ("Revert External Edit?"); -#line 1415 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1431 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp12_; -#line 12891 "Dialogs.c" +#line 13019 "Dialogs.c" } else { const gchar* _tmp13_ = NULL; -#line 1415 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1431 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = _ ("Revert External Edits?"); -#line 1415 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1431 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp13_; -#line 12898 "Dialogs.c" +#line 13026 "Dialogs.c" } -#line 1415 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1431 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = g_strdup (_tmp10_); -#line 1415 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1431 "/home/jens/Source/shotwell/src/Dialogs.vala" headline = _tmp14_; -#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1432 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = count; -#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp16_ = ngettext ("This will destroy all changes made to the external file. Continue?", "This will destroy all changes made to %d external files. Continue?", (gulong) _tmp15_); -#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1432 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp16_ = ngettext ("This will destroy all changes made to the external file. Continue?", "This will destroy all changes made to %d external files. Continue?", (gulong) _tmp15_); +#line 1432 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = count; -#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1432 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = g_strdup_printf (_tmp16_, _tmp17_); -#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1432 "/home/jens/Source/shotwell/src/Dialogs.vala" msg = _tmp18_; -#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1437 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = count; -#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1437 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp20_ == 1) { -#line 12918 "Dialogs.c" +#line 13046 "Dialogs.c" const gchar* _tmp21_ = NULL; -#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1437 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = _ ("Re_vert External Edit"); -#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1437 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = _tmp21_; -#line 12924 "Dialogs.c" +#line 13052 "Dialogs.c" } else { const gchar* _tmp22_ = NULL; -#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1437 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = _ ("Re_vert External Edits"); -#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1437 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = _tmp22_; -#line 12931 "Dialogs.c" +#line 13059 "Dialogs.c" } -#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1437 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = g_strdup (_tmp19_); -#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1437 "/home/jens/Source/shotwell/src/Dialogs.vala" action = _tmp23_; -#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1439 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = owner; -#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1439 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = msg; -#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1439 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp24_, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, "%s", _tmp25_); -#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1439 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp26_); -#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1439 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog = _tmp26_; -#line 1425 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = dialog; -#line 1425 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = _ ("_Cancel"); -#line 1425 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_dialog_get_type (), GtkDialog), _tmp28_, (gint) GTK_RESPONSE_CANCEL); -#line 1426 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1442 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = dialog; -#line 1426 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1442 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = action; -#line 1426 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1442 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_dialog_get_type (), GtkDialog), _tmp30_, (gint) GTK_RESPONSE_YES); -#line 1428 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1444 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = dialog; -#line 1428 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1444 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = headline; -#line 1428 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1444 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = msg; -#line 1428 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1444 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp34_ = build_alert_body_text (_tmp32_, _tmp33_, TRUE); -#line 1428 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1444 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp35_ = _tmp34_; -#line 1428 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1444 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_message_dialog_set_markup (_tmp31_, _tmp35_); -#line 1428 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1444 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp35_); -#line 1430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1446 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp36_ = dialog; -#line 1430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1446 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp37_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, gtk_dialog_get_type (), GtkDialog)); -#line 1430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1446 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = (GtkResponseType) _tmp37_; -#line 1432 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1448 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp38_ = dialog; -#line 1432 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1448 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, gtk_widget_get_type (), GtkWidget)); -#line 1434 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1450 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp39_ = _result_; -#line 1434 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1450 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp39_ == GTK_RESPONSE_YES; -#line 1434 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1450 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (dialog); -#line 1434 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1450 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (action); -#line 1434 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1450 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (msg); -#line 1434 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1450 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (headline); -#line 1434 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1450 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 12997 "Dialogs.c" +#line 13125 "Dialogs.c" } @@ -13036,110 +13164,110 @@ gboolean remove_offline_dialog (GtkWindow* owner, gint count) { gint _tmp18_ = 0; GtkMessageDialog* _tmp19_ = NULL; GtkResponseType _tmp20_ = 0; -#line 1437 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1453 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GTK_IS_WINDOW (owner), FALSE); -#line 1438 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = count; -#line 1438 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_ == 0) { -#line 1439 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala" result = FALSE; -#line 1439 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 13035 "Dialogs.c" +#line 13163 "Dialogs.c" } -#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1457 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = count; -#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp2_ = ngettext ("This will remove the photo from the library. Continue?", "This will remove %d photos from the library. Continue?", (gulong) _tmp1_); -#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1457 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp2_ = ngettext ("This will remove the photo from the library. Continue?", "This will remove %d photos from the library. Continue?", (gulong) _tmp1_); +#line 1457 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = count; -#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1457 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = g_strdup_printf (_tmp2_, _tmp3_); -#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1457 "/home/jens/Source/shotwell/src/Dialogs.vala" msg = _tmp4_; -#line 1446 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1462 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = owner; -#line 1446 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1462 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = msg; -#line 1446 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1462 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp5_, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, "%s", _tmp6_); -#line 1446 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1462 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp7_); -#line 1446 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1462 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog = _tmp7_; -#line 1448 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1464 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = dialog; -#line 1448 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1464 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _ ("_Cancel"); -#line 1448 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1464 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_dialog_get_type (), GtkDialog), _tmp9_, (gint) GTK_RESPONSE_CANCEL); -#line 1449 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1465 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = dialog; -#line 1449 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1465 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = _ ("_Remove"); -#line 1449 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1465 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_dialog_get_type (), GtkDialog), _tmp11_, (gint) GTK_RESPONSE_OK); -#line 1450 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = count; -#line 1450 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp13_ == 1) { -#line 13073 "Dialogs.c" +#line 13201 "Dialogs.c" const gchar* _tmp14_ = NULL; -#line 1450 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = _ ("Remove Photo From Library"); -#line 1450 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = _tmp14_; -#line 13079 "Dialogs.c" +#line 13207 "Dialogs.c" } else { const gchar* _tmp15_ = NULL; -#line 1450 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = _ ("Remove Photos From Library"); -#line 1450 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = _tmp15_; -#line 13086 "Dialogs.c" +#line 13214 "Dialogs.c" } -#line 1450 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = dialog; -#line 1450 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_window_get_type (), GtkWindow), _tmp12_); -#line 1452 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1468 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = dialog; -#line 1452 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1468 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_dialog_get_type (), GtkDialog)); -#line 1452 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1468 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = (GtkResponseType) _tmp18_; -#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1470 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = dialog; -#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1470 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget)); -#line 1456 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1472 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = _result_; -#line 1456 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1472 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp20_ == GTK_RESPONSE_OK; -#line 1456 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1472 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (dialog); -#line 1456 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1472 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (msg); -#line 1456 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1472 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 13112 "Dialogs.c" +#line 13240 "Dialogs.c" } static void _progress_dialog_on_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 1489 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1505 "/home/jens/Source/shotwell/src/Dialogs.vala" progress_dialog_on_cancel ((ProgressDialog*) self); -#line 13119 "Dialogs.c" +#line 13247 "Dialogs.c" } static gboolean _progress_dialog_on_window_closed_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) { gboolean result; result = progress_dialog_on_window_closed ((ProgressDialog*) self); -#line 1490 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1506 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 13128 "Dialogs.c" +#line 13256 "Dialogs.c" } @@ -13172,201 +13300,201 @@ ProgressDialog* progress_dialog_construct (GType object_type, GtkWindow* owner, GtkAlignment* alignment = NULL; GtkAlignment* _tmp25_ = NULL; gulong _tmp26_ = 0UL; -#line 1471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1487 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail ((owner == NULL) || GTK_IS_WINDOW (owner), NULL); -#line 1471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1487 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (text != NULL, NULL); -#line 1471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1487 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail ((cancellable == NULL) || G_IS_CANCELLABLE (cancellable), NULL); -#line 1471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1487 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (ProgressDialog*) g_object_new (object_type, NULL); -#line 1472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1488 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = cancellable; -#line 1472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1488 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 1472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1488 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->cancellable); -#line 1472 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1488 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->cancellable = _tmp1_; -#line 1474 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1490 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = text; -#line 1474 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1490 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp2_); -#line 1475 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1491 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE); -#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1492 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = owner; -#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1492 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp3_ != NULL) { -#line 13187 "Dialogs.c" +#line 13315 "Dialogs.c" GtkWindow* _tmp4_ = NULL; -#line 1477 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1493 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = owner; -#line 1477 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1493 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp4_); -#line 13193 "Dialogs.c" +#line 13321 "Dialogs.c" } -#line 1478 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_modal (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE); -#line 1479 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1495 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_type_hint (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), GDK_WINDOW_TYPE_HINT_DIALOG); -#line 1481 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1497 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = self->priv->progress_bar; -#line 1481 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1497 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), 300, -1); -#line 1482 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1498 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = self->priv->progress_bar; -#line 1482 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1498 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_progress_bar_set_show_text (_tmp6_, TRUE); -#line 1484 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1500 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); -#line 1484 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1500 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp7_); -#line 1484 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1500 "/home/jens/Source/shotwell/src/Dialogs.vala" vbox_bar = _tmp7_; -#line 1485 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1501 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = vbox_bar; -#line 1485 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1501 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = self->priv->progress_bar; -#line 1485 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1501 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp8_, G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0); -#line 1487 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1503 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = cancellable; -#line 1487 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1503 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp10_ != NULL) { -#line 13223 "Dialogs.c" +#line 13351 "Dialogs.c" GtkButton* _tmp11_ = NULL; GtkButton* _tmp12_ = NULL; -#line 1488 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1504 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = (GtkButton*) gtk_button_new_with_mnemonic (RESOURCES_CANCEL_LABEL); -#line 1488 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1504 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp11_); -#line 1488 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1504 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->cancel_button); -#line 1488 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1504 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->cancel_button = _tmp11_; -#line 1489 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1505 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = self->priv->cancel_button; -#line 1489 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1505 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect_object (_tmp12_, "clicked", (GCallback) _progress_dialog_on_cancel_gtk_button_clicked, self, 0); -#line 1490 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1506 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "delete-event", (GCallback) _progress_dialog_on_window_closed_gtk_widget_delete_event, self, 0); -#line 13240 "Dialogs.c" +#line 13368 "Dialogs.c" } -#line 1493 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1509 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8); -#line 1493 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1509 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp13_); -#line 1493 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1509 "/home/jens/Source/shotwell/src/Dialogs.vala" hbox = _tmp13_; -#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1510 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = hbox; -#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1510 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = vbox_bar; -#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1510 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp14_, G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0); -#line 1495 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1511 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = self->priv->cancel_button; -#line 1495 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1511 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp16_ != NULL) { -#line 13258 "Dialogs.c" +#line 13386 "Dialogs.c" GtkBox* _tmp17_ = NULL; GtkButton* _tmp18_ = NULL; -#line 1496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1512 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = hbox; -#line 1496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1512 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = self->priv->cancel_button; -#line 1496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1512 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_end (_tmp17_, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0); -#line 13267 "Dialogs.c" +#line 13395 "Dialogs.c" } -#line 1498 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1514 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = (GtkLabel*) gtk_label_new (""); -#line 1498 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1514 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp19_); -#line 1498 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1514 "/home/jens/Source/shotwell/src/Dialogs.vala" primary_text_label = _tmp19_; -#line 1499 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1515 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = text; -#line 1499 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1515 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = g_strdup_printf ("<span weight=\"bold\">%s</span>", _tmp20_); -#line 1499 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1515 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = _tmp21_; -#line 1499 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1515 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_markup (primary_text_label, _tmp22_); -#line 1499 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1515 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp22_); -#line 1500 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1516 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (primary_text_label, gtk_misc_get_type (), GtkMisc), (gfloat) 0, 0.5f); -#line 1502 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1518 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 12); -#line 1502 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1518 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp23_); -#line 1502 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1518 "/home/jens/Source/shotwell/src/Dialogs.vala" vbox = _tmp23_; -#line 1503 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1519 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (vbox, G_TYPE_CHECK_INSTANCE_CAST (primary_text_label, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0); -#line 1504 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1520 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = hbox; -#line 1504 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1520 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (vbox, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0); -#line 1506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1522 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = (GtkAlignment*) gtk_alignment_new (0.5f, 0.5f, 1.0f, 1.0f); -#line 1506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1522 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp25_); -#line 1506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1522 "/home/jens/Source/shotwell/src/Dialogs.vala" alignment = _tmp25_; -#line 1507 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1523 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_alignment_set_padding (alignment, (guint) 12, (guint) 12, (guint) 12, (guint) 12); -#line 1508 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1524 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (alignment, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget)); -#line 1510 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1526 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (alignment, gtk_widget_get_type (), GtkWidget)); -#line 1512 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1528 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = now_ms (); -#line 1512 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1528 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->time_started = _tmp26_; -#line 1471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1487 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (alignment); -#line 1471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1487 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (vbox); -#line 1471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1487 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (primary_text_label); -#line 1471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1487 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (hbox); -#line 1471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1487 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (vbox_bar); -#line 1471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1487 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 13327 "Dialogs.c" +#line 13455 "Dialogs.c" } ProgressDialog* progress_dialog_new (GtkWindow* owner, const gchar* text, GCancellable* cancellable) { -#line 1471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1487 "/home/jens/Source/shotwell/src/Dialogs.vala" return progress_dialog_construct (TYPE_PROGRESS_DIALOG, owner, text, cancellable); -#line 13334 "Dialogs.c" +#line 13462 "Dialogs.c" } static void progress_dialog_real_realize (GtkWidget* base) { ProgressDialog * self; GCancellable* _tmp0_ = NULL; -#line 1515 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1531 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PROGRESS_DIALOG, ProgressDialog); -#line 1516 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1532 "/home/jens/Source/shotwell/src/Dialogs.vala" GTK_WIDGET_CLASS (progress_dialog_parent_class)->realize (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), gtk_widget_get_type (), GtkWidget)); -#line 1519 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1535 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->cancellable; -#line 1519 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1535 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_ == NULL) { -#line 13349 "Dialogs.c" +#line 13477 "Dialogs.c" GdkWindow* _tmp1_ = NULL; -#line 1520 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1536 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 1520 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1536 "/home/jens/Source/shotwell/src/Dialogs.vala" gdk_window_set_functions (_tmp1_, GDK_FUNC_MOVE); -#line 13355 "Dialogs.c" +#line 13483 "Dialogs.c" } } @@ -13374,44 +13502,44 @@ static void progress_dialog_real_realize (GtkWidget* base) { void progress_dialog_update_display_every (ProgressDialog* self, gint update_every) { gint _tmp0_ = 0; gint _tmp1_ = 0; -#line 1523 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1539 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PROGRESS_DIALOG (self)); -#line 1524 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1540 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = update_every; -#line 1524 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1540 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_assert (_tmp0_ >= 1, "update_every >= 1"); -#line 1526 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1542 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = update_every; -#line 1526 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1542 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->update_every = _tmp1_; -#line 13373 "Dialogs.c" +#line 13501 "Dialogs.c" } void progress_dialog_set_minimum_on_screen_time_msec (ProgressDialog* self, gint minimum_on_screen_time_msec) { gint _tmp0_ = 0; -#line 1529 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1545 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PROGRESS_DIALOG (self)); -#line 1530 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1546 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = minimum_on_screen_time_msec; -#line 1530 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1546 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->minimum_on_screen_time_msec = _tmp0_; -#line 13385 "Dialogs.c" +#line 13513 "Dialogs.c" } void progress_dialog_set_fraction (ProgressDialog* self, gint current, gint total) { gint _tmp0_ = 0; gint _tmp1_ = 0; -#line 1533 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1549 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PROGRESS_DIALOG (self)); -#line 1534 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1550 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = current; -#line 1534 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1550 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = total; -#line 1534 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1550 "/home/jens/Source/shotwell/src/Dialogs.vala" progress_dialog_set_percentage (self, ((gdouble) _tmp0_) / ((gdouble) _tmp1_)); -#line 13400 "Dialogs.c" +#line 13528 "Dialogs.c" } @@ -13426,58 +13554,58 @@ void progress_dialog_set_percentage (ProgressDialog* self, gdouble pct) { gdouble _tmp7_ = 0.0; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1537 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1553 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PROGRESS_DIALOG (self)); -#line 1538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = pct; -#line 1538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = CLAMP (_tmp0_, 0.0, 1.0); -#line 1538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1554 "/home/jens/Source/shotwell/src/Dialogs.vala" pct = _tmp1_; -#line 1540 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1556 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = pct; -#line 1540 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1556 "/home/jens/Source/shotwell/src/Dialogs.vala" progress_dialog_maybe_show_all (self, _tmp2_); -#line 1542 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1558 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = self->priv->progress_bar; -#line 1542 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1558 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = pct; -#line 1542 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1558 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_progress_bar_set_fraction (_tmp3_, _tmp4_); -#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1559 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = self->priv->progress_bar; -#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1559 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _ ("%d%%"); -#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1559 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = pct; -#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1559 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = g_strdup_printf (_tmp6_, (gint) (_tmp7_ * 100.0)); -#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1559 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _tmp8_; -#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1559 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_progress_bar_set_text (_tmp5_, _tmp9_); -#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1559 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp9_); -#line 13447 "Dialogs.c" +#line 13575 "Dialogs.c" } void progress_dialog_set_status (ProgressDialog* self, const gchar* text) { GtkProgressBar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 1551 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1567 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PROGRESS_DIALOG (self)); -#line 1551 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1567 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (text != NULL); -#line 1552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->progress_bar; -#line 1552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = text; -#line 1552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_progress_bar_set_text (_tmp0_, _tmp1_); -#line 1558 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1574 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 13466 "Dialogs.c" +#line 13594 "Dialogs.c" } @@ -13489,131 +13617,131 @@ gboolean progress_dialog_monitor (ProgressDialog* self, guint64 count, guint64 t GCancellable* _tmp9_ = NULL; gboolean keep_going = FALSE; gboolean _tmp12_ = FALSE; -#line 1562 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1578 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_PROGRESS_DIALOG (self), FALSE); -#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1579 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->last_count; -#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1579 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp1_ == G_MAXUINT64) { -#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1579 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = TRUE; -#line 13486 "Dialogs.c" +#line 13614 "Dialogs.c" } else { guint64 _tmp2_ = 0ULL; guint64 _tmp3_ = 0ULL; gint _tmp4_ = 0; -#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1579 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = count; -#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1579 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = self->priv->last_count; -#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1579 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = self->priv->update_every; -#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1579 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = (_tmp2_ - _tmp3_) >= ((guint64) _tmp4_); -#line 13499 "Dialogs.c" +#line 13627 "Dialogs.c" } -#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1579 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_) { -#line 13503 "Dialogs.c" +#line 13631 "Dialogs.c" guint64 _tmp5_ = 0ULL; guint64 _tmp6_ = 0ULL; guint64 _tmp7_ = 0ULL; -#line 1564 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1580 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = count; -#line 1564 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1580 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = total; -#line 1564 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1580 "/home/jens/Source/shotwell/src/Dialogs.vala" progress_dialog_set_percentage (self, ((gdouble) _tmp5_) / ((gdouble) _tmp6_)); -#line 1565 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1581 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = count; -#line 1565 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1581 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->last_count = _tmp7_; -#line 13517 "Dialogs.c" +#line 13645 "Dialogs.c" } -#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = self->priv->cancellable; -#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1584 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp9_ != NULL) { -#line 13523 "Dialogs.c" +#line 13651 "Dialogs.c" GCancellable* _tmp10_ = NULL; gboolean _tmp11_ = FALSE; -#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = self->priv->cancellable; -#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = g_cancellable_is_cancelled (_tmp10_); -#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = !_tmp11_; -#line 13532 "Dialogs.c" +#line 13660 "Dialogs.c" } else { -#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = TRUE; -#line 13536 "Dialogs.c" +#line 13664 "Dialogs.c" } -#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1584 "/home/jens/Source/shotwell/src/Dialogs.vala" keep_going = _tmp8_; -#line 1576 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1592 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = do_event_loop; -#line 1576 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1592 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp12_) { -#line 1577 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1593 "/home/jens/Source/shotwell/src/Dialogs.vala" spin_event_loop (); -#line 13546 "Dialogs.c" +#line 13674 "Dialogs.c" } -#line 1579 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1595 "/home/jens/Source/shotwell/src/Dialogs.vala" result = keep_going; -#line 1579 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1595 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 13552 "Dialogs.c" +#line 13680 "Dialogs.c" } void progress_dialog_close (ProgressDialog* self) { -#line 1582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1598 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PROGRESS_DIALOG (self)); -#line 1587 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1603 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 1588 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1604 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 13563 "Dialogs.c" +#line 13691 "Dialogs.c" } static gboolean progress_dialog_on_window_closed (ProgressDialog* self) { gboolean result = FALSE; -#line 1591 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_PROGRESS_DIALOG (self), FALSE); -#line 1592 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1608 "/home/jens/Source/shotwell/src/Dialogs.vala" progress_dialog_on_cancel (self); -#line 1593 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1609 "/home/jens/Source/shotwell/src/Dialogs.vala" result = FALSE; -#line 1593 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1609 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 13577 "Dialogs.c" +#line 13705 "Dialogs.c" } static void progress_dialog_on_cancel (ProgressDialog* self) { GCancellable* _tmp0_ = NULL; GtkButton* _tmp2_ = NULL; -#line 1597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1613 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PROGRESS_DIALOG (self)); -#line 1598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->cancellable; -#line 1598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1614 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_ != NULL) { -#line 13590 "Dialogs.c" +#line 13718 "Dialogs.c" GCancellable* _tmp1_ = NULL; -#line 1599 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1615 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->cancellable; -#line 1599 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1615 "/home/jens/Source/shotwell/src/Dialogs.vala" g_cancellable_cancel (_tmp1_); -#line 13596 "Dialogs.c" +#line 13724 "Dialogs.c" } -#line 1601 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1617 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = self->priv->cancel_button; -#line 1601 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1617 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 13602 "Dialogs.c" +#line 13730 "Dialogs.c" } @@ -13621,35 +13749,35 @@ static void progress_dialog_maybe_show_all (ProgressDialog* self, gdouble pct) { gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 1604 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1620 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PROGRESS_DIALOG (self)); -#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1623 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gtk_widget_get_visible (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1623 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _tmp1_; -#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1623 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp2_) { -#line 13618 "Dialogs.c" +#line 13746 "Dialogs.c" gulong _tmp3_ = 0UL; gulong _tmp4_ = 0UL; gint _tmp5_ = 0; -#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1623 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = now_ms (); -#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1623 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = self->priv->time_started; -#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1623 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = self->priv->minimum_on_screen_time_msec; -#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1623 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = (_tmp3_ - _tmp4_) > ((gulong) _tmp5_); -#line 13630 "Dialogs.c" +#line 13758 "Dialogs.c" } else { -#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1623 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = FALSE; -#line 13634 "Dialogs.c" +#line 13762 "Dialogs.c" } -#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1623 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_) { -#line 13638 "Dialogs.c" +#line 13766 "Dialogs.c" gdouble pps = 0.0; gdouble _tmp6_ = 0.0; gint _tmp7_ = 0; @@ -13657,80 +13785,80 @@ static void progress_dialog_maybe_show_all (ProgressDialog* self, gdouble pct) { gdouble _tmp8_ = 0.0; gdouble _tmp9_ = 0.0; gint _tmp10_ = 0; -#line 1609 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1625 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = pct; -#line 1609 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1625 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = self->priv->minimum_on_screen_time_msec; -#line 1609 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1625 "/home/jens/Source/shotwell/src/Dialogs.vala" pps = (_tmp6_ * 100.0) / _tmp7_; -#line 1611 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1627 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = pps; -#line 1611 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1627 "/home/jens/Source/shotwell/src/Dialogs.vala" ttc = 100.0 / _tmp8_; -#line 1614 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1630 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = ttc; -#line 1614 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1630 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = self->priv->minimum_on_screen_time_msec; -#line 1614 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1630 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp9_ > ((gdouble) _tmp10_)) { -#line 1619 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1635 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 1620 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1636 "/home/jens/Source/shotwell/src/Dialogs.vala" spin_event_loop (); -#line 13666 "Dialogs.c" +#line 13794 "Dialogs.c" } } } static void progress_dialog_class_init (ProgressDialogClass * klass) { -#line 1459 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1475 "/home/jens/Source/shotwell/src/Dialogs.vala" progress_dialog_parent_class = g_type_class_peek_parent (klass); -#line 1459 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1475 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_class_add_private (klass, sizeof (ProgressDialogPrivate)); -#line 1459 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1475 "/home/jens/Source/shotwell/src/Dialogs.vala" ((GtkWidgetClass *) klass)->realize = progress_dialog_real_realize; -#line 1459 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1475 "/home/jens/Source/shotwell/src/Dialogs.vala" G_OBJECT_CLASS (klass)->finalize = progress_dialog_finalize; -#line 13681 "Dialogs.c" +#line 13809 "Dialogs.c" } static void progress_dialog_instance_init (ProgressDialog * self) { GtkProgressBar* _tmp0_ = NULL; -#line 1459 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1475 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv = PROGRESS_DIALOG_GET_PRIVATE (self); -#line 1460 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = (GtkProgressBar*) gtk_progress_bar_new (); -#line 1460 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp0_); -#line 1460 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->progress_bar = _tmp0_; -#line 1461 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1477 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->cancel_button = NULL; -#line 1463 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1479 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->last_count = G_MAXUINT64; -#line 1464 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1480 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->update_every = 1; -#line 1465 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1481 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->minimum_on_screen_time_msec = 500; -#line 13703 "Dialogs.c" +#line 13831 "Dialogs.c" } static void progress_dialog_finalize (GObject* obj) { ProgressDialog * self; -#line 1459 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1475 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PROGRESS_DIALOG, ProgressDialog); -#line 1460 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->progress_bar); -#line 1461 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1477 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->cancel_button); -#line 1462 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1478 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->cancellable); -#line 1459 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1475 "/home/jens/Source/shotwell/src/Dialogs.vala" G_OBJECT_CLASS (progress_dialog_parent_class)->finalize (obj); -#line 13719 "Dialogs.c" +#line 13847 "Dialogs.c" } @@ -13759,53 +13887,53 @@ static GType adjust_date_time_dialog_time_system_get_type (void) { static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_day_selected (GtkCalendar* _sender, gpointer self) { -#line 1672 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1688 "/home/jens/Source/shotwell/src/Dialogs.vala" adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self); -#line 13750 "Dialogs.c" +#line 13878 "Dialogs.c" } static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_month_changed (GtkCalendar* _sender, gpointer self) { -#line 1673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1689 "/home/jens/Source/shotwell/src/Dialogs.vala" adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self); -#line 13757 "Dialogs.c" +#line 13885 "Dialogs.c" } static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_next_year (GtkCalendar* _sender, gpointer self) { -#line 1674 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1690 "/home/jens/Source/shotwell/src/Dialogs.vala" adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self); -#line 13764 "Dialogs.c" +#line 13892 "Dialogs.c" } static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_prev_year (GtkCalendar* _sender, gpointer self) { -#line 1675 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1691 "/home/jens/Source/shotwell/src/Dialogs.vala" adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self); -#line 13771 "Dialogs.c" +#line 13899 "Dialogs.c" } static gboolean _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output (GtkSpinButton* _sender, gpointer self) { gboolean result; result = adjust_date_time_dialog_on_spin_button_output ((AdjustDateTimeDialog*) self, _sender); -#line 1682 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1698 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 13780 "Dialogs.c" +#line 13908 "Dialogs.c" } static void _adjust_date_time_dialog_on_time_system_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { -#line 1700 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala" adjust_date_time_dialog_on_time_system_changed ((AdjustDateTimeDialog*) self); -#line 13787 "Dialogs.c" +#line 13915 "Dialogs.c" } static void _adjust_date_time_dialog_on_time_changed_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) { -#line 1722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1738 "/home/jens/Source/shotwell/src/Dialogs.vala" adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self); -#line 13794 "Dialogs.c" +#line 13922 "Dialogs.c" } @@ -13820,7 +13948,7 @@ static void g_time_local (time_t time, struct tm* result) { *result = _result_; #line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return; -#line 13809 "Dialogs.c" +#line 13937 "Dialogs.c" } @@ -13956,792 +14084,792 @@ AdjustDateTimeDialog* adjust_date_time_dialog_construct (GType object_type, Date ConfigFacade* _tmp157_ = NULL; gboolean _tmp158_ = FALSE; GError * _inner_error_ = NULL; -#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_DATEABLE (source), NULL); -#line 1657 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1673 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = source; -#line 1657 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1673 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_assert (_tmp0_ != NULL, "source != null"); -#line 1660 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1676 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gtk_settings_get_default (); -#line 1660 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1676 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL); -#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = use_header; -#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp3_) { -#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = 1; -#line 13961 "Dialogs.c" +#line 14089 "Dialogs.c" } else { -#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = 0; -#line 13965 "Dialogs.c" +#line 14093 "Dialogs.c" } -#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (AdjustDateTimeDialog*) g_object_new (object_type, "use-header-bar", _tmp2_, NULL); -#line 1663 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1679 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_modal (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE); -#line 1664 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1680 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE); -#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1681 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = app_window_get_instance (); -#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1681 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_; -#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1681 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_window_get_type (), GtkWindow)); -#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1681 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp5_); -#line 1667 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1683 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_CANCEL_LABEL, GTK_RESPONSE_CANCEL, RESOURCES_OK_LABEL, GTK_RESPONSE_OK, NULL); -#line 1669 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1685 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), RESOURCES_ADJUST_DATE_TIME_LABEL); -#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = (GtkCalendar*) gtk_calendar_new (); -#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp6_); -#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->calendar); -#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->calendar = _tmp6_; -#line 1672 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1688 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = self->priv->calendar; -#line 1672 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1688 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect_object (_tmp7_, "day-selected", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_day_selected, self, 0); -#line 1673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1689 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = self->priv->calendar; -#line 1673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1689 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect_object (_tmp8_, "month-changed", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_month_changed, self, 0); -#line 1674 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1690 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = self->priv->calendar; -#line 1674 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1690 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect_object (_tmp9_, "next-year", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_next_year, self, 0); -#line 1675 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1691 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = self->priv->calendar; -#line 1675 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1691 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect_object (_tmp10_, "prev-year", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_prev_year, self, 0); -#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1693 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = config_facade_get_instance (); -#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1693 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = _tmp11_; -#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1693 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = configuration_facade_get_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1693 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = _tmp13_; -#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1693 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp12_); -#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1693 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp14_) { -#line 14021 "Dialogs.c" +#line 14149 "Dialogs.c" GtkSpinButton* _tmp15_ = NULL; -#line 1678 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1694 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) 23, (gdouble) 1); -#line 1678 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1694 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp15_); -#line 1678 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1694 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->hour); -#line 1678 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1694 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->hour = _tmp15_; -#line 14031 "Dialogs.c" +#line 14159 "Dialogs.c" } else { GtkSpinButton* _tmp16_ = NULL; -#line 1680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 1, (gdouble) 12, (gdouble) 1); -#line 1680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp16_); -#line 1680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->hour); -#line 1680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->hour = _tmp16_; -#line 14042 "Dialogs.c" +#line 14170 "Dialogs.c" } -#line 1682 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1698 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = self->priv->hour; -#line 1682 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1698 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect_object (_tmp17_, "output", (GCallback) _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output, self, 0); -#line 1683 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1699 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = self->priv->hour; -#line 1683 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1699 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_entry_get_type (), GtkEntry), 2); -#line 1684 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1700 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = self->priv->hour; -#line 1684 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1700 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_set_max_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_entry_get_type (), GtkEntry), 2); -#line 1686 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1702 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) 59, (gdouble) 1); -#line 1686 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1702 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp20_); -#line 1686 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1702 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->minute); -#line 1686 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1702 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->minute = _tmp20_; -#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1703 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = self->priv->minute; -#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1703 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_entry_get_type (), GtkEntry), 2); -#line 1688 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1704 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = self->priv->minute; -#line 1688 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1704 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_set_max_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_entry_get_type (), GtkEntry), 2); -#line 1689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = self->priv->minute; -#line 1689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect_object (_tmp23_, "output", (GCallback) _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output, self, 0); -#line 1691 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) 59, (gdouble) 1); -#line 1691 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp24_); -#line 1691 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->second); -#line 1691 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->second = _tmp24_; -#line 1692 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1708 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = self->priv->second; -#line 1692 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1708 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_entry_get_type (), GtkEntry), 2); -#line 1693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1709 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = self->priv->second; -#line 1693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1709 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_set_max_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_entry_get_type (), GtkEntry), 2); -#line 1694 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1710 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = self->priv->second; -#line 1694 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1710 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect_object (_tmp27_, "output", (GCallback) _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output, self, 0); -#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1712 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = (GtkComboBoxText*) gtk_combo_box_text_new (); -#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1712 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp28_); -#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1712 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->system); -#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1712 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->system = _tmp28_; -#line 1697 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = self->priv->system; -#line 1697 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = _ ("AM"); -#line 1697 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_text_append_text (_tmp29_, _tmp30_); -#line 1698 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1714 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = self->priv->system; -#line 1698 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1714 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = _ ("PM"); -#line 1698 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1714 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_text_append_text (_tmp31_, _tmp32_); -#line 1699 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = self->priv->system; -#line 1699 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp34_ = _ ("24 Hr"); -#line 1699 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_text_append_text (_tmp33_, _tmp34_); -#line 1700 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp35_ = self->priv->system; -#line 1700 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _adjust_date_time_dialog_on_time_system_changed_gtk_combo_box_changed, self, 0); -#line 1702 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp36_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3); -#line 1702 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp36_); -#line 1702 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala" clock = _tmp36_; -#line 1704 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp37_ = clock; -#line 1704 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp38_ = self->priv->hour; -#line 1704 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp37_, G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0); -#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp39_ = clock; -#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp40_ = (GtkLabel*) gtk_label_new (":"); -#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp40_); -#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp41_ = _tmp40_; -#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp39_, G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0); -#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp41_); -#line 1706 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1722 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp42_ = clock; -#line 1706 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1722 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp43_ = self->priv->minute; -#line 1706 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1722 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp42_, G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0); -#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1723 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp44_ = clock; -#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1723 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp45_ = (GtkLabel*) gtk_label_new (":"); -#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1723 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp45_); -#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1723 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp46_ = _tmp45_; -#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1723 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp44_, G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0); -#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1723 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp46_); -#line 1708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1724 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp47_ = clock; -#line 1708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1724 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp48_ = self->priv->second; -#line 1708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1724 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp47_, G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0); -#line 1709 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp49_ = clock; -#line 1709 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp50_ = self->priv->system; -#line 1709 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp49_, G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0); -#line 1711 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1727 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK); -#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp51_ = _ ("_Shift photos/videos by the same amount"); -#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp52_ = (GtkRadioButton*) gtk_radio_button_new_with_mnemonic (NULL, _tmp51_); -#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp52_); -#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->relativity_radio_button); -#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->relativity_radio_button = _tmp52_; -#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1731 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp53_ = self->priv->relativity_radio_button; -#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1731 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp54_ = config_facade_get_instance (); -#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1731 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp55_ = _tmp54_; -#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1731 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp56_ = configuration_facade_get_keep_relativity (G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1731 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp56_); -#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1731 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp55_); -#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp58_ = display_options; -#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp58_) { -#line 14208 "Dialogs.c" +#line 14336 "Dialogs.c" gint _tmp59_ = 0; -#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp59_ = photo_count; -#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp57_ = _tmp59_ > 1; -#line 14214 "Dialogs.c" +#line 14342 "Dialogs.c" } else { -#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp57_ = FALSE; -#line 14218 "Dialogs.c" +#line 14346 "Dialogs.c" } -#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp60_ = self->priv->relativity_radio_button; -#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, gtk_widget_get_type (), GtkWidget), _tmp57_); -#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp61_ = self->priv->relativity_radio_button; -#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp62_ = gtk_radio_button_get_group (_tmp61_); -#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp63_ = _ ("Set _all photos/videos to this time"); -#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp64_ = (GtkRadioButton*) gtk_radio_button_new_with_mnemonic (_tmp62_, _tmp63_); -#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp64_); -#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->batch_radio_button); -#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->batch_radio_button = _tmp64_; -#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp65_ = self->priv->batch_radio_button; -#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp66_ = config_facade_get_instance (); -#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp67_ = _tmp66_; -#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp68_ = configuration_facade_get_keep_relativity (G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp65_, gtk_toggle_button_get_type (), GtkToggleButton), !_tmp68_); -#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp67_); -#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1737 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp70_ = display_options; -#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1737 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp70_) { -#line 14254 "Dialogs.c" +#line 14382 "Dialogs.c" gint _tmp71_ = 0; -#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1737 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp71_ = photo_count; -#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1737 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp69_ = _tmp71_ > 1; -#line 14260 "Dialogs.c" +#line 14388 "Dialogs.c" } else { -#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1737 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp69_ = FALSE; -#line 14264 "Dialogs.c" +#line 14392 "Dialogs.c" } -#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1737 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp72_ = self->priv->batch_radio_button; -#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1737 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, gtk_widget_get_type (), GtkWidget), _tmp69_); -#line 1722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1738 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp73_ = self->priv->batch_radio_button; -#line 1722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1738 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_toggle_button_toggled, self, 0); -#line 1724 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp74_ = contains_video; -#line 1724 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp74_) { -#line 14278 "Dialogs.c" +#line 14406 "Dialogs.c" const gchar* _tmp75_ = NULL; gint _tmp76_ = 0; GtkCheckButton* _tmp79_ = NULL; -#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1741 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp76_ = photo_count; -#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1741 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp76_ == 1) { -#line 14286 "Dialogs.c" +#line 14414 "Dialogs.c" const gchar* _tmp77_ = NULL; -#line 1726 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1742 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp77_ = _ ("_Modify original photo file"); -#line 1726 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1742 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp75_ = _tmp77_; -#line 14292 "Dialogs.c" +#line 14420 "Dialogs.c" } else { const gchar* _tmp78_ = NULL; -#line 1726 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1742 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp78_ = _ ("_Modify original photo files"); -#line 1726 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1742 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp75_ = _tmp78_; -#line 14299 "Dialogs.c" +#line 14427 "Dialogs.c" } -#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1741 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp79_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp75_); -#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1741 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp79_); -#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1741 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->modify_originals_check_button); -#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1741 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->modify_originals_check_button = _tmp79_; -#line 14309 "Dialogs.c" +#line 14437 "Dialogs.c" } else { const gchar* _tmp80_ = NULL; gint _tmp81_ = 0; GtkCheckButton* _tmp84_ = NULL; -#line 1728 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp81_ = photo_count; -#line 1728 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp81_ == 1) { -#line 14318 "Dialogs.c" +#line 14446 "Dialogs.c" const gchar* _tmp82_ = NULL; -#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp82_ = _ ("_Modify original file"); -#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp80_ = _tmp82_; -#line 14324 "Dialogs.c" +#line 14452 "Dialogs.c" } else { const gchar* _tmp83_ = NULL; -#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp83_ = _ ("_Modify original files"); -#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp80_ = _tmp83_; -#line 14331 "Dialogs.c" +#line 14459 "Dialogs.c" } -#line 1728 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp84_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp80_); -#line 1728 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp84_); -#line 1728 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->modify_originals_check_button); -#line 1728 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->modify_originals_check_button = _tmp84_; -#line 14341 "Dialogs.c" +#line 14469 "Dialogs.c" } -#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp86_ = config_facade_get_instance (); -#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp87_ = _tmp86_; -#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp88_ = configuration_facade_get_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp87_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp89_ = _tmp88_; -#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1748 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp87_); -#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1748 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp89_) { -#line 14355 "Dialogs.c" +#line 14483 "Dialogs.c" gboolean _tmp90_ = FALSE; -#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1749 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp90_ = display_options; -#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1749 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp85_ = _tmp90_; -#line 14361 "Dialogs.c" +#line 14489 "Dialogs.c" } else { -#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp85_ = FALSE; -#line 14365 "Dialogs.c" +#line 14493 "Dialogs.c" } -#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp91_ = self->priv->modify_originals_check_button; -#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1748 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp91_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp85_); -#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp93_ = only_video; -#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp93_) { -#line 14375 "Dialogs.c" +#line 14503 "Dialogs.c" gboolean _tmp94_ = FALSE; ConfigFacade* _tmp95_ = NULL; ConfigFacade* _tmp96_ = NULL; gboolean _tmp97_ = FALSE; gboolean _tmp98_ = FALSE; -#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp95_ = config_facade_get_instance (); -#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp96_ = _tmp95_; -#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp97_ = configuration_facade_get_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp96_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp98_ = !_tmp97_; -#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1751 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp96_); -#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1751 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp98_) { -#line 14393 "Dialogs.c" +#line 14521 "Dialogs.c" gboolean _tmp99_ = FALSE; -#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp99_ = display_options; -#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp94_ = _tmp99_; -#line 14399 "Dialogs.c" +#line 14527 "Dialogs.c" } else { -#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp94_ = FALSE; -#line 14403 "Dialogs.c" +#line 14531 "Dialogs.c" } -#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1751 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp92_ = _tmp94_; -#line 14407 "Dialogs.c" +#line 14535 "Dialogs.c" } else { -#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp92_ = FALSE; -#line 14411 "Dialogs.c" +#line 14539 "Dialogs.c" } -#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp100_ = self->priv->modify_originals_check_button; -#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp100_, gtk_widget_get_type (), GtkWidget), _tmp92_); -#line 1737 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp101_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 5); -#line 1737 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp101_); -#line 1737 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala" time_content = _tmp101_; -#line 1739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp102_ = time_content; -#line 1739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp103_ = self->priv->calendar; -#line 1739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp102_, G_TYPE_CHECK_INSTANCE_CAST (_tmp103_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0); -#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1756 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp104_ = time_content; -#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1756 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp105_ = clock; -#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1756 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp104_, G_TYPE_CHECK_INSTANCE_CAST (_tmp105_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0); -#line 1742 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1758 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp106_ = display_options; -#line 1742 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1758 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp106_) { -#line 14439 "Dialogs.c" +#line 14567 "Dialogs.c" GtkBox* _tmp107_ = NULL; GtkRadioButton* _tmp108_ = NULL; GtkBox* _tmp109_ = NULL; GtkRadioButton* _tmp110_ = NULL; GtkBox* _tmp111_ = NULL; GtkCheckButton* _tmp112_ = NULL; -#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1759 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp107_ = time_content; -#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1759 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp108_ = self->priv->relativity_radio_button; -#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1759 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp107_, G_TYPE_CHECK_INSTANCE_CAST (_tmp108_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0); -#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp109_ = time_content; -#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp110_ = self->priv->batch_radio_button; -#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp109_, G_TYPE_CHECK_INSTANCE_CAST (_tmp110_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0); -#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp111_ = time_content; -#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp112_ = self->priv->modify_originals_check_button; -#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp111_, G_TYPE_CHECK_INSTANCE_CAST (_tmp112_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0); -#line 14464 "Dialogs.c" +#line 14592 "Dialogs.c" } -#line 1748 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1764 "/home/jens/Source/shotwell/src/Dialogs.vala" preview = NULL; -#line 14468 "Dialogs.c" +#line 14596 "Dialogs.c" { GdkPixbuf* _tmp113_ = NULL; Dateable* _tmp114_ = NULL; GdkPixbuf* _tmp115_ = NULL; GdkPixbuf* _tmp116_ = NULL; -#line 1752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp114_ = source; -#line 1752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp115_ = thumbnail_source_get_thumbnail (G_TYPE_CHECK_INSTANCE_CAST (_tmp114_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), ADJUST_DATE_TIME_DIALOG_CALENDAR_THUMBNAIL_SCALE, &_inner_error_); -#line 1752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp113_ = _tmp115_; -#line 1752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 14482 "Dialogs.c" - goto __catch412_g_error; +#line 14610 "Dialogs.c" + goto __catch425_g_error; } -#line 1752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp116_ = _tmp113_; -#line 1752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp113_ = NULL; -#line 1752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (preview); -#line 1752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala" preview = _tmp116_; -#line 1749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp113_); -#line 14495 "Dialogs.c" +#line 14623 "Dialogs.c" } - goto __finally412; - __catch412_g_error: + goto __finally425; + __catch425_g_error: { GError* err = NULL; Dateable* _tmp117_ = NULL; gchar* _tmp118_ = NULL; gchar* _tmp119_ = NULL; -#line 1749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala" err = _inner_error_; -#line 1749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala" _inner_error_ = NULL; -#line 1754 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1770 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp117_ = source; -#line 1754 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1770 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp118_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp117_, TYPE_DATA_OBJECT, DataObject)); -#line 1754 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1770 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp119_ = _tmp118_; -#line 1754 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_warning ("Dialogs.vala:1754: Unable to fetch preview for %s", _tmp119_); -#line 1754 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1770 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_warning ("Dialogs.vala:1770: Unable to fetch preview for %s", _tmp119_); +#line 1770 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp119_); -#line 1749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_error_free0 (err); -#line 14520 "Dialogs.c" +#line 14648 "Dialogs.c" } - __finally412: -#line 1749 "/home/jens/Source/shotwell/src/Dialogs.vala" + __finally425: +#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (preview); -#line 1749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (time_content); -#line 1749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (clock); -#line 1749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala" g_clear_error (&_inner_error_); -#line 1749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala" return NULL; -#line 14537 "Dialogs.c" +#line 14665 "Dialogs.c" } -#line 1757 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1773 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp120_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); -#line 1757 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1773 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp120_); -#line 1757 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1773 "/home/jens/Source/shotwell/src/Dialogs.vala" image_content = _tmp120_; -#line 1758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1774 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp121_ = image_content; -#line 1758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1774 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp121_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START); -#line 1759 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1775 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp122_ = image_content; -#line 1759 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1775 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_set_homogeneous (_tmp122_, TRUE); -#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp124_ = preview; -#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp124_ != NULL) { -#line 14557 "Dialogs.c" +#line 14685 "Dialogs.c" GdkPixbuf* _tmp125_ = NULL; GtkImage* _tmp126_ = NULL; -#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp125_ = preview; -#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp126_ = (GtkImage*) gtk_image_new_from_pixbuf (_tmp125_); -#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp126_); -#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp123_); -#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp123_ = _tmp126_; -#line 14570 "Dialogs.c" +#line 14698 "Dialogs.c" } else { GtkImage* _tmp127_ = NULL; -#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp127_ = (GtkImage*) gtk_image_new (); -#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp127_); -#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp123_); -#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp123_ = _tmp127_; -#line 14581 "Dialogs.c" +#line 14709 "Dialogs.c" } -#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp128_ = _g_object_ref0 (_tmp123_); -#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala" image = _tmp128_; -#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp129_ = (GtkLabel*) gtk_label_new (NULL); -#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp129_); -#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->original_time_label); -#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->original_time_label = _tmp129_; -#line 1762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp130_ = image_content; -#line 1762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp131_ = image; -#line 1762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1778 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp130_, G_TYPE_CHECK_INSTANCE_CAST (_tmp131_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0); -#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1779 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp132_ = image_content; -#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1779 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp133_ = self->priv->original_time_label; -#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1779 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp132_, G_TYPE_CHECK_INSTANCE_CAST (_tmp133_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0); -#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1781 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp134_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10); -#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1781 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp134_); -#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1781 "/home/jens/Source/shotwell/src/Dialogs.vala" hbox = _tmp134_; -#line 1766 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1782 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp135_ = hbox; -#line 1766 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1782 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp135_, gtk_container_get_type (), GtkContainer), (guint) 3); -#line 1767 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1783 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp136_ = hbox; -#line 1767 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1783 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp137_ = image_content; -#line 1767 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1783 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp136_, G_TYPE_CHECK_INSTANCE_CAST (_tmp137_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0); -#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1784 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp138_ = hbox; -#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1784 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp139_ = time_content; -#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1784 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp138_, G_TYPE_CHECK_INSTANCE_CAST (_tmp139_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0); -#line 1770 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1786 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp140_ = (GtkAlignment*) gtk_alignment_new (0.5f, 0.5f, (gfloat) 0, (gfloat) 0); -#line 1770 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1786 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp140_); -#line 1770 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1786 "/home/jens/Source/shotwell/src/Dialogs.vala" hbox_alignment = _tmp140_; -#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1787 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp141_ = hbox_alignment; -#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1787 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp142_ = hbox; -#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1787 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp141_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp142_, gtk_widget_get_type (), GtkWidget)); -#line 1773 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1789 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp143_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); -#line 1773 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1789 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp144_ = hbox_alignment; -#line 1773 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1789 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp143_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp144_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0); -#line 1775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp145_ = (GtkLabel*) gtk_label_new (""); -#line 1775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp145_); -#line 1775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->notification); -#line 1775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->notification = _tmp145_; -#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1792 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp146_ = self->priv->notification; -#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1792 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_line_wrap (_tmp146_, TRUE); -#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1793 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp147_ = self->priv->notification; -#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1793 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_justify (_tmp147_, GTK_JUSTIFY_CENTER); -#line 1779 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp148_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); -#line 1779 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp149_ = self->priv->notification; -#line 1779 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp148_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp149_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0); -#line 1781 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1797 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp150_ = source; -#line 1781 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1797 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp151_ = dateable_get_exposure_time (_tmp150_); -#line 1781 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1797 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->original_time = _tmp151_; -#line 1783 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1799 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp152_ = self->priv->original_time; -#line 1783 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1799 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp152_ == ((time_t) 0)) { -#line 14679 "Dialogs.c" +#line 14807 "Dialogs.c" time_t _tmp153_ = 0; -#line 1784 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp153_ = time (NULL); -#line 1784 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->original_time = _tmp153_; -#line 1785 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1801 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->no_original_time = TRUE; -#line 14687 "Dialogs.c" +#line 14815 "Dialogs.c" } -#line 1788 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp154_ = self->priv->original_time; -#line 1788 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala" g_time_local (_tmp154_, &_tmp155_); -#line 1788 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala" adjust_date_time_dialog_set_time (self, &_tmp155_); -#line 1789 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1805 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp156_ = config_facade_get_instance (); -#line 1789 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1805 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp157_ = _tmp156_; -#line 1789 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1805 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp158_ = configuration_facade_get_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp157_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 1789 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1805 "/home/jens/Source/shotwell/src/Dialogs.vala" adjust_date_time_dialog_set_original_time_label (self, _tmp158_); -#line 1789 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1805 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp157_); -#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (hbox_alignment); -#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (hbox); -#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (image); -#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp123_); -#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (image_content); -#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (preview); -#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (time_content); -#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (clock); -#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 14723 "Dialogs.c" +#line 14851 "Dialogs.c" } AdjustDateTimeDialog* adjust_date_time_dialog_new (Dateable* source, gint photo_count, gboolean display_options, gboolean contains_video, gboolean only_video) { -#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala" return adjust_date_time_dialog_construct (TYPE_ADJUST_DATE_TIME_DIALOG, source, photo_count, display_options, contains_video, only_video); -#line 14730 "Dialogs.c" +#line 14858 "Dialogs.c" } @@ -14766,60 +14894,60 @@ static void adjust_date_time_dialog_set_time (AdjustDateTimeDialog* self, struct gint _tmp31_ = 0; GtkComboBoxText* _tmp32_ = NULL; gint _tmp33_ = 0; -#line 1792 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self)); -#line 1792 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (time != NULL); -#line 1793 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1809 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->calendar; -#line 1793 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1809 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = *time; -#line 1793 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1809 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _tmp1_.tm_mon; -#line 1793 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1809 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = *time; -#line 1793 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1809 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp3_.tm_year; -#line 1793 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1809 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_calendar_select_month (_tmp0_, (guint) _tmp2_, (guint) (_tmp4_ + ADJUST_DATE_TIME_DIALOG_YEAR_OFFSET)); -#line 1794 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1810 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = self->priv->calendar; -#line 1794 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1810 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = *time; -#line 1794 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1810 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _tmp6_.tm_mday; -#line 1794 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1810 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_calendar_select_day (_tmp5_, (guint) _tmp7_); -#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1812 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = config_facade_get_instance (); -#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1812 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _tmp8_; -#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1812 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = configuration_facade_get_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1812 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = _tmp10_; -#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1812 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp9_); -#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1812 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp11_) { -#line 14791 "Dialogs.c" +#line 14919 "Dialogs.c" GtkComboBoxText* _tmp12_ = NULL; GtkSpinButton* _tmp13_ = NULL; struct tm _tmp14_ = {0}; gint _tmp15_ = 0; -#line 1797 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1813 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = self->priv->system; -#line 1797 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1813 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_combo_box_get_type (), GtkComboBox), (gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR); -#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1814 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = self->priv->hour; -#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1814 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = *time; -#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1814 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = _tmp14_.tm_hour; -#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1814 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_spin_button_set_value (_tmp13_, (gdouble) _tmp15_); -#line 14808 "Dialogs.c" +#line 14936 "Dialogs.c" } else { gint AMPM_hour = 0; struct tm _tmp16_ = {0}; @@ -14831,74 +14959,74 @@ static void adjust_date_time_dialog_set_time (AdjustDateTimeDialog* self, struct struct tm _tmp23_ = {0}; gint _tmp24_ = 0; GtkComboBoxText* _tmp25_ = NULL; -#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1816 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = *time; -#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1816 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = _tmp16_.tm_hour; -#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1816 "/home/jens/Source/shotwell/src/Dialogs.vala" AMPM_hour = _tmp17_ % 12; -#line 1801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = AMPM_hour; -#line 1801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp19_ == 0) { -#line 1801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = 12; -#line 14832 "Dialogs.c" +#line 14960 "Dialogs.c" } else { gint _tmp20_ = 0; -#line 1801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = AMPM_hour; -#line 1801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = _tmp20_; -#line 14839 "Dialogs.c" +#line 14967 "Dialogs.c" } -#line 1801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = self->priv->hour; -#line 1801 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_spin_button_set_value (_tmp21_, (gdouble) _tmp18_); -#line 1802 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = *time; -#line 1802 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = _tmp23_.tm_hour; -#line 1802 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp24_ >= 12) { -#line 1802 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM; -#line 14853 "Dialogs.c" +#line 14981 "Dialogs.c" } else { -#line 1802 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_AM; -#line 14857 "Dialogs.c" +#line 14985 "Dialogs.c" } -#line 1802 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = self->priv->system; -#line 1802 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_combo_box_get_type (), GtkComboBox), (gint) _tmp22_); -#line 14863 "Dialogs.c" +#line 14991 "Dialogs.c" } -#line 1805 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1821 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = self->priv->minute; -#line 1805 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1821 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = *time; -#line 1805 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1821 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = _tmp27_.tm_min; -#line 1805 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1821 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_spin_button_set_value (_tmp26_, (gdouble) _tmp28_); -#line 1806 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1822 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = self->priv->second; -#line 1806 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1822 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = *time; -#line 1806 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1822 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = _tmp30_.tm_sec; -#line 1806 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1822 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_spin_button_set_value (_tmp29_, (gdouble) _tmp31_); -#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1824 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = self->priv->system; -#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1824 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_combo_box_get_type (), GtkComboBox)); -#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1824 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->previous_time_system = (AdjustDateTimeDialogTimeSystem) _tmp33_; -#line 14887 "Dialogs.c" +#line 15015 "Dialogs.c" } @@ -14944,7 +15072,7 @@ static gchar* g_time_format (struct tm *self, const gchar* format) { buffer = (g_free (buffer), NULL); #line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 14933 "Dialogs.c" +#line 15061 "Dialogs.c" } @@ -14960,58 +15088,58 @@ static void adjust_date_time_dialog_set_original_time_label (AdjustDateTimeDialo gchar* _tmp10_ = NULL; gchar* _tmp11_ = NULL; gchar* _tmp12_ = NULL; -#line 1811 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1827 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self)); -#line 1812 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->no_original_time; -#line 1812 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_) { -#line 1813 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala" return; -#line 14957 "Dialogs.c" +#line 15085 "Dialogs.c" } -#line 1816 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1832 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = use_24_hr_format; -#line 1816 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1832 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp2_) { -#line 14963 "Dialogs.c" +#line 15091 "Dialogs.c" const gchar* _tmp3_ = NULL; -#line 1816 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1832 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _ ("%m/%d/%Y, %H:%M:%S"); -#line 1816 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1832 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _tmp3_; -#line 14969 "Dialogs.c" +#line 15097 "Dialogs.c" } else { const gchar* _tmp4_ = NULL; -#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1833 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _ ("%m/%d/%Y, %I:%M:%S %p"); -#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1833 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _tmp4_; -#line 14976 "Dialogs.c" +#line 15104 "Dialogs.c" } -#line 1815 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = self->priv->original_time_label; -#line 1815 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _ ("Original: "); -#line 1815 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = self->priv->original_time; -#line 1815 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala" g_time_local (_tmp7_, &_tmp8_); -#line 1815 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = g_time_format (&_tmp8_, _tmp1_); -#line 1815 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp9_; -#line 1815 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = g_strconcat (_tmp6_, _tmp10_, NULL); -#line 1815 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = _tmp11_; -#line 1815 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_text (_tmp5_, _tmp12_); -#line 1815 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp12_); -#line 1815 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp10_); -#line 15000 "Dialogs.c" +#line 15128 "Dialogs.c" } @@ -15040,105 +15168,105 @@ static time_t adjust_date_time_dialog_get_time (AdjustDateTimeDialog* self) { guint _tmp18_ = 0U; guint _tmp19_ = 0U; time_t _tmp20_ = 0; -#line 1820 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1836 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self), 0); -#line 1821 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1837 "/home/jens/Source/shotwell/src/Dialogs.vala" memset (&time, 0, sizeof (struct tm)); -#line 1823 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1839 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->second; -#line 1823 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1839 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gtk_spin_button_get_value (_tmp0_); -#line 1823 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1839 "/home/jens/Source/shotwell/src/Dialogs.vala" time.tm_sec = (gint) _tmp1_; -#line 1824 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1840 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = self->priv->minute; -#line 1824 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1840 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gtk_spin_button_get_value (_tmp2_); -#line 1824 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1840 "/home/jens/Source/shotwell/src/Dialogs.vala" time.tm_min = (gint) _tmp3_; -#line 1827 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1843 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = self->priv->hour; -#line 1827 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1843 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = gtk_spin_button_get_value (_tmp4_); -#line 1827 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1843 "/home/jens/Source/shotwell/src/Dialogs.vala" hour = (gint) _tmp5_; -#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = hour; -#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp8_ == 12) { -#line 15055 "Dialogs.c" +#line 15183 "Dialogs.c" GtkComboBoxText* _tmp9_ = NULL; gint _tmp10_ = 0; -#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = self->priv->system; -#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_combo_box_get_type (), GtkComboBox)); -#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _tmp10_ != ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR); -#line 15064 "Dialogs.c" +#line 15192 "Dialogs.c" } else { -#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = FALSE; -#line 15068 "Dialogs.c" +#line 15196 "Dialogs.c" } -#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp7_) { -#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = 0; -#line 15074 "Dialogs.c" +#line 15202 "Dialogs.c" } else { gint _tmp11_ = 0; -#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = hour; -#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _tmp11_; -#line 15081 "Dialogs.c" +#line 15209 "Dialogs.c" } -#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala" time.tm_hour = _tmp6_; -#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1845 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = self->priv->system; -#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1845 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_combo_box_get_type (), GtkComboBox)); -#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1845 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp14_ == ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM)) { -#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1845 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = 12; -#line 15093 "Dialogs.c" +#line 15221 "Dialogs.c" } else { -#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1845 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = 0; -#line 15097 "Dialogs.c" +#line 15225 "Dialogs.c" } -#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1845 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = time.tm_hour; -#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1845 "/home/jens/Source/shotwell/src/Dialogs.vala" time.tm_hour = _tmp15_ + _tmp12_; -#line 1832 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1848 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = self->priv->calendar; -#line 1832 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1848 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_calendar_get_date (_tmp16_, &_tmp17_, &_tmp18_, &_tmp19_); -#line 1832 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1848 "/home/jens/Source/shotwell/src/Dialogs.vala" year = _tmp17_; -#line 1832 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1848 "/home/jens/Source/shotwell/src/Dialogs.vala" month = _tmp18_; -#line 1832 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1848 "/home/jens/Source/shotwell/src/Dialogs.vala" day = _tmp19_; -#line 1833 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1849 "/home/jens/Source/shotwell/src/Dialogs.vala" time.tm_year = ((gint) year) - ADJUST_DATE_TIME_DIALOG_YEAR_OFFSET; -#line 1834 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1850 "/home/jens/Source/shotwell/src/Dialogs.vala" time.tm_mon = (gint) month; -#line 1835 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1851 "/home/jens/Source/shotwell/src/Dialogs.vala" time.tm_mday = (gint) day; -#line 1837 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1853 "/home/jens/Source/shotwell/src/Dialogs.vala" time.tm_isdst = -1; -#line 1839 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1855 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = mktime (&time); -#line 1839 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1855 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp20_; -#line 1839 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1855 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 15127 "Dialogs.c" +#line 15255 "Dialogs.c" } @@ -15149,17 +15277,17 @@ gboolean adjust_date_time_dialog_execute (AdjustDateTimeDialog* self, gint64* ti gboolean result = FALSE; gboolean response = FALSE; gint _tmp0_ = 0; -#line 1842 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1858 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self), FALSE); -#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1860 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 1846 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1862 "/home/jens/Source/shotwell/src/Dialogs.vala" response = FALSE; -#line 1848 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); -#line 1848 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) { -#line 15148 "Dialogs.c" +#line 15276 "Dialogs.c" gboolean _tmp1_ = FALSE; GtkRadioButton* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; @@ -15171,125 +15299,125 @@ gboolean adjust_date_time_dialog_execute (AdjustDateTimeDialog* self, gint64* ti GtkCheckButton* _tmp15_ = NULL; gboolean _tmp16_ = FALSE; gboolean _tmp17_ = FALSE; -#line 1849 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1865 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->no_original_time; -#line 1849 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1865 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp1_) { -#line 15164 "Dialogs.c" +#line 15292 "Dialogs.c" time_t _tmp2_ = 0; -#line 1850 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1866 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = adjust_date_time_dialog_get_time (self); -#line 1850 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1866 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_time_shift = (gint64) _tmp2_; -#line 15170 "Dialogs.c" +#line 15298 "Dialogs.c" } else { time_t _tmp3_ = 0; time_t _tmp4_ = 0; -#line 1852 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1868 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = adjust_date_time_dialog_get_time (self); -#line 1852 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1868 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = self->priv->original_time; -#line 1852 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1868 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_time_shift = (gint64) (_tmp3_ - _tmp4_); -#line 15180 "Dialogs.c" +#line 15308 "Dialogs.c" } -#line 1854 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1870 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = self->priv->relativity_radio_button; -#line 1854 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1870 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1854 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1870 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_keep_relativity = _tmp6_; -#line 1856 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1872 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = self->priv->relativity_radio_button; -#line 1856 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1872 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget)); -#line 1856 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1872 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _tmp8_; -#line 1856 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1872 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp9_) { -#line 15196 "Dialogs.c" +#line 15324 "Dialogs.c" ConfigFacade* _tmp10_ = NULL; ConfigFacade* _tmp11_ = NULL; gboolean _tmp12_ = FALSE; -#line 1857 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = config_facade_get_instance (); -#line 1857 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = _tmp10_; -#line 1857 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = _vala_keep_relativity; -#line 1857 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala" configuration_facade_set_keep_relativity (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp12_); -#line 1857 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp11_); -#line 15210 "Dialogs.c" +#line 15338 "Dialogs.c" } -#line 1859 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = self->priv->modify_originals_check_button; -#line 1859 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1859 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_modify_originals = _tmp14_; -#line 1861 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1877 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = self->priv->modify_originals_check_button; -#line 1861 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1877 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget)); -#line 1861 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1877 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = _tmp16_; -#line 1861 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1877 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp17_) { -#line 15226 "Dialogs.c" +#line 15354 "Dialogs.c" ConfigFacade* _tmp18_ = NULL; ConfigFacade* _tmp19_ = NULL; gboolean _tmp20_ = FALSE; -#line 1862 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1878 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = config_facade_get_instance (); -#line 1862 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1878 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = _tmp18_; -#line 1862 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1878 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = _vala_modify_originals; -#line 1862 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1878 "/home/jens/Source/shotwell/src/Dialogs.vala" configuration_facade_set_modify_originals (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp20_); -#line 1862 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1878 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp19_); -#line 15240 "Dialogs.c" +#line 15368 "Dialogs.c" } -#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1880 "/home/jens/Source/shotwell/src/Dialogs.vala" response = TRUE; -#line 15244 "Dialogs.c" +#line 15372 "Dialogs.c" } else { -#line 1866 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1882 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_time_shift = (gint64) 0; -#line 1867 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1883 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_keep_relativity = TRUE; -#line 1868 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1884 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_modify_originals = FALSE; -#line 15252 "Dialogs.c" +#line 15380 "Dialogs.c" } -#line 1871 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1887 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" result = response; -#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" if (time_shift) { -#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" *time_shift = _vala_time_shift; -#line 15262 "Dialogs.c" +#line 15390 "Dialogs.c" } -#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" if (keep_relativity) { -#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" *keep_relativity = _vala_keep_relativity; -#line 15268 "Dialogs.c" +#line 15396 "Dialogs.c" } -#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" if (modify_originals) { -#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" *modify_originals = _vala_modify_originals; -#line 15274 "Dialogs.c" +#line 15402 "Dialogs.c" } -#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 15278 "Dialogs.c" +#line 15406 "Dialogs.c" } @@ -15300,31 +15428,31 @@ static gboolean adjust_date_time_dialog_on_spin_button_output (AdjustDateTimeDia gdouble _tmp2_ = 0.0; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; -#line 1876 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1892 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self), FALSE); -#line 1876 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1892 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GTK_IS_SPIN_BUTTON (button), FALSE); -#line 1877 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1893 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = button; -#line 1877 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1893 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = button; -#line 1877 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1893 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_spin_button_get_value (_tmp1_); -#line 1877 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1893 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = g_strdup_printf ("%02d", (gint) _tmp2_); -#line 1877 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1893 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp3_; -#line 1877 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1893 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_set_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_entry_get_type (), GtkEntry), _tmp4_); -#line 1877 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1893 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp4_); -#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1895 "/home/jens/Source/shotwell/src/Dialogs.vala" adjust_date_time_dialog_on_time_changed (self); -#line 1881 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1897 "/home/jens/Source/shotwell/src/Dialogs.vala" result = TRUE; -#line 1881 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1897 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 15313 "Dialogs.c" +#line 15441 "Dialogs.c" } @@ -15337,81 +15465,81 @@ static void adjust_date_time_dialog_on_time_changed (AdjustDateTimeDialog* self) gboolean _tmp4_ = FALSE; gboolean _tmp5_ = FALSE; gint64 _tmp6_ = 0LL; -#line 1884 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1900 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self)); -#line 1885 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = adjust_date_time_dialog_get_time (self); -#line 1885 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->original_time; -#line 1885 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala" time_shift = ((gint64) _tmp0_) - ((gint64) _tmp1_); -#line 1887 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1903 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = self->priv->system; -#line 1887 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1903 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox)); -#line 1887 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1903 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->previous_time_system = (AdjustDateTimeDialogTimeSystem) _tmp3_; -#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = time_shift; -#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp6_ == ((gint64) 0)) { -#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = TRUE; -#line 15346 "Dialogs.c" +#line 15474 "Dialogs.c" } else { gboolean _tmp7_ = FALSE; -#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = self->priv->no_original_time; -#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp7_; -#line 15353 "Dialogs.c" +#line 15481 "Dialogs.c" } -#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp5_) { -#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = TRUE; -#line 15359 "Dialogs.c" +#line 15487 "Dialogs.c" } else { gboolean _tmp8_ = FALSE; GtkRadioButton* _tmp9_ = NULL; gboolean _tmp10_ = FALSE; -#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = self->priv->batch_radio_button; -#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp10_) { -#line 15370 "Dialogs.c" +#line 15498 "Dialogs.c" GtkRadioButton* _tmp11_ = NULL; gboolean _tmp12_ = FALSE; gboolean _tmp13_ = FALSE; -#line 1890 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1906 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = self->priv->batch_radio_button; -#line 1890 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1906 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget)); -#line 1890 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1906 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = _tmp12_; -#line 1890 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1906 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _tmp13_; -#line 15382 "Dialogs.c" +#line 15510 "Dialogs.c" } else { -#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = FALSE; -#line 15386 "Dialogs.c" +#line 15514 "Dialogs.c" } -#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp8_; -#line 15390 "Dialogs.c" +#line 15518 "Dialogs.c" } -#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp4_) { -#line 15394 "Dialogs.c" +#line 15522 "Dialogs.c" GtkLabel* _tmp14_ = NULL; -#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1907 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = self->priv->notification; -#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1907 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_widget_get_type (), GtkWidget)); -#line 15400 "Dialogs.c" +#line 15528 "Dialogs.c" } else { gboolean forward = FALSE; gint64 _tmp15_ = 0LL; @@ -15448,108 +15576,108 @@ static void adjust_date_time_dialog_on_time_changed (AdjustDateTimeDialog* self) gchar* _tmp43_ = NULL; gchar* _tmp44_ = NULL; GtkLabel* _tmp45_ = NULL; -#line 1893 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = time_shift; -#line 1893 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" forward = _tmp15_ > ((gint64) 0); -#line 1896 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1912 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = time_shift; -#line 1896 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1912 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = llabs (_tmp16_); -#line 1896 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1912 "/home/jens/Source/shotwell/src/Dialogs.vala" time_shift = _tmp17_; -#line 1898 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1914 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = time_shift; -#line 1898 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1914 "/home/jens/Source/shotwell/src/Dialogs.vala" days = (gint) (_tmp18_ / ADJUST_DATE_TIME_DIALOG_SECONDS_IN_DAY); -#line 1899 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1915 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = time_shift; -#line 1899 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1915 "/home/jens/Source/shotwell/src/Dialogs.vala" time_shift = _tmp19_ % ADJUST_DATE_TIME_DIALOG_SECONDS_IN_DAY; -#line 1900 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1916 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = time_shift; -#line 1900 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1916 "/home/jens/Source/shotwell/src/Dialogs.vala" hours = (gint) (_tmp20_ / ADJUST_DATE_TIME_DIALOG_SECONDS_IN_HOUR); -#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1917 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = time_shift; -#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1917 "/home/jens/Source/shotwell/src/Dialogs.vala" time_shift = _tmp21_ % ADJUST_DATE_TIME_DIALOG_SECONDS_IN_HOUR; -#line 1902 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1918 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = time_shift; -#line 1902 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1918 "/home/jens/Source/shotwell/src/Dialogs.vala" minutes = (gint) (_tmp22_ / ADJUST_DATE_TIME_DIALOG_SECONDS_IN_MINUTE); -#line 1903 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1919 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = time_shift; -#line 1903 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1919 "/home/jens/Source/shotwell/src/Dialogs.vala" seconds = (gint) (_tmp23_ % ADJUST_DATE_TIME_DIALOG_SECONDS_IN_MINUTE); -#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = forward; -#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp25_) { -#line 15475 "Dialogs.c" +#line 15603 "Dialogs.c" const gchar* _tmp26_ = NULL; -#line 1906 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1922 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = _ ("Exposure time will be shifted forward by\n" \ "%d %s, %d %s, %d %s, and %d %s."); -#line 1906 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1922 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = _tmp26_; -#line 15481 "Dialogs.c" +#line 15609 "Dialogs.c" } else { const gchar* _tmp27_ = NULL; -#line 1907 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1923 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = _ ("Exposure time will be shifted backward by\n" \ "%d %s, %d %s, %d %s, and %d %s."); -#line 1907 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1923 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = _tmp27_; -#line 15488 "Dialogs.c" +#line 15616 "Dialogs.c" } -#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = g_strdup (_tmp24_); -#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala" shift_status = _tmp28_; -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = self->priv->notification; -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = shift_status; -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = days; -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = days; -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = ngettext ("day", "days", (gulong) _tmp32_); -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp34_ = hours; -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp35_ = hours; -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp36_ = ngettext ("hour", "hours", (gulong) _tmp35_); -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp37_ = minutes; -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp38_ = minutes; -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp39_ = ngettext ("minute", "minutes", (gulong) _tmp38_); -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp40_ = seconds; -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp41_ = seconds; -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp42_ = ngettext ("second", "seconds", (gulong) _tmp41_); -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp43_ = g_strdup_printf (_tmp30_, _tmp31_, _tmp33_, _tmp34_, _tmp36_, _tmp37_, _tmp39_, _tmp40_, _tmp42_); -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp44_ = _tmp43_; -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_text (_tmp29_, _tmp44_); -#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp44_); -#line 1914 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1930 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp45_ = self->priv->notification; -#line 1914 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1930 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_widget_get_type (), GtkWidget)); -#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (shift_status); -#line 15536 "Dialogs.c" +#line 15664 "Dialogs.c" } } @@ -15564,39 +15692,39 @@ static void adjust_date_time_dialog_on_time_system_changed (AdjustDateTimeDialog gint _tmp6_ = 0; GtkComboBoxText* _tmp7_ = NULL; gint _tmp8_ = 0; -#line 1918 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1934 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self)); -#line 1919 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1935 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->previous_time_system; -#line 1919 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1935 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->system; -#line 1919 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1935 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox)); -#line 1919 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1935 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_ == _tmp2_) { -#line 1920 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1936 "/home/jens/Source/shotwell/src/Dialogs.vala" return; -#line 15563 "Dialogs.c" +#line 15691 "Dialogs.c" } -#line 1922 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = config_facade_get_instance (); -#line 1922 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp3_; -#line 1922 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = self->priv->system; -#line 1922 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_combo_box_get_type (), GtkComboBox)); -#line 1922 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala" configuration_facade_set_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp6_ == ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR)); -#line 1922 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp4_); -#line 1924 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = self->priv->system; -#line 1924 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_combo_box_get_type (), GtkComboBox)); -#line 1924 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp8_ == ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR)) { -#line 15583 "Dialogs.c" +#line 15711 "Dialogs.c" gint _tmp9_ = 0; GtkSpinButton* _tmp10_ = NULL; gdouble _tmp11_ = 0.0; @@ -15607,57 +15735,57 @@ static void adjust_date_time_dialog_on_time_system_changed (AdjustDateTimeDialog GtkSpinButton* _tmp17_ = NULL; GtkSpinButton* _tmp18_ = NULL; gint _tmp19_ = 0; -#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1941 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = self->priv->hour; -#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1941 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = gtk_spin_button_get_value (_tmp10_); -#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1941 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp11_ == 12.0) { -#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1941 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = 0; -#line 15602 "Dialogs.c" +#line 15730 "Dialogs.c" } else { GtkSpinButton* _tmp12_ = NULL; gdouble _tmp13_ = 0.0; -#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1941 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = self->priv->hour; -#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1941 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = gtk_spin_button_get_value (_tmp12_); -#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1941 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = (gint) _tmp13_; -#line 15612 "Dialogs.c" +#line 15740 "Dialogs.c" } -#line 1925 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1941 "/home/jens/Source/shotwell/src/Dialogs.vala" time = _tmp9_; -#line 1926 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1942 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = self->priv->previous_time_system; -#line 1926 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1942 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp15_ == ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM) { -#line 1926 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1942 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = 12; -#line 15622 "Dialogs.c" +#line 15750 "Dialogs.c" } else { -#line 1926 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1942 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = 0; -#line 15626 "Dialogs.c" +#line 15754 "Dialogs.c" } -#line 1926 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1942 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = time; -#line 1926 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1942 "/home/jens/Source/shotwell/src/Dialogs.vala" time = _tmp16_ + _tmp14_; -#line 1928 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1944 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = self->priv->hour; -#line 1928 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1944 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_spin_button_set_range (_tmp17_, (gdouble) 0, (gdouble) 23); -#line 1929 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1945 "/home/jens/Source/shotwell/src/Dialogs.vala" adjust_date_time_dialog_set_original_time_label (self, TRUE); -#line 1931 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1947 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = self->priv->hour; -#line 1931 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1947 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = time; -#line 1931 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1947 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_spin_button_set_value (_tmp18_, (gdouble) _tmp19_); -#line 15644 "Dialogs.c" +#line 15772 "Dialogs.c" } else { gint AMPM_hour = 0; GtkSpinButton* _tmp20_ = NULL; @@ -15666,92 +15794,92 @@ static void adjust_date_time_dialog_on_time_system_changed (AdjustDateTimeDialog gint _tmp23_ = 0; gint _tmp24_ = 0; GtkSpinButton* _tmp26_ = NULL; -#line 1933 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1949 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = self->priv->hour; -#line 1933 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1949 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = gtk_spin_button_get_value (_tmp20_); -#line 1933 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1949 "/home/jens/Source/shotwell/src/Dialogs.vala" AMPM_hour = ((gint) _tmp21_) % 12; -#line 1935 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = self->priv->hour; -#line 1935 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_spin_button_set_range (_tmp22_, (gdouble) 1, (gdouble) 12); -#line 1936 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" adjust_date_time_dialog_set_original_time_label (self, FALSE); -#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = AMPM_hour; -#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp24_ == 0) { -#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = 12; -#line 15671 "Dialogs.c" +#line 15799 "Dialogs.c" } else { gint _tmp25_ = 0; -#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = AMPM_hour; -#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = _tmp25_; -#line 15678 "Dialogs.c" +#line 15806 "Dialogs.c" } -#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = self->priv->hour; -#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_spin_button_set_value (_tmp26_, (gdouble) _tmp23_); -#line 15684 "Dialogs.c" +#line 15812 "Dialogs.c" } -#line 1941 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1957 "/home/jens/Source/shotwell/src/Dialogs.vala" adjust_date_time_dialog_on_time_changed (self); -#line 15688 "Dialogs.c" +#line 15816 "Dialogs.c" } static void adjust_date_time_dialog_class_init (AdjustDateTimeDialogClass * klass) { -#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1642 "/home/jens/Source/shotwell/src/Dialogs.vala" adjust_date_time_dialog_parent_class = g_type_class_peek_parent (klass); -#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1642 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_class_add_private (klass, sizeof (AdjustDateTimeDialogPrivate)); -#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1642 "/home/jens/Source/shotwell/src/Dialogs.vala" G_OBJECT_CLASS (klass)->finalize = adjust_date_time_dialog_finalize; -#line 15699 "Dialogs.c" +#line 15827 "Dialogs.c" } static void adjust_date_time_dialog_instance_init (AdjustDateTimeDialog * self) { -#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1642 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv = ADJUST_DATE_TIME_DIALOG_GET_PRIVATE (self); -#line 1631 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1647 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->no_original_time = FALSE; -#line 15708 "Dialogs.c" +#line 15836 "Dialogs.c" } static void adjust_date_time_dialog_finalize (GObject* obj) { AdjustDateTimeDialog * self; -#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1642 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_ADJUST_DATE_TIME_DIALOG, AdjustDateTimeDialog); -#line 1636 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1652 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->original_time_label); -#line 1637 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1653 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->calendar); -#line 1638 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1654 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->hour); -#line 1639 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->minute); -#line 1640 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1656 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->second); -#line 1641 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1657 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->system); -#line 1642 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1658 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->relativity_radio_button); -#line 1643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1659 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->batch_radio_button); -#line 1644 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1660 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->modify_originals_check_button); -#line 1645 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->notification); -#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1642 "/home/jens/Source/shotwell/src/Dialogs.vala" G_OBJECT_CLASS (adjust_date_time_dialog_parent_class)->finalize (obj); -#line 15738 "Dialogs.c" +#line 15866 "Dialogs.c" } @@ -15783,31 +15911,31 @@ void multiple_object_error_dialog (GeeArrayList* objects, const gchar* message, GtkMessageDialog* _tmp34_ = NULL; GtkMessageDialog* _tmp35_ = NULL; const gchar* _tmp36_ = NULL; -#line 1946 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (GEE_IS_ARRAY_LIST (objects)); -#line 1946 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (message != NULL); -#line 1946 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (title != NULL); -#line 1948 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = message; -#line 1948 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = g_strconcat (_tmp0_, "\n", NULL); -#line 1948 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog_message = _tmp1_; -#line 15782 "Dialogs.c" +#line 15910 "Dialogs.c" { gint i = 0; -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" i = 0; -#line 15787 "Dialogs.c" +#line 15915 "Dialogs.c" { gboolean _tmp2_ = FALSE; -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = TRUE; -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 15794 "Dialogs.c" +#line 15922 "Dialogs.c" gboolean _tmp4_ = FALSE; gint _tmp5_ = 0; const gchar* _tmp10_ = NULL; @@ -15820,96 +15948,96 @@ void multiple_object_error_dialog (GeeArrayList* objects, const gchar* message, gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; gchar* _tmp19_ = NULL; -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp2_) { -#line 15809 "Dialogs.c" +#line 15937 "Dialogs.c" gint _tmp3_ = 0; -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = i; -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" i = _tmp3_ + 1; -#line 15815 "Dialogs.c" +#line 15943 "Dialogs.c" } -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = FALSE; -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = i; -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp5_ < MAX_OBJECTS_DISPLAYED) { -#line 15823 "Dialogs.c" +#line 15951 "Dialogs.c" GeeArrayList* _tmp6_ = NULL; gint _tmp7_ = 0; gint _tmp8_ = 0; gint _tmp9_ = 0; -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = objects; -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _tmp7_; -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = i; -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp8_ > _tmp9_; -#line 15838 "Dialogs.c" +#line 15966 "Dialogs.c" } else { -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = FALSE; -#line 15842 "Dialogs.c" +#line 15970 "Dialogs.c" } -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp4_) { -#line 1951 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 15848 "Dialogs.c" +#line 15976 "Dialogs.c" } -#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = dialog_message; -#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = objects; -#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = i; -#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp12_); -#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = (DataObject*) _tmp13_; -#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = data_object_to_string (_tmp14_); -#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = _tmp15_; -#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = g_strconcat ("\n", _tmp16_, NULL); -#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = _tmp17_; -#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = g_strconcat (_tmp10_, _tmp18_, NULL); -#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (dialog_message); -#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog_message = _tmp19_; -#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp18_); -#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp16_); -#line 1952 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp14_); -#line 15880 "Dialogs.c" +#line 16008 "Dialogs.c" } } } -#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1970 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = objects; -#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1970 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1970 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = _tmp21_; -#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1970 "/home/jens/Source/shotwell/src/Dialogs.vala" remainder = _tmp22_ - MAX_OBJECTS_DISPLAYED; -#line 1955 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1971 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = remainder; -#line 1955 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1971 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp23_ > 0) { -#line 15896 "Dialogs.c" +#line 16024 "Dialogs.c" const gchar* _tmp24_ = NULL; gint _tmp25_ = 0; const gchar* _tmp26_ = NULL; @@ -15917,57 +16045,57 @@ void multiple_object_error_dialog (GeeArrayList* objects, const gchar* message, gchar* _tmp28_ = NULL; gchar* _tmp29_ = NULL; gchar* _tmp30_ = NULL; -#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = dialog_message; -#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = remainder; -#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = ngettext ("\n\nAnd %d other.", "\n\nAnd %d others.", (gulong) _tmp25_); -#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = remainder; -#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = g_strdup_printf (_tmp26_, _tmp27_); -#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = _tmp28_; -#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = g_strconcat (_tmp24_, _tmp29_, NULL); -#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (dialog_message); -#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog_message = _tmp30_; -#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp29_); -#line 15924 "Dialogs.c" +#line 16052 "Dialogs.c" } -#line 1960 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1976 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = app_window_get_instance (); -#line 1960 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1976 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = _tmp31_; -#line 1960 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1976 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = dialog_message; -#line 1960 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1976 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp34_ = (GtkMessageDialog*) gtk_message_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_window_get_type (), GtkWindow), GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "%s", _tmp33_); -#line 1960 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1976 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp34_); -#line 1960 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1976 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp35_ = _tmp34_; -#line 1960 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1976 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp32_); -#line 1960 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1976 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog = _tmp35_; -#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1979 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp36_ = title; -#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1979 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_window_get_type (), GtkWindow), _tmp36_); -#line 1965 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1981 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog)); -#line 1966 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1982 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget)); -#line 1946 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (dialog); -#line 1946 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (dialog_message); -#line 15954 "Dialogs.c" +#line 16082 "Dialogs.c" } @@ -15980,40 +16108,40 @@ TagsDialog* tags_dialog_construct (GType object_type, const gchar* title, const HierarchicalTagIndex* _tmp4_ = NULL; GeeCollection* _tmp5_ = NULL; GeeCollection* _tmp6_ = NULL; -#line 1970 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1986 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (title != NULL, NULL); -#line 1970 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1986 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (label != NULL, NULL); -#line 1971 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1987 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = title; -#line 1971 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1987 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = label; -#line 1971 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1987 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = initial_text; -#line 1971 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1987 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = hierarchical_tag_index_get_global_index (); -#line 1971 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1987 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp3_; -#line 1971 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1987 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = hierarchical_tag_index_get_all_tags (_tmp4_); -#line 1971 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1987 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _tmp5_; -#line 1971 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1987 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (TagsDialog*) text_entry_dialog_mediator_construct (object_type, _tmp0_, _tmp1_, _tmp2_, _tmp6_, ","); -#line 1971 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1987 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp6_); -#line 1971 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1987 "/home/jens/Source/shotwell/src/Dialogs.vala" _hierarchical_tag_index_unref0 (_tmp4_); -#line 1970 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1986 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 15993 "Dialogs.c" +#line 16121 "Dialogs.c" } static void tags_dialog_class_init (TagsDialogClass * klass) { -#line 1969 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1985 "/home/jens/Source/shotwell/src/Dialogs.vala" tags_dialog_parent_class = g_type_class_peek_parent (klass); -#line 16000 "Dialogs.c" +#line 16128 "Dialogs.c" } @@ -16039,28 +16167,28 @@ AddTagsDialog* add_tags_dialog_construct (GType object_type) { const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 1978 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1994 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = g_dpgettext2 (NULL, "Dialog Title", RESOURCES_ADD_TAGS_TITLE); -#line 1978 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1994 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1978 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1994 "/home/jens/Source/shotwell/src/Dialogs.vala" title = _tmp1_; -#line 1980 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1996 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _ ("Tags (separated by commas):"); -#line 1980 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1996 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (AddTagsDialog*) tags_dialog_construct (object_type, title, _tmp2_, NULL); -#line 1977 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1993 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (title); -#line 1977 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1993 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 16040 "Dialogs.c" +#line 16168 "Dialogs.c" } AddTagsDialog* add_tags_dialog_new (void) { -#line 1977 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1993 "/home/jens/Source/shotwell/src/Dialogs.vala" return add_tags_dialog_construct (TYPE_ADD_TAGS_DIALOG); -#line 16047 "Dialogs.c" +#line 16175 "Dialogs.c" } @@ -16080,70 +16208,70 @@ gchar** add_tags_dialog_execute (AddTagsDialog* self, int* result_length1) { gint _tmp9__length1 = 0; gchar** _tmp10_ = NULL; gint _tmp10__length1 = 0; -#line 1983 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1999 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_ADD_TAGS_DIALOG (self), NULL); -#line 1984 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2000 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _text_entry_dialog_mediator_execute (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator)); -#line 1984 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2000 "/home/jens/Source/shotwell/src/Dialogs.vala" text = _tmp0_; -#line 1985 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = text; -#line 1985 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp1_ == NULL) { -#line 16077 "Dialogs.c" +#line 16205 "Dialogs.c" gchar** _tmp2_ = NULL; gint _tmp2__length1 = 0; -#line 1986 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = NULL; -#line 1986 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2__length1 = 0; -#line 1986 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala" if (result_length1) { -#line 1986 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala" *result_length1 = _tmp2__length1; -#line 16088 "Dialogs.c" +#line 16216 "Dialogs.c" } -#line 1986 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp2_; -#line 1986 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (text); -#line 1986 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 16096 "Dialogs.c" +#line 16224 "Dialogs.c" } -#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = text; -#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_ = g_strsplit (_tmp3_, ",", 0); -#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _tmp5_; -#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6__length1 = _vala_array_length (_tmp4_); -#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = tag_prep_tag_names (_tmp6_, _vala_array_length (_tmp4_), &_tmp7_); -#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _tmp8_; -#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9__length1 = _tmp7_; -#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL); -#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp9_; -#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10__length1 = _tmp9__length1; -#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" if (result_length1) { -#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" *result_length1 = _tmp10__length1; -#line 16122 "Dialogs.c" +#line 16250 "Dialogs.c" } -#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp10_; -#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (text); -#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 16130 "Dialogs.c" +#line 16258 "Dialogs.c" } @@ -16166,64 +16294,64 @@ static gboolean add_tags_dialog_real_on_modify_validate (TextEntryDialogMediator gint _names_size_ = 0; gchar** _tmp9_ = NULL; gint _tmp9__length1 = 0; -#line 1993 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2009 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_ADD_TAGS_DIALOG, AddTagsDialog); -#line 1993 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2009 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (text != NULL, FALSE); -#line 1994 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2010 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = text; -#line 1994 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2010 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = string_contains (_tmp0_, TAG_PATH_SEPARATOR_STRING); -#line 1994 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2010 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp1_) { -#line 1995 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2011 "/home/jens/Source/shotwell/src/Dialogs.vala" result = FALSE; -#line 1995 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2011 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 16167 "Dialogs.c" +#line 16295 "Dialogs.c" } -#line 1999 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2015 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = text; -#line 1999 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2015 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp3_ = g_strsplit (_tmp2_, ",", 0); -#line 1999 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2015 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_; -#line 1999 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2015 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5__length1 = _vala_array_length (_tmp3_); -#line 1999 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2015 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = tag_prep_tag_names (_tmp5_, _vala_array_length (_tmp3_), &_tmp6_); -#line 1999 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2015 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _tmp7_; -#line 1999 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2015 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8__length1 = _tmp6_; -#line 1999 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2015 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = (_vala_array_free (_tmp5_, _tmp5__length1, (GDestroyNotify) g_free), NULL); -#line 1999 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2015 "/home/jens/Source/shotwell/src/Dialogs.vala" names = _tmp8_; -#line 1999 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2015 "/home/jens/Source/shotwell/src/Dialogs.vala" names_length1 = _tmp8__length1; -#line 1999 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2015 "/home/jens/Source/shotwell/src/Dialogs.vala" _names_size_ = names_length1; -#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2017 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = names; -#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2017 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9__length1 = names_length1; -#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2017 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp9__length1 > 0; -#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2017 "/home/jens/Source/shotwell/src/Dialogs.vala" names = (_vala_array_free (names, names_length1, (GDestroyNotify) g_free), NULL); -#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2017 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 16201 "Dialogs.c" +#line 16329 "Dialogs.c" } static void add_tags_dialog_class_init (AddTagsDialogClass * klass) { -#line 1976 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala" add_tags_dialog_parent_class = g_type_class_peek_parent (klass); -#line 1976 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala" ((TextEntryDialogMediatorClass *) klass)->on_modify_validate = add_tags_dialog_real_on_modify_validate; -#line 16210 "Dialogs.c" +#line 16338 "Dialogs.c" } @@ -16249,30 +16377,30 @@ ModifyTagsDialog* modify_tags_dialog_construct (GType object_type, MediaSource* MediaSource* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_MEDIA_SOURCE (source), NULL); -#line 2007 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _ ("Tags (separated by commas):"); -#line 2007 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = source; -#line 2007 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = modify_tags_dialog_get_initial_text (_tmp1_); -#line 2007 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp2_; -#line 2007 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (ModifyTagsDialog*) tags_dialog_construct (object_type, RESOURCES_MODIFY_TAGS_LABEL, _tmp0_, _tmp3_); -#line 2007 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp3_); -#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 16252 "Dialogs.c" +#line 16380 "Dialogs.c" } ModifyTagsDialog* modify_tags_dialog_new (MediaSource* source) { -#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala" return modify_tags_dialog_construct (TYPE_MODIFY_TAGS_DIALOG, source); -#line 16259 "Dialogs.c" +#line 16387 "Dialogs.c" } @@ -16289,52 +16417,52 @@ static gchar* modify_tags_dialog_get_initial_text (MediaSource* source) { GeeSortedSet* tag_basenames = NULL; GeeTreeSet* _tmp6_ = NULL; gchar* text = NULL; -#line 2011 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2027 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_MEDIA_SOURCE (source), NULL); -#line 2012 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2028 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = tag_global; -#line 2012 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2028 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = source; -#line 2012 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2028 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = tag_source_collection_fetch_for_source (_tmp0_, _tmp1_); -#line 2012 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2028 "/home/jens/Source/shotwell/src/Dialogs.vala" source_tags = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection); -#line 2013 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2029 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = source_tags; -#line 2013 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2029 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp3_ == NULL) { -#line 2014 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2030 "/home/jens/Source/shotwell/src/Dialogs.vala" result = NULL; -#line 2014 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2030 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (source_tags); -#line 2014 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2030 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 16296 "Dialogs.c" +#line 16424 "Dialogs.c" } -#line 2016 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = source_tags; -#line 2016 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = tag_get_terminal_tags (_tmp4_); -#line 2016 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala" terminal_tags = _tmp5_; -#line 2018 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2034 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = gee_tree_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL); -#line 2018 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2034 "/home/jens/Source/shotwell/src/Dialogs.vala" tag_basenames = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_SORTED_SET, GeeSortedSet); -#line 16308 "Dialogs.c" +#line 16436 "Dialogs.c" { GeeIterator* _tag_it = NULL; GeeCollection* _tmp7_ = NULL; GeeIterator* _tmp8_ = NULL; -#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = terminal_tags; -#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala" _tag_it = _tmp8_; -#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 16321 "Dialogs.c" +#line 16449 "Dialogs.c" GeeIterator* _tmp9_ = NULL; gboolean _tmp10_ = FALSE; Tag* tag = NULL; @@ -16346,64 +16474,64 @@ static gchar* modify_tags_dialog_get_initial_text (MediaSource* source) { gchar* _tmp16_ = NULL; gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; -#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _tag_it; -#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = gee_iterator_next (_tmp9_); -#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp10_) { -#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 16341 "Dialogs.c" +#line 16469 "Dialogs.c" } -#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = _tag_it; -#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = gee_iterator_get (_tmp11_); -#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala" tag = (Tag*) _tmp12_; -#line 2020 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2036 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = tag_basenames; -#line 2020 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2036 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = tag; -#line 2020 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2036 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = tag_get_path (_tmp14_); -#line 2020 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2036 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = _tmp15_; -#line 2020 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2036 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = hierarchical_tag_utilities_get_basename (_tmp16_); -#line 2020 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2036 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = _tmp17_; -#line 2020 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2036 "/home/jens/Source/shotwell/src/Dialogs.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_COLLECTION, GeeCollection), _tmp18_); -#line 2020 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2036 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp18_); -#line 2020 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2036 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp16_); -#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (tag); -#line 16369 "Dialogs.c" +#line 16497 "Dialogs.c" } -#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tag_it); -#line 16373 "Dialogs.c" +#line 16501 "Dialogs.c" } -#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2038 "/home/jens/Source/shotwell/src/Dialogs.vala" text = NULL; -#line 16377 "Dialogs.c" +#line 16505 "Dialogs.c" { GeeIterator* _name_it = NULL; GeeSortedSet* _tmp19_ = NULL; GeeIterator* _tmp20_ = NULL; -#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = tag_basenames; -#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala" _name_it = _tmp20_; -#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 16390 "Dialogs.c" +#line 16518 "Dialogs.c" GeeIterator* _tmp21_ = NULL; gboolean _tmp22_ = FALSE; gchar* name = NULL; @@ -16413,77 +16541,77 @@ static gchar* modify_tags_dialog_get_initial_text (MediaSource* source) { const gchar* _tmp29_ = NULL; const gchar* _tmp30_ = NULL; gchar* _tmp31_ = NULL; -#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = _name_it; -#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = gee_iterator_next (_tmp21_); -#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp22_) { -#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 16408 "Dialogs.c" +#line 16536 "Dialogs.c" } -#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = _name_it; -#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = gee_iterator_get (_tmp23_); -#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala" name = (gchar*) _tmp24_; -#line 2024 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2040 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = text; -#line 2024 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2040 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp25_ == NULL) { -#line 16420 "Dialogs.c" +#line 16548 "Dialogs.c" gchar* _tmp26_ = NULL; -#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2041 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = g_strdup (""); -#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2041 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (text); -#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2041 "/home/jens/Source/shotwell/src/Dialogs.vala" text = _tmp26_; -#line 16428 "Dialogs.c" +#line 16556 "Dialogs.c" } else { const gchar* _tmp27_ = NULL; gchar* _tmp28_ = NULL; -#line 2027 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2043 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = text; -#line 2027 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2043 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = g_strconcat (_tmp27_, ", ", NULL); -#line 2027 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2043 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (text); -#line 2027 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2043 "/home/jens/Source/shotwell/src/Dialogs.vala" text = _tmp28_; -#line 16440 "Dialogs.c" +#line 16568 "Dialogs.c" } -#line 2029 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2045 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = text; -#line 2029 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2045 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = name; -#line 2029 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2045 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = g_strconcat (_tmp29_, _tmp30_, NULL); -#line 2029 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2045 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (text); -#line 2029 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2045 "/home/jens/Source/shotwell/src/Dialogs.vala" text = _tmp31_; -#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (name); -#line 16454 "Dialogs.c" +#line 16582 "Dialogs.c" } -#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_name_it); -#line 16458 "Dialogs.c" +#line 16586 "Dialogs.c" } -#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2048 "/home/jens/Source/shotwell/src/Dialogs.vala" result = text; -#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2048 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (tag_basenames); -#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2048 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (terminal_tags); -#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2048 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (source_tags); -#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2048 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 16470 "Dialogs.c" +#line 16598 "Dialogs.c" } @@ -16516,140 +16644,140 @@ GeeArrayList* modify_tags_dialog_execute (ModifyTagsDialog* self) { gchar** _tmp16_ = NULL; gchar** _tmp17_ = NULL; gint _tmp17__length1 = 0; -#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_MODIFY_TAGS_DIALOG (self), NULL); -#line 2036 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2052 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _text_entry_dialog_mediator_execute (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator)); -#line 2036 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2052 "/home/jens/Source/shotwell/src/Dialogs.vala" text = _tmp0_; -#line 2037 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = text; -#line 2037 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp1_ == NULL) { -#line 2038 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala" result = NULL; -#line 2038 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (text); -#line 2038 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 16519 "Dialogs.c" +#line 16647 "Dialogs.c" } -#line 2040 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2056 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gee_array_list_new (TYPE_TAG, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 2040 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2056 "/home/jens/Source/shotwell/src/Dialogs.vala" new_tags = _tmp2_; -#line 2043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = text; -#line 2043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = is_string_empty (_tmp3_); -#line 2043 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp4_) { -#line 2044 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2060 "/home/jens/Source/shotwell/src/Dialogs.vala" result = new_tags; -#line 2044 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2060 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (text); -#line 2044 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2060 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 16537 "Dialogs.c" +#line 16665 "Dialogs.c" } -#line 2047 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = text; -#line 2047 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _tmp6_ = g_strsplit (_tmp5_, ",", 0); -#line 2047 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _tmp7_; -#line 2047 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8__length1 = _vala_array_length (_tmp6_); -#line 2047 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = tag_prep_tag_names (_tmp8_, _vala_array_length (_tmp6_), &_tmp9_); -#line 2047 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = _tmp10_; -#line 2047 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11__length1 = _tmp9_; -#line 2047 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = (_vala_array_free (_tmp8_, _tmp8__length1, (GDestroyNotify) g_free), NULL); -#line 2047 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala" tag_names = _tmp11_; -#line 2047 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala" tag_names_length1 = _tmp11__length1; -#line 2047 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala" _tag_names_size_ = tag_names_length1; -#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = hierarchical_tag_index_get_global_index (); -#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = _tmp12_; -#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = tag_names; -#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14__length1 = tag_names_length1; -#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = hierarchical_tag_index_get_paths_for_names_array (_tmp13_, _tmp14_, _tmp14__length1, &_tmp15_); -#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala" tag_names = (_vala_array_free (tag_names, tag_names_length1, (GDestroyNotify) g_free), NULL); -#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala" tag_names = _tmp16_; -#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala" tag_names_length1 = _tmp15_; -#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala" _tag_names_size_ = tag_names_length1; -#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala" _hierarchical_tag_index_unref0 (_tmp13_); -#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2067 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = tag_names; -#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2067 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17__length1 = tag_names_length1; -#line 16585 "Dialogs.c" +#line 16713 "Dialogs.c" { gchar** name_collection = NULL; gint name_collection_length1 = 0; gint _name_collection_size_ = 0; gint name_it = 0; -#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2067 "/home/jens/Source/shotwell/src/Dialogs.vala" name_collection = _tmp17_; -#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2067 "/home/jens/Source/shotwell/src/Dialogs.vala" name_collection_length1 = _tmp17__length1; -#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2067 "/home/jens/Source/shotwell/src/Dialogs.vala" for (name_it = 0; name_it < _tmp17__length1; name_it = name_it + 1) { -#line 16597 "Dialogs.c" +#line 16725 "Dialogs.c" gchar* _tmp18_ = NULL; gchar* name = NULL; -#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2067 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = g_strdup (name_collection[name_it]); -#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2067 "/home/jens/Source/shotwell/src/Dialogs.vala" name = _tmp18_; -#line 16604 "Dialogs.c" +#line 16732 "Dialogs.c" { GeeArrayList* _tmp19_ = NULL; const gchar* _tmp20_ = NULL; Tag* _tmp21_ = NULL; Tag* _tmp22_ = NULL; -#line 2052 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2068 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = new_tags; -#line 2052 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2068 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = name; -#line 2052 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2068 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = tag_for_path (_tmp20_); -#line 2052 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2068 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = _tmp21_; -#line 2052 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2068 "/home/jens/Source/shotwell/src/Dialogs.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp22_); -#line 2052 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2068 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp22_); -#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2067 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (name); -#line 16624 "Dialogs.c" +#line 16752 "Dialogs.c" } } } -#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2070 "/home/jens/Source/shotwell/src/Dialogs.vala" result = new_tags; -#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2070 "/home/jens/Source/shotwell/src/Dialogs.vala" tag_names = (_vala_array_free (tag_names, tag_names_length1, (GDestroyNotify) g_free), NULL); -#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2070 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (text); -#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2070 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 16636 "Dialogs.c" +#line 16764 "Dialogs.c" } @@ -16658,28 +16786,28 @@ static gboolean modify_tags_dialog_real_on_modify_validate (TextEntryDialogMedia gboolean result = FALSE; const gchar* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; -#line 2057 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2073 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MODIFY_TAGS_DIALOG, ModifyTagsDialog); -#line 2057 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2073 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (text != NULL, FALSE); -#line 2058 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2074 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = text; -#line 2058 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2074 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = string_contains (_tmp0_, TAG_PATH_SEPARATOR_STRING); -#line 2058 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2074 "/home/jens/Source/shotwell/src/Dialogs.vala" result = !_tmp1_; -#line 2058 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2074 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 16657 "Dialogs.c" +#line 16785 "Dialogs.c" } static void modify_tags_dialog_class_init (ModifyTagsDialogClass * klass) { -#line 2005 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala" modify_tags_dialog_parent_class = g_type_class_peek_parent (klass); -#line 2005 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala" ((TextEntryDialogMediatorClass *) klass)->on_modify_validate = modify_tags_dialog_real_on_modify_validate; -#line 16666 "Dialogs.c" +#line 16794 "Dialogs.c" } @@ -16700,31 +16828,31 @@ GType modify_tags_dialog_get_type (void) { gchar* welcome_service_entry_get_service_name (WelcomeServiceEntry* self) { -#line 2064 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2080 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_WELCOME_SERVICE_ENTRY (self), NULL); -#line 2064 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2080 "/home/jens/Source/shotwell/src/Dialogs.vala" return WELCOME_SERVICE_ENTRY_GET_INTERFACE (self)->get_service_name (self); -#line 16691 "Dialogs.c" +#line 16819 "Dialogs.c" } void welcome_service_entry_execute (WelcomeServiceEntry* self) { -#line 2066 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2082 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_WELCOME_SERVICE_ENTRY (self)); -#line 2066 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2082 "/home/jens/Source/shotwell/src/Dialogs.vala" WELCOME_SERVICE_ENTRY_GET_INTERFACE (self)->execute (self); -#line 16700 "Dialogs.c" +#line 16828 "Dialogs.c" } static void welcome_service_entry_base_init (WelcomeServiceEntryIface * iface) { -#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2079 "/home/jens/Source/shotwell/src/Dialogs.vala" static gboolean initialized = FALSE; -#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2079 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!initialized) { -#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2079 "/home/jens/Source/shotwell/src/Dialogs.vala" initialized = TRUE; -#line 16711 "Dialogs.c" +#line 16839 "Dialogs.c" } } @@ -16834,243 +16962,243 @@ WelcomeDialog* welcome_dialog_construct (GType object_type, GtkWindow* owner) { GtkBox* _tmp87_ = NULL; GtkWidget* _tmp88_ = NULL; SpitDataImportsWelcomeImportMetaHost* _tmp89_ = NULL; -#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (GTK_IS_WINDOW (owner), NULL); -#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (WelcomeDialog*) g_object_new (object_type, NULL); -#line 2084 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = spit_data_imports_welcome_import_meta_host_new (self); -#line 2084 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->import_meta_host); -#line 2084 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->import_meta_host = _tmp0_; -#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2101 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = welcome_dialog_is_system_pictures_import_possible (); -#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2101 "/home/jens/Source/shotwell/src/Dialogs.vala" show_system_pictures_import = _tmp1_; -#line 2086 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2102 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_OK_LABEL, (gint) GTK_RESPONSE_OK); -#line 2086 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2102 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _g_object_ref0 (_tmp2_); -#line 2086 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2102 "/home/jens/Source/shotwell/src/Dialogs.vala" ok_button = _tmp3_; -#line 2087 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2103 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _ ("Welcome!"); -#line 2087 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2103 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp4_); -#line 2088 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2104 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE); -#line 2089 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2105 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_type_hint (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), GDK_WINDOW_TYPE_HINT_DIALOG); -#line 2090 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2106 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = owner; -#line 2090 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2106 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp5_); -#line 2092 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2108 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = (GtkLabel*) gtk_label_new (""); -#line 2092 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2108 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp6_); -#line 2092 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2108 "/home/jens/Source/shotwell/src/Dialogs.vala" primary_text = _tmp6_; -#line 2093 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2109 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = primary_text; -#line 2093 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2109 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _ ("Welcome to Shotwell!"); -#line 2093 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2109 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = g_strdup_printf ("<span size=\"large\" weight=\"bold\">%s</span>", _tmp8_); -#line 2093 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2109 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp9_; -#line 2093 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2109 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_markup (_tmp7_, _tmp10_); -#line 2093 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2109 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp10_); -#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2111 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = primary_text; -#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2111 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_misc_get_type (), GtkMisc), (gfloat) 0, 0.5f); -#line 2096 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2112 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = (GtkLabel*) gtk_label_new (""); -#line 2096 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2112 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp12_); -#line 2096 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2112 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->secondary_text); -#line 2096 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2112 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->secondary_text = _tmp12_; -#line 2097 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2113 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = self->priv->secondary_text; -#line 2097 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2113 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = _ ("To get started, import photos in any of these ways:"); -#line 2097 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2113 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = g_strdup_printf ("<span weight=\"normal\">%s</span>", _tmp14_); -#line 2097 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2113 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = _tmp15_; -#line 2097 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2113 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_markup (_tmp13_, _tmp16_); -#line 2097 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2113 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp16_); -#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = self->priv->secondary_text; -#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_misc_get_type (), GtkMisc), (gfloat) 0, 0.5f); -#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2116 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = (GtkImage*) gtk_image_new_from_icon_name ("shotwell", GTK_ICON_SIZE_DIALOG); -#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2116 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp18_); -#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2116 "/home/jens/Source/shotwell/src/Dialogs.vala" image = _tmp18_; -#line 2102 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2118 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); -#line 2102 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2118 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp19_); -#line 2102 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2118 "/home/jens/Source/shotwell/src/Dialogs.vala" header_text = _tmp19_; -#line 2103 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = header_text; -#line 2103 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = primary_text; -#line 2103 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp20_, G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 5); -#line 2104 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2120 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = header_text; -#line 2104 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2120 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = self->priv->secondary_text; -#line 2104 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2120 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp22_, G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0); -#line 2106 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2122 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); -#line 2106 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2122 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp24_); -#line 2106 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2122 "/home/jens/Source/shotwell/src/Dialogs.vala" header_content = _tmp24_; -#line 2107 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2123 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = header_content; -#line 2107 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2123 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = image; -#line 2107 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2123 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp25_, G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0); -#line 2108 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2124 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = header_content; -#line 2108 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2124 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = header_text; -#line 2108 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2124 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (_tmp27_, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0); -#line 2110 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2126 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = (GtkLabel*) gtk_label_new (""); -#line 2110 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2126 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp29_); -#line 2110 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2126 "/home/jens/Source/shotwell/src/Dialogs.vala" instructions = _tmp29_; -#line 2111 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = g_strdup (" "); -#line 2111 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala" indent_prefix = _tmp30_; -#line 2113 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = gtk_widget_get_direction (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 2113 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp32_ == GTK_TEXT_DIR_RTL) { -#line 2113 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = "◂"; -#line 16957 "Dialogs.c" +#line 17085 "Dialogs.c" } else { -#line 2113 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = "▸"; -#line 16961 "Dialogs.c" +#line 17089 "Dialogs.c" } -#line 2113 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = g_strdup (_tmp31_); -#line 2113 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala" arrow_glyph = _tmp33_; -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp34_ = instructions; -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp35_ = indent_prefix; -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp36_ = g_strconcat (_tmp35_, "• %s\n", NULL); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp37_ = _tmp36_; -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp38_ = indent_prefix; -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp39_ = g_strconcat (_tmp38_, "• %s\n", NULL); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp40_ = _tmp39_; -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp41_ = g_strconcat (_tmp37_, _tmp40_, NULL); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp42_ = _tmp41_; -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp43_ = indent_prefix; -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp44_ = g_strconcat (_tmp43_, "• %s", NULL); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp45_ = _tmp44_; -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp46_ = g_strconcat (_tmp42_, _tmp45_, NULL); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp47_ = _tmp46_; -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp48_ = _ ("Choose <span weight=\"bold\">File %s Import From Folder</span>"); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp49_ = arrow_glyph; -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp50_ = g_strdup_printf (_tmp48_, _tmp49_); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp51_ = _tmp50_; -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp52_ = _ ("Drag and drop photos onto the Shotwell window"); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp53_ = _ ("Connect a camera to your computer and import"); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp54_ = g_strdup_printf (_tmp47_, _tmp51_, _tmp52_, _tmp53_); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp55_ = _tmp54_; -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_markup (_tmp34_, _tmp55_); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp55_); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp51_); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp47_); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp45_); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp42_); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp40_); -#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp37_); -#line 2120 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2136 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp56_ = instructions; -#line 2120 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2136 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (_tmp56_, gtk_misc_get_type (), GtkMisc), (gfloat) 0, 0.5f); -#line 2122 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2138 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp57_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 2); -#line 2122 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2138 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp57_); -#line 2122 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2138 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->import_action_checkbox_packer); -#line 2122 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2138 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->import_action_checkbox_packer = _tmp57_; -#line 2124 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp58_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 2); -#line 2124 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp58_); -#line 2124 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->external_import_action_checkbox_packer); -#line 2124 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->external_import_action_checkbox_packer = _tmp58_; -#line 2125 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2141 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp59_ = self->priv->import_action_checkbox_packer; -#line 2125 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2141 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp60_ = self->priv->external_import_action_checkbox_packer; -#line 2125 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2141 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, gtk_widget_get_type (), GtkWidget)); -#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp61_ = show_system_pictures_import; -#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp61_) { -#line 17057 "Dialogs.c" +#line 17185 "Dialogs.c" const gchar* _tmp62_ = NULL; GFile* _tmp63_ = NULL; GFile* _tmp64_ = NULL; @@ -17082,164 +17210,164 @@ WelcomeDialog* welcome_dialog_construct (GType object_type, GtkWindow* owner) { GtkBox* _tmp70_ = NULL; GtkCheckButton* _tmp71_ = NULL; GtkCheckButton* _tmp72_ = NULL; -#line 2128 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp62_ = _ ("_Import photos from your %s folder"); -#line 2128 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp63_ = app_dirs_get_import_dir (); -#line 2128 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp64_ = _tmp63_; -#line 2128 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp65_ = get_display_pathname (_tmp64_); -#line 2128 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp66_ = _tmp65_; -#line 2128 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp67_ = g_strdup_printf (_tmp62_, _tmp66_); -#line 2128 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp68_ = _tmp67_; -#line 2128 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp69_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp68_); -#line 2128 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp69_); -#line 2128 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->system_pictures_import_check); -#line 2128 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->system_pictures_import_check = _tmp69_; -#line 2128 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp68_); -#line 2128 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp66_); -#line 2128 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp64_); -#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2147 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp70_ = self->priv->import_action_checkbox_packer; -#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2147 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp71_ = self->priv->system_pictures_import_check; -#line 2131 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2147 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp70_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, gtk_widget_get_type (), GtkWidget)); -#line 2132 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2148 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp72_ = self->priv->system_pictures_import_check; -#line 2132 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2148 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE); -#line 17107 "Dialogs.c" +#line 17235 "Dialogs.c" } -#line 2135 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2151 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp73_ = _ ("You can also import photos in any of these ways:"); -#line 2135 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2151 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp74_ = (GtkLabel*) gtk_label_new (_tmp73_); -#line 2135 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2151 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp74_); -#line 2135 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2151 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->instruction_header); -#line 2135 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2151 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->instruction_header = _tmp74_; -#line 2137 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2153 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp75_ = self->priv->instruction_header; -#line 2137 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2153 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, gtk_misc_get_type (), GtkMisc), 0.0f, 0.5f); -#line 2138 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2154 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp76_ = self->priv->instruction_header; -#line 2138 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2154 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_margin_top (G_TYPE_CHECK_INSTANCE_CAST (_tmp76_, gtk_widget_get_type (), GtkWidget), 20); -#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2156 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp77_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 16); -#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2156 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp77_); -#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2156 "/home/jens/Source/shotwell/src/Dialogs.vala" content = _tmp77_; -#line 2141 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2157 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp78_ = header_content; -#line 2141 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2157 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (content, G_TYPE_CHECK_INSTANCE_CAST (_tmp78_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0); -#line 2142 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2158 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp79_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 2); -#line 2142 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2158 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp79_); -#line 2142 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2158 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->import_content); -#line 2142 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2158 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->import_content = _tmp79_; -#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2159 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp80_ = self->priv->import_content; -#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2159 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp80_, gtk_widget_get_type (), GtkWidget)); -#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2160 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp81_ = instructions; -#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2160 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (content, G_TYPE_CHECK_INSTANCE_CAST (_tmp81_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0); -#line 2146 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp82_ = _ ("_Don't show this message again"); -#line 2146 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2162 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp82_ = _ ("_Don’t show this message again"); +#line 2162 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp83_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp82_); -#line 2146 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2162 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp83_); -#line 2146 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2162 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->hide_button); -#line 2146 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2162 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->hide_button = _tmp83_; -#line 2147 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2163 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp84_ = self->priv->hide_button; -#line 2147 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2163 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp84_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE); -#line 2148 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2164 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp85_ = self->priv->hide_button; -#line 2148 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2164 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (content, G_TYPE_CHECK_INSTANCE_CAST (_tmp85_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 6); -#line 2150 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2166 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp86_ = (GtkAlignment*) gtk_alignment_new ((gfloat) 0, (gfloat) 0, (gfloat) 0, (gfloat) 0); -#line 2150 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2166 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp86_); -#line 2150 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2166 "/home/jens/Source/shotwell/src/Dialogs.vala" alignment = _tmp86_; -#line 2151 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2167 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_alignment_set_padding (alignment, (guint) 12, (guint) 0, (guint) 12, (guint) 12); -#line 2152 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2168 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (alignment, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget)); -#line 2154 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2170 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp87_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); -#line 2154 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2170 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp87_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (alignment, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0); -#line 2156 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2172 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_has_resize_grip (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE); -#line 2158 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2174 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp88_ = ok_button; -#line 2158 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2174 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_grab_focus (_tmp88_); -#line 2160 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2176 "/home/jens/Source/shotwell/src/Dialogs.vala" welcome_dialog_install_import_content (self); -#line 2162 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2178 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp89_ = self->priv->import_meta_host; -#line 2162 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2178 "/home/jens/Source/shotwell/src/Dialogs.vala" spit_data_imports_welcome_import_meta_host_start (_tmp89_); -#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (alignment); -#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (content); -#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (arrow_glyph); -#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (indent_prefix); -#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (instructions); -#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (header_content); -#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (header_text); -#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (image); -#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (primary_text); -#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (ok_button); -#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 17219 "Dialogs.c" +#line 17347 "Dialogs.c" } WelcomeDialog* welcome_dialog_new (GtkWindow* owner) { -#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala" return welcome_dialog_construct (TYPE_WELCOME_DIALOG, owner); -#line 17226 "Dialogs.c" +#line 17354 "Dialogs.c" } @@ -17248,101 +17376,101 @@ static void welcome_dialog_install_import_content (WelcomeDialog* self) { gboolean _tmp1_ = FALSE; GtkCheckButton** _tmp2_ = NULL; gint _tmp2__length1 = 0; -#line 2165 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2181 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_WELCOME_DIALOG (self)); -#line 2167 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2183 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = self->priv->external_import_checks; -#line 2167 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2183 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2__length1 = self->priv->external_import_checks_length1; -#line 2167 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2183 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp2__length1 > 0) { -#line 2167 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2183 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = TRUE; -#line 17245 "Dialogs.c" +#line 17373 "Dialogs.c" } else { GtkCheckButton* _tmp3_ = NULL; -#line 2167 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2183 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = self->priv->system_pictures_import_check; -#line 2167 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2183 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _tmp3_ != NULL; -#line 17252 "Dialogs.c" +#line 17380 "Dialogs.c" } -#line 2167 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2183 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp1_) { -#line 17256 "Dialogs.c" +#line 17384 "Dialogs.c" gboolean _tmp4_ = FALSE; -#line 2168 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2184 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = self->priv->import_content_already_installed; -#line 2168 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2184 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _tmp4_ == FALSE; -#line 17262 "Dialogs.c" +#line 17390 "Dialogs.c" } else { -#line 2167 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2183 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = FALSE; -#line 17266 "Dialogs.c" +#line 17394 "Dialogs.c" } -#line 2166 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2182 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_) { -#line 17270 "Dialogs.c" +#line 17398 "Dialogs.c" GtkLabel* _tmp5_ = NULL; GtkBox* _tmp6_ = NULL; GtkBox* _tmp7_ = NULL; GtkBox* _tmp8_ = NULL; GtkLabel* _tmp9_ = NULL; -#line 2170 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = self->priv->secondary_text; -#line 2170 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_markup (_tmp5_, ""); -#line 2171 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = self->priv->import_content; -#line 2171 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = self->priv->import_action_checkbox_packer; -#line 2171 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget)); -#line 2172 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = self->priv->import_content; -#line 2172 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = self->priv->instruction_header; -#line 2172 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget)); -#line 2173 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2189 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->import_content_already_installed = TRUE; -#line 17294 "Dialogs.c" +#line 17422 "Dialogs.c" } } static void _vala_array_add275 (WelcomeServiceEntry*** array, int* length, int* size, WelcomeServiceEntry* value) { -#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2195 "/home/jens/Source/shotwell/src/Dialogs.vala" if ((*length) == (*size)) { -#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2195 "/home/jens/Source/shotwell/src/Dialogs.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2195 "/home/jens/Source/shotwell/src/Dialogs.vala" *array = g_renew (WelcomeServiceEntry*, *array, (*size) + 1); -#line 17306 "Dialogs.c" +#line 17434 "Dialogs.c" } -#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2195 "/home/jens/Source/shotwell/src/Dialogs.vala" (*array)[(*length)++] = value; -#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2195 "/home/jens/Source/shotwell/src/Dialogs.vala" (*array)[*length] = NULL; -#line 17312 "Dialogs.c" +#line 17440 "Dialogs.c" } static void _vala_array_add276 (GtkCheckButton*** array, int* length, int* size, GtkCheckButton* value) { -#line 2182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala" if ((*length) == (*size)) { -#line 2182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 2182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala" *array = g_renew (GtkCheckButton*, *array, (*size) + 1); -#line 17323 "Dialogs.c" +#line 17451 "Dialogs.c" } -#line 2182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala" (*array)[(*length)++] = value; -#line 2182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala" (*array)[*length] = NULL; -#line 17329 "Dialogs.c" +#line 17457 "Dialogs.c" } @@ -17369,79 +17497,79 @@ void welcome_dialog_install_service_entry (WelcomeDialog* self, WelcomeServiceEn gint _tmp16__length1 = 0; GtkCheckButton* _tmp17_ = NULL; GtkBox* _tmp18_ = NULL; -#line 2177 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2193 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_WELCOME_DIALOG (self)); -#line 2177 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2193 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_WELCOME_SERVICE_ENTRY (entry)); -#line 2178 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2194 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = entry; -#line 2178 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2194 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = welcome_service_entry_get_service_name (_tmp0_); -#line 2178 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2194 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _tmp1_; -#line 2178 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2194 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = g_strdup_printf ("WelcomeDialog: Installing service entry for %s", _tmp2_); -#line 2178 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2194 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp3_; -#line 2178 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_debug ("Dialogs.vala:2178: %s", _tmp4_); -#line 2178 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2194 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_debug ("Dialogs.vala:2194: %s", _tmp4_); +#line 2194 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp4_); -#line 2178 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2194 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp2_); -#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2195 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = self->priv->external_import_entries; -#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2195 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5__length1 = self->priv->external_import_entries_length1; -#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2195 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = entry; -#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2195 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _g_object_ref0 (_tmp6_); -#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2195 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_array_add275 (&self->priv->external_import_entries, &self->priv->external_import_entries_length1, &self->priv->_external_import_entries_size_, _tmp7_); -#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _ ("Import photos from your %s library"); -#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = entry; -#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = welcome_service_entry_get_service_name (_tmp9_); -#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = _tmp10_; -#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = g_strdup_printf (_tmp8_, _tmp11_); -#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = _tmp12_; -#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = (GtkCheckButton*) gtk_check_button_new_with_label (_tmp13_); -#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp14_); -#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = _tmp14_; -#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp13_); -#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp11_); -#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala" entry_check = _tmp15_; -#line 2182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = self->priv->external_import_checks; -#line 2182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16__length1 = self->priv->external_import_checks_length1; -#line 2182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = _g_object_ref0 (entry_check); -#line 2182 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_array_add276 (&self->priv->external_import_checks, &self->priv->external_import_checks_length1, &self->priv->_external_import_checks_size_, _tmp17_); -#line 2183 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2199 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (entry_check, gtk_toggle_button_get_type (), GtkToggleButton), TRUE); -#line 2184 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2200 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = self->priv->external_import_action_checkbox_packer; -#line 2184 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2200 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (entry_check, gtk_widget_get_type (), GtkWidget)); -#line 2185 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2201 "/home/jens/Source/shotwell/src/Dialogs.vala" welcome_dialog_install_import_content (self); -#line 2177 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2193 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (entry_check); -#line 17428 "Dialogs.c" +#line 17556 "Dialogs.c" } @@ -17452,66 +17580,66 @@ void welcome_dialog_install_service_entry (WelcomeDialog* self, WelcomeServiceEn */ static void welcome_dialog_on_dismiss (WelcomeDialog* self, gint resp) { gint _tmp0_ = 0; -#line 2193 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2209 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_WELCOME_DIALOG (self)); -#line 2194 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2210 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = resp; -#line 2194 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2210 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) { -#line 2195 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2211 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->ok_clicked = TRUE; -#line 17447 "Dialogs.c" +#line 17575 "Dialogs.c" } -#line 2197 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2213 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2214 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_main_quit (); -#line 17453 "Dialogs.c" +#line 17581 "Dialogs.c" } static void _welcome_dialog_on_dismiss_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) { -#line 2204 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2220 "/home/jens/Source/shotwell/src/Dialogs.vala" welcome_dialog_on_dismiss ((WelcomeDialog*) self, response_id); -#line 17460 "Dialogs.c" +#line 17588 "Dialogs.c" } static void _vala_array_add277 (WelcomeServiceEntry*** array, int* length, int* size, WelcomeServiceEntry* value) { -#line 2227 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" if ((*length) == (*size)) { -#line 2227 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 2227 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" *array = g_renew (WelcomeServiceEntry*, *array, (*size) + 1); -#line 17471 "Dialogs.c" +#line 17599 "Dialogs.c" } -#line 2227 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" (*array)[(*length)++] = value; -#line 2227 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" (*array)[*length] = NULL; -#line 17477 "Dialogs.c" +#line 17605 "Dialogs.c" } static WelcomeServiceEntry** _vala_array_dup30 (WelcomeServiceEntry** self, int length) { WelcomeServiceEntry** result; int i; -#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala" result = g_new0 (WelcomeServiceEntry*, length + 1); -#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala" for (i = 0; i < length; i++) { -#line 17488 "Dialogs.c" +#line 17616 "Dialogs.c" WelcomeServiceEntry* _tmp0_ = NULL; -#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _g_object_ref0 (self[i]); -#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala" result[i] = _tmp0_; -#line 17494 "Dialogs.c" +#line 17622 "Dialogs.c" } -#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 17498 "Dialogs.c" +#line 17626 "Dialogs.c" } @@ -17535,62 +17663,62 @@ gboolean welcome_dialog_execute (WelcomeDialog* self, WelcomeServiceEntry*** sel gint _tmp20__length1 = 0; gboolean _tmp21_ = FALSE; GtkCheckButton* _tmp22_ = NULL; -#line 2201 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2217 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_WELCOME_DIALOG (self), FALSE); -#line 2204 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2220 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), "response", (GCallback) _welcome_dialog_on_dismiss_gtk_dialog_response, self, 0); -#line 2205 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2221 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 2206 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2222 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 2211 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2227 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_main (); -#line 2215 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2231 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_parse_name ("response", gtk_dialog_get_type (), &_tmp0_, NULL, FALSE); -#line 2215 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2231 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp0_, 0, NULL, (GCallback) _welcome_dialog_on_dismiss_gtk_dialog_response, self); -#line 2217 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->ok_clicked; -#line 2217 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala" ok = _tmp1_; -#line 2218 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2234 "/home/jens/Source/shotwell/src/Dialogs.vala" show_dialog = TRUE; -#line 2220 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2236 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = ok; -#line 2220 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2236 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp2_) { -#line 17546 "Dialogs.c" +#line 17674 "Dialogs.c" GtkCheckButton* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 2221 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = self->priv->hide_button; -#line 2221 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 2221 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala" show_dialog = !_tmp4_; -#line 17555 "Dialogs.c" +#line 17683 "Dialogs.c" } -#line 2224 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2240 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = g_new0 (WelcomeServiceEntry*, 0 + 1); -#line 2224 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2240 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = _tmp5_; -#line 2224 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2240 "/home/jens/Source/shotwell/src/Dialogs.vala" _result__length1 = 0; -#line 2224 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2240 "/home/jens/Source/shotwell/src/Dialogs.vala" __result__size_ = _result__length1; -#line 17565 "Dialogs.c" +#line 17693 "Dialogs.c" { gint i = 0; -#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala" i = 0; -#line 17570 "Dialogs.c" +#line 17698 "Dialogs.c" { gboolean _tmp6_ = FALSE; -#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = TRUE; -#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 17577 "Dialogs.c" +#line 17705 "Dialogs.c" gint _tmp8_ = 0; WelcomeServiceEntry** _tmp9_ = NULL; gint _tmp9__length1 = 0; @@ -17599,43 +17727,43 @@ gboolean welcome_dialog_execute (WelcomeDialog* self, WelcomeServiceEntry*** sel gint _tmp11_ = 0; GtkCheckButton* _tmp12_ = NULL; gboolean _tmp13_ = FALSE; -#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp6_) { -#line 17588 "Dialogs.c" +#line 17716 "Dialogs.c" gint _tmp7_ = 0; -#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = i; -#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala" i = _tmp7_ + 1; -#line 17594 "Dialogs.c" +#line 17722 "Dialogs.c" } -#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = FALSE; -#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = i; -#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = self->priv->external_import_entries; -#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9__length1 = self->priv->external_import_entries_length1; -#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!(_tmp8_ < _tmp9__length1)) { -#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 17608 "Dialogs.c" +#line 17736 "Dialogs.c" } -#line 2226 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2242 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = self->priv->external_import_checks; -#line 2226 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2242 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10__length1 = self->priv->external_import_checks_length1; -#line 2226 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2242 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = i; -#line 2226 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2242 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = _tmp10_[_tmp11_]; -#line 2226 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2242 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 2226 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2242 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp13_ == TRUE) { -#line 17622 "Dialogs.c" +#line 17750 "Dialogs.c" WelcomeServiceEntry** _tmp14_ = NULL; gint _tmp14__length1 = 0; WelcomeServiceEntry** _tmp15_ = NULL; @@ -17643,93 +17771,93 @@ gboolean welcome_dialog_execute (WelcomeDialog* self, WelcomeServiceEntry*** sel gint _tmp16_ = 0; WelcomeServiceEntry* _tmp17_ = NULL; WelcomeServiceEntry* _tmp18_ = NULL; -#line 2227 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = _result_; -#line 2227 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14__length1 = _result__length1; -#line 2227 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = self->priv->external_import_entries; -#line 2227 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15__length1 = self->priv->external_import_entries_length1; -#line 2227 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = i; -#line 2227 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = _tmp15_[_tmp16_]; -#line 2227 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = _g_object_ref0 (_tmp17_); -#line 2227 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_array_add277 (&_result_, &_result__length1, &__result__size_, _tmp18_); -#line 17646 "Dialogs.c" +#line 17774 "Dialogs.c" } } } } -#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = _result_; -#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19__length1 = _result__length1; -#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = (_tmp19_ != NULL) ? _vala_array_dup30 (_tmp19_, _tmp19__length1) : ((gpointer) _tmp19_); -#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20__length1 = _tmp19__length1; -#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_selected_import_entries = (_vala_array_free (_vala_selected_import_entries, _vala_selected_import_entries_length1, (GDestroyNotify) g_object_unref), NULL); -#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_selected_import_entries = _tmp20_; -#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_selected_import_entries_length1 = _tmp20__length1; -#line 2231 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = self->priv->system_pictures_import_check; -#line 2231 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp22_ != NULL) { -#line 17669 "Dialogs.c" +#line 17797 "Dialogs.c" GtkCheckButton* _tmp23_ = NULL; gboolean _tmp24_ = FALSE; -#line 2231 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = self->priv->system_pictures_import_check; -#line 2231 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 2231 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = _tmp24_; -#line 17678 "Dialogs.c" +#line 17806 "Dialogs.c" } else { -#line 2231 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = FALSE; -#line 17682 "Dialogs.c" +#line 17810 "Dialogs.c" } -#line 2230 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2246 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_do_system_pictures_import = _tmp21_; -#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala" result = show_dialog; -#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = (_vala_array_free (_result_, _result__length1, (GDestroyNotify) g_object_unref), NULL); -#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala" if (selected_import_entries) { -#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala" *selected_import_entries = _vala_selected_import_entries; -#line 17696 "Dialogs.c" +#line 17824 "Dialogs.c" } else { -#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_selected_import_entries = (_vala_array_free (_vala_selected_import_entries, _vala_selected_import_entries_length1, (GDestroyNotify) g_object_unref), NULL); -#line 17700 "Dialogs.c" +#line 17828 "Dialogs.c" } -#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala" if (selected_import_entries_length1) { -#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala" *selected_import_entries_length1 = _vala_selected_import_entries_length1; -#line 17706 "Dialogs.c" +#line 17834 "Dialogs.c" } -#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala" if (do_system_pictures_import) { -#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala" *do_system_pictures_import = _vala_do_system_pictures_import; -#line 17712 "Dialogs.c" +#line 17840 "Dialogs.c" } -#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 17716 "Dialogs.c" +#line 17844 "Dialogs.c" } @@ -17742,37 +17870,37 @@ static gboolean welcome_dialog_is_system_pictures_import_possible (void) { GFile* _tmp3_ = NULL; GFileType _tmp4_ = 0; GError * _inner_error_ = NULL; -#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2255 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = app_dirs_get_import_dir (); -#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2255 "/home/jens/Source/shotwell/src/Dialogs.vala" system_pictures = _tmp0_; -#line 2240 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = system_pictures; -#line 2240 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = g_file_query_exists (_tmp1_, NULL); -#line 2240 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp2_) { -#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" result = FALSE; -#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (system_pictures); -#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 17745 "Dialogs.c" +#line 17873 "Dialogs.c" } -#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = system_pictures; -#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = g_file_query_file_type (_tmp3_, G_FILE_QUERY_INFO_NONE, NULL); -#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!(_tmp4_ == G_FILE_TYPE_DIRECTORY)) { -#line 2244 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2260 "/home/jens/Source/shotwell/src/Dialogs.vala" result = FALSE; -#line 2244 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2260 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (system_pictures); -#line 2244 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2260 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 17759 "Dialogs.c" +#line 17887 "Dialogs.c" } { GFileEnumerator* syspics_child_enum = NULL; @@ -17784,152 +17912,152 @@ static gboolean welcome_dialog_is_system_pictures_import_possible (void) { GFileInfo* _tmp10_ = NULL; GFileInfo* _tmp11_ = NULL; gboolean _tmp12_ = FALSE; -#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2263 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = system_pictures; -#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2263 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = g_file_enumerate_children (_tmp5_, "standard::*", G_FILE_QUERY_INFO_NONE, NULL, &_inner_error_); -#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2263 "/home/jens/Source/shotwell/src/Dialogs.vala" syspics_child_enum = _tmp6_; -#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2263 "/home/jens/Source/shotwell/src/Dialogs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 17779 "Dialogs.c" - goto __catch413_g_error; +#line 17907 "Dialogs.c" + goto __catch426_g_error; } -#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = syspics_child_enum; -#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = g_file_enumerator_next_file (_tmp8_, NULL, &_inner_error_); -#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _tmp9_; -#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (syspics_child_enum); -#line 17792 "Dialogs.c" - goto __catch413_g_error; +#line 17920 "Dialogs.c" + goto __catch426_g_error; } -#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp7_; -#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = NULL; -#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = _tmp10_; -#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = _tmp11_ != NULL; -#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp11_); -#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp12_; -#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp7_); -#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (syspics_child_enum); -#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (system_pictures); -#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 17815 "Dialogs.c" +#line 17943 "Dialogs.c" } - goto __finally413; - __catch413_g_error: + goto __finally426; + __catch426_g_error: { GError* e = NULL; -#line 2246 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2262 "/home/jens/Source/shotwell/src/Dialogs.vala" e = _inner_error_; -#line 2246 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2262 "/home/jens/Source/shotwell/src/Dialogs.vala" _inner_error_ = NULL; -#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala" result = FALSE; -#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_error_free0 (e); -#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (system_pictures); -#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 17833 "Dialogs.c" +#line 17961 "Dialogs.c" } - __finally413: -#line 2246 "/home/jens/Source/shotwell/src/Dialogs.vala" + __finally426: +#line 2262 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (system_pictures); -#line 2246 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2262 "/home/jens/Source/shotwell/src/Dialogs.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 2246 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2262 "/home/jens/Source/shotwell/src/Dialogs.vala" g_clear_error (&_inner_error_); -#line 2246 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2262 "/home/jens/Source/shotwell/src/Dialogs.vala" return FALSE; -#line 17844 "Dialogs.c" +#line 17972 "Dialogs.c" } static void welcome_dialog_class_init (WelcomeDialogClass * klass) { -#line 2069 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala" welcome_dialog_parent_class = g_type_class_peek_parent (klass); -#line 2069 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_class_add_private (klass, sizeof (WelcomeDialogPrivate)); -#line 2069 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala" G_OBJECT_CLASS (klass)->finalize = welcome_dialog_finalize; -#line 17855 "Dialogs.c" +#line 17983 "Dialogs.c" } static void welcome_dialog_instance_init (WelcomeDialog * self) { GtkCheckButton** _tmp0_ = NULL; WelcomeServiceEntry** _tmp1_ = NULL; -#line 2069 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv = WELCOME_DIALOG_GET_PRIVATE (self); -#line 2071 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2087 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->system_pictures_import_check = NULL; -#line 2072 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2088 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = g_new0 (GtkCheckButton*, 0 + 1); -#line 2072 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2088 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->external_import_checks = _tmp0_; -#line 2072 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2088 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->external_import_checks_length1 = 0; -#line 2072 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2088 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->_external_import_checks_size_ = self->priv->external_import_checks_length1; -#line 2073 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2089 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = g_new0 (WelcomeServiceEntry*, 0 + 1); -#line 2073 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2089 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->external_import_entries = _tmp1_; -#line 2073 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2089 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->external_import_entries_length1 = 0; -#line 2073 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2089 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->_external_import_entries_size_ = self->priv->external_import_entries_length1; -#line 2080 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2096 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->import_content_already_installed = FALSE; -#line 2081 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2097 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->ok_clicked = FALSE; -#line 17886 "Dialogs.c" +#line 18014 "Dialogs.c" } static void welcome_dialog_finalize (GObject* obj) { WelcomeDialog * self; -#line 2069 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_WELCOME_DIALOG, WelcomeDialog); -#line 2070 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2086 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->hide_button); -#line 2071 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2087 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->system_pictures_import_check); -#line 2072 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2088 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->external_import_checks = (_vala_array_free (self->priv->external_import_checks, self->priv->external_import_checks_length1, (GDestroyNotify) g_object_unref), NULL); -#line 2073 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2089 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->external_import_entries = (_vala_array_free (self->priv->external_import_entries, self->priv->external_import_entries_length1, (GDestroyNotify) g_object_unref), NULL); -#line 2074 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2090 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->secondary_text); -#line 2075 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2091 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->instruction_header); -#line 2076 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2092 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->import_content); -#line 2077 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2093 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->import_action_checkbox_packer); -#line 2078 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2094 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->external_import_action_checkbox_packer); -#line 2079 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->import_meta_host); -#line 2069 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala" G_OBJECT_CLASS (welcome_dialog_parent_class)->finalize (obj); -#line 17916 "Dialogs.c" +#line 18044 "Dialogs.c" } @@ -17948,92 +18076,92 @@ GType welcome_dialog_get_type (void) { static gboolean _preferences_dialog_on_delete_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) { gboolean result; result = preferences_dialog_on_delete ((PreferencesDialog*) self); -#line 2300 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 17937 "Dialogs.c" +#line 18065 "Dialogs.c" } static void _preferences_dialog_on_close_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) { -#line 2301 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_on_close ((PreferencesDialog*) self); -#line 17944 "Dialogs.c" +#line 18072 "Dialogs.c" } static void _preferences_dialog_on_value_changed_gtk_adjustment_value_changed (GtkAdjustment* _sender, gpointer self) { -#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2323 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_on_value_changed ((PreferencesDialog*) self); -#line 17951 "Dialogs.c" +#line 18079 "Dialogs.c" } static gboolean _preferences_dialog_on_bg_color_reset_gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self) { gboolean result; result = preferences_dialog_on_bg_color_reset ((PreferencesDialog*) self, event); -#line 2310 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2326 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 17960 "Dialogs.c" +#line 18088 "Dialogs.c" } static gboolean _preferences_dialog_on_local_pattern_help_gtk_label_activate_link (GtkLabel* _sender, const gchar* uri, gpointer self) { gboolean result; result = preferences_dialog_on_local_pattern_help ((PreferencesDialog*) self, uri); -#line 2333 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2349 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 17969 "Dialogs.c" +#line 18097 "Dialogs.c" } static void _preferences_dialog_on_dir_pattern_combo_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { -#line 2349 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2365 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_on_dir_pattern_combo_changed ((PreferencesDialog*) self); -#line 17976 "Dialogs.c" +#line 18104 "Dialogs.c" } static void _preferences_dialog_on_dir_pattern_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) { -#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2366 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_on_dir_pattern_entry_changed ((PreferencesDialog*) self); -#line 17983 "Dialogs.c" +#line 18111 "Dialogs.c" } static void _preferences_dialog_on_lowercase_toggled_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) { -#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_on_lowercase_toggled ((PreferencesDialog*) self); -#line 17990 "Dialogs.c" +#line 18118 "Dialogs.c" } static void _preferences_dialog_on_photo_editor_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { -#line 2362 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_on_photo_editor_changed ((PreferencesDialog*) self); -#line 17997 "Dialogs.c" +#line 18125 "Dialogs.c" } static void _preferences_dialog_on_raw_editor_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { -#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2379 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_on_raw_editor_changed ((PreferencesDialog*) self); -#line 18004 "Dialogs.c" +#line 18132 "Dialogs.c" } static void _preferences_dialog_on_default_raw_developer_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { -#line 2375 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2391 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_on_default_raw_developer_changed ((PreferencesDialog*) self); -#line 18011 "Dialogs.c" +#line 18139 "Dialogs.c" } static gboolean _preferences_dialog_map_event_gtk_widget_map_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) { gboolean result; result = preferences_dialog_map_event ((PreferencesDialog*) self); -#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2393 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 18020 "Dialogs.c" +#line 18148 "Dialogs.c" } @@ -18156,200 +18284,200 @@ static PreferencesDialog* preferences_dialog_construct (GType object_type) { RawDeveloper _tmp122_ = 0; GtkComboBoxText* _tmp123_ = NULL; GtkDialog* _tmp124_ = NULL; -#line 2288 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (PreferencesDialog*) g_type_create_instance (object_type); -#line 2289 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2305 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = app_window_create_builder ("shotwell.ui", NULL); -#line 2289 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2305 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->builder); -#line 2289 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2305 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->builder = _tmp0_; -#line 2291 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->builder; -#line 2291 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_builder_get_object (_tmp1_, "preferences_dialog"); -#line 2291 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, gtk_dialog_get_type ()) ? ((GtkDialog*) _tmp2_) : NULL); -#line 2291 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->dialog); -#line 2291 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->dialog = _tmp3_; -#line 2293 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = gtk_settings_get_default (); -#line 2293 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL); -#line 2294 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2310 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = use_header; -#line 2294 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2310 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp5_) { -#line 18169 "Dialogs.c" +#line 18297 "Dialogs.c" GtkWidget* null_titlebar = NULL; GtkDialog* _tmp6_ = NULL; GtkWidget* _tmp7_ = NULL; -#line 2295 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2311 "/home/jens/Source/shotwell/src/Dialogs.vala" null_titlebar = NULL; -#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = self->priv->dialog; -#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = null_titlebar; -#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_titlebar (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_window_get_type (), GtkWindow), _tmp7_); -#line 2294 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2310 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (null_titlebar); -#line 18183 "Dialogs.c" +#line 18311 "Dialogs.c" } -#line 2298 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = self->priv->dialog; -#line 2298 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = app_window_get_instance (); -#line 2298 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp9_; -#line 2298 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = gtk_widget_get_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget)); -#line 2298 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), _tmp11_); -#line 2298 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp10_); -#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2315 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = self->priv->dialog; -#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2315 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = app_window_get_instance (); -#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2315 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = _tmp13_; -#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2315 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_window_get_type (), GtkWindow)); -#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2315 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp14_); -#line 2300 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = self->priv->dialog; -#line 2300 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), "delete-event", (GCallback) _preferences_dialog_on_delete_gtk_widget_delete_event, self); -#line 2301 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = self->priv->dialog; -#line 2301 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (_tmp16_, "response", (GCallback) _preferences_dialog_on_close_gtk_dialog_response, self); -#line 2302 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2318 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = self->priv->dialog; -#line 2302 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2318 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_has_resize_grip (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_window_get_type (), GtkWindow), FALSE); -#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2320 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = self->priv->builder; -#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2320 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = gtk_builder_get_object (_tmp18_, "bg_color_adjustment"); -#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2320 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, gtk_adjustment_get_type ()) ? ((GtkAdjustment*) _tmp19_) : NULL); -#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2320 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->bg_color_adjustment); -#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2320 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->bg_color_adjustment = _tmp20_; -#line 2305 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = self->priv->bg_color_adjustment; -#line 2305 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = self->priv->bg_color_adjustment; -#line 2305 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = gtk_adjustment_get_upper (_tmp22_); -#line 2305 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = config_facade_get_instance (); -#line 2305 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = _tmp24_; -#line 2305 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala" config_facade_get_bg_color (_tmp25_, &_tmp26_); -#line 2305 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = _tmp26_.red; -#line 2305 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_adjustment_set_value (_tmp21_, _tmp23_ - (_tmp27_ * 65535.0)); -#line 2305 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp25_); -#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2323 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = self->priv->bg_color_adjustment; -#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2323 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (_tmp28_, "value-changed", (GCallback) _preferences_dialog_on_value_changed_gtk_adjustment_value_changed, self); -#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2325 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = self->priv->builder; -#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2325 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = gtk_builder_get_object (_tmp29_, "bg_color_slider"); -#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2325 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp30_, gtk_scale_get_type ()) ? ((GtkScale*) _tmp30_) : NULL); -#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2325 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->bg_color_slider); -#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2325 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->bg_color_slider = _tmp31_; -#line 2310 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2326 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = self->priv->bg_color_slider; -#line 2310 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2326 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _preferences_dialog_on_bg_color_reset_gtk_widget_button_press_event, self); -#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2328 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = self->priv->builder; -#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2328 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp34_ = gtk_builder_get_object (_tmp33_, "library_dir_button"); -#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2328 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp35_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp34_, gtk_file_chooser_button_get_type ()) ? ((GtkFileChooserButton*) _tmp34_) : NULL); -#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2328 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->library_dir_button); -#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2328 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->library_dir_button = _tmp35_; -#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2330 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp36_ = self->priv->builder; -#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2330 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp37_ = gtk_builder_get_object (_tmp36_, "external_photo_editor_combo"); -#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2330 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp38_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp37_, gtk_combo_box_get_type ()) ? ((GtkComboBox*) _tmp37_) : NULL); -#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2330 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->photo_editor_combo); -#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2330 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->photo_editor_combo = _tmp38_; -#line 2315 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2331 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp39_ = self->priv->builder; -#line 2315 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2331 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp40_ = gtk_builder_get_object (_tmp39_, "external_raw_editor_combo"); -#line 2315 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2331 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp41_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp40_, gtk_combo_box_get_type ()) ? ((GtkComboBox*) _tmp40_) : NULL); -#line 2315 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2331 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->raw_editor_combo); -#line 2315 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2331 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->raw_editor_combo = _tmp41_; -#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2333 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp42_ = self->priv->builder; -#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2333 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp43_ = gtk_builder_get_object (_tmp42_, "pattern_help"); -#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2333 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp44_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp43_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp43_) : NULL); -#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2333 "/home/jens/Source/shotwell/src/Dialogs.vala" pattern_help = _tmp44_; -#line 2324 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2340 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp45_ = resources_get_help_path (); -#line 2324 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2340 "/home/jens/Source/shotwell/src/Dialogs.vala" help_path = _tmp45_; -#line 2326 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2342 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp46_ = help_path; -#line 2326 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2342 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp46_ == NULL) { -#line 18311 "Dialogs.c" +#line 18439 "Dialogs.c" GtkLabel* _tmp47_ = NULL; const gchar* _tmp48_ = NULL; gchar* _tmp49_ = NULL; gchar* _tmp50_ = NULL; gchar* _tmp51_ = NULL; gchar* _tmp52_ = NULL; -#line 2328 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp47_ = pattern_help; -#line 2328 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp48_ = _ ("(Help)"); -#line 2328 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp49_ = g_strconcat ("<a href=\"" RESOURCES_DIR_PATTERN_URI_SYSWIDE "\">", _tmp48_, NULL); -#line 2328 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp50_ = _tmp49_; -#line 2328 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp51_ = g_strconcat (_tmp50_, "</a>", NULL); -#line 2328 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp52_ = _tmp51_; -#line 2328 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_markup (_tmp47_, _tmp52_); -#line 2328 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp52_); -#line 2328 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp50_); -#line 18336 "Dialogs.c" +#line 18464 "Dialogs.c" } else { GtkLabel* _tmp53_ = NULL; const gchar* _tmp54_ = NULL; @@ -18358,270 +18486,270 @@ static PreferencesDialog* preferences_dialog_construct (GType object_type) { gchar* _tmp57_ = NULL; gchar* _tmp58_ = NULL; GtkLabel* _tmp59_ = NULL; -#line 2332 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp53_ = pattern_help; -#line 2332 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp54_ = _ ("(Help)"); -#line 2332 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp55_ = g_strconcat ("<a href=\"dummy:\">", _tmp54_, NULL); -#line 2332 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp56_ = _tmp55_; -#line 2332 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp57_ = g_strconcat (_tmp56_, "</a>", NULL); -#line 2332 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp58_ = _tmp57_; -#line 2332 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_markup (_tmp53_, _tmp58_); -#line 2332 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp58_); -#line 2332 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp56_); -#line 2333 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2349 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp59_ = pattern_help; -#line 2333 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2349 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (_tmp59_, "activate-link", (GCallback) _preferences_dialog_on_local_pattern_help_gtk_label_activate_link, self); -#line 18367 "Dialogs.c" +#line 18495 "Dialogs.c" } -#line 2336 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2352 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp60_ = (GtkComboBoxText*) gtk_combo_box_text_new (); -#line 2336 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2352 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp60_); -#line 2336 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2352 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->dir_pattern_combo); -#line 2336 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2352 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->dir_pattern_combo = _tmp60_; -#line 2337 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2353 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp61_ = self->priv->builder; -#line 2337 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2353 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp62_ = gtk_builder_get_object (_tmp61_, "dir choser"); -#line 2337 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2353 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp63_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp62_, gtk_alignment_get_type ()) ? ((GtkAlignment*) _tmp62_) : NULL); -#line 2337 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2353 "/home/jens/Source/shotwell/src/Dialogs.vala" dir_choser_align = _tmp63_; -#line 2338 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp64_ = self->priv->dir_pattern_combo; -#line 2338 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (dir_choser_align, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, gtk_widget_get_type (), GtkWidget)); -#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp65_ = self->priv->builder; -#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp66_ = gtk_builder_get_object (_tmp65_, "dir_pattern_entry"); -#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp67_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp66_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp66_) : NULL); -#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->dir_pattern_entry); -#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->dir_pattern_entry = _tmp67_; -#line 2340 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2356 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp68_ = self->priv->builder; -#line 2340 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2356 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp69_ = gtk_builder_get_object (_tmp68_, "dynamic example"); -#line 2340 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2356 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp70_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp69_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp69_) : NULL); -#line 2340 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2356 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->dir_pattern_example); -#line 2340 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2356 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->dir_pattern_example = _tmp70_; -#line 2341 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp71_ = _ ("Year%sMonth%sDay"); -#line 2341 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp72_ = g_strdup_printf (_tmp71_, G_DIR_SEPARATOR_S, G_DIR_SEPARATOR_S); -#line 2341 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp73_ = _tmp72_; -#line 2341 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_add_to_dir_formats (self, _tmp73_, "%Y" G_DIR_SEPARATOR_S "%m" G_DIR_SEPARATOR_S "%d"); -#line 2341 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp73_); -#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2359 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp74_ = _ ("Year%sMonth"); -#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2359 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp75_ = g_strdup_printf (_tmp74_, G_DIR_SEPARATOR_S); -#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2359 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp76_ = _tmp75_; -#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2359 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_add_to_dir_formats (self, _tmp76_, "%Y" G_DIR_SEPARATOR_S "%m"); -#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2359 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp76_); -#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2361 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp77_ = _ ("Year%sMonth-Day"); -#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2361 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp78_ = g_strdup_printf (_tmp77_, G_DIR_SEPARATOR_S); -#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2361 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp79_ = _tmp78_; -#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2361 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_add_to_dir_formats (self, _tmp79_, "%Y" G_DIR_SEPARATOR_S "%m-%d"); -#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2361 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp79_); -#line 2347 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp80_ = _ ("Year-Month-Day"); -#line 2347 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_add_to_dir_formats (self, _tmp80_, "%Y-%m-%d"); -#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2364 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp81_ = _ ("Custom"); -#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2364 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_add_to_dir_formats (self, _tmp81_, NULL); -#line 2349 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2365 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp82_ = self->priv->dir_pattern_combo; -#line 2349 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2365 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp82_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _preferences_dialog_on_dir_pattern_combo_changed_gtk_combo_box_changed, self); -#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2366 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp83_ = self->priv->dir_pattern_entry; -#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2366 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp83_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _preferences_dialog_on_dir_pattern_entry_changed_gtk_editable_changed, self); -#line 2352 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2368 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp84_ = self->priv->builder; -#line 2352 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2368 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp85_ = gtk_builder_get_object (_tmp84_, "dir_structure_label"); -#line 2352 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2368 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp86_ = self->priv->dir_pattern_combo; -#line 2352 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2368 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_mnemonic_widget (G_TYPE_CHECK_INSTANCE_TYPE (_tmp85_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp85_) : NULL, G_TYPE_CHECK_INSTANCE_CAST (_tmp86_, gtk_widget_get_type (), GtkWidget)); -#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp87_ = self->priv->builder; -#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp88_ = gtk_builder_get_object (_tmp87_, "lowercase"); -#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp89_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp88_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp88_) : NULL); -#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->lowercase); -#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->lowercase = _tmp89_; -#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp90_ = self->priv->lowercase; -#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp90_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) _preferences_dialog_on_lowercase_toggled_gtk_toggle_button_toggled, self); -#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp91_ = self->priv->builder; -#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp92_ = gtk_builder_get_object (_tmp91_, "plugin-manifest-bin"); -#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp93_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp92_, gtk_bin_get_type ()) ? ((GtkBin*) _tmp92_) : NULL); -#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala" plugin_manifest_container = _tmp93_; -#line 2358 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp94_ = self->priv->plugins_mediator; -#line 2358 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp95_ = plugins_manifest_widget_mediator_get_widget (_tmp94_); -#line 2358 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp96_ = _tmp95_; -#line 2358 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (plugin_manifest_container, gtk_container_get_type (), GtkContainer), _tmp96_); -#line 2360 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2376 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_populate_preference_options (self); -#line 2362 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp97_ = self->priv->photo_editor_combo; -#line 2362 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (_tmp97_, "changed", (GCallback) _preferences_dialog_on_photo_editor_changed_gtk_combo_box_changed, self); -#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2379 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp98_ = self->priv->raw_editor_combo; -#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2379 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (_tmp98_, "changed", (GCallback) _preferences_dialog_on_raw_editor_changed_gtk_combo_box_changed, self); -#line 2365 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp99_ = self->priv->builder; -#line 2365 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp100_ = gtk_builder_get_object (_tmp99_, "autoimport"); -#line 2365 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp101_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp100_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp100_) : NULL); -#line 2365 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" auto_import_button = _tmp101_; -#line 2366 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2382 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp102_ = config_facade_get_instance (); -#line 2366 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2382 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp103_ = _tmp102_; -#line 2366 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2382 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp104_ = configuration_facade_get_auto_import_from_library (G_TYPE_CHECK_INSTANCE_CAST (_tmp103_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 2366 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2382 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (auto_import_button, gtk_toggle_button_get_type (), GtkToggleButton), _tmp104_); -#line 2366 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2382 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp103_); -#line 2368 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp105_ = self->priv->builder; -#line 2368 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp106_ = gtk_builder_get_object (_tmp105_, "write_metadata"); -#line 2368 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp107_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp106_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp106_) : NULL); -#line 2368 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" commit_metadata_button = _tmp107_; -#line 2369 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2385 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp108_ = config_facade_get_instance (); -#line 2369 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2385 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp109_ = _tmp108_; -#line 2369 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2385 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp110_ = configuration_facade_get_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp109_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 2369 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2385 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (commit_metadata_button, gtk_toggle_button_get_type (), GtkToggleButton), _tmp110_); -#line 2369 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2385 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp109_); -#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2387 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp111_ = self->priv->builder; -#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2387 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp112_ = gtk_builder_get_object (_tmp111_, "default_raw_developer"); -#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2387 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp113_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp112_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp112_) : NULL); -#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2387 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->default_raw_developer_combo); -#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2387 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->default_raw_developer_combo = _tmp113_; -#line 2372 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2388 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp114_ = self->priv->default_raw_developer_combo; -#line 2372 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2388 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp115_ = raw_developer_get_label (RAW_DEVELOPER_CAMERA); -#line 2372 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2388 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp116_ = _tmp115_; -#line 2372 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2388 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_text_append_text (_tmp114_, _tmp116_); -#line 2372 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2388 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp116_); -#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp117_ = self->priv->default_raw_developer_combo; -#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp118_ = raw_developer_get_label (RAW_DEVELOPER_SHOTWELL); -#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp119_ = _tmp118_; -#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_text_append_text (_tmp117_, _tmp119_); -#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp119_); -#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2390 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp120_ = config_facade_get_instance (); -#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2390 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp121_ = _tmp120_; -#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2390 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp122_ = configuration_facade_get_default_raw_developer (G_TYPE_CHECK_INSTANCE_CAST (_tmp121_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2390 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_set_raw_developer_combo (self, _tmp122_); -#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2390 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp121_); -#line 2375 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2391 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp123_ = self->priv->default_raw_developer_combo; -#line 2375 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2391 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp123_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _preferences_dialog_on_default_raw_developer_changed_gtk_combo_box_changed, self); -#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2393 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp124_ = self->priv->dialog; -#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2393 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp124_, gtk_widget_get_type (), GtkWidget), "map-event", (GCallback) _preferences_dialog_map_event_gtk_widget_map_event, self); -#line 2288 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (commit_metadata_button); -#line 2288 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (auto_import_button); -#line 2288 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (plugin_manifest_container); -#line 2288 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (dir_choser_align); -#line 2288 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (help_path); -#line 2288 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (pattern_help); -#line 2288 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 18601 "Dialogs.c" +#line 18729 "Dialogs.c" } static PreferencesDialog* preferences_dialog_new (void) { -#line 2288 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala" return preferences_dialog_construct (TYPE_PREFERENCES_DIALOG); -#line 18608 "Dialogs.c" +#line 18736 "Dialogs.c" } @@ -18652,150 +18780,150 @@ void preferences_dialog_populate_preference_options (PreferencesDialog* self) { ConfigFacade* _tmp21_ = NULL; ConfigFacade* _tmp22_ = NULL; gboolean _tmp23_ = FALSE; -#line 2380 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2397 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->photo_editor_combo; -#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2397 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = photo_file_format_get_editable_mime_types (&_tmp1_); -#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2397 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp2_; -#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2397 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3__length1 = _tmp1_; -#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2397 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = config_facade_get_instance (); -#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2397 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_; -#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2397 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = configuration_facade_get_external_photo_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2397 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _tmp6_; -#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2397 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_populate_app_combo_box (self, _tmp0_, _tmp3_, _tmp1_, _tmp7_, &_tmp8_); -#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2397 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->external_photo_apps); -#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2397 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->external_photo_apps = _tmp8_; -#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2397 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp7_); -#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2397 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp5_); -#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2397 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = (_vala_array_free (_tmp3_, _tmp3__length1, (GDestroyNotify) g_free), NULL); -#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = self->priv->raw_editor_combo; -#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = photo_file_format_get_mime_types (PHOTO_FILE_FORMAT_RAW, &_tmp10_); -#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = _tmp11_; -#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12__length1 = _tmp10_; -#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = config_facade_get_instance (); -#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = _tmp13_; -#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = configuration_facade_get_external_raw_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = _tmp15_; -#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_populate_app_combo_box (self, _tmp9_, _tmp12_, _tmp10_, _tmp16_, &_tmp17_); -#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->external_raw_apps); -#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->external_raw_apps = _tmp17_; -#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp16_); -#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp14_); -#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = (_vala_array_free (_tmp12_, _tmp12__length1, (GDestroyNotify) g_free), NULL); -#line 2387 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = self->priv->dir_pattern_combo; -#line 2387 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = self->priv->dir_pattern_entry; -#line 2387 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_setup_dir_pattern (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_combo_box_get_type (), GtkComboBox), _tmp19_); -#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2405 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = self->priv->lowercase; -#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2405 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = config_facade_get_instance (); -#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2405 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = _tmp21_; -#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2405 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = configuration_facade_get_use_lowercase_filenames (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2405 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp23_); -#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2405 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp22_); -#line 18715 "Dialogs.c" +#line 18843 "Dialogs.c" } static gboolean preferences_dialog_on_local_pattern_help (PreferencesDialog* self, const gchar* ignore) { gboolean result = FALSE; GError * _inner_error_ = NULL; -#line 2394 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2410 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), FALSE); -#line 2394 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2410 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (ignore != NULL, FALSE); -#line 18726 "Dialogs.c" +#line 18854 "Dialogs.c" { AppWindow* _tmp0_ = NULL; AppWindow* _tmp1_ = NULL; GdkScreen* _tmp2_ = NULL; -#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = app_window_get_instance (); -#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _tmp0_; -#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_window_get_screen (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_window_get_type (), GtkWindow)); -#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala" resources_launch_help (_tmp2_, "other-files.page", &_inner_error_); -#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp1_); -#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 18743 "Dialogs.c" - goto __catch414_g_error; +#line 18871 "Dialogs.c" + goto __catch427_g_error; } } - goto __finally414; - __catch414_g_error: + goto __finally427; + __catch427_g_error: { GError* e = NULL; GError* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 2395 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala" e = _inner_error_; -#line 2395 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala" _inner_error_ = NULL; -#line 2398 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2414 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = e; -#line 2398 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2414 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp3_->message; -#line 2398 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_message ("Dialogs.vala:2398: Unable to launch help: %s", _tmp4_); -#line 2395 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2414 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_message ("Dialogs.vala:2414: Unable to launch help: %s", _tmp4_); +#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_error_free0 (e); -#line 18765 "Dialogs.c" +#line 18893 "Dialogs.c" } - __finally414: -#line 2395 "/home/jens/Source/shotwell/src/Dialogs.vala" + __finally427: +#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2395 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 2395 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala" g_clear_error (&_inner_error_); -#line 2395 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala" return FALSE; -#line 18776 "Dialogs.c" +#line 18904 "Dialogs.c" } -#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2416 "/home/jens/Source/shotwell/src/Dialogs.vala" result = TRUE; -#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2416 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 18782 "Dialogs.c" +#line 18910 "Dialogs.c" } @@ -18830,110 +18958,110 @@ static void preferences_dialog_populate_app_combo_box (PreferencesDialog* self, GtkListStore* _tmp68_ = NULL; gint _tmp69_ = 0; GError * _inner_error_ = NULL; -#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (GTK_IS_COMBO_BOX (combo_box)); -#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (current_app_executable != NULL); -#line 2406 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = mime_types; -#line 2406 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0__length1 = mime_types_length1; -#line 2406 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_assert (_tmp0__length1 != 0, "mime_types.length != 0"); -#line 2407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2423 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = mime_types; -#line 2407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2423 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1__length1 = mime_types_length1; -#line 2407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2423 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = desktop_integration_get_apps_for_mime_types (_tmp1_, _tmp1__length1); -#line 2407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2423 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_vala_external_apps); -#line 2407 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2423 "/home/jens/Source/shotwell/src/Dialogs.vala" _vala_external_apps = _tmp2_; -#line 2409 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2425 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _vala_external_apps; -#line 2409 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2425 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 2409 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2425 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_; -#line 2409 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2425 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp5_ == 0) { -#line 2410 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2426 "/home/jens/Source/shotwell/src/Dialogs.vala" if (external_apps) { -#line 2410 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2426 "/home/jens/Source/shotwell/src/Dialogs.vala" *external_apps = _vala_external_apps; -#line 18851 "Dialogs.c" +#line 18979 "Dialogs.c" } else { -#line 2410 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2426 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_vala_external_apps); -#line 18855 "Dialogs.c" +#line 18983 "Dialogs.c" } -#line 2410 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2426 "/home/jens/Source/shotwell/src/Dialogs.vala" return; -#line 18859 "Dialogs.c" +#line 18987 "Dialogs.c" } -#line 2413 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2429 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = (GtkCellRendererPixbuf*) gtk_cell_renderer_pixbuf_new (); -#line 2413 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2429 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp6_); -#line 2413 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2429 "/home/jens/Source/shotwell/src/Dialogs.vala" pixbuf_renderer = _tmp6_; -#line 2414 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2430 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = (GtkCellRendererText*) gtk_cell_renderer_text_new (); -#line 2414 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2430 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp7_); -#line 2414 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2430 "/home/jens/Source/shotwell/src/Dialogs.vala" text_renderer = _tmp7_; -#line 2415 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = combo_box; -#line 2415 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_cell_layout_clear (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout)); -#line 2416 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = combo_box; -#line 2416 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = pixbuf_renderer; -#line 2416 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_cell_renderer_get_type (), GtkCellRenderer), FALSE); -#line 2417 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = combo_box; -#line 2417 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = text_renderer; -#line 2417 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_cell_renderer_get_type (), GtkCellRenderer), FALSE); -#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2434 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = combo_box; -#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2434 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = pixbuf_renderer; -#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2434 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_cell_renderer_get_type (), GtkCellRenderer), "pixbuf", 0); -#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2435 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = combo_box; -#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2435 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = text_renderer; -#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2435 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_cell_renderer_get_type (), GtkCellRenderer), "text", 1); -#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = gtk_list_store_new (2, GDK_TYPE_PIXBUF, G_TYPE_STRING, -1); -#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala" combo_store = _tmp17_; -#line 2425 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2441 "/home/jens/Source/shotwell/src/Dialogs.vala" current_app = -1; -#line 18907 "Dialogs.c" +#line 19035 "Dialogs.c" { GeeIterator* _app_it = NULL; SortedList* _tmp18_ = NULL; GeeIterator* _tmp19_ = NULL; -#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = _vala_external_apps; -#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala" _app_it = _tmp19_; -#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 18920 "Dialogs.c" +#line 19048 "Dialogs.c" GeeIterator* _tmp20_ = NULL; gboolean _tmp21_ = FALSE; GAppInfo* app = NULL; @@ -18953,44 +19081,44 @@ static void preferences_dialog_populate_app_combo_box (PreferencesDialog* self, GAppInfo* _tmp61_ = NULL; const gchar* _tmp62_ = NULL; const gchar* _tmp63_ = NULL; -#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = _app_it; -#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = gee_iterator_next (_tmp20_); -#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp21_) { -#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 18948 "Dialogs.c" +#line 19076 "Dialogs.c" } -#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = _app_it; -#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = gee_iterator_get (_tmp22_); -#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala" app = (GAppInfo*) _tmp23_; -#line 2428 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2444 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = combo_store; -#line 2428 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2444 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_list_store_append (_tmp24_, &_tmp25_); -#line 2428 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2444 "/home/jens/Source/shotwell/src/Dialogs.vala" iter = _tmp25_; -#line 2430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = app; -#line 2430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = g_app_info_get_icon (_tmp26_); -#line 2430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = _g_object_ref0 (_tmp27_); -#line 2430 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala" app_icon = _tmp28_; -#line 18970 "Dialogs.c" +#line 19098 "Dialogs.c" { GIcon* _tmp29_ = NULL; -#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = app_icon; -#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp29_, g_file_icon_get_type ())) { -#line 18977 "Dialogs.c" +#line 19105 "Dialogs.c" GdkPixbuf* _tmp30_ = NULL; GIcon* _tmp31_ = NULL; GFile* _tmp32_ = NULL; @@ -19002,51 +19130,51 @@ static void preferences_dialog_populate_app_combo_box (PreferencesDialog* self, GtkTreeIter _tmp38_ = {0}; GdkPixbuf* _tmp39_ = NULL; GValue _tmp40_ = {0}; -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = app_icon; -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = g_file_icon_get_file (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, g_file_icon_get_type (), GFileIcon)); -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = g_file_get_path (_tmp32_); -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp34_ = _tmp33_; -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp35_ = gdk_pixbuf_new_from_file (_tmp34_, &_inner_error_); -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp36_ = _tmp35_; -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp34_); -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = _tmp36_; -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 19007 "Dialogs.c" - goto __catch415_g_error; +#line 19135 "Dialogs.c" + goto __catch428_g_error; } -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp37_ = combo_store; -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp38_ = iter; -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp39_ = scale_pixbuf (_tmp30_, RESOURCES_DEFAULT_ICON_SCALE, GDK_INTERP_BILINEAR, FALSE); -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" g_value_init (&_tmp40_, GDK_TYPE_PIXBUF); -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" g_value_take_object (&_tmp40_, _tmp39_); -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_list_store_set_value (_tmp37_, &_tmp38_, 0, &_tmp40_); -#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" G_IS_VALUE (&_tmp40_) ? (g_value_unset (&_tmp40_), NULL) : NULL; -#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp30_); -#line 19026 "Dialogs.c" +#line 19154 "Dialogs.c" } else { GIcon* _tmp41_ = NULL; -#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp41_ = app_icon; -#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp41_, g_themed_icon_get_type ())) { -#line 19033 "Dialogs.c" +#line 19161 "Dialogs.c" GdkPixbuf* icon_pixbuf = NULL; GtkIconTheme* _tmp42_ = NULL; GIcon* _tmp43_ = NULL; @@ -19058,178 +19186,178 @@ static void preferences_dialog_populate_app_combo_box (PreferencesDialog* self, GtkTreeIter _tmp49_ = {0}; GdkPixbuf* _tmp50_ = NULL; GValue _tmp51_ = {0}; -#line 2437 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2453 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp42_ = gtk_icon_theme_get_default (); -#line 2437 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2453 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp43_ = app_icon; -#line 2437 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2453 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp45_ = _tmp44_ = g_themed_icon_get_names (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, g_themed_icon_get_type (), GThemedIcon)); -#line 2437 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2453 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp46_ = _tmp45_[0]; -#line 2437 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2453 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp47_ = gtk_icon_theme_load_icon (_tmp42_, _tmp46_, RESOURCES_DEFAULT_ICON_SCALE, GTK_ICON_LOOKUP_FORCE_SIZE, &_inner_error_); -#line 2437 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2453 "/home/jens/Source/shotwell/src/Dialogs.vala" icon_pixbuf = _tmp47_; -#line 2437 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2453 "/home/jens/Source/shotwell/src/Dialogs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 19059 "Dialogs.c" - goto __catch415_g_error; +#line 19187 "Dialogs.c" + goto __catch428_g_error; } -#line 2441 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2457 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp48_ = combo_store; -#line 2441 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2457 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp49_ = iter; -#line 2441 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2457 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp50_ = icon_pixbuf; -#line 2441 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2457 "/home/jens/Source/shotwell/src/Dialogs.vala" g_value_init (&_tmp51_, GDK_TYPE_PIXBUF); -#line 2441 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2457 "/home/jens/Source/shotwell/src/Dialogs.vala" g_value_set_object (&_tmp51_, _tmp50_); -#line 2441 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2457 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_list_store_set_value (_tmp48_, &_tmp49_, 0, &_tmp51_); -#line 2441 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2457 "/home/jens/Source/shotwell/src/Dialogs.vala" G_IS_VALUE (&_tmp51_) ? (g_value_unset (&_tmp51_), NULL) : NULL; -#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (icon_pixbuf); -#line 19078 "Dialogs.c" +#line 19206 "Dialogs.c" } } } - goto __finally415; - __catch415_g_error: + goto __finally428; + __catch428_g_error: { GError* _error_ = NULL; GError* _tmp52_ = NULL; const gchar* _tmp53_ = NULL; gchar* _tmp54_ = NULL; gchar* _tmp55_ = NULL; -#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" _error_ = _inner_error_; -#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" _inner_error_ = NULL; -#line 2444 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2460 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp52_ = _error_; -#line 2444 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2460 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp53_ = _tmp52_->message; -#line 2444 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2460 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp54_ = g_strconcat ("Error loading icon pixbuf: ", _tmp53_, NULL); -#line 2444 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2460 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp55_ = _tmp54_; -#line 2444 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_warning ("Dialogs.vala:2444: %s", _tmp55_); -#line 2444 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2460 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_warning ("Dialogs.vala:2460: %s", _tmp55_); +#line 2460 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp55_); -#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_error_free0 (_error_); -#line 19108 "Dialogs.c" +#line 19236 "Dialogs.c" } - __finally415: -#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala" + __finally428: +#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (app_icon); -#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (app); -#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_app_it); -#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (combo_store); -#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (text_renderer); -#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (pixbuf_renderer); -#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" g_clear_error (&_inner_error_); -#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" return; -#line 19131 "Dialogs.c" +#line 19259 "Dialogs.c" } -#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2463 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp56_ = combo_store; -#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2463 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp57_ = iter; -#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2463 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp58_ = app; -#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2463 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp59_ = g_app_info_get_name (_tmp58_); -#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2463 "/home/jens/Source/shotwell/src/Dialogs.vala" g_value_init (&_tmp60_, G_TYPE_STRING); -#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2463 "/home/jens/Source/shotwell/src/Dialogs.vala" g_value_set_string (&_tmp60_, _tmp59_); -#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2463 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_list_store_set_value (_tmp56_, &_tmp57_, 1, &_tmp60_); -#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2463 "/home/jens/Source/shotwell/src/Dialogs.vala" G_IS_VALUE (&_tmp60_) ? (g_value_unset (&_tmp60_), NULL) : NULL; -#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2465 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp61_ = app; -#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2465 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp62_ = g_app_info_get_commandline (_tmp61_); -#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2465 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp63_ = current_app_executable; -#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2465 "/home/jens/Source/shotwell/src/Dialogs.vala" if (g_strcmp0 (_tmp62_, _tmp63_) == 0) { -#line 19157 "Dialogs.c" +#line 19285 "Dialogs.c" SortedList* _tmp64_ = NULL; GAppInfo* _tmp65_ = NULL; gint _tmp66_ = 0; -#line 2450 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2466 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp64_ = _vala_external_apps; -#line 2450 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2466 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp65_ = app; -#line 2450 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2466 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp66_ = sorted_list_index_of (_tmp64_, _tmp65_); -#line 2450 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2466 "/home/jens/Source/shotwell/src/Dialogs.vala" current_app = _tmp66_; -#line 19169 "Dialogs.c" +#line 19297 "Dialogs.c" } -#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (app_icon); -#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (app); -#line 19175 "Dialogs.c" +#line 19303 "Dialogs.c" } -#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_app_it); -#line 19179 "Dialogs.c" +#line 19307 "Dialogs.c" } -#line 2455 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2471 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp67_ = combo_box; -#line 2455 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2471 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp68_ = combo_store; -#line 2455 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2471 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_set_model (_tmp67_, G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, GTK_TYPE_TREE_MODEL, GtkTreeModel)); -#line 2457 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2473 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp69_ = current_app; -#line 2457 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2473 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp69_ != -1) { -#line 19191 "Dialogs.c" +#line 19319 "Dialogs.c" GtkComboBox* _tmp70_ = NULL; gint _tmp71_ = 0; -#line 2458 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2474 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp70_ = combo_box; -#line 2458 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2474 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp71_ = current_app; -#line 2458 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2474 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_set_active (_tmp70_, _tmp71_); -#line 19200 "Dialogs.c" +#line 19328 "Dialogs.c" } -#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (combo_store); -#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (text_renderer); -#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (pixbuf_renderer); -#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala" if (external_apps) { -#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala" *external_apps = _vala_external_apps; -#line 19212 "Dialogs.c" +#line 19340 "Dialogs.c" } else { -#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_vala_external_apps); -#line 19216 "Dialogs.c" +#line 19344 "Dialogs.c" } } @@ -19243,35 +19371,35 @@ static void preferences_dialog_setup_dir_pattern (PreferencesDialog* self, GtkCo gboolean found = FALSE; const gchar* _tmp4_ = NULL; gboolean _tmp32_ = FALSE; -#line 2461 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2461 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (GTK_IS_COMBO_BOX (combo_box)); -#line 2461 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (GTK_IS_ENTRY (entry)); -#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2478 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = config_facade_get_instance (); -#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2478 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _tmp0_; -#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2478 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = configuration_facade_get_directory_pattern (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2478 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp2_; -#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2478 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp1_); -#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2478 "/home/jens/Source/shotwell/src/Dialogs.vala" pattern = _tmp3_; -#line 2463 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2479 "/home/jens/Source/shotwell/src/Dialogs.vala" found = FALSE; -#line 2464 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2480 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = pattern; -#line 2464 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2480 "/home/jens/Source/shotwell/src/Dialogs.vala" if (NULL != _tmp4_) { -#line 19254 "Dialogs.c" +#line 19382 "Dialogs.c" gint i = 0; -#line 2466 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala" i = 0; -#line 19258 "Dialogs.c" +#line 19386 "Dialogs.c" { GeeArrayList* _pf_list = NULL; GeeArrayList* _tmp5_ = NULL; @@ -19281,25 +19409,25 @@ static void preferences_dialog_setup_dir_pattern (PreferencesDialog* self, GtkCo gint _tmp8_ = 0; gint _tmp9_ = 0; gint _pf_index = 0; -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = self->priv->path_formats; -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _g_object_ref0 (_tmp5_); -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _pf_list = _tmp6_; -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _pf_list; -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _tmp8_; -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _pf_size = _tmp9_; -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _pf_index = -1; -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" while (TRUE) { -#line 19286 "Dialogs.c" +#line 19414 "Dialogs.c" gint _tmp10_ = 0; gint _tmp11_ = 0; gint _tmp12_ = 0; @@ -19311,64 +19439,64 @@ static void preferences_dialog_setup_dir_pattern (PreferencesDialog* self, GtkCo const gchar* _tmp17_ = NULL; const gchar* _tmp18_ = NULL; gint _tmp21_ = 0; -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _pf_index; -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _pf_index = _tmp10_ + 1; -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = _pf_index; -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = _pf_size; -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!(_tmp11_ < _tmp12_)) { -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 19310 "Dialogs.c" +#line 19438 "Dialogs.c" } -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = _pf_list; -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = _pf_index; -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp14_); -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" pf = (PreferencesDialogPathFormat*) _tmp15_; -#line 2468 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = pf; -#line 2468 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = _tmp16_->pattern; -#line 2468 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = pattern; -#line 2468 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala" if (g_strcmp0 (_tmp17_, _tmp18_) == 0) { -#line 19328 "Dialogs.c" +#line 19456 "Dialogs.c" GtkComboBox* _tmp19_ = NULL; gint _tmp20_ = 0; -#line 2469 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2485 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = combo_box; -#line 2469 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2485 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = i; -#line 2469 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2485 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_set_active (_tmp19_, _tmp20_); -#line 2470 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2486 "/home/jens/Source/shotwell/src/Dialogs.vala" found = TRUE; -#line 2471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2487 "/home/jens/Source/shotwell/src/Dialogs.vala" _preferences_dialog_path_format_unref0 (pf); -#line 2471 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2487 "/home/jens/Source/shotwell/src/Dialogs.vala" break; -#line 19343 "Dialogs.c" +#line 19471 "Dialogs.c" } -#line 2473 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2489 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = i; -#line 2473 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2489 "/home/jens/Source/shotwell/src/Dialogs.vala" i = _tmp21_ + 1; -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _preferences_dialog_path_format_unref0 (pf); -#line 19351 "Dialogs.c" +#line 19479 "Dialogs.c" } -#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_pf_list); -#line 19355 "Dialogs.c" +#line 19483 "Dialogs.c" } } else { gchar* s = NULL; @@ -19378,64 +19506,64 @@ static void preferences_dialog_setup_dir_pattern (PreferencesDialog* self, GtkCo gchar* _tmp25_ = NULL; const gchar* _tmp26_ = NULL; gboolean _tmp27_ = FALSE; -#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2493 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = config_facade_get_instance (); -#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2493 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = _tmp22_; -#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2493 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = configuration_facade_get_directory_pattern_custom (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2493 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = _tmp24_; -#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2493 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp23_); -#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2493 "/home/jens/Source/shotwell/src/Dialogs.vala" s = _tmp25_; -#line 2478 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2494 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = s; -#line 2478 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2494 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = is_string_empty (_tmp26_); -#line 2478 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2494 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp27_) { -#line 19383 "Dialogs.c" +#line 19511 "Dialogs.c" GtkComboBox* _tmp28_ = NULL; GeeArrayList* _tmp29_ = NULL; gint _tmp30_ = 0; gint _tmp31_ = 0; -#line 2479 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2495 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = combo_box; -#line 2479 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2495 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = self->priv->path_formats; -#line 2479 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2495 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 2479 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2495 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = _tmp30_; -#line 2479 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2495 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_set_active (_tmp28_, _tmp31_ - 1); -#line 2480 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2496 "/home/jens/Source/shotwell/src/Dialogs.vala" found = TRUE; -#line 19400 "Dialogs.c" +#line 19528 "Dialogs.c" } -#line 2464 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2480 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (s); -#line 19404 "Dialogs.c" +#line 19532 "Dialogs.c" } -#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2500 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = found; -#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2500 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp32_) { -#line 19410 "Dialogs.c" +#line 19538 "Dialogs.c" GtkComboBox* _tmp33_ = NULL; -#line 2485 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2501 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = combo_box; -#line 2485 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2501 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_set_active (_tmp33_, 0); -#line 19416 "Dialogs.c" +#line 19544 "Dialogs.c" } -#line 2488 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2504 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_on_dir_pattern_combo_changed (self); -#line 2461 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (pattern); -#line 19422 "Dialogs.c" +#line 19550 "Dialogs.c" } @@ -19452,55 +19580,55 @@ void preferences_dialog_show (void) { gchar* _tmp10_ = NULL; PreferencesDialog* _tmp11_ = NULL; GtkDialog* _tmp12_ = NULL; -#line 2492 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2508 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = preferences_dialog_preferences_dialog; -#line 2492 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2508 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_ == NULL) { -#line 19443 "Dialogs.c" +#line 19571 "Dialogs.c" PreferencesDialog* _tmp1_ = NULL; -#line 2493 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2509 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = preferences_dialog_new (); -#line 2493 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2509 "/home/jens/Source/shotwell/src/Dialogs.vala" _preferences_dialog_unref0 (preferences_dialog_preferences_dialog); -#line 2493 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2509 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_preferences_dialog = _tmp1_; -#line 19451 "Dialogs.c" +#line 19579 "Dialogs.c" } -#line 2495 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = preferences_dialog_preferences_dialog; -#line 2495 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_populate_preference_options (_tmp2_); -#line 2496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = preferences_dialog_preferences_dialog; -#line 2496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _tmp3_->priv->dialog; -#line 2496 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget)); -#line 2497 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2513 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = preferences_dialog_preferences_dialog; -#line 2497 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2513 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _tmp5_->priv->library_dir_button; -#line 2497 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2513 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = app_dirs_get_import_dir (); -#line 2497 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2513 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _tmp7_; -#line 2497 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2513 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = g_file_get_path (_tmp8_); -#line 2497 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2513 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp9_; -#line 2497 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2513 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_file_chooser_set_current_folder (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), _tmp10_); -#line 2497 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2513 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp10_); -#line 2497 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2513 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp8_); -#line 2501 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2517 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = preferences_dialog_preferences_dialog; -#line 2501 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2517 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = _tmp11_->priv->dialog; -#line 2501 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2517 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_window_get_type (), GtkWindow)); -#line 19487 "Dialogs.c" +#line 19615 "Dialogs.c" } @@ -19525,113 +19653,113 @@ static void preferences_dialog_commit_on_close (PreferencesDialog* self) { gpointer _tmp25_ = NULL; PreferencesDialogPathFormat* _tmp26_ = NULL; const gchar* _tmp27_ = NULL; -#line 2506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2507 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2523 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = config_facade_get_instance (); -#line 2507 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2523 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _tmp0_; -#line 2507 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2523 "/home/jens/Source/shotwell/src/Dialogs.vala" config_facade_commit_bg_color (_tmp1_); -#line 2507 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2523 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp1_); -#line 2509 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = self->priv->builder; -#line 2509 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gtk_builder_get_object (_tmp2_, "autoimport"); -#line 2509 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp3_) : NULL); -#line 2509 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala" autoimport = _tmp4_; -#line 2510 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2526 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = autoimport; -#line 2510 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2526 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp5_ != NULL) { -#line 19534 "Dialogs.c" +#line 19662 "Dialogs.c" ConfigFacade* _tmp6_ = NULL; ConfigFacade* _tmp7_ = NULL; GtkCheckButton* _tmp8_ = NULL; gboolean _tmp9_ = FALSE; gboolean _tmp10_ = FALSE; -#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = config_facade_get_instance (); -#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _tmp6_; -#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = autoimport; -#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp9_; -#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala" configuration_facade_set_auto_import_from_library (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp10_); -#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp7_); -#line 19554 "Dialogs.c" +#line 19682 "Dialogs.c" } -#line 2513 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2529 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = self->priv->builder; -#line 2513 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2529 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = gtk_builder_get_object (_tmp11_, "write_metadata"); -#line 2513 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2529 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp12_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp12_) : NULL); -#line 2513 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2529 "/home/jens/Source/shotwell/src/Dialogs.vala" commit_metadata = _tmp13_; -#line 2514 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = commit_metadata; -#line 2514 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp14_ != NULL) { -#line 19568 "Dialogs.c" +#line 19696 "Dialogs.c" ConfigFacade* _tmp15_ = NULL; ConfigFacade* _tmp16_ = NULL; GtkCheckButton* _tmp17_ = NULL; gboolean _tmp18_ = FALSE; gboolean _tmp19_ = FALSE; -#line 2515 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2531 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = config_facade_get_instance (); -#line 2515 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2531 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = _tmp15_; -#line 2515 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2531 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = commit_metadata; -#line 2515 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2531 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 2515 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2531 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = _tmp18_; -#line 2515 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2531 "/home/jens/Source/shotwell/src/Dialogs.vala" configuration_facade_set_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp19_); -#line 2515 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2531 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp16_); -#line 19588 "Dialogs.c" +#line 19716 "Dialogs.c" } -#line 2517 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2533 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = self->priv->lib_dir; -#line 2517 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2533 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp20_ != NULL) { -#line 19594 "Dialogs.c" +#line 19722 "Dialogs.c" const gchar* _tmp21_ = NULL; -#line 2518 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2534 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = self->priv->lib_dir; -#line 2518 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2534 "/home/jens/Source/shotwell/src/Dialogs.vala" app_dirs_set_import_dir (_tmp21_); -#line 19600 "Dialogs.c" +#line 19728 "Dialogs.c" } -#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2536 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = self->priv->path_formats; -#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2536 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = self->priv->dir_pattern_combo; -#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2536 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_combo_box_get_type (), GtkComboBox)); -#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2536 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp24_); -#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2536 "/home/jens/Source/shotwell/src/Dialogs.vala" pf = (PreferencesDialogPathFormat*) _tmp25_; -#line 2521 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2537 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = pf; -#line 2521 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2537 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = _tmp26_->pattern; -#line 2521 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2537 "/home/jens/Source/shotwell/src/Dialogs.vala" if (NULL == _tmp27_) { -#line 19618 "Dialogs.c" +#line 19746 "Dialogs.c" ConfigFacade* _tmp28_ = NULL; ConfigFacade* _tmp29_ = NULL; GtkEntry* _tmp30_ = NULL; @@ -19639,55 +19767,55 @@ static void preferences_dialog_commit_on_close (PreferencesDialog* self) { const gchar* _tmp32_ = NULL; ConfigFacade* _tmp33_ = NULL; ConfigFacade* _tmp34_ = NULL; -#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2538 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = config_facade_get_instance (); -#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2538 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp29_ = _tmp28_; -#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2538 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = self->priv->dir_pattern_entry; -#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2538 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = gtk_entry_get_text (_tmp30_); -#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2538 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = _tmp31_; -#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2538 "/home/jens/Source/shotwell/src/Dialogs.vala" configuration_facade_set_directory_pattern_custom (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp32_); -#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2538 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp29_); -#line 2523 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2539 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = config_facade_get_instance (); -#line 2523 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2539 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp34_ = _tmp33_; -#line 2523 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2539 "/home/jens/Source/shotwell/src/Dialogs.vala" configuration_facade_set_directory_pattern (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), NULL); -#line 2523 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2539 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp34_); -#line 19648 "Dialogs.c" +#line 19776 "Dialogs.c" } else { ConfigFacade* _tmp35_ = NULL; ConfigFacade* _tmp36_ = NULL; PreferencesDialogPathFormat* _tmp37_ = NULL; const gchar* _tmp38_ = NULL; -#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2541 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp35_ = config_facade_get_instance (); -#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2541 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp36_ = _tmp35_; -#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2541 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp37_ = pf; -#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2541 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp38_ = _tmp37_->pattern; -#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2541 "/home/jens/Source/shotwell/src/Dialogs.vala" configuration_facade_set_directory_pattern (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp38_); -#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2541 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp36_); -#line 19666 "Dialogs.c" +#line 19794 "Dialogs.c" } -#line 2506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala" _preferences_dialog_path_format_unref0 (pf); -#line 2506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (commit_metadata); -#line 2506 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (autoimport); -#line 19674 "Dialogs.c" +#line 19802 "Dialogs.c" } @@ -19696,52 +19824,52 @@ static gboolean preferences_dialog_on_delete (PreferencesDialog* self) { gboolean _tmp0_ = FALSE; GtkDialog* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 2529 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2545 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), FALSE); -#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2546 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = preferences_dialog_get_allow_closing (self); -#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2546 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp0_) { -#line 2531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2547 "/home/jens/Source/shotwell/src/Dialogs.vala" result = TRUE; -#line 2531 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2547 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 19693 "Dialogs.c" +#line 19821 "Dialogs.c" } -#line 2533 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2549 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_commit_on_close (self); -#line 2534 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2550 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->dialog; -#line 2534 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2550 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_widget_hide_on_delete (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget)); -#line 2534 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2550 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp2_; -#line 2534 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2550 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 19705 "Dialogs.c" +#line 19833 "Dialogs.c" } static void preferences_dialog_on_close (PreferencesDialog* self) { gboolean _tmp0_ = FALSE; GtkDialog* _tmp1_ = NULL; -#line 2537 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2553 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2554 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = preferences_dialog_get_allow_closing (self); -#line 2538 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2554 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp0_) { -#line 2539 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2555 "/home/jens/Source/shotwell/src/Dialogs.vala" return; -#line 19720 "Dialogs.c" +#line 19848 "Dialogs.c" } -#line 2541 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2557 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->dialog; -#line 2541 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2557 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget)); -#line 2542 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2558 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_commit_on_close (self); -#line 19728 "Dialogs.c" +#line 19856 "Dialogs.c" } @@ -19750,19 +19878,19 @@ static void preferences_dialog_on_value_changed (PreferencesDialog* self) { gdouble _tmp1_ = 0.0; GtkAdjustment* _tmp2_ = NULL; gdouble _tmp3_ = 0.0; -#line 2545 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2561 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2546 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2562 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->bg_color_adjustment; -#line 2546 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2562 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gtk_adjustment_get_upper (_tmp0_); -#line 2546 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2562 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = self->priv->bg_color_adjustment; -#line 2546 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2562 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gtk_adjustment_get_value (_tmp2_); -#line 2546 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2562 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_set_background_color (self, ((gdouble) (_tmp1_ - _tmp3_)) / 65535.0); -#line 19749 "Dialogs.c" +#line 19877 "Dialogs.c" } @@ -19772,84 +19900,84 @@ static gboolean preferences_dialog_on_bg_color_reset (PreferencesDialog* self, G gboolean _tmp1_ = FALSE; GdkEventButton* _tmp2_ = NULL; guint _tmp3_ = 0U; -#line 2550 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), FALSE); -#line 2550 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2567 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = event; -#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2567 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp2_->button; -#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2567 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp3_ == ((guint) 1)) { -#line 19769 "Dialogs.c" +#line 19897 "Dialogs.c" GdkEventButton* _tmp4_ = NULL; GdkEventType _tmp5_ = 0; -#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2567 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = event; -#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2567 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_->type; -#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2567 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _tmp5_ == GDK_BUTTON_PRESS; -#line 19778 "Dialogs.c" +#line 19906 "Dialogs.c" } else { -#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2567 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = FALSE; -#line 19782 "Dialogs.c" +#line 19910 "Dialogs.c" } -#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2567 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp1_) { -#line 19786 "Dialogs.c" +#line 19914 "Dialogs.c" GdkEventButton* _tmp6_ = NULL; GdkModifierType _tmp7_ = 0; gboolean _tmp8_ = FALSE; -#line 2552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = event; -#line 2552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _tmp6_->state; -#line 2552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = has_only_key_modifier (_tmp7_, GDK_CONTROL_MASK); -#line 2552 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2568 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _tmp8_; -#line 19798 "Dialogs.c" +#line 19926 "Dialogs.c" } else { -#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2567 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = FALSE; -#line 19802 "Dialogs.c" +#line 19930 "Dialogs.c" } -#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2567 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_) { -#line 19806 "Dialogs.c" +#line 19934 "Dialogs.c" GtkScale* _tmp9_ = NULL; GtkAdjustment* _tmp10_ = NULL; gdouble _tmp11_ = 0.0; GdkRGBA _tmp12_ = {0}; gdouble _tmp13_ = 0.0; -#line 2554 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = self->priv->bg_color_slider; -#line 2554 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = self->priv->bg_color_adjustment; -#line 2554 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = gtk_adjustment_get_upper (_tmp10_); -#line 2554 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala" parse_color (CONFIG_FACADE_DEFAULT_BG_COLOR, &_tmp12_); -#line 2554 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = _tmp12_.red; -#line 2554 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_range_get_type (), GtkRange), _tmp11_ - (_tmp13_ * 65536.0f)); -#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2572 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_on_value_changed (self); -#line 2558 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2574 "/home/jens/Source/shotwell/src/Dialogs.vala" result = TRUE; -#line 2558 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2574 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 19830 "Dialogs.c" +#line 19958 "Dialogs.c" } -#line 2561 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2577 "/home/jens/Source/shotwell/src/Dialogs.vala" result = FALSE; -#line 2561 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2577 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 19836 "Dialogs.c" +#line 19964 "Dialogs.c" } @@ -19861,25 +19989,25 @@ static void preferences_dialog_on_dir_pattern_combo_changed (PreferencesDialog* gpointer _tmp3_ = NULL; PreferencesDialogPathFormat* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; -#line 2564 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2580 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2565 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2581 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->path_formats; -#line 2565 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2581 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->dir_pattern_combo; -#line 2565 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2581 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox)); -#line 2565 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2581 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp2_); -#line 2565 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2581 "/home/jens/Source/shotwell/src/Dialogs.vala" pf = (PreferencesDialogPathFormat*) _tmp3_; -#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2582 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = pf; -#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2582 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_->pattern; -#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2582 "/home/jens/Source/shotwell/src/Dialogs.vala" if (NULL == _tmp5_) { -#line 19866 "Dialogs.c" +#line 19994 "Dialogs.c" gchar* dir_pattern = NULL; ConfigFacade* _tmp6_ = NULL; ConfigFacade* _tmp7_ = NULL; @@ -19891,78 +20019,78 @@ static void preferences_dialog_on_dir_pattern_combo_changed (PreferencesDialog* const gchar* _tmp14_ = NULL; GtkEntry* _tmp15_ = NULL; GtkEntry* _tmp16_ = NULL; -#line 2568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = config_facade_get_instance (); -#line 2568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _tmp6_; -#line 2568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = configuration_facade_get_directory_pattern_custom (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); -#line 2568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2584 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = _tmp8_; -#line 2568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2584 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp7_); -#line 2568 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2584 "/home/jens/Source/shotwell/src/Dialogs.vala" dir_pattern = _tmp9_; -#line 2569 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2585 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = dir_pattern; -#line 2569 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2585 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = is_string_empty (_tmp10_); -#line 2569 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2585 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp11_) { -#line 19896 "Dialogs.c" +#line 20024 "Dialogs.c" gchar* _tmp12_ = NULL; -#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2586 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = g_strdup (""); -#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2586 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (dir_pattern); -#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2586 "/home/jens/Source/shotwell/src/Dialogs.vala" dir_pattern = _tmp12_; -#line 19904 "Dialogs.c" +#line 20032 "Dialogs.c" } -#line 2571 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = self->priv->dir_pattern_entry; -#line 2571 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = dir_pattern; -#line 2571 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_set_text (_tmp13_, _tmp14_); -#line 2572 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = self->priv->dir_pattern_entry; -#line 2572 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_set (_tmp15_, "editable", TRUE, NULL); -#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2589 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = self->priv->dir_pattern_entry; -#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2589 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_widget_get_type (), GtkWidget), TRUE); -#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2582 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (dir_pattern); -#line 19922 "Dialogs.c" +#line 20050 "Dialogs.c" } else { GtkEntry* _tmp17_ = NULL; PreferencesDialogPathFormat* _tmp18_ = NULL; const gchar* _tmp19_ = NULL; GtkEntry* _tmp20_ = NULL; GtkEntry* _tmp21_ = NULL; -#line 2575 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2591 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = self->priv->dir_pattern_entry; -#line 2575 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2591 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = pf; -#line 2575 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2591 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = _tmp18_->pattern; -#line 2575 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2591 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_set_text (_tmp17_, _tmp19_); -#line 2576 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2592 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = self->priv->dir_pattern_entry; -#line 2576 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2592 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_set (_tmp20_, "editable", FALSE, NULL); -#line 2577 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2593 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = self->priv->dir_pattern_entry; -#line 2577 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2593 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_widget_get_type (), GtkWidget), FALSE); -#line 19945 "Dialogs.c" +#line 20073 "Dialogs.c" } -#line 2564 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2580 "/home/jens/Source/shotwell/src/Dialogs.vala" _preferences_dialog_path_format_unref0 (pf); -#line 19949 "Dialogs.c" +#line 20077 "Dialogs.c" } @@ -19976,92 +20104,92 @@ static void preferences_dialog_on_dir_pattern_entry_changed (PreferencesDialog* gboolean _tmp5_ = FALSE; const gchar* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; -#line 2581 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2597 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->example_date; -#line 2582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->dir_pattern_entry; -#line 2582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_entry_get_text (_tmp1_); -#line 2582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp2_; -#line 2582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = g_date_time_format (_tmp0_, _tmp3_); -#line 2582 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala" example = _tmp4_; -#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = example; -#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = is_string_empty (_tmp6_); -#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2599 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp7_) { -#line 19983 "Dialogs.c" +#line 20111 "Dialogs.c" GtkEntry* _tmp8_ = NULL; const gchar* _tmp9_ = NULL; const gchar* _tmp10_ = NULL; gboolean _tmp11_ = FALSE; -#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = self->priv->dir_pattern_entry; -#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = gtk_entry_get_text (_tmp8_); -#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp9_; -#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = is_string_empty (_tmp10_); -#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = !_tmp11_; -#line 19998 "Dialogs.c" +#line 20126 "Dialogs.c" } else { -#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2599 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = FALSE; -#line 20002 "Dialogs.c" +#line 20130 "Dialogs.c" } -#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2599 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp5_) { -#line 20006 "Dialogs.c" +#line 20134 "Dialogs.c" GtkLabel* _tmp12_ = NULL; const gchar* _tmp13_ = NULL; GtkEntry* _tmp14_ = NULL; GtkEntry* _tmp15_ = NULL; -#line 2585 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2601 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = self->priv->dir_pattern_example; -#line 2585 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2601 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = _ ("Invalid pattern"); -#line 2585 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2601 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_text (_tmp12_, _tmp13_); -#line 2586 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2602 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = self->priv->dir_pattern_entry; -#line 2586 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2602 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_set_icon_from_icon_name (_tmp14_, GTK_ENTRY_ICON_SECONDARY, "dialog-error"); -#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2603 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = self->priv->dir_pattern_entry; -#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2603 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_set_icon_activatable (_tmp15_, GTK_ENTRY_ICON_SECONDARY, FALSE); -#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2604 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_set_allow_closing (self, FALSE); -#line 20027 "Dialogs.c" +#line 20155 "Dialogs.c" } else { GtkLabel* _tmp16_ = NULL; const gchar* _tmp17_ = NULL; GtkEntry* _tmp18_ = NULL; -#line 2591 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2607 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = self->priv->dir_pattern_example; -#line 2591 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2607 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = example; -#line 2591 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2607 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_label_set_text (_tmp16_, _tmp17_); -#line 2592 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2608 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = self->priv->dir_pattern_entry; -#line 2592 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2608 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_entry_set_icon_from_icon_name (_tmp18_, GTK_ENTRY_ICON_SECONDARY, NULL); -#line 2593 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2609 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_set_allow_closing (self, TRUE); -#line 20044 "Dialogs.c" +#line 20172 "Dialogs.c" } -#line 2581 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2597 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (example); -#line 20048 "Dialogs.c" +#line 20176 "Dialogs.c" } @@ -20069,34 +20197,34 @@ static void preferences_dialog_set_allow_closing (PreferencesDialog* self, gbool GtkDialog* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 2597 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2613 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->dialog; -#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2614 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = allow; -#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2614 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_deletable (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_window_get_type (), GtkWindow), _tmp1_); -#line 2599 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2615 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = allow; -#line 2599 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2615 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->allow_closing = _tmp2_; -#line 20068 "Dialogs.c" +#line 20196 "Dialogs.c" } static gboolean preferences_dialog_get_allow_closing (PreferencesDialog* self) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 2602 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2618 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), FALSE); -#line 2603 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2619 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->allow_closing; -#line 2603 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2619 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _tmp0_; -#line 2603 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2619 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 20083 "Dialogs.c" +#line 20211 "Dialogs.c" } @@ -20105,21 +20233,21 @@ static void preferences_dialog_set_background_color (PreferencesDialog* self, gd ConfigFacade* _tmp1_ = NULL; gdouble _tmp2_ = 0.0; GdkRGBA _tmp3_ = {0}; -#line 2606 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2622 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2607 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = config_facade_get_instance (); -#line 2607 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _tmp0_; -#line 2607 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = bg_color_value; -#line 2607 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_to_grayscale (self, _tmp2_, &_tmp3_); -#line 2607 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala" config_facade_set_bg_color (_tmp1_, &_tmp3_); -#line 2607 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp1_); -#line 20106 "Dialogs.c" +#line 20234 "Dialogs.c" } @@ -20128,29 +20256,29 @@ static void preferences_dialog_to_grayscale (PreferencesDialog* self, gdouble co gdouble _tmp0_ = 0.0; gdouble _tmp1_ = 0.0; gdouble _tmp2_ = 0.0; -#line 2610 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2626 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2611 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala" memset (&color, 0, sizeof (GdkRGBA)); -#line 2613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2629 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = color_value; -#line 2613 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2629 "/home/jens/Source/shotwell/src/Dialogs.vala" color.red = _tmp0_; -#line 2614 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2630 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = color_value; -#line 2614 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2630 "/home/jens/Source/shotwell/src/Dialogs.vala" color.green = _tmp1_; -#line 2615 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2631 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = color_value; -#line 2615 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2631 "/home/jens/Source/shotwell/src/Dialogs.vala" color.blue = _tmp2_; -#line 2616 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala" color.alpha = 1.0; -#line 2618 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala" *result = color; -#line 2618 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala" return; -#line 20137 "Dialogs.c" +#line 20265 "Dialogs.c" } @@ -20171,77 +20299,77 @@ static void preferences_dialog_on_photo_editor_changed (PreferencesDialog* self) gchar* _tmp16_ = NULL; gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; -#line 2621 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2637 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2622 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->photo_editor_combo; -#line 2622 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_combo_box_get_active (_tmp1_); -#line 2622 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = self->priv->external_photo_apps; -#line 2622 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 2622 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_; -#line 2622 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp2_ < _tmp5_) { -#line 20172 "Dialogs.c" +#line 20300 "Dialogs.c" GtkComboBox* _tmp6_ = NULL; gint _tmp7_ = 0; -#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = self->priv->photo_editor_combo; -#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = gtk_combo_box_get_active (_tmp6_); -#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _tmp7_; -#line 20181 "Dialogs.c" +#line 20309 "Dialogs.c" } else { SortedList* _tmp8_ = NULL; gint _tmp9_ = 0; gint _tmp10_ = 0; -#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = self->priv->external_photo_apps; -#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp9_; -#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _tmp10_; -#line 20194 "Dialogs.c" +#line 20322 "Dialogs.c" } -#line 2622 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala" photo_app_choice_index = _tmp0_; -#line 2625 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2641 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = self->priv->external_photo_apps; -#line 2625 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2641 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = sorted_list_get_at (_tmp11_, photo_app_choice_index); -#line 2625 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2641 "/home/jens/Source/shotwell/src/Dialogs.vala" app = (GAppInfo*) _tmp12_; -#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = config_facade_get_instance (); -#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = _tmp13_; -#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = desktop_integration_get_app_open_command (app); -#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = _tmp15_; -#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala" configuration_facade_set_external_photo_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp16_); -#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp16_); -#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp14_); -#line 2629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = desktop_integration_get_app_open_command (app); -#line 2629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2645 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp18_ = _tmp17_; -#line 2629 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_debug ("Dialogs.vala:2629: setting external photo editor to: %s", _tmp18_); -#line 2629 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2645 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_debug ("Dialogs.vala:2645: setting external photo editor to: %s", _tmp18_); +#line 2645 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (_tmp18_); -#line 2621 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2637 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (app); -#line 20228 "Dialogs.c" +#line 20356 "Dialogs.c" } @@ -20260,69 +20388,69 @@ static void preferences_dialog_on_raw_editor_changed (PreferencesDialog* self) { ConfigFacade* _tmp14_ = NULL; const gchar* _tmp15_ = NULL; const gchar* _tmp16_ = NULL; -#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2648 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2633 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->raw_editor_combo; -#line 2633 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gtk_combo_box_get_active (_tmp1_); -#line 2633 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = self->priv->external_raw_apps; -#line 2633 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 2633 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_; -#line 2633 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp2_ < _tmp5_) { -#line 20261 "Dialogs.c" +#line 20389 "Dialogs.c" GtkComboBox* _tmp6_ = NULL; gint _tmp7_ = 0; -#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2650 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = self->priv->raw_editor_combo; -#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2650 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = gtk_combo_box_get_active (_tmp6_); -#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2650 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _tmp7_; -#line 20270 "Dialogs.c" +#line 20398 "Dialogs.c" } else { SortedList* _tmp8_ = NULL; gint _tmp9_ = 0; gint _tmp10_ = 0; -#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2650 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = self->priv->external_raw_apps; -#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2650 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2650 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = _tmp9_; -#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2650 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _tmp10_; -#line 20283 "Dialogs.c" +#line 20411 "Dialogs.c" } -#line 2633 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala" raw_app_choice_index = _tmp0_; -#line 2636 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2652 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = self->priv->external_raw_apps; -#line 2636 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2652 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = sorted_list_get_at (_tmp11_, raw_app_choice_index); -#line 2636 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2652 "/home/jens/Source/shotwell/src/Dialogs.vala" app = (GAppInfo*) _tmp12_; -#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2654 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = config_facade_get_instance (); -#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2654 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = _tmp13_; -#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2654 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = g_app_info_get_commandline (app); -#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2654 "/home/jens/Source/shotwell/src/Dialogs.vala" configuration_facade_set_external_raw_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp15_); -#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2654 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp14_); -#line 2640 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2656 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = g_app_info_get_commandline (app); -#line 2640 "/home/jens/Source/shotwell/src/Dialogs.vala" - g_debug ("Dialogs.vala:2640: setting external raw editor to: %s", _tmp16_); -#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2656 "/home/jens/Source/shotwell/src/Dialogs.vala" + g_debug ("Dialogs.vala:2656: setting external raw editor to: %s", _tmp16_); +#line 2648 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (app); -#line 20309 "Dialogs.c" +#line 20437 "Dialogs.c" } @@ -20330,50 +20458,50 @@ static RawDeveloper preferences_dialog_raw_developer_from_combo (PreferencesDial RawDeveloper result = 0; GtkComboBoxText* _tmp0_ = NULL; gint _tmp1_ = 0; -#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2659 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), 0); -#line 2644 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2660 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->default_raw_developer_combo; -#line 2644 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2660 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox)); -#line 2644 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2660 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp1_ == 0) { -#line 2645 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2661 "/home/jens/Source/shotwell/src/Dialogs.vala" result = RAW_DEVELOPER_CAMERA; -#line 2645 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2661 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 20329 "Dialogs.c" +#line 20457 "Dialogs.c" } -#line 2646 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2662 "/home/jens/Source/shotwell/src/Dialogs.vala" result = RAW_DEVELOPER_SHOTWELL; -#line 2646 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2662 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 20335 "Dialogs.c" +#line 20463 "Dialogs.c" } static void preferences_dialog_set_raw_developer_combo (PreferencesDialog* self, RawDeveloper d) { RawDeveloper _tmp0_ = 0; -#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2665 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2650 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2666 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = d; -#line 2650 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2666 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp0_ == RAW_DEVELOPER_CAMERA) { -#line 20347 "Dialogs.c" +#line 20475 "Dialogs.c" GtkComboBoxText* _tmp1_ = NULL; -#line 2651 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2667 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = self->priv->default_raw_developer_combo; -#line 2651 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2667 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox), 0); -#line 20353 "Dialogs.c" +#line 20481 "Dialogs.c" } else { GtkComboBoxText* _tmp2_ = NULL; -#line 2653 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2669 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = self->priv->default_raw_developer_combo; -#line 2653 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2669 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox), 1); -#line 20360 "Dialogs.c" +#line 20488 "Dialogs.c" } } @@ -20382,60 +20510,60 @@ static void preferences_dialog_on_default_raw_developer_changed (PreferencesDial ConfigFacade* _tmp0_ = NULL; ConfigFacade* _tmp1_ = NULL; RawDeveloper _tmp2_ = 0; -#line 2656 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2672 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2657 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2673 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = config_facade_get_instance (); -#line 2657 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2673 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _tmp0_; -#line 2657 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2673 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = preferences_dialog_raw_developer_from_combo (self); -#line 2657 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2673 "/home/jens/Source/shotwell/src/Dialogs.vala" configuration_facade_set_default_raw_developer (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_); -#line 2657 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2673 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp1_); -#line 20381 "Dialogs.c" +#line 20509 "Dialogs.c" } static void preferences_dialog_on_current_folder_changed (PreferencesDialog* self) { GtkFileChooserButton* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 2660 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2676 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2661 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2677 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->library_dir_button; -#line 2661 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2677 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gtk_file_chooser_get_filename (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser)); -#line 2661 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2677 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (self->priv->lib_dir); -#line 2661 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2677 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->lib_dir = _tmp1_; -#line 20398 "Dialogs.c" +#line 20526 "Dialogs.c" } static void _preferences_dialog_on_current_folder_changed_gtk_file_chooser_current_folder_changed (GtkFileChooser* _sender, gpointer self) { -#line 2669 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_on_current_folder_changed ((PreferencesDialog*) self); -#line 20405 "Dialogs.c" +#line 20533 "Dialogs.c" } static gboolean preferences_dialog_map_event (PreferencesDialog* self) { gboolean result = FALSE; GtkFileChooserButton* _tmp0_ = NULL; -#line 2664 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2680 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), FALSE); -#line 2669 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = self->priv->library_dir_button; -#line 2669 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), "current-folder-changed", (GCallback) _preferences_dialog_on_current_folder_changed_gtk_file_chooser_current_folder_changed, self); -#line 2670 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2686 "/home/jens/Source/shotwell/src/Dialogs.vala" result = TRUE; -#line 2670 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2686 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 20422 "Dialogs.c" +#line 20550 "Dialogs.c" } @@ -20447,31 +20575,31 @@ static void preferences_dialog_add_to_dir_formats (PreferencesDialog* self, cons GeeArrayList* _tmp3_ = NULL; GtkComboBoxText* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; -#line 2673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2689 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2689 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (name != NULL); -#line 2674 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2690 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = name; -#line 2674 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2690 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = pattern; -#line 2674 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2690 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = preferences_dialog_path_format_new (_tmp0_, _tmp1_); -#line 2674 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2690 "/home/jens/Source/shotwell/src/Dialogs.vala" pf = _tmp2_; -#line 2675 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2691 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = self->priv->path_formats; -#line 2675 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2691 "/home/jens/Source/shotwell/src/Dialogs.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), pf); -#line 2676 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2692 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = self->priv->dir_pattern_combo; -#line 2676 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2692 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = name; -#line 2676 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2692 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_combo_box_text_append_text (_tmp4_, _tmp5_); -#line 2673 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2689 "/home/jens/Source/shotwell/src/Dialogs.vala" _preferences_dialog_path_format_unref0 (pf); -#line 20458 "Dialogs.c" +#line 20586 "Dialogs.c" } @@ -20480,21 +20608,21 @@ static void preferences_dialog_on_lowercase_toggled (PreferencesDialog* self) { ConfigFacade* _tmp1_ = NULL; GtkCheckButton* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; -#line 2679 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2695 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (IS_PREFERENCES_DIALOG (self)); -#line 2680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2696 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = config_facade_get_instance (); -#line 2680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2696 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = _tmp0_; -#line 2680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2696 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = self->priv->lowercase; -#line 2680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2696 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_toggle_button_get_type (), GtkToggleButton)); -#line 2680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2696 "/home/jens/Source/shotwell/src/Dialogs.vala" configuration_facade_set_use_lowercase_filenames (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp3_); -#line 2680 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2696 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp1_); -#line 20481 "Dialogs.c" +#line 20609 "Dialogs.c" } @@ -20504,246 +20632,246 @@ static PreferencesDialogPathFormat* preferences_dialog_path_format_construct (GT gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 2258 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (name != NULL, NULL); -#line 2258 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala" self = (PreferencesDialogPathFormat*) g_type_create_instance (object_type); -#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = name; -#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = g_strdup (_tmp0_); -#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (self->name); -#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala" self->name = _tmp1_; -#line 2260 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2276 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = pattern; -#line 2260 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2276 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = g_strdup (_tmp2_); -#line 2260 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2276 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (self->pattern); -#line 2260 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2276 "/home/jens/Source/shotwell/src/Dialogs.vala" self->pattern = _tmp3_; -#line 2258 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala" return self; -#line 20513 "Dialogs.c" +#line 20641 "Dialogs.c" } static PreferencesDialogPathFormat* preferences_dialog_path_format_new (const gchar* name, const gchar* pattern) { -#line 2258 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala" return preferences_dialog_path_format_construct (PREFERENCES_DIALOG_TYPE_PATH_FORMAT, name, pattern); -#line 20520 "Dialogs.c" +#line 20648 "Dialogs.c" } static void preferences_dialog_value_path_format_init (GValue* value) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 20527 "Dialogs.c" +#line 20655 "Dialogs.c" } static void preferences_dialog_value_path_format_free_value (GValue* value) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" if (value->data[0].v_pointer) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_path_format_unref (value->data[0].v_pointer); -#line 20536 "Dialogs.c" +#line 20664 "Dialogs.c" } } static void preferences_dialog_value_path_format_copy_value (const GValue* src_value, GValue* dest_value) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" if (src_value->data[0].v_pointer) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" dest_value->data[0].v_pointer = preferences_dialog_path_format_ref (src_value->data[0].v_pointer); -#line 20546 "Dialogs.c" +#line 20674 "Dialogs.c" } else { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" dest_value->data[0].v_pointer = NULL; -#line 20550 "Dialogs.c" +#line 20678 "Dialogs.c" } } static gpointer preferences_dialog_value_path_format_peek_pointer (const GValue* value) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" return value->data[0].v_pointer; -#line 20558 "Dialogs.c" +#line 20686 "Dialogs.c" } static gchar* preferences_dialog_value_path_format_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" if (collect_values[0].v_pointer) { -#line 20565 "Dialogs.c" +#line 20693 "Dialogs.c" PreferencesDialogPathFormat* object; object = collect_values[0].v_pointer; -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" if (object->parent_instance.g_class == NULL) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 20572 "Dialogs.c" +#line 20700 "Dialogs.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 20576 "Dialogs.c" +#line 20704 "Dialogs.c" } -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = preferences_dialog_path_format_ref (object); -#line 20580 "Dialogs.c" +#line 20708 "Dialogs.c" } else { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 20584 "Dialogs.c" +#line 20712 "Dialogs.c" } -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" return NULL; -#line 20588 "Dialogs.c" +#line 20716 "Dialogs.c" } static gchar* preferences_dialog_value_path_format_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PreferencesDialogPathFormat** object_p; object_p = collect_values[0].v_pointer; -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!object_p) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 20599 "Dialogs.c" +#line 20727 "Dialogs.c" } -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!value->data[0].v_pointer) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = NULL; -#line 20605 "Dialogs.c" +#line 20733 "Dialogs.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = value->data[0].v_pointer; -#line 20609 "Dialogs.c" +#line 20737 "Dialogs.c" } else { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = preferences_dialog_path_format_ref (value->data[0].v_pointer); -#line 20613 "Dialogs.c" +#line 20741 "Dialogs.c" } -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" return NULL; -#line 20617 "Dialogs.c" +#line 20745 "Dialogs.c" } static GParamSpec* preferences_dialog_param_spec_path_format (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { PreferencesDialogParamSpecPathFormat* spec; -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (g_type_is_a (object_type, PREFERENCES_DIALOG_TYPE_PATH_FORMAT), NULL); -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" return G_PARAM_SPEC (spec); -#line 20631 "Dialogs.c" +#line 20759 "Dialogs.c" } static gpointer preferences_dialog_value_get_path_format (const GValue* value) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PREFERENCES_DIALOG_TYPE_PATH_FORMAT), NULL); -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" return value->data[0].v_pointer; -#line 20640 "Dialogs.c" +#line 20768 "Dialogs.c" } static void preferences_dialog_value_set_path_format (GValue* value, gpointer v_object) { PreferencesDialogPathFormat* old; -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PREFERENCES_DIALOG_TYPE_PATH_FORMAT)); -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" old = value->data[0].v_pointer; -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" if (v_object) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PREFERENCES_DIALOG_TYPE_PATH_FORMAT)); -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = v_object; -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_path_format_ref (value->data[0].v_pointer); -#line 20660 "Dialogs.c" +#line 20788 "Dialogs.c" } else { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 20664 "Dialogs.c" +#line 20792 "Dialogs.c" } -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" if (old) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_path_format_unref (old); -#line 20670 "Dialogs.c" +#line 20798 "Dialogs.c" } } static void preferences_dialog_value_take_path_format (GValue* value, gpointer v_object) { PreferencesDialogPathFormat* old; -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PREFERENCES_DIALOG_TYPE_PATH_FORMAT)); -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" old = value->data[0].v_pointer; -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" if (v_object) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PREFERENCES_DIALOG_TYPE_PATH_FORMAT)); -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = v_object; -#line 20689 "Dialogs.c" +#line 20817 "Dialogs.c" } else { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 20693 "Dialogs.c" +#line 20821 "Dialogs.c" } -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" if (old) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_path_format_unref (old); -#line 20699 "Dialogs.c" +#line 20827 "Dialogs.c" } } static void preferences_dialog_path_format_class_init (PreferencesDialogPathFormatClass * klass) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_path_format_parent_class = g_type_class_peek_parent (klass); -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" ((PreferencesDialogPathFormatClass *) klass)->finalize = preferences_dialog_path_format_finalize; -#line 20709 "Dialogs.c" +#line 20837 "Dialogs.c" } static void preferences_dialog_path_format_instance_init (PreferencesDialogPathFormat * self) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" self->ref_count = 1; -#line 20716 "Dialogs.c" +#line 20844 "Dialogs.c" } static void preferences_dialog_path_format_finalize (PreferencesDialogPathFormat* obj) { PreferencesDialogPathFormat * self; -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PREFERENCES_DIALOG_TYPE_PATH_FORMAT, PreferencesDialogPathFormat); -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_handlers_destroy (self); -#line 2262 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2278 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (self->name); -#line 2263 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2279 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (self->pattern); -#line 20730 "Dialogs.c" +#line 20858 "Dialogs.c" } @@ -20764,216 +20892,216 @@ static GType preferences_dialog_path_format_get_type (void) { static gpointer preferences_dialog_path_format_ref (gpointer instance) { PreferencesDialogPathFormat* self; self = instance; -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" g_atomic_int_inc (&self->ref_count); -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" return instance; -#line 20755 "Dialogs.c" +#line 20883 "Dialogs.c" } static void preferences_dialog_path_format_unref (gpointer instance) { PreferencesDialogPathFormat* self; self = instance; -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" PREFERENCES_DIALOG_PATH_FORMAT_GET_CLASS (self)->finalize (self); -#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_free_instance ((GTypeInstance *) self); -#line 20768 "Dialogs.c" +#line 20896 "Dialogs.c" } } static void value_preferences_dialog_init (GValue* value) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 20776 "Dialogs.c" +#line 20904 "Dialogs.c" } static void value_preferences_dialog_free_value (GValue* value) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" if (value->data[0].v_pointer) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_unref (value->data[0].v_pointer); -#line 20785 "Dialogs.c" +#line 20913 "Dialogs.c" } } static void value_preferences_dialog_copy_value (const GValue* src_value, GValue* dest_value) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" if (src_value->data[0].v_pointer) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" dest_value->data[0].v_pointer = preferences_dialog_ref (src_value->data[0].v_pointer); -#line 20795 "Dialogs.c" +#line 20923 "Dialogs.c" } else { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" dest_value->data[0].v_pointer = NULL; -#line 20799 "Dialogs.c" +#line 20927 "Dialogs.c" } } static gpointer value_preferences_dialog_peek_pointer (const GValue* value) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" return value->data[0].v_pointer; -#line 20807 "Dialogs.c" +#line 20935 "Dialogs.c" } static gchar* value_preferences_dialog_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" if (collect_values[0].v_pointer) { -#line 20814 "Dialogs.c" +#line 20942 "Dialogs.c" PreferencesDialog* object; object = collect_values[0].v_pointer; -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" if (object->parent_instance.g_class == NULL) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 20821 "Dialogs.c" +#line 20949 "Dialogs.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 20825 "Dialogs.c" +#line 20953 "Dialogs.c" } -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = preferences_dialog_ref (object); -#line 20829 "Dialogs.c" +#line 20957 "Dialogs.c" } else { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 20833 "Dialogs.c" +#line 20961 "Dialogs.c" } -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" return NULL; -#line 20837 "Dialogs.c" +#line 20965 "Dialogs.c" } static gchar* value_preferences_dialog_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PreferencesDialog** object_p; object_p = collect_values[0].v_pointer; -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!object_p) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 20848 "Dialogs.c" +#line 20976 "Dialogs.c" } -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!value->data[0].v_pointer) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = NULL; -#line 20854 "Dialogs.c" +#line 20982 "Dialogs.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = value->data[0].v_pointer; -#line 20858 "Dialogs.c" +#line 20986 "Dialogs.c" } else { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" *object_p = preferences_dialog_ref (value->data[0].v_pointer); -#line 20862 "Dialogs.c" +#line 20990 "Dialogs.c" } -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" return NULL; -#line 20866 "Dialogs.c" +#line 20994 "Dialogs.c" } GParamSpec* param_spec_preferences_dialog (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecPreferencesDialog* spec; -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (g_type_is_a (object_type, TYPE_PREFERENCES_DIALOG), NULL); -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" return G_PARAM_SPEC (spec); -#line 20880 "Dialogs.c" +#line 21008 "Dialogs.c" } gpointer value_get_preferences_dialog (const GValue* value) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PREFERENCES_DIALOG), NULL); -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" return value->data[0].v_pointer; -#line 20889 "Dialogs.c" +#line 21017 "Dialogs.c" } void value_set_preferences_dialog (GValue* value, gpointer v_object) { PreferencesDialog* old; -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PREFERENCES_DIALOG)); -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" old = value->data[0].v_pointer; -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" if (v_object) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PREFERENCES_DIALOG)); -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = v_object; -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_ref (value->data[0].v_pointer); -#line 20909 "Dialogs.c" +#line 21037 "Dialogs.c" } else { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 20913 "Dialogs.c" +#line 21041 "Dialogs.c" } -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" if (old) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_unref (old); -#line 20919 "Dialogs.c" +#line 21047 "Dialogs.c" } } void value_take_preferences_dialog (GValue* value, gpointer v_object) { PreferencesDialog* old; -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PREFERENCES_DIALOG)); -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" old = value->data[0].v_pointer; -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" if (v_object) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PREFERENCES_DIALOG)); -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = v_object; -#line 20938 "Dialogs.c" +#line 21066 "Dialogs.c" } else { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" value->data[0].v_pointer = NULL; -#line 20942 "Dialogs.c" +#line 21070 "Dialogs.c" } -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" if (old) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_unref (old); -#line 20948 "Dialogs.c" +#line 21076 "Dialogs.c" } } static void preferences_dialog_class_init (PreferencesDialogClass * klass) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" preferences_dialog_parent_class = g_type_class_peek_parent (klass); -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" ((PreferencesDialogClass *) klass)->finalize = preferences_dialog_finalize; -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_class_add_private (klass, sizeof (PreferencesDialogPrivate)); -#line 20960 "Dialogs.c" +#line 21088 "Dialogs.c" } @@ -20981,73 +21109,73 @@ static void preferences_dialog_instance_init (PreferencesDialog * self) { GeeArrayList* _tmp0_ = NULL; GDateTime* _tmp1_ = NULL; PluginsManifestWidgetMediator* _tmp2_ = NULL; -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv = PREFERENCES_DIALOG_GET_PRIVATE (self); -#line 2280 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->allow_closing = FALSE; -#line 2281 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2297 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->lib_dir = NULL; -#line 2282 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2298 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = gee_array_list_new (PREFERENCES_DIALOG_TYPE_PATH_FORMAT, (GBoxedCopyFunc) preferences_dialog_path_format_ref, preferences_dialog_path_format_unref, NULL, NULL, NULL); -#line 2282 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2298 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->path_formats = _tmp0_; -#line 2283 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = g_date_time_new_local (2009, 3, 10, 18, 16, (gdouble) 11); -#line 2283 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->example_date = _tmp1_; -#line 2285 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2301 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = plugins_manifest_widget_mediator_new (); -#line 2285 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2301 "/home/jens/Source/shotwell/src/Dialogs.vala" self->priv->plugins_mediator = _tmp2_; -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" self->ref_count = 1; -#line 20988 "Dialogs.c" +#line 21116 "Dialogs.c" } static void preferences_dialog_finalize (PreferencesDialog* obj) { PreferencesDialog * self; -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PREFERENCES_DIALOG, PreferencesDialog); -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" g_signal_handlers_destroy (self); -#line 2268 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2284 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->dialog); -#line 2269 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2285 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->builder); -#line 2270 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2286 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->bg_color_adjustment); -#line 2271 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2287 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->bg_color_slider); -#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2288 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->photo_editor_combo); -#line 2273 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2289 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->raw_editor_combo); -#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2290 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->external_raw_apps); -#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2291 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->external_photo_apps); -#line 2276 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2292 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->library_dir_button); -#line 2277 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2293 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->dir_pattern_combo); -#line 2278 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2294 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->dir_pattern_entry); -#line 2279 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2295 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->dir_pattern_example); -#line 2281 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2297 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (self->priv->lib_dir); -#line 2282 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2298 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->path_formats); -#line 2283 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_date_time_unref0 (self->priv->example_date); -#line 2284 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2300 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->lowercase); -#line 2285 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2301 "/home/jens/Source/shotwell/src/Dialogs.vala" _plugins_manifest_widget_mediator_unref0 (self->priv->plugins_mediator); -#line 2286 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2302 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (self->priv->default_raw_developer_combo); -#line 21034 "Dialogs.c" +#line 21162 "Dialogs.c" } @@ -21068,24 +21196,24 @@ GType preferences_dialog_get_type (void) { gpointer preferences_dialog_ref (gpointer instance) { PreferencesDialog* self; self = instance; -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" g_atomic_int_inc (&self->ref_count); -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" return instance; -#line 21059 "Dialogs.c" +#line 21187 "Dialogs.c" } void preferences_dialog_unref (gpointer instance) { PreferencesDialog* self; self = instance; -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" PREFERENCES_DIALOG_GET_CLASS (self)->finalize (self); -#line 2256 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2272 "/home/jens/Source/shotwell/src/Dialogs.vala" g_type_free_instance ((GTypeInstance *) self); -#line 21072 "Dialogs.c" +#line 21200 "Dialogs.c" } } @@ -21105,54 +21233,54 @@ GtkResponseType copy_files_dialog (void) { const gchar* _tmp8_ = NULL; GtkResponseType _result_ = 0; gint _tmp9_ = 0; -#line 2687 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2703 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _ ("Shotwell can copy the photos into your library folder or it can import" \ " them without copying."); -#line 2687 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2703 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = g_strdup (_tmp0_); -#line 2687 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2703 "/home/jens/Source/shotwell/src/Dialogs.vala" msg = _tmp1_; -#line 2689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = app_window_get_instance (); -#line 2689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp2_; -#line 2689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = (GtkMessageDialog*) gtk_message_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_window_get_type (), GtkWindow), GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_CANCEL, "%s", msg); -#line 2689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp4_); -#line 2689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _tmp4_; -#line 2689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp3_); -#line 2689 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala" dialog = _tmp5_; -#line 2692 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = _ ("Co_py Photos"); -#line 2692 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp6_, (gint) GTK_RESPONSE_ACCEPT); -#line 2693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2709 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _ ("_Import in Place"); -#line 2693 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2709 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp7_, (gint) GTK_RESPONSE_REJECT); -#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = _ ("Import to Library"); -#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_window_get_type (), GtkWindow), _tmp8_); -#line 2696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2712 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog)); -#line 2696 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2712 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = (GtkResponseType) _tmp9_; -#line 2698 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2714 "/home/jens/Source/shotwell/src/Dialogs.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget)); -#line 2700 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2716 "/home/jens/Source/shotwell/src/Dialogs.vala" result = _result_; -#line 2700 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2716 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (dialog); -#line 2700 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2716 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (msg); -#line 2700 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2716 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 21138 "Dialogs.c" +#line 21266 "Dialogs.c" } @@ -21163,47 +21291,47 @@ void remove_photos_from_library (GeeCollection* photos) { gint _tmp3_ = 0; GeeCollection* _tmp6_ = NULL; const gchar* _tmp7_ = NULL; -#line 2703 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (GEE_IS_COLLECTION (photos)); -#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2721 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = photos; -#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2721 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = gee_collection_get_size (_tmp1_); -#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2721 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = _tmp2_; -#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2721 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp3_ == 1) { -#line 21159 "Dialogs.c" +#line 21287 "Dialogs.c" const gchar* _tmp4_ = NULL; -#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2721 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = _ ("Removing Photo From Library"); -#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2721 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _tmp4_; -#line 21165 "Dialogs.c" +#line 21293 "Dialogs.c" } else { const gchar* _tmp5_ = NULL; -#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2721 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = _ ("Removing Photos From Library"); -#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2721 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = _tmp5_; -#line 21172 "Dialogs.c" +#line 21300 "Dialogs.c" } -#line 2704 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = photos; -#line 2704 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = _ ("Remove From Library"); -#line 2704 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala" remove_from_app (_tmp6_, _tmp7_, _tmp0_); -#line 21180 "Dialogs.c" +#line 21308 "Dialogs.c" } static gboolean _progress_dialog_monitor_progress_monitor (guint64 current, guint64 total, gboolean do_event_loop, gpointer self) { gboolean result; result = progress_dialog_monitor ((ProgressDialog*) self, current, total, do_event_loop); -#line 2745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala" return result; -#line 21189 "Dialogs.c" +#line 21317 "Dialogs.c" } @@ -21274,71 +21402,71 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g ProgressDialog* _tmp122_ = NULL; AppWindow* _tmp124_ = NULL; AppWindow* _tmp125_ = NULL; -#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (GEE_IS_COLLECTION (sources)); -#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (dialog_title != NULL); -#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala" g_return_if_fail (progress_dialog_text != NULL); -#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2726 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp0_ = sources; -#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2726 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp1_ = gee_collection_get_size (_tmp0_); -#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2726 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp2_ = _tmp1_; -#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2726 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp2_ == 0) { -#line 2711 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala" return; -#line 21276 "Dialogs.c" +#line 21404 "Dialogs.c" } -#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2729 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp3_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2729 "/home/jens/Source/shotwell/src/Dialogs.vala" photos = _tmp3_; -#line 2714 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2730 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp4_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 2714 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2730 "/home/jens/Source/shotwell/src/Dialogs.vala" videos = _tmp4_; -#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2731 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp5_ = sources; -#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2731 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp6_ = photos; -#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2731 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp7_ = videos; -#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2731 "/home/jens/Source/shotwell/src/Dialogs.vala" media_source_collection_filter_media (_tmp5_, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 2717 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2733 "/home/jens/Source/shotwell/src/Dialogs.vala" user_message = NULL; -#line 2718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp9_ = photos; -#line 2718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp10_ = gee_collection_get_is_empty (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 2718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp11_ = _tmp10_; -#line 2718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp11_) { -#line 21304 "Dialogs.c" +#line 21432 "Dialogs.c" GeeArrayList* _tmp12_ = NULL; gboolean _tmp13_ = FALSE; gboolean _tmp14_ = FALSE; -#line 2718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp12_ = videos; -#line 2718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp13_ = gee_collection_get_is_empty (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 2718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp14_ = _tmp13_; -#line 2718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = !_tmp14_; -#line 21316 "Dialogs.c" +#line 21444 "Dialogs.c" } else { -#line 2718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp8_ = FALSE; -#line 21320 "Dialogs.c" +#line 21448 "Dialogs.c" } -#line 2718 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp8_) { -#line 21324 "Dialogs.c" +#line 21452 "Dialogs.c" GeeCollection* _tmp15_ = NULL; gint _tmp16_ = 0; gint _tmp17_ = 0; @@ -21347,46 +21475,46 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g gint _tmp20_ = 0; gint _tmp21_ = 0; gchar* _tmp22_ = NULL; -#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2735 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp15_ = sources; -#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2735 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp16_ = gee_collection_get_size (_tmp15_); -#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2735 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp17_ = _tmp16_; -#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp18_ = ngettext ("This will remove the photo/video from your Shotwell library. Would yo" \ -"u also like to move the file to your desktop trash?\n" \ +#line 2735 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp18_ = ngettext ("This will remove the photo/video from your Shotwell library. Would you" \ +" also like to move the file to your desktop trash?\n" \ "\n" \ -"This action cannot be undone.", "This will remove %d photos/videos from your Shotwell library. Would y" \ -"ou also like to move the files to your desktop trash?\n" \ +"This action cannot be undone.", "This will remove %d photos/videos from your Shotwell library. Would yo" \ +"u also like to move the files to your desktop trash?\n" \ "\n" \ "This action cannot be undone.", (gulong) _tmp17_); -#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2735 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp19_ = sources; -#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2735 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp20_ = gee_collection_get_size (_tmp19_); -#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2735 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp21_ = _tmp20_; -#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2735 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp22_ = g_strdup_printf (_tmp18_, _tmp21_); -#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2735 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (user_message); -#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2735 "/home/jens/Source/shotwell/src/Dialogs.vala" user_message = _tmp22_; -#line 21353 "Dialogs.c" +#line 21481 "Dialogs.c" } else { GeeArrayList* _tmp23_ = NULL; gboolean _tmp24_ = FALSE; gboolean _tmp25_ = FALSE; -#line 2722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2738 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp23_ = videos; -#line 2722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2738 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp24_ = gee_collection_get_is_empty (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 2722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2738 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp25_ = _tmp24_; -#line 2722 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2738 "/home/jens/Source/shotwell/src/Dialogs.vala" if (!_tmp25_) { -#line 21366 "Dialogs.c" +#line 21494 "Dialogs.c" GeeCollection* _tmp26_ = NULL; gint _tmp27_ = 0; gint _tmp28_ = 0; @@ -21395,33 +21523,33 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g gint _tmp31_ = 0; gint _tmp32_ = 0; gchar* _tmp33_ = NULL; -#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp26_ = sources; -#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp27_ = gee_collection_get_size (_tmp26_); -#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp28_ = _tmp27_; -#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp29_ = ngettext ("This will remove the video from your Shotwell library. Would you also" \ -" like to move the file to your desktop trash?\n" \ +#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp29_ = ngettext ("This will remove the video from your Shotwell library. Would you also " \ +"like to move the file to your desktop trash?\n" \ "\n" \ -"This action cannot be undone.", "This will remove %d videos from your Shotwell library. Would you also" \ -" like to move the files to your desktop trash?\n" \ +"This action cannot be undone.", "This will remove %d videos from your Shotwell library. Would you also " \ +"like to move the files to your desktop trash?\n" \ "\n" \ "This action cannot be undone.", (gulong) _tmp28_); -#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp30_ = sources; -#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp31_ = gee_collection_get_size (_tmp30_); -#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp32_ = _tmp31_; -#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp33_ = g_strdup_printf (_tmp29_, _tmp32_); -#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (user_message); -#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala" user_message = _tmp33_; -#line 21395 "Dialogs.c" +#line 21523 "Dialogs.c" } else { GeeCollection* _tmp34_ = NULL; gint _tmp35_ = 0; @@ -21431,222 +21559,222 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g gint _tmp39_ = 0; gint _tmp40_ = 0; gchar* _tmp41_ = NULL; -#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2743 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp34_ = sources; -#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2743 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp35_ = gee_collection_get_size (_tmp34_); -#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2743 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp36_ = _tmp35_; -#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp37_ = ngettext ("This will remove the photo from your Shotwell library. Would you also" \ -" like to move the file to your desktop trash?\n" \ +#line 2743 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp37_ = ngettext ("This will remove the photo from your Shotwell library. Would you also " \ +"like to move the file to your desktop trash?\n" \ "\n" \ -"This action cannot be undone.", "This will remove %d photos from your Shotwell library. Would you also" \ -" like to move the files to your desktop trash?\n" \ +"This action cannot be undone.", "This will remove %d photos from your Shotwell library. Would you also " \ +"like to move the files to your desktop trash?\n" \ "\n" \ "This action cannot be undone.", (gulong) _tmp36_); -#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2743 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp38_ = sources; -#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2743 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp39_ = gee_collection_get_size (_tmp38_); -#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2743 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp40_ = _tmp39_; -#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2743 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp41_ = g_strdup_printf (_tmp37_, _tmp40_); -#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2743 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (user_message); -#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2743 "/home/jens/Source/shotwell/src/Dialogs.vala" user_message = _tmp41_; -#line 21425 "Dialogs.c" +#line 21553 "Dialogs.c" } } -#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp42_ = app_window_get_instance (); -#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp43_ = _tmp42_; -#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp44_ = dialog_title; -#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp45_ = user_message; -#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp46_ = sources; -#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp47_ = gee_collection_get_size (_tmp46_); -#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp48_ = _tmp47_; -#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp49_ = remove_from_library_dialog (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_window_get_type (), GtkWindow), _tmp44_, _tmp45_, _tmp48_); -#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp50_ = _tmp49_; -#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp43_); -#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala" _result_ = _tmp50_; -#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp52_ = _result_; -#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp52_ != GTK_RESPONSE_YES) { -#line 21454 "Dialogs.c" +#line 21582 "Dialogs.c" GtkResponseType _tmp53_ = 0; -#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp53_ = _result_; -#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp51_ = _tmp53_ != GTK_RESPONSE_NO; -#line 21460 "Dialogs.c" +#line 21588 "Dialogs.c" } else { -#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp51_ = FALSE; -#line 21464 "Dialogs.c" +#line 21592 "Dialogs.c" } -#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp51_) { -#line 2735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2751 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (user_message); -#line 2735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2751 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (videos); -#line 2735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2751 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (photos); -#line 2735 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2751 "/home/jens/Source/shotwell/src/Dialogs.vala" return; -#line 21476 "Dialogs.c" +#line 21604 "Dialogs.c" } -#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2753 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp54_ = _result_; -#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2753 "/home/jens/Source/shotwell/src/Dialogs.vala" delete_backing = _tmp54_ == GTK_RESPONSE_YES; -#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2755 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp55_ = app_window_get_instance (); -#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2755 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp56_ = _tmp55_; -#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2755 "/home/jens/Source/shotwell/src/Dialogs.vala" page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp56_, TYPE_PAGE_WINDOW, PageWindow)); -#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2755 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp56_); -#line 2741 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala" progress = NULL; -#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala" monitor = NULL; -#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala" monitor_target = NULL; -#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala" monitor_target_destroy_notify = NULL; -#line 2743 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2759 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp57_ = sources; -#line 2743 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2759 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp58_ = gee_collection_get_size (_tmp57_); -#line 2743 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2759 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp59_ = _tmp58_; -#line 2743 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2759 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp59_ >= 20) { -#line 21506 "Dialogs.c" +#line 21634 "Dialogs.c" AppWindow* _tmp60_ = NULL; AppWindow* _tmp61_ = NULL; const gchar* _tmp62_ = NULL; ProgressDialog* _tmp63_ = NULL; ProgressDialog* _tmp64_ = NULL; -#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp60_ = app_window_get_instance (); -#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp61_ = _tmp60_; -#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp62_ = progress_dialog_text; -#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp63_ = progress_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, gtk_window_get_type (), GtkWindow), _tmp62_, NULL); -#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala" g_object_ref_sink (_tmp63_); -#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (progress); -#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala" progress = _tmp63_; -#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp61_); -#line 2745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp64_ = progress; -#line 2745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala" (monitor_target_destroy_notify == NULL) ? NULL : (monitor_target_destroy_notify (monitor_target), NULL); -#line 2745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala" monitor = NULL; -#line 2745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala" monitor_target = NULL; -#line 2745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala" monitor_target_destroy_notify = NULL; -#line 2745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala" monitor = _progress_dialog_monitor_progress_monitor; -#line 2745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala" monitor_target = g_object_ref (_tmp64_); -#line 2745 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala" monitor_target_destroy_notify = g_object_unref; -#line 21544 "Dialogs.c" +#line 21672 "Dialogs.c" } -#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2764 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp65_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2764 "/home/jens/Source/shotwell/src/Dialogs.vala" not_removed_photos = _tmp65_; -#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2765 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp66_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2765 "/home/jens/Source/shotwell/src/Dialogs.vala" not_removed_videos = _tmp66_; -#line 2752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp67_ = library_photo_global; -#line 2752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp68_ = photos; -#line 2752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp69_ = delete_backing; -#line 2752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp70_ = monitor; -#line 2752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp70__target = monitor_target; -#line 2752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp71_ = not_removed_photos; -#line 2752 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala" media_source_collection_remove_from_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, GEE_TYPE_COLLECTION, GeeCollection), _tmp69_, _tmp70_, _tmp70__target, G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, GEE_TYPE_LIST, GeeList)); -#line 2753 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2769 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp72_ = video_global; -#line 2753 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2769 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp73_ = videos; -#line 2753 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2769 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp74_ = delete_backing; -#line 2753 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2769 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp75_ = monitor; -#line 2753 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2769 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp75__target = monitor_target; -#line 2753 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2769 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp76_ = not_removed_videos; -#line 2753 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2769 "/home/jens/Source/shotwell/src/Dialogs.vala" media_source_collection_remove_from_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, GEE_TYPE_COLLECTION, GeeCollection), _tmp74_, _tmp75_, _tmp75__target, G_TYPE_CHECK_INSTANCE_CAST (_tmp76_, GEE_TYPE_LIST, GeeList)); -#line 2756 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp77_ = not_removed_photos; -#line 2756 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp78_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 2756 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp79_ = _tmp78_; -#line 2756 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp80_ = not_removed_videos; -#line 2756 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp81_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp80_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 2756 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp82_ = _tmp81_; -#line 2756 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala" num_not_removed = _tmp79_ + _tmp82_; -#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp84_ = delete_backing; -#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp84_) { -#line 21600 "Dialogs.c" +#line 21728 "Dialogs.c" gint _tmp85_ = 0; -#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp85_ = num_not_removed; -#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp83_ = _tmp85_ > 0; -#line 21606 "Dialogs.c" +#line 21734 "Dialogs.c" } else { -#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp83_ = FALSE; -#line 21610 "Dialogs.c" +#line 21738 "Dialogs.c" } -#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp83_) { -#line 21614 "Dialogs.c" +#line 21742 "Dialogs.c" gchar* not_deleted_message = NULL; gint _tmp86_ = 0; const gchar* _tmp87_ = NULL; @@ -21660,39 +21788,39 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g GtkResponseType _tmp94_ = 0; GtkResponseType _tmp95_ = 0; GtkResponseType _tmp96_ = 0; -#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp86_ = num_not_removed; -#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala" - _tmp87_ = ngettext ("The photo or video cannot be moved to your desktop trash. Delete this" \ -" file?", "%d photos/videos cannot be moved to your desktop trash. Delete these " \ -"files?", (gulong) _tmp86_); -#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala" + _tmp87_ = ngettext ("The photo or video cannot be moved to your desktop trash. Delete this " \ +"file?", "%d photos/videos cannot be moved to your desktop trash. Delete these f" \ +"iles?", (gulong) _tmp86_); +#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp88_ = num_not_removed; -#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp89_ = g_strdup_printf (_tmp87_, _tmp88_); -#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala" not_deleted_message = _tmp89_; -#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp90_ = app_window_get_instance (); -#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp91_ = _tmp90_; -#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp92_ = dialog_title; -#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp93_ = not_deleted_message; -#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp94_ = remove_from_filesystem_dialog (G_TYPE_CHECK_INSTANCE_CAST (_tmp91_, gtk_window_get_type (), GtkWindow), _tmp92_, _tmp93_); -#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2778 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp95_ = _tmp94_; -#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2778 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp91_); -#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2778 "/home/jens/Source/shotwell/src/Dialogs.vala" result_delete = _tmp95_; -#line 2765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2781 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp96_ = result_delete; -#line 2765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2781 "/home/jens/Source/shotwell/src/Dialogs.vala" if (GTK_RESPONSE_YES == _tmp96_) { -#line 21658 "Dialogs.c" +#line 21786 "Dialogs.c" GeeArrayList* not_deleted_photos = NULL; GeeArrayList* _tmp97_ = NULL; GeeArrayList* not_deleted_videos = NULL; @@ -21715,57 +21843,57 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g gint _tmp111_ = 0; gint _tmp112_ = 0; gint _tmp113_ = 0; -#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2783 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp97_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2783 "/home/jens/Source/shotwell/src/Dialogs.vala" not_deleted_photos = _tmp97_; -#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp98_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala" not_deleted_videos = _tmp98_; -#line 2769 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2785 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp99_ = library_photo_global; -#line 2769 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2785 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp100_ = not_removed_photos; -#line 2769 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2785 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp101_ = monitor; -#line 2769 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2785 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp101__target = monitor_target; -#line 2769 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2785 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp102_ = not_deleted_photos; -#line 2769 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2785 "/home/jens/Source/shotwell/src/Dialogs.vala" media_source_collection_delete_backing_files (G_TYPE_CHECK_INSTANCE_CAST (_tmp99_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp100_, GEE_TYPE_COLLECTION, GeeCollection), _tmp101_, _tmp101__target, G_TYPE_CHECK_INSTANCE_CAST (_tmp102_, GEE_TYPE_LIST, GeeList)); -#line 2770 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2786 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp103_ = video_global; -#line 2770 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2786 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp104_ = not_removed_videos; -#line 2770 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2786 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp105_ = monitor; -#line 2770 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2786 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp105__target = monitor_target; -#line 2770 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2786 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp106_ = not_deleted_videos; -#line 2770 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2786 "/home/jens/Source/shotwell/src/Dialogs.vala" media_source_collection_delete_backing_files (G_TYPE_CHECK_INSTANCE_CAST (_tmp103_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp104_, GEE_TYPE_COLLECTION, GeeCollection), _tmp105_, _tmp105__target, G_TYPE_CHECK_INSTANCE_CAST (_tmp106_, GEE_TYPE_LIST, GeeList)); -#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2788 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp107_ = not_deleted_photos; -#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2788 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp108_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp107_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2788 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp109_ = _tmp108_; -#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2788 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp110_ = not_deleted_videos; -#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2788 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp111_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp110_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2788 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp112_ = _tmp111_; -#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2788 "/home/jens/Source/shotwell/src/Dialogs.vala" num_not_deleted = _tmp109_ + _tmp112_; -#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2789 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp113_ = num_not_deleted; -#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2789 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp113_ > 0) { -#line 21731 "Dialogs.c" +#line 21859 "Dialogs.c" gchar* delete_failed_message = NULL; gint _tmp114_ = 0; const gchar* _tmp115_ = NULL; @@ -21775,83 +21903,83 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g const gchar* _tmp119_ = NULL; AppWindow* _tmp120_ = NULL; AppWindow* _tmp121_ = NULL; -#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2791 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp114_ = num_not_deleted; -#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2791 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp115_ = ngettext ("The photo or video cannot be deleted.", "%d photos/videos cannot be deleted.", (gulong) _tmp114_); -#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2791 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp116_ = num_not_deleted; -#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2791 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp117_ = g_strdup_printf (_tmp115_, _tmp116_); -#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2791 "/home/jens/Source/shotwell/src/Dialogs.vala" delete_failed_message = _tmp117_; -#line 2779 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2795 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp118_ = dialog_title; -#line 2779 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2795 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp119_ = delete_failed_message; -#line 2779 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2795 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp120_ = app_window_get_instance (); -#line 2779 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2795 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp121_ = _tmp120_; -#line 2779 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2795 "/home/jens/Source/shotwell/src/Dialogs.vala" app_window_error_message_with_title (_tmp118_, _tmp119_, G_TYPE_CHECK_INSTANCE_CAST (_tmp121_, gtk_window_get_type (), GtkWindow), TRUE); -#line 2779 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2795 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp121_); -#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2789 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (delete_failed_message); -#line 21765 "Dialogs.c" +#line 21893 "Dialogs.c" } -#line 2765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2781 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (not_deleted_videos); -#line 2765 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2781 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (not_deleted_photos); -#line 21771 "Dialogs.c" +#line 21899 "Dialogs.c" } -#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (not_deleted_message); -#line 21775 "Dialogs.c" +#line 21903 "Dialogs.c" } -#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2800 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp122_ = progress; -#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2800 "/home/jens/Source/shotwell/src/Dialogs.vala" if (_tmp122_ != NULL) { -#line 21781 "Dialogs.c" +#line 21909 "Dialogs.c" ProgressDialog* _tmp123_ = NULL; -#line 2785 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2801 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp123_ = progress; -#line 2785 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2801 "/home/jens/Source/shotwell/src/Dialogs.vala" progress_dialog_close (_tmp123_); -#line 21787 "Dialogs.c" +#line 21915 "Dialogs.c" } -#line 2787 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2803 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp124_ = app_window_get_instance (); -#line 2787 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2803 "/home/jens/Source/shotwell/src/Dialogs.vala" _tmp125_ = _tmp124_; -#line 2787 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2803 "/home/jens/Source/shotwell/src/Dialogs.vala" page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp125_, TYPE_PAGE_WINDOW, PageWindow)); -#line 2787 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2803 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (_tmp125_); -#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (not_removed_videos); -#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (not_removed_photos); -#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala" (monitor_target_destroy_notify == NULL) ? NULL : (monitor_target_destroy_notify (monitor_target), NULL); -#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala" monitor = NULL; -#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala" monitor_target = NULL; -#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala" monitor_target_destroy_notify = NULL; -#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (progress); -#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_free0 (user_message); -#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (videos); -#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala" +#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala" _g_object_unref0 (photos); -#line 21817 "Dialogs.c" +#line 21945 "Dialogs.c" } diff --git a/src/Dialogs.vala b/src/Dialogs.vala index f01e078..01caced 100644 --- a/src/Dialogs.vala +++ b/src/Dialogs.vala @@ -13,8 +13,8 @@ public bool confirm_delete_tag(Tag tag) { if (count == 0) return true; string msg = ngettext( - "This will remove the tag \"%s\" from one photo. Continue?", - "This will remove the tag \"%s\" from %d photos. Continue?", + "This will remove the tag “%s” from one photo. Continue?", + "This will remove the tag “%s” from %d photos. Continue?", count).printf(tag.get_user_visible_name(), count); return AppWindow.negate_affirm_question(msg, _("_Cancel"), _("_Delete"), @@ -22,7 +22,7 @@ public bool confirm_delete_tag(Tag tag) { } public bool confirm_delete_saved_search(SavedSearch search) { - string msg = _("This will remove the saved search \"%s\". Continue?") + string msg = _("This will remove the saved search “%s”. Continue?") .printf(search.get_name()); return AppWindow.negate_affirm_question(msg, _("_Cancel"), _("_Delete"), @@ -66,15 +66,11 @@ public File? choose_file(string current_file_basename) { chooser.set_current_name(current_file_basename); chooser.set_local_only(false); - // The log handler reset should be removed once GTK 3.4 becomes widely available; - // please see https://bugzilla.gnome.org/show_bug.cgi?id=662814 for details. - Log.set_handler("Gtk", LogLevelFlags.LEVEL_WARNING, suppress_warnings); File file = null; if (chooser.run() == Gtk.ResponseType.ACCEPT) { file = File.new_for_path(chooser.get_filename()); current_export_dir = file.get_parent(); } - Log.set_handler("Gtk", LogLevelFlags.LEVEL_WARNING, Log.default_handler); chooser.destroy(); return file; @@ -113,7 +109,7 @@ public void open_external_editor_error_dialog(Error err, Photo photo) { if (err is IOError.PERMISSION_DENIED || err is FileError.PERM) { // Yes - display an alternate error message here. AppWindow.error_message( - _("Shotwell couldn't create a file for editing this photo because you do not have permission to write to %s.").printf(photo.get_master_file().get_parent().get_path())); + _("Shotwell couldn’t create a file for editing this photo because you do not have permission to write to %s.").printf(photo.get_master_file().get_parent().get_path())); } else { // No - something else is wrong, display the error message // the system gave us. @@ -162,7 +158,7 @@ public class ExportDialog : Gtk.Dialog { private Gtk.ComboBoxText quality_combo; private Gtk.ComboBoxText constraint_combo; private Gtk.ComboBoxText format_combo; - private Gtk.CheckButton export_metadata; + private Gtk.Switch export_metadata; private Gee.ArrayList<string> format_options = new Gee.ArrayList<string>(); private Gtk.Entry pixels_entry; private Gtk.Widget ok_button; @@ -176,6 +172,15 @@ public class ExportDialog : Gtk.Dialog { this.title = title; resizable = false; + //get information about the export settings out of our config backend + Config.Facade config = Config.Facade.get_instance(); + current_parameters.mode = config.get_export_export_format_mode(); //ExportFormatMode + current_parameters.specified_format = config.get_export_photo_file_format(); //PhotoFileFormat + current_parameters.quality = config.get_export_quality(); //quality + current_parameters.export_metadata = config.get_export_export_metadata(); //export metadata + current_constraint = config.get_export_constraint(); //constraint + current_scale = config.get_export_scale(); //scale + quality_combo = new Gtk.ComboBoxText(); int ctr = 0; foreach (Jpeg.Quality quality in QUALITY_ARRAY) { @@ -225,13 +230,15 @@ public class ExportDialog : Gtk.Dialog { add_label(_("_Pixels:"), 0, 3, pixels_entry); add_control(pixels_entry, 1, 3); - export_metadata = new Gtk.CheckButton.with_label(_("Export metadata")); + export_metadata = new Gtk.Switch (); + add_label(_("Export _metadata:"), 0, 4, export_metadata); add_control(export_metadata, 1, 4); export_metadata.active = true; + export_metadata.halign = Gtk.Align.START; - table.set_row_spacing(5); - table.set_column_spacing(5); - table.set_border_width(3); + table.set_row_spacing(6); + table.set_column_spacing(12); + table.set_border_width(18); ((Gtk.Box) get_content_area()).add(table); @@ -343,6 +350,15 @@ public class ExportDialog : Gtk.Dialog { if (current_parameters.specified_format == PhotoFileFormat.JFIF) parameters.quality = current_parameters.quality = QUALITY_ARRAY[quality_combo.get_active()]; } + + //save current settings in config backend for reusing later + Config.Facade config = Config.Facade.get_instance(); + config.set_export_export_format_mode(current_parameters.mode); //ExportFormatMode + config.set_export_photo_file_format(current_parameters.specified_format); //PhotoFileFormat + config.set_export_quality(current_parameters.quality); //quality + config.set_export_export_metadata(current_parameters.export_metadata); //export metadata + config.set_export_constraint(current_constraint); //constraint + config.set_export_scale(current_scale); //scale } else { scale = 0; constraint = ScaleConstraint.ORIGINAL; @@ -354,24 +370,24 @@ public class ExportDialog : Gtk.Dialog { } private void add_label(string text, int x, int y, Gtk.Widget? widget = null) { - Gtk.Alignment left_aligned = new Gtk.Alignment(1, 0.5f, 0, 0); - Gtk.Label new_label = new Gtk.Label.with_mnemonic(text); + new_label.halign = Gtk.Align.END; + new_label.valign = Gtk.Align.CENTER; new_label.set_use_underline(true); if (widget != null) new_label.set_mnemonic_widget(widget); - left_aligned.add(new_label); - - table.attach(left_aligned, x, y, 1, 1); + table.attach(new_label, x, y, 1, 1); } private void add_control(Gtk.Widget widget, int x, int y) { - Gtk.Alignment left_aligned = new Gtk.Alignment(0, 0.5f, 1, 0); - left_aligned.add(widget); + widget.halign = Gtk.Align.FILL; + widget.valign = Gtk.Align.CENTER; + widget.hexpand = true; + widget.vexpand = true; - table.attach(left_aligned, x, y, 1, 1); + table.attach(widget, x, y, 1, 1); } private void on_constraint_changed() { @@ -459,7 +475,7 @@ public class ExportDialog : Gtk.Dialog { namespace ImportUI { private const int REPORT_FAILURE_COUNT = 4; -internal const string SAVE_RESULTS_BUTTON_NAME = _("Save Details..."); +internal const string SAVE_RESULTS_BUTTON_NAME = _("Save Details…"); internal const string SAVE_RESULTS_FILE_CHOOSER_TITLE = _("Save Details"); internal const int SAVE_RESULTS_RESPONSE_ID = 1024; @@ -576,7 +592,7 @@ public string create_result_report_from_manifest(ImportManifest manifest) { // Files Not Imported Because They Weren't Recognized as Photos or Videos // if (manifest.skipped_files.size > 0) { - builder.append(_("Files Not Imported Because They Weren't Recognized as Photos or Videos:") + builder.append(_("Files Not Imported Because They Weren’t Recognized as Photos or Videos:") + "\n\n"); foreach (BatchImportResult result in manifest.skipped_files) { @@ -591,7 +607,7 @@ public string create_result_report_from_manifest(ImportManifest manifest) { // Photos/Videos Not Imported Because They Weren't in a Format Shotwell Understands // if (manifest.skipped_photos.size > 0) { - builder.append(_("Photos/Videos Not Imported Because They Weren't in a Format Shotwell Understands:") + builder.append(_("Photos/Videos Not Imported Because They Weren’t in a Format Shotwell Understands:") + "\n\n"); foreach (BatchImportResult result in manifest.skipped_photos) { @@ -606,11 +622,11 @@ public string create_result_report_from_manifest(ImportManifest manifest) { // Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its Library // if (manifest.write_failed.size > 0) { - builder.append(_("Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its Library:") + builder.append(_("Photos/Videos Not Imported Because Shotwell Couldn’t Copy Them into its Library:") + "\n\n"); foreach (BatchImportResult result in manifest.write_failed) { - current_file_summary = (_("couldn't copy %s\n\tto %s")).printf(result.src_identifier, + current_file_summary = (_("couldn’t copy %s\n\tto %s")).printf(result.src_identifier, result.dest_identifier) + "\n\t" + _("error message:") + " " + result.errmsg + "\n\n"; @@ -1414,8 +1430,8 @@ public bool revert_editable_dialog(Gtk.Window owner, Gee.Collection<Photo> photo string headline = (count == 1) ? _("Revert External Edit?") : _("Revert External Edits?"); string msg = ngettext( - "This will destroy all changes made to the external file. Continue?", - "This will destroy all changes made to %d external files. Continue?", + "This will destroy all changes made to the external file. Continue?", + "This will destroy all changes made to %d external files. Continue?", count).printf(count); string action = (count == 1) ? _("Re_vert External Edit") : _("Re_vert External Edits"); @@ -1439,8 +1455,8 @@ public bool remove_offline_dialog(Gtk.Window owner, int count) { return false; string msg = ngettext( - "This will remove the photo from the library. Continue?", - "This will remove %d photos from the library. Continue?", + "This will remove the photo from the library. Continue?", + "This will remove %d photos from the library. Continue?", count).printf(count); Gtk.MessageDialog dialog = new Gtk.MessageDialog(owner, Gtk.DialogFlags.MODAL, @@ -2143,7 +2159,7 @@ public class WelcomeDialog : Gtk.Dialog { content.add(import_content); content.pack_start(instructions, false, false, 0); - hide_button = new Gtk.CheckButton.with_mnemonic(_("_Don't show this message again")); + hide_button = new Gtk.CheckButton.with_mnemonic(_("_Don’t show this message again")); hide_button.set_active(true); content.pack_start(hide_button, false, false, 6); @@ -2716,16 +2732,16 @@ public void remove_from_app(Gee.Collection<MediaSource> sources, string dialog_t string? user_message = null; if ((!photos.is_empty) && (!videos.is_empty)) { - user_message = ngettext("This will remove the photo/video from your Shotwell library. Would you also like to move the file to your desktop trash?\n\nThis action cannot be undone.", - "This will remove %d photos/videos from your Shotwell library. Would you also like to move the files to your desktop trash?\n\nThis action cannot be undone.", + user_message = ngettext("This will remove the photo/video from your Shotwell library. Would you also like to move the file to your desktop trash?\n\nThis action cannot be undone.", + "This will remove %d photos/videos from your Shotwell library. Would you also like to move the files to your desktop trash?\n\nThis action cannot be undone.", sources.size).printf(sources.size); } else if (!videos.is_empty) { - user_message = ngettext("This will remove the video from your Shotwell library. Would you also like to move the file to your desktop trash?\n\nThis action cannot be undone.", - "This will remove %d videos from your Shotwell library. Would you also like to move the files to your desktop trash?\n\nThis action cannot be undone.", + user_message = ngettext("This will remove the video from your Shotwell library. Would you also like to move the file to your desktop trash?\n\nThis action cannot be undone.", + "This will remove %d videos from your Shotwell library. Would you also like to move the files to your desktop trash?\n\nThis action cannot be undone.", sources.size).printf(sources.size); } else { - user_message = ngettext("This will remove the photo from your Shotwell library. Would you also like to move the file to your desktop trash?\n\nThis action cannot be undone.", - "This will remove %d photos from your Shotwell library. Would you also like to move the files to your desktop trash?\n\nThis action cannot be undone.", + user_message = ngettext("This will remove the photo from your Shotwell library. Would you also like to move the file to your desktop trash?\n\nThis action cannot be undone.", + "This will remove %d photos from your Shotwell library. Would you also like to move the files to your desktop trash?\n\nThis action cannot be undone.", sources.size).printf(sources.size); } @@ -2756,8 +2772,8 @@ public void remove_from_app(Gee.Collection<MediaSource> sources, string dialog_t int num_not_removed = not_removed_photos.size + not_removed_videos.size; if (delete_backing && num_not_removed > 0) { string not_deleted_message = - ngettext("The photo or video cannot be moved to your desktop trash. Delete this file?", - "%d photos/videos cannot be moved to your desktop trash. Delete these files?", + ngettext("The photo or video cannot be moved to your desktop trash. Delete this file?", + "%d photos/videos cannot be moved to your desktop trash. Delete these files?", num_not_removed).printf(num_not_removed); Gtk.ResponseType result_delete = remove_from_filesystem_dialog(AppWindow.get_instance(), dialog_title, not_deleted_message); diff --git a/src/DirectoryMonitor.c b/src/DirectoryMonitor.c index 140736c..38932d1 100644 --- a/src/DirectoryMonitor.c +++ b/src/DirectoryMonitor.c @@ -3785,7 +3785,7 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync #line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" if (G_UNLIKELY (_data_->_inner_error_ != NULL)) { #line 3784 "DirectoryMonitor.c" - goto __catch469_g_error; + goto __catch482_g_error; } #line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" _data_->_tmp15_ = NULL; @@ -3801,8 +3801,8 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync _g_object_unref0 (_data_->_tmp11_); #line 3799 "DirectoryMonitor.c" } - goto __finally469; - __catch469_g_error: + goto __finally482; + __catch482_g_error: { #line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" _data_->err = _data_->_inner_error_; @@ -3858,7 +3858,7 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync return FALSE; #line 3856 "DirectoryMonitor.c" } - __finally469: + __finally482: #line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" if (G_UNLIKELY (_data_->_inner_error_ != NULL)) { #line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" @@ -4089,7 +4089,7 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync #line 905 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" if (G_UNLIKELY (_data_->_inner_error_ != NULL)) { #line 4088 "DirectoryMonitor.c" - goto __catch470_g_error; + goto __catch483_g_error; } { #line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" @@ -4129,7 +4129,7 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync #line 908 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" _g_object_unref0 (_data_->enumerator); #line 4128 "DirectoryMonitor.c" - goto __catch470_g_error; + goto __catch483_g_error; } #line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" _data_->_tmp55_ = NULL; @@ -4371,8 +4371,8 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync _g_object_unref0 (_data_->enumerator); #line 4369 "DirectoryMonitor.c" } - goto __finally470; - __catch470_g_error: + goto __finally483; + __catch483_g_error: { #line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" _data_->err2 = _data_->_inner_error_; @@ -4432,7 +4432,7 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync return FALSE; #line 4430 "DirectoryMonitor.c" } - __finally470: + __finally483: #line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" if (G_UNLIKELY (_data_->_inner_error_ != NULL)) { #line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" @@ -5058,7 +5058,7 @@ static gboolean directory_monitor_add_monitor (DirectoryMonitor* self, GFile* di #line 1022 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 5057 "DirectoryMonitor.c" - goto __catch471_g_error; + goto __catch484_g_error; } #line 1022 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" _tmp12_ = _tmp9_; @@ -5072,8 +5072,8 @@ static gboolean directory_monitor_add_monitor (DirectoryMonitor* self, GFile* di _g_object_unref0 (_tmp9_); #line 5070 "DirectoryMonitor.c" } - goto __finally471; - __catch471_g_error: + goto __finally484; + __catch484_g_error: { GError* err = NULL; GFile* _tmp13_ = NULL; @@ -5111,7 +5111,7 @@ static gboolean directory_monitor_add_monitor (DirectoryMonitor* self, GFile* di return result; #line 5109 "DirectoryMonitor.c" } - __finally471: + __finally484: #line 1021 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1021 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" @@ -7557,7 +7557,7 @@ static void directory_monitor_query_info_queue_element_on_completed (DirectoryMo #line 111 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 7554 "DirectoryMonitor.c" - goto __catch472_g_error; + goto __catch485_g_error; } #line 111 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" _tmp5_ = _tmp2_; @@ -7571,8 +7571,8 @@ static void directory_monitor_query_info_queue_element_on_completed (DirectoryMo _g_object_unref0 (_tmp2_); #line 7567 "DirectoryMonitor.c" } - goto __finally472; - __catch472_g_error: + goto __finally485; + __catch485_g_error: { GError* err = NULL; GError* _tmp6_ = NULL; @@ -7593,7 +7593,7 @@ static void directory_monitor_query_info_queue_element_on_completed (DirectoryMo _g_error_free0 (err); #line 7589 "DirectoryMonitor.c" } - __finally472: + __finally485: #line 110 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 110 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" @@ -8696,7 +8696,7 @@ static GFileInfo* directory_monitor_file_info_map_query_info (DirectoryMonitorFi #line 259 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 8693 "DirectoryMonitor.c" - goto __catch473_g_error; + goto __catch486_g_error; } #line 259 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" _tmp7_ = _tmp3_; @@ -8710,8 +8710,8 @@ static GFileInfo* directory_monitor_file_info_map_query_info (DirectoryMonitorFi _g_object_unref0 (_tmp3_); #line 8706 "DirectoryMonitor.c" } - goto __finally473; - __catch473_g_error: + goto __finally486; + __catch486_g_error: { GError* err = NULL; GFile* _tmp8_ = NULL; @@ -8747,7 +8747,7 @@ static GFileInfo* directory_monitor_file_info_map_query_info (DirectoryMonitorFi return result; #line 8743 "DirectoryMonitor.c" } - __finally473: + __finally486: #line 258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala" diff --git a/src/Event.c b/src/Event.c index 0c3af9b..88c7dda 100644 --- a/src/Event.c +++ b/src/Event.c @@ -3752,7 +3752,7 @@ Event* event_create_empty_event (MediaSource* source) { #line 476 "/home/jens/Source/shotwell/src/Event.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 3755 "Event.c" - goto __catch424_database_error; + goto __catch437_database_error; } #line 476 "/home/jens/Source/shotwell/src/Event.vala" 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); @@ -3790,8 +3790,8 @@ Event* event_create_empty_event (MediaSource* source) { return result; #line 3792 "Event.c" } - goto __finally424; - __catch424_database_error: + goto __finally437; + __catch437_database_error: { GError* err = NULL; GError* _tmp14_ = NULL; @@ -3811,7 +3811,7 @@ Event* event_create_empty_event (MediaSource* source) { return result; #line 3813 "Event.c" } - __finally424: + __finally437: #line 475 "/home/jens/Source/shotwell/src/Event.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 475 "/home/jens/Source/shotwell/src/Event.vala" @@ -4020,11 +4020,11 @@ static void event_real_break_link_many (ContainerSource* base, GeeCollection* so #line 526 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4023 "Event.c" - goto __catch425_g_error; + goto __catch438_g_error; } } - goto __finally425; - __catch425_g_error: + goto __finally438; + __catch438_g_error: { GError* err = NULL; GError* _tmp6_ = NULL; @@ -4051,7 +4051,7 @@ static void event_real_break_link_many (ContainerSource* base, GeeCollection* so _g_error_free0 (err); #line 4053 "Event.c" } - __finally425: + __finally438: #line 525 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 525 "/home/jens/Source/shotwell/src/Event.vala" @@ -4081,11 +4081,11 @@ static void event_real_break_link_many (ContainerSource* base, GeeCollection* so #line 532 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4084 "Event.c" - goto __catch426_g_error; + goto __catch439_g_error; } } - goto __finally426; - __catch426_g_error: + goto __finally439; + __catch439_g_error: { GError* err = NULL; GError* _tmp13_ = NULL; @@ -4112,7 +4112,7 @@ static void event_real_break_link_many (ContainerSource* base, GeeCollection* so _g_error_free0 (err); #line 4114 "Event.c" } - __finally426: + __finally439: #line 531 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 531 "/home/jens/Source/shotwell/src/Event.vala" @@ -4198,11 +4198,11 @@ static void event_real_establish_link_many (ContainerSource* base, GeeCollection #line 556 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4201 "Event.c" - goto __catch427_g_error; + goto __catch440_g_error; } } - goto __finally427; - __catch427_g_error: + goto __finally440; + __catch440_g_error: { GError* err = NULL; GError* _tmp6_ = NULL; @@ -4229,7 +4229,7 @@ static void event_real_establish_link_many (ContainerSource* base, GeeCollection _g_error_free0 (err); #line 4231 "Event.c" } - __finally427: + __finally440: #line 555 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 555 "/home/jens/Source/shotwell/src/Event.vala" @@ -4259,11 +4259,11 @@ static void event_real_establish_link_many (ContainerSource* base, GeeCollection #line 562 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4262 "Event.c" - goto __catch428_g_error; + goto __catch441_g_error; } } - goto __finally428; - __catch428_g_error: + goto __finally441; + __catch441_g_error: { GError* err = NULL; GError* _tmp13_ = NULL; @@ -4290,7 +4290,7 @@ static void event_real_establish_link_many (ContainerSource* base, GeeCollection _g_error_free0 (err); #line 4292 "Event.c" } - __finally428: + __finally441: #line 561 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 561 "/home/jens/Source/shotwell/src/Event.vala" @@ -5324,7 +5324,7 @@ static Event* event_generate_event (MediaSource* media, ViewCollection* events_s #line 658 "/home/jens/Source/shotwell/src/Event.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 5326 "Event.c" - goto __catch429_database_error; + goto __catch442_database_error; } #line 658 "/home/jens/Source/shotwell/src/Event.vala" 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); @@ -5381,8 +5381,8 @@ static Event* event_generate_event (MediaSource* media, ViewCollection* events_s return result; #line 5382 "Event.c" } - goto __finally429; - __catch429_database_error: + goto __finally442; + __catch442_database_error: { GError* err = NULL; GError* _tmp49_ = NULL; @@ -5398,7 +5398,7 @@ static Event* event_generate_event (MediaSource* media, ViewCollection* events_s _g_error_free0 (err); #line 5399 "Event.c" } - __finally429: + __finally442: #line 657 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 657 "/home/jens/Source/shotwell/src/Event.vala" @@ -6904,7 +6904,7 @@ GdkPixbuf* event_get_preview_pixbuf (Event* self, Scaling* scaling) { #line 903 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 6906 "Event.c" - goto __catch430_g_error; + goto __catch443_g_error; } #line 903 "/home/jens/Source/shotwell/src/Event.vala" _tmp6_ = _tmp0_; @@ -6918,8 +6918,8 @@ GdkPixbuf* event_get_preview_pixbuf (Event* self, Scaling* scaling) { return result; #line 6919 "Event.c" } - goto __finally430; - __catch430_g_error: + goto __finally443; + __catch443_g_error: { GError* err = NULL; #line 902 "/home/jens/Source/shotwell/src/Event.vala" @@ -6934,7 +6934,7 @@ GdkPixbuf* event_get_preview_pixbuf (Event* self, Scaling* scaling) { return result; #line 6935 "Event.c" } - __finally430: + __finally443: #line 902 "/home/jens/Source/shotwell/src/Event.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 902 "/home/jens/Source/shotwell/src/Event.vala" @@ -6976,7 +6976,7 @@ static void event_real_destroy (DataSource* base) { #line 915 "/home/jens/Source/shotwell/src/Event.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 6978 "Event.c" - goto __catch431_database_error; + goto __catch444_database_error; } #line 915 "/home/jens/Source/shotwell/src/Event.vala" 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); @@ -6987,8 +6987,8 @@ static void event_real_destroy (DataSource* base) { #line 6987 "Event.c" } } - goto __finally431; - __catch431_database_error: + goto __finally444; + __catch444_database_error: { GError* err = NULL; GError* _tmp3_ = NULL; @@ -7004,7 +7004,7 @@ static void event_real_destroy (DataSource* base) { _g_error_free0 (err); #line 7005 "Event.c" } - __finally431: + __finally444: #line 914 "/home/jens/Source/shotwell/src/Event.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 914 "/home/jens/Source/shotwell/src/Event.vala" diff --git a/src/Exporter.c b/src/Exporter.c index a120c56..ef0deab 100644 --- a/src/Exporter.c +++ b/src/Exporter.c @@ -1480,7 +1480,7 @@ static gboolean exporter_process_queue (Exporter* self) { #line 230 "/home/jens/Source/shotwell/src/Exporter.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1483 "Exporter.c" - goto __catch467_g_error; + goto __catch480_g_error; } #line 230 "/home/jens/Source/shotwell/src/Exporter.vala" _tmp43_ = _tmp36_; @@ -1494,8 +1494,8 @@ static gboolean exporter_process_queue (Exporter* self) { _g_object_unref0 (_tmp36_); #line 1496 "Exporter.c" } - goto __finally467; - __catch467_g_error: + goto __finally480; + __catch480_g_error: { GError* err = NULL; const gchar* _tmp44_ = NULL; @@ -1556,7 +1556,7 @@ static gboolean exporter_process_queue (Exporter* self) { break; #line 1558 "Exporter.c" } - __finally467: + __finally480: #line 228 "/home/jens/Source/shotwell/src/Exporter.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 228 "/home/jens/Source/shotwell/src/Exporter.vala" @@ -2054,7 +2054,7 @@ static void exporter_export_job_real_execute (BackgroundJob* base) { #line 97 "/home/jens/Source/shotwell/src/Exporter.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2057 "Exporter.c" - goto __catch468_g_error; + goto __catch481_g_error; } } else { MediaSource* _tmp9_ = NULL; @@ -2074,13 +2074,13 @@ static void exporter_export_job_real_execute (BackgroundJob* base) { #line 99 "/home/jens/Source/shotwell/src/Exporter.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2077 "Exporter.c" - goto __catch468_g_error; + goto __catch481_g_error; } } } } - goto __finally468; - __catch468_g_error: + goto __finally481; + __catch481_g_error: { GError* err = NULL; GError* _tmp12_ = NULL; @@ -2101,7 +2101,7 @@ static void exporter_export_job_real_execute (BackgroundJob* base) { _g_error_free0 (err); #line 2103 "Exporter.c" } - __finally468: + __finally481: #line 95 "/home/jens/Source/shotwell/src/Exporter.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 95 "/home/jens/Source/shotwell/src/Exporter.vala" @@ -2452,7 +2452,7 @@ static ExporterOverwrite exporter_ui_on_export_overwrite (ExporterUI* self, Expo #line 316 "/home/jens/Source/shotwell/src/Exporter.vala" gtk_window_set_modal (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_window_get_type (), GtkWindow), FALSE); #line 317 "/home/jens/Source/shotwell/src/Exporter.vala" - _tmp1_ = _ ("File %s already exists. Replace?"); + _tmp1_ = _ ("File %s already exists. Replace?"); #line 317 "/home/jens/Source/shotwell/src/Exporter.vala" _tmp2_ = file; #line 317 "/home/jens/Source/shotwell/src/Exporter.vala" diff --git a/src/Exporter.vala b/src/Exporter.vala index 221ba73..b9596f5 100644 --- a/src/Exporter.vala +++ b/src/Exporter.vala @@ -314,7 +314,7 @@ public class ExporterUI { private Exporter.Overwrite on_export_overwrite(Exporter exporter, File file) { progress_dialog.set_modal(false); - string question = _("File %s already exists. Replace?").printf(file.get_basename()); + string question = _("File %s already exists. Replace?").printf(file.get_basename()); Gtk.ResponseType response = AppWindow.negate_affirm_all_cancel_question(question, _("_Skip"), _("_Replace"), _("Replace _All"), _("Export")); diff --git a/src/LibraryFiles.c b/src/LibraryFiles.c index 9139935..c62e8b7 100644 --- a/src/LibraryFiles.c +++ b/src/LibraryFiles.c @@ -282,11 +282,11 @@ GFile* library_files_generate_unique_file (const gchar* basename, MediaMetadata* #line 30 "/home/jens/Source/shotwell/src/LibraryFiles.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 285 "LibraryFiles.c" - goto __catch451_g_error; + goto __catch464_g_error; } } - goto __finally451; - __catch451_g_error: + goto __finally464; + __catch464_g_error: { GError* err = NULL; GError* _tmp12_ = NULL; @@ -310,13 +310,13 @@ GFile* library_files_generate_unique_file (const gchar* basename, MediaMetadata* #line 33 "/home/jens/Source/shotwell/src/LibraryFiles.vala" _g_error_free0 (err); #line 313 "LibraryFiles.c" - goto __finally451; + goto __finally464; } #line 29 "/home/jens/Source/shotwell/src/LibraryFiles.vala" _g_error_free0 (err); #line 318 "LibraryFiles.c" } - __finally451: + __finally464: #line 29 "/home/jens/Source/shotwell/src/LibraryFiles.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 29 "/home/jens/Source/shotwell/src/LibraryFiles.vala" @@ -441,14 +441,14 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb #line 50 "/home/jens/Source/shotwell/src/LibraryFiles.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 444 "LibraryFiles.c" - goto __catch452_g_error; + goto __catch465_g_error; } #line 50 "/home/jens/Source/shotwell/src/LibraryFiles.vala" timestamp = _tmp0_; #line 449 "LibraryFiles.c" } - goto __finally452; - __catch452_g_error: + goto __finally465; + __catch465_g_error: { GError* err = NULL; GFile* _tmp3_ = NULL; @@ -478,7 +478,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb _g_error_free0 (err); #line 480 "LibraryFiles.c" } - __finally452: + __finally465: #line 49 "/home/jens/Source/shotwell/src/LibraryFiles.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 49 "/home/jens/Source/shotwell/src/LibraryFiles.vala" @@ -520,7 +520,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb #line 59 "/home/jens/Source/shotwell/src/LibraryFiles.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 523 "LibraryFiles.c" - goto __catch453_g_error; + goto __catch466_g_error; } #line 59 "/home/jens/Source/shotwell/src/LibraryFiles.vala" _tmp15_ = _tmp12_; @@ -534,8 +534,8 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb _media_metadata_unref0 (_tmp12_); #line 536 "LibraryFiles.c" } - goto __finally453; - __catch453_g_error: + goto __finally466; + __catch466_g_error: { GError* err = NULL; #line 58 "/home/jens/Source/shotwell/src/LibraryFiles.vala" @@ -546,7 +546,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb _g_error_free0 (err); #line 548 "LibraryFiles.c" } - __finally453: + __finally466: #line 58 "/home/jens/Source/shotwell/src/LibraryFiles.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 58 "/home/jens/Source/shotwell/src/LibraryFiles.vala" @@ -604,7 +604,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb #line 67 "/home/jens/Source/shotwell/src/LibraryFiles.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 607 "LibraryFiles.c" - goto __catch454_g_error; + goto __catch467_g_error; } #line 67 "/home/jens/Source/shotwell/src/LibraryFiles.vala" _tmp26_ = _tmp23_; @@ -618,8 +618,8 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb _media_metadata_unref0 (_tmp23_); #line 620 "LibraryFiles.c" } - goto __finally454; - __catch454_g_error: + goto __finally467; + __catch467_g_error: { GError* err = NULL; #line 66 "/home/jens/Source/shotwell/src/LibraryFiles.vala" @@ -630,7 +630,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb _g_error_free0 (err); #line 632 "LibraryFiles.c" } - __finally454: + __finally467: #line 66 "/home/jens/Source/shotwell/src/LibraryFiles.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 66 "/home/jens/Source/shotwell/src/LibraryFiles.vala" @@ -728,7 +728,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb #line 82 "/home/jens/Source/shotwell/src/LibraryFiles.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 731 "LibraryFiles.c" - goto __catch455_g_error; + goto __catch468_g_error; } #line 83 "/home/jens/Source/shotwell/src/LibraryFiles.vala" _tmp42_ = blacklist; @@ -743,8 +743,8 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb #line 744 "LibraryFiles.c" } } - goto __finally455; - __catch455_g_error: + goto __finally468; + __catch468_g_error: { GError* err = NULL; GFile* _tmp44_ = NULL; @@ -798,7 +798,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb #line 87 "/home/jens/Source/shotwell/src/LibraryFiles.vala" _g_error_free0 (err); #line 801 "LibraryFiles.c" - goto __finally455; + goto __finally468; } #line 87 "/home/jens/Source/shotwell/src/LibraryFiles.vala" _tmp55_ = dest; @@ -813,7 +813,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb #line 87 "/home/jens/Source/shotwell/src/LibraryFiles.vala" _g_error_free0 (err); #line 816 "LibraryFiles.c" - goto __finally455; + goto __finally468; } #line 87 "/home/jens/Source/shotwell/src/LibraryFiles.vala" _tmp57_ = _tmp51_; @@ -857,7 +857,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb _g_error_free0 (err); #line 859 "LibraryFiles.c" } - __finally455: + __finally468: #line 81 "/home/jens/Source/shotwell/src/LibraryFiles.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 81 "/home/jens/Source/shotwell/src/LibraryFiles.vala" @@ -890,7 +890,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb #line 93 "/home/jens/Source/shotwell/src/LibraryFiles.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 893 "LibraryFiles.c" - goto __catch456_g_error; + goto __catch469_g_error; } #line 94 "/home/jens/Source/shotwell/src/LibraryFiles.vala" _tmp64_ = info; @@ -911,7 +911,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb #line 95 "/home/jens/Source/shotwell/src/LibraryFiles.vala" _g_object_unref0 (info); #line 914 "LibraryFiles.c" - goto __catch456_g_error; + goto __catch469_g_error; } #line 95 "/home/jens/Source/shotwell/src/LibraryFiles.vala" if (!_tmp66_) { @@ -923,8 +923,8 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb _g_object_unref0 (info); #line 925 "LibraryFiles.c" } - goto __finally456; - __catch456_g_error: + goto __finally469; + __catch469_g_error: { GError* err = NULL; GError* _tmp70_ = NULL; @@ -943,7 +943,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb _g_error_free0 (err); #line 945 "LibraryFiles.c" } - __finally456: + __finally469: #line 92 "/home/jens/Source/shotwell/src/LibraryFiles.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 92 "/home/jens/Source/shotwell/src/LibraryFiles.vala" diff --git a/src/LibraryMonitor.c b/src/LibraryMonitor.c index 6253bd5..ebdfd74 100644 --- a/src/LibraryMonitor.c +++ b/src/LibraryMonitor.c @@ -4123,7 +4123,7 @@ static gboolean library_monitor_verify_monitorable_co (LibraryMonitorVerifyMonit #line 509 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" if (G_UNLIKELY (_data_->_inner_error_ != NULL)) { #line 4126 "LibraryMonitor.c" - goto __catch474_g_error; + goto __catch487_g_error; } #line 509 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" _data_->_tmp31_ = NULL; @@ -4139,8 +4139,8 @@ static gboolean library_monitor_verify_monitorable_co (LibraryMonitorVerifyMonit _g_object_unref0 (_data_->_tmp27_); #line 4141 "LibraryMonitor.c" } - goto __finally474; - __catch474_g_error: + goto __finally487; + __catch487_g_error: { #line 508 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" _data_->err = _data_->_inner_error_; @@ -4150,7 +4150,7 @@ static gboolean library_monitor_verify_monitorable_co (LibraryMonitorVerifyMonit _g_error_free0 (_data_->err); #line 4152 "LibraryMonitor.c" } - __finally474: + __finally487: #line 508 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" if (G_UNLIKELY (_data_->_inner_error_ != NULL)) { #line 508 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" @@ -5384,7 +5384,7 @@ static void library_monitor_on_import_complete (LibraryMonitor* self, BatchImpor #line 700 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 5387 "LibraryMonitor.c" - goto __catch475_database_error; + goto __catch488_database_error; } #line 700 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" _g_object_unref0 (to_tombstone); @@ -5397,8 +5397,8 @@ static void library_monitor_on_import_complete (LibraryMonitor* self, BatchImpor #line 5398 "LibraryMonitor.c" } } - goto __finally475; - __catch475_database_error: + goto __finally488; + __catch488_database_error: { GError* err = NULL; GError* _tmp58_ = NULL; @@ -5414,7 +5414,7 @@ static void library_monitor_on_import_complete (LibraryMonitor* self, BatchImpor _g_error_free0 (err); #line 5416 "LibraryMonitor.c" } - __finally475: + __finally488: #line 699 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 699 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" @@ -5502,7 +5502,7 @@ void library_monitor_blacklist_file (GFile* file, const gchar* reason) { gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp8_); #line 5504 "LibraryMonitor.c" } - __finally476: + __finally489: { GeeHashSet* _tmp9_ = NULL; #line 727 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" @@ -5582,7 +5582,7 @@ void library_monitor_unblacklist_file (GFile* file) { #line 5583 "LibraryMonitor.c" } } - __finally477: + __finally490: { GeeHashSet* _tmp10_ = NULL; #line 735 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" @@ -5632,7 +5632,7 @@ static void library_monitor_on_unblacklist_file (GFile* file) { removed = _tmp3_; #line 5634 "LibraryMonitor.c" } - __finally478: + __finally491: { GeeHashSet* _tmp4_ = NULL; #line 743 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" @@ -5734,7 +5734,7 @@ gboolean library_monitor_is_blacklisted (GFile* file) { return result; #line 5736 "LibraryMonitor.c" } - __finally479: + __finally492: { GeeHashSet* _tmp5_ = NULL; #line 754 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" @@ -7858,7 +7858,7 @@ static void library_monitor_find_move_job_real_execute (BackgroundJob* base) { #line 133 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 7860 "LibraryMonitor.c" - goto __catch480_g_error; + goto __catch493_g_error; } #line 133 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" _tmp18_ = _tmp15_; @@ -7872,8 +7872,8 @@ static void library_monitor_find_move_job_real_execute (BackgroundJob* base) { _g_free0 (_tmp15_); #line 7873 "LibraryMonitor.c" } - goto __finally480; - __catch480_g_error: + goto __finally493; + __catch493_g_error: { GError* err = NULL; GError* _tmp19_ = NULL; @@ -7900,7 +7900,7 @@ static void library_monitor_find_move_job_real_execute (BackgroundJob* base) { return; #line 7901 "LibraryMonitor.c" } - __finally480: + __finally493: #line 132 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 132 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" @@ -8212,7 +8212,7 @@ static void library_monitor_runtime_find_move_job_real_execute (BackgroundJob* b #line 179 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 8213 "LibraryMonitor.c" - goto __catch481_g_error; + goto __catch494_g_error; } #line 179 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" _tmp3_ = _tmp0_; @@ -8226,8 +8226,8 @@ static void library_monitor_runtime_find_move_job_real_execute (BackgroundJob* b _g_free0 (_tmp0_); #line 8226 "LibraryMonitor.c" } - goto __finally481; - __catch481_g_error: + goto __finally494; + __catch494_g_error: { GError* err = NULL; GError* _tmp4_ = NULL; @@ -8252,7 +8252,7 @@ static void library_monitor_runtime_find_move_job_real_execute (BackgroundJob* b return; #line 8252 "LibraryMonitor.c" } - __finally481: + __finally494: #line 178 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 178 "/home/jens/Source/shotwell/src/LibraryMonitor.vala" diff --git a/src/MediaDataRepresentation.c b/src/MediaDataRepresentation.c index f539c7c..0ae31e2 100644 --- a/src/MediaDataRepresentation.c +++ b/src/MediaDataRepresentation.c @@ -2081,14 +2081,14 @@ gboolean media_source_delete_original_file (MediaSource* self) { #line 102 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2084 "MediaDataRepresentation.c" - goto __catch549_g_error; + goto __catch562_g_error; } #line 102 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" ret = _tmp1_; #line 2089 "MediaDataRepresentation.c" } - goto __finally549; - __catch549_g_error: + goto __finally562; + __catch562_g_error: { GError* err = NULL; GFile* _tmp4_ = NULL; @@ -2119,7 +2119,7 @@ gboolean media_source_delete_original_file (MediaSource* self) { _g_error_free0 (err); #line 2120 "MediaDataRepresentation.c" } - __finally549: + __finally562: #line 101 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 101 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" @@ -2239,7 +2239,7 @@ gboolean media_source_delete_original_file (MediaSource* self) { #line 119 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2241 "MediaDataRepresentation.c" - goto __catch550_g_error; + goto __catch563_g_error; } #line 119 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" if (!_tmp29_) { @@ -2248,8 +2248,8 @@ gboolean media_source_delete_original_file (MediaSource* self) { #line 2248 "MediaDataRepresentation.c" } } - goto __finally550; - __catch550_g_error: + goto __finally563; + __catch563_g_error: { GError* err = NULL; GFile* _tmp32_ = NULL; @@ -2281,7 +2281,7 @@ gboolean media_source_delete_original_file (MediaSource* self) { break; #line 2282 "MediaDataRepresentation.c" } - __finally550: + __finally563: #line 118 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 118 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" @@ -2308,7 +2308,7 @@ gboolean media_source_delete_original_file (MediaSource* self) { #line 128 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2310 "MediaDataRepresentation.c" - goto __catch551_g_error; + goto __catch564_g_error; } #line 129 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" _tmp38_ = parent; @@ -2322,8 +2322,8 @@ gboolean media_source_delete_original_file (MediaSource* self) { _g_free0 (_tmp40_); #line 2323 "MediaDataRepresentation.c" } - goto __finally551; - __catch551_g_error: + goto __finally564; + __catch564_g_error: { GError* err = NULL; GFile* _tmp41_ = NULL; @@ -2354,7 +2354,7 @@ gboolean media_source_delete_original_file (MediaSource* self) { _g_error_free0 (err); #line 2354 "MediaDataRepresentation.c" } - __finally551: + __finally564: #line 127 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 127 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" @@ -6399,7 +6399,7 @@ void media_source_collection_remove_from_app (MediaSourceCollection* self, GeeCo #line 704 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 6400 "MediaDataRepresentation.c" - goto __catch552_database_error; + goto __catch565_database_error; } #line 704 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" _aggregate_progress_monitor_unref0 (agg_monitor); @@ -6422,8 +6422,8 @@ void media_source_collection_remove_from_app (MediaSourceCollection* self, GeeCo #line 6421 "MediaDataRepresentation.c" } } - goto __finally552; - __catch552_database_error: + goto __finally565; + __catch565_database_error: { GError* err = NULL; GError* _tmp78_ = NULL; @@ -6439,7 +6439,7 @@ void media_source_collection_remove_from_app (MediaSourceCollection* self, GeeCo _g_error_free0 (err); #line 6439 "MediaDataRepresentation.c" } - __finally552: + __finally565: #line 703 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 703 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" @@ -6564,11 +6564,11 @@ void media_source_collection_delete_backing_files (MediaSourceCollection* self, #line 721 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 6565 "MediaDataRepresentation.c" - goto __catch553_g_error; + goto __catch566_g_error; } } - goto __finally553; - __catch553_g_error: + goto __finally566; + __catch566_g_error: { GError* err = NULL; GFile* _tmp12_ = NULL; @@ -6598,7 +6598,7 @@ void media_source_collection_delete_backing_files (MediaSourceCollection* self, _g_error_free0 (err); #line 6598 "MediaDataRepresentation.c" } - __finally553: + __finally566: #line 720 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 720 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala" diff --git a/src/MediaInterfaces.c b/src/MediaInterfaces.c index 0331fd7..e387e0b 100644 --- a/src/MediaInterfaces.c +++ b/src/MediaInterfaces.c @@ -293,11 +293,11 @@ void transaction_controller_begin (TransactionController* self) { #line 69 "/home/jens/Source/shotwell/src/MediaInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 296 "MediaInterfaces.c" - goto __catch560_g_error; + goto __catch573_g_error; } } - goto __finally560; - __catch560_g_error: + goto __finally573; + __catch573_g_error: { GError* err = NULL; gint _tmp3_ = 0; @@ -344,7 +344,7 @@ void transaction_controller_begin (TransactionController* self) { _g_error_free0 (err); #line 346 "MediaInterfaces.c" } - __finally560: + __finally573: #line 68 "/home/jens/Source/shotwell/src/MediaInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 351 "MediaInterfaces.c" @@ -365,7 +365,7 @@ void transaction_controller_begin (TransactionController* self) { #line 366 "MediaInterfaces.c" } } - __finally559: + __finally572: { gint _tmp11_ = 0; #line 64 "/home/jens/Source/shotwell/src/MediaInterfaces.vala" @@ -453,11 +453,11 @@ void transaction_controller_commit (TransactionController* self) { #line 93 "/home/jens/Source/shotwell/src/MediaInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 456 "MediaInterfaces.c" - goto __catch562_g_error; + goto __catch575_g_error; } } - goto __finally562; - __catch562_g_error: + goto __finally575; + __catch575_g_error: { GError* err = NULL; GError* _tmp5_ = NULL; @@ -499,7 +499,7 @@ void transaction_controller_commit (TransactionController* self) { _g_error_free0 (err); #line 501 "MediaInterfaces.c" } - __finally562: + __finally575: #line 92 "/home/jens/Source/shotwell/src/MediaInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 506 "MediaInterfaces.c" @@ -520,7 +520,7 @@ void transaction_controller_commit (TransactionController* self) { #line 521 "MediaInterfaces.c" } } - __finally561: + __finally574: { gint _tmp12_ = 0; #line 86 "/home/jens/Source/shotwell/src/MediaInterfaces.vala" @@ -792,7 +792,7 @@ static void transaction_controller_finalize (TransactionController* obj) { _vala_assert (_tmp1_ == 0, "count == 0"); #line 794 "MediaInterfaces.c" } - __finally558: + __finally571: { gint _tmp2_ = 0; #line 58 "/home/jens/Source/shotwell/src/MediaInterfaces.vala" diff --git a/src/MediaMonitor.c b/src/MediaMonitor.c index 3072ab4..9802989 100644 --- a/src/MediaMonitor.c +++ b/src/MediaMonitor.c @@ -2853,7 +2853,7 @@ static gboolean media_monitor_on_flush_pending_updates (MediaMonitor* self) { #line 394 "/home/jens/Source/shotwell/src/MediaMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2856 "MediaMonitor.c" - goto __catch571_g_error; + goto __catch584_g_error; } #line 395 "/home/jens/Source/shotwell/src/MediaMonitor.vala" _tmp39_ = controller; @@ -2861,8 +2861,8 @@ static gboolean media_monitor_on_flush_pending_updates (MediaMonitor* self) { transaction_controller_commit (_tmp39_); #line 2863 "MediaMonitor.c" } - goto __finally571; - __catch571_g_error: + goto __finally584; + __catch584_g_error: { GError* err = NULL; GError* _tmp40_ = NULL; @@ -2907,7 +2907,7 @@ static gboolean media_monitor_on_flush_pending_updates (MediaMonitor* self) { _g_error_free0 (err); #line 2909 "MediaMonitor.c" } - __finally571: + __finally584: #line 392 "/home/jens/Source/shotwell/src/MediaMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 392 "/home/jens/Source/shotwell/src/MediaMonitor.vala" diff --git a/src/MediaPage.c b/src/MediaPage.c index 79c8125..d6bc5c0 100644 --- a/src/MediaPage.c +++ b/src/MediaPage.c @@ -1107,13 +1107,13 @@ GtkActionEntry* page_init_collect_action_entries (Page* self, int* result_length #define TRANSLATABLE "translatable" void media_page_on_export (MediaPage* self); static void _media_page_on_export_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_EXPORT_MENU _ ("_Export...") +#define RESOURCES_EXPORT_MENU _ ("_Export…") static void _vala_array_add297 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void media_page_on_send_to (MediaPage* self); static void _media_page_on_send_to_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_SEND_TO_MENU _ ("Send _To...") +#define RESOURCES_SEND_TO_MENU _ ("Send _To…") static void _vala_array_add298 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); -#define RESOURCES_SEND_TO_CONTEXT_MENU _ ("Send T_o...") +#define RESOURCES_SEND_TO_CONTEXT_MENU _ ("Send T_o…") static void _vala_array_add299 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_REMOVE_LABEL _ ("_Remove") static void media_page_on_remove_from_library (MediaPage* self); @@ -1131,13 +1131,13 @@ static void _media_page_on_new_event_gtk_action_callback (GtkAction* action, gpo static void _vala_array_add302 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void media_page_on_add_tags (MediaPage* self); static void _media_page_on_add_tags_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_ADD_TAGS_MENU _ ("Add _Tags...") +#define RESOURCES_ADD_TAGS_MENU _ ("Add _Tags…") static void _vala_array_add303 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); -#define RESOURCES_ADD_TAGS_CONTEXT_MENU _ ("_Add Tags...") +#define RESOURCES_ADD_TAGS_CONTEXT_MENU _ ("_Add Tags…") static void _vala_array_add304 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void media_page_on_modify_tags (MediaPage* self); static void _media_page_on_modify_tags_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_MODIFY_TAGS_MENU _ ("Modif_y Tags...") +#define RESOURCES_MODIFY_TAGS_MENU _ ("Modif_y Tags…") static void _vala_array_add305 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_ZOOM_IN_LABEL _ ("Zoom _In") void media_page_on_increase_size (MediaPage* self); @@ -1185,11 +1185,11 @@ static void _media_page_on_rate_five_gtk_action_callback (GtkAction* action, gpo static void _vala_array_add318 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); void media_page_on_edit_title (MediaPage* self); static void _media_page_on_edit_title_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_EDIT_TITLE_MENU _ ("Edit _Title...") +#define RESOURCES_EDIT_TITLE_MENU _ ("Edit _Title…") static void _vala_array_add319 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); void media_page_on_edit_comment (MediaPage* self); static void _media_page_on_edit_comment_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_EDIT_COMMENT_MENU _ ("Edit _Comment...") +#define RESOURCES_EDIT_COMMENT_MENU _ ("Edit _Comment…") static void _vala_array_add320 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void _vala_array_add321 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_FILTER_PHOTOS_MENU _ ("_Filter Photos") @@ -1216,7 +1216,7 @@ static void _vala_array_add328 (GtkToggleActionEntry** array, int* length, int* void media_page_on_display_ratings (MediaPage* self, GtkAction* action); static void _media_page_on_display_ratings_gtk_action_callback (GtkAction* action, gpointer self); #define RESOURCES_VIEW_RATINGS_MENU _ ("_Ratings") -#define RESOURCES_VIEW_RATINGS_TOOLTIP _ ("Display each photo's rating") +#define RESOURCES_VIEW_RATINGS_TOOLTIP _ ("Display each photo’s rating") static void _vala_array_add329 (GtkToggleActionEntry** array, int* length, int* size, const GtkToggleActionEntry* value); void media_page_on_display_tags (MediaPage* self, GtkAction* action); static void _media_page_on_display_tags_gtk_action_callback (GtkAction* action, gpointer self); @@ -4344,7 +4344,7 @@ static GtkToggleActionEntry* media_page_real_init_collect_toggle_action_entries #line 469 "/home/jens/Source/shotwell/src/MediaPage.vala" tags.label = _tmp32_; #line 470 "/home/jens/Source/shotwell/src/MediaPage.vala" - _tmp33_ = _ ("Display each photo's tags"); + _tmp33_ = _ ("Display each photo’s tags"); #line 470 "/home/jens/Source/shotwell/src/MediaPage.vala" tags.tooltip = _tmp33_; #line 471 "/home/jens/Source/shotwell/src/MediaPage.vala" @@ -6227,11 +6227,11 @@ void media_page_on_play_video (MediaPage* self) { #line 721 "/home/jens/Source/shotwell/src/MediaPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 6230 "MediaPage.c" - goto __catch548_g_error; + goto __catch561_g_error; } } - goto __finally548; - __catch548_g_error: + goto __finally561; + __catch561_g_error: { GError* e = NULL; const gchar* _tmp17_ = NULL; @@ -6261,7 +6261,7 @@ void media_page_on_play_video (MediaPage* self) { _g_error_free0 (e); #line 6263 "MediaPage.c" } - __finally548: + __finally561: #line 720 "/home/jens/Source/shotwell/src/MediaPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 720 "/home/jens/Source/shotwell/src/MediaPage.vala" diff --git a/src/MediaPage.vala b/src/MediaPage.vala index 1da615c..89aa2fc 100644 --- a/src/MediaPage.vala +++ b/src/MediaPage.vala @@ -467,7 +467,7 @@ public abstract class MediaPage : CheckerboardPage { Gtk.ToggleActionEntry tags = { "ViewTags", null, TRANSLATABLE, "<Ctrl><Shift>G", TRANSLATABLE, on_display_tags, Config.Facade.get_instance().get_display_photo_tags() }; tags.label = _("Ta_gs"); - tags.tooltip = _("Display each photo's tags"); + tags.tooltip = _("Display each photo’s tags"); toggle_actions += tags; return toggle_actions; diff --git a/src/MetadataWriter.c b/src/MetadataWriter.c index f8990df..187fbc9 100644 --- a/src/MetadataWriter.c +++ b/src/MetadataWriter.c @@ -786,7 +786,7 @@ GType photo_metadata_set_option_get_type (void) G_GNUC_CONST; void photo_metadata_set_title (PhotoMetadata* self, const gchar* title, PhotoMetadataSetOption option); gchar* media_source_get_comment (MediaSource* self); gchar* media_metadata_get_comment (MediaMetadata* self); -void photo_metadata_set_comment (PhotoMetadata* self, const gchar* comment); +void photo_metadata_set_comment (PhotoMetadata* self, const gchar* comment, PhotoMetadataSetOption option); GType rating_get_type (void) G_GNUC_CONST; Rating media_source_get_rating (MediaSource* self); Rating photo_metadata_get_rating (PhotoMetadata* self); @@ -2958,7 +2958,7 @@ static void metadata_writer_photos_are_dirty (MetadataWriter* self, GeeCollectio #line 538 "/home/jens/Source/shotwell/src/MetadataWriter.vala" _g_object_unref0 (_photo_it); #line 2961 "MetadataWriter.c" - goto __catch541_g_error; + goto __catch554_g_error; } #line 537 "/home/jens/Source/shotwell/src/MetadataWriter.vala" _g_object_unref0 (photo); @@ -2978,8 +2978,8 @@ static void metadata_writer_photos_are_dirty (MetadataWriter* self, GeeCollectio transaction_controller_commit (_tmp23_); #line 2980 "MetadataWriter.c" } - goto __finally541; - __catch541_g_error: + goto __finally554; + __catch554_g_error: { GError* err = NULL; GError* _tmp24_ = NULL; @@ -3013,7 +3013,7 @@ static void metadata_writer_photos_are_dirty (MetadataWriter* self, GeeCollectio _g_error_free0 (err); #line 3015 "MetadataWriter.c" } - __finally541: + __finally554: #line 534 "/home/jens/Source/shotwell/src/MetadataWriter.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 534 "/home/jens/Source/shotwell/src/MetadataWriter.vala" @@ -3796,7 +3796,7 @@ static void metadata_writer_on_update_completed (MetadataWriter* self, Backgroun #line 664 "/home/jens/Source/shotwell/src/MetadataWriter.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 3799 "MetadataWriter.c" - goto __catch542_database_error; + goto __catch555_database_error; } { LibraryPhoto* _tmp67_ = NULL; @@ -3853,7 +3853,7 @@ static void metadata_writer_on_update_completed (MetadataWriter* self, Backgroun #line 667 "/home/jens/Source/shotwell/src/MetadataWriter.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 3856 "MetadataWriter.c" - goto __catch542_database_error; + goto __catch555_database_error; } { LibraryPhoto* _tmp76_ = NULL; @@ -3885,8 +3885,8 @@ static void metadata_writer_on_update_completed (MetadataWriter* self, Backgroun } } } - goto __finally542; - __catch542_database_error: + goto __finally555; + __catch555_database_error: { GError* err = NULL; GError* _tmp79_ = NULL; @@ -3902,7 +3902,7 @@ static void metadata_writer_on_update_completed (MetadataWriter* self, Backgroun _g_error_free0 (err); #line 3904 "MetadataWriter.c" } - __finally542: + __finally555: { LibraryPhoto* _tmp80_ = NULL; MetadataWriterCommitJob* _tmp81_ = NULL; @@ -3949,7 +3949,7 @@ static void metadata_writer_on_update_completed (MetadataWriter* self, Backgroun #line 683 "/home/jens/Source/shotwell/src/MetadataWriter.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 3952 "MetadataWriter.c" - goto __catch543_database_error; + goto __catch556_database_error; } #line 683 "/home/jens/Source/shotwell/src/MetadataWriter.vala" _background_job_unref0 (job); @@ -3962,8 +3962,8 @@ static void metadata_writer_on_update_completed (MetadataWriter* self, Backgroun #line 3963 "MetadataWriter.c" } } - goto __finally543; - __catch543_database_error: + goto __finally556; + __catch556_database_error: { GError* err = NULL; GError* _tmp85_ = NULL; @@ -3979,7 +3979,7 @@ static void metadata_writer_on_update_completed (MetadataWriter* self, Backgroun _g_error_free0 (err); #line 3981 "MetadataWriter.c" } - __finally543: + __finally556: #line 682 "/home/jens/Source/shotwell/src/MetadataWriter.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 682 "/home/jens/Source/shotwell/src/MetadataWriter.vala" @@ -4157,18 +4157,18 @@ static void metadata_writer_commit_job_real_execute (BackgroundJob* base) { #line 38 "/home/jens/Source/shotwell/src/MetadataWriter.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4160 "MetadataWriter.c" - goto __catch544_g_error; + goto __catch557_g_error; } #line 39 "/home/jens/Source/shotwell/src/MetadataWriter.vala" metadata_writer_commit_job_commit_editable (self, &_inner_error_); #line 39 "/home/jens/Source/shotwell/src/MetadataWriter.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4167 "MetadataWriter.c" - goto __catch544_g_error; + goto __catch557_g_error; } } - goto __finally544; - __catch544_g_error: + goto __finally557; + __catch557_g_error: { GError* err = NULL; GError* _tmp0_ = NULL; @@ -4189,7 +4189,7 @@ static void metadata_writer_commit_job_real_execute (BackgroundJob* base) { _g_error_free0 (err); #line 4191 "MetadataWriter.c" } - __finally544: + __finally557: #line 37 "/home/jens/Source/shotwell/src/MetadataWriter.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 37 "/home/jens/Source/shotwell/src/MetadataWriter.vala" @@ -4291,10 +4291,10 @@ static void metadata_writer_commit_job_commit_master (MetadataWriterCommitJob* s #line 58 "/home/jens/Source/shotwell/src/MetadataWriter.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4294 "MetadataWriter.c" - goto __finally545; + goto __finally558; } } - __finally545: + __finally558: { LibraryPhoto* _tmp16_ = NULL; GFile* _tmp17_ = NULL; @@ -4433,10 +4433,10 @@ static void metadata_writer_commit_job_commit_editable (MetadataWriterCommitJob* #line 77 "/home/jens/Source/shotwell/src/MetadataWriter.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4436 "MetadataWriter.c" - goto __finally546; + goto __finally559; } } - __finally546: + __finally559: { LibraryPhoto* _tmp18_ = NULL; GFile* _tmp19_ = NULL; @@ -4585,7 +4585,7 @@ static gboolean metadata_writer_commit_job_update_metadata (MetadataWriterCommit #line 99 "/home/jens/Source/shotwell/src/MetadataWriter.vala" _tmp17_ = current_comment; #line 99 "/home/jens/Source/shotwell/src/MetadataWriter.vala" - photo_metadata_set_comment (_tmp16_, _tmp17_); + photo_metadata_set_comment (_tmp16_, _tmp17_, PHOTO_METADATA_SET_OPTION_ALL_DOMAINS); #line 100 "/home/jens/Source/shotwell/src/MetadataWriter.vala" changed = TRUE; #line 4592 "MetadataWriter.c" @@ -5050,7 +5050,7 @@ static void page_init_load_ui (Page* self, const gchar* ui_filename) { #line 561 "/home/jens/Source/shotwell/src/Page.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 5053 "Page.c" - goto __catch241_g_error; + goto __catch254_g_error; } #line 561 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = self->priv->merge_ids; @@ -5060,8 +5060,8 @@ static void page_init_load_ui (Page* self, const gchar* ui_filename) { _vala_array_add250 (&self->priv->merge_ids, &self->priv->merge_ids_length1, &self->priv->_merge_ids_size_, _tmp2_); #line 5062 "Page.c" } - goto __finally241; - __catch241_g_error: + goto __finally254; + __catch254_g_error: { GError* err = NULL; gchar* _tmp9_ = NULL; @@ -5106,7 +5106,7 @@ static void page_init_load_ui (Page* self, const gchar* ui_filename) { _g_error_free0 (err); #line 5108 "Page.c" } - __finally241: + __finally254: #line 560 "/home/jens/Source/shotwell/src/Page.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 560 "/home/jens/Source/shotwell/src/Page.vala" @@ -15219,7 +15219,7 @@ static void drag_and_drop_handler_on_drag_begin (DragAndDropHandler* self, GdkDr #line 2494 "/home/jens/Source/shotwell/src/Page.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 15222 "Page.c" - goto __catch242_g_error; + goto __catch255_g_error; } #line 2495 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = self->priv->event_source; @@ -15231,8 +15231,8 @@ static void drag_and_drop_handler_on_drag_begin (DragAndDropHandler* self, GdkDr _g_object_unref0 (icon); #line 15233 "Page.c" } - goto __finally242; - __catch242_g_error: + goto __finally255; + __catch255_g_error: { GError* err = NULL; ThumbnailSource* _tmp22_ = NULL; @@ -15262,7 +15262,7 @@ static void drag_and_drop_handler_on_drag_begin (DragAndDropHandler* self, GdkDr _g_error_free0 (err); #line 15264 "Page.c" } - __finally242: + __finally255: #line 2493 "/home/jens/Source/shotwell/src/Page.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2493 "/home/jens/Source/shotwell/src/Page.vala" diff --git a/src/Photo.c b/src/Photo.c index 2a8c634..7f36b6f 100644 --- a/src/Photo.c +++ b/src/Photo.c @@ -1421,7 +1421,8 @@ typedef enum { PIXEL_TRANSFORMATION_TYPE_TEMPERATURE, PIXEL_TRANSFORMATION_TYPE_TINT, PIXEL_TRANSFORMATION_TYPE_SATURATION, - PIXEL_TRANSFORMATION_TYPE_EXPOSURE + PIXEL_TRANSFORMATION_TYPE_EXPOSURE, + PIXEL_TRANSFORMATION_TYPE_CONTRAST } PixelTransformationType; struct _EditingToolsRedeyeInstance { @@ -2318,7 +2319,7 @@ PhotoFileMetadataWriter* photo_file_reader_create_metadata_writer (PhotoFileRead void library_monitor_blacklist_file (GFile* file, const gchar* reason); void library_monitor_unblacklist_file (GFile* file); void photo_set_comment_persistent (Photo* self, const gchar* comment, GError** error); -void photo_metadata_set_comment (PhotoMetadata* self, const gchar* comment); +void photo_metadata_set_comment (PhotoMetadata* self, const gchar* comment, PhotoMetadataSetOption option); static void photo_real_set_exposure_time (Dateable* base, time_t time); gboolean photo_table_set_exposure_time (PhotoTable* self, PhotoID* photo_id, time_t time); void photo_set_exposure_time_persistent (Photo* self, time_t time, GError** error); @@ -2874,14 +2875,14 @@ GType backing_fetch_mode_get_type (void) { static gpointer _g_object_ref0 (gpointer self) { #line 41 "/home/jens/Source/shotwell/src/Photo.vala" return self ? g_object_ref (self) : NULL; -#line 2878 "Photo.c" +#line 2879 "Photo.c" } static gpointer _thumbnails_ref0 (gpointer self) { #line 48 "/home/jens/Source/shotwell/src/Photo.vala" return self ? thumbnails_ref (self) : NULL; -#line 2885 "Photo.c" +#line 2886 "Photo.c" } @@ -2969,14 +2970,14 @@ PhotoImportParams* photo_import_params_construct (GType object_type, GFile* file self->thumbnails = _tmp13_; #line 38 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 2973 "Photo.c" +#line 2974 "Photo.c" } PhotoImportParams* photo_import_params_new (GFile* file, GFile* final_associated_file, ImportID* import_id, PhotoFileSnifferOptions sniffer_options, const gchar* exif_md5, const gchar* thumbnail_md5, const gchar* full_md5, Thumbnails* thumbnails) { #line 38 "/home/jens/Source/shotwell/src/Photo.vala" return photo_import_params_construct (TYPE_PHOTO_IMPORT_PARAMS, file, final_associated_file, import_id, sniffer_options, exif_md5, thumbnail_md5, full_md5, thumbnails); -#line 2980 "Photo.c" +#line 2981 "Photo.c" } @@ -3023,21 +3024,21 @@ PhotoImportParams* photo_import_params_construct_create_placeholder (GType objec self->thumbnails = NULL; #line 52 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 3027 "Photo.c" +#line 3028 "Photo.c" } PhotoImportParams* photo_import_params_new_create_placeholder (GFile* file, ImportID* import_id) { #line 52 "/home/jens/Source/shotwell/src/Photo.vala" return photo_import_params_construct_create_placeholder (TYPE_PHOTO_IMPORT_PARAMS, file, import_id); -#line 3034 "Photo.c" +#line 3035 "Photo.c" } static void value_photo_import_params_init (GValue* value) { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 3041 "Photo.c" +#line 3042 "Photo.c" } @@ -3046,7 +3047,7 @@ static void value_photo_import_params_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" photo_import_params_unref (value->data[0].v_pointer); -#line 3050 "Photo.c" +#line 3051 "Photo.c" } } @@ -3056,11 +3057,11 @@ static void value_photo_import_params_copy_value (const GValue* src_value, GValu if (src_value->data[0].v_pointer) { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" dest_value->data[0].v_pointer = photo_import_params_ref (src_value->data[0].v_pointer); -#line 3060 "Photo.c" +#line 3061 "Photo.c" } else { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" dest_value->data[0].v_pointer = NULL; -#line 3064 "Photo.c" +#line 3065 "Photo.c" } } @@ -3068,37 +3069,37 @@ static void value_photo_import_params_copy_value (const GValue* src_value, GValu static gpointer value_photo_import_params_peek_pointer (const GValue* value) { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" return value->data[0].v_pointer; -#line 3072 "Photo.c" +#line 3073 "Photo.c" } static gchar* value_photo_import_params_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" if (collect_values[0].v_pointer) { -#line 3079 "Photo.c" +#line 3080 "Photo.c" PhotoImportParams* object; object = collect_values[0].v_pointer; #line 21 "/home/jens/Source/shotwell/src/Photo.vala" if (object->parent_instance.g_class == NULL) { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 3086 "Photo.c" +#line 3087 "Photo.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 3090 "Photo.c" +#line 3091 "Photo.c" } #line 21 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = photo_import_params_ref (object); -#line 3094 "Photo.c" +#line 3095 "Photo.c" } else { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 3098 "Photo.c" +#line 3099 "Photo.c" } #line 21 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 3102 "Photo.c" +#line 3103 "Photo.c" } @@ -3109,25 +3110,25 @@ static gchar* value_photo_import_params_lcopy_value (const GValue* value, guint if (!object_p) { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 3113 "Photo.c" +#line 3114 "Photo.c" } #line 21 "/home/jens/Source/shotwell/src/Photo.vala" if (!value->data[0].v_pointer) { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = NULL; -#line 3119 "Photo.c" +#line 3120 "Photo.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = value->data[0].v_pointer; -#line 3123 "Photo.c" +#line 3124 "Photo.c" } else { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = photo_import_params_ref (value->data[0].v_pointer); -#line 3127 "Photo.c" +#line 3128 "Photo.c" } #line 21 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 3131 "Photo.c" +#line 3132 "Photo.c" } @@ -3141,7 +3142,7 @@ GParamSpec* param_spec_photo_import_params (const gchar* name, const gchar* nick G_PARAM_SPEC (spec)->value_type = object_type; #line 21 "/home/jens/Source/shotwell/src/Photo.vala" return G_PARAM_SPEC (spec); -#line 3145 "Photo.c" +#line 3146 "Photo.c" } @@ -3150,7 +3151,7 @@ gpointer value_get_photo_import_params (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PHOTO_IMPORT_PARAMS), NULL); #line 21 "/home/jens/Source/shotwell/src/Photo.vala" return value->data[0].v_pointer; -#line 3154 "Photo.c" +#line 3155 "Photo.c" } @@ -3170,17 +3171,17 @@ void value_set_photo_import_params (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 21 "/home/jens/Source/shotwell/src/Photo.vala" photo_import_params_ref (value->data[0].v_pointer); -#line 3174 "Photo.c" +#line 3175 "Photo.c" } else { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 3178 "Photo.c" +#line 3179 "Photo.c" } #line 21 "/home/jens/Source/shotwell/src/Photo.vala" if (old) { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" photo_import_params_unref (old); -#line 3184 "Photo.c" +#line 3185 "Photo.c" } } @@ -3199,17 +3200,17 @@ void value_take_photo_import_params (GValue* value, gpointer v_object) { g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 21 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = v_object; -#line 3203 "Photo.c" +#line 3204 "Photo.c" } else { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 3207 "Photo.c" +#line 3208 "Photo.c" } #line 21 "/home/jens/Source/shotwell/src/Photo.vala" if (old) { #line 21 "/home/jens/Source/shotwell/src/Photo.vala" photo_import_params_unref (old); -#line 3213 "Photo.c" +#line 3214 "Photo.c" } } @@ -3219,7 +3220,7 @@ static void photo_import_params_class_init (PhotoImportParamsClass * klass) { photo_import_params_parent_class = g_type_class_peek_parent (klass); #line 21 "/home/jens/Source/shotwell/src/Photo.vala" ((PhotoImportParamsClass *) klass)->finalize = photo_import_params_finalize; -#line 3223 "Photo.c" +#line 3224 "Photo.c" } @@ -3235,7 +3236,7 @@ static void photo_import_params_instance_init (PhotoImportParams * self) { self->keywords = NULL; #line 21 "/home/jens/Source/shotwell/src/Photo.vala" self->ref_count = 1; -#line 3239 "Photo.c" +#line 3240 "Photo.c" } @@ -3261,7 +3262,7 @@ static void photo_import_params_finalize (PhotoImportParams* obj) { _photo_row_unref0 (self->row); #line 36 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (self->keywords); -#line 3265 "Photo.c" +#line 3266 "Photo.c" } @@ -3286,7 +3287,7 @@ gpointer photo_import_params_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 21 "/home/jens/Source/shotwell/src/Photo.vala" return instance; -#line 3290 "Photo.c" +#line 3291 "Photo.c" } @@ -3299,7 +3300,7 @@ void photo_import_params_unref (gpointer instance) { PHOTO_IMPORT_PARAMS_GET_CLASS (self)->finalize (self); #line 21 "/home/jens/Source/shotwell/src/Photo.vala" g_type_free_instance ((GTypeInstance *) self); -#line 3303 "Photo.c" +#line 3304 "Photo.c" } } @@ -3310,7 +3311,7 @@ PhotoTransformationState* photo_transformation_state_construct (GType object_typ self = (PhotoTransformationState*) g_object_new (object_type, NULL); #line 72 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 3314 "Photo.c" +#line 3315 "Photo.c" } @@ -3325,14 +3326,14 @@ gboolean photo_transformation_state_is_broken (PhotoTransformationState* self) { result = _tmp0_; #line 76 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3329 "Photo.c" +#line 3330 "Photo.c" } static void photo_transformation_state_real_broken (PhotoTransformationState* self) { #line 69 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->is_broke = TRUE; -#line 3336 "Photo.c" +#line 3337 "Photo.c" } @@ -3347,7 +3348,7 @@ static void photo_transformation_state_class_init (PhotoTransformationStateClass G_OBJECT_CLASS (klass)->finalize = photo_transformation_state_finalize; #line 63 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_new ("broken", TYPE_PHOTO_TRANSFORMATION_STATE, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (PhotoTransformationStateClass, broken), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 3351 "Photo.c" +#line 3352 "Photo.c" } @@ -3356,7 +3357,7 @@ static void photo_transformation_state_instance_init (PhotoTransformationState * self->priv = PHOTO_TRANSFORMATION_STATE_GET_PRIVATE (self); #line 64 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->is_broke = FALSE; -#line 3360 "Photo.c" +#line 3361 "Photo.c" } @@ -3366,7 +3367,7 @@ static void photo_transformation_state_finalize (GObject* obj) { self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PHOTO_TRANSFORMATION_STATE, PhotoTransformationState); #line 63 "/home/jens/Source/shotwell/src/Photo.vala" G_OBJECT_CLASS (photo_transformation_state_parent_class)->finalize (obj); -#line 3370 "Photo.c" +#line 3371 "Photo.c" } @@ -3388,7 +3389,7 @@ gboolean rating_can_increase (Rating self) { result = self < RATING_FIVE; #line 90 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3392 "Photo.c" +#line 3393 "Photo.c" } @@ -3398,7 +3399,7 @@ gboolean rating_can_decrease (Rating self) { result = self > RATING_REJECTED; #line 94 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3402 "Photo.c" +#line 3403 "Photo.c" } @@ -3409,17 +3410,17 @@ gboolean rating_is_valid (Rating self) { if (self >= RATING_REJECTED) { #line 98 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self <= RATING_FIVE; -#line 3413 "Photo.c" +#line 3414 "Photo.c" } else { #line 98 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = FALSE; -#line 3417 "Photo.c" +#line 3418 "Photo.c" } #line 98 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp0_; #line 98 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3423 "Photo.c" +#line 3424 "Photo.c" } @@ -3433,17 +3434,17 @@ Rating rating_increase (Rating self) { if (_tmp1_) { #line 102 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self + 1; -#line 3437 "Photo.c" +#line 3438 "Photo.c" } else { #line 102 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self; -#line 3441 "Photo.c" +#line 3442 "Photo.c" } #line 102 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp0_; #line 102 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3447 "Photo.c" +#line 3448 "Photo.c" } @@ -3457,17 +3458,17 @@ Rating rating_decrease (Rating self) { if (_tmp1_) { #line 106 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self - 1; -#line 3461 "Photo.c" +#line 3462 "Photo.c" } else { #line 106 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self; -#line 3465 "Photo.c" +#line 3466 "Photo.c" } #line 106 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp0_; #line 106 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3471 "Photo.c" +#line 3472 "Photo.c" } @@ -3477,73 +3478,73 @@ gint rating_serialize (Rating self) { switch (self) { #line 110 "/home/jens/Source/shotwell/src/Photo.vala" case RATING_REJECTED: -#line 3481 "Photo.c" +#line 3482 "Photo.c" { #line 112 "/home/jens/Source/shotwell/src/Photo.vala" result = -1; #line 112 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3487 "Photo.c" +#line 3488 "Photo.c" } #line 110 "/home/jens/Source/shotwell/src/Photo.vala" case RATING_UNRATED: -#line 3491 "Photo.c" +#line 3492 "Photo.c" { #line 114 "/home/jens/Source/shotwell/src/Photo.vala" result = 0; #line 114 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3497 "Photo.c" +#line 3498 "Photo.c" } #line 110 "/home/jens/Source/shotwell/src/Photo.vala" case RATING_ONE: -#line 3501 "Photo.c" +#line 3502 "Photo.c" { #line 116 "/home/jens/Source/shotwell/src/Photo.vala" result = 1; #line 116 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3507 "Photo.c" +#line 3508 "Photo.c" } #line 110 "/home/jens/Source/shotwell/src/Photo.vala" case RATING_TWO: -#line 3511 "Photo.c" +#line 3512 "Photo.c" { #line 118 "/home/jens/Source/shotwell/src/Photo.vala" result = 2; #line 118 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3517 "Photo.c" +#line 3518 "Photo.c" } #line 110 "/home/jens/Source/shotwell/src/Photo.vala" case RATING_THREE: -#line 3521 "Photo.c" +#line 3522 "Photo.c" { #line 120 "/home/jens/Source/shotwell/src/Photo.vala" result = 3; #line 120 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3527 "Photo.c" +#line 3528 "Photo.c" } #line 110 "/home/jens/Source/shotwell/src/Photo.vala" case RATING_FOUR: -#line 3531 "Photo.c" +#line 3532 "Photo.c" { #line 122 "/home/jens/Source/shotwell/src/Photo.vala" result = 4; #line 122 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3537 "Photo.c" +#line 3538 "Photo.c" } #line 110 "/home/jens/Source/shotwell/src/Photo.vala" case RATING_FIVE: -#line 3541 "Photo.c" +#line 3542 "Photo.c" { #line 124 "/home/jens/Source/shotwell/src/Photo.vala" result = 5; #line 124 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3547 "Photo.c" +#line 3548 "Photo.c" } default: { @@ -3551,7 +3552,7 @@ gint rating_serialize (Rating self) { result = 0; #line 126 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3555 "Photo.c" +#line 3556 "Photo.c" } } } @@ -3569,7 +3570,7 @@ Rating rating_unserialize (gint value) { result = RATING_FIVE; #line 132 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3573 "Photo.c" +#line 3574 "Photo.c" } else { gint _tmp1_ = 0; #line 133 "/home/jens/Source/shotwell/src/Photo.vala" @@ -3580,7 +3581,7 @@ Rating rating_unserialize (gint value) { result = RATING_REJECTED; #line 134 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3584 "Photo.c" +#line 3585 "Photo.c" } } #line 136 "/home/jens/Source/shotwell/src/Photo.vala" @@ -3589,73 +3590,73 @@ Rating rating_unserialize (gint value) { switch (_tmp2_) { #line 136 "/home/jens/Source/shotwell/src/Photo.vala" case -1: -#line 3593 "Photo.c" +#line 3594 "Photo.c" { #line 138 "/home/jens/Source/shotwell/src/Photo.vala" result = RATING_REJECTED; #line 138 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3599 "Photo.c" +#line 3600 "Photo.c" } #line 136 "/home/jens/Source/shotwell/src/Photo.vala" case 0: -#line 3603 "Photo.c" +#line 3604 "Photo.c" { #line 140 "/home/jens/Source/shotwell/src/Photo.vala" result = RATING_UNRATED; #line 140 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3609 "Photo.c" +#line 3610 "Photo.c" } #line 136 "/home/jens/Source/shotwell/src/Photo.vala" case 1: -#line 3613 "Photo.c" +#line 3614 "Photo.c" { #line 142 "/home/jens/Source/shotwell/src/Photo.vala" result = RATING_ONE; #line 142 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3619 "Photo.c" +#line 3620 "Photo.c" } #line 136 "/home/jens/Source/shotwell/src/Photo.vala" case 2: -#line 3623 "Photo.c" +#line 3624 "Photo.c" { #line 144 "/home/jens/Source/shotwell/src/Photo.vala" result = RATING_TWO; #line 144 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3629 "Photo.c" +#line 3630 "Photo.c" } #line 136 "/home/jens/Source/shotwell/src/Photo.vala" case 3: -#line 3633 "Photo.c" +#line 3634 "Photo.c" { #line 146 "/home/jens/Source/shotwell/src/Photo.vala" result = RATING_THREE; #line 146 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3639 "Photo.c" +#line 3640 "Photo.c" } #line 136 "/home/jens/Source/shotwell/src/Photo.vala" case 4: -#line 3643 "Photo.c" +#line 3644 "Photo.c" { #line 148 "/home/jens/Source/shotwell/src/Photo.vala" result = RATING_FOUR; #line 148 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3649 "Photo.c" +#line 3650 "Photo.c" } #line 136 "/home/jens/Source/shotwell/src/Photo.vala" case 5: -#line 3653 "Photo.c" +#line 3654 "Photo.c" { #line 150 "/home/jens/Source/shotwell/src/Photo.vala" result = RATING_FIVE; #line 150 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3659 "Photo.c" +#line 3660 "Photo.c" } default: { @@ -3663,7 +3664,7 @@ Rating rating_unserialize (gint value) { result = RATING_UNRATED; #line 152 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3667 "Photo.c" +#line 3668 "Photo.c" } } } @@ -3690,7 +3691,7 @@ gboolean photo_exception_prohibits (PhotoException self, PhotoException exceptio result = (self & _tmp0_) != 0; #line 228 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3694 "Photo.c" +#line 3695 "Photo.c" } @@ -3703,7 +3704,7 @@ gboolean photo_exception_allows (PhotoException self, PhotoException exception) result = (self & _tmp0_) == 0; #line 232 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 3707 "Photo.c" +#line 3708 "Photo.c" } @@ -3722,14 +3723,14 @@ GType photo_exception_get_type (void) { static gpointer _photo_row_ref0 (gpointer self) { #line 400 "/home/jens/Source/shotwell/src/Photo.vala" return self ? photo_row_ref (self) : NULL; -#line 3726 "Photo.c" +#line 3727 "Photo.c" } static gpointer _backing_photo_row_ref0 (gpointer self) { #line 421 "/home/jens/Source/shotwell/src/Photo.vala" return self ? backing_photo_row_ref (self) : NULL; -#line 3733 "Photo.c" +#line 3734 "Photo.c" } @@ -3846,7 +3847,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _tmp22_ = basename; #line 412 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp22_ != NULL) { -#line 3850 "Photo.c" +#line 3851 "Photo.c" const gchar* _tmp23_ = NULL; gchar* _tmp24_ = NULL; #line 413 "/home/jens/Source/shotwell/src/Photo.vala" @@ -3857,7 +3858,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _g_free0 (self->priv->file_title); #line 413 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->file_title = _tmp24_; -#line 3861 "Photo.c" +#line 3862 "Photo.c" } #line 415 "/home/jens/Source/shotwell/src/Photo.vala" _tmp25_ = self->priv->file_title; @@ -3865,7 +3866,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _tmp26_ = is_string_empty (_tmp25_); #line 415 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp26_) { -#line 3869 "Photo.c" +#line 3870 "Photo.c" PhotoRow* _tmp27_ = NULL; BackingPhotoRow* _tmp28_ = NULL; const gchar* _tmp29_ = NULL; @@ -3882,7 +3883,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _g_free0 (self->priv->file_title); #line 416 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->file_title = _tmp30_; -#line 3886 "Photo.c" +#line 3887 "Photo.c" } #line 418 "/home/jens/Source/shotwell/src/Photo.vala" _tmp31_ = row; @@ -3892,7 +3893,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _tmp33_ = _tmp32_.id; #line 418 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp33_ != BACKING_PHOTO_ID_INVALID) { -#line 3896 "Photo.c" +#line 3897 "Photo.c" BackingPhotoRow* e = NULL; PhotoRow* _tmp34_ = NULL; BackingPhotoID _tmp35_ = {0}; @@ -3910,7 +3911,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _tmp37_ = e; #line 420 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp37_ != NULL) { -#line 3914 "Photo.c" +#line 3915 "Photo.c" BackingPhotoRow* _tmp38_ = NULL; BackingPhotoRow* _tmp39_ = NULL; PhotoBackingReaders* _tmp40_ = NULL; @@ -3943,7 +3944,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _photo_file_adapter_unref0 (_tmp40_->editable); #line 422 "/home/jens/Source/shotwell/src/Photo.vala" _tmp40_->editable = _tmp45_; -#line 3947 "Photo.c" +#line 3948 "Photo.c" } else { { PhotoTable* _tmp46_ = NULL; @@ -3963,8 +3964,8 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { if (G_UNLIKELY (_inner_error_ != NULL)) { #line 425 "/home/jens/Source/shotwell/src/Photo.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 3967 "Photo.c" - goto __catch243_database_error; +#line 3968 "Photo.c" + goto __catch256_database_error; } #line 425 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (e); @@ -3976,11 +3977,11 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { g_clear_error (&_inner_error_); #line 425 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 3980 "Photo.c" +#line 3981 "Photo.c" } } - goto __finally243; - __catch243_database_error: + goto __finally256; + __catch256_database_error: { GError* err = NULL; #line 424 "/home/jens/Source/shotwell/src/Photo.vala" @@ -3989,9 +3990,9 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _inner_error_ = NULL; #line 424 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 3993 "Photo.c" +#line 3994 "Photo.c" } - __finally243: + __finally256: #line 424 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 424 "/home/jens/Source/shotwell/src/Photo.vala" @@ -4004,15 +4005,15 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { g_clear_error (&_inner_error_); #line 424 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 4008 "Photo.c" +#line 4009 "Photo.c" } #line 432 "/home/jens/Source/shotwell/src/Photo.vala" photo_internal_remove_all_transformations (self, FALSE); -#line 4012 "Photo.c" +#line 4013 "Photo.c" } #line 418 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (e); -#line 4016 "Photo.c" +#line 4017 "Photo.c" } #line 436 "/home/jens/Source/shotwell/src/Photo.vala" _tmp49_ = row; @@ -4022,7 +4023,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _tmp51_ = _tmp50_->file_format; #line 436 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp51_ == PHOTO_FILE_FORMAT_RAW) { -#line 4026 "Photo.c" +#line 4027 "Photo.c" GeeHashMap* _tmp52_ = NULL; gint _tmp53_ = 0; RawDeveloper* _tmp54_ = NULL; @@ -4034,7 +4035,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { self->priv->developments = _tmp52_; #line 439 "/home/jens/Source/shotwell/src/Photo.vala" _tmp54_ = raw_developer_as_array (&_tmp53_); -#line 4038 "Photo.c" +#line 4039 "Photo.c" { RawDeveloper* d_collection = NULL; gint d_collection_length1 = 0; @@ -4046,11 +4047,11 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { d_collection_length1 = _tmp53_; #line 439 "/home/jens/Source/shotwell/src/Photo.vala" for (d_it = 0; d_it < _tmp53_; d_it = d_it + 1) { -#line 4050 "Photo.c" +#line 4051 "Photo.c" RawDeveloper d = 0; #line 439 "/home/jens/Source/shotwell/src/Photo.vala" d = d_collection[d_it]; -#line 4054 "Photo.c" +#line 4055 "Photo.c" { BackingPhotoID id = {0}; PhotoRow* _tmp55_ = NULL; @@ -4078,7 +4079,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _tmp60_ = _tmp59_.id; #line 441 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp60_ != BACKING_PHOTO_ID_INVALID) { -#line 4082 "Photo.c" +#line 4083 "Photo.c" BackingPhotoRow* bpr = NULL; BackingPhotoID _tmp61_ = {0}; BackingPhotoRow* _tmp62_ = NULL; @@ -4093,7 +4094,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _tmp63_ = bpr; #line 443 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp63_ != NULL) { -#line 4097 "Photo.c" +#line 4098 "Photo.c" GeeHashMap* _tmp64_ = NULL; RawDeveloper _tmp65_ = 0; BackingPhotoRow* _tmp66_ = NULL; @@ -4105,17 +4106,17 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _tmp66_ = bpr; #line 444 "/home/jens/Source/shotwell/src/Photo.vala" gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) _tmp65_), _tmp66_); -#line 4109 "Photo.c" +#line 4110 "Photo.c" } #line 441 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (bpr); -#line 4113 "Photo.c" +#line 4114 "Photo.c" } } } #line 439 "/home/jens/Source/shotwell/src/Photo.vala" d_collection = (g_free (d_collection), NULL); -#line 4119 "Photo.c" +#line 4120 "Photo.c" } } #line 450 "/home/jens/Source/shotwell/src/Photo.vala" @@ -4126,7 +4127,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _tmp70_ = _tmp69_->file_format; #line 450 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp70_ == PHOTO_FILE_FORMAT_RAW) { -#line 4130 "Photo.c" +#line 4131 "Photo.c" GeeHashMap* _tmp71_ = NULL; PhotoRow* _tmp72_ = NULL; RawDeveloper _tmp73_ = 0; @@ -4141,15 +4142,15 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _tmp74_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) _tmp73_)); #line 450 "/home/jens/Source/shotwell/src/Photo.vala" _tmp67_ = _tmp74_; -#line 4145 "Photo.c" +#line 4146 "Photo.c" } else { #line 450 "/home/jens/Source/shotwell/src/Photo.vala" _tmp67_ = FALSE; -#line 4149 "Photo.c" +#line 4150 "Photo.c" } #line 450 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp67_) { -#line 4153 "Photo.c" +#line 4154 "Photo.c" BackingPhotoRow* r = NULL; GeeHashMap* _tmp75_ = NULL; PhotoRow* _tmp76_ = NULL; @@ -4189,7 +4190,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _tmp79_->developer = _tmp84_; #line 450 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (r); -#line 4193 "Photo.c" +#line 4194 "Photo.c" } #line 456 "/home/jens/Source/shotwell/src/Photo.vala" _tmp85_ = self->priv->readers; @@ -4197,7 +4198,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _tmp86_ = _tmp85_->editable; #line 456 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp86_ != NULL) { -#line 4201 "Photo.c" +#line 4202 "Photo.c" BackingPhotoRow* _tmp87_ = NULL; BackingPhotoRow* _tmp88_ = NULL; #line 457 "/home/jens/Source/shotwell/src/Photo.vala" @@ -4208,7 +4209,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _backing_photo_row_unref0 (self->backing_photo_row); #line 457 "/home/jens/Source/shotwell/src/Photo.vala" self->backing_photo_row = _tmp88_; -#line 4212 "Photo.c" +#line 4213 "Photo.c" } else { PhotoRow* _tmp89_ = NULL; BackingPhotoRow* _tmp90_ = NULL; @@ -4221,7 +4222,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _tmp91_ = _tmp90_->file_format; #line 458 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp91_ != PHOTO_FILE_FORMAT_RAW) { -#line 4225 "Photo.c" +#line 4226 "Photo.c" PhotoRow* _tmp92_ = NULL; BackingPhotoRow* _tmp93_ = NULL; BackingPhotoRow* _tmp94_ = NULL; @@ -4235,7 +4236,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _backing_photo_row_unref0 (self->backing_photo_row); #line 459 "/home/jens/Source/shotwell/src/Photo.vala" self->backing_photo_row = _tmp94_; -#line 4239 "Photo.c" +#line 4240 "Photo.c" } else { GeeHashMap* _tmp95_ = NULL; PhotoRow* _tmp96_ = NULL; @@ -4251,7 +4252,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _tmp98_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp95_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) _tmp97_)); #line 463 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp98_) { -#line 4255 "Photo.c" +#line 4256 "Photo.c" GeeHashMap* _tmp99_ = NULL; PhotoRow* _tmp100_ = NULL; RawDeveloper _tmp101_ = 0; @@ -4268,7 +4269,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _backing_photo_row_unref0 (self->backing_photo_row); #line 464 "/home/jens/Source/shotwell/src/Photo.vala" self->backing_photo_row = (BackingPhotoRow*) _tmp102_; -#line 4272 "Photo.c" +#line 4273 "Photo.c" } else { PhotoRow* _tmp103_ = NULL; BackingPhotoRow* _tmp104_ = NULL; @@ -4283,7 +4284,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _backing_photo_row_unref0 (self->backing_photo_row); #line 467 "/home/jens/Source/shotwell/src/Photo.vala" self->backing_photo_row = _tmp105_; -#line 4287 "Photo.c" +#line 4288 "Photo.c" } } } @@ -4297,7 +4298,7 @@ Photo* photo_construct (GType object_type, PhotoRow* row) { _g_free0 (basename); #line 399 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 4301 "Photo.c" +#line 4302 "Photo.c" } @@ -4309,7 +4310,7 @@ void photo_init_photo (void) { _g_object_unref0 (photo_source_pixbuf_cache); #line 475 "/home/jens/Source/shotwell/src/Photo.vala" photo_source_pixbuf_cache = _tmp0_; -#line 4313 "Photo.c" +#line 4314 "Photo.c" } @@ -4323,7 +4324,7 @@ void photo_terminate_photo (void) { _tmp0_ = photo_discard_source_id; #line 481 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp0_ != ((guint) 0)) { -#line 4327 "Photo.c" +#line 4328 "Photo.c" guint _tmp1_ = 0U; #line 482 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = photo_discard_source_id; @@ -4331,7 +4332,7 @@ void photo_terminate_photo (void) { g_source_remove (_tmp1_); #line 483 "/home/jens/Source/shotwell/src/Photo.vala" photo_discard_source_id = (guint) 0; -#line 4335 "Photo.c" +#line 4336 "Photo.c" } } @@ -4349,7 +4350,7 @@ static void photo_real_notify_editable_replaced (Photo* self, GFile* old_file, G _tmp1_ = new_file; #line 488 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_emit_by_name (self, "editable-replaced", _tmp0_, _tmp1_); -#line 4353 "Photo.c" +#line 4354 "Photo.c" } @@ -4358,14 +4359,14 @@ void photo_notify_editable_replaced (Photo* self, GFile* old_file, GFile* new_fi g_return_if_fail (IS_PHOTO (self)); #line 487 "/home/jens/Source/shotwell/src/Photo.vala" PHOTO_GET_CLASS (self)->notify_editable_replaced (self, old_file, new_file); -#line 4362 "Photo.c" +#line 4363 "Photo.c" } static void photo_real_notify_raw_development_modified (Photo* self) { #line 492 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_emit_by_name (self, "raw-development-modified"); -#line 4369 "Photo.c" +#line 4370 "Photo.c" } @@ -4374,14 +4375,14 @@ void photo_notify_raw_development_modified (Photo* self) { g_return_if_fail (IS_PHOTO (self)); #line 491 "/home/jens/Source/shotwell/src/Photo.vala" PHOTO_GET_CLASS (self)->notify_raw_development_modified (self); -#line 4378 "Photo.c" +#line 4379 "Photo.c" } static void photo_real_notify_baseline_replaced (Photo* self) { #line 496 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_emit_by_name (self, "baseline-replaced"); -#line 4385 "Photo.c" +#line 4386 "Photo.c" } @@ -4390,7 +4391,7 @@ void photo_notify_baseline_replaced (Photo* self) { g_return_if_fail (IS_PHOTO (self)); #line 495 "/home/jens/Source/shotwell/src/Photo.vala" PHOTO_GET_CLASS (self)->notify_baseline_replaced (self); -#line 4394 "Photo.c" +#line 4395 "Photo.c" } @@ -4402,7 +4403,7 @@ static void photo_real_notify_master_reimported (Photo* self, PhotoMetadata* met _tmp0_ = metadata; #line 500 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_emit_by_name (self, "master-reimported", _tmp0_); -#line 4406 "Photo.c" +#line 4407 "Photo.c" } @@ -4411,7 +4412,7 @@ void photo_notify_master_reimported (Photo* self, PhotoMetadata* metadata) { g_return_if_fail (IS_PHOTO (self)); #line 499 "/home/jens/Source/shotwell/src/Photo.vala" PHOTO_GET_CLASS (self)->notify_master_reimported (self, metadata); -#line 4415 "Photo.c" +#line 4416 "Photo.c" } @@ -4423,7 +4424,7 @@ static void photo_real_notify_editable_reimported (Photo* self, PhotoMetadata* m _tmp0_ = metadata; #line 504 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_emit_by_name (self, "editable-reimported", _tmp0_); -#line 4427 "Photo.c" +#line 4428 "Photo.c" } @@ -4432,7 +4433,7 @@ void photo_notify_editable_reimported (Photo* self, PhotoMetadata* metadata) { g_return_if_fail (IS_PHOTO (self)); #line 503 "/home/jens/Source/shotwell/src/Photo.vala" PHOTO_GET_CLASS (self)->notify_editable_reimported (self, metadata); -#line 4436 "Photo.c" +#line 4437 "Photo.c" } @@ -4444,7 +4445,7 @@ static void photo_real_notify_source_reimported (Photo* self, PhotoMetadata* met _tmp0_ = metadata; #line 508 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_emit_by_name (self, "source-reimported", _tmp0_); -#line 4448 "Photo.c" +#line 4449 "Photo.c" } @@ -4453,7 +4454,7 @@ void photo_notify_source_reimported (Photo* self, PhotoMetadata* metadata) { g_return_if_fail (IS_PHOTO (self)); #line 507 "/home/jens/Source/shotwell/src/Photo.vala" PHOTO_GET_CLASS (self)->notify_source_reimported (self, metadata); -#line 4457 "Photo.c" +#line 4458 "Photo.c" } @@ -4465,7 +4466,7 @@ static void photo_real_notify_baseline_reimported (Photo* self, PhotoMetadata* m _tmp0_ = metadata; #line 512 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_emit_by_name (self, "baseline-reimported", _tmp0_); -#line 4469 "Photo.c" +#line 4470 "Photo.c" } @@ -4474,7 +4475,7 @@ void photo_notify_baseline_reimported (Photo* self, PhotoMetadata* metadata) { g_return_if_fail (IS_PHOTO (self)); #line 511 "/home/jens/Source/shotwell/src/Photo.vala" PHOTO_GET_CLASS (self)->notify_baseline_reimported (self, metadata); -#line 4478 "Photo.c" +#line 4479 "Photo.c" } @@ -4495,14 +4496,14 @@ static gboolean photo_real_internal_delete_backing (DataSource* base, GError** e ret = TRUE; #line 517 "/home/jens/Source/shotwell/src/Photo.vala" file = NULL; -#line 4499 "Photo.c" +#line 4500 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 518 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 518 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 4506 "Photo.c" +#line 4507 "Photo.c" { PhotoBackingReaders* _tmp1_ = NULL; PhotoFileReader* _tmp2_ = NULL; @@ -4512,7 +4513,7 @@ static gboolean photo_real_internal_delete_backing (DataSource* base, GError** e _tmp2_ = _tmp1_->editable; #line 519 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != NULL) { -#line 4516 "Photo.c" +#line 4517 "Photo.c" PhotoBackingReaders* _tmp3_ = NULL; PhotoFileReader* _tmp4_ = NULL; GFile* _tmp5_ = NULL; @@ -4526,17 +4527,17 @@ static gboolean photo_real_internal_delete_backing (DataSource* base, GError** e _g_object_unref0 (file); #line 520 "/home/jens/Source/shotwell/src/Photo.vala" file = _tmp5_; -#line 4530 "Photo.c" +#line 4531 "Photo.c" } } - __finally244: + __finally257: { PhotoBackingReaders* _tmp6_ = NULL; #line 518 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = self->priv->readers; #line 518 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 4540 "Photo.c" +#line 4541 "Photo.c" } #line 518 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -4546,7 +4547,7 @@ static gboolean photo_real_internal_delete_backing (DataSource* base, GError** e _g_object_unref0 (file); #line 518 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 4550 "Photo.c" +#line 4551 "Photo.c" } } #line 523 "/home/jens/Source/shotwell/src/Photo.vala" @@ -4555,12 +4556,12 @@ static gboolean photo_real_internal_delete_backing (DataSource* base, GError** e _tmp7_ = photo_get_master_file_format (self); #line 525 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp7_ == PHOTO_FILE_FORMAT_RAW) { -#line 4559 "Photo.c" +#line 4560 "Photo.c" gint _tmp8_ = 0; RawDeveloper* _tmp9_ = NULL; #line 526 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_ = raw_developer_as_array (&_tmp8_); -#line 4564 "Photo.c" +#line 4565 "Photo.c" { RawDeveloper* d_collection = NULL; gint d_collection_length1 = 0; @@ -4572,30 +4573,30 @@ static gboolean photo_real_internal_delete_backing (DataSource* base, GError** e d_collection_length1 = _tmp8_; #line 526 "/home/jens/Source/shotwell/src/Photo.vala" for (d_it = 0; d_it < _tmp8_; d_it = d_it + 1) { -#line 4576 "Photo.c" +#line 4577 "Photo.c" RawDeveloper d = 0; #line 526 "/home/jens/Source/shotwell/src/Photo.vala" d = d_collection[d_it]; -#line 4580 "Photo.c" +#line 4581 "Photo.c" { RawDeveloper _tmp10_ = 0; #line 527 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = d; #line 527 "/home/jens/Source/shotwell/src/Photo.vala" photo_delete_raw_development (self, _tmp10_); -#line 4587 "Photo.c" +#line 4588 "Photo.c" } } #line 526 "/home/jens/Source/shotwell/src/Photo.vala" d_collection = (g_free (d_collection), NULL); -#line 4592 "Photo.c" +#line 4593 "Photo.c" } } #line 531 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = file; #line 531 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp11_ != NULL) { -#line 4599 "Photo.c" +#line 4600 "Photo.c" { gboolean _tmp12_ = FALSE; GFile* _tmp13_ = NULL; @@ -4608,15 +4609,15 @@ static gboolean photo_real_internal_delete_backing (DataSource* base, GError** e _tmp12_ = _tmp14_; #line 533 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4612 "Photo.c" - goto __catch245_g_error; +#line 4613 "Photo.c" + goto __catch258_g_error; } #line 533 "/home/jens/Source/shotwell/src/Photo.vala" ret = _tmp12_; -#line 4617 "Photo.c" +#line 4618 "Photo.c" } - goto __finally245; - __catch245_g_error: + goto __finally258; + __catch258_g_error: { GError* err = NULL; GFile* _tmp15_ = NULL; @@ -4654,9 +4655,9 @@ static gboolean photo_real_internal_delete_backing (DataSource* base, GError** e _g_free0 (_tmp17_); #line 532 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 4658 "Photo.c" +#line 4659 "Photo.c" } - __finally245: + __finally258: #line 532 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 532 "/home/jens/Source/shotwell/src/Photo.vala" @@ -4665,7 +4666,7 @@ static gboolean photo_real_internal_delete_backing (DataSource* base, GError** e _g_object_unref0 (file); #line 532 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 4669 "Photo.c" +#line 4670 "Photo.c" } } #line 542 "/home/jens/Source/shotwell/src/Photo.vala" @@ -4680,21 +4681,21 @@ static gboolean photo_real_internal_delete_backing (DataSource* base, GError** e _g_object_unref0 (file); #line 542 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 4684 "Photo.c" +#line 4685 "Photo.c" } #line 542 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp23_) { -#line 4688 "Photo.c" +#line 4689 "Photo.c" gboolean _tmp25_ = FALSE; #line 542 "/home/jens/Source/shotwell/src/Photo.vala" _tmp25_ = ret; #line 542 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = _tmp25_; -#line 4694 "Photo.c" +#line 4695 "Photo.c" } else { #line 542 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = FALSE; -#line 4698 "Photo.c" +#line 4699 "Photo.c" } #line 542 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp22_; @@ -4702,7 +4703,7 @@ static gboolean photo_real_internal_delete_backing (DataSource* base, GError** e _g_object_unref0 (file); #line 542 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 4706 "Photo.c" +#line 4707 "Photo.c" } @@ -4727,11 +4728,11 @@ static BackingPhotoRow* photo_get_backing_row (Photo* self, BackingPhotoID* id) result = NULL; #line 549 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 4731 "Photo.c" +#line 4732 "Photo.c" } #line 551 "/home/jens/Source/shotwell/src/Photo.vala" backing_row = NULL; -#line 4735 "Photo.c" +#line 4736 "Photo.c" { BackingPhotoRow* _tmp2_ = NULL; BackingPhotoTable* _tmp3_ = NULL; @@ -4758,8 +4759,8 @@ static BackingPhotoRow* photo_get_backing_row (Photo* self, BackingPhotoID* id) if (G_UNLIKELY (_inner_error_ != NULL)) { #line 553 "/home/jens/Source/shotwell/src/Photo.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 4762 "Photo.c" - goto __catch246_database_error; +#line 4763 "Photo.c" + goto __catch259_database_error; } #line 553 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (backing_row); @@ -4769,7 +4770,7 @@ static BackingPhotoRow* photo_get_backing_row (Photo* self, BackingPhotoID* id) g_clear_error (&_inner_error_); #line 553 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 4773 "Photo.c" +#line 4774 "Photo.c" } #line 553 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = _tmp2_; @@ -4781,10 +4782,10 @@ static BackingPhotoRow* photo_get_backing_row (Photo* self, BackingPhotoID* id) backing_row = _tmp8_; #line 552 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_tmp2_); -#line 4785 "Photo.c" +#line 4786 "Photo.c" } - goto __finally246; - __catch246_database_error: + goto __finally259; + __catch259_database_error: { GError* err = NULL; gchar* _tmp9_ = NULL; @@ -4809,9 +4810,9 @@ static BackingPhotoRow* photo_get_backing_row (Photo* self, BackingPhotoID* id) _g_free0 (_tmp10_); #line 552 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 4813 "Photo.c" +#line 4814 "Photo.c" } - __finally246: + __finally259: #line 552 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 552 "/home/jens/Source/shotwell/src/Photo.vala" @@ -4822,13 +4823,13 @@ static BackingPhotoRow* photo_get_backing_row (Photo* self, BackingPhotoID* id) g_clear_error (&_inner_error_); #line 552 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 4826 "Photo.c" +#line 4827 "Photo.c" } #line 558 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = backing_row; #line 558 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp13_ == NULL) { -#line 4832 "Photo.c" +#line 4833 "Photo.c" { BackingPhotoTable* _tmp14_ = NULL; BackingPhotoTable* _tmp15_ = NULL; @@ -4847,8 +4848,8 @@ static BackingPhotoRow* photo_get_backing_row (Photo* self, BackingPhotoID* id) if (G_UNLIKELY (_inner_error_ != NULL)) { #line 560 "/home/jens/Source/shotwell/src/Photo.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 4851 "Photo.c" - goto __catch247_database_error; +#line 4852 "Photo.c" + goto __catch260_database_error; } #line 560 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (backing_row); @@ -4858,11 +4859,11 @@ static BackingPhotoRow* photo_get_backing_row (Photo* self, BackingPhotoID* id) g_clear_error (&_inner_error_); #line 560 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 4862 "Photo.c" +#line 4863 "Photo.c" } } - goto __finally247; - __catch247_database_error: + goto __finally260; + __catch260_database_error: { GError* err = NULL; #line 559 "/home/jens/Source/shotwell/src/Photo.vala" @@ -4871,9 +4872,9 @@ static BackingPhotoRow* photo_get_backing_row (Photo* self, BackingPhotoID* id) _inner_error_ = NULL; #line 559 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 4875 "Photo.c" +#line 4876 "Photo.c" } - __finally247: + __finally260: #line 559 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 559 "/home/jens/Source/shotwell/src/Photo.vala" @@ -4884,7 +4885,7 @@ static BackingPhotoRow* photo_get_backing_row (Photo* self, BackingPhotoID* id) g_clear_error (&_inner_error_); #line 559 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 4888 "Photo.c" +#line 4889 "Photo.c" } #line 564 "/home/jens/Source/shotwell/src/Photo.vala" result = NULL; @@ -4892,13 +4893,13 @@ static BackingPhotoRow* photo_get_backing_row (Photo* self, BackingPhotoID* id) _backing_photo_row_unref0 (backing_row); #line 564 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 4896 "Photo.c" +#line 4897 "Photo.c" } #line 567 "/home/jens/Source/shotwell/src/Photo.vala" result = backing_row; #line 567 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 4902 "Photo.c" +#line 4903 "Photo.c" } @@ -4907,14 +4908,14 @@ gboolean photo_is_raw_developer_complete (Photo* self, RawDeveloper d) { GError * _inner_error_ = NULL; #line 572 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), FALSE); -#line 4911 "Photo.c" +#line 4912 "Photo.c" { GeeHashMap* _tmp0_ = NULL; #line 573 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->developments; #line 573 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_developments); -#line 4918 "Photo.c" +#line 4919 "Photo.c" { gboolean _tmp1_ = FALSE; GeeHashMap* _tmp2_ = NULL; @@ -4928,7 +4929,7 @@ gboolean photo_is_raw_developer_complete (Photo* self, RawDeveloper d) { _tmp4_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) _tmp3_)); #line 574 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp4_) { -#line 4932 "Photo.c" +#line 4933 "Photo.c" GeeHashMap* _tmp5_ = NULL; RawDeveloper _tmp6_ = 0; gpointer _tmp7_ = NULL; @@ -4951,35 +4952,35 @@ gboolean photo_is_raw_developer_complete (Photo* self, RawDeveloper d) { _tmp1_ = _tmp10_; #line 575 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_tmp8_); -#line 4955 "Photo.c" +#line 4956 "Photo.c" } else { #line 574 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = FALSE; -#line 4959 "Photo.c" +#line 4960 "Photo.c" } #line 574 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp1_; -#line 4963 "Photo.c" +#line 4964 "Photo.c" { GeeHashMap* _tmp11_ = NULL; #line 573 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = self->priv->developments; #line 573 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_developments); -#line 4970 "Photo.c" +#line 4971 "Photo.c" } #line 574 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 4974 "Photo.c" +#line 4975 "Photo.c" } - __finally248: + __finally261: { GeeHashMap* _tmp12_ = NULL; #line 573 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = self->priv->developments; #line 573 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_developments); -#line 4983 "Photo.c" +#line 4984 "Photo.c" } #line 573 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -4987,7 +4988,7 @@ gboolean photo_is_raw_developer_complete (Photo* self, RawDeveloper d) { g_clear_error (&_inner_error_); #line 573 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 4991 "Photo.c" +#line 4992 "Photo.c" } } @@ -4998,14 +4999,14 @@ gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d) { GError * _inner_error_ = NULL; #line 580 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), FALSE); -#line 5002 "Photo.c" +#line 5003 "Photo.c" { GeeHashMap* _tmp0_ = NULL; #line 581 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->developments; #line 581 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_developments); -#line 5009 "Photo.c" +#line 5010 "Photo.c" { GeeHashMap* _tmp1_ = NULL; RawDeveloper _tmp2_ = 0; @@ -5020,28 +5021,28 @@ gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d) { if (_tmp3_) { #line 583 "/home/jens/Source/shotwell/src/Photo.vala" result = TRUE; -#line 5024 "Photo.c" +#line 5025 "Photo.c" { GeeHashMap* _tmp4_ = NULL; #line 581 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->priv->developments; #line 581 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_developments); -#line 5031 "Photo.c" +#line 5032 "Photo.c" } #line 583 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 5035 "Photo.c" +#line 5036 "Photo.c" } } - __finally249: + __finally262: { GeeHashMap* _tmp5_ = NULL; #line 581 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->priv->developments; #line 581 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_developments); -#line 5045 "Photo.c" +#line 5046 "Photo.c" } #line 581 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -5051,7 +5052,7 @@ gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d) { g_clear_error (&_inner_error_); #line 581 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 5055 "Photo.c" +#line 5056 "Photo.c" } } #line 586 "/home/jens/Source/shotwell/src/Photo.vala" @@ -5060,27 +5061,27 @@ gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d) { switch (_tmp6_) { #line 586 "/home/jens/Source/shotwell/src/Photo.vala" case RAW_DEVELOPER_SHOTWELL: -#line 5064 "Photo.c" +#line 5065 "Photo.c" { #line 588 "/home/jens/Source/shotwell/src/Photo.vala" result = TRUE; #line 588 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 5070 "Photo.c" +#line 5071 "Photo.c" } #line 586 "/home/jens/Source/shotwell/src/Photo.vala" case RAW_DEVELOPER_CAMERA: -#line 5074 "Photo.c" +#line 5075 "Photo.c" { #line 591 "/home/jens/Source/shotwell/src/Photo.vala" result = FALSE; #line 591 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 5080 "Photo.c" +#line 5081 "Photo.c" } #line 586 "/home/jens/Source/shotwell/src/Photo.vala" case RAW_DEVELOPER_EMBEDDED: -#line 5084 "Photo.c" +#line 5085 "Photo.c" { { PhotoMetadata* meta = NULL; @@ -5095,8 +5096,8 @@ gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d) { meta = _tmp7_; #line 595 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5099 "Photo.c" - goto __catch250_g_error; +#line 5100 "Photo.c" + goto __catch263_g_error; } #line 596 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = meta; @@ -5108,7 +5109,7 @@ gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d) { _tmp10_ = num_previews; #line 598 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp10_ > ((guint) 0)) { -#line 5112 "Photo.c" +#line 5113 "Photo.c" PhotoPreview* prev = NULL; PhotoMetadata* _tmp11_ = NULL; guint _tmp12_ = 0U; @@ -5144,7 +5145,7 @@ gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d) { _media_metadata_unref0 (meta); #line 603 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 5148 "Photo.c" +#line 5149 "Photo.c" } #line 605 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = prev; @@ -5162,7 +5163,7 @@ gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d) { _tmp21_ = _tmp20_.height; #line 608 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp19_ > _tmp21_) { -#line 5166 "Photo.c" +#line 5167 "Photo.c" Dimensions _tmp22_ = {0}; gint _tmp23_ = 0; #line 608 "/home/jens/Source/shotwell/src/Photo.vala" @@ -5171,7 +5172,7 @@ gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d) { _tmp23_ = _tmp22_.width; #line 608 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = _tmp23_; -#line 5175 "Photo.c" +#line 5176 "Photo.c" } else { Dimensions _tmp24_ = {0}; gint _tmp25_ = 0; @@ -5181,7 +5182,7 @@ gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d) { _tmp25_ = _tmp24_.height; #line 608 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = _tmp25_; -#line 5185 "Photo.c" +#line 5186 "Photo.c" } #line 608 "/home/jens/Source/shotwell/src/Photo.vala" preview_major_axis = _tmp17_; @@ -5197,7 +5198,7 @@ gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d) { _media_metadata_unref0 (meta); #line 610 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 5201 "Photo.c" +#line 5202 "Photo.c" } #line 613 "/home/jens/Source/shotwell/src/Photo.vala" result = TRUE; @@ -5207,7 +5208,7 @@ gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d) { _media_metadata_unref0 (meta); #line 613 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 5211 "Photo.c" +#line 5212 "Photo.c" } #line 617 "/home/jens/Source/shotwell/src/Photo.vala" result = FALSE; @@ -5215,10 +5216,10 @@ gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d) { _media_metadata_unref0 (meta); #line 617 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 5219 "Photo.c" +#line 5220 "Photo.c" } - goto __finally250; - __catch250_g_error: + goto __finally263; + __catch263_g_error: { GError* e = NULL; GError* _tmp27_ = NULL; @@ -5235,9 +5236,9 @@ gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d) { g_debug ("Photo.vala:619: Error accessing embedded preview. Message: %s", _tmp28_); #line 594 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (e); -#line 5239 "Photo.c" +#line 5240 "Photo.c" } - __finally250: + __finally263: #line 594 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 594 "/home/jens/Source/shotwell/src/Photo.vala" @@ -5246,19 +5247,19 @@ gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d) { g_clear_error (&_inner_error_); #line 594 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 5250 "Photo.c" +#line 5251 "Photo.c" } #line 621 "/home/jens/Source/shotwell/src/Photo.vala" result = FALSE; #line 621 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 5256 "Photo.c" +#line 5257 "Photo.c" } default: { #line 624 "/home/jens/Source/shotwell/src/Photo.vala" g_assert_not_reached (); -#line 5262 "Photo.c" +#line 5263 "Photo.c" } } } @@ -5289,7 +5290,7 @@ void photo_add_backing_photo_for_development (Photo* self, RawDeveloper d, Backi g_propagate_error (error, _inner_error_); #line 632 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 5293 "Photo.c" +#line 5294 "Photo.c" } { GeeHashMap* _tmp3_ = NULL; @@ -5297,7 +5298,7 @@ void photo_add_backing_photo_for_development (Photo* self, RawDeveloper d, Backi _tmp3_ = self->priv->developments; #line 633 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_developments); -#line 5301 "Photo.c" +#line 5302 "Photo.c" { GeeHashMap* _tmp4_ = NULL; RawDeveloper _tmp5_ = 0; @@ -5310,16 +5311,16 @@ void photo_add_backing_photo_for_development (Photo* self, RawDeveloper d, Backi _tmp6_ = bpr; #line 634 "/home/jens/Source/shotwell/src/Photo.vala" gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) _tmp5_), _tmp6_); -#line 5314 "Photo.c" +#line 5315 "Photo.c" } - __finally251: + __finally264: { GeeHashMap* _tmp7_ = NULL; #line 633 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = self->priv->developments; #line 633 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_developments); -#line 5323 "Photo.c" +#line 5324 "Photo.c" } #line 633 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -5327,7 +5328,7 @@ void photo_add_backing_photo_for_development (Photo* self, RawDeveloper d, Backi g_propagate_error (error, _inner_error_); #line 633 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 5331 "Photo.c" +#line 5332 "Photo.c" } } #line 636 "/home/jens/Source/shotwell/src/Photo.vala" @@ -5338,7 +5339,7 @@ void photo_add_backing_photo_for_development (Photo* self, RawDeveloper d, Backi data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp9_); #line 636 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp9_); -#line 5342 "Photo.c" +#line 5343 "Photo.c" } @@ -5411,7 +5412,7 @@ void photo_import_developed_backing_photo (PhotoRow* row, RawDeveloper d, Backin _g_object_unref0 (file); #line 642 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 5415 "Photo.c" +#line 5416 "Photo.c" } #line 644 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = info; @@ -5441,7 +5442,7 @@ void photo_import_developed_backing_photo (PhotoRow* row, RawDeveloper d, Backin _g_object_unref0 (file); #line 648 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 5445 "Photo.c" +#line 5446 "Photo.c" } #line 650 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = interrogator; @@ -5455,7 +5456,7 @@ void photo_import_developed_backing_photo (PhotoRow* row, RawDeveloper d, Backin if (_tmp13_ == NULL) { #line 651 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = TRUE; -#line 5459 "Photo.c" +#line 5460 "Photo.c" } else { PhotoFileInterrogator* _tmp14_ = NULL; gboolean _tmp15_ = FALSE; @@ -5465,7 +5466,7 @@ void photo_import_developed_backing_photo (PhotoRow* row, RawDeveloper d, Backin _tmp15_ = photo_file_interrogator_get_is_photo_corrupted (_tmp14_); #line 651 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = _tmp15_; -#line 5469 "Photo.c" +#line 5470 "Photo.c" } #line 651 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp12_) { @@ -5479,7 +5480,7 @@ void photo_import_developed_backing_photo (PhotoRow* row, RawDeveloper d, Backin _g_object_unref0 (file); #line 654 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 5483 "Photo.c" +#line 5484 "Photo.c" } #line 657 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = bpr; @@ -5511,7 +5512,7 @@ void photo_import_developed_backing_photo (PhotoRow* row, RawDeveloper d, Backin _tmp27_ = _tmp26_->metadata; #line 660 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp27_ != NULL) { -#line 5515 "Photo.c" +#line 5516 "Photo.c" DetectedPhotoInformation* _tmp28_ = NULL; PhotoMetadata* _tmp29_ = NULL; Orientation _tmp30_ = 0; @@ -5523,11 +5524,11 @@ void photo_import_developed_backing_photo (PhotoRow* row, RawDeveloper d, Backin _tmp30_ = photo_metadata_get_orientation (_tmp29_); #line 660 "/home/jens/Source/shotwell/src/Photo.vala" _tmp25_ = _tmp30_; -#line 5527 "Photo.c" +#line 5528 "Photo.c" } else { #line 661 "/home/jens/Source/shotwell/src/Photo.vala" _tmp25_ = ORIENTATION_TOP_LEFT; -#line 5531 "Photo.c" +#line 5532 "Photo.c" } #line 660 "/home/jens/Source/shotwell/src/Photo.vala" _tmp31_ = bpr; @@ -5557,7 +5558,7 @@ void photo_import_developed_backing_photo (PhotoRow* row, RawDeveloper d, Backin _g_object_unref0 (file); #line 664 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 5561 "Photo.c" +#line 5562 "Photo.c" } #line 665 "/home/jens/Source/shotwell/src/Photo.vala" _tmp35_ = photo_table_get_instance (); @@ -5589,7 +5590,7 @@ void photo_import_developed_backing_photo (PhotoRow* row, RawDeveloper d, Backin _g_object_unref0 (file); #line 665 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 5593 "Photo.c" +#line 5594 "Photo.c" } #line 639 "/home/jens/Source/shotwell/src/Photo.vala" _detected_photo_information_unref0 (detected); @@ -5599,7 +5600,7 @@ void photo_import_developed_backing_photo (PhotoRow* row, RawDeveloper d, Backin _g_object_unref0 (info); #line 639 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (file); -#line 5603 "Photo.c" +#line 5604 "Photo.c" } @@ -5620,7 +5621,7 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { switch (_tmp0_) { #line 674 "/home/jens/Source/shotwell/src/Photo.vala" case RAW_DEVELOPER_SHOTWELL: -#line 5624 "Photo.c" +#line 5625 "Photo.c" { { BackingPhotoRow* _tmp1_ = NULL; @@ -5660,8 +5661,8 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _tmp1_ = _tmp6_; #line 678 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5664 "Photo.c" - goto __catch252_g_error; +#line 5665 "Photo.c" + goto __catch265_g_error; } #line 678 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = _tmp1_; @@ -5673,14 +5674,14 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { bps = _tmp7_; #line 679 "/home/jens/Source/shotwell/src/Photo.vala" pix = NULL; -#line 5677 "Photo.c" +#line 5678 "Photo.c" { PhotoBackingReaders* _tmp8_ = NULL; #line 680 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = self->priv->readers; #line 680 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 5684 "Photo.c" +#line 5685 "Photo.c" { GdkPixbuf* _tmp9_ = NULL; Scaling _tmp10_ = {0}; @@ -5694,8 +5695,8 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _tmp9_ = _tmp11_; #line 685 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5698 "Photo.c" - goto __finally253; +#line 5699 "Photo.c" + goto __finally266; } #line 685 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = _tmp9_; @@ -5707,16 +5708,16 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { pix = _tmp12_; #line 680 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp9_); -#line 5711 "Photo.c" +#line 5712 "Photo.c" } - __finally253: + __finally266: { PhotoBackingReaders* _tmp13_ = NULL; #line 680 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = self->priv->readers; #line 680 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 5720 "Photo.c" +#line 5721 "Photo.c" } #line 680 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -5724,8 +5725,8 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _g_object_unref0 (pix); #line 680 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_tmp1_); -#line 5728 "Photo.c" - goto __catch252_g_error; +#line 5729 "Photo.c" + goto __catch265_g_error; } } #line 688 "/home/jens/Source/shotwell/src/Photo.vala" @@ -5738,14 +5739,14 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _g_object_unref0 (pix); #line 690 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_tmp1_); -#line 5742 "Photo.c" +#line 5743 "Photo.c" { gboolean _tmp15_ = FALSE; #line 714 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = wrote_img_to_disk; #line 714 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp15_) { -#line 5749 "Photo.c" +#line 5750 "Photo.c" { RawDeveloper _tmp16_ = 0; BackingPhotoRow* _tmp17_ = NULL; @@ -5757,15 +5758,15 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { photo_add_backing_photo_for_development (self, _tmp16_, _tmp17_, &_inner_error_); #line 717 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5761 "Photo.c" - goto __catch254_g_error; +#line 5762 "Photo.c" + goto __catch267_g_error; } #line 719 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_raw_development_modified (self); -#line 5766 "Photo.c" +#line 5767 "Photo.c" } - goto __finally254; - __catch254_g_error: + goto __finally267; + __catch267_g_error: { GError* e = NULL; GError* _tmp18_ = NULL; @@ -5782,13 +5783,13 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { g_debug ("Photo.vala:721: Error adding backing photo as development. Message: %s", _tmp19_); #line 715 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (e); -#line 5786 "Photo.c" +#line 5787 "Photo.c" } - __finally254: + __finally267: #line 715 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5791 "Photo.c" - goto __catch252_g_error; +#line 5792 "Photo.c" + goto __catch265_g_error; } } } @@ -5796,7 +5797,7 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _backing_photo_row_unref0 (bps); #line 690 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 5800 "Photo.c" +#line 5801 "Photo.c" } #line 694 "/home/jens/Source/shotwell/src/Photo.vala" _tmp20_ = bps; @@ -5812,8 +5813,8 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _g_object_unref0 (pix); #line 694 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_tmp1_); -#line 5816 "Photo.c" - goto __catch252_g_error; +#line 5817 "Photo.c" + goto __catch265_g_error; } #line 695 "/home/jens/Source/shotwell/src/Photo.vala" _tmp23_ = writer; @@ -5829,8 +5830,8 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _g_object_unref0 (pix); #line 695 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_tmp1_); -#line 5833 "Photo.c" - goto __catch252_g_error; +#line 5834 "Photo.c" + goto __catch265_g_error; } #line 703 "/home/jens/Source/shotwell/src/Photo.vala" wrote_img_to_disk = TRUE; @@ -5846,8 +5847,8 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _g_object_unref0 (pix); #line 708 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_tmp1_); -#line 5850 "Photo.c" - goto __catch252_g_error; +#line 5851 "Photo.c" + goto __catch265_g_error; } #line 709 "/home/jens/Source/shotwell/src/Photo.vala" _tmp26_ = bps; @@ -5867,8 +5868,8 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _g_object_unref0 (pix); #line 709 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_tmp1_); -#line 5871 "Photo.c" - goto __catch252_g_error; +#line 5872 "Photo.c" + goto __catch265_g_error; } #line 710 "/home/jens/Source/shotwell/src/Photo.vala" _tmp29_ = mwriter; @@ -5888,8 +5889,8 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _g_object_unref0 (pix); #line 710 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_tmp1_); -#line 5892 "Photo.c" - goto __catch252_g_error; +#line 5893 "Photo.c" + goto __catch265_g_error; } #line 676 "/home/jens/Source/shotwell/src/Photo.vala" _photo_file_adapter_unref0 (mwriter); @@ -5901,10 +5902,10 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _g_object_unref0 (pix); #line 676 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_tmp1_); -#line 5905 "Photo.c" +#line 5906 "Photo.c" } - goto __finally252; - __catch252_g_error: + goto __finally265; + __catch265_g_error: { GError* err = NULL; GError* _tmp31_ = NULL; @@ -5921,16 +5922,16 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { g_debug ("Photo.vala:712: Error developing photo: %s", _tmp32_); #line 676 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 5925 "Photo.c" +#line 5926 "Photo.c" } - __finally252: + __finally265: { gboolean _tmp33_ = FALSE; #line 714 "/home/jens/Source/shotwell/src/Photo.vala" _tmp33_ = wrote_img_to_disk; #line 714 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp33_) { -#line 5934 "Photo.c" +#line 5935 "Photo.c" { RawDeveloper _tmp34_ = 0; BackingPhotoRow* _tmp35_ = NULL; @@ -5942,15 +5943,15 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { photo_add_backing_photo_for_development (self, _tmp34_, _tmp35_, &_inner_error_); #line 717 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5946 "Photo.c" - goto __catch255_g_error; +#line 5947 "Photo.c" + goto __catch268_g_error; } #line 719 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_raw_development_modified (self); -#line 5951 "Photo.c" +#line 5952 "Photo.c" } - goto __finally255; - __catch255_g_error: + goto __finally268; + __catch268_g_error: { GError* e = NULL; GError* _tmp36_ = NULL; @@ -5967,9 +5968,9 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { g_debug ("Photo.vala:721: Error adding backing photo as development. Message: %s", _tmp37_); #line 715 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (e); -#line 5971 "Photo.c" +#line 5972 "Photo.c" } - __finally255: + __finally268: #line 715 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 715 "/home/jens/Source/shotwell/src/Photo.vala" @@ -5980,7 +5981,7 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { g_clear_error (&_inner_error_); #line 715 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 5984 "Photo.c" +#line 5985 "Photo.c" } } } @@ -5994,23 +5995,23 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { g_clear_error (&_inner_error_); #line 676 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 5998 "Photo.c" +#line 5999 "Photo.c" } #line 727 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 6002 "Photo.c" +#line 6003 "Photo.c" } #line 674 "/home/jens/Source/shotwell/src/Photo.vala" case RAW_DEVELOPER_CAMERA: -#line 6006 "Photo.c" +#line 6007 "Photo.c" { #line 731 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 6010 "Photo.c" +#line 6011 "Photo.c" } #line 674 "/home/jens/Source/shotwell/src/Photo.vala" case RAW_DEVELOPER_EMBEDDED: -#line 6014 "Photo.c" +#line 6015 "Photo.c" { { PhotoMetadata* meta = NULL; @@ -6053,8 +6054,8 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { meta = _tmp38_; #line 736 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6057 "Photo.c" - goto __catch256_g_error; +#line 6058 "Photo.c" + goto __catch269_g_error; } #line 737 "/home/jens/Source/shotwell/src/Photo.vala" _tmp39_ = meta; @@ -6068,14 +6069,14 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { if (_tmp41_ <= ((guint) 0)) { #line 739 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (meta); -#line 6072 "Photo.c" +#line 6073 "Photo.c" { gboolean _tmp42_ = FALSE; #line 768 "/home/jens/Source/shotwell/src/Photo.vala" _tmp42_ = wrote_img_to_disk; #line 768 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp42_) { -#line 6079 "Photo.c" +#line 6080 "Photo.c" { RawDeveloper _tmp43_ = 0; BackingPhotoRow* _tmp44_ = NULL; @@ -6087,15 +6088,15 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { photo_add_backing_photo_for_development (self, _tmp43_, _tmp44_, &_inner_error_); #line 771 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6091 "Photo.c" - goto __catch257_g_error; +#line 6092 "Photo.c" + goto __catch270_g_error; } #line 773 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_raw_development_modified (self); -#line 6096 "Photo.c" +#line 6097 "Photo.c" } - goto __finally257; - __catch257_g_error: + goto __finally270; + __catch270_g_error: { GError* e = NULL; GError* _tmp45_ = NULL; @@ -6112,13 +6113,13 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { g_debug ("Photo.vala:775: Error adding backing photo as development. Message: %s", _tmp46_); #line 769 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (e); -#line 6116 "Photo.c" +#line 6117 "Photo.c" } - __finally257: + __finally270: #line 769 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6121 "Photo.c" - goto __catch256_g_error; +#line 6122 "Photo.c" + goto __catch269_g_error; } } } @@ -6126,7 +6127,7 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _backing_photo_row_unref0 (bps); #line 739 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 6130 "Photo.c" +#line 6131 "Photo.c" } #line 740 "/home/jens/Source/shotwell/src/Photo.vala" _tmp47_ = meta; @@ -6146,14 +6147,14 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _photo_preview_unref0 (prev); #line 743 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (meta); -#line 6150 "Photo.c" +#line 6151 "Photo.c" { gboolean _tmp51_ = FALSE; #line 768 "/home/jens/Source/shotwell/src/Photo.vala" _tmp51_ = wrote_img_to_disk; #line 768 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp51_) { -#line 6157 "Photo.c" +#line 6158 "Photo.c" { RawDeveloper _tmp52_ = 0; BackingPhotoRow* _tmp53_ = NULL; @@ -6165,15 +6166,15 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { photo_add_backing_photo_for_development (self, _tmp52_, _tmp53_, &_inner_error_); #line 771 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6169 "Photo.c" - goto __catch258_g_error; +#line 6170 "Photo.c" + goto __catch271_g_error; } #line 773 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_raw_development_modified (self); -#line 6174 "Photo.c" +#line 6175 "Photo.c" } - goto __finally258; - __catch258_g_error: + goto __finally271; + __catch271_g_error: { GError* e = NULL; GError* _tmp54_ = NULL; @@ -6190,13 +6191,13 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { g_debug ("Photo.vala:775: Error adding backing photo as development. Message: %s", _tmp55_); #line 769 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (e); -#line 6194 "Photo.c" +#line 6195 "Photo.c" } - __finally258: + __finally271: #line 769 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6199 "Photo.c" - goto __catch256_g_error; +#line 6200 "Photo.c" + goto __catch269_g_error; } } } @@ -6204,7 +6205,7 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _backing_photo_row_unref0 (bps); #line 743 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 6208 "Photo.c" +#line 6209 "Photo.c" } #line 746 "/home/jens/Source/shotwell/src/Photo.vala" _tmp56_ = prev; @@ -6218,8 +6219,8 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _photo_preview_unref0 (prev); #line 746 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (meta); -#line 6222 "Photo.c" - goto __catch256_g_error; +#line 6223 "Photo.c" + goto __catch269_g_error; } #line 747 "/home/jens/Source/shotwell/src/Photo.vala" _tmp58_ = pix; @@ -6233,14 +6234,14 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _photo_preview_unref0 (prev); #line 749 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (meta); -#line 6237 "Photo.c" +#line 6238 "Photo.c" { gboolean _tmp59_ = FALSE; #line 768 "/home/jens/Source/shotwell/src/Photo.vala" _tmp59_ = wrote_img_to_disk; #line 768 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp59_) { -#line 6244 "Photo.c" +#line 6245 "Photo.c" { RawDeveloper _tmp60_ = 0; BackingPhotoRow* _tmp61_ = NULL; @@ -6252,15 +6253,15 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { photo_add_backing_photo_for_development (self, _tmp60_, _tmp61_, &_inner_error_); #line 771 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6256 "Photo.c" - goto __catch259_g_error; +#line 6257 "Photo.c" + goto __catch272_g_error; } #line 773 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_raw_development_modified (self); -#line 6261 "Photo.c" +#line 6262 "Photo.c" } - goto __finally259; - __catch259_g_error: + goto __finally272; + __catch272_g_error: { GError* e = NULL; GError* _tmp62_ = NULL; @@ -6277,13 +6278,13 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { g_debug ("Photo.vala:775: Error adding backing photo as development. Message: %s", _tmp63_); #line 769 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (e); -#line 6281 "Photo.c" +#line 6282 "Photo.c" } - __finally259: + __finally272: #line 769 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6286 "Photo.c" - goto __catch256_g_error; +#line 6287 "Photo.c" + goto __catch269_g_error; } } } @@ -6291,7 +6292,7 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _backing_photo_row_unref0 (bps); #line 749 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 6295 "Photo.c" +#line 6296 "Photo.c" } #line 753 "/home/jens/Source/shotwell/src/Photo.vala" _tmp65_ = d; @@ -6313,8 +6314,8 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _photo_preview_unref0 (prev); #line 753 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (meta); -#line 6317 "Photo.c" - goto __catch256_g_error; +#line 6318 "Photo.c" + goto __catch269_g_error; } #line 753 "/home/jens/Source/shotwell/src/Photo.vala" _tmp70_ = _tmp64_; @@ -6342,8 +6343,8 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _photo_preview_unref0 (prev); #line 754 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (meta); -#line 6346 "Photo.c" - goto __catch256_g_error; +#line 6347 "Photo.c" + goto __catch269_g_error; } #line 755 "/home/jens/Source/shotwell/src/Photo.vala" _tmp74_ = writer; @@ -6363,8 +6364,8 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _photo_preview_unref0 (prev); #line 755 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (meta); -#line 6367 "Photo.c" - goto __catch256_g_error; +#line 6368 "Photo.c" + goto __catch269_g_error; } #line 759 "/home/jens/Source/shotwell/src/Photo.vala" wrote_img_to_disk = TRUE; @@ -6388,8 +6389,8 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _photo_preview_unref0 (prev); #line 762 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (meta); -#line 6392 "Photo.c" - goto __catch256_g_error; +#line 6393 "Photo.c" + goto __catch269_g_error; } #line 763 "/home/jens/Source/shotwell/src/Photo.vala" _tmp79_ = mwriter; @@ -6411,8 +6412,8 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _photo_preview_unref0 (prev); #line 763 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (meta); -#line 6415 "Photo.c" - goto __catch256_g_error; +#line 6416 "Photo.c" + goto __catch269_g_error; } #line 734 "/home/jens/Source/shotwell/src/Photo.vala" _photo_file_adapter_unref0 (mwriter); @@ -6426,10 +6427,10 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _photo_preview_unref0 (prev); #line 734 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (meta); -#line 6430 "Photo.c" +#line 6431 "Photo.c" } - goto __finally256; - __catch256_g_error: + goto __finally269; + __catch269_g_error: { GError* e = NULL; GError* _tmp81_ = NULL; @@ -6446,14 +6447,14 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { g_debug ("Photo.vala:765: Error accessing embedded preview. Message: %s", _tmp82_); #line 766 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (e); -#line 6450 "Photo.c" +#line 6451 "Photo.c" { gboolean _tmp83_ = FALSE; #line 768 "/home/jens/Source/shotwell/src/Photo.vala" _tmp83_ = wrote_img_to_disk; #line 768 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp83_) { -#line 6457 "Photo.c" +#line 6458 "Photo.c" { RawDeveloper _tmp84_ = 0; BackingPhotoRow* _tmp85_ = NULL; @@ -6465,15 +6466,15 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { photo_add_backing_photo_for_development (self, _tmp84_, _tmp85_, &_inner_error_); #line 771 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6469 "Photo.c" - goto __catch260_g_error; +#line 6470 "Photo.c" + goto __catch273_g_error; } #line 773 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_raw_development_modified (self); -#line 6474 "Photo.c" +#line 6475 "Photo.c" } - goto __finally260; - __catch260_g_error: + goto __finally273; + __catch273_g_error: { GError* e = NULL; GError* _tmp86_ = NULL; @@ -6490,14 +6491,14 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { g_debug ("Photo.vala:775: Error adding backing photo as development. Message: %s", _tmp87_); #line 769 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (e); -#line 6494 "Photo.c" +#line 6495 "Photo.c" } - __finally260: + __finally273: #line 769 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 769 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (bps); -#line 6501 "Photo.c" +#line 6502 "Photo.c" } } } @@ -6505,16 +6506,16 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { _backing_photo_row_unref0 (bps); #line 766 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 6509 "Photo.c" +#line 6510 "Photo.c" } - __finally256: + __finally269: { gboolean _tmp88_ = FALSE; #line 768 "/home/jens/Source/shotwell/src/Photo.vala" _tmp88_ = wrote_img_to_disk; #line 768 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp88_) { -#line 6518 "Photo.c" +#line 6519 "Photo.c" { RawDeveloper _tmp89_ = 0; BackingPhotoRow* _tmp90_ = NULL; @@ -6526,15 +6527,15 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { photo_add_backing_photo_for_development (self, _tmp89_, _tmp90_, &_inner_error_); #line 771 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6530 "Photo.c" - goto __catch261_g_error; +#line 6531 "Photo.c" + goto __catch274_g_error; } #line 773 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_raw_development_modified (self); -#line 6535 "Photo.c" +#line 6536 "Photo.c" } - goto __finally261; - __catch261_g_error: + goto __finally274; + __catch274_g_error: { GError* e = NULL; GError* _tmp91_ = NULL; @@ -6551,9 +6552,9 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { g_debug ("Photo.vala:775: Error adding backing photo as development. Message: %s", _tmp92_); #line 769 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (e); -#line 6555 "Photo.c" +#line 6556 "Photo.c" } - __finally261: + __finally274: #line 769 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 769 "/home/jens/Source/shotwell/src/Photo.vala" @@ -6564,7 +6565,7 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { g_clear_error (&_inner_error_); #line 769 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 6568 "Photo.c" +#line 6569 "Photo.c" } } } @@ -6578,22 +6579,22 @@ static void photo_develop_photo (Photo* self, RawDeveloper d) { g_clear_error (&_inner_error_); #line 734 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 6582 "Photo.c" +#line 6583 "Photo.c" } #line 780 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 6586 "Photo.c" +#line 6587 "Photo.c" } default: { #line 783 "/home/jens/Source/shotwell/src/Photo.vala" g_assert_not_reached (); -#line 6592 "Photo.c" +#line 6593 "Photo.c" } } #line 670 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (bps); -#line 6597 "Photo.c" +#line 6598 "Photo.c" } @@ -6601,14 +6602,14 @@ void photo_set_default_raw_developer (Photo* self, RawDeveloper d) { GError * _inner_error_ = NULL; #line 788 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail (IS_PHOTO (self)); -#line 6605 "Photo.c" +#line 6606 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 789 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 789 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 6612 "Photo.c" +#line 6613 "Photo.c" { PhotoRow* _tmp1_ = NULL; RawDeveloper _tmp2_ = 0; @@ -6618,16 +6619,16 @@ void photo_set_default_raw_developer (Photo* self, RawDeveloper d) { _tmp2_ = d; #line 790 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_->developer = _tmp2_; -#line 6622 "Photo.c" +#line 6623 "Photo.c" } - __finally262: + __finally275: { PhotoRow* _tmp3_ = NULL; #line 789 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 789 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 6631 "Photo.c" +#line 6632 "Photo.c" } #line 789 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -6637,7 +6638,7 @@ void photo_set_default_raw_developer (Photo* self, RawDeveloper d) { g_clear_error (&_inner_error_); #line 789 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 6641 "Photo.c" +#line 6642 "Photo.c" } } } @@ -6659,29 +6660,29 @@ void photo_set_raw_developer (Photo* self, RawDeveloper d) { if (_tmp0_ != PHOTO_FILE_FORMAT_RAW) { #line 797 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 6663 "Photo.c" +#line 6664 "Photo.c" } #line 802 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = photo_is_raw_developer_available (self, RAW_DEVELOPER_CAMERA); #line 802 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_) { -#line 6669 "Photo.c" +#line 6670 "Photo.c" RawDeveloper _tmp3_ = 0; #line 802 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = d; #line 802 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = _tmp3_ == RAW_DEVELOPER_EMBEDDED; -#line 6675 "Photo.c" +#line 6676 "Photo.c" } else { #line 802 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = FALSE; -#line 6679 "Photo.c" +#line 6680 "Photo.c" } #line 802 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_) { #line 803 "/home/jens/Source/shotwell/src/Photo.vala" d = RAW_DEVELOPER_CAMERA; -#line 6685 "Photo.c" +#line 6686 "Photo.c" } #line 807 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = photo_is_raw_developer_available (self, RAW_DEVELOPER_EMBEDDED); @@ -6689,7 +6690,7 @@ void photo_set_raw_developer (Photo* self, RawDeveloper d) { if (!_tmp4_) { #line 808 "/home/jens/Source/shotwell/src/Photo.vala" d = RAW_DEVELOPER_SHOTWELL; -#line 6693 "Photo.c" +#line 6694 "Photo.c" } { GeeHashMap* _tmp5_ = NULL; @@ -6697,7 +6698,7 @@ void photo_set_raw_developer (Photo* self, RawDeveloper d) { _tmp5_ = self->priv->developments; #line 810 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_developments); -#line 6701 "Photo.c" +#line 6702 "Photo.c" { RawDeveloper stale_raw_developer = 0; PhotoRow* _tmp6_ = NULL; @@ -6734,13 +6735,13 @@ void photo_set_raw_developer (Photo* self, RawDeveloper d) { _tmp9_ = photo_is_raw_developer_complete (self, _tmp8_); #line 814 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp9_) { -#line 6738 "Photo.c" +#line 6739 "Photo.c" RawDeveloper _tmp10_ = 0; #line 815 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = d; #line 815 "/home/jens/Source/shotwell/src/Photo.vala" photo_develop_photo (self, _tmp10_); -#line 6744 "Photo.c" +#line 6745 "Photo.c" { GdkPixbuf* _tmp11_ = NULL; GdkPixbuf* _tmp12_ = NULL; @@ -6752,12 +6753,12 @@ void photo_set_raw_developer (Photo* self, RawDeveloper d) { _g_object_unref0 (_tmp12_); #line 817 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6756 "Photo.c" - goto __catch264_g_error; +#line 6757 "Photo.c" + goto __catch277_g_error; } } - goto __finally264; - __catch264_g_error: + goto __finally277; + __catch277_g_error: { GError* e = NULL; #line 816 "/home/jens/Source/shotwell/src/Photo.vala" @@ -6766,30 +6767,30 @@ void photo_set_raw_developer (Photo* self, RawDeveloper d) { _inner_error_ = NULL; #line 820 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (e); -#line 6770 "Photo.c" +#line 6771 "Photo.c" { GeeHashMap* _tmp13_ = NULL; #line 810 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = self->priv->developments; #line 810 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_developments); -#line 6777 "Photo.c" +#line 6778 "Photo.c" } #line 820 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 6781 "Photo.c" +#line 6782 "Photo.c" } - __finally264: + __finally277: #line 816 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6786 "Photo.c" +#line 6787 "Photo.c" { GeeHashMap* _tmp14_ = NULL; #line 810 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = self->priv->developments; #line 810 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_developments); -#line 6793 "Photo.c" +#line 6794 "Photo.c" } #line 816 "/home/jens/Source/shotwell/src/Photo.vala" 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); @@ -6797,7 +6798,7 @@ void photo_set_raw_developer (Photo* self, RawDeveloper d) { g_clear_error (&_inner_error_); #line 816 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 6801 "Photo.c" +#line 6802 "Photo.c" } } #line 823 "/home/jens/Source/shotwell/src/Photo.vala" @@ -6808,18 +6809,18 @@ void photo_set_raw_developer (Photo* self, RawDeveloper d) { _tmp17_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) _tmp16_)); #line 823 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp17_) { -#line 6812 "Photo.c" +#line 6813 "Photo.c" { GeeHashMap* _tmp18_ = NULL; #line 810 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = self->priv->developments; #line 810 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_developments); -#line 6819 "Photo.c" +#line 6820 "Photo.c" } #line 824 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 6823 "Photo.c" +#line 6824 "Photo.c" } #line 827 "/home/jens/Source/shotwell/src/Photo.vala" photo_revert_to_master (self, FALSE); @@ -6861,7 +6862,7 @@ void photo_set_raw_developer (Photo* self, RawDeveloper d) { _tmp31_ = _tmp30_->original_orientation; #line 834 "/home/jens/Source/shotwell/src/Photo.vala" photo_set_orientation (self, _tmp31_); -#line 6865 "Photo.c" +#line 6866 "Photo.c" { PhotoTable* _tmp32_ = NULL; PhotoTable* _tmp33_ = NULL; @@ -6887,12 +6888,12 @@ void photo_set_raw_developer (Photo* self, RawDeveloper d) { _database_table_unref0 (_tmp33_); #line 837 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6891 "Photo.c" - goto __catch265_g_error; +#line 6892 "Photo.c" + goto __catch278_g_error; } } - goto __finally265; - __catch265_g_error: + goto __finally278; + __catch278_g_error: { GError* e = NULL; GError* _tmp38_ = NULL; @@ -6909,19 +6910,19 @@ void photo_set_raw_developer (Photo* self, RawDeveloper d) { g_warning ("Photo.vala:839: Error updating database: %s", _tmp39_); #line 836 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (e); -#line 6913 "Photo.c" +#line 6914 "Photo.c" } - __finally265: + __finally278: #line 836 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6918 "Photo.c" +#line 6919 "Photo.c" { GeeHashMap* _tmp40_ = NULL; #line 810 "/home/jens/Source/shotwell/src/Photo.vala" _tmp40_ = self->priv->developments; #line 810 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_developments); -#line 6925 "Photo.c" +#line 6926 "Photo.c" } #line 836 "/home/jens/Source/shotwell/src/Photo.vala" 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); @@ -6929,13 +6930,13 @@ void photo_set_raw_developer (Photo* self, RawDeveloper d) { g_clear_error (&_inner_error_); #line 836 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 6933 "Photo.c" +#line 6934 "Photo.c" } #line 846 "/home/jens/Source/shotwell/src/Photo.vala" _tmp42_ = stale_raw_developer; #line 846 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp42_ != RAW_DEVELOPER_CAMERA) { -#line 6939 "Photo.c" +#line 6940 "Photo.c" RawDeveloper _tmp43_ = 0; PhotoRow* _tmp44_ = NULL; RawDeveloper _tmp45_ = 0; @@ -6947,31 +6948,31 @@ void photo_set_raw_developer (Photo* self, RawDeveloper d) { _tmp45_ = _tmp44_->developer; #line 847 "/home/jens/Source/shotwell/src/Photo.vala" _tmp41_ = _tmp43_ != _tmp45_; -#line 6951 "Photo.c" +#line 6952 "Photo.c" } else { #line 846 "/home/jens/Source/shotwell/src/Photo.vala" _tmp41_ = FALSE; -#line 6955 "Photo.c" +#line 6956 "Photo.c" } #line 846 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp41_) { -#line 6959 "Photo.c" +#line 6960 "Photo.c" RawDeveloper _tmp46_ = 0; #line 850 "/home/jens/Source/shotwell/src/Photo.vala" _tmp46_ = stale_raw_developer; #line 850 "/home/jens/Source/shotwell/src/Photo.vala" photo_delete_raw_development (self, _tmp46_); -#line 6965 "Photo.c" +#line 6966 "Photo.c" } } - __finally263: + __finally276: { GeeHashMap* _tmp47_ = NULL; #line 810 "/home/jens/Source/shotwell/src/Photo.vala" _tmp47_ = self->priv->developments; #line 810 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_developments); -#line 6975 "Photo.c" +#line 6976 "Photo.c" } #line 810 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -6981,7 +6982,7 @@ void photo_set_raw_developer (Photo* self, RawDeveloper d) { g_clear_error (&_inner_error_); #line 810 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 6985 "Photo.c" +#line 6986 "Photo.c" } } #line 857 "/home/jens/Source/shotwell/src/Photo.vala" @@ -6994,7 +6995,7 @@ void photo_set_raw_developer (Photo* self, RawDeveloper d) { _alteration_unref0 (_tmp49_); #line 858 "/home/jens/Source/shotwell/src/Photo.vala" photo_discard_prefetched (self); -#line 6998 "Photo.c" +#line 6999 "Photo.c" } @@ -7012,7 +7013,7 @@ RawDeveloper photo_get_raw_developer (Photo* self) { result = _tmp1_; #line 862 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 7016 "Photo.c" +#line 7017 "Photo.c" } @@ -7024,14 +7025,14 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { g_return_val_if_fail (IS_PHOTO (self), FALSE); #line 868 "/home/jens/Source/shotwell/src/Photo.vala" ret = FALSE; -#line 7028 "Photo.c" +#line 7029 "Photo.c" { GeeHashMap* _tmp0_ = NULL; #line 870 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->developments; #line 870 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_developments); -#line 7035 "Photo.c" +#line 7036 "Photo.c" { GeeHashMap* _tmp1_ = NULL; RawDeveloper _tmp2_ = 0; @@ -7060,18 +7061,18 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { if (!_tmp3_) { #line 872 "/home/jens/Source/shotwell/src/Photo.vala" result = FALSE; -#line 7064 "Photo.c" +#line 7065 "Photo.c" { GeeHashMap* _tmp4_ = NULL; #line 870 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->priv->developments; #line 870 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_developments); -#line 7071 "Photo.c" +#line 7072 "Photo.c" } #line 872 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 7075 "Photo.c" +#line 7076 "Photo.c" } #line 876 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject)); @@ -7103,7 +7104,7 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { _tmp14_ = _tmp13_->filepath; #line 878 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp14_ != NULL) { -#line 7107 "Photo.c" +#line 7108 "Photo.c" GFile* f = NULL; BackingPhotoRow* _tmp15_ = NULL; const gchar* _tmp16_ = NULL; @@ -7116,14 +7117,14 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { _tmp17_ = g_file_new_for_path (_tmp16_); #line 879 "/home/jens/Source/shotwell/src/Photo.vala" f = _tmp17_; -#line 7120 "Photo.c" +#line 7121 "Photo.c" { RawDeveloper _tmp18_ = 0; #line 881 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = d; #line 881 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp18_ == RAW_DEVELOPER_CAMERA) { -#line 7127 "Photo.c" +#line 7128 "Photo.c" GFile* _tmp19_ = NULL; #line 882 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = f; @@ -7131,8 +7132,8 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { g_file_trash (_tmp19_, NULL, &_inner_error_); #line 882 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 7135 "Photo.c" - goto __catch267_g_error; +#line 7136 "Photo.c" + goto __catch280_g_error; } } else { GFile* _tmp20_ = NULL; @@ -7142,13 +7143,13 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { g_file_delete (_tmp20_, NULL, &_inner_error_); #line 884 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 7146 "Photo.c" - goto __catch267_g_error; +#line 7147 "Photo.c" + goto __catch280_g_error; } } } - goto __finally267; - __catch267_g_error: + goto __finally280; + __catch280_g_error: { GError* e = NULL; BackingPhotoRow* _tmp21_ = NULL; @@ -7171,9 +7172,9 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { g_warning ("Photo.vala:886: Unable to delete RAW development: %s error: %s", _tmp22_, _tmp24_); #line 880 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (e); -#line 7175 "Photo.c" +#line 7176 "Photo.c" } - __finally267: + __finally280: #line 880 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 880 "/home/jens/Source/shotwell/src/Photo.vala" @@ -7184,14 +7185,14 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { _g_object_unref0 (f); #line 880 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (bpr); -#line 7188 "Photo.c" +#line 7189 "Photo.c" { GeeHashMap* _tmp25_ = NULL; #line 870 "/home/jens/Source/shotwell/src/Photo.vala" _tmp25_ = self->priv->developments; #line 870 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_developments); -#line 7195 "Photo.c" +#line 7196 "Photo.c" } #line 880 "/home/jens/Source/shotwell/src/Photo.vala" 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); @@ -7199,11 +7200,11 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { g_clear_error (&_inner_error_); #line 880 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 7203 "Photo.c" +#line 7204 "Photo.c" } #line 878 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (f); -#line 7207 "Photo.c" +#line 7208 "Photo.c" } { PhotoTable* _tmp26_ = NULL; @@ -7228,8 +7229,8 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { _database_table_unref0 (_tmp27_); #line 892 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 7232 "Photo.c" - goto __catch268_g_error; +#line 7233 "Photo.c" + goto __catch281_g_error; } #line 893 "/home/jens/Source/shotwell/src/Photo.vala" _tmp30_ = backing_photo_table_get_instance (); @@ -7245,12 +7246,12 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { _database_table_unref0 (_tmp31_); #line 893 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 7249 "Photo.c" - goto __catch268_g_error; +#line 7250 "Photo.c" + goto __catch281_g_error; } } - goto __finally268; - __catch268_g_error: + goto __finally281; + __catch281_g_error: { GError* e = NULL; GError* _tmp34_ = NULL; @@ -7267,23 +7268,23 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { g_warning ("Photo.vala:895: Database error while deleting RAW development: %s", _tmp35_); #line 891 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (e); -#line 7271 "Photo.c" +#line 7272 "Photo.c" } - __finally268: + __finally281: #line 891 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 891 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (bpr); #line 891 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (bpr); -#line 7280 "Photo.c" +#line 7281 "Photo.c" { GeeHashMap* _tmp36_ = NULL; #line 870 "/home/jens/Source/shotwell/src/Photo.vala" _tmp36_ = self->priv->developments; #line 870 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_developments); -#line 7287 "Photo.c" +#line 7288 "Photo.c" } #line 891 "/home/jens/Source/shotwell/src/Photo.vala" 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); @@ -7291,7 +7292,7 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { g_clear_error (&_inner_error_); #line 891 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 7295 "Photo.c" +#line 7296 "Photo.c" } #line 898 "/home/jens/Source/shotwell/src/Photo.vala" _tmp37_ = self->priv->developments; @@ -7303,16 +7304,16 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { ret = _tmp39_; #line 870 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (bpr); -#line 7307 "Photo.c" +#line 7308 "Photo.c" } - __finally266: + __finally279: { GeeHashMap* _tmp40_ = NULL; #line 870 "/home/jens/Source/shotwell/src/Photo.vala" _tmp40_ = self->priv->developments; #line 870 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_developments); -#line 7316 "Photo.c" +#line 7317 "Photo.c" } #line 870 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -7322,7 +7323,7 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { g_clear_error (&_inner_error_); #line 870 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 7326 "Photo.c" +#line 7327 "Photo.c" } } #line 901 "/home/jens/Source/shotwell/src/Photo.vala" @@ -7331,7 +7332,7 @@ static gboolean photo_delete_raw_development (Photo* self, RawDeveloper d) { result = ret; #line 902 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 7335 "Photo.c" +#line 7336 "Photo.c" } @@ -7339,14 +7340,14 @@ void photo_redevelop_raw (Photo* self, RawDeveloper d) { GError * _inner_error_ = NULL; #line 906 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail (IS_PHOTO (self)); -#line 7343 "Photo.c" +#line 7344 "Photo.c" { GeeHashMap* _tmp0_ = NULL; #line 907 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->developments; #line 907 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_developments); -#line 7350 "Photo.c" +#line 7351 "Photo.c" { RawDeveloper _tmp1_ = 0; RawDeveloper dev = 0; @@ -7367,22 +7368,22 @@ void photo_redevelop_raw (Photo* self, RawDeveloper d) { if (_tmp3_ == RAW_DEVELOPER_CAMERA) { #line 911 "/home/jens/Source/shotwell/src/Photo.vala" dev = RAW_DEVELOPER_EMBEDDED; -#line 7371 "Photo.c" +#line 7372 "Photo.c" } #line 913 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = dev; #line 913 "/home/jens/Source/shotwell/src/Photo.vala" photo_set_raw_developer (self, _tmp4_); -#line 7377 "Photo.c" +#line 7378 "Photo.c" } - __finally269: + __finally282: { GeeHashMap* _tmp5_ = NULL; #line 907 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->priv->developments; #line 907 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_developments); -#line 7386 "Photo.c" +#line 7387 "Photo.c" } #line 907 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -7392,7 +7393,7 @@ void photo_redevelop_raw (Photo* self, RawDeveloper d) { g_clear_error (&_inner_error_); #line 907 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 7396 "Photo.c" +#line 7397 "Photo.c" } } } @@ -7405,13 +7406,13 @@ static void _vala_array_add251 (BackingFileState*** array, int* length, int* siz *size = (*size) ? (2 * (*size)) : 4; #line 920 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (BackingFileState*, *array, (*size) + 1); -#line 7409 "Photo.c" +#line 7410 "Photo.c" } #line 920 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 920 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 7415 "Photo.c" +#line 7416 "Photo.c" } @@ -7422,13 +7423,13 @@ static void _vala_array_add252 (BackingFileState*** array, int* length, int* siz *size = (*size) ? (2 * (*size)) : 4; #line 922 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (BackingFileState*, *array, (*size) + 1); -#line 7426 "Photo.c" +#line 7427 "Photo.c" } #line 922 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 922 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 7432 "Photo.c" +#line 7433 "Photo.c" } @@ -7439,13 +7440,13 @@ static void _vala_array_add253 (BackingFileState*** array, int* length, int* siz *size = (*size) ? (2 * (*size)) : 4; #line 929 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (BackingFileState*, *array, (*size) + 1); -#line 7443 "Photo.c" +#line 7444 "Photo.c" } #line 929 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 929 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 7449 "Photo.c" +#line 7450 "Photo.c" } @@ -7469,14 +7470,14 @@ static BackingFileState** photo_real_get_backing_files_state (MediaSource* base, backing_length1 = 0; #line 918 "/home/jens/Source/shotwell/src/Photo.vala" _backing_size_ = backing_length1; -#line 7473 "Photo.c" +#line 7474 "Photo.c" { PhotoRow* _tmp1_ = NULL; #line 919 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = self->row; #line 919 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 7480 "Photo.c" +#line 7481 "Photo.c" { BackingFileState** _tmp2_ = NULL; gint _tmp2__length1 = 0; @@ -7507,7 +7508,7 @@ static BackingFileState** photo_real_get_backing_files_state (MediaSource* base, _tmp8_ = photo_has_editable (self); #line 921 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp8_) { -#line 7511 "Photo.c" +#line 7512 "Photo.c" BackingFileState** _tmp9_ = NULL; gint _tmp9__length1 = 0; BackingPhotoRow* _tmp10_ = NULL; @@ -7522,13 +7523,13 @@ static BackingFileState** photo_real_get_backing_files_state (MediaSource* base, _tmp11_ = backing_file_state_new_from_photo_row (_tmp10_, NULL); #line 922 "/home/jens/Source/shotwell/src/Photo.vala" _vala_array_add252 (&backing, &backing_length1, &_backing_size_, _tmp11_); -#line 7526 "Photo.c" +#line 7527 "Photo.c" } #line 924 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = photo_is_developed (self); #line 924 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp12_) { -#line 7532 "Photo.c" +#line 7533 "Photo.c" GeeCollection* dev_rows = NULL; GeeCollection* _tmp13_ = NULL; GeeCollection* _tmp14_ = NULL; @@ -7540,7 +7541,7 @@ static BackingFileState** photo_real_get_backing_files_state (MediaSource* base, _tmp14_ = dev_rows; #line 926 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp14_ != NULL) { -#line 7544 "Photo.c" +#line 7545 "Photo.c" { GeeIterator* _r_it = NULL; GeeCollection* _tmp15_ = NULL; @@ -7553,7 +7554,7 @@ static BackingFileState** photo_real_get_backing_files_state (MediaSource* base, _r_it = _tmp16_; #line 927 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 7557 "Photo.c" +#line 7558 "Photo.c" GeeIterator* _tmp17_ = NULL; gboolean _tmp18_ = FALSE; BackingPhotoRow* r = NULL; @@ -7573,7 +7574,7 @@ static BackingFileState** photo_real_get_backing_files_state (MediaSource* base, if (!_tmp18_) { #line 927 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 7577 "Photo.c" +#line 7578 "Photo.c" } #line 927 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = _r_it; @@ -7599,26 +7600,26 @@ static BackingFileState** photo_real_get_backing_files_state (MediaSource* base, _vala_array_add253 (&backing, &backing_length1, &_backing_size_, _tmp25_); #line 927 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (r); -#line 7603 "Photo.c" +#line 7604 "Photo.c" } #line 927 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_r_it); -#line 7607 "Photo.c" +#line 7608 "Photo.c" } } #line 924 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (dev_rows); -#line 7612 "Photo.c" +#line 7613 "Photo.c" } } - __finally270: + __finally283: { PhotoRow* _tmp26_ = NULL; #line 919 "/home/jens/Source/shotwell/src/Photo.vala" _tmp26_ = self->row; #line 919 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 7622 "Photo.c" +#line 7623 "Photo.c" } #line 919 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -7630,7 +7631,7 @@ static BackingFileState** photo_real_get_backing_files_state (MediaSource* base, g_clear_error (&_inner_error_); #line 919 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 7634 "Photo.c" +#line 7635 "Photo.c" } } #line 935 "/home/jens/Source/shotwell/src/Photo.vala" @@ -7641,13 +7642,13 @@ static BackingFileState** photo_real_get_backing_files_state (MediaSource* base, if (result_length1) { #line 935 "/home/jens/Source/shotwell/src/Photo.vala" *result_length1 = _tmp27__length1; -#line 7645 "Photo.c" +#line 7646 "Photo.c" } #line 935 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp27_; #line 935 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 7651 "Photo.c" +#line 7652 "Photo.c" } @@ -7662,7 +7663,7 @@ static PhotoFileReader* photo_get_backing_reader (Photo* self, BackingFetchMode switch (_tmp0_) { #line 939 "/home/jens/Source/shotwell/src/Photo.vala" case BACKING_FETCH_MODE_MASTER: -#line 7666 "Photo.c" +#line 7667 "Photo.c" { PhotoFileReader* _tmp1_ = NULL; #line 941 "/home/jens/Source/shotwell/src/Photo.vala" @@ -7671,11 +7672,11 @@ static PhotoFileReader* photo_get_backing_reader (Photo* self, BackingFetchMode result = _tmp1_; #line 941 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 7675 "Photo.c" +#line 7676 "Photo.c" } #line 939 "/home/jens/Source/shotwell/src/Photo.vala" case BACKING_FETCH_MODE_BASELINE: -#line 7679 "Photo.c" +#line 7680 "Photo.c" { PhotoFileReader* _tmp2_ = NULL; #line 944 "/home/jens/Source/shotwell/src/Photo.vala" @@ -7684,11 +7685,11 @@ static PhotoFileReader* photo_get_backing_reader (Photo* self, BackingFetchMode result = _tmp2_; #line 944 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 7688 "Photo.c" +#line 7689 "Photo.c" } #line 939 "/home/jens/Source/shotwell/src/Photo.vala" case BACKING_FETCH_MODE_SOURCE: -#line 7692 "Photo.c" +#line 7693 "Photo.c" { PhotoFileReader* _tmp3_ = NULL; #line 947 "/home/jens/Source/shotwell/src/Photo.vala" @@ -7697,18 +7698,18 @@ static PhotoFileReader* photo_get_backing_reader (Photo* self, BackingFetchMode result = _tmp3_; #line 947 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 7701 "Photo.c" +#line 7702 "Photo.c" } #line 939 "/home/jens/Source/shotwell/src/Photo.vala" case BACKING_FETCH_MODE_UNMODIFIED: -#line 7705 "Photo.c" +#line 7706 "Photo.c" { PhotoFileFormat _tmp4_ = 0; #line 950 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = photo_get_master_file_format (self); #line 950 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp4_ == PHOTO_FILE_FORMAT_RAW) { -#line 7712 "Photo.c" +#line 7713 "Photo.c" PhotoFileReader* _tmp5_ = NULL; #line 951 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = photo_get_raw_developer_reader (self); @@ -7716,7 +7717,7 @@ static PhotoFileReader* photo_get_backing_reader (Photo* self, BackingFetchMode result = _tmp5_; #line 951 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 7720 "Photo.c" +#line 7721 "Photo.c" } else { PhotoFileReader* _tmp6_ = NULL; #line 953 "/home/jens/Source/shotwell/src/Photo.vala" @@ -7725,7 +7726,7 @@ static PhotoFileReader* photo_get_backing_reader (Photo* self, BackingFetchMode result = _tmp6_; #line 953 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 7729 "Photo.c" +#line 7730 "Photo.c" } } default: @@ -7738,7 +7739,7 @@ static PhotoFileReader* photo_get_backing_reader (Photo* self, BackingFetchMode _tmp8_ = g_enum_get_value (g_type_class_ref (TYPE_BACKING_FETCH_MODE), _tmp7_); #line 956 "/home/jens/Source/shotwell/src/Photo.vala" g_error ("Photo.vala:956: Unknown backing fetch mode %s", (_tmp8_ != NULL) ? _tmp8_->value_name : NULL); -#line 7742 "Photo.c" +#line 7743 "Photo.c" } } } @@ -7747,7 +7748,7 @@ static PhotoFileReader* photo_get_backing_reader (Photo* self, BackingFetchMode static gpointer _photo_file_adapter_ref0 (gpointer self) { #line 962 "/home/jens/Source/shotwell/src/Photo.vala" return self ? photo_file_adapter_ref (self) : NULL; -#line 7751 "Photo.c" +#line 7752 "Photo.c" } @@ -7756,14 +7757,14 @@ static PhotoFileReader* photo_get_master_reader (Photo* self) { GError * _inner_error_ = NULL; #line 960 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), NULL); -#line 7760 "Photo.c" +#line 7761 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 961 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 961 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 7767 "Photo.c" +#line 7768 "Photo.c" { PhotoBackingReaders* _tmp1_ = NULL; PhotoFileReader* _tmp2_ = NULL; @@ -7776,27 +7777,27 @@ static PhotoFileReader* photo_get_master_reader (Photo* self) { _tmp3_ = _photo_file_adapter_ref0 (_tmp2_); #line 962 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp3_; -#line 7780 "Photo.c" +#line 7781 "Photo.c" { PhotoBackingReaders* _tmp4_ = NULL; #line 961 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->priv->readers; #line 961 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 7787 "Photo.c" +#line 7788 "Photo.c" } #line 962 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 7791 "Photo.c" +#line 7792 "Photo.c" } - __finally271: + __finally284: { PhotoBackingReaders* _tmp5_ = NULL; #line 961 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->priv->readers; #line 961 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 7800 "Photo.c" +#line 7801 "Photo.c" } #line 961 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -7804,7 +7805,7 @@ static PhotoFileReader* photo_get_master_reader (Photo* self) { g_clear_error (&_inner_error_); #line 961 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 7808 "Photo.c" +#line 7809 "Photo.c" } } @@ -7814,14 +7815,14 @@ PhotoFileReader* photo_get_editable_reader (Photo* self) { GError * _inner_error_ = NULL; #line 966 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), NULL); -#line 7818 "Photo.c" +#line 7819 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 967 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 967 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 7825 "Photo.c" +#line 7826 "Photo.c" { PhotoBackingReaders* _tmp1_ = NULL; PhotoFileReader* _tmp2_ = NULL; @@ -7834,27 +7835,27 @@ PhotoFileReader* photo_get_editable_reader (Photo* self) { _tmp3_ = _photo_file_adapter_ref0 (_tmp2_); #line 968 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp3_; -#line 7838 "Photo.c" +#line 7839 "Photo.c" { PhotoBackingReaders* _tmp4_ = NULL; #line 967 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->priv->readers; #line 967 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 7845 "Photo.c" +#line 7846 "Photo.c" } #line 968 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 7849 "Photo.c" +#line 7850 "Photo.c" } - __finally272: + __finally285: { PhotoBackingReaders* _tmp5_ = NULL; #line 967 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->priv->readers; #line 967 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 7858 "Photo.c" +#line 7859 "Photo.c" } #line 967 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -7862,7 +7863,7 @@ PhotoFileReader* photo_get_editable_reader (Photo* self) { g_clear_error (&_inner_error_); #line 967 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 7866 "Photo.c" +#line 7867 "Photo.c" } } @@ -7872,14 +7873,14 @@ static PhotoFileReader* photo_get_baseline_reader (Photo* self) { GError * _inner_error_ = NULL; #line 973 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), NULL); -#line 7876 "Photo.c" +#line 7877 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 974 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 974 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 7883 "Photo.c" +#line 7884 "Photo.c" { PhotoBackingReaders* _tmp1_ = NULL; PhotoFileReader* _tmp2_ = NULL; @@ -7894,7 +7895,7 @@ static PhotoFileReader* photo_get_baseline_reader (Photo* self) { _tmp2_ = _tmp1_->editable; #line 975 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != NULL) { -#line 7898 "Photo.c" +#line 7899 "Photo.c" PhotoBackingReaders* _tmp3_ = NULL; PhotoFileReader* _tmp4_ = NULL; PhotoFileReader* _tmp5_ = NULL; @@ -7906,18 +7907,18 @@ static PhotoFileReader* photo_get_baseline_reader (Photo* self) { _tmp5_ = _photo_file_adapter_ref0 (_tmp4_); #line 976 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp5_; -#line 7910 "Photo.c" +#line 7911 "Photo.c" { PhotoBackingReaders* _tmp6_ = NULL; #line 974 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = self->priv->readers; #line 974 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 7917 "Photo.c" +#line 7918 "Photo.c" } #line 976 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 7921 "Photo.c" +#line 7922 "Photo.c" } #line 978 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = self->priv->readers; @@ -7925,7 +7926,7 @@ static PhotoFileReader* photo_get_baseline_reader (Photo* self) { _tmp8_ = _tmp7_->developer; #line 978 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp8_ != NULL) { -#line 7929 "Photo.c" +#line 7930 "Photo.c" PhotoBackingReaders* _tmp9_ = NULL; PhotoFileReader* _tmp10_ = NULL; PhotoFileReader* _tmp11_ = NULL; @@ -7937,18 +7938,18 @@ static PhotoFileReader* photo_get_baseline_reader (Photo* self) { _tmp11_ = _photo_file_adapter_ref0 (_tmp10_); #line 979 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp11_; -#line 7941 "Photo.c" +#line 7942 "Photo.c" { PhotoBackingReaders* _tmp12_ = NULL; #line 974 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = self->priv->readers; #line 974 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 7948 "Photo.c" +#line 7949 "Photo.c" } #line 979 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 7952 "Photo.c" +#line 7953 "Photo.c" } #line 981 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = self->priv->readers; @@ -7958,27 +7959,27 @@ static PhotoFileReader* photo_get_baseline_reader (Photo* self) { _tmp15_ = _photo_file_adapter_ref0 (_tmp14_); #line 981 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp15_; -#line 7962 "Photo.c" +#line 7963 "Photo.c" { PhotoBackingReaders* _tmp16_ = NULL; #line 974 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = self->priv->readers; #line 974 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 7969 "Photo.c" +#line 7970 "Photo.c" } #line 981 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 7973 "Photo.c" +#line 7974 "Photo.c" } - __finally273: + __finally286: { PhotoBackingReaders* _tmp17_ = NULL; #line 974 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = self->priv->readers; #line 974 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 7982 "Photo.c" +#line 7983 "Photo.c" } #line 974 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -7986,7 +7987,7 @@ static PhotoFileReader* photo_get_baseline_reader (Photo* self) { g_clear_error (&_inner_error_); #line 974 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 7990 "Photo.c" +#line 7991 "Photo.c" } } @@ -7996,14 +7997,14 @@ static PhotoFileReader* photo_get_source_reader (Photo* self) { GError * _inner_error_ = NULL; #line 986 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), NULL); -#line 8000 "Photo.c" +#line 8001 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 987 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 987 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 8007 "Photo.c" +#line 8008 "Photo.c" { PhotoBackingReaders* _tmp1_ = NULL; PhotoFileReader* _tmp2_ = NULL; @@ -8018,7 +8019,7 @@ static PhotoFileReader* photo_get_source_reader (Photo* self) { _tmp2_ = _tmp1_->editable; #line 988 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != NULL) { -#line 8022 "Photo.c" +#line 8023 "Photo.c" PhotoBackingReaders* _tmp3_ = NULL; PhotoFileReader* _tmp4_ = NULL; PhotoFileReader* _tmp5_ = NULL; @@ -8030,18 +8031,18 @@ static PhotoFileReader* photo_get_source_reader (Photo* self) { _tmp5_ = _photo_file_adapter_ref0 (_tmp4_); #line 989 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp5_; -#line 8034 "Photo.c" +#line 8035 "Photo.c" { PhotoBackingReaders* _tmp6_ = NULL; #line 987 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = self->priv->readers; #line 987 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8041 "Photo.c" +#line 8042 "Photo.c" } #line 989 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8045 "Photo.c" +#line 8046 "Photo.c" } #line 991 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = self->priv->readers; @@ -8049,7 +8050,7 @@ static PhotoFileReader* photo_get_source_reader (Photo* self) { _tmp8_ = _tmp7_->developer; #line 991 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp8_ != NULL) { -#line 8053 "Photo.c" +#line 8054 "Photo.c" PhotoBackingReaders* _tmp9_ = NULL; PhotoFileReader* _tmp10_ = NULL; PhotoFileReader* _tmp11_ = NULL; @@ -8061,18 +8062,18 @@ static PhotoFileReader* photo_get_source_reader (Photo* self) { _tmp11_ = _photo_file_adapter_ref0 (_tmp10_); #line 992 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp11_; -#line 8065 "Photo.c" +#line 8066 "Photo.c" { PhotoBackingReaders* _tmp12_ = NULL; #line 987 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = self->priv->readers; #line 987 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8072 "Photo.c" +#line 8073 "Photo.c" } #line 992 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8076 "Photo.c" +#line 8077 "Photo.c" } #line 994 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = self->priv->readers; @@ -8082,27 +8083,27 @@ static PhotoFileReader* photo_get_source_reader (Photo* self) { _tmp15_ = _photo_file_adapter_ref0 (_tmp14_); #line 994 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp15_; -#line 8086 "Photo.c" +#line 8087 "Photo.c" { PhotoBackingReaders* _tmp16_ = NULL; #line 987 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = self->priv->readers; #line 987 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8093 "Photo.c" +#line 8094 "Photo.c" } #line 994 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8097 "Photo.c" +#line 8098 "Photo.c" } - __finally274: + __finally287: { PhotoBackingReaders* _tmp17_ = NULL; #line 987 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = self->priv->readers; #line 987 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8106 "Photo.c" +#line 8107 "Photo.c" } #line 987 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -8110,7 +8111,7 @@ static PhotoFileReader* photo_get_source_reader (Photo* self) { g_clear_error (&_inner_error_); #line 987 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 8114 "Photo.c" +#line 8115 "Photo.c" } } @@ -8120,14 +8121,14 @@ static PhotoFileReader* photo_get_raw_developer_reader (Photo* self) { GError * _inner_error_ = NULL; #line 999 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), NULL); -#line 8124 "Photo.c" +#line 8125 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 1000 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 1000 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 8131 "Photo.c" +#line 8132 "Photo.c" { PhotoBackingReaders* _tmp1_ = NULL; PhotoFileReader* _tmp2_ = NULL; @@ -8140,27 +8141,27 @@ static PhotoFileReader* photo_get_raw_developer_reader (Photo* self) { _tmp3_ = _photo_file_adapter_ref0 (_tmp2_); #line 1001 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp3_; -#line 8144 "Photo.c" +#line 8145 "Photo.c" { PhotoBackingReaders* _tmp4_ = NULL; #line 1000 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->priv->readers; #line 1000 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8151 "Photo.c" +#line 8152 "Photo.c" } #line 1001 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8155 "Photo.c" +#line 8156 "Photo.c" } - __finally275: + __finally288: { PhotoBackingReaders* _tmp5_ = NULL; #line 1000 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->priv->readers; #line 1000 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8164 "Photo.c" +#line 8165 "Photo.c" } #line 1000 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -8168,7 +8169,7 @@ static PhotoFileReader* photo_get_raw_developer_reader (Photo* self) { g_clear_error (&_inner_error_); #line 1000 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 8172 "Photo.c" +#line 8173 "Photo.c" } } @@ -8178,14 +8179,14 @@ gboolean photo_is_developed (Photo* self) { GError * _inner_error_ = NULL; #line 1005 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), FALSE); -#line 8182 "Photo.c" +#line 8183 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 1006 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 1006 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 8189 "Photo.c" +#line 8190 "Photo.c" { PhotoBackingReaders* _tmp1_ = NULL; PhotoFileReader* _tmp2_ = NULL; @@ -8195,27 +8196,27 @@ gboolean photo_is_developed (Photo* self) { _tmp2_ = _tmp1_->developer; #line 1007 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp2_ != NULL; -#line 8199 "Photo.c" +#line 8200 "Photo.c" { PhotoBackingReaders* _tmp3_ = NULL; #line 1006 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->priv->readers; #line 1006 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8206 "Photo.c" +#line 8207 "Photo.c" } #line 1007 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8210 "Photo.c" +#line 8211 "Photo.c" } - __finally276: + __finally289: { PhotoBackingReaders* _tmp4_ = NULL; #line 1006 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->priv->readers; #line 1006 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8219 "Photo.c" +#line 8220 "Photo.c" } #line 1006 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -8223,7 +8224,7 @@ gboolean photo_is_developed (Photo* self) { g_clear_error (&_inner_error_); #line 1006 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 8227 "Photo.c" +#line 8228 "Photo.c" } } @@ -8233,14 +8234,14 @@ gboolean photo_has_editable (Photo* self) { GError * _inner_error_ = NULL; #line 1011 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), FALSE); -#line 8237 "Photo.c" +#line 8238 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 1012 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 1012 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 8244 "Photo.c" +#line 8245 "Photo.c" { PhotoBackingReaders* _tmp1_ = NULL; PhotoFileReader* _tmp2_ = NULL; @@ -8250,27 +8251,27 @@ gboolean photo_has_editable (Photo* self) { _tmp2_ = _tmp1_->editable; #line 1013 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp2_ != NULL; -#line 8254 "Photo.c" +#line 8255 "Photo.c" { PhotoBackingReaders* _tmp3_ = NULL; #line 1012 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->priv->readers; #line 1012 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8261 "Photo.c" +#line 8262 "Photo.c" } #line 1013 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8265 "Photo.c" +#line 8266 "Photo.c" } - __finally277: + __finally290: { PhotoBackingReaders* _tmp4_ = NULL; #line 1012 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->priv->readers; #line 1012 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8274 "Photo.c" +#line 8275 "Photo.c" } #line 1012 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -8278,7 +8279,7 @@ gboolean photo_has_editable (Photo* self) { g_clear_error (&_inner_error_); #line 1012 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 8282 "Photo.c" +#line 8283 "Photo.c" } } @@ -8288,14 +8289,14 @@ gboolean photo_does_master_exist (Photo* self) { GError * _inner_error_ = NULL; #line 1017 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), FALSE); -#line 8292 "Photo.c" +#line 8293 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 1018 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 1018 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 8299 "Photo.c" +#line 8300 "Photo.c" { PhotoBackingReaders* _tmp1_ = NULL; PhotoFileReader* _tmp2_ = NULL; @@ -8308,27 +8309,27 @@ gboolean photo_does_master_exist (Photo* self) { _tmp3_ = photo_file_adapter_file_exists (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_PHOTO_FILE_ADAPTER, PhotoFileAdapter)); #line 1019 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp3_; -#line 8312 "Photo.c" +#line 8313 "Photo.c" { PhotoBackingReaders* _tmp4_ = NULL; #line 1018 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->priv->readers; #line 1018 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8319 "Photo.c" +#line 8320 "Photo.c" } #line 1019 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8323 "Photo.c" +#line 8324 "Photo.c" } - __finally278: + __finally291: { PhotoBackingReaders* _tmp5_ = NULL; #line 1018 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->priv->readers; #line 1018 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8332 "Photo.c" +#line 8333 "Photo.c" } #line 1018 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -8336,7 +8337,7 @@ gboolean photo_does_master_exist (Photo* self) { g_clear_error (&_inner_error_); #line 1018 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 8340 "Photo.c" +#line 8341 "Photo.c" } } @@ -8346,14 +8347,14 @@ gboolean photo_does_editable_exist (Photo* self) { GError * _inner_error_ = NULL; #line 1024 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), FALSE); -#line 8350 "Photo.c" +#line 8351 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 1025 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 1025 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 8357 "Photo.c" +#line 8358 "Photo.c" { gboolean _tmp1_ = FALSE; PhotoBackingReaders* _tmp2_ = NULL; @@ -8364,7 +8365,7 @@ gboolean photo_does_editable_exist (Photo* self) { _tmp3_ = _tmp2_->editable; #line 1026 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp3_ != NULL) { -#line 8368 "Photo.c" +#line 8369 "Photo.c" PhotoBackingReaders* _tmp4_ = NULL; PhotoFileReader* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; @@ -8376,35 +8377,35 @@ gboolean photo_does_editable_exist (Photo* self) { _tmp6_ = photo_file_adapter_file_exists (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_PHOTO_FILE_ADAPTER, PhotoFileAdapter)); #line 1026 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = _tmp6_; -#line 8380 "Photo.c" +#line 8381 "Photo.c" } else { #line 1026 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = FALSE; -#line 8384 "Photo.c" +#line 8385 "Photo.c" } #line 1026 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp1_; -#line 8388 "Photo.c" +#line 8389 "Photo.c" { PhotoBackingReaders* _tmp7_ = NULL; #line 1025 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = self->priv->readers; #line 1025 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8395 "Photo.c" +#line 8396 "Photo.c" } #line 1026 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8399 "Photo.c" +#line 8400 "Photo.c" } - __finally279: + __finally292: { PhotoBackingReaders* _tmp8_ = NULL; #line 1025 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = self->priv->readers; #line 1025 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8408 "Photo.c" +#line 8409 "Photo.c" } #line 1025 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -8412,7 +8413,7 @@ gboolean photo_does_editable_exist (Photo* self) { g_clear_error (&_inner_error_); #line 1025 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 8416 "Photo.c" +#line 8417 "Photo.c" } } @@ -8422,14 +8423,14 @@ gboolean photo_is_master_baseline (Photo* self) { GError * _inner_error_ = NULL; #line 1030 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), FALSE); -#line 8426 "Photo.c" +#line 8427 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 1031 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 1031 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 8433 "Photo.c" +#line 8434 "Photo.c" { PhotoBackingReaders* _tmp1_ = NULL; PhotoFileReader* _tmp2_ = NULL; @@ -8439,27 +8440,27 @@ gboolean photo_is_master_baseline (Photo* self) { _tmp2_ = _tmp1_->editable; #line 1032 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp2_ == NULL; -#line 8443 "Photo.c" +#line 8444 "Photo.c" { PhotoBackingReaders* _tmp3_ = NULL; #line 1031 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->priv->readers; #line 1031 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8450 "Photo.c" +#line 8451 "Photo.c" } #line 1032 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8454 "Photo.c" +#line 8455 "Photo.c" } - __finally280: + __finally293: { PhotoBackingReaders* _tmp4_ = NULL; #line 1031 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->priv->readers; #line 1031 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8463 "Photo.c" +#line 8464 "Photo.c" } #line 1031 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -8467,7 +8468,7 @@ gboolean photo_is_master_baseline (Photo* self) { g_clear_error (&_inner_error_); #line 1031 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 8471 "Photo.c" +#line 8472 "Photo.c" } } @@ -8483,7 +8484,7 @@ gboolean photo_is_master_source (Photo* self) { result = !_tmp0_; #line 1037 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8487 "Photo.c" +#line 8488 "Photo.c" } @@ -8492,14 +8493,14 @@ gboolean photo_is_editable_baseline (Photo* self) { GError * _inner_error_ = NULL; #line 1040 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), FALSE); -#line 8496 "Photo.c" +#line 8497 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 1041 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 1041 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 8503 "Photo.c" +#line 8504 "Photo.c" { PhotoBackingReaders* _tmp1_ = NULL; PhotoFileReader* _tmp2_ = NULL; @@ -8509,27 +8510,27 @@ gboolean photo_is_editable_baseline (Photo* self) { _tmp2_ = _tmp1_->editable; #line 1042 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp2_ != NULL; -#line 8513 "Photo.c" +#line 8514 "Photo.c" { PhotoBackingReaders* _tmp3_ = NULL; #line 1041 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->priv->readers; #line 1041 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8520 "Photo.c" +#line 8521 "Photo.c" } #line 1042 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8524 "Photo.c" +#line 8525 "Photo.c" } - __finally281: + __finally294: { PhotoBackingReaders* _tmp4_ = NULL; #line 1041 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->priv->readers; #line 1041 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 8533 "Photo.c" +#line 8534 "Photo.c" } #line 1041 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -8537,7 +8538,7 @@ gboolean photo_is_editable_baseline (Photo* self) { g_clear_error (&_inner_error_); #line 1041 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 8541 "Photo.c" +#line 8542 "Photo.c" } } @@ -8553,7 +8554,7 @@ gboolean photo_is_editable_source (Photo* self) { result = _tmp0_; #line 1047 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8557 "Photo.c" +#line 8558 "Photo.c" } @@ -8562,14 +8563,14 @@ BackingPhotoRow* photo_get_master_photo_row (Photo* self) { GError * _inner_error_ = NULL; #line 1050 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), NULL); -#line 8566 "Photo.c" +#line 8567 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 1051 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 1051 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 8573 "Photo.c" +#line 8574 "Photo.c" { PhotoRow* _tmp1_ = NULL; BackingPhotoRow* _tmp2_ = NULL; @@ -8582,27 +8583,27 @@ BackingPhotoRow* photo_get_master_photo_row (Photo* self) { _tmp3_ = _backing_photo_row_ref0 (_tmp2_); #line 1052 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp3_; -#line 8586 "Photo.c" +#line 8587 "Photo.c" { PhotoRow* _tmp4_ = NULL; #line 1051 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 1051 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 8593 "Photo.c" +#line 8594 "Photo.c" } #line 1052 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8597 "Photo.c" +#line 8598 "Photo.c" } - __finally282: + __finally295: { PhotoRow* _tmp5_ = NULL; #line 1051 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->row; #line 1051 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 8606 "Photo.c" +#line 8607 "Photo.c" } #line 1051 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -8610,7 +8611,7 @@ BackingPhotoRow* photo_get_master_photo_row (Photo* self) { g_clear_error (&_inner_error_); #line 1051 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 8614 "Photo.c" +#line 8615 "Photo.c" } } @@ -8620,14 +8621,14 @@ BackingPhotoRow* photo_get_editable_photo_row (Photo* self) { GError * _inner_error_ = NULL; #line 1056 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), NULL); -#line 8624 "Photo.c" +#line 8625 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 1057 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 1057 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 8631 "Photo.c" +#line 8632 "Photo.c" { PhotoRow* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; @@ -8637,7 +8638,7 @@ BackingPhotoRow* photo_get_editable_photo_row (Photo* self) { _tmp2_ = backing_photo_id_is_valid (&_tmp1_->editable_id); #line 1059 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_) { -#line 8641 "Photo.c" +#line 8642 "Photo.c" BackingPhotoRow* _tmp3_ = NULL; BackingPhotoRow* _tmp4_ = NULL; #line 1060 "/home/jens/Source/shotwell/src/Photo.vala" @@ -8646,43 +8647,43 @@ BackingPhotoRow* photo_get_editable_photo_row (Photo* self) { _tmp4_ = _backing_photo_row_ref0 (_tmp3_); #line 1060 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp4_; -#line 8650 "Photo.c" +#line 8651 "Photo.c" { PhotoRow* _tmp5_ = NULL; #line 1057 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->row; #line 1057 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 8657 "Photo.c" +#line 8658 "Photo.c" } #line 1060 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8661 "Photo.c" +#line 8662 "Photo.c" } else { #line 1062 "/home/jens/Source/shotwell/src/Photo.vala" result = NULL; -#line 8665 "Photo.c" +#line 8666 "Photo.c" { PhotoRow* _tmp6_ = NULL; #line 1057 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = self->row; #line 1057 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 8672 "Photo.c" +#line 8673 "Photo.c" } #line 1062 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8676 "Photo.c" +#line 8677 "Photo.c" } } - __finally283: + __finally296: { PhotoRow* _tmp7_ = NULL; #line 1057 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = self->row; #line 1057 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 8686 "Photo.c" +#line 8687 "Photo.c" } #line 1057 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -8690,7 +8691,7 @@ BackingPhotoRow* photo_get_editable_photo_row (Photo* self) { g_clear_error (&_inner_error_); #line 1057 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 8694 "Photo.c" +#line 8695 "Photo.c" } } @@ -8700,14 +8701,14 @@ GeeCollection* photo_get_raw_development_photo_rows (Photo* self) { GError * _inner_error_ = NULL; #line 1066 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), NULL); -#line 8704 "Photo.c" +#line 8705 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 1067 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 1067 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 8711 "Photo.c" +#line 8712 "Photo.c" { GeeCollection* _tmp1_ = NULL; GeeHashMap* _tmp2_ = NULL; @@ -8715,7 +8716,7 @@ GeeCollection* photo_get_raw_development_photo_rows (Photo* self) { _tmp2_ = self->priv->developments; #line 1068 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != NULL) { -#line 8719 "Photo.c" +#line 8720 "Photo.c" GeeHashMap* _tmp3_ = NULL; GeeCollection* _tmp4_ = NULL; GeeCollection* _tmp5_ = NULL; @@ -8729,37 +8730,37 @@ GeeCollection* photo_get_raw_development_photo_rows (Photo* self) { _g_object_unref0 (_tmp1_); #line 1068 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = _tmp5_; -#line 8733 "Photo.c" +#line 8734 "Photo.c" } else { #line 1068 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp1_); #line 1068 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = NULL; -#line 8739 "Photo.c" +#line 8740 "Photo.c" } #line 1068 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp1_; -#line 8743 "Photo.c" +#line 8744 "Photo.c" { PhotoRow* _tmp6_ = NULL; #line 1067 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = self->row; #line 1067 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 8750 "Photo.c" +#line 8751 "Photo.c" } #line 1068 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8754 "Photo.c" +#line 8755 "Photo.c" } - __finally284: + __finally297: { PhotoRow* _tmp7_ = NULL; #line 1067 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = self->row; #line 1067 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 8763 "Photo.c" +#line 8764 "Photo.c" } #line 1067 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -8767,7 +8768,7 @@ GeeCollection* photo_get_raw_development_photo_rows (Photo* self) { g_clear_error (&_inner_error_); #line 1067 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 8771 "Photo.c" +#line 8772 "Photo.c" } } @@ -8777,14 +8778,14 @@ BackingPhotoRow* photo_get_raw_development_photo_row (Photo* self, RawDeveloper GError * _inner_error_ = NULL; #line 1072 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), NULL); -#line 8781 "Photo.c" +#line 8782 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 1073 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 1073 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 8788 "Photo.c" +#line 8789 "Photo.c" { BackingPhotoRow* _tmp1_ = NULL; GeeHashMap* _tmp2_ = NULL; @@ -8792,7 +8793,7 @@ BackingPhotoRow* photo_get_raw_development_photo_row (Photo* self, RawDeveloper _tmp2_ = self->priv->developments; #line 1074 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != NULL) { -#line 8796 "Photo.c" +#line 8797 "Photo.c" GeeHashMap* _tmp3_ = NULL; RawDeveloper _tmp4_ = 0; gpointer _tmp5_ = NULL; @@ -8806,37 +8807,37 @@ BackingPhotoRow* photo_get_raw_development_photo_row (Photo* self, RawDeveloper _backing_photo_row_unref0 (_tmp1_); #line 1074 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = (BackingPhotoRow*) _tmp5_; -#line 8810 "Photo.c" +#line 8811 "Photo.c" } else { #line 1074 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_tmp1_); #line 1074 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = NULL; -#line 8816 "Photo.c" +#line 8817 "Photo.c" } #line 1074 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp1_; -#line 8820 "Photo.c" +#line 8821 "Photo.c" { PhotoRow* _tmp6_ = NULL; #line 1073 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = self->row; #line 1073 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 8827 "Photo.c" +#line 8828 "Photo.c" } #line 1074 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8831 "Photo.c" +#line 8832 "Photo.c" } - __finally285: + __finally298: { PhotoRow* _tmp7_ = NULL; #line 1073 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = self->row; #line 1073 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 8840 "Photo.c" +#line 8841 "Photo.c" } #line 1073 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -8844,7 +8845,7 @@ BackingPhotoRow* photo_get_raw_development_photo_row (Photo* self, RawDeveloper g_clear_error (&_inner_error_); #line 1073 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 8848 "Photo.c" +#line 8849 "Photo.c" } } @@ -8857,14 +8858,14 @@ static PhotoFileFormat* _photo_file_format_dup (PhotoFileFormat* self) { memcpy (dup, self, sizeof (PhotoFileFormat)); #line 1084 "/home/jens/Source/shotwell/src/Photo.vala" return dup; -#line 8861 "Photo.c" +#line 8862 "Photo.c" } static gpointer __photo_file_format_dup0 (gpointer self) { #line 1084 "/home/jens/Source/shotwell/src/Photo.vala" return self ? _photo_file_format_dup (self) : NULL; -#line 8868 "Photo.c" +#line 8869 "Photo.c" } @@ -8892,7 +8893,7 @@ PhotoFileFormat* photo_get_editable_file_format (Photo* self) { _photo_file_adapter_unref0 (reader); #line 1081 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8896 "Photo.c" +#line 8897 "Photo.c" } #line 1084 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = reader; @@ -8906,7 +8907,7 @@ PhotoFileFormat* photo_get_editable_file_format (Photo* self) { _photo_file_adapter_unref0 (reader); #line 1084 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8910 "Photo.c" +#line 8911 "Photo.c" } @@ -8932,7 +8933,7 @@ PhotoFileFormat photo_get_export_format_for_parameters (Photo* self, ExportForma switch (_tmp2_) { #line 1090 "/home/jens/Source/shotwell/src/Photo.vala" case EXPORT_FORMAT_MODE_UNMODIFIED: -#line 8936 "Photo.c" +#line 8937 "Photo.c" { PhotoFileFormat _tmp3_ = 0; #line 1092 "/home/jens/Source/shotwell/src/Photo.vala" @@ -8941,11 +8942,11 @@ PhotoFileFormat photo_get_export_format_for_parameters (Photo* self, ExportForma _result_ = _tmp3_; #line 1093 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 8945 "Photo.c" +#line 8946 "Photo.c" } #line 1090 "/home/jens/Source/shotwell/src/Photo.vala" case EXPORT_FORMAT_MODE_CURRENT: -#line 8949 "Photo.c" +#line 8950 "Photo.c" { PhotoFileFormat _tmp4_ = 0; #line 1096 "/home/jens/Source/shotwell/src/Photo.vala" @@ -8954,11 +8955,11 @@ PhotoFileFormat photo_get_export_format_for_parameters (Photo* self, ExportForma _result_ = _tmp4_; #line 1097 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 8958 "Photo.c" +#line 8959 "Photo.c" } #line 1090 "/home/jens/Source/shotwell/src/Photo.vala" case EXPORT_FORMAT_MODE_SPECIFIED: -#line 8962 "Photo.c" +#line 8963 "Photo.c" { ExportFormatParameters _tmp5_ = {0}; PhotoFileFormat _tmp6_ = 0; @@ -8970,21 +8971,21 @@ PhotoFileFormat photo_get_export_format_for_parameters (Photo* self, ExportForma _result_ = _tmp6_; #line 1101 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 8974 "Photo.c" +#line 8975 "Photo.c" } default: { #line 1104 "/home/jens/Source/shotwell/src/Photo.vala" g_error ("Photo.vala:1104: get_export_format_for_parameters: unsupported export " \ "format mode"); -#line 8980 "Photo.c" +#line 8981 "Photo.c" } } #line 1107 "/home/jens/Source/shotwell/src/Photo.vala" result = _result_; #line 1107 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 8987 "Photo.c" +#line 8988 "Photo.c" } @@ -9008,7 +9009,7 @@ gchar* photo_get_export_basename_for_parameters (Photo* self, ExportFormatParame switch (_tmp1_) { #line 1113 "/home/jens/Source/shotwell/src/Photo.vala" case EXPORT_FORMAT_MODE_UNMODIFIED: -#line 9011 "Photo.c" +#line 9012 "Photo.c" { GFile* _tmp2_ = NULL; GFile* _tmp3_ = NULL; @@ -9027,13 +9028,13 @@ gchar* photo_get_export_basename_for_parameters (Photo* self, ExportFormatParame _g_object_unref0 (_tmp3_); #line 1116 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 9030 "Photo.c" +#line 9031 "Photo.c" } #line 1113 "/home/jens/Source/shotwell/src/Photo.vala" case EXPORT_FORMAT_MODE_CURRENT: #line 1113 "/home/jens/Source/shotwell/src/Photo.vala" case EXPORT_FORMAT_MODE_SPECIFIED: -#line 9036 "Photo.c" +#line 9037 "Photo.c" { ExportFormatParameters _tmp5_ = {0}; PhotoFileFormat _tmp6_ = 0; @@ -9050,14 +9051,14 @@ gchar* photo_get_export_basename_for_parameters (Photo* self, ExportFormatParame _g_free0 (_result_); #line 1120 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 9053 "Photo.c" +#line 9054 "Photo.c" } default: { #line 1123 "/home/jens/Source/shotwell/src/Photo.vala" g_error ("Photo.vala:1123: get_export_basename_for_parameters: unsupported expor" \ "t format mode"); -#line 9059 "Photo.c" +#line 9060 "Photo.c" } } #line 1126 "/home/jens/Source/shotwell/src/Photo.vala" @@ -9068,7 +9069,7 @@ gchar* photo_get_export_basename_for_parameters (Photo* self, ExportFormatParame result = _result_; #line 1127 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 9070 "Photo.c" +#line 9071 "Photo.c" } @@ -9209,7 +9210,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { file = _tmp2_; #line 1148 "/home/jens/Source/shotwell/src/Photo.vala" info = NULL; -#line 9211 "Photo.c" +#line 9212 "Photo.c" { GFileInfo* _tmp3_ = NULL; GFile* _tmp4_ = NULL; @@ -9223,8 +9224,8 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp3_ = _tmp5_; #line 1150 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 9225 "Photo.c" - goto __catch286_g_error; +#line 9226 "Photo.c" + goto __catch299_g_error; } #line 1150 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = _tmp3_; @@ -9236,10 +9237,10 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { info = _tmp6_; #line 1149 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp3_); -#line 9238 "Photo.c" +#line 9239 "Photo.c" } - goto __finally286; - __catch286_g_error: + goto __finally299; + __catch299_g_error: { GError* err = NULL; #line 1149 "/home/jens/Source/shotwell/src/Photo.vala" @@ -9256,9 +9257,9 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _g_object_unref0 (file); #line 1153 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 9258 "Photo.c" +#line 9259 "Photo.c" } - __finally286: + __finally299: #line 1149 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1149 "/home/jens/Source/shotwell/src/Photo.vala" @@ -9271,7 +9272,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { g_clear_error (&_inner_error_); #line 1149 "/home/jens/Source/shotwell/src/Photo.vala" return 0; -#line 9273 "Photo.c" +#line 9274 "Photo.c" } #line 1156 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = info; @@ -9287,7 +9288,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _g_object_unref0 (file); #line 1157 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 9289 "Photo.c" +#line 9290 "Photo.c" } #line 1159 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_ = file; @@ -9295,7 +9296,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp10_ = photo_is_file_image (_tmp9_); #line 1159 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp10_) { -#line 9297 "Photo.c" +#line 9298 "Photo.c" GFile* _tmp11_ = NULL; gchar* _tmp12_ = NULL; gchar* _tmp13_ = NULL; @@ -9317,7 +9318,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _g_object_unref0 (file); #line 1162 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 9319 "Photo.c" +#line 9320 "Photo.c" } #line 1165 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = file; @@ -9325,7 +9326,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp15_ = photo_file_format_is_file_supported (_tmp14_); #line 1165 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp15_) { -#line 9327 "Photo.c" +#line 9328 "Photo.c" GFile* _tmp16_ = NULL; gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; @@ -9347,7 +9348,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _g_object_unref0 (file); #line 1168 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 9349 "Photo.c" +#line 9350 "Photo.c" } #line 1171 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = info; @@ -9361,7 +9362,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp24_ = _tmp23_->exif_md5; #line 1174 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp24_ != NULL) { -#line 9363 "Photo.c" +#line 9364 "Photo.c" PhotoImportParams* _tmp25_ = NULL; const gchar* _tmp26_ = NULL; #line 1174 "/home/jens/Source/shotwell/src/Photo.vala" @@ -9370,15 +9371,15 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp26_ = _tmp25_->thumbnail_md5; #line 1174 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = _tmp26_ != NULL; -#line 9372 "Photo.c" +#line 9373 "Photo.c" } else { #line 1174 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = FALSE; -#line 9376 "Photo.c" +#line 9377 "Photo.c" } #line 1174 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp22_) { -#line 9380 "Photo.c" +#line 9381 "Photo.c" PhotoImportParams* _tmp27_ = NULL; const gchar* _tmp28_ = NULL; #line 1174 "/home/jens/Source/shotwell/src/Photo.vala" @@ -9387,15 +9388,15 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp28_ = _tmp27_->full_md5; #line 1174 "/home/jens/Source/shotwell/src/Photo.vala" _tmp21_ = _tmp28_ != NULL; -#line 9389 "Photo.c" +#line 9390 "Photo.c" } else { #line 1174 "/home/jens/Source/shotwell/src/Photo.vala" _tmp21_ = FALSE; -#line 9393 "Photo.c" +#line 9394 "Photo.c" } #line 1174 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp21_) { -#line 9397 "Photo.c" +#line 9398 "Photo.c" PhotoImportParams* _tmp29_ = NULL; PhotoImportParams* _tmp30_ = NULL; PhotoFileSnifferOptions _tmp31_ = 0; @@ -9407,7 +9408,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp31_ = _tmp30_->sniffer_options; #line 1175 "/home/jens/Source/shotwell/src/Photo.vala" _tmp30_->sniffer_options = _tmp31_ | PHOTO_FILE_SNIFFER_OPTIONS_NO_MD5; -#line 9409 "Photo.c" +#line 9410 "Photo.c" } #line 1178 "/home/jens/Source/shotwell/src/Photo.vala" _tmp32_ = file; @@ -9419,7 +9420,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp35_ = photo_file_interrogator_new (_tmp32_, _tmp34_); #line 1178 "/home/jens/Source/shotwell/src/Photo.vala" interrogator = _tmp35_; -#line 9421 "Photo.c" +#line 9422 "Photo.c" { PhotoFileInterrogator* _tmp36_ = NULL; #line 1180 "/home/jens/Source/shotwell/src/Photo.vala" @@ -9428,12 +9429,12 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { photo_file_interrogator_interrogate (_tmp36_, &_inner_error_); #line 1180 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 9430 "Photo.c" - goto __catch287_g_error; +#line 9431 "Photo.c" + goto __catch300_g_error; } } - goto __finally287; - __catch287_g_error: + goto __finally300; + __catch300_g_error: { GError* err = NULL; GFile* _tmp37_ = NULL; @@ -9471,9 +9472,9 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _g_object_unref0 (file); #line 1184 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 9473 "Photo.c" +#line 9474 "Photo.c" } - __finally287: + __finally300: #line 1179 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1179 "/home/jens/Source/shotwell/src/Photo.vala" @@ -9488,7 +9489,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { g_clear_error (&_inner_error_); #line 1179 "/home/jens/Source/shotwell/src/Photo.vala" return 0; -#line 9490 "Photo.c" +#line 9491 "Photo.c" } #line 1187 "/home/jens/Source/shotwell/src/Photo.vala" _tmp42_ = interrogator; @@ -9506,7 +9507,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _g_object_unref0 (file); #line 1188 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 9508 "Photo.c" +#line 9509 "Photo.c" } #line 1191 "/home/jens/Source/shotwell/src/Photo.vala" _tmp44_ = interrogator; @@ -9520,7 +9521,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { if (_tmp47_ == NULL) { #line 1192 "/home/jens/Source/shotwell/src/Photo.vala" _tmp46_ = TRUE; -#line 9522 "Photo.c" +#line 9523 "Photo.c" } else { DetectedPhotoInformation* _tmp48_ = NULL; PhotoFileFormat _tmp49_ = 0; @@ -9530,7 +9531,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp49_ = _tmp48_->file_format; #line 1192 "/home/jens/Source/shotwell/src/Photo.vala" _tmp46_ = _tmp49_ == PHOTO_FILE_FORMAT_UNKNOWN; -#line 9532 "Photo.c" +#line 9533 "Photo.c" } #line 1192 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp46_) { @@ -9546,7 +9547,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _g_object_unref0 (file); #line 1193 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 9548 "Photo.c" +#line 9549 "Photo.c" } #line 1196 "/home/jens/Source/shotwell/src/Photo.vala" _tmp50_ = params; @@ -9554,7 +9555,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp51_ = _tmp50_->sniffer_options; #line 1196 "/home/jens/Source/shotwell/src/Photo.vala" if ((_tmp51_ & PHOTO_FILE_SNIFFER_OPTIONS_NO_MD5) != 0) { -#line 9556 "Photo.c" +#line 9557 "Photo.c" DetectedPhotoInformation* _tmp52_ = NULL; PhotoImportParams* _tmp53_ = NULL; const gchar* _tmp54_ = NULL; @@ -9603,7 +9604,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _g_free0 (_tmp60_->md5); #line 1199 "/home/jens/Source/shotwell/src/Photo.vala" _tmp60_->md5 = _tmp63_; -#line 9605 "Photo.c" +#line 9606 "Photo.c" } #line 1202 "/home/jens/Source/shotwell/src/Photo.vala" orientation = ORIENTATION_TOP_LEFT; @@ -9625,7 +9626,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp67_ = _tmp66_->metadata; #line 1213 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp67_ != NULL) { -#line 9627 "Photo.c" +#line 9628 "Photo.c" MetadataDateTime* date_time = NULL; DetectedPhotoInformation* _tmp68_ = NULL; PhotoMetadata* _tmp69_ = NULL; @@ -9659,7 +9660,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp71_ = date_time; #line 1215 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp71_ != NULL) { -#line 9661 "Photo.c" +#line 9662 "Photo.c" MetadataDateTime* _tmp72_ = NULL; time_t _tmp73_ = 0; #line 1216 "/home/jens/Source/shotwell/src/Photo.vala" @@ -9668,7 +9669,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp73_ = metadata_date_time_get_timestamp (_tmp72_); #line 1216 "/home/jens/Source/shotwell/src/Photo.vala" exposure_time = _tmp73_; -#line 9670 "Photo.c" +#line 9671 "Photo.c" } #line 1218 "/home/jens/Source/shotwell/src/Photo.vala" _tmp74_ = detected; @@ -9720,7 +9721,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { rating = _tmp89_; #line 1213 "/home/jens/Source/shotwell/src/Photo.vala" _metadata_date_time_unref0 (date_time); -#line 9722 "Photo.c" +#line 9723 "Photo.c" } #line 1226 "/home/jens/Source/shotwell/src/Photo.vala" _tmp92_ = detected; @@ -9730,7 +9731,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { if (_tmp93_ != GDK_COLORSPACE_RGB) { #line 1226 "/home/jens/Source/shotwell/src/Photo.vala" _tmp91_ = TRUE; -#line 9732 "Photo.c" +#line 9733 "Photo.c" } else { DetectedPhotoInformation* _tmp94_ = NULL; gint _tmp95_ = 0; @@ -9740,13 +9741,13 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp95_ = _tmp94_->channels; #line 1227 "/home/jens/Source/shotwell/src/Photo.vala" _tmp91_ = _tmp95_ < 3; -#line 9742 "Photo.c" +#line 9743 "Photo.c" } #line 1226 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp91_) { #line 1226 "/home/jens/Source/shotwell/src/Photo.vala" _tmp90_ = TRUE; -#line 9748 "Photo.c" +#line 9749 "Photo.c" } else { DetectedPhotoInformation* _tmp96_ = NULL; gint _tmp97_ = 0; @@ -9756,11 +9757,11 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp97_ = _tmp96_->bits_per_channel; #line 1228 "/home/jens/Source/shotwell/src/Photo.vala" _tmp90_ = _tmp97_ != 8; -#line 9758 "Photo.c" +#line 9759 "Photo.c" } #line 1226 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp90_) { -#line 9762 "Photo.c" +#line 9763 "Photo.c" GFile* _tmp98_ = NULL; gchar* _tmp99_ = NULL; gchar* _tmp100_ = NULL; @@ -9790,7 +9791,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _g_object_unref0 (file); #line 1231 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 9792 "Photo.c" +#line 9793 "Photo.c" } #line 1237 "/home/jens/Source/shotwell/src/Photo.vala" _tmp101_ = params; @@ -10002,7 +10003,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp177_ = _tmp176_->thumbnails; #line 1258 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp177_ != NULL) { -#line 10004 "Photo.c" +#line 10005 "Photo.c" PhotoFileReader* reader = NULL; PhotoImportParams* _tmp178_ = NULL; PhotoRow* _tmp179_ = NULL; @@ -10033,7 +10034,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _tmp186_ = photo_file_format_create_reader (_tmp181_, _tmp185_); #line 1259 "/home/jens/Source/shotwell/src/Photo.vala" reader = _tmp186_; -#line 10035 "Photo.c" +#line 10036 "Photo.c" { PhotoImportParams* _tmp187_ = NULL; Thumbnails* _tmp188_ = NULL; @@ -10069,12 +10070,12 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { thumbnail_cache_generate_for_photo (_tmp188_, _tmp189_, _tmp192_, &_tmp196_, &_inner_error_); #line 1262 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 10071 "Photo.c" - goto __catch288_g_error; +#line 10072 "Photo.c" + goto __catch301_g_error; } } - goto __finally288; - __catch288_g_error: + goto __finally301; + __catch301_g_error: { GError* err = NULL; GError* _tmp197_ = NULL; @@ -10107,9 +10108,9 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _g_object_unref0 (file); #line 1265 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 10109 "Photo.c" +#line 10110 "Photo.c" } - __finally288: + __finally301: #line 1261 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1261 "/home/jens/Source/shotwell/src/Photo.vala" @@ -10132,11 +10133,11 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { g_clear_error (&_inner_error_); #line 1261 "/home/jens/Source/shotwell/src/Photo.vala" return 0; -#line 10134 "Photo.c" +#line 10135 "Photo.c" } #line 1258 "/home/jens/Source/shotwell/src/Photo.vala" _photo_file_adapter_unref0 (reader); -#line 10138 "Photo.c" +#line 10139 "Photo.c" } #line 1272 "/home/jens/Source/shotwell/src/Photo.vala" result = IMPORT_RESULT_SUCCESS; @@ -10154,7 +10155,7 @@ ImportResult photo_prepare_for_import (PhotoImportParams* params) { _g_object_unref0 (file); #line 1272 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 10156 "Photo.c" +#line 10157 "Photo.c" } @@ -10393,7 +10394,7 @@ void photo_create_pre_import (PhotoImportParams* params) { _tmp56_ = photo_file_interrogator_new (_tmp53_, _tmp55_); #line 1298 "/home/jens/Source/shotwell/src/Photo.vala" interrogator = _tmp56_; -#line 10395 "Photo.c" +#line 10396 "Photo.c" { DetectedPhotoInformation* detected = NULL; DetectedPhotoInformation* _tmp57_ = NULL; @@ -10404,8 +10405,8 @@ void photo_create_pre_import (PhotoImportParams* params) { photo_file_interrogator_interrogate (interrogator, &_inner_error_); #line 1300 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 10406 "Photo.c" - goto __catch289_g_error; +#line 10407 "Photo.c" + goto __catch302_g_error; } #line 1301 "/home/jens/Source/shotwell/src/Photo.vala" _tmp57_ = photo_file_interrogator_get_detected_photo_information (interrogator); @@ -10415,21 +10416,21 @@ void photo_create_pre_import (PhotoImportParams* params) { _tmp60_ = detected; #line 1302 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp60_ != NULL) { -#line 10417 "Photo.c" +#line 10418 "Photo.c" gboolean _tmp61_ = FALSE; #line 1302 "/home/jens/Source/shotwell/src/Photo.vala" _tmp61_ = photo_file_interrogator_get_is_photo_corrupted (interrogator); #line 1302 "/home/jens/Source/shotwell/src/Photo.vala" _tmp59_ = !_tmp61_; -#line 10423 "Photo.c" +#line 10424 "Photo.c" } else { #line 1302 "/home/jens/Source/shotwell/src/Photo.vala" _tmp59_ = FALSE; -#line 10427 "Photo.c" +#line 10428 "Photo.c" } #line 1302 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp59_) { -#line 10431 "Photo.c" +#line 10432 "Photo.c" DetectedPhotoInformation* _tmp62_ = NULL; PhotoFileFormat _tmp63_ = 0; #line 1302 "/home/jens/Source/shotwell/src/Photo.vala" @@ -10438,15 +10439,15 @@ void photo_create_pre_import (PhotoImportParams* params) { _tmp63_ = _tmp62_->file_format; #line 1302 "/home/jens/Source/shotwell/src/Photo.vala" _tmp58_ = _tmp63_ != PHOTO_FILE_FORMAT_UNKNOWN; -#line 10440 "Photo.c" +#line 10441 "Photo.c" } else { #line 1302 "/home/jens/Source/shotwell/src/Photo.vala" _tmp58_ = FALSE; -#line 10444 "Photo.c" +#line 10445 "Photo.c" } #line 1302 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp58_) { -#line 10448 "Photo.c" +#line 10449 "Photo.c" PhotoImportParams* _tmp64_ = NULL; PhotoRow* _tmp65_ = NULL; BackingPhotoRow* _tmp66_ = NULL; @@ -10464,14 +10465,14 @@ void photo_create_pre_import (PhotoImportParams* params) { _tmp68_ = _tmp67_->file_format; #line 1303 "/home/jens/Source/shotwell/src/Photo.vala" _tmp66_->file_format = _tmp68_; -#line 10466 "Photo.c" +#line 10467 "Photo.c" } #line 1299 "/home/jens/Source/shotwell/src/Photo.vala" _detected_photo_information_unref0 (detected); -#line 10470 "Photo.c" +#line 10471 "Photo.c" } - goto __finally289; - __catch289_g_error: + goto __finally302; + __catch302_g_error: { GError* err = NULL; gchar* _tmp69_ = NULL; @@ -10496,9 +10497,9 @@ void photo_create_pre_import (PhotoImportParams* params) { _g_free0 (_tmp70_); #line 1299 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 10498 "Photo.c" +#line 10499 "Photo.c" } - __finally289: + __finally302: #line 1299 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1299 "/home/jens/Source/shotwell/src/Photo.vala" @@ -10511,13 +10512,13 @@ void photo_create_pre_import (PhotoImportParams* params) { g_clear_error (&_inner_error_); #line 1299 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 10513 "Photo.c" +#line 10514 "Photo.c" } #line 1275 "/home/jens/Source/shotwell/src/Photo.vala" _photo_file_interrogator_unref0 (interrogator); #line 1275 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (file); -#line 10519 "Photo.c" +#line 10520 "Photo.c" } @@ -10573,7 +10574,7 @@ BackingPhotoRow* photo_query_backing_photo_row (Photo* self, GFile* file, PhotoF backing = _tmp0_; #line 1315 "/home/jens/Source/shotwell/src/Photo.vala" info = NULL; -#line 10575 "Photo.c" +#line 10576 "Photo.c" { GFileInfo* _tmp1_ = NULL; GFile* _tmp2_ = NULL; @@ -10587,8 +10588,8 @@ BackingPhotoRow* photo_query_backing_photo_row (Photo* self, GFile* file, PhotoF _tmp1_ = _tmp3_; #line 1317 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 10589 "Photo.c" - goto __catch290_g_error; +#line 10590 "Photo.c" + goto __catch303_g_error; } #line 1317 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = _tmp1_; @@ -10600,10 +10601,10 @@ BackingPhotoRow* photo_query_backing_photo_row (Photo* self, GFile* file, PhotoF info = _tmp4_; #line 1316 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp1_); -#line 10602 "Photo.c" +#line 10603 "Photo.c" } - goto __finally290; - __catch290_g_error: + goto __finally303; + __catch303_g_error: { GError* err = NULL; GFile* _tmp5_ = NULL; @@ -10641,17 +10642,17 @@ BackingPhotoRow* photo_query_backing_photo_row (Photo* self, GFile* file, PhotoF if (detected) { #line 1322 "/home/jens/Source/shotwell/src/Photo.vala" *detected = _vala_detected; -#line 10643 "Photo.c" +#line 10644 "Photo.c" } else { #line 1322 "/home/jens/Source/shotwell/src/Photo.vala" _detected_photo_information_unref0 (_vala_detected); -#line 10647 "Photo.c" +#line 10648 "Photo.c" } #line 1322 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 10651 "Photo.c" +#line 10652 "Photo.c" } - __finally290: + __finally303: #line 1316 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1316 "/home/jens/Source/shotwell/src/Photo.vala" @@ -10662,7 +10663,7 @@ BackingPhotoRow* photo_query_backing_photo_row (Photo* self, GFile* file, PhotoF _backing_photo_row_unref0 (backing); #line 1316 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 10664 "Photo.c" +#line 10665 "Photo.c" } #line 1326 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = file; @@ -10688,7 +10689,7 @@ BackingPhotoRow* photo_query_backing_photo_row (Photo* self, GFile* file, PhotoF _backing_photo_row_unref0 (backing); #line 1327 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 10690 "Photo.c" +#line 10691 "Photo.c" } #line 1328 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = interrogator; @@ -10704,7 +10705,7 @@ BackingPhotoRow* photo_query_backing_photo_row (Photo* self, GFile* file, PhotoF if (_tmp17_ == NULL) { #line 1329 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = TRUE; -#line 10706 "Photo.c" +#line 10707 "Photo.c" } else { PhotoFileInterrogator* _tmp18_ = NULL; gboolean _tmp19_ = FALSE; @@ -10714,11 +10715,11 @@ BackingPhotoRow* photo_query_backing_photo_row (Photo* self, GFile* file, PhotoF _tmp19_ = photo_file_interrogator_get_is_photo_corrupted (_tmp18_); #line 1329 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = _tmp19_; -#line 10716 "Photo.c" +#line 10717 "Photo.c" } #line 1329 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp16_) { -#line 10720 "Photo.c" +#line 10721 "Photo.c" gchar* _tmp20_ = NULL; gchar* _tmp21_ = NULL; #line 1330 "/home/jens/Source/shotwell/src/Photo.vala" @@ -10741,15 +10742,15 @@ BackingPhotoRow* photo_query_backing_photo_row (Photo* self, GFile* file, PhotoF if (detected) { #line 1332 "/home/jens/Source/shotwell/src/Photo.vala" *detected = _vala_detected; -#line 10743 "Photo.c" +#line 10744 "Photo.c" } else { #line 1332 "/home/jens/Source/shotwell/src/Photo.vala" _detected_photo_information_unref0 (_vala_detected); -#line 10747 "Photo.c" +#line 10748 "Photo.c" } #line 1332 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 10751 "Photo.c" +#line 10752 "Photo.c" } #line 1335 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = info; @@ -10805,7 +10806,7 @@ BackingPhotoRow* photo_query_backing_photo_row (Photo* self, GFile* file, PhotoF _tmp41_ = _tmp40_->metadata; #line 1342 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp41_ != NULL) { -#line 10807 "Photo.c" +#line 10808 "Photo.c" DetectedPhotoInformation* _tmp42_ = NULL; PhotoMetadata* _tmp43_ = NULL; Orientation _tmp44_ = 0; @@ -10817,11 +10818,11 @@ BackingPhotoRow* photo_query_backing_photo_row (Photo* self, GFile* file, PhotoF _tmp44_ = photo_metadata_get_orientation (_tmp43_); #line 1343 "/home/jens/Source/shotwell/src/Photo.vala" _tmp39_ = _tmp44_; -#line 10819 "Photo.c" +#line 10820 "Photo.c" } else { #line 1343 "/home/jens/Source/shotwell/src/Photo.vala" _tmp39_ = ORIENTATION_TOP_LEFT; -#line 10823 "Photo.c" +#line 10824 "Photo.c" } #line 1342 "/home/jens/Source/shotwell/src/Photo.vala" _tmp45_ = backing; @@ -10837,15 +10838,15 @@ BackingPhotoRow* photo_query_backing_photo_row (Photo* self, GFile* file, PhotoF if (detected) { #line 1345 "/home/jens/Source/shotwell/src/Photo.vala" *detected = _vala_detected; -#line 10839 "Photo.c" +#line 10840 "Photo.c" } else { #line 1345 "/home/jens/Source/shotwell/src/Photo.vala" _detected_photo_information_unref0 (_vala_detected); -#line 10843 "Photo.c" +#line 10844 "Photo.c" } #line 1345 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 10847 "Photo.c" +#line 10848 "Photo.c" } @@ -10856,13 +10857,13 @@ static void _vala_array_add254 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 1441 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 10858 "Photo.c" +#line 10859 "Photo.c" } #line 1441 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 1441 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 10864 "Photo.c" +#line 10865 "Photo.c" } @@ -10873,13 +10874,13 @@ static void _vala_array_add255 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 1444 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 10875 "Photo.c" +#line 10876 "Photo.c" } #line 1444 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 1444 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 10881 "Photo.c" +#line 10882 "Photo.c" } @@ -10890,13 +10891,13 @@ static void _vala_array_add256 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 1451 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 10892 "Photo.c" +#line 10893 "Photo.c" } #line 1451 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 1451 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 10898 "Photo.c" +#line 10899 "Photo.c" } @@ -10907,13 +10908,13 @@ static void _vala_array_add257 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 1454 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 10909 "Photo.c" +#line 10910 "Photo.c" } #line 1454 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 1454 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 10915 "Photo.c" +#line 10916 "Photo.c" } @@ -10924,13 +10925,13 @@ static void _vala_array_add258 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 1457 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 10926 "Photo.c" +#line 10927 "Photo.c" } #line 1457 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 1457 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 10932 "Photo.c" +#line 10933 "Photo.c" } @@ -10941,20 +10942,20 @@ static void _vala_array_add259 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 1460 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 10943 "Photo.c" +#line 10944 "Photo.c" } #line 1460 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 1460 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 10949 "Photo.c" +#line 10950 "Photo.c" } static gpointer _media_metadata_ref0 (gpointer self) { #line 1470 "/home/jens/Source/shotwell/src/Photo.vala" return self ? media_metadata_ref (self) : NULL; -#line 10956 "Photo.c" +#line 10957 "Photo.c" } @@ -11055,13 +11056,13 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _g_object_unref0 (file); #line 1415 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 11057 "Photo.c" +#line 11058 "Photo.c" } #line 1417 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = backing; #line 1417 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp7_ == NULL) { -#line 11063 "Photo.c" +#line 11064 "Photo.c" GFile* _tmp8_ = NULL; gchar* _tmp9_ = NULL; gchar* _tmp10_ = NULL; @@ -11087,15 +11088,15 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat if (reimport_state) { #line 1419 "/home/jens/Source/shotwell/src/Photo.vala" *reimport_state = _vala_reimport_state; -#line 11089 "Photo.c" +#line 11090 "Photo.c" } else { #line 1419 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_master_state_unref0 (_vala_reimport_state); -#line 11093 "Photo.c" +#line 11094 "Photo.c" } #line 1419 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 11097 "Photo.c" +#line 11098 "Photo.c" } #line 1423 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = detected; @@ -11105,7 +11106,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat if (_tmp14_ != GDK_COLORSPACE_RGB) { #line 1423 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = TRUE; -#line 11107 "Photo.c" +#line 11108 "Photo.c" } else { DetectedPhotoInformation* _tmp15_ = NULL; gint _tmp16_ = 0; @@ -11115,13 +11116,13 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp16_ = _tmp15_->channels; #line 1424 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = _tmp16_ < 3; -#line 11117 "Photo.c" +#line 11118 "Photo.c" } #line 1423 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp12_) { #line 1423 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = TRUE; -#line 11123 "Photo.c" +#line 11124 "Photo.c" } else { DetectedPhotoInformation* _tmp17_ = NULL; gint _tmp18_ = 0; @@ -11131,11 +11132,11 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp18_ = _tmp17_->bits_per_channel; #line 1425 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = _tmp18_ != 8; -#line 11133 "Photo.c" +#line 11134 "Photo.c" } #line 1423 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp11_) { -#line 11137 "Photo.c" +#line 11138 "Photo.c" GFile* _tmp19_ = NULL; gchar* _tmp20_ = NULL; gchar* _tmp21_ = NULL; @@ -11161,28 +11162,28 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat if (reimport_state) { #line 1428 "/home/jens/Source/shotwell/src/Photo.vala" *reimport_state = _vala_reimport_state; -#line 11163 "Photo.c" +#line 11164 "Photo.c" } else { #line 1428 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_master_state_unref0 (_vala_reimport_state); -#line 11167 "Photo.c" +#line 11168 "Photo.c" } #line 1428 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 11171 "Photo.c" +#line 11172 "Photo.c" } #line 1432 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = photo_row_new (); #line 1432 "/home/jens/Source/shotwell/src/Photo.vala" updated_row = _tmp22_; -#line 11177 "Photo.c" +#line 11178 "Photo.c" { PhotoRow* _tmp23_ = NULL; #line 1433 "/home/jens/Source/shotwell/src/Photo.vala" _tmp23_ = self->row; #line 1433 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 11184 "Photo.c" +#line 11185 "Photo.c" { PhotoRow* _tmp24_ = NULL; PhotoRow* _tmp25_ = NULL; @@ -11194,16 +11195,16 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _photo_row_unref0 (updated_row); #line 1434 "/home/jens/Source/shotwell/src/Photo.vala" updated_row = _tmp25_; -#line 11196 "Photo.c" +#line 11197 "Photo.c" } - __finally291: + __finally304: { PhotoRow* _tmp26_ = NULL; #line 1433 "/home/jens/Source/shotwell/src/Photo.vala" _tmp26_ = self->row; #line 1433 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 11205 "Photo.c" +#line 11206 "Photo.c" } #line 1433 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -11219,7 +11220,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _g_object_unref0 (file); #line 1433 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 11221 "Photo.c" +#line 11222 "Photo.c" } } #line 1438 "/home/jens/Source/shotwell/src/Photo.vala" @@ -11240,7 +11241,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp31_ = _tmp30_->md5; #line 1440 "/home/jens/Source/shotwell/src/Photo.vala" if (g_strcmp0 (_tmp29_, _tmp31_) != 0) { -#line 11242 "Photo.c" +#line 11243 "Photo.c" gchar** _tmp32_ = NULL; gint _tmp32__length1 = 0; gchar* _tmp33_ = NULL; @@ -11252,7 +11253,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp33_ = g_strdup ("metadata:md5"); #line 1441 "/home/jens/Source/shotwell/src/Photo.vala" _vala_array_add254 (&list, &list_length1, &_list_size_, _tmp33_); -#line 11254 "Photo.c" +#line 11255 "Photo.c" } #line 1443 "/home/jens/Source/shotwell/src/Photo.vala" _tmp34_ = updated_row; @@ -11266,7 +11267,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp38_ = _tmp37_->original_orientation; #line 1443 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp36_ != _tmp38_) { -#line 11268 "Photo.c" +#line 11269 "Photo.c" gchar** _tmp39_ = NULL; gint _tmp39__length1 = 0; gchar* _tmp40_ = NULL; @@ -11292,7 +11293,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp44_ = _tmp43_->original_orientation; #line 1445 "/home/jens/Source/shotwell/src/Photo.vala" _tmp42_->original_orientation = _tmp44_; -#line 11294 "Photo.c" +#line 11295 "Photo.c" } #line 1448 "/home/jens/Source/shotwell/src/Photo.vala" _tmp45_ = detected; @@ -11300,7 +11301,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp46_ = _tmp45_->metadata; #line 1448 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp46_ != NULL) { -#line 11302 "Photo.c" +#line 11303 "Photo.c" MetadataDateTime* date_time = NULL; DetectedPhotoInformation* _tmp47_ = NULL; PhotoMetadata* _tmp48_ = NULL; @@ -11338,7 +11339,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp51_ = date_time; #line 1450 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp51_ != NULL) { -#line 11340 "Photo.c" +#line 11341 "Photo.c" PhotoRow* _tmp52_ = NULL; time_t _tmp53_ = 0; MetadataDateTime* _tmp54_ = NULL; @@ -11353,15 +11354,15 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp55_ = metadata_date_time_get_timestamp (_tmp54_); #line 1450 "/home/jens/Source/shotwell/src/Photo.vala" _tmp50_ = _tmp53_ != _tmp55_; -#line 11355 "Photo.c" +#line 11356 "Photo.c" } else { #line 1450 "/home/jens/Source/shotwell/src/Photo.vala" _tmp50_ = FALSE; -#line 11359 "Photo.c" +#line 11360 "Photo.c" } #line 1450 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp50_) { -#line 11363 "Photo.c" +#line 11364 "Photo.c" gchar** _tmp56_ = NULL; gint _tmp56__length1 = 0; gchar* _tmp57_ = NULL; @@ -11373,7 +11374,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp57_ = g_strdup ("metadata:exposure-time"); #line 1451 "/home/jens/Source/shotwell/src/Photo.vala" _vala_array_add256 (&list, &list_length1, &_list_size_, _tmp57_); -#line 11375 "Photo.c" +#line 11376 "Photo.c" } #line 1453 "/home/jens/Source/shotwell/src/Photo.vala" _tmp58_ = updated_row; @@ -11393,7 +11394,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _g_free0 (_tmp63_); #line 1453 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp64_) { -#line 11395 "Photo.c" +#line 11396 "Photo.c" gchar** _tmp65_ = NULL; gint _tmp65__length1 = 0; gchar* _tmp66_ = NULL; @@ -11405,7 +11406,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp66_ = g_strdup ("metadata:name"); #line 1454 "/home/jens/Source/shotwell/src/Photo.vala" _vala_array_add257 (&list, &list_length1, &_list_size_, _tmp66_); -#line 11407 "Photo.c" +#line 11408 "Photo.c" } #line 1456 "/home/jens/Source/shotwell/src/Photo.vala" _tmp67_ = updated_row; @@ -11425,7 +11426,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _g_free0 (_tmp72_); #line 1456 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp73_) { -#line 11427 "Photo.c" +#line 11428 "Photo.c" gchar** _tmp74_ = NULL; gint _tmp74__length1 = 0; gchar* _tmp75_ = NULL; @@ -11437,7 +11438,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp75_ = g_strdup ("metadata:comment"); #line 1457 "/home/jens/Source/shotwell/src/Photo.vala" _vala_array_add258 (&list, &list_length1, &_list_size_, _tmp75_); -#line 11439 "Photo.c" +#line 11440 "Photo.c" } #line 1459 "/home/jens/Source/shotwell/src/Photo.vala" _tmp76_ = updated_row; @@ -11451,7 +11452,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp80_ = photo_metadata_get_rating (_tmp79_); #line 1459 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp77_ != _tmp80_) { -#line 11453 "Photo.c" +#line 11454 "Photo.c" gchar** _tmp81_ = NULL; gint _tmp81__length1 = 0; gchar* _tmp82_ = NULL; @@ -11463,11 +11464,11 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp82_ = g_strdup ("metadata:rating"); #line 1460 "/home/jens/Source/shotwell/src/Photo.vala" _vala_array_add259 (&list, &list_length1, &_list_size_, _tmp82_); -#line 11465 "Photo.c" +#line 11466 "Photo.c" } #line 1448 "/home/jens/Source/shotwell/src/Photo.vala" _metadata_date_time_unref0 (date_time); -#line 11469 "Photo.c" +#line 11470 "Photo.c" } #line 1463 "/home/jens/Source/shotwell/src/Photo.vala" _tmp83_ = updated_row; @@ -11523,7 +11524,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp99_ = _tmp98_->metadata; #line 1469 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp99_ != NULL) { -#line 11525 "Photo.c" +#line 11526 "Photo.c" DetectedPhotoInformation* _tmp100_ = NULL; PhotoMetadata* _tmp101_ = NULL; PhotoMetadata* _tmp102_ = NULL; @@ -11566,7 +11567,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp106_ = date_time; #line 1473 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp106_ != NULL) { -#line 11568 "Photo.c" +#line 11569 "Photo.c" PhotoRow* _tmp107_ = NULL; MetadataDateTime* _tmp108_ = NULL; time_t _tmp109_ = 0; @@ -11578,7 +11579,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp109_ = metadata_date_time_get_timestamp (_tmp108_); #line 1474 "/home/jens/Source/shotwell/src/Photo.vala" _tmp107_->exposure_time = _tmp109_; -#line 11580 "Photo.c" +#line 11581 "Photo.c" } #line 1476 "/home/jens/Source/shotwell/src/Photo.vala" _tmp110_ = updated_row; @@ -11616,7 +11617,7 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat _tmp118_->rating = _tmp121_; #line 1469 "/home/jens/Source/shotwell/src/Photo.vala" _metadata_date_time_unref0 (date_time); -#line 11618 "Photo.c" +#line 11619 "Photo.c" } #line 1481 "/home/jens/Source/shotwell/src/Photo.vala" _tmp122_ = updated_row; @@ -11650,15 +11651,15 @@ gboolean photo_prepare_for_reimport_master (Photo* self, PhotoReimportMasterStat if (reimport_state) { #line 1483 "/home/jens/Source/shotwell/src/Photo.vala" *reimport_state = _vala_reimport_state; -#line 11652 "Photo.c" +#line 11653 "Photo.c" } else { #line 1483 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_master_state_unref0 (_vala_reimport_state); -#line 11656 "Photo.c" +#line 11657 "Photo.c" } #line 1483 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 11660 "Photo.c" +#line 11661 "Photo.c" } @@ -11667,7 +11668,7 @@ static void photo_real_apply_user_metadata_for_reimport (Photo* self, PhotoMetad g_critical ("Type `%s' does not implement abstract method `photo_apply_user_metadata_for_reimport'", g_type_name (G_TYPE_FROM_INSTANCE (self))); #line 1486 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 11669 "Photo.c" +#line 11670 "Photo.c" } @@ -11676,14 +11677,14 @@ void photo_apply_user_metadata_for_reimport (Photo* self, PhotoMetadata* metadat g_return_if_fail (IS_PHOTO (self)); #line 1486 "/home/jens/Source/shotwell/src/Photo.vala" PHOTO_GET_CLASS (self)->apply_user_metadata_for_reimport (self, metadata); -#line 11678 "Photo.c" +#line 11679 "Photo.c" } static gpointer _photo_reimport_master_state_ref0 (gpointer self) { #line 1490 "/home/jens/Source/shotwell/src/Photo.vala" return self ? photo_reimport_master_state_ref (self) : NULL; -#line 11685 "Photo.c" +#line 11686 "Photo.c" } @@ -11694,13 +11695,13 @@ static void _vala_array_add260 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 1508 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 11696 "Photo.c" +#line 11697 "Photo.c" } #line 1508 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 1508 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 11702 "Photo.c" +#line 11703 "Photo.c" } @@ -11711,13 +11712,13 @@ static void _vala_array_add261 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 1510 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 11713 "Photo.c" +#line 11714 "Photo.c" } #line 1510 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 1510 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 11719 "Photo.c" +#line 11720 "Photo.c" } @@ -11766,7 +11767,7 @@ void photo_finish_reimport_master (Photo* self, PhotoReimportMasterState* state, _photo_reimport_master_state_unref0 (reimport_state); #line 1492 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 11768 "Photo.c" +#line 11769 "Photo.c" } else { #line 1492 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_master_state_unref0 (reimport_state); @@ -11776,7 +11777,7 @@ void photo_finish_reimport_master (Photo* self, PhotoReimportMasterState* state, g_clear_error (&_inner_error_); #line 1492 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 11778 "Photo.c" +#line 11779 "Photo.c" } } { @@ -11785,7 +11786,7 @@ void photo_finish_reimport_master (Photo* self, PhotoReimportMasterState* state, _tmp5_ = self->row; #line 1494 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 11787 "Photo.c" +#line 11788 "Photo.c" { BackingPhotoRow* original_master = NULL; PhotoRow* _tmp6_ = NULL; @@ -11843,20 +11844,20 @@ void photo_finish_reimport_master (Photo* self, PhotoReimportMasterState* state, if (!_tmp18_) { #line 1501 "/home/jens/Source/shotwell/src/Photo.vala" photo_internal_remove_all_transformations (self, FALSE); -#line 11845 "Photo.c" +#line 11846 "Photo.c" } #line 1494 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (original_master); -#line 11849 "Photo.c" +#line 11850 "Photo.c" } - __finally292: + __finally305: { PhotoRow* _tmp19_ = NULL; #line 1494 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = self->row; #line 1494 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 11858 "Photo.c" +#line 11859 "Photo.c" } #line 1494 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -11868,7 +11869,7 @@ void photo_finish_reimport_master (Photo* self, PhotoReimportMasterState* state, _photo_reimport_master_state_unref0 (reimport_state); #line 1494 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 11870 "Photo.c" +#line 11871 "Photo.c" } else { #line 1494 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_master_state_unref0 (reimport_state); @@ -11878,7 +11879,7 @@ void photo_finish_reimport_master (Photo* self, PhotoReimportMasterState* state, g_clear_error (&_inner_error_); #line 1494 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 11880 "Photo.c" +#line 11881 "Photo.c" } } } @@ -11886,19 +11887,19 @@ void photo_finish_reimport_master (Photo* self, PhotoReimportMasterState* state, _tmp20_ = reimport_state->metadata; #line 1504 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp20_ != NULL) { -#line 11888 "Photo.c" +#line 11889 "Photo.c" PhotoMetadata* _tmp21_ = NULL; #line 1505 "/home/jens/Source/shotwell/src/Photo.vala" _tmp21_ = reimport_state->metadata; #line 1505 "/home/jens/Source/shotwell/src/Photo.vala" photo_apply_user_metadata_for_reimport (self, _tmp21_); -#line 11894 "Photo.c" +#line 11895 "Photo.c" } #line 1507 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = reimport_state->metadata_only; #line 1507 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp22_) { -#line 11900 "Photo.c" +#line 11901 "Photo.c" gchar** _tmp23_ = NULL; gint _tmp23__length1 = 0; gchar* _tmp24_ = NULL; @@ -11915,7 +11916,7 @@ void photo_finish_reimport_master (Photo* self, PhotoReimportMasterState* state, _tmp25_ = photo_is_master_baseline (self); #line 1509 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp25_) { -#line 11917 "Photo.c" +#line 11918 "Photo.c" gchar** _tmp26_ = NULL; gint _tmp26__length1 = 0; gchar* _tmp27_ = NULL; @@ -11927,7 +11928,7 @@ void photo_finish_reimport_master (Photo* self, PhotoReimportMasterState* state, _tmp27_ = g_strdup ("image:baseline"); #line 1510 "/home/jens/Source/shotwell/src/Photo.vala" _vala_array_add261 (&reimport_state->alterations, &reimport_state->alterations_length1, &reimport_state->_alterations_size_, _tmp27_); -#line 11929 "Photo.c" +#line 11930 "Photo.c" } } #line 1513 "/home/jens/Source/shotwell/src/Photo.vala" @@ -11936,7 +11937,7 @@ void photo_finish_reimport_master (Photo* self, PhotoReimportMasterState* state, _tmp28__length1 = reimport_state->alterations_length1; #line 1513 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp28__length1 > 0) { -#line 11938 "Photo.c" +#line 11939 "Photo.c" gchar** _tmp29_ = NULL; gint _tmp29__length1 = 0; Alteration* _tmp30_ = NULL; @@ -11953,7 +11954,7 @@ void photo_finish_reimport_master (Photo* self, PhotoReimportMasterState* state, data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp31_); #line 1514 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp31_); -#line 11955 "Photo.c" +#line 11956 "Photo.c" } #line 1516 "/home/jens/Source/shotwell/src/Photo.vala" _tmp32_ = reimport_state->metadata; @@ -11963,29 +11964,29 @@ void photo_finish_reimport_master (Photo* self, PhotoReimportMasterState* state, _tmp33_ = photo_is_master_baseline (self); #line 1518 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp33_) { -#line 11965 "Photo.c" +#line 11966 "Photo.c" PhotoMetadata* _tmp34_ = NULL; #line 1519 "/home/jens/Source/shotwell/src/Photo.vala" _tmp34_ = reimport_state->metadata; #line 1519 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_baseline_reimported (self, _tmp34_); -#line 11971 "Photo.c" +#line 11972 "Photo.c" } #line 1521 "/home/jens/Source/shotwell/src/Photo.vala" _tmp35_ = photo_is_master_source (self); #line 1521 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp35_) { -#line 11977 "Photo.c" +#line 11978 "Photo.c" PhotoMetadata* _tmp36_ = NULL; #line 1522 "/home/jens/Source/shotwell/src/Photo.vala" _tmp36_ = reimport_state->metadata; #line 1522 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_source_reimported (self, _tmp36_); -#line 11983 "Photo.c" +#line 11984 "Photo.c" } #line 1489 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_master_state_unref0 (reimport_state); -#line 11987 "Photo.c" +#line 11988 "Photo.c" } @@ -12024,7 +12025,7 @@ static gboolean photo_verify_file_for_reimport (Photo* self, GFile* file, Backin g_propagate_error (error, _inner_error_); #line 1528 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 12026 "Photo.c" +#line 12027 "Photo.c" } #line 1528 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = _tmp0_; @@ -12046,25 +12047,25 @@ static gboolean photo_verify_file_for_reimport (Photo* self, GFile* file, Backin if (backing) { #line 1531 "/home/jens/Source/shotwell/src/Photo.vala" *backing = _vala_backing; -#line 12048 "Photo.c" +#line 12049 "Photo.c" } else { #line 1531 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_vala_backing); -#line 12052 "Photo.c" +#line 12053 "Photo.c" } #line 1531 "/home/jens/Source/shotwell/src/Photo.vala" if (detected) { #line 1531 "/home/jens/Source/shotwell/src/Photo.vala" *detected = _vala_detected; -#line 12058 "Photo.c" +#line 12059 "Photo.c" } else { #line 1531 "/home/jens/Source/shotwell/src/Photo.vala" _detected_photo_information_unref0 (_vala_detected); -#line 12062 "Photo.c" +#line 12063 "Photo.c" } #line 1531 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 12066 "Photo.c" +#line 12067 "Photo.c" } #line 1535 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = _vala_detected; @@ -12074,7 +12075,7 @@ static gboolean photo_verify_file_for_reimport (Photo* self, GFile* file, Backin if (_tmp9_ != GDK_COLORSPACE_RGB) { #line 1535 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = TRUE; -#line 12076 "Photo.c" +#line 12077 "Photo.c" } else { DetectedPhotoInformation* _tmp10_ = NULL; gint _tmp11_ = 0; @@ -12084,13 +12085,13 @@ static gboolean photo_verify_file_for_reimport (Photo* self, GFile* file, Backin _tmp11_ = _tmp10_->channels; #line 1536 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = _tmp11_ < 3; -#line 12086 "Photo.c" +#line 12087 "Photo.c" } #line 1535 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp7_) { #line 1535 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = TRUE; -#line 12092 "Photo.c" +#line 12093 "Photo.c" } else { DetectedPhotoInformation* _tmp12_ = NULL; gint _tmp13_ = 0; @@ -12100,11 +12101,11 @@ static gboolean photo_verify_file_for_reimport (Photo* self, GFile* file, Backin _tmp13_ = _tmp12_->bits_per_channel; #line 1537 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = _tmp13_ != 8; -#line 12102 "Photo.c" +#line 12103 "Photo.c" } #line 1535 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp6_) { -#line 12106 "Photo.c" +#line 12107 "Photo.c" GFile* _tmp14_ = NULL; gchar* _tmp15_ = NULL; gchar* _tmp16_ = NULL; @@ -12126,25 +12127,25 @@ static gboolean photo_verify_file_for_reimport (Photo* self, GFile* file, Backin if (backing) { #line 1540 "/home/jens/Source/shotwell/src/Photo.vala" *backing = _vala_backing; -#line 12128 "Photo.c" +#line 12129 "Photo.c" } else { #line 1540 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_vala_backing); -#line 12132 "Photo.c" +#line 12133 "Photo.c" } #line 1540 "/home/jens/Source/shotwell/src/Photo.vala" if (detected) { #line 1540 "/home/jens/Source/shotwell/src/Photo.vala" *detected = _vala_detected; -#line 12138 "Photo.c" +#line 12139 "Photo.c" } else { #line 1540 "/home/jens/Source/shotwell/src/Photo.vala" _detected_photo_information_unref0 (_vala_detected); -#line 12142 "Photo.c" +#line 12143 "Photo.c" } #line 1540 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 12146 "Photo.c" +#line 12147 "Photo.c" } #line 1543 "/home/jens/Source/shotwell/src/Photo.vala" result = TRUE; @@ -12154,25 +12155,25 @@ static gboolean photo_verify_file_for_reimport (Photo* self, GFile* file, Backin if (backing) { #line 1543 "/home/jens/Source/shotwell/src/Photo.vala" *backing = _vala_backing; -#line 12156 "Photo.c" +#line 12157 "Photo.c" } else { #line 1543 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_vala_backing); -#line 12160 "Photo.c" +#line 12161 "Photo.c" } #line 1543 "/home/jens/Source/shotwell/src/Photo.vala" if (detected) { #line 1543 "/home/jens/Source/shotwell/src/Photo.vala" *detected = _vala_detected; -#line 12166 "Photo.c" +#line 12167 "Photo.c" } else { #line 1543 "/home/jens/Source/shotwell/src/Photo.vala" _detected_photo_information_unref0 (_vala_detected); -#line 12170 "Photo.c" +#line 12171 "Photo.c" } #line 1543 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 12174 "Photo.c" +#line 12175 "Photo.c" } @@ -12216,15 +12217,15 @@ gboolean photo_prepare_for_reimport_editable (Photo* self, PhotoReimportEditable if (state) { #line 1552 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 12218 "Photo.c" +#line 12219 "Photo.c" } else { #line 1552 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_editable_state_unref0 (_vala_state); -#line 12222 "Photo.c" +#line 12223 "Photo.c" } #line 1552 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 12226 "Photo.c" +#line 12227 "Photo.c" } #line 1556 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = file; @@ -12252,7 +12253,7 @@ gboolean photo_prepare_for_reimport_editable (Photo* self, PhotoReimportEditable _g_object_unref0 (file); #line 1556 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 12254 "Photo.c" +#line 12255 "Photo.c" } #line 1556 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp2_) { @@ -12268,15 +12269,15 @@ gboolean photo_prepare_for_reimport_editable (Photo* self, PhotoReimportEditable if (state) { #line 1557 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 12270 "Photo.c" +#line 12271 "Photo.c" } else { #line 1557 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_editable_state_unref0 (_vala_state); -#line 12274 "Photo.c" +#line 12275 "Photo.c" } #line 1557 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 12278 "Photo.c" +#line 12279 "Photo.c" } #line 1559 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = backing; @@ -12302,22 +12303,22 @@ gboolean photo_prepare_for_reimport_editable (Photo* self, PhotoReimportEditable if (state) { #line 1561 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 12304 "Photo.c" +#line 12305 "Photo.c" } else { #line 1561 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_editable_state_unref0 (_vala_state); -#line 12308 "Photo.c" +#line 12309 "Photo.c" } #line 1561 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 12312 "Photo.c" +#line 12313 "Photo.c" } static gpointer _photo_reimport_editable_state_ref0 (gpointer self) { #line 1570 "/home/jens/Source/shotwell/src/Photo.vala" return self ? photo_reimport_editable_state_ref (self) : NULL; -#line 12319 "Photo.c" +#line 12320 "Photo.c" } @@ -12358,7 +12359,7 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st if (_tmp1_) { #line 1568 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 12360 "Photo.c" +#line 12361 "Photo.c" } #line 1570 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = state; @@ -12372,7 +12373,7 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st _tmp5_ = _tmp4_->metadata_only; #line 1572 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp5_) { -#line 12374 "Photo.c" +#line 12375 "Photo.c" BackingPhotoTable* _tmp6_ = NULL; BackingPhotoTable* _tmp7_ = NULL; PhotoReimportEditableStateImpl* _tmp8_ = NULL; @@ -12399,7 +12400,7 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st _photo_reimport_editable_state_unref0 (reimport_state); #line 1573 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 12401 "Photo.c" +#line 12402 "Photo.c" } else { #line 1573 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_editable_state_unref0 (reimport_state); @@ -12409,7 +12410,7 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st g_clear_error (&_inner_error_); #line 1573 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 12411 "Photo.c" +#line 12412 "Photo.c" } } { @@ -12418,7 +12419,7 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st _tmp10_ = self->row; #line 1575 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 12420 "Photo.c" +#line 12421 "Photo.c" { PhotoReimportEditableStateImpl* _tmp11_ = NULL; BackingPhotoRow* _tmp12_ = NULL; @@ -12446,16 +12447,16 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st photo_set_orientation (self, _tmp16_); #line 1578 "/home/jens/Source/shotwell/src/Photo.vala" photo_internal_remove_all_transformations (self, FALSE); -#line 12448 "Photo.c" +#line 12449 "Photo.c" } - __finally293: + __finally306: { PhotoRow* _tmp17_ = NULL; #line 1575 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = self->row; #line 1575 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 12457 "Photo.c" +#line 12458 "Photo.c" } #line 1575 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -12467,7 +12468,7 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st _photo_reimport_editable_state_unref0 (reimport_state); #line 1575 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 12469 "Photo.c" +#line 12470 "Photo.c" } else { #line 1575 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_editable_state_unref0 (reimport_state); @@ -12477,7 +12478,7 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st g_clear_error (&_inner_error_); #line 1575 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 12479 "Photo.c" +#line 12480 "Photo.c" } } } @@ -12493,7 +12494,7 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st _tmp20_ = _tmp19_->original_orientation; #line 1581 "/home/jens/Source/shotwell/src/Photo.vala" photo_set_orientation (self, _tmp20_); -#line 12495 "Photo.c" +#line 12496 "Photo.c" } #line 1584 "/home/jens/Source/shotwell/src/Photo.vala" _tmp21_ = reimport_state; @@ -12501,7 +12502,7 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st _tmp22_ = _tmp21_->metadata; #line 1584 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp22_ != NULL) { -#line 12503 "Photo.c" +#line 12504 "Photo.c" PhotoReimportEditableStateImpl* _tmp23_ = NULL; PhotoMetadata* _tmp24_ = NULL; gchar* _tmp25_ = NULL; @@ -12553,7 +12554,7 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st _tmp35_ = _tmp34_->metadata; #line 1588 "/home/jens/Source/shotwell/src/Photo.vala" photo_apply_user_metadata_for_reimport (self, _tmp35_); -#line 12555 "Photo.c" +#line 12556 "Photo.c" } #line 1591 "/home/jens/Source/shotwell/src/Photo.vala" _tmp36_ = g_strdup ("metadata:name,image:orientation,metadata:rating,metadata:exposure-time"); @@ -12565,7 +12566,7 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st _tmp38_ = _tmp37_->metadata_only; #line 1592 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp38_) { -#line 12567 "Photo.c" +#line 12568 "Photo.c" const gchar* _tmp39_ = NULL; gchar* _tmp40_ = NULL; #line 1593 "/home/jens/Source/shotwell/src/Photo.vala" @@ -12576,7 +12577,7 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st _g_free0 (list); #line 1593 "/home/jens/Source/shotwell/src/Photo.vala" list = _tmp40_; -#line 12578 "Photo.c" +#line 12579 "Photo.c" } #line 1595 "/home/jens/Source/shotwell/src/Photo.vala" _tmp41_ = list; @@ -12598,7 +12599,7 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st _tmp46_ = photo_is_editable_baseline (self); #line 1599 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp46_) { -#line 12600 "Photo.c" +#line 12601 "Photo.c" PhotoReimportEditableStateImpl* _tmp47_ = NULL; PhotoMetadata* _tmp48_ = NULL; #line 1600 "/home/jens/Source/shotwell/src/Photo.vala" @@ -12607,13 +12608,13 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st _tmp48_ = _tmp47_->metadata; #line 1600 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_baseline_reimported (self, _tmp48_); -#line 12609 "Photo.c" +#line 12610 "Photo.c" } #line 1602 "/home/jens/Source/shotwell/src/Photo.vala" _tmp49_ = photo_is_editable_source (self); #line 1602 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp49_) { -#line 12615 "Photo.c" +#line 12616 "Photo.c" PhotoReimportEditableStateImpl* _tmp50_ = NULL; PhotoMetadata* _tmp51_ = NULL; #line 1603 "/home/jens/Source/shotwell/src/Photo.vala" @@ -12622,20 +12623,20 @@ void photo_finish_reimport_editable (Photo* self, PhotoReimportEditableState* st _tmp51_ = _tmp50_->metadata; #line 1603 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_source_reimported (self, _tmp51_); -#line 12624 "Photo.c" +#line 12625 "Photo.c" } #line 1565 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (list); #line 1565 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_editable_state_unref0 (reimport_state); -#line 12630 "Photo.c" +#line 12631 "Photo.c" } static gpointer _photo_reimport_raw_development_state_ref0 (gpointer self) { #line 1625 "/home/jens/Source/shotwell/src/Photo.vala" return self ? photo_reimport_raw_development_state_ref (self) : NULL; -#line 12637 "Photo.c" +#line 12638 "Photo.c" } @@ -12674,21 +12675,21 @@ gboolean photo_prepare_for_reimport_raw_development (Photo* self, PhotoReimportR if (state) { #line 1612 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 12676 "Photo.c" +#line 12677 "Photo.c" } else { #line 1612 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_raw_development_state_unref0 (_vala_state); -#line 12680 "Photo.c" +#line 12681 "Photo.c" } #line 1612 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 12684 "Photo.c" +#line 12685 "Photo.c" } #line 1614 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = photo_reimport_raw_development_state_impl_new (); #line 1614 "/home/jens/Source/shotwell/src/Photo.vala" reimport_state = _tmp2_; -#line 12690 "Photo.c" +#line 12691 "Photo.c" { GeeIterator* _file_it = NULL; GeeCollection* _tmp3_ = NULL; @@ -12701,7 +12702,7 @@ gboolean photo_prepare_for_reimport_raw_development (Photo* self, PhotoReimportR _file_it = _tmp4_; #line 1616 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 12703 "Photo.c" +#line 12704 "Photo.c" GeeIterator* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; GFile* file = NULL; @@ -12726,7 +12727,7 @@ gboolean photo_prepare_for_reimport_raw_development (Photo* self, PhotoReimportR if (!_tmp6_) { #line 1616 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 12728 "Photo.c" +#line 12729 "Photo.c" } #line 1616 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = _file_it; @@ -12766,7 +12767,7 @@ gboolean photo_prepare_for_reimport_raw_development (Photo* self, PhotoReimportR _g_object_unref0 (files); #line 1619 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 12768 "Photo.c" +#line 12769 "Photo.c" } #line 1619 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp9_) { @@ -12778,7 +12779,7 @@ gboolean photo_prepare_for_reimport_raw_development (Photo* self, PhotoReimportR _g_object_unref0 (file); #line 1620 "/home/jens/Source/shotwell/src/Photo.vala" continue; -#line 12780 "Photo.c" +#line 12781 "Photo.c" } #line 1622 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = reimport_state; @@ -12796,11 +12797,11 @@ gboolean photo_prepare_for_reimport_raw_development (Photo* self, PhotoReimportR _detected_photo_information_unref0 (detected); #line 1616 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (file); -#line 12798 "Photo.c" +#line 12799 "Photo.c" } #line 1616 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_file_it); -#line 12802 "Photo.c" +#line 12803 "Photo.c" } #line 1625 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = reimport_state; @@ -12824,15 +12825,15 @@ gboolean photo_prepare_for_reimport_raw_development (Photo* self, PhotoReimportR if (state) { #line 1626 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 12826 "Photo.c" +#line 12827 "Photo.c" } else { #line 1626 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_raw_development_state_unref0 (_vala_state); -#line 12830 "Photo.c" +#line 12831 "Photo.c" } #line 1626 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 12834 "Photo.c" +#line 12835 "Photo.c" } @@ -12859,7 +12860,7 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop if (_tmp0_ != PHOTO_FILE_FORMAT_RAW) { #line 1632 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 12861 "Photo.c" +#line 12862 "Photo.c" } #line 1634 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = state; @@ -12867,7 +12868,7 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop _tmp2_ = _photo_reimport_raw_development_state_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PHOTO_TYPE_REIMPORT_RAW_DEVELOPMENT_STATE_IMPL, PhotoReimportRawDevelopmentStateImpl)); #line 1634 "/home/jens/Source/shotwell/src/Photo.vala" reimport_state = _tmp2_; -#line 12869 "Photo.c" +#line 12870 "Photo.c" { GeeIterator* _dev_it = NULL; PhotoReimportRawDevelopmentStateImpl* _tmp3_ = NULL; @@ -12883,7 +12884,7 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop _dev_it = _tmp5_; #line 1636 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 12885 "Photo.c" +#line 12886 "Photo.c" GeeIterator* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; PhotoReimportRawDevelopmentStateImplDevToReimport* dev = NULL; @@ -12899,7 +12900,7 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop if (!_tmp7_) { #line 1636 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 12901 "Photo.c" +#line 12902 "Photo.c" } #line 1636 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = _dev_it; @@ -12913,7 +12914,7 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop _tmp11_ = _tmp10_->metadata_only; #line 1637 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp11_) { -#line 12915 "Photo.c" +#line 12916 "Photo.c" BackingPhotoTable* _tmp12_ = NULL; BackingPhotoTable* _tmp13_ = NULL; PhotoReimportRawDevelopmentStateImplDevToReimport* _tmp14_ = NULL; @@ -12944,7 +12945,7 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop _photo_reimport_raw_development_state_unref0 (reimport_state); #line 1638 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 12946 "Photo.c" +#line 12947 "Photo.c" } else { #line 1638 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_raw_development_state_impl_dev_to_reimport_unref0 (dev); @@ -12958,7 +12959,7 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop g_clear_error (&_inner_error_); #line 1638 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 12960 "Photo.c" +#line 12961 "Photo.c" } } { @@ -12967,13 +12968,13 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop _tmp16_ = self->row; #line 1640 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 12969 "Photo.c" +#line 12970 "Photo.c" { gint _tmp17_ = 0; RawDeveloper* _tmp18_ = NULL; #line 1642 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = raw_developer_as_array (&_tmp17_); -#line 12975 "Photo.c" +#line 12976 "Photo.c" { RawDeveloper* d_collection = NULL; gint d_collection_length1 = 0; @@ -12985,11 +12986,11 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop d_collection_length1 = _tmp17_; #line 1642 "/home/jens/Source/shotwell/src/Photo.vala" for (d_it = 0; d_it < _tmp17_; d_it = d_it + 1) { -#line 12987 "Photo.c" +#line 12988 "Photo.c" RawDeveloper d = 0; #line 1642 "/home/jens/Source/shotwell/src/Photo.vala" d = d_collection[d_it]; -#line 12991 "Photo.c" +#line 12992 "Photo.c" { BackingPhotoID id = {0}; PhotoRow* _tmp19_ = NULL; @@ -13017,7 +13018,7 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop _tmp24_ = _tmp23_.id; #line 1644 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp24_ != BACKING_PHOTO_ID_INVALID) { -#line 13019 "Photo.c" +#line 13020 "Photo.c" BackingPhotoRow* bpr = NULL; BackingPhotoID _tmp25_ = {0}; BackingPhotoRow* _tmp26_ = NULL; @@ -13032,7 +13033,7 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop _tmp27_ = bpr; #line 1646 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp27_ != NULL) { -#line 13034 "Photo.c" +#line 13035 "Photo.c" GeeHashMap* _tmp28_ = NULL; RawDeveloper _tmp29_ = 0; BackingPhotoRow* _tmp30_ = NULL; @@ -13044,27 +13045,27 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop _tmp30_ = bpr; #line 1647 "/home/jens/Source/shotwell/src/Photo.vala" gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) _tmp29_), _tmp30_); -#line 13046 "Photo.c" +#line 13047 "Photo.c" } #line 1644 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (bpr); -#line 13050 "Photo.c" +#line 13051 "Photo.c" } } } #line 1642 "/home/jens/Source/shotwell/src/Photo.vala" d_collection = (g_free (d_collection), NULL); -#line 13056 "Photo.c" +#line 13057 "Photo.c" } } - __finally294: + __finally307: { PhotoRow* _tmp31_ = NULL; #line 1640 "/home/jens/Source/shotwell/src/Photo.vala" _tmp31_ = self->row; #line 1640 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 13066 "Photo.c" +#line 13067 "Photo.c" } #line 1640 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -13080,7 +13081,7 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop _photo_reimport_raw_development_state_unref0 (reimport_state); #line 1640 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 13082 "Photo.c" +#line 13083 "Photo.c" } else { #line 1640 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_raw_development_state_impl_dev_to_reimport_unref0 (dev); @@ -13094,18 +13095,18 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop g_clear_error (&_inner_error_); #line 1640 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 13096 "Photo.c" +#line 13097 "Photo.c" } } } } #line 1636 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_raw_development_state_impl_dev_to_reimport_unref0 (dev); -#line 13103 "Photo.c" +#line 13104 "Photo.c" } #line 1636 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_dev_it); -#line 13107 "Photo.c" +#line 13108 "Photo.c" } #line 1654 "/home/jens/Source/shotwell/src/Photo.vala" _tmp32_ = g_strdup ("metadata:name,image:orientation,metadata:rating,metadata:exposure-time"); @@ -13117,7 +13118,7 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop _tmp34_ = _tmp33_->metadata_only; #line 1655 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp34_) { -#line 13119 "Photo.c" +#line 13120 "Photo.c" const gchar* _tmp35_ = NULL; gchar* _tmp36_ = NULL; #line 1656 "/home/jens/Source/shotwell/src/Photo.vala" @@ -13128,7 +13129,7 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop _g_free0 (list); #line 1656 "/home/jens/Source/shotwell/src/Photo.vala" list = _tmp36_; -#line 13130 "Photo.c" +#line 13131 "Photo.c" } #line 1658 "/home/jens/Source/shotwell/src/Photo.vala" _tmp37_ = list; @@ -13146,7 +13147,7 @@ void photo_finish_reimport_raw_development (Photo* self, PhotoReimportRawDevelop _g_free0 (list); #line 1630 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_raw_development_state_unref0 (reimport_state); -#line 13148 "Photo.c" +#line 13149 "Photo.c" } @@ -13162,7 +13163,7 @@ static gchar* photo_real_get_typename (DataSource* base) { result = _tmp0_; #line 1664 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 13164 "Photo.c" +#line 13165 "Photo.c" } @@ -13181,7 +13182,7 @@ static gint64 photo_real_get_instance_id (DataSource* base) { result = _tmp1_; #line 1668 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 13183 "Photo.c" +#line 13184 "Photo.c" } @@ -13211,7 +13212,7 @@ static gchar* photo_real_get_source_id (DataSource* base) { result = _tmp4_; #line 1675 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 13213 "Photo.c" +#line 13214 "Photo.c" } @@ -13231,7 +13232,7 @@ void photo_set_master_timestamp (Photo* self, GFileInfo* info) { g_file_info_get_modification_time (_tmp0_, &_tmp1_); #line 1680 "/home/jens/Source/shotwell/src/Photo.vala" modification = _tmp1_; -#line 13233 "Photo.c" +#line 13234 "Photo.c" { { PhotoRow* _tmp2_ = NULL; @@ -13239,7 +13240,7 @@ void photo_set_master_timestamp (Photo* self, GFileInfo* info) { _tmp2_ = self->row; #line 1683 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 13241 "Photo.c" +#line 13242 "Photo.c" { PhotoRow* _tmp3_ = NULL; BackingPhotoRow* _tmp4_ = NULL; @@ -13268,18 +13269,18 @@ void photo_set_master_timestamp (Photo* self, GFileInfo* info) { _tmp7_ = _tmp6_.tv_sec; #line 1684 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp5_ == ((time_t) _tmp7_)) { -#line 13270 "Photo.c" +#line 13271 "Photo.c" { PhotoRow* _tmp8_ = NULL; #line 1683 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = self->row; #line 1683 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 13277 "Photo.c" +#line 13278 "Photo.c" } #line 1685 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 13281 "Photo.c" +#line 13282 "Photo.c" } #line 1687 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_ = photo_table_get_instance (); @@ -13299,8 +13300,8 @@ void photo_set_master_timestamp (Photo* self, GFileInfo* info) { _database_table_unref0 (_tmp10_); #line 1687 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 13301 "Photo.c" - goto __finally296; +#line 13302 "Photo.c" + goto __finally309; } #line 1688 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = self->row; @@ -13312,23 +13313,23 @@ void photo_set_master_timestamp (Photo* self, GFileInfo* info) { _tmp18_ = _tmp17_.tv_sec; #line 1688 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_->timestamp = (time_t) _tmp18_; -#line 13314 "Photo.c" +#line 13315 "Photo.c" } - __finally296: + __finally309: { PhotoRow* _tmp19_ = NULL; #line 1683 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = self->row; #line 1683 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 13323 "Photo.c" +#line 13324 "Photo.c" } #line 1683 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1683 "/home/jens/Source/shotwell/src/Photo.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 13329 "Photo.c" - goto __catch295_database_error; +#line 13330 "Photo.c" + goto __catch308_database_error; } #line 1683 "/home/jens/Source/shotwell/src/Photo.vala" 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); @@ -13336,12 +13337,12 @@ void photo_set_master_timestamp (Photo* self, GFileInfo* info) { g_clear_error (&_inner_error_); #line 1683 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 13338 "Photo.c" +#line 13339 "Photo.c" } } } - goto __finally295; - __catch295_database_error: + goto __finally308; + __catch308_database_error: { GError* err = NULL; GError* _tmp20_ = NULL; @@ -13357,9 +13358,9 @@ void photo_set_master_timestamp (Photo* self, GFileInfo* info) { _g_error_free0 (err); #line 1693 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 13359 "Photo.c" +#line 13360 "Photo.c" } - __finally295: + __finally308: #line 1682 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1682 "/home/jens/Source/shotwell/src/Photo.vala" @@ -13368,13 +13369,13 @@ void photo_set_master_timestamp (Photo* self, GFileInfo* info) { g_clear_error (&_inner_error_); #line 1682 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 13370 "Photo.c" +#line 13371 "Photo.c" } #line 1696 "/home/jens/Source/shotwell/src/Photo.vala" _tmp21_ = photo_is_master_baseline (self); #line 1696 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp21_) { -#line 13376 "Photo.c" +#line 13377 "Photo.c" Alteration* _tmp22_ = NULL; Alteration* _tmp23_ = NULL; #line 1697 "/home/jens/Source/shotwell/src/Photo.vala" @@ -13385,7 +13386,7 @@ void photo_set_master_timestamp (Photo* self, GFileInfo* info) { data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp23_); #line 1697 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp23_); -#line 13387 "Photo.c" +#line 13388 "Photo.c" } else { Alteration* _tmp24_ = NULL; Alteration* _tmp25_ = NULL; @@ -13397,7 +13398,7 @@ void photo_set_master_timestamp (Photo* self, GFileInfo* info) { data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp25_); #line 1699 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp25_); -#line 13399 "Photo.c" +#line 13400 "Photo.c" } } @@ -13421,14 +13422,14 @@ void photo_update_editable_modification_time (Photo* self, GFileInfo* info, GErr modification = _tmp1_; #line 1706 "/home/jens/Source/shotwell/src/Photo.vala" altered = FALSE; -#line 13423 "Photo.c" +#line 13424 "Photo.c" { PhotoRow* _tmp2_ = NULL; #line 1707 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = self->row; #line 1707 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 13430 "Photo.c" +#line 13431 "Photo.c" { gboolean _tmp3_ = FALSE; PhotoRow* _tmp4_ = NULL; @@ -13439,7 +13440,7 @@ void photo_update_editable_modification_time (Photo* self, GFileInfo* info, GErr _tmp5_ = backing_photo_id_is_valid (&_tmp4_->editable_id); #line 1708 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp5_) { -#line 13441 "Photo.c" +#line 13442 "Photo.c" BackingPhotoRow* _tmp6_ = NULL; time_t _tmp7_ = 0; GTimeVal _tmp8_ = {0}; @@ -13454,15 +13455,15 @@ void photo_update_editable_modification_time (Photo* self, GFileInfo* info, GErr _tmp9_ = _tmp8_.tv_sec; #line 1708 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = _tmp7_ != ((time_t) _tmp9_); -#line 13456 "Photo.c" +#line 13457 "Photo.c" } else { #line 1708 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = FALSE; -#line 13460 "Photo.c" +#line 13461 "Photo.c" } #line 1708 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp3_) { -#line 13464 "Photo.c" +#line 13465 "Photo.c" BackingPhotoTable* _tmp10_ = NULL; BackingPhotoTable* _tmp11_ = NULL; PhotoRow* _tmp12_ = NULL; @@ -13490,8 +13491,8 @@ void photo_update_editable_modification_time (Photo* self, GFileInfo* info, GErr _database_table_unref0 (_tmp11_); #line 1709 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 13492 "Photo.c" - goto __finally297; +#line 13493 "Photo.c" + goto __finally310; } #line 1711 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = self->priv->editable; @@ -13503,17 +13504,17 @@ void photo_update_editable_modification_time (Photo* self, GFileInfo* info, GErr _tmp16_->timestamp = (time_t) _tmp18_; #line 1712 "/home/jens/Source/shotwell/src/Photo.vala" altered = TRUE; -#line 13505 "Photo.c" +#line 13506 "Photo.c" } } - __finally297: + __finally310: { PhotoRow* _tmp19_ = NULL; #line 1707 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = self->row; #line 1707 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 13515 "Photo.c" +#line 13516 "Photo.c" } #line 1707 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -13523,7 +13524,7 @@ void photo_update_editable_modification_time (Photo* self, GFileInfo* info, GErr g_propagate_error (error, _inner_error_); #line 1707 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 13525 "Photo.c" +#line 13526 "Photo.c" } else { #line 1707 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -13531,7 +13532,7 @@ void photo_update_editable_modification_time (Photo* self, GFileInfo* info, GErr g_clear_error (&_inner_error_); #line 1707 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 13533 "Photo.c" +#line 13534 "Photo.c" } } } @@ -13539,7 +13540,7 @@ void photo_update_editable_modification_time (Photo* self, GFileInfo* info, GErr _tmp20_ = altered; #line 1716 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp20_) { -#line 13541 "Photo.c" +#line 13542 "Photo.c" Alteration* _tmp21_ = NULL; Alteration* _tmp22_ = NULL; #line 1717 "/home/jens/Source/shotwell/src/Photo.vala" @@ -13550,7 +13551,7 @@ void photo_update_editable_modification_time (Photo* self, GFileInfo* info, GErr data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp22_); #line 1717 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp22_); -#line 13552 "Photo.c" +#line 13553 "Photo.c" } } @@ -13561,7 +13562,7 @@ void photo_update_many_editable_timestamps (GeeMap* map, GError** error) { g_return_if_fail (GEE_IS_MAP (map)); #line 1723 "/home/jens/Source/shotwell/src/Photo.vala" database_table_begin_transaction (); -#line 13563 "Photo.c" +#line 13564 "Photo.c" { GeeIterator* _photo_it = NULL; GeeMap* _tmp0_ = NULL; @@ -13588,7 +13589,7 @@ void photo_update_many_editable_timestamps (GeeMap* map, GError** error) { _photo_it = _tmp5_; #line 1724 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 13590 "Photo.c" +#line 13591 "Photo.c" GeeIterator* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; Photo* photo = NULL; @@ -13607,7 +13608,7 @@ void photo_update_many_editable_timestamps (GeeMap* map, GError** error) { if (!_tmp7_) { #line 1724 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 13609 "Photo.c" +#line 13610 "Photo.c" } #line 1724 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = _photo_it; @@ -13641,7 +13642,7 @@ void photo_update_many_editable_timestamps (GeeMap* map, GError** error) { _g_object_unref0 (_photo_it); #line 1725 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 13643 "Photo.c" +#line 13644 "Photo.c" } else { #line 1725 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (photo); @@ -13653,16 +13654,16 @@ void photo_update_many_editable_timestamps (GeeMap* map, GError** error) { g_clear_error (&_inner_error_); #line 1725 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 13655 "Photo.c" +#line 13656 "Photo.c" } } #line 1724 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (photo); -#line 13660 "Photo.c" +#line 13661 "Photo.c" } #line 1724 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_photo_it); -#line 13664 "Photo.c" +#line 13665 "Photo.c" } #line 1726 "/home/jens/Source/shotwell/src/Photo.vala" database_table_commit_transaction (&_inner_error_); @@ -13674,7 +13675,7 @@ void photo_update_many_editable_timestamps (GeeMap* map, GError** error) { g_propagate_error (error, _inner_error_); #line 1726 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 13676 "Photo.c" +#line 13677 "Photo.c" } else { #line 1726 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -13682,7 +13683,7 @@ void photo_update_many_editable_timestamps (GeeMap* map, GError** error) { g_clear_error (&_inner_error_); #line 1726 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 13684 "Photo.c" +#line 13685 "Photo.c" } } } @@ -13702,26 +13703,26 @@ static PhotoFileFormat photo_real_get_preferred_thumbnail_format (ThumbnailSourc _tmp2_ = photo_file_format_can_write_image (_tmp1_); #line 1730 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_) { -#line 13704 "Photo.c" +#line 13705 "Photo.c" PhotoFileFormat _tmp3_ = 0; #line 1730 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = photo_get_file_format (self); #line 1730 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = _tmp3_; -#line 13710 "Photo.c" +#line 13711 "Photo.c" } else { PhotoFileFormat _tmp4_ = 0; #line 1731 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = photo_file_format_get_system_default_format (); #line 1731 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = _tmp4_; -#line 13717 "Photo.c" +#line 13718 "Photo.c" } #line 1730 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp0_; #line 1730 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 13723 "Photo.c" +#line 13724 "Photo.c" } @@ -13750,7 +13751,7 @@ static GdkPixbuf* photo_real_create_thumbnail (ThumbnailSource* base, gint scale g_propagate_error (error, _inner_error_); #line 1735 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 13752 "Photo.c" +#line 13753 "Photo.c" } #line 1735 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = _tmp0_; @@ -13762,7 +13763,7 @@ static GdkPixbuf* photo_real_create_thumbnail (ThumbnailSource* base, gint scale _g_object_unref0 (_tmp0_); #line 1735 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 13764 "Photo.c" +#line 13765 "Photo.c" } @@ -13781,7 +13782,7 @@ gboolean photo_is_file_image (GFile* file) { if (_tmp2_) { #line 1743 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = TRUE; -#line 13783 "Photo.c" +#line 13784 "Photo.c" } else { GFile* _tmp3_ = NULL; gchar* _tmp4_ = NULL; @@ -13799,13 +13800,13 @@ gboolean photo_is_file_image (GFile* file) { _tmp0_ = _tmp6_; #line 1743 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (_tmp5_); -#line 13801 "Photo.c" +#line 13802 "Photo.c" } #line 1742 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp0_; #line 1742 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 13807 "Photo.c" +#line 13808 "Photo.c" } @@ -13847,7 +13848,7 @@ static gboolean photo_is_extension_found (const gchar* basename, gchar** extensi _g_free0 (name); #line 1750 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 13849 "Photo.c" +#line 13850 "Photo.c" } #line 1753 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = ext; @@ -13861,7 +13862,7 @@ static gboolean photo_is_extension_found (const gchar* basename, gchar** extensi _tmp6_ = extensions; #line 1756 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6__length1 = extensions_length1; -#line 13863 "Photo.c" +#line 13864 "Photo.c" { gchar** extension_collection = NULL; gint extension_collection_length1 = 0; @@ -13873,14 +13874,14 @@ static gboolean photo_is_extension_found (const gchar* basename, gchar** extensi extension_collection_length1 = _tmp6__length1; #line 1756 "/home/jens/Source/shotwell/src/Photo.vala" for (extension_it = 0; extension_it < _tmp6__length1; extension_it = extension_it + 1) { -#line 13875 "Photo.c" +#line 13876 "Photo.c" gchar* _tmp7_ = NULL; gchar* extension = NULL; #line 1756 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = g_strdup (extension_collection[extension_it]); #line 1756 "/home/jens/Source/shotwell/src/Photo.vala" extension = _tmp7_; -#line 13882 "Photo.c" +#line 13883 "Photo.c" { const gchar* _tmp8_ = NULL; const gchar* _tmp9_ = NULL; @@ -13900,11 +13901,11 @@ static gboolean photo_is_extension_found (const gchar* basename, gchar** extensi _g_free0 (name); #line 1758 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 13902 "Photo.c" +#line 13903 "Photo.c" } #line 1756 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (extension); -#line 13906 "Photo.c" +#line 13907 "Photo.c" } } } @@ -13916,7 +13917,7 @@ static gboolean photo_is_extension_found (const gchar* basename, gchar** extensi _g_free0 (name); #line 1761 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 13918 "Photo.c" +#line 13919 "Photo.c" } @@ -13954,7 +13955,7 @@ gboolean photo_is_duplicate (GFile* file, const gchar* thumbnail_md5, const gcha result = _tmp7_; #line 1770 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 13956 "Photo.c" +#line 13957 "Photo.c" } @@ -14002,13 +14003,13 @@ PhotoID* photo_get_duplicate_ids (GFile* file, const gchar* thumbnail_md5, const if (result_length1) { #line 1779 "/home/jens/Source/shotwell/src/Photo.vala" *result_length1 = _tmp9__length1; -#line 14004 "Photo.c" +#line 14005 "Photo.c" } #line 1779 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp9_; #line 1779 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 14010 "Photo.c" +#line 14011 "Photo.c" } @@ -14029,7 +14030,7 @@ gint64 photo_get_photo_key (DataSource* source) { result = _tmp2_; #line 1787 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 14031 "Photo.c" +#line 14032 "Photo.c" } @@ -14056,7 +14057,7 @@ static GFile* photo_real_get_file (MediaSource* base) { result = _tmp3_; #line 1806 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 14058 "Photo.c" +#line 14059 "Photo.c" } @@ -14067,13 +14068,13 @@ static void _vala_array_add262 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 1849 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 14069 "Photo.c" +#line 14070 "Photo.c" } #line 1849 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 1849 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 14075 "Photo.c" +#line 14076 "Photo.c" } @@ -14084,13 +14085,13 @@ static void _vala_array_add263 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 1854 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 14086 "Photo.c" +#line 14087 "Photo.c" } #line 1854 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 1854 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 14092 "Photo.c" +#line 14093 "Photo.c" } @@ -14101,13 +14102,13 @@ static void _vala_array_add264 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 1857 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 14103 "Photo.c" +#line 14104 "Photo.c" } #line 1857 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 1857 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 14109 "Photo.c" +#line 14110 "Photo.c" } @@ -14118,13 +14119,13 @@ static void _vala_array_add265 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 1860 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 14120 "Photo.c" +#line 14121 "Photo.c" } #line 1860 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 1860 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 14126 "Photo.c" +#line 14127 "Photo.c" } @@ -14159,7 +14160,7 @@ void photo_set_master_file (Photo* self, GFile* file) { name_changed = FALSE; #line 1818 "/home/jens/Source/shotwell/src/Photo.vala" old_file = NULL; -#line 14161 "Photo.c" +#line 14162 "Photo.c" { { PhotoRow* _tmp2_ = NULL; @@ -14167,7 +14168,7 @@ void photo_set_master_file (Photo* self, GFile* file) { _tmp2_ = self->row; #line 1820 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 14169 "Photo.c" +#line 14170 "Photo.c" { { PhotoBackingReaders* _tmp3_ = NULL; @@ -14175,7 +14176,7 @@ void photo_set_master_file (Photo* self, GFile* file) { _tmp3_ = self->priv->readers; #line 1821 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 14177 "Photo.c" +#line 14178 "Photo.c" { PhotoBackingReaders* _tmp4_ = NULL; PhotoFileReader* _tmp5_ = NULL; @@ -14201,7 +14202,7 @@ void photo_set_master_file (Photo* self, GFile* file) { _tmp9_ = g_file_equal (_tmp7_, _tmp8_); #line 1823 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp9_) { -#line 14203 "Photo.c" +#line 14204 "Photo.c" PhotoTable* _tmp10_ = NULL; PhotoTable* _tmp11_ = NULL; PhotoID _tmp12_ = {0}; @@ -14238,8 +14239,8 @@ void photo_set_master_file (Photo* self, GFile* file) { _database_table_unref0 (_tmp11_); #line 1824 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 14240 "Photo.c" - goto __finally300; +#line 14241 "Photo.c" + goto __finally313; } #line 1826 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = self->row; @@ -14295,7 +14296,7 @@ void photo_set_master_file (Photo* self, GFile* file) { _tmp31_ = is_string_empty (_tmp30_); #line 1833 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp31_) { -#line 14297 "Photo.c" +#line 14298 "Photo.c" GFile* _tmp32_ = NULL; gchar* _tmp33_ = NULL; gchar* _tmp34_ = NULL; @@ -14320,48 +14321,48 @@ void photo_set_master_file (Photo* self, GFile* file) { _g_free0 (_tmp37_); #line 1834 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (_tmp34_); -#line 14322 "Photo.c" +#line 14323 "Photo.c" } else { #line 1833 "/home/jens/Source/shotwell/src/Photo.vala" _tmp28_ = FALSE; -#line 14326 "Photo.c" +#line 14327 "Photo.c" } #line 1833 "/home/jens/Source/shotwell/src/Photo.vala" name_changed = _tmp28_; -#line 14330 "Photo.c" +#line 14331 "Photo.c" } } - __finally300: + __finally313: { PhotoBackingReaders* _tmp38_ = NULL; #line 1821 "/home/jens/Source/shotwell/src/Photo.vala" _tmp38_ = self->priv->readers; #line 1821 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 14340 "Photo.c" +#line 14341 "Photo.c" } #line 1821 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 14344 "Photo.c" - goto __finally299; +#line 14345 "Photo.c" + goto __finally312; } } } - __finally299: + __finally312: { PhotoRow* _tmp39_ = NULL; #line 1820 "/home/jens/Source/shotwell/src/Photo.vala" _tmp39_ = self->row; #line 1820 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 14356 "Photo.c" +#line 14357 "Photo.c" } #line 1820 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1820 "/home/jens/Source/shotwell/src/Photo.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 14362 "Photo.c" - goto __catch298_database_error; +#line 14363 "Photo.c" + goto __catch311_database_error; } #line 1820 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (old_file); @@ -14373,12 +14374,12 @@ void photo_set_master_file (Photo* self, GFile* file) { g_clear_error (&_inner_error_); #line 1820 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 14375 "Photo.c" +#line 14376 "Photo.c" } } } - goto __finally298; - __catch298_database_error: + goto __finally311; + __catch311_database_error: { GError* err = NULL; GError* _tmp40_ = NULL; @@ -14392,9 +14393,9 @@ void photo_set_master_file (Photo* self, GFile* file) { app_window_database_error (_tmp40_); #line 1819 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 14394 "Photo.c" +#line 14395 "Photo.c" } - __finally298: + __finally311: #line 1819 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1819 "/home/jens/Source/shotwell/src/Photo.vala" @@ -14407,13 +14408,13 @@ void photo_set_master_file (Photo* self, GFile* file) { g_clear_error (&_inner_error_); #line 1819 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 14409 "Photo.c" +#line 14410 "Photo.c" } #line 1842 "/home/jens/Source/shotwell/src/Photo.vala" _tmp41_ = altered; #line 1842 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp41_) { -#line 14415 "Photo.c" +#line 14416 "Photo.c" GFile* _tmp42_ = NULL; GFile* _tmp43_ = NULL; gboolean _tmp44_ = FALSE; @@ -14443,7 +14444,7 @@ void photo_set_master_file (Photo* self, GFile* file) { if (_tmp44_) { #line 1846 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_baseline_replaced (self); -#line 14445 "Photo.c" +#line 14446 "Photo.c" } #line 1848 "/home/jens/Source/shotwell/src/Photo.vala" _tmp45_ = g_new0 (gchar*, 0 + 1); @@ -14465,7 +14466,7 @@ void photo_set_master_file (Photo* self, GFile* file) { _tmp48_ = name_changed; #line 1853 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp48_) { -#line 14467 "Photo.c" +#line 14468 "Photo.c" gchar** _tmp49_ = NULL; gint _tmp49__length1 = 0; gchar* _tmp50_ = NULL; @@ -14477,13 +14478,13 @@ void photo_set_master_file (Photo* self, GFile* file) { _tmp50_ = g_strdup ("metadata:name"); #line 1854 "/home/jens/Source/shotwell/src/Photo.vala" _vala_array_add263 (&alteration_list, &alteration_list_length1, &_alteration_list_size_, _tmp50_); -#line 14479 "Photo.c" +#line 14480 "Photo.c" } #line 1856 "/home/jens/Source/shotwell/src/Photo.vala" _tmp51_ = is_source; #line 1856 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp51_) { -#line 14485 "Photo.c" +#line 14486 "Photo.c" gchar** _tmp52_ = NULL; gint _tmp52__length1 = 0; gchar* _tmp53_ = NULL; @@ -14495,13 +14496,13 @@ void photo_set_master_file (Photo* self, GFile* file) { _tmp53_ = g_strdup ("backing:source"); #line 1857 "/home/jens/Source/shotwell/src/Photo.vala" _vala_array_add264 (&alteration_list, &alteration_list_length1, &_alteration_list_size_, _tmp53_); -#line 14497 "Photo.c" +#line 14498 "Photo.c" } #line 1859 "/home/jens/Source/shotwell/src/Photo.vala" _tmp54_ = is_baseline; #line 1859 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp54_) { -#line 14503 "Photo.c" +#line 14504 "Photo.c" gchar** _tmp55_ = NULL; gint _tmp55__length1 = 0; gchar* _tmp56_ = NULL; @@ -14513,7 +14514,7 @@ void photo_set_master_file (Photo* self, GFile* file) { _tmp56_ = g_strdup ("backing:baseline"); #line 1860 "/home/jens/Source/shotwell/src/Photo.vala" _vala_array_add265 (&alteration_list, &alteration_list_length1, &_alteration_list_size_, _tmp56_); -#line 14515 "Photo.c" +#line 14516 "Photo.c" } #line 1862 "/home/jens/Source/shotwell/src/Photo.vala" _tmp57_ = alteration_list; @@ -14529,13 +14530,13 @@ void photo_set_master_file (Photo* self, GFile* file) { _alteration_unref0 (_tmp59_); #line 1842 "/home/jens/Source/shotwell/src/Photo.vala" alteration_list = (_vala_array_free (alteration_list, alteration_list_length1, (GDestroyNotify) g_free), NULL); -#line 14531 "Photo.c" +#line 14532 "Photo.c" } #line 1811 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (old_file); #line 1811 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (filepath); -#line 14537 "Photo.c" +#line 14538 "Photo.c" } @@ -14546,13 +14547,13 @@ static void _vala_array_add266 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 1902 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 14548 "Photo.c" +#line 14549 "Photo.c" } #line 1902 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 1902 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 14554 "Photo.c" +#line 14555 "Photo.c" } @@ -14563,13 +14564,13 @@ static void _vala_array_add267 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 1905 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 14565 "Photo.c" +#line 14566 "Photo.c" } #line 1905 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 1905 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 14571 "Photo.c" +#line 14572 "Photo.c" } @@ -14580,13 +14581,13 @@ static void _vala_array_add268 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 1908 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 14582 "Photo.c" +#line 14583 "Photo.c" } #line 1908 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 1908 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 14588 "Photo.c" +#line 14589 "Photo.c" } @@ -14618,7 +14619,7 @@ void photo_set_editable_file (Photo* self, GFile* file) { is_source = FALSE; #line 1874 "/home/jens/Source/shotwell/src/Photo.vala" old_file = NULL; -#line 14620 "Photo.c" +#line 14621 "Photo.c" { { PhotoRow* _tmp2_ = NULL; @@ -14626,7 +14627,7 @@ void photo_set_editable_file (Photo* self, GFile* file) { _tmp2_ = self->row; #line 1876 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 14628 "Photo.c" +#line 14629 "Photo.c" { { PhotoBackingReaders* _tmp3_ = NULL; @@ -14634,7 +14635,7 @@ void photo_set_editable_file (Photo* self, GFile* file) { _tmp3_ = self->priv->readers; #line 1877 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 14636 "Photo.c" +#line 14637 "Photo.c" { GFile* _tmp4_ = NULL; PhotoBackingReaders* _tmp5_ = NULL; @@ -14648,7 +14649,7 @@ void photo_set_editable_file (Photo* self, GFile* file) { _tmp6_ = _tmp5_->editable; #line 1878 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp6_ != NULL) { -#line 14650 "Photo.c" +#line 14651 "Photo.c" PhotoBackingReaders* _tmp7_ = NULL; PhotoFileReader* _tmp8_ = NULL; GFile* _tmp9_ = NULL; @@ -14662,13 +14663,13 @@ void photo_set_editable_file (Photo* self, GFile* file) { _g_object_unref0 (_tmp4_); #line 1878 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = _tmp9_; -#line 14664 "Photo.c" +#line 14665 "Photo.c" } else { #line 1878 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp4_); #line 1878 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = NULL; -#line 14670 "Photo.c" +#line 14671 "Photo.c" } #line 1878 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = _g_object_ref0 (_tmp4_); @@ -14680,7 +14681,7 @@ void photo_set_editable_file (Photo* self, GFile* file) { _tmp12_ = old_file; #line 1879 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp12_ != NULL) { -#line 14682 "Photo.c" +#line 14683 "Photo.c" GFile* _tmp13_ = NULL; GFile* _tmp14_ = NULL; gboolean _tmp15_ = FALSE; @@ -14692,15 +14693,15 @@ void photo_set_editable_file (Photo* self, GFile* file) { _tmp15_ = g_file_equal (_tmp13_, _tmp14_); #line 1879 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = !_tmp15_; -#line 14694 "Photo.c" +#line 14695 "Photo.c" } else { #line 1879 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = FALSE; -#line 14698 "Photo.c" +#line 14699 "Photo.c" } #line 1879 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp11_) { -#line 14702 "Photo.c" +#line 14703 "Photo.c" BackingPhotoTable* _tmp16_ = NULL; BackingPhotoTable* _tmp17_ = NULL; PhotoRow* _tmp18_ = NULL; @@ -14734,8 +14735,8 @@ void photo_set_editable_file (Photo* self, GFile* file) { if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1880 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp4_); -#line 14736 "Photo.c" - goto __finally303; +#line 14737 "Photo.c" + goto __finally316; } #line 1882 "/home/jens/Source/shotwell/src/Photo.vala" _tmp21_ = self->priv->editable; @@ -14771,43 +14772,43 @@ void photo_set_editable_file (Photo* self, GFile* file) { _tmp30_ = photo_is_editable_source (self); #line 1887 "/home/jens/Source/shotwell/src/Photo.vala" is_source = _tmp30_; -#line 14773 "Photo.c" +#line 14774 "Photo.c" } #line 1877 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp4_); -#line 14777 "Photo.c" +#line 14778 "Photo.c" } - __finally303: + __finally316: { PhotoBackingReaders* _tmp31_ = NULL; #line 1877 "/home/jens/Source/shotwell/src/Photo.vala" _tmp31_ = self->priv->readers; #line 1877 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 14786 "Photo.c" +#line 14787 "Photo.c" } #line 1877 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 14790 "Photo.c" - goto __finally302; +#line 14791 "Photo.c" + goto __finally315; } } } - __finally302: + __finally315: { PhotoRow* _tmp32_ = NULL; #line 1876 "/home/jens/Source/shotwell/src/Photo.vala" _tmp32_ = self->row; #line 1876 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 14802 "Photo.c" +#line 14803 "Photo.c" } #line 1876 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1876 "/home/jens/Source/shotwell/src/Photo.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 14808 "Photo.c" - goto __catch301_database_error; +#line 14809 "Photo.c" + goto __catch314_database_error; } #line 1876 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (old_file); @@ -14819,12 +14820,12 @@ void photo_set_editable_file (Photo* self, GFile* file) { g_clear_error (&_inner_error_); #line 1876 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 14821 "Photo.c" +#line 14822 "Photo.c" } } } - goto __finally301; - __catch301_database_error: + goto __finally314; + __catch314_database_error: { GError* err = NULL; GError* _tmp33_ = NULL; @@ -14838,9 +14839,9 @@ void photo_set_editable_file (Photo* self, GFile* file) { app_window_database_error (_tmp33_); #line 1875 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 14840 "Photo.c" +#line 14841 "Photo.c" } - __finally301: + __finally314: #line 1875 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1875 "/home/jens/Source/shotwell/src/Photo.vala" @@ -14853,13 +14854,13 @@ void photo_set_editable_file (Photo* self, GFile* file) { g_clear_error (&_inner_error_); #line 1875 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 14855 "Photo.c" +#line 14856 "Photo.c" } #line 1895 "/home/jens/Source/shotwell/src/Photo.vala" _tmp34_ = altered; #line 1895 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp34_) { -#line 14861 "Photo.c" +#line 14862 "Photo.c" GFile* _tmp35_ = NULL; GFile* _tmp36_ = NULL; gboolean _tmp37_ = FALSE; @@ -14888,7 +14889,7 @@ void photo_set_editable_file (Photo* self, GFile* file) { if (_tmp37_) { #line 1899 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_baseline_replaced (self); -#line 14890 "Photo.c" +#line 14891 "Photo.c" } #line 1901 "/home/jens/Source/shotwell/src/Photo.vala" _tmp38_ = g_new0 (gchar*, 0 + 1); @@ -14910,7 +14911,7 @@ void photo_set_editable_file (Photo* self, GFile* file) { _tmp41_ = is_baseline; #line 1904 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp41_) { -#line 14912 "Photo.c" +#line 14913 "Photo.c" gchar** _tmp42_ = NULL; gint _tmp42__length1 = 0; gchar* _tmp43_ = NULL; @@ -14922,13 +14923,13 @@ void photo_set_editable_file (Photo* self, GFile* file) { _tmp43_ = g_strdup ("backing:baseline"); #line 1905 "/home/jens/Source/shotwell/src/Photo.vala" _vala_array_add267 (&alteration_list, &alteration_list_length1, &_alteration_list_size_, _tmp43_); -#line 14924 "Photo.c" +#line 14925 "Photo.c" } #line 1907 "/home/jens/Source/shotwell/src/Photo.vala" _tmp44_ = is_source; #line 1907 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp44_) { -#line 14930 "Photo.c" +#line 14931 "Photo.c" gchar** _tmp45_ = NULL; gint _tmp45__length1 = 0; gchar* _tmp46_ = NULL; @@ -14940,7 +14941,7 @@ void photo_set_editable_file (Photo* self, GFile* file) { _tmp46_ = g_strdup ("backing:source"); #line 1908 "/home/jens/Source/shotwell/src/Photo.vala" _vala_array_add268 (&alteration_list, &alteration_list_length1, &_alteration_list_size_, _tmp46_); -#line 14942 "Photo.c" +#line 14943 "Photo.c" } #line 1910 "/home/jens/Source/shotwell/src/Photo.vala" _tmp47_ = alteration_list; @@ -14956,13 +14957,13 @@ void photo_set_editable_file (Photo* self, GFile* file) { _alteration_unref0 (_tmp49_); #line 1895 "/home/jens/Source/shotwell/src/Photo.vala" alteration_list = (_vala_array_free (alteration_list, alteration_list_length1, (GDestroyNotify) g_free), NULL); -#line 14958 "Photo.c" +#line 14959 "Photo.c" } #line 1868 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (old_file); #line 1868 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (filepath); -#line 14964 "Photo.c" +#line 14965 "Photo.c" } @@ -14983,7 +14984,7 @@ void photo_set_many_editable_file (GeeMap* map, GError** error) { map_iter = _tmp1_; #line 1919 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 14985 "Photo.c" +#line 14986 "Photo.c" GeeMapIterator* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; GeeMapIterator* _tmp4_ = NULL; @@ -15000,7 +15001,7 @@ void photo_set_many_editable_file (GeeMap* map, GError** error) { if (!_tmp3_) { #line 1919 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 15002 "Photo.c" +#line 15003 "Photo.c" } #line 1920 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = map_iter; @@ -15020,7 +15021,7 @@ void photo_set_many_editable_file (GeeMap* map, GError** error) { _g_object_unref0 (_tmp9_); #line 1920 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp6_); -#line 15022 "Photo.c" +#line 15023 "Photo.c" } #line 1922 "/home/jens/Source/shotwell/src/Photo.vala" database_table_commit_transaction (&_inner_error_); @@ -15034,7 +15035,7 @@ void photo_set_many_editable_file (GeeMap* map, GError** error) { _g_object_unref0 (map_iter); #line 1922 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 15036 "Photo.c" +#line 15037 "Photo.c" } else { #line 1922 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (map_iter); @@ -15044,12 +15045,12 @@ void photo_set_many_editable_file (GeeMap* map, GError** error) { g_clear_error (&_inner_error_); #line 1922 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 15046 "Photo.c" +#line 15047 "Photo.c" } } #line 1915 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (map_iter); -#line 15051 "Photo.c" +#line 15052 "Photo.c" } @@ -15075,7 +15076,7 @@ GFile* photo_get_actual_file (Photo* self) { result = _tmp3_; #line 1928 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 15077 "Photo.c" +#line 15078 "Photo.c" } @@ -15102,7 +15103,7 @@ static GFile* photo_real_get_master_file (MediaSource* base) { result = _tmp3_; #line 1932 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 15104 "Photo.c" +#line 15105 "Photo.c" } @@ -15122,7 +15123,7 @@ GFile* photo_get_editable_file (Photo* self) { _tmp2_ = reader; #line 1938 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != NULL) { -#line 15124 "Photo.c" +#line 15125 "Photo.c" PhotoFileReader* _tmp3_ = NULL; GFile* _tmp4_ = NULL; #line 1938 "/home/jens/Source/shotwell/src/Photo.vala" @@ -15133,13 +15134,13 @@ GFile* photo_get_editable_file (Photo* self) { _g_object_unref0 (_tmp1_); #line 1938 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = _tmp4_; -#line 15135 "Photo.c" +#line 15136 "Photo.c" } else { #line 1938 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp1_); #line 1938 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = NULL; -#line 15141 "Photo.c" +#line 15142 "Photo.c" } #line 1938 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp1_; @@ -15147,7 +15148,7 @@ GFile* photo_get_editable_file (Photo* self) { _photo_file_adapter_unref0 (reader); #line 1938 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 15149 "Photo.c" +#line 15150 "Photo.c" } @@ -15167,20 +15168,20 @@ GeeCollection* photo_get_raw_developer_files (Photo* self) { result = NULL; #line 1943 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 15169 "Photo.c" +#line 15170 "Photo.c" } #line 1945 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = gee_array_list_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); #line 1945 "/home/jens/Source/shotwell/src/Photo.vala" ret = _tmp1_; -#line 15175 "Photo.c" +#line 15176 "Photo.c" { PhotoRow* _tmp2_ = NULL; #line 1946 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = self->row; #line 1946 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 15182 "Photo.c" +#line 15183 "Photo.c" { { GeeIterator* _row_it = NULL; @@ -15208,7 +15209,7 @@ GeeCollection* photo_get_raw_developer_files (Photo* self) { _row_it = _tmp8_; #line 1947 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 15210 "Photo.c" +#line 15211 "Photo.c" GeeIterator* _tmp9_ = NULL; gboolean _tmp10_ = FALSE; BackingPhotoRow* row = NULL; @@ -15227,7 +15228,7 @@ GeeCollection* photo_get_raw_developer_files (Photo* self) { if (!_tmp10_) { #line 1947 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 15229 "Photo.c" +#line 15230 "Photo.c" } #line 1947 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = _row_it; @@ -15251,21 +15252,21 @@ GeeCollection* photo_get_raw_developer_files (Photo* self) { _g_object_unref0 (_tmp17_); #line 1947 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (row); -#line 15253 "Photo.c" +#line 15254 "Photo.c" } #line 1947 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_row_it); -#line 15257 "Photo.c" +#line 15258 "Photo.c" } } - __finally304: + __finally317: { PhotoRow* _tmp18_ = NULL; #line 1946 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = self->row; #line 1946 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15267 "Photo.c" +#line 15268 "Photo.c" } #line 1946 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -15277,14 +15278,14 @@ GeeCollection* photo_get_raw_developer_files (Photo* self) { g_clear_error (&_inner_error_); #line 1946 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 15279 "Photo.c" +#line 15280 "Photo.c" } } #line 1951 "/home/jens/Source/shotwell/src/Photo.vala" result = G_TYPE_CHECK_INSTANCE_CAST (ret, GEE_TYPE_COLLECTION, GeeCollection); #line 1951 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 15286 "Photo.c" +#line 15287 "Photo.c" } @@ -15310,7 +15311,7 @@ GFile* photo_get_source_file (Photo* self) { result = _tmp3_; #line 1955 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 15312 "Photo.c" +#line 15313 "Photo.c" } @@ -15319,14 +15320,14 @@ PhotoFileFormat photo_get_file_format (Photo* self) { GError * _inner_error_ = NULL; #line 1958 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), 0); -#line 15321 "Photo.c" +#line 15322 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 1959 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 1959 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 15328 "Photo.c" +#line 15329 "Photo.c" { BackingPhotoRow* _tmp1_ = NULL; PhotoFileFormat _tmp2_ = 0; @@ -15336,27 +15337,27 @@ PhotoFileFormat photo_get_file_format (Photo* self) { _tmp2_ = _tmp1_->file_format; #line 1960 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp2_; -#line 15338 "Photo.c" +#line 15339 "Photo.c" { PhotoRow* _tmp3_ = NULL; #line 1959 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 1959 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15345 "Photo.c" +#line 15346 "Photo.c" } #line 1960 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 15349 "Photo.c" +#line 15350 "Photo.c" } - __finally305: + __finally318: { PhotoRow* _tmp4_ = NULL; #line 1959 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 1959 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15358 "Photo.c" +#line 15359 "Photo.c" } #line 1959 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -15364,7 +15365,7 @@ PhotoFileFormat photo_get_file_format (Photo* self) { g_clear_error (&_inner_error_); #line 1959 "/home/jens/Source/shotwell/src/Photo.vala" return 0; -#line 15366 "Photo.c" +#line 15367 "Photo.c" } } @@ -15387,19 +15388,19 @@ PhotoFileFormat photo_get_best_export_file_format (Photo* self) { _tmp2_ = photo_file_format_can_write (_tmp1_); #line 1966 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp2_) { -#line 15389 "Photo.c" +#line 15390 "Photo.c" PhotoFileFormat _tmp3_ = 0; #line 1967 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = photo_file_format_get_system_default_format (); #line 1967 "/home/jens/Source/shotwell/src/Photo.vala" file_format = _tmp3_; -#line 15395 "Photo.c" +#line 15396 "Photo.c" } #line 1969 "/home/jens/Source/shotwell/src/Photo.vala" result = file_format; #line 1969 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 15401 "Photo.c" +#line 15402 "Photo.c" } @@ -15408,14 +15409,14 @@ PhotoFileFormat photo_get_master_file_format (Photo* self) { GError * _inner_error_ = NULL; #line 1972 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), 0); -#line 15410 "Photo.c" +#line 15411 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 1973 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 1973 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 15417 "Photo.c" +#line 15418 "Photo.c" { PhotoBackingReaders* _tmp1_ = NULL; PhotoFileReader* _tmp2_ = NULL; @@ -15428,27 +15429,27 @@ PhotoFileFormat photo_get_master_file_format (Photo* self) { _tmp3_ = photo_file_adapter_get_file_format (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_PHOTO_FILE_ADAPTER, PhotoFileAdapter)); #line 1974 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp3_; -#line 15430 "Photo.c" +#line 15431 "Photo.c" { PhotoRow* _tmp4_ = NULL; #line 1973 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 1973 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15437 "Photo.c" +#line 15438 "Photo.c" } #line 1974 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 15441 "Photo.c" +#line 15442 "Photo.c" } - __finally306: + __finally319: { PhotoRow* _tmp5_ = NULL; #line 1973 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->row; #line 1973 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15450 "Photo.c" +#line 15451 "Photo.c" } #line 1973 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -15456,7 +15457,7 @@ PhotoFileFormat photo_get_master_file_format (Photo* self) { g_clear_error (&_inner_error_); #line 1973 "/home/jens/Source/shotwell/src/Photo.vala" return 0; -#line 15458 "Photo.c" +#line 15459 "Photo.c" } } @@ -15467,14 +15468,14 @@ static time_t photo_real_get_timestamp (MediaSource* base) { GError * _inner_error_ = NULL; #line 1978 "/home/jens/Source/shotwell/src/Photo.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); -#line 15469 "Photo.c" +#line 15470 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 1979 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 1979 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 15476 "Photo.c" +#line 15477 "Photo.c" { BackingPhotoRow* _tmp1_ = NULL; time_t _tmp2_ = 0; @@ -15484,27 +15485,27 @@ static time_t photo_real_get_timestamp (MediaSource* base) { _tmp2_ = _tmp1_->timestamp; #line 1980 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp2_; -#line 15486 "Photo.c" +#line 15487 "Photo.c" { PhotoRow* _tmp3_ = NULL; #line 1979 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 1979 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15493 "Photo.c" +#line 15494 "Photo.c" } #line 1980 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 15497 "Photo.c" +#line 15498 "Photo.c" } - __finally307: + __finally320: { PhotoRow* _tmp4_ = NULL; #line 1979 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 1979 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15506 "Photo.c" +#line 15507 "Photo.c" } #line 1979 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -15512,7 +15513,7 @@ static time_t photo_real_get_timestamp (MediaSource* base) { g_clear_error (&_inner_error_); #line 1979 "/home/jens/Source/shotwell/src/Photo.vala" return 0; -#line 15514 "Photo.c" +#line 15515 "Photo.c" } } @@ -15521,14 +15522,14 @@ void photo_get_photo_id (Photo* self, PhotoID* result) { GError * _inner_error_ = NULL; #line 1984 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail (IS_PHOTO (self)); -#line 15523 "Photo.c" +#line 15524 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 1985 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 1985 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 15530 "Photo.c" +#line 15531 "Photo.c" { PhotoRow* _tmp1_ = NULL; PhotoID _tmp2_ = {0}; @@ -15538,27 +15539,27 @@ void photo_get_photo_id (Photo* self, PhotoID* result) { _tmp2_ = _tmp1_->photo_id; #line 1986 "/home/jens/Source/shotwell/src/Photo.vala" *result = _tmp2_; -#line 15540 "Photo.c" +#line 15541 "Photo.c" { PhotoRow* _tmp3_ = NULL; #line 1985 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 1985 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15547 "Photo.c" +#line 15548 "Photo.c" } #line 1986 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 15551 "Photo.c" +#line 15552 "Photo.c" } - __finally308: + __finally321: { PhotoRow* _tmp4_ = NULL; #line 1985 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 1985 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15560 "Photo.c" +#line 15561 "Photo.c" } #line 1985 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -15566,7 +15567,7 @@ void photo_get_photo_id (Photo* self, PhotoID* result) { g_clear_error (&_inner_error_); #line 1985 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 15568 "Photo.c" +#line 15569 "Photo.c" } } @@ -15585,7 +15586,7 @@ static inline void photo_real_get_event_id (MediaSource* base, EventID* result) *result = _tmp1_; #line 1992 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 15587 "Photo.c" +#line 15588 "Photo.c" } @@ -15606,7 +15607,7 @@ inline gint64 photo_get_raw_event_id (Photo* self) { result = _tmp2_; #line 1997 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 15608 "Photo.c" +#line 15609 "Photo.c" } @@ -15615,14 +15616,14 @@ static void photo_real_get_import_id (MediaSource* base, ImportID* result) { GError * _inner_error_ = NULL; #line 2000 "/home/jens/Source/shotwell/src/Photo.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); -#line 15617 "Photo.c" +#line 15618 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2001 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2001 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 15624 "Photo.c" +#line 15625 "Photo.c" { PhotoRow* _tmp1_ = NULL; ImportID _tmp2_ = {0}; @@ -15632,27 +15633,27 @@ static void photo_real_get_import_id (MediaSource* base, ImportID* result) { _tmp2_ = _tmp1_->import_id; #line 2002 "/home/jens/Source/shotwell/src/Photo.vala" *result = _tmp2_; -#line 15634 "Photo.c" +#line 15635 "Photo.c" { PhotoRow* _tmp3_ = NULL; #line 2001 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 2001 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15641 "Photo.c" +#line 15642 "Photo.c" } #line 2002 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 15645 "Photo.c" +#line 15646 "Photo.c" } - __finally309: + __finally322: { PhotoRow* _tmp4_ = NULL; #line 2001 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2001 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15654 "Photo.c" +#line 15655 "Photo.c" } #line 2001 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -15660,7 +15661,7 @@ static void photo_real_get_import_id (MediaSource* base, ImportID* result) { g_clear_error (&_inner_error_); #line 2001 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 15662 "Photo.c" +#line 15663 "Photo.c" } } @@ -15669,14 +15670,14 @@ void photo_get_editable_id (Photo* self, BackingPhotoID* result) { GError * _inner_error_ = NULL; #line 2006 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail (IS_PHOTO (self)); -#line 15671 "Photo.c" +#line 15672 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2007 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2007 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 15678 "Photo.c" +#line 15679 "Photo.c" { PhotoRow* _tmp1_ = NULL; BackingPhotoID _tmp2_ = {0}; @@ -15686,27 +15687,27 @@ void photo_get_editable_id (Photo* self, BackingPhotoID* result) { _tmp2_ = _tmp1_->editable_id; #line 2008 "/home/jens/Source/shotwell/src/Photo.vala" *result = _tmp2_; -#line 15688 "Photo.c" +#line 15689 "Photo.c" { PhotoRow* _tmp3_ = NULL; #line 2007 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 2007 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15695 "Photo.c" +#line 15696 "Photo.c" } #line 2008 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 15699 "Photo.c" +#line 15700 "Photo.c" } - __finally310: + __finally323: { PhotoRow* _tmp4_ = NULL; #line 2007 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2007 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15708 "Photo.c" +#line 15709 "Photo.c" } #line 2007 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -15714,7 +15715,7 @@ void photo_get_editable_id (Photo* self, BackingPhotoID* result) { g_clear_error (&_inner_error_); #line 2007 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 15716 "Photo.c" +#line 15717 "Photo.c" } } @@ -15725,14 +15726,14 @@ static gchar* photo_real_get_master_md5 (MediaSource* base) { GError * _inner_error_ = NULL; #line 2012 "/home/jens/Source/shotwell/src/Photo.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); -#line 15727 "Photo.c" +#line 15728 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2013 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2013 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 15734 "Photo.c" +#line 15735 "Photo.c" { PhotoRow* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; @@ -15745,27 +15746,27 @@ static gchar* photo_real_get_master_md5 (MediaSource* base) { _tmp3_ = g_strdup (_tmp2_); #line 2014 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp3_; -#line 15747 "Photo.c" +#line 15748 "Photo.c" { PhotoRow* _tmp4_ = NULL; #line 2013 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2013 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15754 "Photo.c" +#line 15755 "Photo.c" } #line 2014 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 15758 "Photo.c" +#line 15759 "Photo.c" } - __finally311: + __finally324: { PhotoRow* _tmp5_ = NULL; #line 2013 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->row; #line 2013 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15767 "Photo.c" +#line 15768 "Photo.c" } #line 2013 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -15773,7 +15774,7 @@ static gchar* photo_real_get_master_md5 (MediaSource* base) { g_clear_error (&_inner_error_); #line 2013 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 15775 "Photo.c" +#line 15776 "Photo.c" } } @@ -15783,14 +15784,14 @@ guint64 photo_get_flags (Photo* self) { GError * _inner_error_ = NULL; #line 2020 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), 0ULL); -#line 15785 "Photo.c" +#line 15786 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2021 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2021 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 15792 "Photo.c" +#line 15793 "Photo.c" { PhotoRow* _tmp1_ = NULL; guint64 _tmp2_ = 0ULL; @@ -15800,27 +15801,27 @@ guint64 photo_get_flags (Photo* self) { _tmp2_ = _tmp1_->flags; #line 2022 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp2_; -#line 15802 "Photo.c" +#line 15803 "Photo.c" { PhotoRow* _tmp3_ = NULL; #line 2021 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 2021 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15809 "Photo.c" +#line 15810 "Photo.c" } #line 2022 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 15813 "Photo.c" +#line 15814 "Photo.c" } - __finally312: + __finally325: { PhotoRow* _tmp4_ = NULL; #line 2021 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2021 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15822 "Photo.c" +#line 15823 "Photo.c" } #line 2021 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -15828,7 +15829,7 @@ guint64 photo_get_flags (Photo* self) { g_clear_error (&_inner_error_); #line 2021 "/home/jens/Source/shotwell/src/Photo.vala" return 0ULL; -#line 15830 "Photo.c" +#line 15831 "Photo.c" } } @@ -15850,7 +15851,7 @@ static void photo_notify_flags_altered (Photo* self, Alteration* additional_alte _tmp1_ = additional_alteration; #line 2028 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_ != NULL) { -#line 15852 "Photo.c" +#line 15853 "Photo.c" Alteration* _tmp2_ = NULL; Alteration* _tmp3_ = NULL; Alteration* _tmp4_ = NULL; @@ -15864,7 +15865,7 @@ static void photo_notify_flags_altered (Photo* self, Alteration* additional_alte _alteration_unref0 (alteration); #line 2029 "/home/jens/Source/shotwell/src/Photo.vala" alteration = _tmp4_; -#line 15866 "Photo.c" +#line 15867 "Photo.c" } #line 2031 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = alteration; @@ -15872,7 +15873,7 @@ static void photo_notify_flags_altered (Photo* self, Alteration* additional_alte data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp5_); #line 2026 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (alteration); -#line 15874 "Photo.c" +#line 15875 "Photo.c" } @@ -15886,14 +15887,14 @@ guint64 photo_replace_flags (Photo* self, guint64 flags, Alteration* additional_ g_return_val_if_fail (IS_PHOTO (self), 0ULL); #line 2034 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail ((additional_alteration == NULL) || IS_ALTERATION (additional_alteration), 0ULL); -#line 15888 "Photo.c" +#line 15889 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2036 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2036 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 15895 "Photo.c" +#line 15896 "Photo.c" { PhotoTable* _tmp1_ = NULL; PhotoTable* _tmp2_ = NULL; @@ -15919,7 +15920,7 @@ guint64 photo_replace_flags (Photo* self, guint64 flags, Alteration* additional_ _tmp6_ = committed; #line 2038 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp6_) { -#line 15921 "Photo.c" +#line 15922 "Photo.c" PhotoRow* _tmp7_ = NULL; guint64 _tmp8_ = 0ULL; #line 2039 "/home/jens/Source/shotwell/src/Photo.vala" @@ -15928,17 +15929,17 @@ guint64 photo_replace_flags (Photo* self, guint64 flags, Alteration* additional_ _tmp8_ = flags; #line 2039 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_->flags = _tmp8_; -#line 15930 "Photo.c" +#line 15931 "Photo.c" } } - __finally313: + __finally326: { PhotoRow* _tmp9_ = NULL; #line 2036 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_ = self->row; #line 2036 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 15940 "Photo.c" +#line 15941 "Photo.c" } #line 2036 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -15948,20 +15949,20 @@ guint64 photo_replace_flags (Photo* self, guint64 flags, Alteration* additional_ g_clear_error (&_inner_error_); #line 2036 "/home/jens/Source/shotwell/src/Photo.vala" return 0ULL; -#line 15950 "Photo.c" +#line 15951 "Photo.c" } } #line 2042 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = committed; #line 2042 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp10_) { -#line 15957 "Photo.c" +#line 15958 "Photo.c" Alteration* _tmp11_ = NULL; #line 2043 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = additional_alteration; #line 2043 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_flags_altered (self, _tmp11_); -#line 15963 "Photo.c" +#line 15964 "Photo.c" } #line 2045 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = flags; @@ -15969,7 +15970,7 @@ guint64 photo_replace_flags (Photo* self, guint64 flags, Alteration* additional_ result = _tmp12_; #line 2045 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 15971 "Photo.c" +#line 15972 "Photo.c" } @@ -15978,14 +15979,14 @@ gboolean photo_is_flag_set (Photo* self, guint64 mask) { GError * _inner_error_ = NULL; #line 2048 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), FALSE); -#line 15980 "Photo.c" +#line 15981 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2049 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2049 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 15987 "Photo.c" +#line 15988 "Photo.c" { PhotoRow* _tmp1_ = NULL; guint64 _tmp2_ = 0ULL; @@ -16001,27 +16002,27 @@ gboolean photo_is_flag_set (Photo* self, guint64 mask) { _tmp4_ = media_source_internal_is_flag_set (_tmp2_, _tmp3_); #line 2050 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp4_; -#line 16003 "Photo.c" +#line 16004 "Photo.c" { PhotoRow* _tmp5_ = NULL; #line 2049 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->row; #line 2049 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 16010 "Photo.c" +#line 16011 "Photo.c" } #line 2050 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 16014 "Photo.c" +#line 16015 "Photo.c" } - __finally314: + __finally327: { PhotoRow* _tmp6_ = NULL; #line 2049 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = self->row; #line 2049 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 16023 "Photo.c" +#line 16024 "Photo.c" } #line 2049 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -16029,7 +16030,7 @@ gboolean photo_is_flag_set (Photo* self, guint64 mask) { g_clear_error (&_inner_error_); #line 2049 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 16031 "Photo.c" +#line 16032 "Photo.c" } } @@ -16048,14 +16049,14 @@ guint64 photo_add_flags (Photo* self, guint64 mask, Alteration* additional_alter flags = (guint64) 0; #line 2057 "/home/jens/Source/shotwell/src/Photo.vala" committed = FALSE; -#line 16050 "Photo.c" +#line 16051 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2058 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2058 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 16057 "Photo.c" +#line 16058 "Photo.c" { PhotoRow* _tmp1_ = NULL; guint64 _tmp2_ = 0ULL; @@ -16082,7 +16083,7 @@ guint64 photo_add_flags (Photo* self, guint64 mask, Alteration* additional_alter _tmp7_ = flags; #line 2060 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp6_ != _tmp7_) { -#line 16084 "Photo.c" +#line 16085 "Photo.c" PhotoTable* _tmp8_ = NULL; PhotoTable* _tmp9_ = NULL; PhotoID _tmp10_ = {0}; @@ -16107,7 +16108,7 @@ guint64 photo_add_flags (Photo* self, guint64 mask, Alteration* additional_alter _tmp13_ = committed; #line 2062 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp13_) { -#line 16109 "Photo.c" +#line 16110 "Photo.c" PhotoRow* _tmp14_ = NULL; guint64 _tmp15_ = 0ULL; #line 2063 "/home/jens/Source/shotwell/src/Photo.vala" @@ -16116,18 +16117,18 @@ guint64 photo_add_flags (Photo* self, guint64 mask, Alteration* additional_alter _tmp15_ = flags; #line 2063 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_->flags = _tmp15_; -#line 16118 "Photo.c" +#line 16119 "Photo.c" } } } - __finally315: + __finally328: { PhotoRow* _tmp16_ = NULL; #line 2058 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = self->row; #line 2058 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 16129 "Photo.c" +#line 16130 "Photo.c" } #line 2058 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -16137,26 +16138,26 @@ guint64 photo_add_flags (Photo* self, guint64 mask, Alteration* additional_alter g_clear_error (&_inner_error_); #line 2058 "/home/jens/Source/shotwell/src/Photo.vala" return 0ULL; -#line 16139 "Photo.c" +#line 16140 "Photo.c" } } #line 2067 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = committed; #line 2067 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp17_) { -#line 16146 "Photo.c" +#line 16147 "Photo.c" Alteration* _tmp18_ = NULL; #line 2068 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = additional_alteration; #line 2068 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_flags_altered (self, _tmp18_); -#line 16152 "Photo.c" +#line 16153 "Photo.c" } #line 2070 "/home/jens/Source/shotwell/src/Photo.vala" result = flags; #line 2070 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 16158 "Photo.c" +#line 16159 "Photo.c" } @@ -16174,14 +16175,14 @@ guint64 photo_remove_flags (Photo* self, guint64 mask, Alteration* additional_al flags = (guint64) 0; #line 2076 "/home/jens/Source/shotwell/src/Photo.vala" committed = FALSE; -#line 16176 "Photo.c" +#line 16177 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2077 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2077 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 16183 "Photo.c" +#line 16184 "Photo.c" { PhotoRow* _tmp1_ = NULL; guint64 _tmp2_ = 0ULL; @@ -16208,7 +16209,7 @@ guint64 photo_remove_flags (Photo* self, guint64 mask, Alteration* additional_al _tmp7_ = flags; #line 2079 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp6_ != _tmp7_) { -#line 16210 "Photo.c" +#line 16211 "Photo.c" PhotoTable* _tmp8_ = NULL; PhotoTable* _tmp9_ = NULL; PhotoID _tmp10_ = {0}; @@ -16233,7 +16234,7 @@ guint64 photo_remove_flags (Photo* self, guint64 mask, Alteration* additional_al _tmp13_ = committed; #line 2081 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp13_) { -#line 16235 "Photo.c" +#line 16236 "Photo.c" PhotoRow* _tmp14_ = NULL; guint64 _tmp15_ = 0ULL; #line 2082 "/home/jens/Source/shotwell/src/Photo.vala" @@ -16242,18 +16243,18 @@ guint64 photo_remove_flags (Photo* self, guint64 mask, Alteration* additional_al _tmp15_ = flags; #line 2082 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_->flags = _tmp15_; -#line 16244 "Photo.c" +#line 16245 "Photo.c" } } } - __finally316: + __finally329: { PhotoRow* _tmp16_ = NULL; #line 2077 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = self->row; #line 2077 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 16255 "Photo.c" +#line 16256 "Photo.c" } #line 2077 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -16263,26 +16264,26 @@ guint64 photo_remove_flags (Photo* self, guint64 mask, Alteration* additional_al g_clear_error (&_inner_error_); #line 2077 "/home/jens/Source/shotwell/src/Photo.vala" return 0ULL; -#line 16265 "Photo.c" +#line 16266 "Photo.c" } } #line 2086 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = committed; #line 2086 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp17_) { -#line 16272 "Photo.c" +#line 16273 "Photo.c" Alteration* _tmp18_ = NULL; #line 2087 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = additional_alteration; #line 2087 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_flags_altered (self, _tmp18_); -#line 16278 "Photo.c" +#line 16279 "Photo.c" } #line 2089 "/home/jens/Source/shotwell/src/Photo.vala" result = flags; #line 2089 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 16284 "Photo.c" +#line 16285 "Photo.c" } @@ -16300,14 +16301,14 @@ guint64 photo_add_remove_flags (Photo* self, guint64 add, guint64 remove, Altera flags = (guint64) 0; #line 2095 "/home/jens/Source/shotwell/src/Photo.vala" committed = FALSE; -#line 16302 "Photo.c" +#line 16303 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2096 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2096 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 16309 "Photo.c" +#line 16310 "Photo.c" { PhotoRow* _tmp1_ = NULL; guint64 _tmp2_ = 0ULL; @@ -16334,7 +16335,7 @@ guint64 photo_add_remove_flags (Photo* self, guint64 add, guint64 remove, Altera _tmp7_ = flags; #line 2098 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp6_ != _tmp7_) { -#line 16336 "Photo.c" +#line 16337 "Photo.c" PhotoTable* _tmp8_ = NULL; PhotoTable* _tmp9_ = NULL; PhotoID _tmp10_ = {0}; @@ -16359,7 +16360,7 @@ guint64 photo_add_remove_flags (Photo* self, guint64 add, guint64 remove, Altera _tmp13_ = committed; #line 2100 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp13_) { -#line 16361 "Photo.c" +#line 16362 "Photo.c" PhotoRow* _tmp14_ = NULL; guint64 _tmp15_ = 0ULL; #line 2101 "/home/jens/Source/shotwell/src/Photo.vala" @@ -16368,18 +16369,18 @@ guint64 photo_add_remove_flags (Photo* self, guint64 add, guint64 remove, Altera _tmp15_ = flags; #line 2101 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_->flags = _tmp15_; -#line 16370 "Photo.c" +#line 16371 "Photo.c" } } } - __finally317: + __finally330: { PhotoRow* _tmp16_ = NULL; #line 2096 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = self->row; #line 2096 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 16381 "Photo.c" +#line 16382 "Photo.c" } #line 2096 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -16389,26 +16390,26 @@ guint64 photo_add_remove_flags (Photo* self, guint64 add, guint64 remove, Altera g_clear_error (&_inner_error_); #line 2096 "/home/jens/Source/shotwell/src/Photo.vala" return 0ULL; -#line 16391 "Photo.c" +#line 16392 "Photo.c" } } #line 2105 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = committed; #line 2105 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp17_) { -#line 16398 "Photo.c" +#line 16399 "Photo.c" Alteration* _tmp18_ = NULL; #line 2106 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = additional_alteration; #line 2106 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_flags_altered (self, _tmp18_); -#line 16404 "Photo.c" +#line 16405 "Photo.c" } #line 2108 "/home/jens/Source/shotwell/src/Photo.vala" result = flags; #line 2108 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 16410 "Photo.c" +#line 16411 "Photo.c" } @@ -16430,7 +16431,7 @@ void photo_add_remove_many_flags (GeeCollection* add, guint64 add_mask, Alterati _tmp0_ = add; #line 2116 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp0_ != NULL) { -#line 16432 "Photo.c" +#line 16433 "Photo.c" { GeeIterator* _photo_it = NULL; GeeCollection* _tmp1_ = NULL; @@ -16443,7 +16444,7 @@ void photo_add_remove_many_flags (GeeCollection* add, guint64 add_mask, Alterati _photo_it = _tmp2_; #line 2117 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 16445 "Photo.c" +#line 16446 "Photo.c" GeeIterator* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; Photo* photo = NULL; @@ -16460,7 +16461,7 @@ void photo_add_remove_many_flags (GeeCollection* add, guint64 add_mask, Alterati if (!_tmp4_) { #line 2117 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 16462 "Photo.c" +#line 16463 "Photo.c" } #line 2117 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = _photo_it; @@ -16478,18 +16479,18 @@ void photo_add_remove_many_flags (GeeCollection* add, guint64 add_mask, Alterati photo_add_flags (_tmp7_, _tmp8_, _tmp9_); #line 2117 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (photo); -#line 16480 "Photo.c" +#line 16481 "Photo.c" } #line 2117 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_photo_it); -#line 16484 "Photo.c" +#line 16485 "Photo.c" } } #line 2121 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = remove; #line 2121 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp10_ != NULL) { -#line 16491 "Photo.c" +#line 16492 "Photo.c" { GeeIterator* _photo_it = NULL; GeeCollection* _tmp11_ = NULL; @@ -16502,7 +16503,7 @@ void photo_add_remove_many_flags (GeeCollection* add, guint64 add_mask, Alterati _photo_it = _tmp12_; #line 2122 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 16504 "Photo.c" +#line 16505 "Photo.c" GeeIterator* _tmp13_ = NULL; gboolean _tmp14_ = FALSE; Photo* photo = NULL; @@ -16519,7 +16520,7 @@ void photo_add_remove_many_flags (GeeCollection* add, guint64 add_mask, Alterati if (!_tmp14_) { #line 2122 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 16521 "Photo.c" +#line 16522 "Photo.c" } #line 2122 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = _photo_it; @@ -16537,11 +16538,11 @@ void photo_add_remove_many_flags (GeeCollection* add, guint64 add_mask, Alterati photo_remove_flags (_tmp17_, _tmp18_, _tmp19_); #line 2122 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (photo); -#line 16539 "Photo.c" +#line 16540 "Photo.c" } #line 2122 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_photo_it); -#line 16543 "Photo.c" +#line 16544 "Photo.c" } } #line 2126 "/home/jens/Source/shotwell/src/Photo.vala" @@ -16554,7 +16555,7 @@ void photo_add_remove_many_flags (GeeCollection* add, guint64 add_mask, Alterati g_propagate_error (error, _inner_error_); #line 2126 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 16556 "Photo.c" +#line 16557 "Photo.c" } else { #line 2126 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -16562,7 +16563,7 @@ void photo_add_remove_many_flags (GeeCollection* add, guint64 add_mask, Alterati g_clear_error (&_inner_error_); #line 2126 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 16564 "Photo.c" +#line 16565 "Photo.c" } } } @@ -16582,14 +16583,14 @@ guint64 photo_toggle_flags (Photo* self, guint64 mask, Alteration* additional_al flags = (guint64) 0; #line 2132 "/home/jens/Source/shotwell/src/Photo.vala" committed = FALSE; -#line 16584 "Photo.c" +#line 16585 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2133 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2133 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 16591 "Photo.c" +#line 16592 "Photo.c" { PhotoRow* _tmp1_ = NULL; guint64 _tmp2_ = 0ULL; @@ -16613,7 +16614,7 @@ guint64 photo_toggle_flags (Photo* self, guint64 mask, Alteration* additional_al _tmp6_ = flags; #line 2135 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp5_ != _tmp6_) { -#line 16615 "Photo.c" +#line 16616 "Photo.c" PhotoTable* _tmp7_ = NULL; PhotoTable* _tmp8_ = NULL; PhotoID _tmp9_ = {0}; @@ -16638,7 +16639,7 @@ guint64 photo_toggle_flags (Photo* self, guint64 mask, Alteration* additional_al _tmp12_ = committed; #line 2137 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp12_) { -#line 16640 "Photo.c" +#line 16641 "Photo.c" PhotoRow* _tmp13_ = NULL; guint64 _tmp14_ = 0ULL; #line 2138 "/home/jens/Source/shotwell/src/Photo.vala" @@ -16647,18 +16648,18 @@ guint64 photo_toggle_flags (Photo* self, guint64 mask, Alteration* additional_al _tmp14_ = flags; #line 2138 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_->flags = _tmp14_; -#line 16649 "Photo.c" +#line 16650 "Photo.c" } } } - __finally318: + __finally331: { PhotoRow* _tmp15_ = NULL; #line 2133 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = self->row; #line 2133 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 16660 "Photo.c" +#line 16661 "Photo.c" } #line 2133 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -16668,26 +16669,26 @@ guint64 photo_toggle_flags (Photo* self, guint64 mask, Alteration* additional_al g_clear_error (&_inner_error_); #line 2133 "/home/jens/Source/shotwell/src/Photo.vala" return 0ULL; -#line 16670 "Photo.c" +#line 16671 "Photo.c" } } #line 2142 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = committed; #line 2142 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp16_) { -#line 16677 "Photo.c" +#line 16678 "Photo.c" Alteration* _tmp17_ = NULL; #line 2143 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = additional_alteration; #line 2143 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_flags_altered (self, _tmp17_); -#line 16683 "Photo.c" +#line 16684 "Photo.c" } #line 2145 "/home/jens/Source/shotwell/src/Photo.vala" result = flags; #line 2145 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 16689 "Photo.c" +#line 16690 "Photo.c" } @@ -16696,14 +16697,14 @@ gboolean photo_is_master_metadata_dirty (Photo* self) { GError * _inner_error_ = NULL; #line 2148 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), FALSE); -#line 16698 "Photo.c" +#line 16699 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2149 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2149 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 16705 "Photo.c" +#line 16706 "Photo.c" { PhotoRow* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; @@ -16713,27 +16714,27 @@ gboolean photo_is_master_metadata_dirty (Photo* self) { _tmp2_ = _tmp1_->metadata_dirty; #line 2150 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp2_; -#line 16715 "Photo.c" +#line 16716 "Photo.c" { PhotoRow* _tmp3_ = NULL; #line 2149 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 2149 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 16722 "Photo.c" +#line 16723 "Photo.c" } #line 2150 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 16726 "Photo.c" +#line 16727 "Photo.c" } - __finally319: + __finally332: { PhotoRow* _tmp4_ = NULL; #line 2149 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2149 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 16735 "Photo.c" +#line 16736 "Photo.c" } #line 2149 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -16741,7 +16742,7 @@ gboolean photo_is_master_metadata_dirty (Photo* self) { g_clear_error (&_inner_error_); #line 2149 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 16743 "Photo.c" +#line 16744 "Photo.c" } } @@ -16754,14 +16755,14 @@ void photo_set_master_metadata_dirty (Photo* self, gboolean dirty, GError** erro g_return_if_fail (IS_PHOTO (self)); #line 2155 "/home/jens/Source/shotwell/src/Photo.vala" committed = FALSE; -#line 16756 "Photo.c" +#line 16757 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2156 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2156 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 16763 "Photo.c" +#line 16764 "Photo.c" { PhotoRow* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; @@ -16774,7 +16775,7 @@ void photo_set_master_metadata_dirty (Photo* self, gboolean dirty, GError** erro _tmp3_ = dirty; #line 2157 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != _tmp3_) { -#line 16776 "Photo.c" +#line 16777 "Photo.c" PhotoTable* _tmp4_ = NULL; PhotoTable* _tmp5_ = NULL; PhotoID _tmp6_ = {0}; @@ -16795,8 +16796,8 @@ void photo_set_master_metadata_dirty (Photo* self, gboolean dirty, GError** erro _database_table_unref0 (_tmp5_); #line 2158 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 16797 "Photo.c" - goto __finally320; +#line 16798 "Photo.c" + goto __finally333; } #line 2159 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = self->row; @@ -16806,17 +16807,17 @@ void photo_set_master_metadata_dirty (Photo* self, gboolean dirty, GError** erro _tmp8_->metadata_dirty = _tmp9_; #line 2160 "/home/jens/Source/shotwell/src/Photo.vala" committed = TRUE; -#line 16808 "Photo.c" +#line 16809 "Photo.c" } } - __finally320: + __finally333: { PhotoRow* _tmp10_ = NULL; #line 2156 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = self->row; #line 2156 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 16818 "Photo.c" +#line 16819 "Photo.c" } #line 2156 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -16826,7 +16827,7 @@ void photo_set_master_metadata_dirty (Photo* self, gboolean dirty, GError** erro g_propagate_error (error, _inner_error_); #line 2156 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 16828 "Photo.c" +#line 16829 "Photo.c" } else { #line 2156 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -16834,7 +16835,7 @@ void photo_set_master_metadata_dirty (Photo* self, gboolean dirty, GError** erro g_clear_error (&_inner_error_); #line 2156 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 16836 "Photo.c" +#line 16837 "Photo.c" } } } @@ -16842,7 +16843,7 @@ void photo_set_master_metadata_dirty (Photo* self, gboolean dirty, GError** erro _tmp11_ = committed; #line 2164 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp11_) { -#line 16844 "Photo.c" +#line 16845 "Photo.c" Alteration* _tmp12_ = NULL; Alteration* _tmp13_ = NULL; #line 2165 "/home/jens/Source/shotwell/src/Photo.vala" @@ -16853,7 +16854,7 @@ void photo_set_master_metadata_dirty (Photo* self, gboolean dirty, GError** erro data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp13_); #line 2165 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp13_); -#line 16855 "Photo.c" +#line 16856 "Photo.c" } } @@ -16864,14 +16865,14 @@ static Rating photo_real_get_rating (MediaSource* base) { GError * _inner_error_ = NULL; #line 2168 "/home/jens/Source/shotwell/src/Photo.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); -#line 16866 "Photo.c" +#line 16867 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2169 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2169 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 16873 "Photo.c" +#line 16874 "Photo.c" { PhotoRow* _tmp1_ = NULL; Rating _tmp2_ = 0; @@ -16881,27 +16882,27 @@ static Rating photo_real_get_rating (MediaSource* base) { _tmp2_ = _tmp1_->rating; #line 2170 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp2_; -#line 16883 "Photo.c" +#line 16884 "Photo.c" { PhotoRow* _tmp3_ = NULL; #line 2169 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 2169 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 16890 "Photo.c" +#line 16891 "Photo.c" } #line 2170 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 16894 "Photo.c" +#line 16895 "Photo.c" } - __finally321: + __finally334: { PhotoRow* _tmp4_ = NULL; #line 2169 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2169 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 16903 "Photo.c" +#line 16904 "Photo.c" } #line 2169 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -16909,7 +16910,7 @@ static Rating photo_real_get_rating (MediaSource* base) { g_clear_error (&_inner_error_); #line 2169 "/home/jens/Source/shotwell/src/Photo.vala" return 0; -#line 16911 "Photo.c" +#line 16912 "Photo.c" } } @@ -16923,14 +16924,14 @@ static void photo_real_set_rating (MediaSource* base, Rating rating) { self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); #line 2175 "/home/jens/Source/shotwell/src/Photo.vala" committed = FALSE; -#line 16925 "Photo.c" +#line 16926 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2177 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2177 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 16932 "Photo.c" +#line 16933 "Photo.c" { gboolean _tmp1_ = FALSE; Rating _tmp2_ = 0; @@ -16944,7 +16945,7 @@ static void photo_real_set_rating (MediaSource* base, Rating rating) { _tmp4_ = _tmp3_->rating; #line 2178 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != _tmp4_) { -#line 16946 "Photo.c" +#line 16947 "Photo.c" Rating _tmp5_ = 0; gboolean _tmp6_ = FALSE; #line 2178 "/home/jens/Source/shotwell/src/Photo.vala" @@ -16953,15 +16954,15 @@ static void photo_real_set_rating (MediaSource* base, Rating rating) { _tmp6_ = rating_is_valid (_tmp5_); #line 2178 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = _tmp6_; -#line 16955 "Photo.c" +#line 16956 "Photo.c" } else { #line 2178 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = FALSE; -#line 16959 "Photo.c" +#line 16960 "Photo.c" } #line 2178 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_) { -#line 16963 "Photo.c" +#line 16964 "Photo.c" PhotoTable* _tmp7_ = NULL; PhotoTable* _tmp8_ = NULL; PhotoID _tmp9_ = {0}; @@ -16986,7 +16987,7 @@ static void photo_real_set_rating (MediaSource* base, Rating rating) { _tmp12_ = committed; #line 2180 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp12_) { -#line 16988 "Photo.c" +#line 16989 "Photo.c" PhotoRow* _tmp13_ = NULL; Rating _tmp14_ = 0; #line 2181 "/home/jens/Source/shotwell/src/Photo.vala" @@ -16995,18 +16996,18 @@ static void photo_real_set_rating (MediaSource* base, Rating rating) { _tmp14_ = rating; #line 2181 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_->rating = _tmp14_; -#line 16997 "Photo.c" +#line 16998 "Photo.c" } } } - __finally322: + __finally335: { PhotoRow* _tmp15_ = NULL; #line 2177 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = self->row; #line 2177 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 17008 "Photo.c" +#line 17009 "Photo.c" } #line 2177 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -17016,14 +17017,14 @@ static void photo_real_set_rating (MediaSource* base, Rating rating) { g_clear_error (&_inner_error_); #line 2177 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 17018 "Photo.c" +#line 17019 "Photo.c" } } #line 2185 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = committed; #line 2185 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp16_) { -#line 17025 "Photo.c" +#line 17026 "Photo.c" Alteration* _tmp17_ = NULL; Alteration* _tmp18_ = NULL; #line 2186 "/home/jens/Source/shotwell/src/Photo.vala" @@ -17034,7 +17035,7 @@ static void photo_real_set_rating (MediaSource* base, Rating rating) { data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp18_); #line 2186 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp18_); -#line 17036 "Photo.c" +#line 17037 "Photo.c" } } @@ -17044,14 +17045,14 @@ static void photo_real_increase_rating (MediaSource* base) { GError * _inner_error_ = NULL; #line 2189 "/home/jens/Source/shotwell/src/Photo.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); -#line 17046 "Photo.c" +#line 17047 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2190 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2190 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 17053 "Photo.c" +#line 17054 "Photo.c" { PhotoRow* _tmp1_ = NULL; Rating _tmp2_ = 0; @@ -17064,16 +17065,16 @@ static void photo_real_increase_rating (MediaSource* base) { _tmp3_ = rating_increase (_tmp2_); #line 2191 "/home/jens/Source/shotwell/src/Photo.vala" media_source_set_rating (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource), _tmp3_); -#line 17066 "Photo.c" +#line 17067 "Photo.c" } - __finally323: + __finally336: { PhotoRow* _tmp4_ = NULL; #line 2190 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2190 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 17075 "Photo.c" +#line 17076 "Photo.c" } #line 2190 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -17083,7 +17084,7 @@ static void photo_real_increase_rating (MediaSource* base) { g_clear_error (&_inner_error_); #line 2190 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 17085 "Photo.c" +#line 17086 "Photo.c" } } } @@ -17094,14 +17095,14 @@ static void photo_real_decrease_rating (MediaSource* base) { GError * _inner_error_ = NULL; #line 2195 "/home/jens/Source/shotwell/src/Photo.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); -#line 17096 "Photo.c" +#line 17097 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2196 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2196 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 17103 "Photo.c" +#line 17104 "Photo.c" { PhotoRow* _tmp1_ = NULL; Rating _tmp2_ = 0; @@ -17114,16 +17115,16 @@ static void photo_real_decrease_rating (MediaSource* base) { _tmp3_ = rating_decrease (_tmp2_); #line 2197 "/home/jens/Source/shotwell/src/Photo.vala" media_source_set_rating (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource), _tmp3_); -#line 17116 "Photo.c" +#line 17117 "Photo.c" } - __finally324: + __finally337: { PhotoRow* _tmp4_ = NULL; #line 2196 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2196 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 17125 "Photo.c" +#line 17126 "Photo.c" } #line 2196 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -17133,7 +17134,7 @@ static void photo_real_decrease_rating (MediaSource* base) { g_clear_error (&_inner_error_); #line 2196 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 17135 "Photo.c" +#line 17136 "Photo.c" } } } @@ -17146,7 +17147,7 @@ static void photo_real_commit_backlinks (DataSource* base, SourceCollection* sou self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); #line 2201 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail ((sources == NULL) || IS_SOURCE_COLLECTION (sources)); -#line 17148 "Photo.c" +#line 17149 "Photo.c" { PhotoTable* _tmp0_ = NULL; PhotoTable* _tmp1_ = NULL; @@ -17168,8 +17169,8 @@ static void photo_real_commit_backlinks (DataSource* base, SourceCollection* sou if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2206 "/home/jens/Source/shotwell/src/Photo.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 17170 "Photo.c" - goto __catch325_database_error; +#line 17171 "Photo.c" + goto __catch338_database_error; } #line 2206 "/home/jens/Source/shotwell/src/Photo.vala" 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); @@ -17177,7 +17178,7 @@ static void photo_real_commit_backlinks (DataSource* base, SourceCollection* sou g_clear_error (&_inner_error_); #line 2206 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 17179 "Photo.c" +#line 17180 "Photo.c" } { PhotoRow* _tmp4_ = NULL; @@ -17185,7 +17186,7 @@ static void photo_real_commit_backlinks (DataSource* base, SourceCollection* sou _tmp4_ = self->row; #line 2207 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 17187 "Photo.c" +#line 17188 "Photo.c" { PhotoRow* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; @@ -17200,23 +17201,23 @@ static void photo_real_commit_backlinks (DataSource* base, SourceCollection* sou _g_free0 (_tmp5_->backlinks); #line 2208 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_->backlinks = _tmp7_; -#line 17202 "Photo.c" +#line 17203 "Photo.c" } - __finally326: + __finally339: { PhotoRow* _tmp8_ = NULL; #line 2207 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = self->row; #line 2207 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 17211 "Photo.c" +#line 17212 "Photo.c" } #line 2207 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2207 "/home/jens/Source/shotwell/src/Photo.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 17217 "Photo.c" - goto __catch325_database_error; +#line 17218 "Photo.c" + goto __catch338_database_error; } #line 2207 "/home/jens/Source/shotwell/src/Photo.vala" 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); @@ -17224,12 +17225,12 @@ static void photo_real_commit_backlinks (DataSource* base, SourceCollection* sou g_clear_error (&_inner_error_); #line 2207 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 17226 "Photo.c" +#line 17227 "Photo.c" } } } - goto __finally325; - __catch325_database_error: + goto __finally338; + __catch338_database_error: { GError* err = NULL; gchar* _tmp9_ = NULL; @@ -17254,9 +17255,9 @@ static void photo_real_commit_backlinks (DataSource* base, SourceCollection* sou _g_free0 (_tmp10_); #line 2205 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 17256 "Photo.c" +#line 17257 "Photo.c" } - __finally325: + __finally338: #line 2205 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2205 "/home/jens/Source/shotwell/src/Photo.vala" @@ -17265,7 +17266,7 @@ static void photo_real_commit_backlinks (DataSource* base, SourceCollection* sou g_clear_error (&_inner_error_); #line 2205 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 17267 "Photo.c" +#line 17268 "Photo.c" } } @@ -17278,14 +17279,14 @@ static gboolean photo_real_set_event_id (MediaSource* base, EventID* event_id) { self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); #line 2219 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (event_id != NULL, FALSE); -#line 17280 "Photo.c" +#line 17281 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2220 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2220 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 17287 "Photo.c" +#line 17288 "Photo.c" { gboolean committed = FALSE; PhotoTable* _tmp1_ = NULL; @@ -17318,7 +17319,7 @@ static gboolean photo_real_set_event_id (MediaSource* base, EventID* event_id) { _tmp8_ = committed; #line 2223 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp8_) { -#line 17320 "Photo.c" +#line 17321 "Photo.c" PhotoRow* _tmp9_ = NULL; EventID _tmp10_ = {0}; #line 2224 "/home/jens/Source/shotwell/src/Photo.vala" @@ -17327,31 +17328,31 @@ static gboolean photo_real_set_event_id (MediaSource* base, EventID* event_id) { _tmp10_ = *event_id; #line 2224 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_->event_id = _tmp10_; -#line 17329 "Photo.c" +#line 17330 "Photo.c" } #line 2226 "/home/jens/Source/shotwell/src/Photo.vala" result = committed; -#line 17333 "Photo.c" +#line 17334 "Photo.c" { PhotoRow* _tmp11_ = NULL; #line 2220 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = self->row; #line 2220 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 17340 "Photo.c" +#line 17341 "Photo.c" } #line 2226 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 17344 "Photo.c" +#line 17345 "Photo.c" } - __finally327: + __finally340: { PhotoRow* _tmp12_ = NULL; #line 2220 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = self->row; #line 2220 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 17353 "Photo.c" +#line 17354 "Photo.c" } #line 2220 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -17359,7 +17360,7 @@ static gboolean photo_real_set_event_id (MediaSource* base, EventID* event_id) { g_clear_error (&_inner_error_); #line 2220 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 17361 "Photo.c" +#line 17362 "Photo.c" } } @@ -17385,7 +17386,7 @@ static gchar* photo_real_to_string (DataObject* base) { _tmp1_ = photo_is_master_baseline (self); #line 2232 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp1_) { -#line 17387 "Photo.c" +#line 17388 "Photo.c" GFile* _tmp2_ = NULL; GFile* _tmp3_ = NULL; gchar* _tmp4_ = NULL; @@ -17417,7 +17418,7 @@ static gchar* photo_real_to_string (DataObject* base) { _g_free0 (_tmp5_); #line 2232 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp3_); -#line 17419 "Photo.c" +#line 17420 "Photo.c" } else { gchar* _tmp9_ = NULL; #line 2232 "/home/jens/Source/shotwell/src/Photo.vala" @@ -17426,7 +17427,7 @@ static gchar* photo_real_to_string (DataObject* base) { _g_free0 (_tmp0_); #line 2232 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = _tmp9_; -#line 17428 "Photo.c" +#line 17429 "Photo.c" } #line 2231 "/home/jens/Source/shotwell/src/Photo.vala" photo_get_photo_id (self, &_tmp10_); @@ -17460,7 +17461,7 @@ static gchar* photo_real_to_string (DataObject* base) { _g_free0 (_tmp0_); #line 2231 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 17462 "Photo.c" +#line 17463 "Photo.c" } @@ -17487,7 +17488,7 @@ static gboolean photo_real_equals (DataSource* base, DataSource* source) { _tmp2_ = photo; #line 2238 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != NULL) { -#line 17489 "Photo.c" +#line 17490 "Photo.c" PhotoID photo_id = {0}; PhotoID _tmp3_ = {0}; PhotoID other_photo_id = {0}; @@ -17509,7 +17510,7 @@ static gboolean photo_real_equals (DataSource* base, DataSource* source) { _tmp7_ = photo; #line 2242 "/home/jens/Source/shotwell/src/Photo.vala" if (self != _tmp7_) { -#line 17511 "Photo.c" +#line 17512 "Photo.c" PhotoID _tmp8_ = {0}; gint64 _tmp9_ = 0LL; #line 2242 "/home/jens/Source/shotwell/src/Photo.vala" @@ -17518,15 +17519,15 @@ static gboolean photo_real_equals (DataSource* base, DataSource* source) { _tmp9_ = _tmp8_.id; #line 2242 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = _tmp9_ != PHOTO_ID_INVALID; -#line 17520 "Photo.c" +#line 17521 "Photo.c" } else { #line 2242 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = FALSE; -#line 17524 "Photo.c" +#line 17525 "Photo.c" } #line 2242 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp6_) { -#line 17528 "Photo.c" +#line 17529 "Photo.c" PhotoID _tmp10_ = {0}; gint64 _tmp11_ = 0LL; PhotoID _tmp12_ = {0}; @@ -17541,7 +17542,7 @@ static gboolean photo_real_equals (DataSource* base, DataSource* source) { _tmp13_ = _tmp12_.id; #line 2243 "/home/jens/Source/shotwell/src/Photo.vala" _vala_assert (_tmp11_ != _tmp13_, "photo_id.id != other_photo_id.id"); -#line 17543 "Photo.c" +#line 17544 "Photo.c" } } #line 2247 "/home/jens/Source/shotwell/src/Photo.vala" @@ -17554,7 +17555,7 @@ static gboolean photo_real_equals (DataSource* base, DataSource* source) { _g_object_unref0 (photo); #line 2247 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 17556 "Photo.c" +#line 17557 "Photo.c" } @@ -17582,7 +17583,7 @@ static void photo_file_exif_updated (Photo* self) { file = _tmp0_; #line 2254 "/home/jens/Source/shotwell/src/Photo.vala" info = NULL; -#line 17584 "Photo.c" +#line 17585 "Photo.c" { GFileInfo* _tmp1_ = NULL; GFileInfo* _tmp2_ = NULL; @@ -17593,8 +17594,8 @@ static void photo_file_exif_updated (Photo* self) { _tmp1_ = _tmp2_; #line 2256 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 17595 "Photo.c" - goto __catch328_g_error; +#line 17596 "Photo.c" + goto __catch341_g_error; } #line 2256 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = _tmp1_; @@ -17606,10 +17607,10 @@ static void photo_file_exif_updated (Photo* self) { info = _tmp3_; #line 2255 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp1_); -#line 17608 "Photo.c" +#line 17609 "Photo.c" } - goto __finally328; - __catch328_g_error: + goto __finally341; + __catch341_g_error: { GError* err = NULL; gchar* _tmp4_ = NULL; @@ -17631,9 +17632,9 @@ static void photo_file_exif_updated (Photo* self) { _g_free0 (_tmp5_); #line 2255 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 17633 "Photo.c" +#line 17634 "Photo.c" } - __finally328: + __finally341: #line 2255 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2255 "/home/jens/Source/shotwell/src/Photo.vala" @@ -17646,7 +17647,7 @@ static void photo_file_exif_updated (Photo* self) { g_clear_error (&_inner_error_); #line 2255 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 17648 "Photo.c" +#line 17649 "Photo.c" } #line 2262 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = info; @@ -17658,18 +17659,18 @@ static void photo_file_exif_updated (Photo* self) { _tmp9_ = photo_file_interrogator_new (file, PHOTO_FILE_SNIFFER_OPTIONS_GET_ALL); #line 2265 "/home/jens/Source/shotwell/src/Photo.vala" interrogator = _tmp9_; -#line 17660 "Photo.c" +#line 17661 "Photo.c" { #line 2267 "/home/jens/Source/shotwell/src/Photo.vala" photo_file_interrogator_interrogate (interrogator, &_inner_error_); #line 2267 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 17666 "Photo.c" - goto __catch329_g_error; +#line 17667 "Photo.c" + goto __catch342_g_error; } } - goto __finally329; - __catch329_g_error: + goto __finally342; + __catch342_g_error: { GError* err = NULL; gchar* _tmp10_ = NULL; @@ -17694,9 +17695,9 @@ static void photo_file_exif_updated (Photo* self) { _g_free0 (_tmp11_); #line 2266 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 17696 "Photo.c" +#line 17697 "Photo.c" } - __finally329: + __finally342: #line 2266 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2266 "/home/jens/Source/shotwell/src/Photo.vala" @@ -17711,7 +17712,7 @@ static void photo_file_exif_updated (Photo* self) { g_clear_error (&_inner_error_); #line 2266 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 17713 "Photo.c" +#line 17714 "Photo.c" } #line 2272 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = photo_file_interrogator_get_detected_photo_information (interrogator); @@ -17723,18 +17724,18 @@ static void photo_file_exif_updated (Photo* self) { if (_tmp16_ == NULL) { #line 2273 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = TRUE; -#line 17725 "Photo.c" +#line 17726 "Photo.c" } else { gboolean _tmp17_ = FALSE; #line 2273 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = photo_file_interrogator_get_is_photo_corrupted (interrogator); #line 2273 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = _tmp17_; -#line 17732 "Photo.c" +#line 17733 "Photo.c" } #line 2273 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp15_) { -#line 17736 "Photo.c" +#line 17737 "Photo.c" gchar* _tmp18_ = NULL; gchar* _tmp19_ = NULL; #line 2274 "/home/jens/Source/shotwell/src/Photo.vala" @@ -17755,7 +17756,7 @@ static void photo_file_exif_updated (Photo* self) { _g_object_unref0 (file); #line 2276 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 17757 "Photo.c" +#line 17758 "Photo.c" } { PhotoRow* _tmp20_ = NULL; @@ -17763,7 +17764,7 @@ static void photo_file_exif_updated (Photo* self) { _tmp20_ = self->row; #line 2280 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 17765 "Photo.c" +#line 17766 "Photo.c" { PhotoTable* _tmp21_ = NULL; PhotoTable* _tmp22_ = NULL; @@ -17814,16 +17815,16 @@ static void photo_file_exif_updated (Photo* self) { success = _tmp35_; #line 2281 "/home/jens/Source/shotwell/src/Photo.vala" _database_table_unref0 (_tmp22_); -#line 17816 "Photo.c" +#line 17817 "Photo.c" } - __finally330: + __finally343: { PhotoRow* _tmp36_ = NULL; #line 2280 "/home/jens/Source/shotwell/src/Photo.vala" _tmp36_ = self->row; #line 2280 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 17825 "Photo.c" +#line 17826 "Photo.c" } #line 2280 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -17841,14 +17842,14 @@ static void photo_file_exif_updated (Photo* self) { g_clear_error (&_inner_error_); #line 2280 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 17843 "Photo.c" +#line 17844 "Photo.c" } } #line 2285 "/home/jens/Source/shotwell/src/Photo.vala" _tmp37_ = success; #line 2285 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp37_) { -#line 17850 "Photo.c" +#line 17851 "Photo.c" Alteration* _tmp38_ = NULL; Alteration* _tmp39_ = NULL; #line 2286 "/home/jens/Source/shotwell/src/Photo.vala" @@ -17859,7 +17860,7 @@ static void photo_file_exif_updated (Photo* self) { data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp39_); #line 2286 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp39_); -#line 17861 "Photo.c" +#line 17862 "Photo.c" } #line 2251 "/home/jens/Source/shotwell/src/Photo.vala" _detected_photo_information_unref0 (detected); @@ -17869,7 +17870,7 @@ static void photo_file_exif_updated (Photo* self) { _g_object_unref0 (info); #line 2251 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (file); -#line 17871 "Photo.c" +#line 17872 "Photo.c" } @@ -17879,14 +17880,14 @@ static guint64 photo_real_get_filesize (MediaSource* base) { GError * _inner_error_ = NULL; #line 2291 "/home/jens/Source/shotwell/src/Photo.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); -#line 17881 "Photo.c" +#line 17882 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2292 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2292 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 17888 "Photo.c" +#line 17889 "Photo.c" { BackingPhotoRow* _tmp1_ = NULL; gint64 _tmp2_ = 0LL; @@ -17896,27 +17897,27 @@ static guint64 photo_real_get_filesize (MediaSource* base) { _tmp2_ = _tmp1_->filesize; #line 2293 "/home/jens/Source/shotwell/src/Photo.vala" result = (guint64) _tmp2_; -#line 17898 "Photo.c" +#line 17899 "Photo.c" { PhotoRow* _tmp3_ = NULL; #line 2292 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 2292 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 17905 "Photo.c" +#line 17906 "Photo.c" } #line 2293 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 17909 "Photo.c" +#line 17910 "Photo.c" } - __finally331: + __finally344: { PhotoRow* _tmp4_ = NULL; #line 2292 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2292 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 17918 "Photo.c" +#line 17919 "Photo.c" } #line 2292 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -17924,7 +17925,7 @@ static guint64 photo_real_get_filesize (MediaSource* base) { g_clear_error (&_inner_error_); #line 2292 "/home/jens/Source/shotwell/src/Photo.vala" return 0ULL; -#line 17926 "Photo.c" +#line 17927 "Photo.c" } } @@ -17935,14 +17936,14 @@ static guint64 photo_real_get_master_filesize (MediaSource* base) { GError * _inner_error_ = NULL; #line 2297 "/home/jens/Source/shotwell/src/Photo.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); -#line 17937 "Photo.c" +#line 17938 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2298 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2298 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 17944 "Photo.c" +#line 17945 "Photo.c" { PhotoRow* _tmp1_ = NULL; BackingPhotoRow* _tmp2_ = NULL; @@ -17955,27 +17956,27 @@ static guint64 photo_real_get_master_filesize (MediaSource* base) { _tmp3_ = _tmp2_->filesize; #line 2299 "/home/jens/Source/shotwell/src/Photo.vala" result = (guint64) _tmp3_; -#line 17957 "Photo.c" +#line 17958 "Photo.c" { PhotoRow* _tmp4_ = NULL; #line 2298 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2298 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 17964 "Photo.c" +#line 17965 "Photo.c" } #line 2299 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 17968 "Photo.c" +#line 17969 "Photo.c" } - __finally332: + __finally345: { PhotoRow* _tmp5_ = NULL; #line 2298 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->row; #line 2298 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 17977 "Photo.c" +#line 17978 "Photo.c" } #line 2298 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -17983,7 +17984,7 @@ static guint64 photo_real_get_master_filesize (MediaSource* base) { g_clear_error (&_inner_error_); #line 2298 "/home/jens/Source/shotwell/src/Photo.vala" return 0ULL; -#line 17985 "Photo.c" +#line 17986 "Photo.c" } } @@ -17993,14 +17994,14 @@ guint64 photo_get_editable_filesize (Photo* self) { GError * _inner_error_ = NULL; #line 2303 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), 0ULL); -#line 17995 "Photo.c" +#line 17996 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2304 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2304 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 18002 "Photo.c" +#line 18003 "Photo.c" { BackingPhotoRow* _tmp1_ = NULL; gint64 _tmp2_ = 0LL; @@ -18010,27 +18011,27 @@ guint64 photo_get_editable_filesize (Photo* self) { _tmp2_ = _tmp1_->filesize; #line 2305 "/home/jens/Source/shotwell/src/Photo.vala" result = (guint64) _tmp2_; -#line 18012 "Photo.c" +#line 18013 "Photo.c" { PhotoRow* _tmp3_ = NULL; #line 2304 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 2304 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 18019 "Photo.c" +#line 18020 "Photo.c" } #line 2305 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 18023 "Photo.c" +#line 18024 "Photo.c" } - __finally333: + __finally346: { PhotoRow* _tmp4_ = NULL; #line 2304 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2304 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 18032 "Photo.c" +#line 18033 "Photo.c" } #line 2304 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -18038,7 +18039,7 @@ guint64 photo_get_editable_filesize (Photo* self) { g_clear_error (&_inner_error_); #line 2304 "/home/jens/Source/shotwell/src/Photo.vala" return 0ULL; -#line 18040 "Photo.c" +#line 18041 "Photo.c" } } @@ -18055,7 +18056,7 @@ static time_t photo_real_get_exposure_time (Dateable* base) { result = _tmp0_; #line 2310 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 18057 "Photo.c" +#line 18058 "Photo.c" } @@ -18065,14 +18066,14 @@ static gchar* photo_real_get_basename (MediaSource* base) { GError * _inner_error_ = NULL; #line 2313 "/home/jens/Source/shotwell/src/Photo.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); -#line 18067 "Photo.c" +#line 18068 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2314 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2314 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 18074 "Photo.c" +#line 18075 "Photo.c" { const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; @@ -18082,27 +18083,27 @@ static gchar* photo_real_get_basename (MediaSource* base) { _tmp2_ = g_strdup (_tmp1_); #line 2315 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp2_; -#line 18084 "Photo.c" +#line 18085 "Photo.c" { PhotoRow* _tmp3_ = NULL; #line 2314 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 2314 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 18091 "Photo.c" +#line 18092 "Photo.c" } #line 2315 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 18095 "Photo.c" +#line 18096 "Photo.c" } - __finally334: + __finally347: { PhotoRow* _tmp4_ = NULL; #line 2314 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2314 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 18104 "Photo.c" +#line 18105 "Photo.c" } #line 2314 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -18110,7 +18111,7 @@ static gchar* photo_real_get_basename (MediaSource* base) { g_clear_error (&_inner_error_); #line 2314 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 18112 "Photo.c" +#line 18113 "Photo.c" } } @@ -18121,14 +18122,14 @@ static gchar* photo_real_get_title (MediaSource* base) { GError * _inner_error_ = NULL; #line 2319 "/home/jens/Source/shotwell/src/Photo.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); -#line 18123 "Photo.c" +#line 18124 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2320 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2320 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 18130 "Photo.c" +#line 18131 "Photo.c" { PhotoRow* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; @@ -18141,27 +18142,27 @@ static gchar* photo_real_get_title (MediaSource* base) { _tmp3_ = g_strdup (_tmp2_); #line 2321 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp3_; -#line 18143 "Photo.c" +#line 18144 "Photo.c" { PhotoRow* _tmp4_ = NULL; #line 2320 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2320 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 18150 "Photo.c" +#line 18151 "Photo.c" } #line 2321 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 18154 "Photo.c" +#line 18155 "Photo.c" } - __finally335: + __finally348: { PhotoRow* _tmp5_ = NULL; #line 2320 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->row; #line 2320 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 18163 "Photo.c" +#line 18164 "Photo.c" } #line 2320 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -18169,7 +18170,7 @@ static gchar* photo_real_get_title (MediaSource* base) { g_clear_error (&_inner_error_); #line 2320 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 18171 "Photo.c" +#line 18172 "Photo.c" } } @@ -18180,14 +18181,14 @@ static gchar* photo_real_get_comment (MediaSource* base) { GError * _inner_error_ = NULL; #line 2325 "/home/jens/Source/shotwell/src/Photo.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); -#line 18182 "Photo.c" +#line 18183 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2326 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2326 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 18189 "Photo.c" +#line 18190 "Photo.c" { PhotoRow* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; @@ -18200,27 +18201,27 @@ static gchar* photo_real_get_comment (MediaSource* base) { _tmp3_ = g_strdup (_tmp2_); #line 2327 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp3_; -#line 18202 "Photo.c" +#line 18203 "Photo.c" { PhotoRow* _tmp4_ = NULL; #line 2326 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2326 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 18209 "Photo.c" +#line 18210 "Photo.c" } #line 2327 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 18213 "Photo.c" +#line 18214 "Photo.c" } - __finally336: + __finally349: { PhotoRow* _tmp5_ = NULL; #line 2326 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->row; #line 2326 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 18222 "Photo.c" +#line 18223 "Photo.c" } #line 2326 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -18228,7 +18229,7 @@ static gchar* photo_real_get_comment (MediaSource* base) { g_clear_error (&_inner_error_); #line 2326 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 18230 "Photo.c" +#line 18231 "Photo.c" } } @@ -18251,14 +18252,14 @@ static void photo_real_set_title (MediaSource* base, const gchar* title) { new_title = _tmp1_; #line 2334 "/home/jens/Source/shotwell/src/Photo.vala" committed = FALSE; -#line 18253 "Photo.c" +#line 18254 "Photo.c" { PhotoRow* _tmp2_ = NULL; #line 2335 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = self->row; #line 2335 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 18260 "Photo.c" +#line 18261 "Photo.c" { const gchar* _tmp3_ = NULL; PhotoRow* _tmp4_ = NULL; @@ -18278,20 +18279,20 @@ static void photo_real_set_title (MediaSource* base, const gchar* title) { _tmp5_ = _tmp4_->title; #line 2336 "/home/jens/Source/shotwell/src/Photo.vala" if (g_strcmp0 (_tmp3_, _tmp5_) == 0) { -#line 18280 "Photo.c" +#line 18281 "Photo.c" { PhotoRow* _tmp6_ = NULL; #line 2335 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = self->row; #line 2335 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 18287 "Photo.c" +#line 18288 "Photo.c" } #line 2337 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (new_title); #line 2337 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 18293 "Photo.c" +#line 18294 "Photo.c" } #line 2339 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = photo_table_get_instance (); @@ -18313,7 +18314,7 @@ static void photo_real_set_title (MediaSource* base, const gchar* title) { _tmp13_ = committed; #line 2340 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp13_) { -#line 18315 "Photo.c" +#line 18316 "Photo.c" PhotoRow* _tmp14_ = NULL; const gchar* _tmp15_ = NULL; gchar* _tmp16_ = NULL; @@ -18327,17 +18328,17 @@ static void photo_real_set_title (MediaSource* base, const gchar* title) { _g_free0 (_tmp14_->title); #line 2341 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_->title = _tmp16_; -#line 18329 "Photo.c" +#line 18330 "Photo.c" } } - __finally337: + __finally350: { PhotoRow* _tmp17_ = NULL; #line 2335 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = self->row; #line 2335 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 18339 "Photo.c" +#line 18340 "Photo.c" } #line 2335 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -18349,14 +18350,14 @@ static void photo_real_set_title (MediaSource* base, const gchar* title) { g_clear_error (&_inner_error_); #line 2335 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 18351 "Photo.c" +#line 18352 "Photo.c" } } #line 2344 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = committed; #line 2344 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp18_) { -#line 18358 "Photo.c" +#line 18359 "Photo.c" Alteration* _tmp19_ = NULL; Alteration* _tmp20_ = NULL; #line 2345 "/home/jens/Source/shotwell/src/Photo.vala" @@ -18367,11 +18368,11 @@ static void photo_real_set_title (MediaSource* base, const gchar* title) { data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp20_); #line 2345 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp20_); -#line 18369 "Photo.c" +#line 18370 "Photo.c" } #line 2331 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (new_title); -#line 18373 "Photo.c" +#line 18374 "Photo.c" } @@ -18394,14 +18395,14 @@ static gboolean photo_real_set_comment (MediaSource* base, const gchar* comment) new_comment = _tmp1_; #line 2351 "/home/jens/Source/shotwell/src/Photo.vala" committed = FALSE; -#line 18396 "Photo.c" +#line 18397 "Photo.c" { PhotoRow* _tmp2_ = NULL; #line 2352 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = self->row; #line 2352 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 18403 "Photo.c" +#line 18404 "Photo.c" { const gchar* _tmp3_ = NULL; PhotoRow* _tmp4_ = NULL; @@ -18423,20 +18424,20 @@ static gboolean photo_real_set_comment (MediaSource* base, const gchar* comment) if (g_strcmp0 (_tmp3_, _tmp5_) == 0) { #line 2354 "/home/jens/Source/shotwell/src/Photo.vala" result = TRUE; -#line 18425 "Photo.c" +#line 18426 "Photo.c" { PhotoRow* _tmp6_ = NULL; #line 2352 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = self->row; #line 2352 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 18432 "Photo.c" +#line 18433 "Photo.c" } #line 2354 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (new_comment); #line 2354 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 18438 "Photo.c" +#line 18439 "Photo.c" } #line 2356 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = photo_table_get_instance (); @@ -18458,7 +18459,7 @@ static gboolean photo_real_set_comment (MediaSource* base, const gchar* comment) _tmp13_ = committed; #line 2357 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp13_) { -#line 18460 "Photo.c" +#line 18461 "Photo.c" PhotoRow* _tmp14_ = NULL; const gchar* _tmp15_ = NULL; gchar* _tmp16_ = NULL; @@ -18472,17 +18473,17 @@ static gboolean photo_real_set_comment (MediaSource* base, const gchar* comment) _g_free0 (_tmp14_->comment); #line 2358 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_->comment = _tmp16_; -#line 18474 "Photo.c" +#line 18475 "Photo.c" } } - __finally338: + __finally351: { PhotoRow* _tmp17_ = NULL; #line 2352 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = self->row; #line 2352 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 18484 "Photo.c" +#line 18485 "Photo.c" } #line 2352 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -18494,14 +18495,14 @@ static gboolean photo_real_set_comment (MediaSource* base, const gchar* comment) g_clear_error (&_inner_error_); #line 2352 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 18496 "Photo.c" +#line 18497 "Photo.c" } } #line 2361 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = committed; #line 2361 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp18_) { -#line 18503 "Photo.c" +#line 18504 "Photo.c" Alteration* _tmp19_ = NULL; Alteration* _tmp20_ = NULL; #line 2362 "/home/jens/Source/shotwell/src/Photo.vala" @@ -18512,7 +18513,7 @@ static gboolean photo_real_set_comment (MediaSource* base, const gchar* comment) data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp20_); #line 2362 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp20_); -#line 18514 "Photo.c" +#line 18515 "Photo.c" } #line 2364 "/home/jens/Source/shotwell/src/Photo.vala" result = committed; @@ -18520,14 +18521,14 @@ static gboolean photo_real_set_comment (MediaSource* base, const gchar* comment) _g_free0 (new_comment); #line 2364 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 18522 "Photo.c" +#line 18523 "Photo.c" } static gpointer _g_error_copy0 (gpointer self) { #line 2374 "/home/jens/Source/shotwell/src/Photo.vala" return self ? g_error_copy (self) : NULL; -#line 18529 "Photo.c" +#line 18530 "Photo.c" } @@ -18541,14 +18542,14 @@ void photo_set_import_id (Photo* self, ImportID* import_id) { g_return_if_fail (import_id != NULL); #line 2368 "/home/jens/Source/shotwell/src/Photo.vala" dberr = NULL; -#line 18543 "Photo.c" +#line 18544 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2369 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2369 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 18550 "Photo.c" +#line 18551 "Photo.c" { { PhotoTable* _tmp1_ = NULL; @@ -18576,8 +18577,8 @@ void photo_set_import_id (Photo* self, ImportID* import_id) { if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2371 "/home/jens/Source/shotwell/src/Photo.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 18578 "Photo.c" - goto __catch340_database_error; +#line 18579 "Photo.c" + goto __catch353_database_error; } { PhotoRow* _tmp6_ = NULL; @@ -18585,7 +18586,7 @@ void photo_set_import_id (Photo* self, ImportID* import_id) { _tmp6_ = self->row; #line 2369 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 18587 "Photo.c" +#line 18588 "Photo.c" } #line 2371 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (dberr); @@ -18595,7 +18596,7 @@ void photo_set_import_id (Photo* self, ImportID* import_id) { g_clear_error (&_inner_error_); #line 2371 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 18597 "Photo.c" +#line 18598 "Photo.c" } #line 2372 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = self->row; @@ -18603,10 +18604,10 @@ void photo_set_import_id (Photo* self, ImportID* import_id) { _tmp8_ = *import_id; #line 2372 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_->import_id = _tmp8_; -#line 18605 "Photo.c" +#line 18606 "Photo.c" } - goto __finally340; - __catch340_database_error: + goto __finally353; + __catch353_database_error: { GError* err = NULL; GError* _tmp9_ = NULL; @@ -18625,19 +18626,19 @@ void photo_set_import_id (Photo* self, ImportID* import_id) { dberr = _tmp10_; #line 2370 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 18627 "Photo.c" +#line 18628 "Photo.c" } - __finally340: + __finally353: #line 2370 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 18632 "Photo.c" +#line 18633 "Photo.c" { PhotoRow* _tmp11_ = NULL; #line 2369 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = self->row; #line 2369 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 18639 "Photo.c" +#line 18640 "Photo.c" } #line 2370 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (dberr); @@ -18647,17 +18648,17 @@ void photo_set_import_id (Photo* self, ImportID* import_id) { g_clear_error (&_inner_error_); #line 2370 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 18649 "Photo.c" +#line 18650 "Photo.c" } } - __finally339: + __finally352: { PhotoRow* _tmp12_ = NULL; #line 2369 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = self->row; #line 2369 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 18659 "Photo.c" +#line 18660 "Photo.c" } #line 2369 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -18669,14 +18670,14 @@ void photo_set_import_id (Photo* self, ImportID* import_id) { g_clear_error (&_inner_error_); #line 2369 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 18671 "Photo.c" +#line 18672 "Photo.c" } } #line 2378 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = dberr; #line 2378 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp13_ == NULL) { -#line 18678 "Photo.c" +#line 18679 "Photo.c" Alteration* _tmp14_ = NULL; Alteration* _tmp15_ = NULL; #line 2379 "/home/jens/Source/shotwell/src/Photo.vala" @@ -18687,7 +18688,7 @@ void photo_set_import_id (Photo* self, ImportID* import_id) { data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp15_); #line 2379 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp15_); -#line 18689 "Photo.c" +#line 18690 "Photo.c" } else { gchar* _tmp16_ = NULL; gchar* _tmp17_ = NULL; @@ -18705,11 +18706,11 @@ void photo_set_import_id (Photo* self, ImportID* import_id) { g_warning ("Photo.vala:2381: Unable to write import ID for %s: %s", _tmp17_, _tmp19_); #line 2381 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (_tmp17_); -#line 18707 "Photo.c" +#line 18708 "Photo.c" } #line 2367 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (dberr); -#line 18711 "Photo.c" +#line 18712 "Photo.c" } @@ -18746,7 +18747,7 @@ void photo_set_title_persistent (Photo* self, const gchar* title, GError** error _tmp3_ = photo_file_format_can_write_metadata (_tmp2_); #line 2388 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp3_) { -#line 18748 "Photo.c" +#line 18749 "Photo.c" PhotoFileReader* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; @@ -18769,7 +18770,7 @@ void photo_set_title_persistent (Photo* self, const gchar* title, GError** error _photo_file_adapter_unref0 (source); #line 2393 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 18771 "Photo.c" +#line 18772 "Photo.c" } #line 2396 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = source; @@ -18785,7 +18786,7 @@ void photo_set_title_persistent (Photo* self, const gchar* title, GError** error _photo_file_adapter_unref0 (source); #line 2396 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 18787 "Photo.c" +#line 18788 "Photo.c" } #line 2397 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = metadata; @@ -18809,7 +18810,7 @@ void photo_set_title_persistent (Photo* self, const gchar* title, GError** error _photo_file_adapter_unref0 (source); #line 2399 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 18811 "Photo.c" +#line 18812 "Photo.c" } #line 2400 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = source; @@ -18821,7 +18822,7 @@ void photo_set_title_persistent (Photo* self, const gchar* title, GError** error library_monitor_blacklist_file (_tmp16_, "Photo.set_persistent_title"); #line 2400 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp16_); -#line 18823 "Photo.c" +#line 18824 "Photo.c" { PhotoFileMetadataWriter* _tmp17_ = NULL; PhotoMetadata* _tmp18_ = NULL; @@ -18833,11 +18834,11 @@ void photo_set_title_persistent (Photo* self, const gchar* title, GError** error photo_file_metadata_writer_write_metadata (_tmp17_, _tmp18_, &_inner_error_); #line 2402 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 18835 "Photo.c" - goto __finally341; +#line 18836 "Photo.c" + goto __finally354; } } - __finally341: + __finally354: { PhotoFileReader* _tmp19_ = NULL; GFile* _tmp20_ = NULL; @@ -18852,7 +18853,7 @@ void photo_set_title_persistent (Photo* self, const gchar* title, GError** error library_monitor_unblacklist_file (_tmp21_); #line 2404 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp21_); -#line 18854 "Photo.c" +#line 18855 "Photo.c" } #line 2401 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -18866,7 +18867,7 @@ void photo_set_title_persistent (Photo* self, const gchar* title, GError** error _photo_file_adapter_unref0 (source); #line 2401 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 18868 "Photo.c" +#line 18869 "Photo.c" } #line 2407 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = title; @@ -18880,7 +18881,7 @@ void photo_set_title_persistent (Photo* self, const gchar* title, GError** error _media_metadata_unref0 (metadata); #line 2384 "/home/jens/Source/shotwell/src/Photo.vala" _photo_file_adapter_unref0 (source); -#line 18882 "Photo.c" +#line 18883 "Photo.c" } @@ -18917,7 +18918,7 @@ void photo_set_comment_persistent (Photo* self, const gchar* comment, GError** e _tmp3_ = photo_file_format_can_write_metadata (_tmp2_); #line 2416 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp3_) { -#line 18919 "Photo.c" +#line 18920 "Photo.c" PhotoFileReader* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; @@ -18940,7 +18941,7 @@ void photo_set_comment_persistent (Photo* self, const gchar* comment, GError** e _photo_file_adapter_unref0 (source); #line 2421 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 18942 "Photo.c" +#line 18943 "Photo.c" } #line 2424 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = source; @@ -18956,14 +18957,14 @@ void photo_set_comment_persistent (Photo* self, const gchar* comment, GError** e _photo_file_adapter_unref0 (source); #line 2424 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 18958 "Photo.c" +#line 18959 "Photo.c" } #line 2425 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = metadata; #line 2425 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = comment; #line 2425 "/home/jens/Source/shotwell/src/Photo.vala" - photo_metadata_set_comment (_tmp10_, _tmp11_); + photo_metadata_set_comment (_tmp10_, _tmp11_, PHOTO_METADATA_SET_OPTION_ALL_DOMAINS); #line 2427 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = source; #line 2427 "/home/jens/Source/shotwell/src/Photo.vala" @@ -18980,7 +18981,7 @@ void photo_set_comment_persistent (Photo* self, const gchar* comment, GError** e _photo_file_adapter_unref0 (source); #line 2427 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 18982 "Photo.c" +#line 18983 "Photo.c" } #line 2428 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = source; @@ -18992,7 +18993,7 @@ void photo_set_comment_persistent (Photo* self, const gchar* comment, GError** e library_monitor_blacklist_file (_tmp16_, "Photo.set_persistent_comment"); #line 2428 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp16_); -#line 18994 "Photo.c" +#line 18995 "Photo.c" { PhotoFileMetadataWriter* _tmp17_ = NULL; PhotoMetadata* _tmp18_ = NULL; @@ -19004,11 +19005,11 @@ void photo_set_comment_persistent (Photo* self, const gchar* comment, GError** e photo_file_metadata_writer_write_metadata (_tmp17_, _tmp18_, &_inner_error_); #line 2430 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 19006 "Photo.c" - goto __finally342; +#line 19007 "Photo.c" + goto __finally355; } } - __finally342: + __finally355: { PhotoFileReader* _tmp19_ = NULL; GFile* _tmp20_ = NULL; @@ -19023,7 +19024,7 @@ void photo_set_comment_persistent (Photo* self, const gchar* comment, GError** e library_monitor_unblacklist_file (_tmp21_); #line 2432 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp21_); -#line 19025 "Photo.c" +#line 19026 "Photo.c" } #line 2429 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -19037,7 +19038,7 @@ void photo_set_comment_persistent (Photo* self, const gchar* comment, GError** e _photo_file_adapter_unref0 (source); #line 2429 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 19039 "Photo.c" +#line 19040 "Photo.c" } #line 2435 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = comment; @@ -19051,7 +19052,7 @@ void photo_set_comment_persistent (Photo* self, const gchar* comment, GError** e _media_metadata_unref0 (metadata); #line 2412 "/home/jens/Source/shotwell/src/Photo.vala" _photo_file_adapter_unref0 (source); -#line 19053 "Photo.c" +#line 19054 "Photo.c" } @@ -19062,14 +19063,14 @@ static void photo_real_set_exposure_time (Dateable* base, time_t time) { GError * _inner_error_ = NULL; #line 2440 "/home/jens/Source/shotwell/src/Photo.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); -#line 19064 "Photo.c" +#line 19065 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2442 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2442 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 19071 "Photo.c" +#line 19072 "Photo.c" { PhotoTable* _tmp1_ = NULL; PhotoTable* _tmp2_ = NULL; @@ -19098,7 +19099,7 @@ static void photo_real_set_exposure_time (Dateable* base, time_t time) { _tmp7_ = committed; #line 2444 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp7_) { -#line 19100 "Photo.c" +#line 19101 "Photo.c" PhotoRow* _tmp8_ = NULL; time_t _tmp9_ = 0; time_t _tmp10_ = 0; @@ -19112,17 +19113,17 @@ static void photo_real_set_exposure_time (Dateable* base, time_t time) { _tmp10_ = time; #line 2446 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->cached_exposure_time = _tmp10_; -#line 19114 "Photo.c" +#line 19115 "Photo.c" } } - __finally343: + __finally356: { PhotoRow* _tmp11_ = NULL; #line 2442 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = self->row; #line 2442 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 19124 "Photo.c" +#line 19125 "Photo.c" } #line 2442 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -19132,14 +19133,14 @@ static void photo_real_set_exposure_time (Dateable* base, time_t time) { g_clear_error (&_inner_error_); #line 2442 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 19134 "Photo.c" +#line 19135 "Photo.c" } } #line 2450 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = committed; #line 2450 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp12_) { -#line 19141 "Photo.c" +#line 19142 "Photo.c" Alteration* _tmp13_ = NULL; Alteration* _tmp14_ = NULL; #line 2451 "/home/jens/Source/shotwell/src/Photo.vala" @@ -19150,7 +19151,7 @@ static void photo_real_set_exposure_time (Dateable* base, time_t time) { data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp14_); #line 2451 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp14_); -#line 19152 "Photo.c" +#line 19153 "Photo.c" } } @@ -19190,7 +19191,7 @@ void photo_set_exposure_time_persistent (Photo* self, time_t time, GError** erro _tmp3_ = photo_file_format_can_write_metadata (_tmp2_); #line 2458 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp3_) { -#line 19192 "Photo.c" +#line 19193 "Photo.c" PhotoFileReader* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; @@ -19213,7 +19214,7 @@ void photo_set_exposure_time_persistent (Photo* self, time_t time, GError** erro _photo_file_adapter_unref0 (source); #line 2463 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 19215 "Photo.c" +#line 19216 "Photo.c" } #line 2466 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = source; @@ -19229,7 +19230,7 @@ void photo_set_exposure_time_persistent (Photo* self, time_t time, GError** erro _photo_file_adapter_unref0 (source); #line 2466 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 19231 "Photo.c" +#line 19232 "Photo.c" } #line 2467 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = metadata; @@ -19259,7 +19260,7 @@ void photo_set_exposure_time_persistent (Photo* self, time_t time, GError** erro _photo_file_adapter_unref0 (source); #line 2469 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 19261 "Photo.c" +#line 19262 "Photo.c" } #line 2470 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = source; @@ -19271,7 +19272,7 @@ void photo_set_exposure_time_persistent (Photo* self, time_t time, GError** erro library_monitor_blacklist_file (_tmp18_, "Photo.set_exposure_time_persistent"); #line 2470 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp18_); -#line 19273 "Photo.c" +#line 19274 "Photo.c" { PhotoFileMetadataWriter* _tmp19_ = NULL; PhotoMetadata* _tmp20_ = NULL; @@ -19283,11 +19284,11 @@ void photo_set_exposure_time_persistent (Photo* self, time_t time, GError** erro photo_file_metadata_writer_write_metadata (_tmp19_, _tmp20_, &_inner_error_); #line 2472 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 19285 "Photo.c" - goto __finally344; +#line 19286 "Photo.c" + goto __finally357; } } - __finally344: + __finally357: { PhotoFileReader* _tmp21_ = NULL; GFile* _tmp22_ = NULL; @@ -19302,7 +19303,7 @@ void photo_set_exposure_time_persistent (Photo* self, time_t time, GError** erro library_monitor_unblacklist_file (_tmp23_); #line 2474 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp23_); -#line 19304 "Photo.c" +#line 19305 "Photo.c" } #line 2471 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -19316,7 +19317,7 @@ void photo_set_exposure_time_persistent (Photo* self, time_t time, GError** erro _photo_file_adapter_unref0 (source); #line 2471 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 19318 "Photo.c" +#line 19319 "Photo.c" } #line 2477 "/home/jens/Source/shotwell/src/Photo.vala" _tmp24_ = time; @@ -19330,7 +19331,7 @@ void photo_set_exposure_time_persistent (Photo* self, time_t time, GError** erro _media_metadata_unref0 (metadata); #line 2454 "/home/jens/Source/shotwell/src/Photo.vala" _photo_file_adapter_unref0 (source); -#line 19332 "Photo.c" +#line 19333 "Photo.c" } @@ -19369,7 +19370,7 @@ static void photo_real_get_dimensions (MediaSource* base, PhotoException disallo _tmp2_ = photo_exception_allows (_tmp1_, PHOTO_EXCEPTION_ORIENTATION); #line 2500 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_) { -#line 19371 "Photo.c" +#line 19372 "Photo.c" Orientation ori_tmp = 0; Orientation _tmp3_ = 0; Orientation _tmp4_ = 0; @@ -19389,7 +19390,7 @@ static void photo_real_get_dimensions (MediaSource* base, PhotoException disallo case ORIENTATION_LEFT_BOTTOM: #line 2504 "/home/jens/Source/shotwell/src/Photo.vala" case ORIENTATION_RIGHT_BOTTOM: -#line 19391 "Photo.c" +#line 19392 "Photo.c" { gint width_tmp = 0; Dimensions _tmp5_ = {0}; @@ -19415,13 +19416,13 @@ static void photo_real_get_dimensions (MediaSource* base, PhotoException disallo returned_dims.height = _tmp9_; #line 2514 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 19417 "Photo.c" +#line 19418 "Photo.c" } default: { #line 2518 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 19423 "Photo.c" +#line 19424 "Photo.c" } } } @@ -19431,7 +19432,7 @@ static void photo_real_get_dimensions (MediaSource* base, PhotoException disallo _tmp11_ = photo_exception_allows (_tmp10_, PHOTO_EXCEPTION_STRAIGHTEN); #line 2523 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp11_) { -#line 19433 "Photo.c" +#line 19434 "Photo.c" gdouble x_size = 0.0; gdouble y_size = 0.0; gdouble angle = 0.0; @@ -19475,7 +19476,7 @@ static void photo_real_get_dimensions (MediaSource* base, PhotoException disallo _tmp21_ = y_size; #line 2532 "/home/jens/Source/shotwell/src/Photo.vala" returned_dims.height = (gint) _tmp21_; -#line 19477 "Photo.c" +#line 19478 "Photo.c" } #line 2536 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = disallowed_steps; @@ -19483,7 +19484,7 @@ static void photo_real_get_dimensions (MediaSource* base, PhotoException disallo _tmp23_ = photo_exception_allows (_tmp22_, PHOTO_EXCEPTION_CROP); #line 2536 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp23_) { -#line 19485 "Photo.c" +#line 19486 "Photo.c" Box crop = {0}; PhotoException _tmp24_ = 0; Box _tmp25_ = {0}; @@ -19496,20 +19497,20 @@ static void photo_real_get_dimensions (MediaSource* base, PhotoException disallo crop = _tmp25_; #line 2538 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp26_) { -#line 19498 "Photo.c" +#line 19499 "Photo.c" Dimensions _tmp27_ = {0}; #line 2539 "/home/jens/Source/shotwell/src/Photo.vala" box_get_dimensions (&crop, &_tmp27_); #line 2539 "/home/jens/Source/shotwell/src/Photo.vala" returned_dims = _tmp27_; -#line 19504 "Photo.c" +#line 19505 "Photo.c" } } #line 2542 "/home/jens/Source/shotwell/src/Photo.vala" *result = returned_dims; #line 2542 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 19511 "Photo.c" +#line 19512 "Photo.c" } @@ -19536,13 +19537,13 @@ static void photo_locked_create_adjustments_from_data (Photo* self) { _tmp2_ = map; #line 2550 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ == NULL) { -#line 19538 "Photo.c" +#line 19539 "Photo.c" PixelTransformationBundle* _tmp3_ = NULL; #line 2551 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->priv->adjustments; #line 2551 "/home/jens/Source/shotwell/src/Photo.vala" pixel_transformation_bundle_set_to_identity (_tmp3_); -#line 19544 "Photo.c" +#line 19545 "Photo.c" } else { PixelTransformationBundle* _tmp4_ = NULL; KeyValueMap* _tmp5_ = NULL; @@ -19552,7 +19553,7 @@ static void photo_locked_create_adjustments_from_data (Photo* self) { _tmp5_ = map; #line 2553 "/home/jens/Source/shotwell/src/Photo.vala" pixel_transformation_bundle_load (_tmp4_, _tmp5_); -#line 19554 "Photo.c" +#line 19555 "Photo.c" } #line 2555 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = self->priv->adjustments; @@ -19564,7 +19565,7 @@ static void photo_locked_create_adjustments_from_data (Photo* self) { self->priv->transformer = _tmp7_; #line 2546 "/home/jens/Source/shotwell/src/Photo.vala" _key_value_map_unref0 (map); -#line 19566 "Photo.c" +#line 19567 "Photo.c" } @@ -19573,14 +19574,14 @@ PixelTransformationBundle* photo_get_color_adjustments (Photo* self) { GError * _inner_error_ = NULL; #line 2559 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), NULL); -#line 19575 "Photo.c" +#line 19576 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2560 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2560 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 19582 "Photo.c" +#line 19583 "Photo.c" { PixelTransformationBundle* _tmp1_ = NULL; PixelTransformationBundle* _tmp2_ = NULL; @@ -19591,7 +19592,7 @@ PixelTransformationBundle* photo_get_color_adjustments (Photo* self) { if (_tmp1_ == NULL) { #line 2562 "/home/jens/Source/shotwell/src/Photo.vala" photo_locked_create_adjustments_from_data (self); -#line 19593 "Photo.c" +#line 19594 "Photo.c" } #line 2564 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = self->priv->adjustments; @@ -19599,27 +19600,27 @@ PixelTransformationBundle* photo_get_color_adjustments (Photo* self) { _tmp3_ = pixel_transformation_bundle_copy (_tmp2_); #line 2564 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp3_; -#line 19601 "Photo.c" +#line 19602 "Photo.c" { PhotoRow* _tmp4_ = NULL; #line 2560 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2560 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 19608 "Photo.c" +#line 19609 "Photo.c" } #line 2564 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 19612 "Photo.c" +#line 19613 "Photo.c" } - __finally345: + __finally358: { PhotoRow* _tmp5_ = NULL; #line 2560 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->row; #line 2560 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 19621 "Photo.c" +#line 19622 "Photo.c" } #line 2560 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -19627,7 +19628,7 @@ PixelTransformationBundle* photo_get_color_adjustments (Photo* self) { g_clear_error (&_inner_error_); #line 2560 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 19629 "Photo.c" +#line 19630 "Photo.c" } } @@ -19637,14 +19638,14 @@ PixelTransformer* photo_get_pixel_transformer (Photo* self) { GError * _inner_error_ = NULL; #line 2568 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), NULL); -#line 19639 "Photo.c" +#line 19640 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2569 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2569 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 19646 "Photo.c" +#line 19647 "Photo.c" { PixelTransformer* _tmp1_ = NULL; PixelTransformer* _tmp2_ = NULL; @@ -19655,7 +19656,7 @@ PixelTransformer* photo_get_pixel_transformer (Photo* self) { if (_tmp1_ == NULL) { #line 2571 "/home/jens/Source/shotwell/src/Photo.vala" photo_locked_create_adjustments_from_data (self); -#line 19657 "Photo.c" +#line 19658 "Photo.c" } #line 2573 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = self->priv->transformer; @@ -19663,27 +19664,27 @@ PixelTransformer* photo_get_pixel_transformer (Photo* self) { _tmp3_ = pixel_transformer_copy (_tmp2_); #line 2573 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp3_; -#line 19665 "Photo.c" +#line 19666 "Photo.c" { PhotoRow* _tmp4_ = NULL; #line 2569 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2569 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 19672 "Photo.c" +#line 19673 "Photo.c" } #line 2573 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 19676 "Photo.c" +#line 19677 "Photo.c" } - __finally346: + __finally359: { PhotoRow* _tmp5_ = NULL; #line 2569 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->row; #line 2569 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 19685 "Photo.c" +#line 19686 "Photo.c" } #line 2569 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -19691,7 +19692,7 @@ PixelTransformer* photo_get_pixel_transformer (Photo* self) { g_clear_error (&_inner_error_); #line 2569 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 19693 "Photo.c" +#line 19694 "Photo.c" } } @@ -19707,7 +19708,7 @@ gboolean photo_has_color_adjustments (Photo* self) { result = _tmp0_; #line 2578 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 19709 "Photo.c" +#line 19710 "Photo.c" } @@ -19736,7 +19737,7 @@ PixelTransformation* photo_get_color_adjustment (Photo* self, PixelTransformatio result = _tmp4_; #line 2582 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 19738 "Photo.c" +#line 19739 "Photo.c" } @@ -19759,7 +19760,7 @@ void photo_set_color_adjustments (Photo* self, PixelTransformationBundle* new_ad _tmp1_ = pixel_transformation_bundle_is_identity (_tmp0_); #line 2588 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_) { -#line 19761 "Photo.c" +#line 19762 "Photo.c" gboolean _result_ = FALSE; gboolean _tmp5_ = FALSE; { @@ -19768,7 +19769,7 @@ void photo_set_color_adjustments (Photo* self, PixelTransformationBundle* new_ad _tmp2_ = self->row; #line 2590 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 19770 "Photo.c" +#line 19771 "Photo.c" { gboolean _tmp3_ = FALSE; #line 2591 "/home/jens/Source/shotwell/src/Photo.vala" @@ -19783,16 +19784,16 @@ void photo_set_color_adjustments (Photo* self, PixelTransformationBundle* new_ad _pixel_transformer_unref0 (self->priv->transformer); #line 2593 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->transformer = NULL; -#line 19785 "Photo.c" +#line 19786 "Photo.c" } - __finally347: + __finally360: { PhotoRow* _tmp4_ = NULL; #line 2590 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2590 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 19794 "Photo.c" +#line 19795 "Photo.c" } #line 2590 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -19802,14 +19803,14 @@ void photo_set_color_adjustments (Photo* self, PixelTransformationBundle* new_ad g_clear_error (&_inner_error_); #line 2590 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 19804 "Photo.c" +#line 19805 "Photo.c" } } #line 2596 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = _result_; #line 2596 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp5_) { -#line 19811 "Photo.c" +#line 19812 "Photo.c" Alteration* _tmp6_ = NULL; Alteration* _tmp7_ = NULL; #line 2597 "/home/jens/Source/shotwell/src/Photo.vala" @@ -19820,11 +19821,11 @@ void photo_set_color_adjustments (Photo* self, PixelTransformationBundle* new_ad data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp7_); #line 2597 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp7_); -#line 19822 "Photo.c" +#line 19823 "Photo.c" } #line 2599 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 19826 "Photo.c" +#line 19827 "Photo.c" } #line 2603 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = new_adjustments; @@ -19832,14 +19833,14 @@ void photo_set_color_adjustments (Photo* self, PixelTransformationBundle* new_ad _tmp9_ = pixel_transformation_bundle_save (_tmp8_, "adjustments"); #line 2603 "/home/jens/Source/shotwell/src/Photo.vala" map = _tmp9_; -#line 19834 "Photo.c" +#line 19835 "Photo.c" { PhotoRow* _tmp10_ = NULL; #line 2606 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = self->row; #line 2606 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 19841 "Photo.c" +#line 19842 "Photo.c" { gboolean _tmp11_ = FALSE; PixelTransformer* _tmp12_ = NULL; @@ -19851,18 +19852,18 @@ void photo_set_color_adjustments (Photo* self, PixelTransformationBundle* new_ad if (_tmp12_ == NULL) { #line 2607 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = TRUE; -#line 19853 "Photo.c" +#line 19854 "Photo.c" } else { PixelTransformationBundle* _tmp13_ = NULL; #line 2607 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = self->priv->adjustments; #line 2607 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = _tmp13_ == NULL; -#line 19860 "Photo.c" +#line 19861 "Photo.c" } #line 2607 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp11_) { -#line 19864 "Photo.c" +#line 19865 "Photo.c" PixelTransformationBundle* _tmp14_ = NULL; PixelTransformationBundle* _tmp15_ = NULL; PixelTransformationBundle* _tmp16_ = NULL; @@ -19883,7 +19884,7 @@ void photo_set_color_adjustments (Photo* self, PixelTransformationBundle* new_ad _pixel_transformer_unref0 (self->priv->transformer); #line 2610 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->transformer = _tmp17_; -#line 19885 "Photo.c" +#line 19886 "Photo.c" } else { PixelTransformationBundle* _tmp34_ = NULL; PixelTransformationBundle* _tmp35_ = NULL; @@ -19910,7 +19911,7 @@ void photo_set_color_adjustments (Photo* self, PixelTransformationBundle* new_ad _transformation_it = _tmp22_; #line 2613 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 19912 "Photo.c" +#line 19913 "Photo.c" GeeIterator* _tmp23_ = NULL; gboolean _tmp24_ = FALSE; PixelTransformation* transformation = NULL; @@ -19931,7 +19932,7 @@ void photo_set_color_adjustments (Photo* self, PixelTransformationBundle* new_ad if (!_tmp24_) { #line 2613 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 19933 "Photo.c" +#line 19934 "Photo.c" } #line 2613 "/home/jens/Source/shotwell/src/Photo.vala" _tmp25_ = _transformation_it; @@ -19959,11 +19960,11 @@ void photo_set_color_adjustments (Photo* self, PixelTransformationBundle* new_ad _pixel_transformation_unref0 (_tmp32_); #line 2613 "/home/jens/Source/shotwell/src/Photo.vala" _pixel_transformation_unref0 (transformation); -#line 19961 "Photo.c" +#line 19962 "Photo.c" } #line 2613 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_transformation_it); -#line 19965 "Photo.c" +#line 19966 "Photo.c" } #line 2619 "/home/jens/Source/shotwell/src/Photo.vala" _tmp34_ = new_adjustments; @@ -19973,7 +19974,7 @@ void photo_set_color_adjustments (Photo* self, PixelTransformationBundle* new_ad _pixel_transformation_bundle_unref0 (self->priv->adjustments); #line 2619 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->adjustments = _tmp35_; -#line 19975 "Photo.c" +#line 19976 "Photo.c" } #line 2622 "/home/jens/Source/shotwell/src/Photo.vala" _tmp36_ = map; @@ -19981,16 +19982,16 @@ void photo_set_color_adjustments (Photo* self, PixelTransformationBundle* new_ad _tmp37_ = photo_set_transformation (self, _tmp36_); #line 2622 "/home/jens/Source/shotwell/src/Photo.vala" committed = _tmp37_; -#line 19983 "Photo.c" +#line 19984 "Photo.c" } - __finally348: + __finally361: { PhotoRow* _tmp38_ = NULL; #line 2606 "/home/jens/Source/shotwell/src/Photo.vala" _tmp38_ = self->row; #line 2606 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 19992 "Photo.c" +#line 19993 "Photo.c" } #line 2606 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -20002,14 +20003,14 @@ void photo_set_color_adjustments (Photo* self, PixelTransformationBundle* new_ad g_clear_error (&_inner_error_); #line 2606 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 20004 "Photo.c" +#line 20005 "Photo.c" } } #line 2625 "/home/jens/Source/shotwell/src/Photo.vala" _tmp39_ = committed; #line 2625 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp39_) { -#line 20011 "Photo.c" +#line 20012 "Photo.c" Alteration* _tmp40_ = NULL; Alteration* _tmp41_ = NULL; #line 2626 "/home/jens/Source/shotwell/src/Photo.vala" @@ -20020,11 +20021,11 @@ void photo_set_color_adjustments (Photo* self, PixelTransformationBundle* new_ad data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp41_); #line 2626 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp41_); -#line 20022 "Photo.c" +#line 20023 "Photo.c" } #line 2585 "/home/jens/Source/shotwell/src/Photo.vala" _key_value_map_unref0 (map); -#line 20026 "Photo.c" +#line 20027 "Photo.c" } @@ -20034,7 +20035,7 @@ static PhotoMetadata* photo_real_get_metadata (PhotoSource* base) { GError * _inner_error_ = NULL; #line 2630 "/home/jens/Source/shotwell/src/Photo.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO, Photo); -#line 20036 "Photo.c" +#line 20037 "Photo.c" { PhotoMetadata* _tmp0_ = NULL; PhotoFileReader* _tmp1_ = NULL; @@ -20056,8 +20057,8 @@ static PhotoMetadata* photo_real_get_metadata (PhotoSource* base) { _tmp0_ = _tmp4_; #line 2632 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 20058 "Photo.c" - goto __catch349_g_error; +#line 20059 "Photo.c" + goto __catch362_g_error; } #line 2632 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = _tmp0_; @@ -20069,10 +20070,10 @@ static PhotoMetadata* photo_real_get_metadata (PhotoSource* base) { _media_metadata_unref0 (_tmp0_); #line 2632 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 20071 "Photo.c" +#line 20072 "Photo.c" } - goto __finally349; - __catch349_g_error: + goto __finally362; + __catch362_g_error: { GError* err = NULL; GError* _tmp6_ = NULL; @@ -20093,16 +20094,16 @@ static PhotoMetadata* photo_real_get_metadata (PhotoSource* base) { _g_error_free0 (err); #line 2636 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 20095 "Photo.c" +#line 20096 "Photo.c" } - __finally349: + __finally362: #line 2631 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 2631 "/home/jens/Source/shotwell/src/Photo.vala" g_clear_error (&_inner_error_); #line 2631 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 20104 "Photo.c" +#line 20105 "Photo.c" } @@ -20135,7 +20136,7 @@ PhotoMetadata* photo_get_master_metadata (Photo* self, GError** error) { g_propagate_error (error, _inner_error_); #line 2641 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 20137 "Photo.c" +#line 20138 "Photo.c" } #line 2641 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = _tmp0_; @@ -20147,7 +20148,7 @@ PhotoMetadata* photo_get_master_metadata (Photo* self, GError** error) { _media_metadata_unref0 (_tmp0_); #line 2641 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 20149 "Photo.c" +#line 20150 "Photo.c" } @@ -20168,7 +20169,7 @@ PhotoMetadata* photo_get_editable_metadata (Photo* self, GError** error) { _tmp2_ = reader; #line 2647 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != NULL) { -#line 20170 "Photo.c" +#line 20171 "Photo.c" PhotoFileReader* _tmp3_ = NULL; PhotoMetadata* _tmp4_ = NULL; #line 2647 "/home/jens/Source/shotwell/src/Photo.vala" @@ -20189,14 +20190,14 @@ PhotoMetadata* photo_get_editable_metadata (Photo* self, GError** error) { _photo_file_adapter_unref0 (reader); #line 2647 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 20191 "Photo.c" +#line 20192 "Photo.c" } } else { #line 2647 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (_tmp1_); #line 2647 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = NULL; -#line 20198 "Photo.c" +#line 20199 "Photo.c" } #line 2647 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp1_; @@ -20204,7 +20205,7 @@ PhotoMetadata* photo_get_editable_metadata (Photo* self, GError** error) { _photo_file_adapter_unref0 (reader); #line 2647 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 20206 "Photo.c" +#line 20207 "Photo.c" } @@ -20255,15 +20256,15 @@ gboolean photo_persist_master_metadata (Photo* self, PhotoMetadata* metadata, Ph if (state) { #line 2660 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 20257 "Photo.c" +#line 20258 "Photo.c" } else { #line 2660 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_master_state_unref0 (_vala_state); -#line 20261 "Photo.c" +#line 20262 "Photo.c" } #line 2660 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 20265 "Photo.c" +#line 20266 "Photo.c" } #line 2662 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = master_reader; @@ -20279,7 +20280,7 @@ gboolean photo_persist_master_metadata (Photo* self, PhotoMetadata* metadata, Ph _photo_file_adapter_unref0 (master_reader); #line 2662 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 20281 "Photo.c" +#line 20282 "Photo.c" } #line 2662 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = _tmp4_; @@ -20303,7 +20304,7 @@ gboolean photo_persist_master_metadata (Photo* self, PhotoMetadata* metadata, Ph _photo_file_adapter_unref0 (master_reader); #line 2662 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 20305 "Photo.c" +#line 20306 "Photo.c" } #line 2664 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = photo_prepare_for_reimport_master (self, &_tmp11_, &_inner_error_); @@ -20323,7 +20324,7 @@ gboolean photo_persist_master_metadata (Photo* self, PhotoMetadata* metadata, Ph _photo_file_adapter_unref0 (master_reader); #line 2664 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 20325 "Photo.c" +#line 20326 "Photo.c" } #line 2664 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp10_) { @@ -20337,15 +20338,15 @@ gboolean photo_persist_master_metadata (Photo* self, PhotoMetadata* metadata, Ph if (state) { #line 2665 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 20339 "Photo.c" +#line 20340 "Photo.c" } else { #line 2665 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_master_state_unref0 (_vala_state); -#line 20343 "Photo.c" +#line 20344 "Photo.c" } #line 2665 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 20347 "Photo.c" +#line 20348 "Photo.c" } #line 2667 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = _vala_state; @@ -20361,15 +20362,15 @@ gboolean photo_persist_master_metadata (Photo* self, PhotoMetadata* metadata, Ph if (state) { #line 2669 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 20363 "Photo.c" +#line 20364 "Photo.c" } else { #line 2669 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_master_state_unref0 (_vala_state); -#line 20367 "Photo.c" +#line 20368 "Photo.c" } #line 2669 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 20371 "Photo.c" +#line 20372 "Photo.c" } @@ -20392,7 +20393,7 @@ void photo_finish_update_master_metadata (Photo* self, PhotoReimportMasterState* g_propagate_error (error, _inner_error_); #line 2673 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 20394 "Photo.c" +#line 20395 "Photo.c" } else { #line 2673 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -20400,7 +20401,7 @@ void photo_finish_update_master_metadata (Photo* self, PhotoReimportMasterState* g_clear_error (&_inner_error_); #line 2673 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 20402 "Photo.c" +#line 20403 "Photo.c" } } } @@ -20450,15 +20451,15 @@ gboolean photo_persist_editable_metadata (Photo* self, PhotoMetadata* metadata, if (state) { #line 2682 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 20452 "Photo.c" +#line 20453 "Photo.c" } else { #line 2682 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_editable_state_unref0 (_vala_state); -#line 20456 "Photo.c" +#line 20457 "Photo.c" } #line 2682 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 20460 "Photo.c" +#line 20461 "Photo.c" } #line 2684 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = editable_reader; @@ -20476,15 +20477,15 @@ gboolean photo_persist_editable_metadata (Photo* self, PhotoMetadata* metadata, if (state) { #line 2685 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 20478 "Photo.c" +#line 20479 "Photo.c" } else { #line 2685 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_editable_state_unref0 (_vala_state); -#line 20482 "Photo.c" +#line 20483 "Photo.c" } #line 2685 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 20486 "Photo.c" +#line 20487 "Photo.c" } #line 2687 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = editable_reader; @@ -20500,7 +20501,7 @@ gboolean photo_persist_editable_metadata (Photo* self, PhotoMetadata* metadata, _photo_file_adapter_unref0 (editable_reader); #line 2687 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 20502 "Photo.c" +#line 20503 "Photo.c" } #line 2687 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = _tmp5_; @@ -20524,7 +20525,7 @@ gboolean photo_persist_editable_metadata (Photo* self, PhotoMetadata* metadata, _photo_file_adapter_unref0 (editable_reader); #line 2687 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 20526 "Photo.c" +#line 20527 "Photo.c" } #line 2689 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = photo_prepare_for_reimport_editable (self, &_tmp12_, &_inner_error_); @@ -20544,7 +20545,7 @@ gboolean photo_persist_editable_metadata (Photo* self, PhotoMetadata* metadata, _photo_file_adapter_unref0 (editable_reader); #line 2689 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 20546 "Photo.c" +#line 20547 "Photo.c" } #line 2689 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp11_) { @@ -20558,15 +20559,15 @@ gboolean photo_persist_editable_metadata (Photo* self, PhotoMetadata* metadata, if (state) { #line 2690 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 20560 "Photo.c" +#line 20561 "Photo.c" } else { #line 2690 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_editable_state_unref0 (_vala_state); -#line 20564 "Photo.c" +#line 20565 "Photo.c" } #line 2690 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 20568 "Photo.c" +#line 20569 "Photo.c" } #line 2692 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = _vala_state; @@ -20582,15 +20583,15 @@ gboolean photo_persist_editable_metadata (Photo* self, PhotoMetadata* metadata, if (state) { #line 2694 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 20584 "Photo.c" +#line 20585 "Photo.c" } else { #line 2694 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_editable_state_unref0 (_vala_state); -#line 20588 "Photo.c" +#line 20589 "Photo.c" } #line 2694 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 20592 "Photo.c" +#line 20593 "Photo.c" } @@ -20613,7 +20614,7 @@ void photo_finish_update_editable_metadata (Photo* self, PhotoReimportEditableSt g_propagate_error (error, _inner_error_); #line 2698 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 20615 "Photo.c" +#line 20616 "Photo.c" } else { #line 2698 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -20621,7 +20622,7 @@ void photo_finish_update_editable_metadata (Photo* self, PhotoReimportEditableSt g_clear_error (&_inner_error_); #line 2698 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 20623 "Photo.c" +#line 20624 "Photo.c" } } } @@ -20631,14 +20632,14 @@ void photo_get_raw_dimensions (Photo* self, Dimensions* result) { GError * _inner_error_ = NULL; #line 2703 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail (IS_PHOTO (self)); -#line 20633 "Photo.c" +#line 20634 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2704 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2704 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 20640 "Photo.c" +#line 20641 "Photo.c" { BackingPhotoRow* _tmp1_ = NULL; Dimensions _tmp2_ = {0}; @@ -20648,27 +20649,27 @@ void photo_get_raw_dimensions (Photo* self, Dimensions* result) { _tmp2_ = _tmp1_->dim; #line 2705 "/home/jens/Source/shotwell/src/Photo.vala" *result = _tmp2_; -#line 20650 "Photo.c" +#line 20651 "Photo.c" { PhotoRow* _tmp3_ = NULL; #line 2704 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 2704 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 20657 "Photo.c" +#line 20658 "Photo.c" } #line 2705 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 20661 "Photo.c" +#line 20662 "Photo.c" } - __finally350: + __finally363: { PhotoRow* _tmp4_ = NULL; #line 2704 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2704 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 20670 "Photo.c" +#line 20671 "Photo.c" } #line 2704 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -20676,7 +20677,7 @@ void photo_get_raw_dimensions (Photo* self, Dimensions* result) { g_clear_error (&_inner_error_); #line 2704 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 20678 "Photo.c" +#line 20679 "Photo.c" } } @@ -20686,14 +20687,14 @@ gboolean photo_has_transformations (Photo* self) { GError * _inner_error_ = NULL; #line 2709 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), FALSE); -#line 20688 "Photo.c" +#line 20689 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2710 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2710 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 20695 "Photo.c" +#line 20696 "Photo.c" { gboolean _tmp1_ = FALSE; PhotoRow* _tmp2_ = NULL; @@ -20712,7 +20713,7 @@ gboolean photo_has_transformations (Photo* self) { if (_tmp3_ != _tmp5_) { #line 2712 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = TRUE; -#line 20714 "Photo.c" +#line 20715 "Photo.c" } else { PhotoRow* _tmp6_ = NULL; GeeHashMap* _tmp7_ = NULL; @@ -20722,31 +20723,31 @@ gboolean photo_has_transformations (Photo* self) { _tmp7_ = _tmp6_->transformations; #line 2713 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = _tmp7_ != NULL; -#line 20724 "Photo.c" +#line 20725 "Photo.c" } #line 2711 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp1_; -#line 20728 "Photo.c" +#line 20729 "Photo.c" { PhotoRow* _tmp8_ = NULL; #line 2710 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = self->row; #line 2710 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 20735 "Photo.c" +#line 20736 "Photo.c" } #line 2711 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 20739 "Photo.c" +#line 20740 "Photo.c" } - __finally351: + __finally364: { PhotoRow* _tmp9_ = NULL; #line 2710 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_ = self->row; #line 2710 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 20748 "Photo.c" +#line 20749 "Photo.c" } #line 2710 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -20754,7 +20755,7 @@ gboolean photo_has_transformations (Photo* self) { g_clear_error (&_inner_error_); #line 2710 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 20756 "Photo.c" +#line 20757 "Photo.c" } } @@ -20778,7 +20779,7 @@ gboolean photo_only_metadata_changed (Photo* self) { _tmp1_ = metadata; #line 2721 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_ != NULL) { -#line 20780 "Photo.c" +#line 20781 "Photo.c" PhotoMetadata* _tmp2_ = NULL; MetadataDateTime* _tmp3_ = NULL; #line 2722 "/home/jens/Source/shotwell/src/Photo.vala" @@ -20789,7 +20790,7 @@ gboolean photo_only_metadata_changed (Photo* self) { _metadata_date_time_unref0 (date_time); #line 2722 "/home/jens/Source/shotwell/src/Photo.vala" date_time = _tmp3_; -#line 20791 "Photo.c" +#line 20792 "Photo.c" } { PhotoRow* _tmp4_ = NULL; @@ -20797,7 +20798,7 @@ gboolean photo_only_metadata_changed (Photo* self) { _tmp4_ = self->row; #line 2724 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 20799 "Photo.c" +#line 20800 "Photo.c" { gboolean _tmp5_ = FALSE; PhotoRow* _tmp6_ = NULL; @@ -20808,7 +20809,7 @@ gboolean photo_only_metadata_changed (Photo* self) { _tmp7_ = _tmp6_->transformations; #line 2725 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp7_ == NULL) { -#line 20810 "Photo.c" +#line 20811 "Photo.c" gboolean _tmp8_ = FALSE; PhotoRow* _tmp9_ = NULL; Orientation _tmp10_ = 0; @@ -20826,7 +20827,7 @@ gboolean photo_only_metadata_changed (Photo* self) { if (_tmp10_ != _tmp12_) { #line 2726 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = TRUE; -#line 20828 "Photo.c" +#line 20829 "Photo.c" } else { gboolean _tmp13_ = FALSE; MetadataDateTime* _tmp14_ = NULL; @@ -20834,7 +20835,7 @@ gboolean photo_only_metadata_changed (Photo* self) { _tmp14_ = date_time; #line 2727 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp14_ != NULL) { -#line 20836 "Photo.c" +#line 20837 "Photo.c" PhotoRow* _tmp15_ = NULL; time_t _tmp16_ = 0; MetadataDateTime* _tmp17_ = NULL; @@ -20849,34 +20850,34 @@ gboolean photo_only_metadata_changed (Photo* self) { _tmp18_ = metadata_date_time_get_timestamp (_tmp17_); #line 2727 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = _tmp16_ != _tmp18_; -#line 20851 "Photo.c" +#line 20852 "Photo.c" } else { #line 2727 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = FALSE; -#line 20855 "Photo.c" +#line 20856 "Photo.c" } #line 2727 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = _tmp13_; -#line 20859 "Photo.c" +#line 20860 "Photo.c" } #line 2726 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = _tmp8_; -#line 20863 "Photo.c" +#line 20864 "Photo.c" } else { #line 2725 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = FALSE; -#line 20867 "Photo.c" +#line 20868 "Photo.c" } #line 2725 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp5_; -#line 20871 "Photo.c" +#line 20872 "Photo.c" { PhotoRow* _tmp19_ = NULL; #line 2724 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = self->row; #line 2724 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 20878 "Photo.c" +#line 20879 "Photo.c" } #line 2725 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (metadata); @@ -20884,16 +20885,16 @@ gboolean photo_only_metadata_changed (Photo* self) { _metadata_date_time_unref0 (date_time); #line 2725 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 20886 "Photo.c" +#line 20887 "Photo.c" } - __finally352: + __finally365: { PhotoRow* _tmp20_ = NULL; #line 2724 "/home/jens/Source/shotwell/src/Photo.vala" _tmp20_ = self->row; #line 2724 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 20895 "Photo.c" +#line 20896 "Photo.c" } #line 2724 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (metadata); @@ -20905,13 +20906,13 @@ gboolean photo_only_metadata_changed (Photo* self) { g_clear_error (&_inner_error_); #line 2724 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 20907 "Photo.c" +#line 20908 "Photo.c" } #line 2717 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (metadata); #line 2717 "/home/jens/Source/shotwell/src/Photo.vala" _metadata_date_time_unref0 (date_time); -#line 20913 "Photo.c" +#line 20914 "Photo.c" } @@ -20941,7 +20942,7 @@ gboolean photo_has_alterations (Photo* self) { _tmp1_ = metadata; #line 2737 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_ != NULL) { -#line 20943 "Photo.c" +#line 20944 "Photo.c" PhotoMetadata* _tmp2_ = NULL; MetadataDateTime* _tmp3_ = NULL; PhotoMetadata* _tmp4_ = NULL; @@ -20972,20 +20973,20 @@ gboolean photo_has_alterations (Photo* self) { _g_free0 (comment); #line 2740 "/home/jens/Source/shotwell/src/Photo.vala" comment = _tmp7_; -#line 20974 "Photo.c" +#line 20975 "Photo.c" } #line 2744 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = date_time; #line 2744 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp8_ == NULL) { -#line 20980 "Photo.c" +#line 20981 "Photo.c" { PhotoRow* _tmp9_ = NULL; #line 2746 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_ = self->row; #line 2746 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 20987 "Photo.c" +#line 20988 "Photo.c" { BackingPhotoRow* _tmp10_ = NULL; time_t _tmp11_ = 0; @@ -21003,14 +21004,14 @@ gboolean photo_has_alterations (Photo* self) { if (_tmp11_ != _tmp13_) { #line 2750 "/home/jens/Source/shotwell/src/Photo.vala" result = TRUE; -#line 21005 "Photo.c" +#line 21006 "Photo.c" { PhotoRow* _tmp14_ = NULL; #line 2746 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = self->row; #line 2746 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 21012 "Photo.c" +#line 21013 "Photo.c" } #line 2750 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (metadata); @@ -21022,17 +21023,17 @@ gboolean photo_has_alterations (Photo* self) { _metadata_date_time_unref0 (date_time); #line 2750 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 21024 "Photo.c" +#line 21025 "Photo.c" } } - __finally353: + __finally366: { PhotoRow* _tmp15_ = NULL; #line 2746 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = self->row; #line 2746 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 21034 "Photo.c" +#line 21035 "Photo.c" } #line 2746 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -21050,7 +21051,7 @@ gboolean photo_has_alterations (Photo* self) { g_clear_error (&_inner_error_); #line 2746 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 21052 "Photo.c" +#line 21053 "Photo.c" } } } @@ -21060,7 +21061,7 @@ gboolean photo_has_alterations (Photo* self) { _tmp16_ = self->row; #line 2755 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 21062 "Photo.c" +#line 21063 "Photo.c" { gboolean _tmp17_ = FALSE; gboolean _tmp18_ = FALSE; @@ -21076,7 +21077,7 @@ gboolean photo_has_alterations (Photo* self) { if (_tmp22_ != NULL) { #line 2756 "/home/jens/Source/shotwell/src/Photo.vala" _tmp20_ = TRUE; -#line 21078 "Photo.c" +#line 21079 "Photo.c" } else { PhotoRow* _tmp23_ = NULL; Orientation _tmp24_ = 0; @@ -21092,13 +21093,13 @@ gboolean photo_has_alterations (Photo* self) { _tmp26_ = _tmp25_->original_orientation; #line 2757 "/home/jens/Source/shotwell/src/Photo.vala" _tmp20_ = _tmp24_ != _tmp26_; -#line 21094 "Photo.c" +#line 21095 "Photo.c" } #line 2756 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp20_) { #line 2756 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = TRUE; -#line 21100 "Photo.c" +#line 21101 "Photo.c" } else { gboolean _tmp27_ = FALSE; MetadataDateTime* _tmp28_ = NULL; @@ -21106,7 +21107,7 @@ gboolean photo_has_alterations (Photo* self) { _tmp28_ = date_time; #line 2758 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp28_ != NULL) { -#line 21108 "Photo.c" +#line 21109 "Photo.c" PhotoRow* _tmp29_ = NULL; time_t _tmp30_ = 0; MetadataDateTime* _tmp31_ = NULL; @@ -21121,21 +21122,21 @@ gboolean photo_has_alterations (Photo* self) { _tmp32_ = metadata_date_time_get_timestamp (_tmp31_); #line 2758 "/home/jens/Source/shotwell/src/Photo.vala" _tmp27_ = _tmp30_ != _tmp32_; -#line 21123 "Photo.c" +#line 21124 "Photo.c" } else { #line 2758 "/home/jens/Source/shotwell/src/Photo.vala" _tmp27_ = FALSE; -#line 21127 "Photo.c" +#line 21128 "Photo.c" } #line 2758 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = _tmp27_; -#line 21131 "Photo.c" +#line 21132 "Photo.c" } #line 2756 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp19_) { #line 2756 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = TRUE; -#line 21137 "Photo.c" +#line 21138 "Photo.c" } else { gchar* _tmp33_ = NULL; gchar* _tmp34_ = NULL; @@ -21150,13 +21151,13 @@ gboolean photo_has_alterations (Photo* self) { _tmp18_ = g_strcmp0 (_tmp34_, _tmp35_) != 0; #line 2759 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (_tmp34_); -#line 21152 "Photo.c" +#line 21153 "Photo.c" } #line 2756 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp18_) { #line 2756 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = TRUE; -#line 21158 "Photo.c" +#line 21159 "Photo.c" } else { gchar* _tmp36_ = NULL; gchar* _tmp37_ = NULL; @@ -21171,18 +21172,18 @@ gboolean photo_has_alterations (Photo* self) { _tmp17_ = g_strcmp0 (_tmp37_, _tmp38_) != 0; #line 2760 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (_tmp37_); -#line 21173 "Photo.c" +#line 21174 "Photo.c" } #line 2756 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp17_; -#line 21177 "Photo.c" +#line 21178 "Photo.c" { PhotoRow* _tmp39_ = NULL; #line 2755 "/home/jens/Source/shotwell/src/Photo.vala" _tmp39_ = self->row; #line 2755 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 21184 "Photo.c" +#line 21185 "Photo.c" } #line 2756 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (metadata); @@ -21194,16 +21195,16 @@ gboolean photo_has_alterations (Photo* self) { _metadata_date_time_unref0 (date_time); #line 2756 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 21196 "Photo.c" +#line 21197 "Photo.c" } - __finally354: + __finally367: { PhotoRow* _tmp40_ = NULL; #line 2755 "/home/jens/Source/shotwell/src/Photo.vala" _tmp40_ = self->row; #line 2755 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 21205 "Photo.c" +#line 21206 "Photo.c" } #line 2755 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (metadata); @@ -21219,7 +21220,7 @@ gboolean photo_has_alterations (Photo* self) { g_clear_error (&_inner_error_); #line 2755 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 21221 "Photo.c" +#line 21222 "Photo.c" } #line 2731 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (metadata); @@ -21229,7 +21230,7 @@ gboolean photo_has_alterations (Photo* self) { _g_free0 (title); #line 2731 "/home/jens/Source/shotwell/src/Photo.vala" _metadata_date_time_unref0 (date_time); -#line 21231 "Photo.c" +#line 21232 "Photo.c" } @@ -21238,14 +21239,14 @@ PhotoTransformationState* photo_save_transformation_state (Photo* self) { GError * _inner_error_ = NULL; #line 2765 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), NULL); -#line 21240 "Photo.c" +#line 21241 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2766 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2766 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 21247 "Photo.c" +#line 21248 "Photo.c" { PixelTransformer* _tmp1_ = NULL; PixelTransformer* _tmp2_ = NULL; @@ -21260,7 +21261,7 @@ PhotoTransformationState* photo_save_transformation_state (Photo* self) { _tmp2_ = self->priv->transformer; #line 2769 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != NULL) { -#line 21262 "Photo.c" +#line 21263 "Photo.c" PixelTransformer* _tmp3_ = NULL; PixelTransformer* _tmp4_ = NULL; #line 2769 "/home/jens/Source/shotwell/src/Photo.vala" @@ -21271,19 +21272,19 @@ PhotoTransformationState* photo_save_transformation_state (Photo* self) { _pixel_transformer_unref0 (_tmp1_); #line 2769 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = _tmp4_; -#line 21273 "Photo.c" +#line 21274 "Photo.c" } else { #line 2769 "/home/jens/Source/shotwell/src/Photo.vala" _pixel_transformer_unref0 (_tmp1_); #line 2769 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = NULL; -#line 21279 "Photo.c" +#line 21280 "Photo.c" } #line 2770 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = self->priv->adjustments; #line 2770 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp6_ != NULL) { -#line 21285 "Photo.c" +#line 21286 "Photo.c" PixelTransformationBundle* _tmp7_ = NULL; PixelTransformationBundle* _tmp8_ = NULL; #line 2770 "/home/jens/Source/shotwell/src/Photo.vala" @@ -21294,13 +21295,13 @@ PhotoTransformationState* photo_save_transformation_state (Photo* self) { _pixel_transformation_bundle_unref0 (_tmp5_); #line 2770 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = _tmp8_; -#line 21296 "Photo.c" +#line 21297 "Photo.c" } else { #line 2770 "/home/jens/Source/shotwell/src/Photo.vala" _pixel_transformation_bundle_unref0 (_tmp5_); #line 2770 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = NULL; -#line 21302 "Photo.c" +#line 21303 "Photo.c" } #line 2767 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_ = self->row; @@ -21318,27 +21319,27 @@ PhotoTransformationState* photo_save_transformation_state (Photo* self) { _pixel_transformation_bundle_unref0 (_tmp5_); #line 2767 "/home/jens/Source/shotwell/src/Photo.vala" _pixel_transformer_unref0 (_tmp1_); -#line 21320 "Photo.c" +#line 21321 "Photo.c" { PhotoRow* _tmp14_ = NULL; #line 2766 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = self->row; #line 2766 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 21327 "Photo.c" +#line 21328 "Photo.c" } #line 2767 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 21331 "Photo.c" +#line 21332 "Photo.c" } - __finally355: + __finally368: { PhotoRow* _tmp15_ = NULL; #line 2766 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = self->row; #line 2766 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 21340 "Photo.c" +#line 21341 "Photo.c" } #line 2766 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -21346,7 +21347,7 @@ PhotoTransformationState* photo_save_transformation_state (Photo* self) { g_clear_error (&_inner_error_); #line 2766 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 21348 "Photo.c" +#line 21349 "Photo.c" } } @@ -21354,14 +21355,14 @@ PhotoTransformationState* photo_save_transformation_state (Photo* self) { static gpointer _pixel_transformer_ref0 (gpointer self) { #line 2791 "/home/jens/Source/shotwell/src/Photo.vala" return self ? pixel_transformer_ref (self) : NULL; -#line 21356 "Photo.c" +#line 21357 "Photo.c" } static gpointer _pixel_transformation_bundle_ref0 (gpointer self) { #line 2792 "/home/jens/Source/shotwell/src/Photo.vala" return self ? pixel_transformation_bundle_ref (self) : NULL; -#line 21363 "Photo.c" +#line 21364 "Photo.c" } @@ -21406,7 +21407,7 @@ gboolean photo_load_transformation_state (Photo* self, PhotoTransformationState* _g_object_unref0 (state_impl); #line 2777 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 21408 "Photo.c" +#line 21409 "Photo.c" } #line 2779 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = state_impl; @@ -21432,14 +21433,14 @@ gboolean photo_load_transformation_state (Photo* self, PhotoTransformationState* _tmp10_ = photo_photo_transformation_state_impl_get_color_adjustments (_tmp9_); #line 2782 "/home/jens/Source/shotwell/src/Photo.vala" saved_adjustments = _tmp10_; -#line 21434 "Photo.c" +#line 21435 "Photo.c" { PhotoRow* _tmp11_ = NULL; #line 2785 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = self->row; #line 2785 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 21441 "Photo.c" +#line 21442 "Photo.c" { PhotoTable* _tmp12_ = NULL; PhotoTable* _tmp13_ = NULL; @@ -21471,7 +21472,7 @@ gboolean photo_load_transformation_state (Photo* self, PhotoTransformationState* _tmp19_ = committed; #line 2788 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp19_) { -#line 21473 "Photo.c" +#line 21474 "Photo.c" PhotoRow* _tmp20_ = NULL; Orientation _tmp21_ = 0; PhotoRow* _tmp22_ = NULL; @@ -21513,17 +21514,17 @@ gboolean photo_load_transformation_state (Photo* self, PhotoTransformationState* _pixel_transformation_bundle_unref0 (self->priv->adjustments); #line 2792 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->adjustments = _tmp28_; -#line 21515 "Photo.c" +#line 21516 "Photo.c" } } - __finally356: + __finally369: { PhotoRow* _tmp29_ = NULL; #line 2785 "/home/jens/Source/shotwell/src/Photo.vala" _tmp29_ = self->row; #line 2785 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 21525 "Photo.c" +#line 21526 "Photo.c" } #line 2785 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -21541,14 +21542,14 @@ gboolean photo_load_transformation_state (Photo* self, PhotoTransformationState* g_clear_error (&_inner_error_); #line 2785 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 21543 "Photo.c" +#line 21544 "Photo.c" } } #line 2796 "/home/jens/Source/shotwell/src/Photo.vala" _tmp30_ = committed; #line 2796 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp30_) { -#line 21550 "Photo.c" +#line 21551 "Photo.c" Alteration* _tmp31_ = NULL; Alteration* _tmp32_ = NULL; #line 2797 "/home/jens/Source/shotwell/src/Photo.vala" @@ -21559,7 +21560,7 @@ gboolean photo_load_transformation_state (Photo* self, PhotoTransformationState* data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp32_); #line 2797 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp32_); -#line 21561 "Photo.c" +#line 21562 "Photo.c" } #line 2799 "/home/jens/Source/shotwell/src/Photo.vala" result = committed; @@ -21573,7 +21574,7 @@ gboolean photo_load_transformation_state (Photo* self, PhotoTransformationState* _g_object_unref0 (state_impl); #line 2799 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 21575 "Photo.c" +#line 21576 "Photo.c" } @@ -21582,7 +21583,7 @@ void photo_remove_all_transformations (Photo* self) { g_return_if_fail (IS_PHOTO (self)); #line 2803 "/home/jens/Source/shotwell/src/Photo.vala" photo_internal_remove_all_transformations (self, TRUE); -#line 21584 "Photo.c" +#line 21585 "Photo.c" } @@ -21595,14 +21596,14 @@ static void photo_internal_remove_all_transformations (Photo* self, gboolean not g_return_if_fail (IS_PHOTO (self)); #line 2807 "/home/jens/Source/shotwell/src/Photo.vala" is_altered = FALSE; -#line 21597 "Photo.c" +#line 21598 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2808 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2808 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 21604 "Photo.c" +#line 21605 "Photo.c" { PhotoTable* _tmp1_ = NULL; PhotoTable* _tmp2_ = NULL; @@ -21652,7 +21653,7 @@ static void photo_internal_remove_all_transformations (Photo* self, gboolean not _tmp10_ = _tmp9_->original_orientation; #line 2815 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp8_ != _tmp10_) { -#line 21654 "Photo.c" +#line 21655 "Photo.c" PhotoTable* _tmp11_ = NULL; PhotoTable* _tmp12_ = NULL; PhotoRow* _tmp13_ = NULL; @@ -21688,17 +21689,17 @@ static void photo_internal_remove_all_transformations (Photo* self, gboolean not _tmp17_->orientation = _tmp19_; #line 2819 "/home/jens/Source/shotwell/src/Photo.vala" is_altered = TRUE; -#line 21690 "Photo.c" +#line 21691 "Photo.c" } } - __finally357: + __finally370: { PhotoRow* _tmp20_ = NULL; #line 2808 "/home/jens/Source/shotwell/src/Photo.vala" _tmp20_ = self->row; #line 2808 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 21700 "Photo.c" +#line 21701 "Photo.c" } #line 2808 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -21708,28 +21709,28 @@ static void photo_internal_remove_all_transformations (Photo* self, gboolean not g_clear_error (&_inner_error_); #line 2808 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 21710 "Photo.c" +#line 21711 "Photo.c" } } #line 2823 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = is_altered; #line 2823 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp22_) { -#line 21717 "Photo.c" +#line 21718 "Photo.c" gboolean _tmp23_ = FALSE; #line 2823 "/home/jens/Source/shotwell/src/Photo.vala" _tmp23_ = notify; #line 2823 "/home/jens/Source/shotwell/src/Photo.vala" _tmp21_ = _tmp23_; -#line 21723 "Photo.c" +#line 21724 "Photo.c" } else { #line 2823 "/home/jens/Source/shotwell/src/Photo.vala" _tmp21_ = FALSE; -#line 21727 "Photo.c" +#line 21728 "Photo.c" } #line 2823 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp21_) { -#line 21731 "Photo.c" +#line 21732 "Photo.c" Alteration* _tmp24_ = NULL; Alteration* _tmp25_ = NULL; #line 2824 "/home/jens/Source/shotwell/src/Photo.vala" @@ -21740,7 +21741,7 @@ static void photo_internal_remove_all_transformations (Photo* self, gboolean not data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp25_); #line 2824 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp25_); -#line 21742 "Photo.c" +#line 21743 "Photo.c" } } @@ -21750,14 +21751,14 @@ Orientation photo_get_original_orientation (Photo* self) { GError * _inner_error_ = NULL; #line 2827 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), 0); -#line 21752 "Photo.c" +#line 21753 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2828 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2828 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 21759 "Photo.c" +#line 21760 "Photo.c" { BackingPhotoRow* _tmp1_ = NULL; Orientation _tmp2_ = 0; @@ -21767,27 +21768,27 @@ Orientation photo_get_original_orientation (Photo* self) { _tmp2_ = _tmp1_->original_orientation; #line 2829 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp2_; -#line 21769 "Photo.c" +#line 21770 "Photo.c" { PhotoRow* _tmp3_ = NULL; #line 2828 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 2828 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 21776 "Photo.c" +#line 21777 "Photo.c" } #line 2829 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 21780 "Photo.c" +#line 21781 "Photo.c" } - __finally358: + __finally371: { PhotoRow* _tmp4_ = NULL; #line 2828 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2828 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 21789 "Photo.c" +#line 21790 "Photo.c" } #line 2828 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -21795,7 +21796,7 @@ Orientation photo_get_original_orientation (Photo* self) { g_clear_error (&_inner_error_); #line 2828 "/home/jens/Source/shotwell/src/Photo.vala" return 0; -#line 21797 "Photo.c" +#line 21798 "Photo.c" } } @@ -21805,14 +21806,14 @@ Orientation photo_get_orientation (Photo* self) { GError * _inner_error_ = NULL; #line 2833 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), 0); -#line 21807 "Photo.c" +#line 21808 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2834 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2834 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 21814 "Photo.c" +#line 21815 "Photo.c" { PhotoRow* _tmp1_ = NULL; Orientation _tmp2_ = 0; @@ -21822,27 +21823,27 @@ Orientation photo_get_orientation (Photo* self) { _tmp2_ = _tmp1_->orientation; #line 2835 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp2_; -#line 21824 "Photo.c" +#line 21825 "Photo.c" { PhotoRow* _tmp3_ = NULL; #line 2834 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 2834 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 21831 "Photo.c" +#line 21832 "Photo.c" } #line 2835 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 21835 "Photo.c" +#line 21836 "Photo.c" } - __finally359: + __finally372: { PhotoRow* _tmp4_ = NULL; #line 2834 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2834 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 21844 "Photo.c" +#line 21845 "Photo.c" } #line 2834 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -21850,7 +21851,7 @@ Orientation photo_get_orientation (Photo* self) { g_clear_error (&_inner_error_); #line 2834 "/home/jens/Source/shotwell/src/Photo.vala" return 0; -#line 21852 "Photo.c" +#line 21853 "Photo.c" } } @@ -21864,14 +21865,14 @@ gboolean photo_set_orientation (Photo* self, Orientation orientation) { g_return_val_if_fail (IS_PHOTO (self), FALSE); #line 2840 "/home/jens/Source/shotwell/src/Photo.vala" committed = FALSE; -#line 21866 "Photo.c" +#line 21867 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2841 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2841 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 21873 "Photo.c" +#line 21874 "Photo.c" { PhotoRow* _tmp1_ = NULL; Orientation _tmp2_ = 0; @@ -21884,7 +21885,7 @@ gboolean photo_set_orientation (Photo* self, Orientation orientation) { _tmp3_ = orientation; #line 2842 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != _tmp3_) { -#line 21886 "Photo.c" +#line 21887 "Photo.c" PhotoTable* _tmp4_ = NULL; PhotoTable* _tmp5_ = NULL; PhotoRow* _tmp6_ = NULL; @@ -21912,7 +21913,7 @@ gboolean photo_set_orientation (Photo* self, Orientation orientation) { _tmp10_ = committed; #line 2844 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp10_) { -#line 21914 "Photo.c" +#line 21915 "Photo.c" PhotoRow* _tmp11_ = NULL; Orientation _tmp12_ = 0; #line 2845 "/home/jens/Source/shotwell/src/Photo.vala" @@ -21921,18 +21922,18 @@ gboolean photo_set_orientation (Photo* self, Orientation orientation) { _tmp12_ = orientation; #line 2845 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_->orientation = _tmp12_; -#line 21923 "Photo.c" +#line 21924 "Photo.c" } } } - __finally360: + __finally373: { PhotoRow* _tmp13_ = NULL; #line 2841 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = self->row; #line 2841 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 21934 "Photo.c" +#line 21935 "Photo.c" } #line 2841 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -21942,14 +21943,14 @@ gboolean photo_set_orientation (Photo* self, Orientation orientation) { g_clear_error (&_inner_error_); #line 2841 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 21944 "Photo.c" +#line 21945 "Photo.c" } } #line 2849 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = committed; #line 2849 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp14_) { -#line 21951 "Photo.c" +#line 21952 "Photo.c" Alteration* _tmp15_ = NULL; Alteration* _tmp16_ = NULL; #line 2850 "/home/jens/Source/shotwell/src/Photo.vala" @@ -21960,13 +21961,13 @@ gboolean photo_set_orientation (Photo* self, Orientation orientation) { data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp16_); #line 2850 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp16_); -#line 21962 "Photo.c" +#line 21963 "Photo.c" } #line 2852 "/home/jens/Source/shotwell/src/Photo.vala" result = committed; #line 2852 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 21968 "Photo.c" +#line 21969 "Photo.c" } @@ -21981,7 +21982,7 @@ gboolean photo_check_can_rotate (Photo* self) { result = _tmp0_; #line 2856 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 21983 "Photo.c" +#line 21984 "Photo.c" } @@ -21993,7 +21994,7 @@ static void photo_real_rotate (Photo* self, Rotation rotation) { _tmp0_ = self->row; #line 2860 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 21995 "Photo.c" +#line 21996 "Photo.c" { Orientation _tmp1_ = 0; Rotation _tmp2_ = 0; @@ -22006,16 +22007,16 @@ static void photo_real_rotate (Photo* self, Rotation rotation) { _tmp3_ = orientation_perform (_tmp1_, _tmp2_); #line 2861 "/home/jens/Source/shotwell/src/Photo.vala" photo_set_orientation (self, _tmp3_); -#line 22008 "Photo.c" +#line 22009 "Photo.c" } - __finally361: + __finally374: { PhotoRow* _tmp4_ = NULL; #line 2860 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 2860 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 22017 "Photo.c" +#line 22018 "Photo.c" } #line 2860 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -22025,7 +22026,7 @@ static void photo_real_rotate (Photo* self, Rotation rotation) { g_clear_error (&_inner_error_); #line 2860 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 22027 "Photo.c" +#line 22028 "Photo.c" } } } @@ -22036,7 +22037,7 @@ void photo_rotate (Photo* self, Rotation rotation) { g_return_if_fail (IS_PHOTO (self)); #line 2859 "/home/jens/Source/shotwell/src/Photo.vala" PHOTO_GET_CLASS (self)->rotate (self, rotation); -#line 22038 "Photo.c" +#line 22039 "Photo.c" } @@ -22047,14 +22048,14 @@ static gboolean photo_has_transformation (Photo* self, const gchar* name) { g_return_val_if_fail (IS_PHOTO (self), FALSE); #line 2865 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (name != NULL, FALSE); -#line 22049 "Photo.c" +#line 22050 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2866 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2866 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 22056 "Photo.c" +#line 22057 "Photo.c" { gboolean _tmp1_ = FALSE; PhotoRow* _tmp2_ = NULL; @@ -22065,7 +22066,7 @@ static gboolean photo_has_transformation (Photo* self, const gchar* name) { _tmp3_ = _tmp2_->transformations; #line 2867 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp3_ != NULL) { -#line 22067 "Photo.c" +#line 22068 "Photo.c" PhotoRow* _tmp4_ = NULL; GeeHashMap* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; @@ -22080,35 +22081,35 @@ static gboolean photo_has_transformation (Photo* self, const gchar* name) { _tmp7_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp6_); #line 2867 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = _tmp7_; -#line 22082 "Photo.c" +#line 22083 "Photo.c" } else { #line 2867 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = FALSE; -#line 22086 "Photo.c" +#line 22087 "Photo.c" } #line 2867 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp1_; -#line 22090 "Photo.c" +#line 22091 "Photo.c" { PhotoRow* _tmp8_ = NULL; #line 2866 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = self->row; #line 2866 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 22097 "Photo.c" +#line 22098 "Photo.c" } #line 2867 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 22101 "Photo.c" +#line 22102 "Photo.c" } - __finally362: + __finally375: { PhotoRow* _tmp9_ = NULL; #line 2866 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_ = self->row; #line 2866 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 22110 "Photo.c" +#line 22111 "Photo.c" } #line 2866 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -22116,7 +22117,7 @@ static gboolean photo_has_transformation (Photo* self, const gchar* name) { g_clear_error (&_inner_error_); #line 2866 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 22118 "Photo.c" +#line 22119 "Photo.c" } } @@ -22131,14 +22132,14 @@ static KeyValueMap* photo_get_transformation (Photo* self, const gchar* name) { g_return_val_if_fail (name != NULL, NULL); #line 2875 "/home/jens/Source/shotwell/src/Photo.vala" map = NULL; -#line 22133 "Photo.c" +#line 22134 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2876 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2876 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 22140 "Photo.c" +#line 22141 "Photo.c" { PhotoRow* _tmp1_ = NULL; GeeHashMap* _tmp2_ = NULL; @@ -22148,7 +22149,7 @@ static KeyValueMap* photo_get_transformation (Photo* self, const gchar* name) { _tmp2_ = _tmp1_->transformations; #line 2877 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != NULL) { -#line 22150 "Photo.c" +#line 22151 "Photo.c" PhotoRow* _tmp3_ = NULL; GeeHashMap* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; @@ -22170,7 +22171,7 @@ static KeyValueMap* photo_get_transformation (Photo* self, const gchar* name) { _tmp7_ = map; #line 2879 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp7_ != NULL) { -#line 22172 "Photo.c" +#line 22173 "Photo.c" KeyValueMap* _tmp8_ = NULL; KeyValueMap* _tmp9_ = NULL; #line 2880 "/home/jens/Source/shotwell/src/Photo.vala" @@ -22181,18 +22182,18 @@ static KeyValueMap* photo_get_transformation (Photo* self, const gchar* name) { _key_value_map_unref0 (map); #line 2880 "/home/jens/Source/shotwell/src/Photo.vala" map = _tmp9_; -#line 22183 "Photo.c" +#line 22184 "Photo.c" } } } - __finally363: + __finally376: { PhotoRow* _tmp10_ = NULL; #line 2876 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = self->row; #line 2876 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 22194 "Photo.c" +#line 22195 "Photo.c" } #line 2876 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -22204,14 +22205,14 @@ static KeyValueMap* photo_get_transformation (Photo* self, const gchar* name) { g_clear_error (&_inner_error_); #line 2876 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 22206 "Photo.c" +#line 22207 "Photo.c" } } #line 2884 "/home/jens/Source/shotwell/src/Photo.vala" result = map; #line 2884 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 22213 "Photo.c" +#line 22214 "Photo.c" } @@ -22222,14 +22223,14 @@ static gboolean photo_set_transformation (Photo* self, KeyValueMap* trans) { g_return_val_if_fail (IS_PHOTO (self), FALSE); #line 2887 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_KEY_VALUE_MAP (trans), FALSE); -#line 22224 "Photo.c" +#line 22225 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2888 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2888 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 22231 "Photo.c" +#line 22232 "Photo.c" { PhotoRow* _tmp1_ = NULL; GeeHashMap* _tmp2_ = NULL; @@ -22252,7 +22253,7 @@ static gboolean photo_set_transformation (Photo* self, KeyValueMap* trans) { _tmp2_ = _tmp1_->transformations; #line 2889 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ == NULL) { -#line 22254 "Photo.c" +#line 22255 "Photo.c" PhotoRow* _tmp3_ = NULL; GeeHashMap* _tmp4_ = NULL; #line 2890 "/home/jens/Source/shotwell/src/Photo.vala" @@ -22263,7 +22264,7 @@ static gboolean photo_set_transformation (Photo* self, KeyValueMap* trans) { _g_object_unref0 (_tmp3_->transformations); #line 2890 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_->transformations = _tmp4_; -#line 22265 "Photo.c" +#line 22266 "Photo.c" } #line 2892 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->row; @@ -22299,27 +22300,27 @@ static gboolean photo_set_transformation (Photo* self, KeyValueMap* trans) { _database_table_unref0 (_tmp12_); #line 2894 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp17_; -#line 22301 "Photo.c" +#line 22302 "Photo.c" { PhotoRow* _tmp18_ = NULL; #line 2888 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = self->row; #line 2888 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 22308 "Photo.c" +#line 22309 "Photo.c" } #line 2894 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 22312 "Photo.c" +#line 22313 "Photo.c" } - __finally364: + __finally377: { PhotoRow* _tmp19_ = NULL; #line 2888 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = self->row; #line 2888 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 22321 "Photo.c" +#line 22322 "Photo.c" } #line 2888 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -22327,7 +22328,7 @@ static gboolean photo_set_transformation (Photo* self, KeyValueMap* trans) { g_clear_error (&_inner_error_); #line 2888 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 22329 "Photo.c" +#line 22330 "Photo.c" } } @@ -22343,14 +22344,14 @@ static gboolean photo_remove_transformation (Photo* self, const gchar* name) { g_return_val_if_fail (IS_PHOTO (self), FALSE); #line 2898 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (name != NULL, FALSE); -#line 22345 "Photo.c" +#line 22346 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 2900 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 2900 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 22352 "Photo.c" +#line 22353 "Photo.c" { PhotoRow* _tmp1_ = NULL; GeeHashMap* _tmp2_ = NULL; @@ -22366,7 +22367,7 @@ static gboolean photo_remove_transformation (Photo* self, const gchar* name) { _tmp2_ = _tmp1_->transformations; #line 2901 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != NULL) { -#line 22368 "Photo.c" +#line 22369 "Photo.c" PhotoRow* _tmp3_ = NULL; GeeHashMap* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; @@ -22395,7 +22396,7 @@ static gboolean photo_remove_transformation (Photo* self, const gchar* name) { _tmp10_ = _tmp9_; #line 2903 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp10_ == 0) { -#line 22397 "Photo.c" +#line 22398 "Photo.c" PhotoRow* _tmp11_ = NULL; #line 2904 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = self->row; @@ -22403,12 +22404,12 @@ static gboolean photo_remove_transformation (Photo* self, const gchar* name) { _g_object_unref0 (_tmp11_->transformations); #line 2904 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_->transformations = NULL; -#line 22405 "Photo.c" +#line 22406 "Photo.c" } } else { #line 2906 "/home/jens/Source/shotwell/src/Photo.vala" altered_cache = FALSE; -#line 22410 "Photo.c" +#line 22411 "Photo.c" } #line 2909 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = photo_table_get_instance (); @@ -22426,16 +22427,16 @@ static gboolean photo_remove_transformation (Photo* self, const gchar* name) { altered_persistent = _tmp17_; #line 2909 "/home/jens/Source/shotwell/src/Photo.vala" _database_table_unref0 (_tmp13_); -#line 22428 "Photo.c" +#line 22429 "Photo.c" } - __finally365: + __finally378: { PhotoRow* _tmp18_ = NULL; #line 2900 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = self->row; #line 2900 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 22437 "Photo.c" +#line 22438 "Photo.c" } #line 2900 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -22445,7 +22446,7 @@ static gboolean photo_remove_transformation (Photo* self, const gchar* name) { g_clear_error (&_inner_error_); #line 2900 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 22447 "Photo.c" +#line 22448 "Photo.c" } } #line 2913 "/home/jens/Source/shotwell/src/Photo.vala" @@ -22454,17 +22455,17 @@ static gboolean photo_remove_transformation (Photo* self, const gchar* name) { if (_tmp20_) { #line 2913 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = TRUE; -#line 22456 "Photo.c" +#line 22457 "Photo.c" } else { #line 2913 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = altered_persistent; -#line 22460 "Photo.c" +#line 22461 "Photo.c" } #line 2913 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp19_; #line 2913 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 22466 "Photo.c" +#line 22467 "Photo.c" } @@ -22479,7 +22480,7 @@ gboolean photo_has_crop (Photo* self) { result = _tmp0_; #line 2917 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 22481 "Photo.c" +#line 22482 "Photo.c" } @@ -22529,11 +22530,11 @@ gboolean photo_get_raw_crop (Photo* self, Box* crop) { if (crop) { #line 2926 "/home/jens/Source/shotwell/src/Photo.vala" *crop = _vala_crop; -#line 22531 "Photo.c" +#line 22532 "Photo.c" } #line 2926 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 22535 "Photo.c" +#line 22536 "Photo.c" } #line 2928 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = map; @@ -22565,40 +22566,40 @@ gboolean photo_get_raw_crop (Photo* self, Box* crop) { if (_tmp13_ == -1) { #line 2933 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = TRUE; -#line 22567 "Photo.c" +#line 22568 "Photo.c" } else { gint _tmp14_ = 0; #line 2933 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = top; #line 2933 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = _tmp14_ == -1; -#line 22574 "Photo.c" +#line 22575 "Photo.c" } #line 2933 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp12_) { #line 2933 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = TRUE; -#line 22580 "Photo.c" +#line 22581 "Photo.c" } else { gint _tmp15_ = 0; #line 2933 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = right; #line 2933 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = _tmp15_ == -1; -#line 22587 "Photo.c" +#line 22588 "Photo.c" } #line 2933 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp11_) { #line 2933 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = TRUE; -#line 22593 "Photo.c" +#line 22594 "Photo.c" } else { gint _tmp16_ = 0; #line 2933 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = bottom; #line 2933 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = _tmp16_ == -1; -#line 22600 "Photo.c" +#line 22601 "Photo.c" } #line 2933 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp10_) { @@ -22610,11 +22611,11 @@ gboolean photo_get_raw_crop (Photo* self, Box* crop) { if (crop) { #line 2934 "/home/jens/Source/shotwell/src/Photo.vala" *crop = _vala_crop; -#line 22612 "Photo.c" +#line 22613 "Photo.c" } #line 2934 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 22616 "Photo.c" +#line 22617 "Photo.c" } #line 2936 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = left; @@ -22634,11 +22635,11 @@ gboolean photo_get_raw_crop (Photo* self, Box* crop) { if (crop) { #line 2938 "/home/jens/Source/shotwell/src/Photo.vala" *crop = _vala_crop; -#line 22636 "Photo.c" +#line 22637 "Photo.c" } #line 2938 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 22640 "Photo.c" +#line 22641 "Photo.c" } @@ -22705,7 +22706,7 @@ static void photo_set_raw_crop (Photo* self, Box* crop) { _tmp14_ = photo_set_transformation (self, _tmp13_); #line 2949 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp14_) { -#line 22707 "Photo.c" +#line 22708 "Photo.c" Alteration* _tmp15_ = NULL; Alteration* _tmp16_ = NULL; #line 2950 "/home/jens/Source/shotwell/src/Photo.vala" @@ -22716,11 +22717,11 @@ static void photo_set_raw_crop (Photo* self, Box* crop) { data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp16_); #line 2950 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp16_); -#line 22718 "Photo.c" +#line 22719 "Photo.c" } #line 2942 "/home/jens/Source/shotwell/src/Photo.vala" _key_value_map_unref0 (map); -#line 22722 "Photo.c" +#line 22723 "Photo.c" } @@ -22752,11 +22753,11 @@ static gboolean photo_get_raw_straighten (Photo* self, gdouble* angle) { if (angle) { #line 2958 "/home/jens/Source/shotwell/src/Photo.vala" *angle = _vala_angle; -#line 22754 "Photo.c" +#line 22755 "Photo.c" } #line 2958 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 22758 "Photo.c" +#line 22759 "Photo.c" } #line 2961 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = map; @@ -22772,11 +22773,11 @@ static gboolean photo_get_raw_straighten (Photo* self, gdouble* angle) { if (angle) { #line 2963 "/home/jens/Source/shotwell/src/Photo.vala" *angle = _vala_angle; -#line 22774 "Photo.c" +#line 22775 "Photo.c" } #line 2963 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 22778 "Photo.c" +#line 22779 "Photo.c" } @@ -22805,7 +22806,7 @@ static void photo_set_raw_straighten (Photo* self, gdouble theta) { _tmp4_ = photo_set_transformation (self, _tmp3_); #line 2970 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp4_) { -#line 22807 "Photo.c" +#line 22808 "Photo.c" Alteration* _tmp5_ = NULL; Alteration* _tmp6_ = NULL; #line 2971 "/home/jens/Source/shotwell/src/Photo.vala" @@ -22816,11 +22817,11 @@ static void photo_set_raw_straighten (Photo* self, gdouble theta) { data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp6_); #line 2971 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp6_); -#line 22818 "Photo.c" +#line 22819 "Photo.c" } #line 2966 "/home/jens/Source/shotwell/src/Photo.vala" _key_value_map_unref0 (map); -#line 22822 "Photo.c" +#line 22823 "Photo.c" } @@ -22852,7 +22853,7 @@ static EditingToolsRedeyeInstance* photo_get_raw_redeye_instances (Photo* self, _tmp1_ = map; #line 2978 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_ == NULL) { -#line 22854 "Photo.c" +#line 22855 "Photo.c" EditingToolsRedeyeInstance* _tmp2_ = NULL; EditingToolsRedeyeInstance* _tmp3_ = NULL; gint _tmp3__length1 = 0; @@ -22866,7 +22867,7 @@ static EditingToolsRedeyeInstance* photo_get_raw_redeye_instances (Photo* self, if (result_length1) { #line 2979 "/home/jens/Source/shotwell/src/Photo.vala" *result_length1 = _tmp3__length1; -#line 22868 "Photo.c" +#line 22869 "Photo.c" } #line 2979 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp3_; @@ -22874,7 +22875,7 @@ static EditingToolsRedeyeInstance* photo_get_raw_redeye_instances (Photo* self, _key_value_map_unref0 (map); #line 2979 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 22876 "Photo.c" +#line 22877 "Photo.c" } #line 2981 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = map; @@ -22904,19 +22905,19 @@ static EditingToolsRedeyeInstance* photo_get_raw_redeye_instances (Photo* self, default_point.x = -1; #line 2988 "/home/jens/Source/shotwell/src/Photo.vala" default_point.y = -1; -#line 22906 "Photo.c" +#line 22907 "Photo.c" { gint i = 0; #line 2990 "/home/jens/Source/shotwell/src/Photo.vala" i = 0; -#line 22911 "Photo.c" +#line 22912 "Photo.c" { gboolean _tmp10_ = FALSE; #line 2990 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = TRUE; #line 2990 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 22918 "Photo.c" +#line 22919 "Photo.c" gint _tmp12_ = 0; gint _tmp13_ = 0; gchar* center_key = NULL; @@ -22961,13 +22962,13 @@ static EditingToolsRedeyeInstance* photo_get_raw_redeye_instances (Photo* self, gint _tmp46_ = 0; #line 2990 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp10_) { -#line 22963 "Photo.c" +#line 22964 "Photo.c" gint _tmp11_ = 0; #line 2990 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = i; #line 2990 "/home/jens/Source/shotwell/src/Photo.vala" i = _tmp11_ + 1; -#line 22969 "Photo.c" +#line 22970 "Photo.c" } #line 2990 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = FALSE; @@ -22979,7 +22980,7 @@ static EditingToolsRedeyeInstance* photo_get_raw_redeye_instances (Photo* self, if (!(_tmp12_ < _tmp13_)) { #line 2990 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 22981 "Photo.c" +#line 22982 "Photo.c" } #line 2991 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = i; @@ -23075,7 +23076,7 @@ static EditingToolsRedeyeInstance* photo_get_raw_redeye_instances (Photo* self, _g_free0 (radius_key); #line 2990 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (center_key); -#line 23077 "Photo.c" +#line 23078 "Photo.c" } } } @@ -23087,7 +23088,7 @@ static EditingToolsRedeyeInstance* photo_get_raw_redeye_instances (Photo* self, if (result_length1) { #line 3002 "/home/jens/Source/shotwell/src/Photo.vala" *result_length1 = _tmp47__length1; -#line 23089 "Photo.c" +#line 23090 "Photo.c" } #line 3002 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp47_; @@ -23095,7 +23096,7 @@ static EditingToolsRedeyeInstance* photo_get_raw_redeye_instances (Photo* self, _key_value_map_unref0 (map); #line 3002 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 23097 "Photo.c" +#line 23098 "Photo.c" } @@ -23110,7 +23111,7 @@ gboolean photo_has_redeye_transformations (Photo* self) { result = _tmp0_; #line 3006 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 23112 "Photo.c" +#line 23113 "Photo.c" } @@ -23153,7 +23154,7 @@ void photo_add_redeye_instance (Photo* self, EditingToolsRedeyeInstance* redeye) _tmp1_ = map; #line 3012 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_ == NULL) { -#line 23155 "Photo.c" +#line 23156 "Photo.c" KeyValueMap* _tmp2_ = NULL; KeyValueMap* _tmp3_ = NULL; #line 3013 "/home/jens/Source/shotwell/src/Photo.vala" @@ -23166,7 +23167,7 @@ void photo_add_redeye_instance (Photo* self, EditingToolsRedeyeInstance* redeye) _tmp3_ = map; #line 3014 "/home/jens/Source/shotwell/src/Photo.vala" key_value_map_set_int (_tmp3_, "num_points", 0); -#line 23168 "Photo.c" +#line 23169 "Photo.c" } #line 3017 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = map; @@ -23226,7 +23227,7 @@ void photo_add_redeye_instance (Photo* self, EditingToolsRedeyeInstance* redeye) _tmp23_ = photo_set_transformation (self, _tmp22_); #line 3030 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp23_) { -#line 23228 "Photo.c" +#line 23229 "Photo.c" Alteration* _tmp24_ = NULL; Alteration* _tmp25_ = NULL; #line 3031 "/home/jens/Source/shotwell/src/Photo.vala" @@ -23237,7 +23238,7 @@ void photo_add_redeye_instance (Photo* self, EditingToolsRedeyeInstance* redeye) data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp25_); #line 3031 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp25_); -#line 23239 "Photo.c" +#line 23240 "Photo.c" } #line 3010 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (center_key); @@ -23245,7 +23246,7 @@ void photo_add_redeye_instance (Photo* self, EditingToolsRedeyeInstance* redeye) _g_free0 (radius_key); #line 3010 "/home/jens/Source/shotwell/src/Photo.vala" _key_value_map_unref0 (map); -#line 23247 "Photo.c" +#line 23248 "Photo.c" } @@ -23258,14 +23259,14 @@ static gboolean photo_calculate_pixbuf_dimensions (Photo* self, Scaling* scaling g_return_val_if_fail (IS_PHOTO (self), FALSE); #line 3045 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (scaling != NULL, FALSE); -#line 23260 "Photo.c" +#line 23261 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 3047 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 3047 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 23267 "Photo.c" +#line 23268 "Photo.c" { Scaling _tmp1_ = {0}; PhotoException _tmp2_ = 0; @@ -23284,39 +23285,39 @@ static gboolean photo_calculate_pixbuf_dimensions (Photo* self, Scaling* scaling _vala_scaled_to_viewport = _tmp4_; #line 3049 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp5_; -#line 23286 "Photo.c" +#line 23287 "Photo.c" { PhotoRow* _tmp6_ = NULL; #line 3047 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = self->row; #line 3047 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 23293 "Photo.c" +#line 23294 "Photo.c" } #line 3049 "/home/jens/Source/shotwell/src/Photo.vala" if (scaled_image) { #line 3049 "/home/jens/Source/shotwell/src/Photo.vala" *scaled_image = _vala_scaled_image; -#line 23299 "Photo.c" +#line 23300 "Photo.c" } #line 3049 "/home/jens/Source/shotwell/src/Photo.vala" if (scaled_to_viewport) { #line 3049 "/home/jens/Source/shotwell/src/Photo.vala" *scaled_to_viewport = _vala_scaled_to_viewport; -#line 23305 "Photo.c" +#line 23306 "Photo.c" } #line 3049 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 23309 "Photo.c" +#line 23310 "Photo.c" } - __finally366: + __finally379: { PhotoRow* _tmp7_ = NULL; #line 3047 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = self->row; #line 3047 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 23318 "Photo.c" +#line 23319 "Photo.c" } #line 3047 "/home/jens/Source/shotwell/src/Photo.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -23324,19 +23325,19 @@ static gboolean photo_calculate_pixbuf_dimensions (Photo* self, Scaling* scaling g_clear_error (&_inner_error_); #line 3047 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 23326 "Photo.c" +#line 23327 "Photo.c" } #line 3045 "/home/jens/Source/shotwell/src/Photo.vala" if (scaled_image) { #line 3045 "/home/jens/Source/shotwell/src/Photo.vala" *scaled_image = _vala_scaled_image; -#line 23332 "Photo.c" +#line 23333 "Photo.c" } #line 3045 "/home/jens/Source/shotwell/src/Photo.vala" if (scaled_to_viewport) { #line 3045 "/home/jens/Source/shotwell/src/Photo.vala" *scaled_to_viewport = _vala_scaled_to_viewport; -#line 23338 "Photo.c" +#line 23339 "Photo.c" } } @@ -23372,7 +23373,7 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* _tmp1_ = scaling_is_unscaled (scaling); #line 3059 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_) { -#line 23374 "Photo.c" +#line 23375 "Photo.c" Dimensions _tmp2_ = {0}; Dimensions _tmp3_ = {0}; #line 3060 "/home/jens/Source/shotwell/src/Photo.vala" @@ -23389,17 +23390,17 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* if (scaled_image) { #line 3063 "/home/jens/Source/shotwell/src/Photo.vala" *scaled_image = _vala_scaled_image; -#line 23391 "Photo.c" +#line 23392 "Photo.c" } #line 3063 "/home/jens/Source/shotwell/src/Photo.vala" if (scaled_to_viewport) { #line 3063 "/home/jens/Source/shotwell/src/Photo.vala" *scaled_to_viewport = _vala_scaled_to_viewport; -#line 23397 "Photo.c" +#line 23398 "Photo.c" } #line 3063 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 23401 "Photo.c" +#line 23402 "Photo.c" } #line 3066 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = photo_get_orientation (self); @@ -23415,7 +23416,7 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* _tmp6_ = photo_exception_allows (_tmp5_, PHOTO_EXCEPTION_CROP); #line 3074 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp6_) { -#line 23417 "Photo.c" +#line 23418 "Photo.c" Box crop = {0}; Box _tmp7_ = {0}; gboolean _tmp8_ = FALSE; @@ -23425,7 +23426,7 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* crop = _tmp7_; #line 3076 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp8_) { -#line 23427 "Photo.c" +#line 23428 "Photo.c" Dimensions rotated_raw = {0}; Dimensions _tmp9_ = {0}; PhotoException _tmp10_ = 0; @@ -23453,7 +23454,7 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* _tmp11_ = photo_exception_allows (_tmp10_, PHOTO_EXCEPTION_ORIENTATION); #line 3080 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp11_) { -#line 23455 "Photo.c" +#line 23456 "Photo.c" Orientation _tmp12_ = 0; Dimensions _tmp13_ = {0}; Box _tmp14_ = {0}; @@ -23479,7 +23480,7 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* orientation_rotate_dimensions (_tmp16_, &_tmp17_, &_tmp18_); #line 3082 "/home/jens/Source/shotwell/src/Photo.vala" rotated_raw = _tmp18_; -#line 23481 "Photo.c" +#line 23482 "Photo.c" } #line 3086 "/home/jens/Source/shotwell/src/Photo.vala" box_get_dimensions (&crop, &_tmp19_); @@ -23499,7 +23500,7 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* _tmp25_ = box_get_width (&scaled_crop); #line 3092 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp24_ <= _tmp25_) { -#line 23501 "Photo.c" +#line 23502 "Photo.c" gint _tmp26_ = 0; gint _tmp27_ = 0; #line 3093 "/home/jens/Source/shotwell/src/Photo.vala" @@ -23508,15 +23509,15 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* _tmp27_ = box_get_height (&scaled_crop); #line 3093 "/home/jens/Source/shotwell/src/Photo.vala" _tmp23_ = _tmp26_ <= _tmp27_; -#line 23510 "Photo.c" +#line 23511 "Photo.c" } else { #line 3092 "/home/jens/Source/shotwell/src/Photo.vala" _tmp23_ = FALSE; -#line 23514 "Photo.c" +#line 23515 "Photo.c" } #line 3092 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp23_) { -#line 23518 "Photo.c" +#line 23519 "Photo.c" Dimensions _tmp28_ = {0}; Dimensions _tmp29_ = {0}; #line 3094 "/home/jens/Source/shotwell/src/Photo.vala" @@ -23533,17 +23534,17 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* if (scaled_image) { #line 3097 "/home/jens/Source/shotwell/src/Photo.vala" *scaled_image = _vala_scaled_image; -#line 23535 "Photo.c" +#line 23536 "Photo.c" } #line 3097 "/home/jens/Source/shotwell/src/Photo.vala" if (scaled_to_viewport) { #line 3097 "/home/jens/Source/shotwell/src/Photo.vala" *scaled_to_viewport = _vala_scaled_to_viewport; -#line 23541 "Photo.c" +#line 23542 "Photo.c" } #line 3097 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 23545 "Photo.c" +#line 23546 "Photo.c" } #line 3102 "/home/jens/Source/shotwell/src/Photo.vala" box_get_dimensions (&crop, &_tmp30_); @@ -23559,7 +23560,7 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* _tmp34_ = photo_exception_allows (_tmp33_, PHOTO_EXCEPTION_ORIENTATION); #line 3106 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp34_) { -#line 23561 "Photo.c" +#line 23562 "Photo.c" Orientation _tmp35_ = 0; Dimensions _tmp36_ = {0}; Dimensions _tmp37_ = {0}; @@ -23571,7 +23572,7 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* orientation_derotate_dimensions (_tmp35_, &_tmp36_, &_tmp37_); #line 3107 "/home/jens/Source/shotwell/src/Photo.vala" _vala_scaled_image = _tmp37_; -#line 23573 "Photo.c" +#line 23574 "Photo.c" } } } @@ -23579,7 +23580,7 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* _tmp38_ = dimensions_has_area (&_vala_scaled_image); #line 3112 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp38_) { -#line 23581 "Photo.c" +#line 23582 "Photo.c" Dimensions rotated_raw = {0}; Dimensions _tmp39_ = {0}; PhotoException _tmp40_ = 0; @@ -23599,7 +23600,7 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* _tmp41_ = photo_exception_allows (_tmp40_, PHOTO_EXCEPTION_ORIENTATION); #line 3115 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp41_) { -#line 23601 "Photo.c" +#line 23602 "Photo.c" Orientation _tmp42_ = 0; Dimensions _tmp43_ = {0}; Dimensions _tmp44_ = {0}; @@ -23611,7 +23612,7 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* orientation_rotate_dimensions (_tmp42_, &_tmp43_, &_tmp44_); #line 3116 "/home/jens/Source/shotwell/src/Photo.vala" rotated_raw = _tmp44_; -#line 23613 "Photo.c" +#line 23614 "Photo.c" } #line 3118 "/home/jens/Source/shotwell/src/Photo.vala" _tmp45_ = rotated_raw; @@ -23629,7 +23630,7 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* _tmp49_ = photo_exception_allows (_tmp48_, PHOTO_EXCEPTION_ORIENTATION); #line 3122 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp49_) { -#line 23631 "Photo.c" +#line 23632 "Photo.c" Orientation _tmp50_ = 0; Dimensions _tmp51_ = {0}; Dimensions _tmp52_ = {0}; @@ -23641,7 +23642,7 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* orientation_derotate_dimensions (_tmp50_, &_tmp51_, &_tmp52_); #line 3123 "/home/jens/Source/shotwell/src/Photo.vala" _vala_scaled_image = _tmp52_; -#line 23643 "Photo.c" +#line 23644 "Photo.c" } } #line 3127 "/home/jens/Source/shotwell/src/Photo.vala" @@ -23654,7 +23655,7 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* _tmp57_ = _tmp56_.width; #line 3127 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp55_ >= _tmp57_) { -#line 23656 "Photo.c" +#line 23657 "Photo.c" Dimensions _tmp58_ = {0}; gint _tmp59_ = 0; Dimensions _tmp60_ = {0}; @@ -23669,15 +23670,15 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* _tmp61_ = _tmp60_.height; #line 3127 "/home/jens/Source/shotwell/src/Photo.vala" _tmp53_ = _tmp59_ >= _tmp61_; -#line 23671 "Photo.c" +#line 23672 "Photo.c" } else { #line 3127 "/home/jens/Source/shotwell/src/Photo.vala" _tmp53_ = FALSE; -#line 23675 "Photo.c" +#line 23676 "Photo.c" } #line 3127 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp53_) { -#line 23679 "Photo.c" +#line 23680 "Photo.c" Dimensions _tmp62_ = {0}; #line 3128 "/home/jens/Source/shotwell/src/Photo.vala" _tmp62_ = raw; @@ -23689,17 +23690,17 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* if (scaled_image) { #line 3130 "/home/jens/Source/shotwell/src/Photo.vala" *scaled_image = _vala_scaled_image; -#line 23691 "Photo.c" +#line 23692 "Photo.c" } #line 3130 "/home/jens/Source/shotwell/src/Photo.vala" if (scaled_to_viewport) { #line 3130 "/home/jens/Source/shotwell/src/Photo.vala" *scaled_to_viewport = _vala_scaled_to_viewport; -#line 23697 "Photo.c" +#line 23698 "Photo.c" } #line 3130 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 23701 "Photo.c" +#line 23702 "Photo.c" } #line 3133 "/home/jens/Source/shotwell/src/Photo.vala" _tmp63_ = dimensions_has_area (&_vala_scaled_image); @@ -23715,17 +23716,17 @@ static gboolean photo_locked_calculate_pixbuf_dimensions (Photo* self, Scaling* if (scaled_image) { #line 3136 "/home/jens/Source/shotwell/src/Photo.vala" *scaled_image = _vala_scaled_image; -#line 23717 "Photo.c" +#line 23718 "Photo.c" } #line 3136 "/home/jens/Source/shotwell/src/Photo.vala" if (scaled_to_viewport) { #line 3136 "/home/jens/Source/shotwell/src/Photo.vala" *scaled_to_viewport = _vala_scaled_to_viewport; -#line 23723 "Photo.c" +#line 23724 "Photo.c" } #line 3136 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 23727 "Photo.c" +#line 23728 "Photo.c" } @@ -23767,7 +23768,7 @@ static GdkPixbuf* photo_load_raw_pixbuf (Photo* self, Scaling* scaling, PhotoExc _tmp2_ = scaling_is_unscaled (scaling); #line 3148 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_) { -#line 23769 "Photo.c" +#line 23770 "Photo.c" GdkPixbuf* _tmp3_ = NULL; PhotoFileReader* _tmp4_ = NULL; GdkPixbuf* _tmp5_ = NULL; @@ -23786,7 +23787,7 @@ static GdkPixbuf* photo_load_raw_pixbuf (Photo* self, Scaling* scaling, PhotoExc _photo_file_adapter_unref0 (loader); #line 3153 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 23788 "Photo.c" +#line 23789 "Photo.c" } #line 3153 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = _tmp3_; @@ -23800,7 +23801,7 @@ static GdkPixbuf* photo_load_raw_pixbuf (Photo* self, Scaling* scaling, PhotoExc _photo_file_adapter_unref0 (loader); #line 3153 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 23802 "Photo.c" +#line 23803 "Photo.c" } #line 3158 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = *scaling; @@ -23818,7 +23819,7 @@ static GdkPixbuf* photo_load_raw_pixbuf (Photo* self, Scaling* scaling, PhotoExc _tmp12_ = is_scaled; #line 3160 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp12_) { -#line 23820 "Photo.c" +#line 23821 "Photo.c" GdkPixbuf* _tmp13_ = NULL; PhotoFileReader* _tmp14_ = NULL; GdkPixbuf* _tmp15_ = NULL; @@ -23837,7 +23838,7 @@ static GdkPixbuf* photo_load_raw_pixbuf (Photo* self, Scaling* scaling, PhotoExc _photo_file_adapter_unref0 (loader); #line 3165 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 23839 "Photo.c" +#line 23840 "Photo.c" } #line 3165 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = _tmp13_; @@ -23851,7 +23852,7 @@ static GdkPixbuf* photo_load_raw_pixbuf (Photo* self, Scaling* scaling, PhotoExc _photo_file_adapter_unref0 (loader); #line 3165 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 23853 "Photo.c" +#line 23854 "Photo.c" } #line 3168 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = loader; @@ -23871,7 +23872,7 @@ static GdkPixbuf* photo_load_raw_pixbuf (Photo* self, Scaling* scaling, PhotoExc _photo_file_adapter_unref0 (loader); #line 3168 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 23873 "Photo.c" +#line 23874 "Photo.c" } #line 3176 "/home/jens/Source/shotwell/src/Photo.vala" _tmp21_ = pixbuf; @@ -23887,7 +23888,7 @@ static GdkPixbuf* photo_load_raw_pixbuf (Photo* self, Scaling* scaling, PhotoExc _photo_file_adapter_unref0 (loader); #line 3178 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 23889 "Photo.c" +#line 23890 "Photo.c" } @@ -23917,7 +23918,7 @@ GdkPixbuf* photo_get_master_pixbuf (Photo* self, Scaling* scaling, gboolean rota g_propagate_error (error, _inner_error_); #line 3184 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 23919 "Photo.c" +#line 23920 "Photo.c" } #line 3184 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = _tmp0_; @@ -23929,7 +23930,7 @@ GdkPixbuf* photo_get_master_pixbuf (Photo* self, Scaling* scaling, gboolean rota _g_object_unref0 (_tmp0_); #line 3184 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 23931 "Photo.c" +#line 23932 "Photo.c" } @@ -23959,7 +23960,7 @@ GdkPixbuf* photo_get_unmodified_pixbuf (Photo* self, Scaling* scaling, gboolean g_propagate_error (error, _inner_error_); #line 3189 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 23961 "Photo.c" +#line 23962 "Photo.c" } #line 3189 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = _tmp0_; @@ -23971,7 +23972,7 @@ GdkPixbuf* photo_get_unmodified_pixbuf (Photo* self, Scaling* scaling, gboolean _g_object_unref0 (_tmp0_); #line 3189 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 23973 "Photo.c" +#line 23974 "Photo.c" } @@ -23990,14 +23991,14 @@ static GdkPixbuf* photo_get_untransformed_pixbuf (Photo* self, Scaling* scaling, g_return_val_if_fail (IS_PHOTO (self), NULL); #line 3193 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (scaling != NULL, NULL); -#line 23992 "Photo.c" +#line 23993 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 3207 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 3207 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 23999 "Photo.c" +#line 24000 "Photo.c" { Scaling _tmp1_ = {0}; Dimensions _tmp2_ = {0}; @@ -24015,16 +24016,16 @@ static GdkPixbuf* photo_get_untransformed_pixbuf (Photo* self, Scaling* scaling, _tmp4_ = photo_get_original_orientation (self); #line 3210 "/home/jens/Source/shotwell/src/Photo.vala" original_orientation = _tmp4_; -#line 24017 "Photo.c" +#line 24018 "Photo.c" } - __finally367: + __finally380: { PhotoRow* _tmp5_ = NULL; #line 3207 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = self->row; #line 3207 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 24026 "Photo.c" +#line 24027 "Photo.c" } #line 3207 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -24032,7 +24033,7 @@ static GdkPixbuf* photo_get_untransformed_pixbuf (Photo* self, Scaling* scaling, g_propagate_error (error, _inner_error_); #line 3207 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 24034 "Photo.c" +#line 24035 "Photo.c" } } #line 3214 "/home/jens/Source/shotwell/src/Photo.vala" @@ -24049,13 +24050,13 @@ static GdkPixbuf* photo_get_untransformed_pixbuf (Photo* self, Scaling* scaling, g_propagate_error (error, _inner_error_); #line 3214 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 24051 "Photo.c" +#line 24052 "Photo.c" } #line 3220 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_ = rotate; #line 3220 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp9_) { -#line 24057 "Photo.c" +#line 24058 "Photo.c" GdkPixbuf* _tmp10_ = NULL; GdkPixbuf* _tmp11_ = NULL; #line 3221 "/home/jens/Source/shotwell/src/Photo.vala" @@ -24066,13 +24067,13 @@ static GdkPixbuf* photo_get_untransformed_pixbuf (Photo* self, Scaling* scaling, _g_object_unref0 (pixbuf); #line 3221 "/home/jens/Source/shotwell/src/Photo.vala" pixbuf = _tmp11_; -#line 24068 "Photo.c" +#line 24069 "Photo.c" } #line 3230 "/home/jens/Source/shotwell/src/Photo.vala" result = pixbuf; #line 3230 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 24074 "Photo.c" +#line 24075 "Photo.c" } @@ -24100,7 +24101,7 @@ static GdkPixbuf* photo_real_get_pixbuf (PhotoSource* base, Scaling* scaling, GE g_propagate_error (error, _inner_error_); #line 3234 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 24102 "Photo.c" +#line 24103 "Photo.c" } #line 3234 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = _tmp0_; @@ -24112,7 +24113,7 @@ static GdkPixbuf* photo_real_get_pixbuf (PhotoSource* base, Scaling* scaling, GE _g_object_unref0 (_tmp0_); #line 3234 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 24114 "Photo.c" +#line 24115 "Photo.c" } @@ -24134,7 +24135,7 @@ static GdkPixbuf* photo_real_get_pixbuf (PhotoSource* base, Scaling* scaling, GE static gpointer _photo_cached_pixbuf_ref0 (gpointer self) { #line 3269 "/home/jens/Source/shotwell/src/Photo.vala" return self ? photo_cached_pixbuf_ref (self) : NULL; -#line 24136 "Photo.c" +#line 24137 "Photo.c" } @@ -24143,7 +24144,7 @@ static gboolean _photo_trim_source_pixbuf_cache_gsource_func (gpointer self) { result = photo_trim_source_pixbuf_cache (); #line 3321 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 24145 "Photo.c" +#line 24146 "Photo.c" } @@ -24152,14 +24153,14 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G GError * _inner_error_ = NULL; #line 3252 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail ((locate == NULL) || IS_PHOTO (locate), NULL); -#line 24154 "Photo.c" +#line 24155 "Photo.c" { GeeLinkedList* _tmp0_ = NULL; #line 3253 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = photo_source_pixbuf_cache; #line 3253 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&__lock_photo_source_pixbuf_cache); -#line 24161 "Photo.c" +#line 24162 "Photo.c" { PhotoCachedPixbuf* found = NULL; gdouble min_elapsed = 0.0; @@ -24193,7 +24194,7 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G iter = _tmp2_; #line 3261 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 24195 "Photo.c" +#line 24196 "Photo.c" GeeIterator* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; PhotoCachedPixbuf* cached_pixbuf = NULL; @@ -24214,7 +24215,7 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G if (!_tmp4_) { #line 3261 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 24216 "Photo.c" +#line 24217 "Photo.c" } #line 3262 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = iter; @@ -24236,7 +24237,7 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G _tmp12_ = locate; #line 3266 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp12_ != NULL) { -#line 24238 "Photo.c" +#line 24239 "Photo.c" PhotoCachedPixbuf* _tmp13_ = NULL; Photo* _tmp14_ = NULL; Photo* _tmp15_ = NULL; @@ -24251,15 +24252,15 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G _tmp16_ = data_source_equals (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_SOURCE, DataSource), G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_DATA_SOURCE, DataSource)); #line 3266 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = _tmp16_; -#line 24253 "Photo.c" +#line 24254 "Photo.c" } else { #line 3266 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = FALSE; -#line 24257 "Photo.c" +#line 24258 "Photo.c" } #line 3266 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp11_) { -#line 24261 "Photo.c" +#line 24262 "Photo.c" GeeIterator* _tmp17_ = NULL; PhotoCachedPixbuf* _tmp18_ = NULL; PhotoCachedPixbuf* _tmp19_ = NULL; @@ -24280,33 +24281,33 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G _tmp20_ = count; #line 3272 "/home/jens/Source/shotwell/src/Photo.vala" count = _tmp20_ + 1; -#line 24282 "Photo.c" +#line 24283 "Photo.c" } else { gdouble _tmp21_ = 0.0; #line 3273 "/home/jens/Source/shotwell/src/Photo.vala" _tmp21_ = elapsed; #line 3273 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp21_ >= ((gdouble) PHOTO_SOURCE_PIXBUF_TIME_TO_LIVE_SEC)) { -#line 24289 "Photo.c" +#line 24290 "Photo.c" GeeIterator* _tmp22_ = NULL; #line 3274 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = iter; #line 3274 "/home/jens/Source/shotwell/src/Photo.vala" gee_iterator_remove (_tmp22_); -#line 24295 "Photo.c" +#line 24296 "Photo.c" } else { gint _tmp23_ = 0; #line 3275 "/home/jens/Source/shotwell/src/Photo.vala" _tmp23_ = count; #line 3275 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp23_ >= PHOTO_SOURCE_PIXBUF_MAX_LRU_COUNT) { -#line 24302 "Photo.c" +#line 24303 "Photo.c" GeeIterator* _tmp24_ = NULL; #line 3276 "/home/jens/Source/shotwell/src/Photo.vala" _tmp24_ = iter; #line 3276 "/home/jens/Source/shotwell/src/Photo.vala" gee_iterator_remove (_tmp24_); -#line 24308 "Photo.c" +#line 24309 "Photo.c" } else { gdouble _tmp25_ = 0.0; gdouble _tmp26_ = 0.0; @@ -24324,47 +24325,47 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G _tmp28_ = count; #line 3281 "/home/jens/Source/shotwell/src/Photo.vala" count = _tmp28_ + 1; -#line 24326 "Photo.c" +#line 24327 "Photo.c" } } } #line 3261 "/home/jens/Source/shotwell/src/Photo.vala" _photo_cached_pixbuf_unref0 (cached_pixbuf); -#line 24332 "Photo.c" +#line 24333 "Photo.c" } #line 3286 "/home/jens/Source/shotwell/src/Photo.vala" _tmp31_ = found; #line 3286 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp31_ == NULL) { -#line 24338 "Photo.c" +#line 24339 "Photo.c" Photo* _tmp32_ = NULL; #line 3286 "/home/jens/Source/shotwell/src/Photo.vala" _tmp32_ = locate; #line 3286 "/home/jens/Source/shotwell/src/Photo.vala" _tmp30_ = _tmp32_ != NULL; -#line 24344 "Photo.c" +#line 24345 "Photo.c" } else { #line 3286 "/home/jens/Source/shotwell/src/Photo.vala" _tmp30_ = FALSE; -#line 24348 "Photo.c" +#line 24349 "Photo.c" } #line 3286 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp30_) { -#line 24352 "Photo.c" +#line 24353 "Photo.c" gboolean _tmp33_ = FALSE; #line 3286 "/home/jens/Source/shotwell/src/Photo.vala" _tmp33_ = keep; #line 3286 "/home/jens/Source/shotwell/src/Photo.vala" _tmp29_ = _tmp33_; -#line 24358 "Photo.c" +#line 24359 "Photo.c" } else { #line 3286 "/home/jens/Source/shotwell/src/Photo.vala" _tmp29_ = FALSE; -#line 24362 "Photo.c" +#line 24363 "Photo.c" } #line 3286 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp29_) { -#line 24366 "Photo.c" +#line 24367 "Photo.c" GdkPixbuf* _tmp34_ = NULL; Photo* _tmp35_ = NULL; Scaling _tmp36_ = {0}; @@ -24385,8 +24386,8 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G _g_object_unref0 (iter); #line 3288 "/home/jens/Source/shotwell/src/Photo.vala" _photo_cached_pixbuf_unref0 (found); -#line 24387 "Photo.c" - goto __finally368; +#line 24388 "Photo.c" + goto __finally381; } #line 3287 "/home/jens/Source/shotwell/src/Photo.vala" _tmp38_ = locate; @@ -24398,14 +24399,14 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G found = _tmp39_; #line 3286 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp34_); -#line 24400 "Photo.c" +#line 24401 "Photo.c" } else { PhotoCachedPixbuf* _tmp40_ = NULL; #line 3289 "/home/jens/Source/shotwell/src/Photo.vala" _tmp40_ = found; #line 3289 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp40_ != NULL) { -#line 24407 "Photo.c" +#line 24408 "Photo.c" PhotoCachedPixbuf* _tmp41_ = NULL; GTimer* _tmp42_ = NULL; #line 3291 "/home/jens/Source/shotwell/src/Photo.vala" @@ -24414,28 +24415,28 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G _tmp42_ = _tmp41_->last_touched; #line 3291 "/home/jens/Source/shotwell/src/Photo.vala" g_timer_start (_tmp42_); -#line 24416 "Photo.c" +#line 24417 "Photo.c" } } #line 3295 "/home/jens/Source/shotwell/src/Photo.vala" _tmp44_ = found; #line 3295 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp44_ != NULL) { -#line 24423 "Photo.c" +#line 24424 "Photo.c" gboolean _tmp45_ = FALSE; #line 3295 "/home/jens/Source/shotwell/src/Photo.vala" _tmp45_ = keep; #line 3295 "/home/jens/Source/shotwell/src/Photo.vala" _tmp43_ = _tmp45_; -#line 24429 "Photo.c" +#line 24430 "Photo.c" } else { #line 3295 "/home/jens/Source/shotwell/src/Photo.vala" _tmp43_ = FALSE; -#line 24433 "Photo.c" +#line 24434 "Photo.c" } #line 3295 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp43_) { -#line 24437 "Photo.c" +#line 24438 "Photo.c" GeeLinkedList* _tmp46_ = NULL; PhotoCachedPixbuf* _tmp47_ = NULL; PhotoCachedPixbuf* _tmp48_ = NULL; @@ -24463,7 +24464,7 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G min_elapsed = _tmp52_; #line 3305 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 24465 "Photo.c" +#line 24466 "Photo.c" GeeLinkedList* _tmp53_ = NULL; gint _tmp54_ = 0; gint _tmp55_ = 0; @@ -24480,7 +24481,7 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G if (!(_tmp55_ > PHOTO_SOURCE_PIXBUF_MAX_LRU_COUNT)) { #line 3305 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 24482 "Photo.c" +#line 24483 "Photo.c" } #line 3306 "/home/jens/Source/shotwell/src/Photo.vala" _tmp56_ = photo_source_pixbuf_cache; @@ -24490,14 +24491,14 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G _tmp58_ = (PhotoCachedPixbuf*) _tmp57_; #line 3306 "/home/jens/Source/shotwell/src/Photo.vala" _photo_cached_pixbuf_unref0 (_tmp58_); -#line 24492 "Photo.c" +#line 24493 "Photo.c" } } #line 3310 "/home/jens/Source/shotwell/src/Photo.vala" _tmp59_ = photo_discard_source_id; #line 3310 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp59_ != ((guint) 0)) { -#line 24499 "Photo.c" +#line 24500 "Photo.c" guint _tmp60_ = 0U; #line 3311 "/home/jens/Source/shotwell/src/Photo.vala" _tmp60_ = photo_discard_source_id; @@ -24505,7 +24506,7 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G g_source_remove (_tmp60_); #line 3312 "/home/jens/Source/shotwell/src/Photo.vala" photo_discard_source_id = (guint) 0; -#line 24507 "Photo.c" +#line 24508 "Photo.c" } #line 3316 "/home/jens/Source/shotwell/src/Photo.vala" _tmp61_ = photo_source_pixbuf_cache; @@ -24515,7 +24516,7 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G _tmp63_ = _tmp62_; #line 3316 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp63_ > PHOTO_SOURCE_PIXBUF_MIN_LRU_COUNT) { -#line 24517 "Photo.c" +#line 24518 "Photo.c" gdouble _tmp64_ = 0.0; guint retry_sec = 0U; gdouble _tmp65_ = 0.0; @@ -24538,13 +24539,13 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G _tmp68_ = g_timeout_add_seconds_full (G_PRIORITY_LOW, _tmp67_, _photo_trim_source_pixbuf_cache_gsource_func, NULL, NULL); #line 3321 "/home/jens/Source/shotwell/src/Photo.vala" photo_discard_source_id = _tmp68_; -#line 24540 "Photo.c" +#line 24541 "Photo.c" } #line 3324 "/home/jens/Source/shotwell/src/Photo.vala" _tmp70_ = found; #line 3324 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp70_ != NULL) { -#line 24546 "Photo.c" +#line 24547 "Photo.c" PhotoCachedPixbuf* _tmp71_ = NULL; GdkPixbuf* _tmp72_ = NULL; #line 3324 "/home/jens/Source/shotwell/src/Photo.vala" @@ -24553,11 +24554,11 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G _tmp72_ = _tmp71_->pixbuf; #line 3324 "/home/jens/Source/shotwell/src/Photo.vala" _tmp69_ = _tmp72_; -#line 24555 "Photo.c" +#line 24556 "Photo.c" } else { #line 3324 "/home/jens/Source/shotwell/src/Photo.vala" _tmp69_ = NULL; -#line 24559 "Photo.c" +#line 24560 "Photo.c" } #line 3324 "/home/jens/Source/shotwell/src/Photo.vala" _tmp73_ = _g_object_ref0 (_tmp69_); @@ -24567,33 +24568,33 @@ static GdkPixbuf* photo_run_source_pixbuf_cache (Photo* locate, gboolean keep, G _g_object_unref0 (iter); #line 3324 "/home/jens/Source/shotwell/src/Photo.vala" _photo_cached_pixbuf_unref0 (found); -#line 24569 "Photo.c" +#line 24570 "Photo.c" { GeeLinkedList* _tmp74_ = NULL; #line 3253 "/home/jens/Source/shotwell/src/Photo.vala" _tmp74_ = photo_source_pixbuf_cache; #line 3253 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&__lock_photo_source_pixbuf_cache); -#line 24576 "Photo.c" +#line 24577 "Photo.c" } #line 3324 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 24580 "Photo.c" +#line 24581 "Photo.c" } - __finally368: + __finally381: { GeeLinkedList* _tmp75_ = NULL; #line 3253 "/home/jens/Source/shotwell/src/Photo.vala" _tmp75_ = photo_source_pixbuf_cache; #line 3253 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&__lock_photo_source_pixbuf_cache); -#line 24589 "Photo.c" +#line 24590 "Photo.c" } #line 3253 "/home/jens/Source/shotwell/src/Photo.vala" g_propagate_error (error, _inner_error_); #line 3253 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 24595 "Photo.c" +#line 24596 "Photo.c" } } @@ -24612,12 +24613,12 @@ static gboolean photo_trim_source_pixbuf_cache (void) { _g_object_unref0 (_tmp1_); #line 3330 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 24614 "Photo.c" - goto __catch369_g_error; +#line 24615 "Photo.c" + goto __catch382_g_error; } } - goto __finally369; - __catch369_g_error: + goto __finally382; + __catch382_g_error: { GError* err = NULL; #line 3329 "/home/jens/Source/shotwell/src/Photo.vala" @@ -24626,9 +24627,9 @@ static gboolean photo_trim_source_pixbuf_cache (void) { _inner_error_ = NULL; #line 3329 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 24628 "Photo.c" +#line 24629 "Photo.c" } - __finally369: + __finally382: #line 3329 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3329 "/home/jens/Source/shotwell/src/Photo.vala" @@ -24637,13 +24638,13 @@ static gboolean photo_trim_source_pixbuf_cache (void) { g_clear_error (&_inner_error_); #line 3329 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 24639 "Photo.c" +#line 24640 "Photo.c" } #line 3334 "/home/jens/Source/shotwell/src/Photo.vala" result = FALSE; #line 3334 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 24645 "Photo.c" +#line 24646 "Photo.c" } @@ -24673,7 +24674,7 @@ GdkPixbuf* photo_get_prefetched_copy (Photo* self, GError** error) { g_propagate_error (error, _inner_error_); #line 3343 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 24675 "Photo.c" +#line 24676 "Photo.c" } #line 3343 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = _tmp0_; @@ -24693,7 +24694,7 @@ GdkPixbuf* photo_get_prefetched_copy (Photo* self, GError** error) { _g_object_unref0 (_tmp0_); #line 3343 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 24695 "Photo.c" +#line 24696 "Photo.c" } @@ -24704,7 +24705,7 @@ void photo_discard_prefetched (Photo* self) { GError * _inner_error_ = NULL; #line 3349 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail (IS_PHOTO (self)); -#line 24706 "Photo.c" +#line 24707 "Photo.c" { GdkPixbuf* _tmp0_ = NULL; GdkPixbuf* _tmp1_ = NULL; @@ -24716,12 +24717,12 @@ void photo_discard_prefetched (Photo* self) { _g_object_unref0 (_tmp1_); #line 3351 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 24718 "Photo.c" - goto __catch370_g_error; +#line 24719 "Photo.c" + goto __catch383_g_error; } } - goto __finally370; - __catch370_g_error: + goto __finally383; + __catch383_g_error: { GError* err = NULL; #line 3350 "/home/jens/Source/shotwell/src/Photo.vala" @@ -24730,9 +24731,9 @@ void photo_discard_prefetched (Photo* self) { _inner_error_ = NULL; #line 3350 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 24732 "Photo.c" +#line 24733 "Photo.c" } - __finally370: + __finally383: #line 3350 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3350 "/home/jens/Source/shotwell/src/Photo.vala" @@ -24741,7 +24742,7 @@ void photo_discard_prefetched (Photo* self) { g_clear_error (&_inner_error_); #line 3350 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 24743 "Photo.c" +#line 24744 "Photo.c" } } @@ -24803,21 +24804,21 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _tmp4_ = _tmp3_; #line 3380 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp4_) { -#line 24805 "Photo.c" +#line 24806 "Photo.c" PhotoFileFormat _tmp5_ = 0; #line 3381 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = photo_get_master_file_format (self); #line 3381 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = _tmp5_ == PHOTO_FILE_FORMAT_RAW; -#line 24811 "Photo.c" +#line 24812 "Photo.c" } else { #line 3380 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = FALSE; -#line 24815 "Photo.c" +#line 24816 "Photo.c" } #line 3380 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_) { -#line 24819 "Photo.c" +#line 24820 "Photo.c" gboolean _tmp6_ = FALSE; gboolean _tmp7_ = FALSE; BackingFetchMode _tmp8_ = 0; @@ -24827,39 +24828,39 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx if (_tmp8_ == BACKING_FETCH_MODE_BASELINE) { #line 3382 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = TRUE; -#line 24829 "Photo.c" +#line 24830 "Photo.c" } else { BackingFetchMode _tmp9_ = 0; #line 3382 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_ = fetch_mode; #line 3382 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = _tmp9_ == BACKING_FETCH_MODE_UNMODIFIED; -#line 24836 "Photo.c" +#line 24837 "Photo.c" } #line 3382 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp7_) { #line 3382 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = TRUE; -#line 24842 "Photo.c" +#line 24843 "Photo.c" } else { BackingFetchMode _tmp10_ = 0; #line 3383 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = fetch_mode; #line 3383 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = _tmp10_ == BACKING_FETCH_MODE_SOURCE; -#line 24849 "Photo.c" +#line 24850 "Photo.c" } #line 3382 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = _tmp6_; -#line 24853 "Photo.c" +#line 24854 "Photo.c" } else { #line 3380 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = FALSE; -#line 24857 "Photo.c" +#line 24858 "Photo.c" } #line 3380 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_) { -#line 24861 "Photo.c" +#line 24862 "Photo.c" RawDeveloper _tmp11_ = 0; gboolean _tmp12_ = FALSE; #line 3384 "/home/jens/Source/shotwell/src/Photo.vala" @@ -24868,21 +24869,21 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _tmp12_ = photo_is_raw_developer_complete (self, _tmp11_); #line 3384 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = !_tmp12_; -#line 24870 "Photo.c" +#line 24871 "Photo.c" } else { #line 3380 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = FALSE; -#line 24874 "Photo.c" +#line 24875 "Photo.c" } #line 3380 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp0_) { -#line 24878 "Photo.c" +#line 24879 "Photo.c" RawDeveloper _tmp13_ = 0; #line 3385 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = photo_get_raw_developer (self); #line 3385 "/home/jens/Source/shotwell/src/Photo.vala" photo_set_raw_developer (self, _tmp13_); -#line 24884 "Photo.c" +#line 24885 "Photo.c" } #line 3390 "/home/jens/Source/shotwell/src/Photo.vala" dimensions_init (&original, 0, 0); @@ -24896,14 +24897,14 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _redeye_instances_size_ = redeye_instances_length1; #line 3395 "/home/jens/Source/shotwell/src/Photo.vala" transformer = NULL; -#line 24898 "Photo.c" +#line 24899 "Photo.c" { PhotoRow* _tmp14_ = NULL; #line 3398 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = self->row; #line 3398 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 24905 "Photo.c" +#line 24906 "Photo.c" { Dimensions _tmp15_ = {0}; PhotoException _tmp16_ = 0; @@ -24971,7 +24972,7 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _tmp29_ = photo_has_color_adjustments (self); #line 3411 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp29_) { -#line 24973 "Photo.c" +#line 24974 "Photo.c" PixelTransformer* _tmp30_ = NULL; #line 3412 "/home/jens/Source/shotwell/src/Photo.vala" _tmp30_ = photo_get_pixel_transformer (self); @@ -24979,22 +24980,22 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _pixel_transformer_unref0 (transformer); #line 3412 "/home/jens/Source/shotwell/src/Photo.vala" transformer = _tmp30_; -#line 24981 "Photo.c" +#line 24982 "Photo.c" } #line 3414 "/home/jens/Source/shotwell/src/Photo.vala" _tmp31_ = photo_get_orientation (self); #line 3414 "/home/jens/Source/shotwell/src/Photo.vala" orientation = _tmp31_; -#line 24987 "Photo.c" +#line 24988 "Photo.c" } - __finally371: + __finally384: { PhotoRow* _tmp32_ = NULL; #line 3398 "/home/jens/Source/shotwell/src/Photo.vala" _tmp32_ = self->row; #line 3398 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 24996 "Photo.c" +#line 24997 "Photo.c" } #line 3398 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -25006,7 +25007,7 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx redeye_instances = (g_free (redeye_instances), NULL); #line 3398 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 25008 "Photo.c" +#line 25009 "Photo.c" } } #line 3421 "/home/jens/Source/shotwell/src/Photo.vala" @@ -25023,7 +25024,7 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx redeye_instances = (g_free (redeye_instances), NULL); #line 3421 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 25025 "Photo.c" +#line 25026 "Photo.c" } #line 3428 "/home/jens/Source/shotwell/src/Photo.vala" _tmp34_ = exceptions; @@ -25031,14 +25032,14 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _tmp35_ = photo_exception_allows (_tmp34_, PHOTO_EXCEPTION_REDEYE); #line 3428 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp35_) { -#line 25033 "Photo.c" +#line 25034 "Photo.c" EditingToolsRedeyeInstance* _tmp36_ = NULL; gint _tmp36__length1 = 0; #line 3433 "/home/jens/Source/shotwell/src/Photo.vala" _tmp36_ = redeye_instances; #line 3433 "/home/jens/Source/shotwell/src/Photo.vala" _tmp36__length1 = redeye_instances_length1; -#line 25040 "Photo.c" +#line 25041 "Photo.c" { EditingToolsRedeyeInstance* instance_collection = NULL; gint instance_collection_length1 = 0; @@ -25050,11 +25051,11 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx instance_collection_length1 = _tmp36__length1; #line 3433 "/home/jens/Source/shotwell/src/Photo.vala" for (instance_it = 0; instance_it < _tmp36__length1; instance_it = instance_it + 1) { -#line 25052 "Photo.c" +#line 25053 "Photo.c" EditingToolsRedeyeInstance instance = {0}; #line 3433 "/home/jens/Source/shotwell/src/Photo.vala" instance = instance_collection[instance_it]; -#line 25056 "Photo.c" +#line 25057 "Photo.c" { GdkPixbuf* _tmp37_ = NULL; EditingToolsRedeyeInstance _tmp38_ = {0}; @@ -25069,7 +25070,7 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _g_object_unref0 (pixbuf); #line 3434 "/home/jens/Source/shotwell/src/Photo.vala" pixbuf = _tmp39_; -#line 25071 "Photo.c" +#line 25072 "Photo.c" } } } @@ -25080,13 +25081,13 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _tmp41_ = photo_exception_allows (_tmp40_, PHOTO_EXCEPTION_STRAIGHTEN); #line 3442 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp41_) { -#line 25082 "Photo.c" +#line 25083 "Photo.c" gboolean _tmp42_ = FALSE; #line 3446 "/home/jens/Source/shotwell/src/Photo.vala" _tmp42_ = is_straightened; #line 3446 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp42_) { -#line 25088 "Photo.c" +#line 25089 "Photo.c" GdkPixbuf* _tmp43_ = NULL; gdouble _tmp44_ = 0.0; GdkPixbuf* _tmp45_ = NULL; @@ -25100,7 +25101,7 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _g_object_unref0 (pixbuf); #line 3447 "/home/jens/Source/shotwell/src/Photo.vala" pixbuf = _tmp45_; -#line 25102 "Photo.c" +#line 25103 "Photo.c" } } #line 3456 "/home/jens/Source/shotwell/src/Photo.vala" @@ -25109,13 +25110,13 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _tmp47_ = photo_exception_allows (_tmp46_, PHOTO_EXCEPTION_CROP); #line 3456 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp47_) { -#line 25111 "Photo.c" +#line 25112 "Photo.c" gboolean _tmp48_ = FALSE; #line 3460 "/home/jens/Source/shotwell/src/Photo.vala" _tmp48_ = is_cropped; #line 3460 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp48_) { -#line 25117 "Photo.c" +#line 25118 "Photo.c" Box _tmp49_ = {0}; gint _tmp50_ = 0; GdkPixbuf* _tmp51_ = NULL; @@ -25236,7 +25237,7 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _g_object_unref0 (pixbuf); #line 3471 "/home/jens/Source/shotwell/src/Photo.vala" pixbuf = _tmp84_; -#line 25238 "Photo.c" +#line 25239 "Photo.c" } } #line 3481 "/home/jens/Source/shotwell/src/Photo.vala" @@ -25245,7 +25246,7 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _tmp86_ = photo_exception_allows (_tmp85_, PHOTO_EXCEPTION_ORIENTATION); #line 3481 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp86_) { -#line 25247 "Photo.c" +#line 25248 "Photo.c" GdkPixbuf* _tmp87_ = NULL; GdkPixbuf* _tmp88_ = NULL; #line 3485 "/home/jens/Source/shotwell/src/Photo.vala" @@ -25256,13 +25257,13 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _g_object_unref0 (pixbuf); #line 3485 "/home/jens/Source/shotwell/src/Photo.vala" pixbuf = _tmp88_; -#line 25258 "Photo.c" +#line 25259 "Photo.c" } #line 3492 "/home/jens/Source/shotwell/src/Photo.vala" _tmp89_ = is_scaled; #line 3492 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp89_) { -#line 25264 "Photo.c" +#line 25265 "Photo.c" GdkPixbuf* _tmp90_ = NULL; Dimensions _tmp91_ = {0}; gint _tmp92_ = 0; @@ -25285,7 +25286,7 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _g_object_unref0 (pixbuf); #line 3496 "/home/jens/Source/shotwell/src/Photo.vala" pixbuf = _tmp95_; -#line 25287 "Photo.c" +#line 25288 "Photo.c" } #line 3504 "/home/jens/Source/shotwell/src/Photo.vala" _tmp96_ = exceptions; @@ -25293,13 +25294,13 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _tmp97_ = photo_exception_allows (_tmp96_, PHOTO_EXCEPTION_ADJUST); #line 3504 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp97_) { -#line 25295 "Photo.c" +#line 25296 "Photo.c" PixelTransformer* _tmp98_ = NULL; #line 3508 "/home/jens/Source/shotwell/src/Photo.vala" _tmp98_ = transformer; #line 3508 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp98_ != NULL) { -#line 25301 "Photo.c" +#line 25302 "Photo.c" PixelTransformer* _tmp99_ = NULL; GdkPixbuf* _tmp100_ = NULL; #line 3509 "/home/jens/Source/shotwell/src/Photo.vala" @@ -25308,28 +25309,28 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _tmp100_ = pixbuf; #line 3509 "/home/jens/Source/shotwell/src/Photo.vala" pixel_transformer_transform_pixbuf (_tmp99_, _tmp100_, NULL); -#line 25310 "Photo.c" +#line 25311 "Photo.c" } } #line 3518 "/home/jens/Source/shotwell/src/Photo.vala" _tmp102_ = is_scaled; #line 3518 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp102_) { -#line 25317 "Photo.c" +#line 25318 "Photo.c" gboolean _tmp103_ = FALSE; #line 3518 "/home/jens/Source/shotwell/src/Photo.vala" _tmp103_ = is_straightened; #line 3518 "/home/jens/Source/shotwell/src/Photo.vala" _tmp101_ = !_tmp103_; -#line 25323 "Photo.c" +#line 25324 "Photo.c" } else { #line 3518 "/home/jens/Source/shotwell/src/Photo.vala" _tmp101_ = FALSE; -#line 25327 "Photo.c" +#line 25328 "Photo.c" } #line 3518 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp101_) { -#line 25331 "Photo.c" +#line 25332 "Photo.c" GdkPixbuf* _tmp104_ = NULL; Dimensions _tmp105_ = {0}; gboolean _tmp106_ = FALSE; @@ -25341,7 +25342,7 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx _tmp106_ = dimensions_approx_equals (&scaled_to_viewport, &_tmp105_, PHOTO_SCALING_FUDGE); #line 3519 "/home/jens/Source/shotwell/src/Photo.vala" _vala_assert (_tmp106_, "scaled_to_viewport.approx_equals(Dimensions.for_pixbuf(pixbuf), SCALING_FUDGE)"); -#line 25343 "Photo.c" +#line 25344 "Photo.c" } #line 3527 "/home/jens/Source/shotwell/src/Photo.vala" result = pixbuf; @@ -25351,7 +25352,7 @@ GdkPixbuf* photo_get_pixbuf_with_options (Photo* self, Scaling* scaling, PhotoEx redeye_instances = (g_free (redeye_instances), NULL); #line 3527 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 25353 "Photo.c" +#line 25354 "Photo.c" } @@ -25360,7 +25361,7 @@ static gboolean photo_real_has_user_generated_metadata (Photo* self) { g_critical ("Type `%s' does not implement abstract method `photo_has_user_generated_metadata'", g_type_name (G_TYPE_FROM_INSTANCE (self))); #line 3535 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 25362 "Photo.c" +#line 25363 "Photo.c" } @@ -25369,7 +25370,7 @@ gboolean photo_has_user_generated_metadata (Photo* self) { g_return_val_if_fail (IS_PHOTO (self), FALSE); #line 3535 "/home/jens/Source/shotwell/src/Photo.vala" return PHOTO_GET_CLASS (self)->has_user_generated_metadata (self); -#line 25371 "Photo.c" +#line 25372 "Photo.c" } @@ -25378,7 +25379,7 @@ static void photo_real_set_user_metadata_for_export (Photo* self, PhotoMetadata* g_critical ("Type `%s' does not implement abstract method `photo_set_user_metadata_for_export'", g_type_name (G_TYPE_FROM_INSTANCE (self))); #line 3539 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 25380 "Photo.c" +#line 25381 "Photo.c" } @@ -25387,7 +25388,7 @@ void photo_set_user_metadata_for_export (Photo* self, PhotoMetadata* metadata) { g_return_if_fail (IS_PHOTO (self)); #line 3539 "/home/jens/Source/shotwell/src/Photo.vala" PHOTO_GET_CLASS (self)->set_user_metadata_for_export (self, metadata); -#line 25389 "Photo.c" +#line 25390 "Photo.c" } @@ -25400,7 +25401,7 @@ gchar* photo_get_export_basename (Photo* self, PhotoFileFormat* file_format) { _tmp0_ = file_format; #line 3547 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp0_ != NULL) { -#line 25402 "Photo.c" +#line 25403 "Photo.c" PhotoFileFormat* _tmp1_ = NULL; PhotoFileFormatProperties* _tmp2_ = NULL; PhotoFileFormatProperties* _tmp3_ = NULL; @@ -25438,7 +25439,7 @@ gchar* photo_get_export_basename (Photo* self, PhotoFileFormat* file_format) { result = _tmp9_; #line 3548 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 25440 "Photo.c" +#line 25441 "Photo.c" } else { PhotoFileFormat _tmp10_ = 0; gboolean _tmp11_ = FALSE; @@ -25448,7 +25449,7 @@ gchar* photo_get_export_basename (Photo* self, PhotoFileFormat* file_format) { _tmp11_ = photo_file_format_can_write (_tmp10_); #line 3550 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp11_) { -#line 25450 "Photo.c" +#line 25451 "Photo.c" PhotoFileFormat _tmp12_ = 0; PhotoFileFormatProperties* _tmp13_ = NULL; PhotoFileFormatProperties* _tmp14_ = NULL; @@ -25486,7 +25487,7 @@ gchar* photo_get_export_basename (Photo* self, PhotoFileFormat* file_format) { result = _tmp20_; #line 3551 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 25488 "Photo.c" +#line 25489 "Photo.c" } else { PhotoFileFormat _tmp21_ = 0; PhotoFileFormatProperties* _tmp22_ = NULL; @@ -25525,7 +25526,7 @@ gchar* photo_get_export_basename (Photo* self, PhotoFileFormat* file_format) { result = _tmp29_; #line 3554 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 25527 "Photo.c" +#line 25528 "Photo.c" } } } @@ -25587,14 +25588,14 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole export_reader = NULL; #line 3564 "/home/jens/Source/shotwell/src/Photo.vala" is_master = TRUE; -#line 25589 "Photo.c" +#line 25590 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 3565 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 3565 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 25596 "Photo.c" +#line 25597 "Photo.c" { gboolean _tmp1_ = FALSE; PhotoBackingReaders* _tmp2_ = NULL; @@ -25605,7 +25606,7 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _tmp3_ = _tmp2_->editable; #line 3566 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp3_ != NULL) { -#line 25607 "Photo.c" +#line 25608 "Photo.c" PhotoBackingReaders* _tmp4_ = NULL; PhotoFileReader* _tmp5_ = NULL; PhotoFileFormat _tmp6_ = 0; @@ -25620,15 +25621,15 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _tmp7_ = photo_file_format_can_write_metadata (_tmp6_); #line 3566 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = _tmp7_; -#line 25622 "Photo.c" +#line 25623 "Photo.c" } else { #line 3566 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = FALSE; -#line 25626 "Photo.c" +#line 25627 "Photo.c" } #line 3566 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_) { -#line 25630 "Photo.c" +#line 25631 "Photo.c" PhotoBackingReaders* _tmp8_ = NULL; PhotoFileReader* _tmp9_ = NULL; PhotoFileReader* _tmp10_ = NULL; @@ -25644,7 +25645,7 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole export_reader = _tmp10_; #line 3568 "/home/jens/Source/shotwell/src/Photo.vala" is_master = FALSE; -#line 25646 "Photo.c" +#line 25647 "Photo.c" } else { gboolean _tmp11_ = FALSE; PhotoBackingReaders* _tmp12_ = NULL; @@ -25655,7 +25656,7 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _tmp13_ = _tmp12_->developer; #line 3569 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp13_ != NULL) { -#line 25657 "Photo.c" +#line 25658 "Photo.c" PhotoBackingReaders* _tmp14_ = NULL; PhotoFileReader* _tmp15_ = NULL; PhotoFileFormat _tmp16_ = 0; @@ -25670,15 +25671,15 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _tmp17_ = photo_file_format_can_write_metadata (_tmp16_); #line 3569 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = _tmp17_; -#line 25672 "Photo.c" +#line 25673 "Photo.c" } else { #line 3569 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = FALSE; -#line 25676 "Photo.c" +#line 25677 "Photo.c" } #line 3569 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp11_) { -#line 25680 "Photo.c" +#line 25681 "Photo.c" PhotoBackingReaders* _tmp18_ = NULL; PhotoFileReader* _tmp19_ = NULL; PhotoFileReader* _tmp20_ = NULL; @@ -25694,7 +25695,7 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole export_reader = _tmp20_; #line 3571 "/home/jens/Source/shotwell/src/Photo.vala" is_master = FALSE; -#line 25696 "Photo.c" +#line 25697 "Photo.c" } else { PhotoBackingReaders* _tmp21_ = NULL; PhotoFileReader* _tmp22_ = NULL; @@ -25710,7 +25711,7 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _tmp24_ = photo_file_format_can_write_metadata (_tmp23_); #line 3572 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp24_) { -#line 25712 "Photo.c" +#line 25713 "Photo.c" PhotoBackingReaders* _tmp25_ = NULL; PhotoFileReader* _tmp26_ = NULL; PhotoFileReader* _tmp27_ = NULL; @@ -25724,19 +25725,19 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _photo_file_adapter_unref0 (export_reader); #line 3573 "/home/jens/Source/shotwell/src/Photo.vala" export_reader = _tmp27_; -#line 25726 "Photo.c" +#line 25727 "Photo.c" } } } } - __finally372: + __finally385: { PhotoBackingReaders* _tmp28_ = NULL; #line 3565 "/home/jens/Source/shotwell/src/Photo.vala" _tmp28_ = self->priv->readers; #line 3565 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 25738 "Photo.c" +#line 25739 "Photo.c" } #line 3565 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -25746,7 +25747,7 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _photo_file_adapter_unref0 (export_reader); #line 3565 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 25748 "Photo.c" +#line 25749 "Photo.c" } } #line 3577 "/home/jens/Source/shotwell/src/Photo.vala" @@ -25759,7 +25760,7 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _photo_file_adapter_unref0 (export_reader); #line 3578 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 25761 "Photo.c" +#line 25762 "Photo.c" } #line 3580 "/home/jens/Source/shotwell/src/Photo.vala" _tmp30_ = export_reader; @@ -25807,7 +25808,7 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _photo_file_adapter_unref0 (export_reader); #line 3586 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 25809 "Photo.c" +#line 25810 "Photo.c" } #line 3589 "/home/jens/Source/shotwell/src/Photo.vala" _tmp43_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject)); @@ -25851,41 +25852,41 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _photo_file_adapter_unref0 (export_reader); #line 3591 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 25853 "Photo.c" +#line 25854 "Photo.c" } #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" _tmp57_ = photo_has_alterations (self); #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp57_) { -#line 25859 "Photo.c" +#line 25860 "Photo.c" gboolean _tmp58_ = FALSE; #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" _tmp58_ = is_master; #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" _tmp56_ = _tmp58_; -#line 25865 "Photo.c" +#line 25866 "Photo.c" } else { #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" _tmp56_ = FALSE; -#line 25869 "Photo.c" +#line 25870 "Photo.c" } #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp56_) { -#line 25873 "Photo.c" +#line 25874 "Photo.c" gboolean _tmp59_ = FALSE; #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" _tmp59_ = photo_has_user_generated_metadata (self); #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" _tmp55_ = !_tmp59_; -#line 25879 "Photo.c" +#line 25880 "Photo.c" } else { #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" _tmp55_ = FALSE; -#line 25883 "Photo.c" +#line 25884 "Photo.c" } #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp55_) { -#line 25887 "Photo.c" +#line 25888 "Photo.c" gchar* _tmp60_ = NULL; gchar* _tmp61_ = NULL; #line 3597 "/home/jens/Source/shotwell/src/Photo.vala" @@ -25896,15 +25897,15 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _tmp54_ = _tmp61_ == NULL; #line 3597 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (_tmp61_); -#line 25898 "Photo.c" +#line 25899 "Photo.c" } else { #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" _tmp54_ = FALSE; -#line 25902 "Photo.c" +#line 25903 "Photo.c" } #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp54_) { -#line 25906 "Photo.c" +#line 25907 "Photo.c" gchar* _tmp62_ = NULL; gchar* _tmp63_ = NULL; #line 3597 "/home/jens/Source/shotwell/src/Photo.vala" @@ -25915,25 +25916,25 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _tmp53_ = _tmp63_ == NULL; #line 3597 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (_tmp63_); -#line 25917 "Photo.c" +#line 25918 "Photo.c" } else { #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" _tmp53_ = FALSE; -#line 25921 "Photo.c" +#line 25922 "Photo.c" } #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp53_) { -#line 25925 "Photo.c" +#line 25926 "Photo.c" gboolean _tmp64_ = FALSE; #line 3597 "/home/jens/Source/shotwell/src/Photo.vala" _tmp64_ = export_metadata; #line 3597 "/home/jens/Source/shotwell/src/Photo.vala" _tmp52_ = _tmp64_; -#line 25931 "Photo.c" +#line 25932 "Photo.c" } else { #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" _tmp52_ = FALSE; -#line 25935 "Photo.c" +#line 25936 "Photo.c" } #line 3596 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp52_) { @@ -25949,7 +25950,7 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _photo_file_adapter_unref0 (export_reader); #line 3598 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 25951 "Photo.c" +#line 25952 "Photo.c" } #line 3601 "/home/jens/Source/shotwell/src/Photo.vala" _tmp65_ = export_reader; @@ -25971,13 +25972,13 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _photo_file_adapter_unref0 (export_reader); #line 3601 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 25973 "Photo.c" +#line 25974 "Photo.c" } #line 3602 "/home/jens/Source/shotwell/src/Photo.vala" _tmp67_ = metadata; #line 3602 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp67_ == NULL) { -#line 25979 "Photo.c" +#line 25980 "Photo.c" PhotoFileReader* _tmp68_ = NULL; PhotoFileFormat _tmp69_ = 0; PhotoMetadata* _tmp70_ = NULL; @@ -25991,7 +25992,7 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _media_metadata_unref0 (metadata); #line 3603 "/home/jens/Source/shotwell/src/Photo.vala" metadata = _tmp70_; -#line 25993 "Photo.c" +#line 25994 "Photo.c" } #line 3605 "/home/jens/Source/shotwell/src/Photo.vala" _tmp71_ = writer; @@ -26007,7 +26008,7 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _tmp74_ = media_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource)); #line 3607 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp74_ != ((time_t) 0)) { -#line 26009 "Photo.c" +#line 26010 "Photo.c" PhotoMetadata* _tmp75_ = NULL; time_t _tmp76_ = 0; MetadataDateTime* _tmp77_ = NULL; @@ -26024,20 +26025,20 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole photo_metadata_set_exposure_date_time (_tmp75_, _tmp78_, PHOTO_METADATA_SET_OPTION_ALL_DOMAINS); #line 3608 "/home/jens/Source/shotwell/src/Photo.vala" _metadata_date_time_unref0 (_tmp78_); -#line 26026 "Photo.c" +#line 26027 "Photo.c" } else { PhotoMetadata* _tmp79_ = NULL; #line 3610 "/home/jens/Source/shotwell/src/Photo.vala" _tmp79_ = metadata; #line 3610 "/home/jens/Source/shotwell/src/Photo.vala" photo_metadata_set_exposure_date_time (_tmp79_, NULL, PHOTO_METADATA_SET_OPTION_ALL_DOMAINS); -#line 26033 "Photo.c" +#line 26034 "Photo.c" } #line 3612 "/home/jens/Source/shotwell/src/Photo.vala" _tmp80_ = export_metadata; #line 3612 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp80_) { -#line 26039 "Photo.c" +#line 26040 "Photo.c" PhotoMetadata* _tmp81_ = NULL; gchar* _tmp82_ = NULL; gchar* _tmp83_ = NULL; @@ -26069,7 +26070,7 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole #line 3615 "/home/jens/Source/shotwell/src/Photo.vala" _tmp86_ = _tmp85_; #line 3615 "/home/jens/Source/shotwell/src/Photo.vala" - photo_metadata_set_comment (_tmp84_, _tmp86_); + photo_metadata_set_comment (_tmp84_, _tmp86_, PHOTO_METADATA_SET_OPTION_ALL_DOMAINS); #line 3615 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (_tmp86_); #line 3616 "/home/jens/Source/shotwell/src/Photo.vala" @@ -26094,26 +26095,26 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _tmp93_ = photo_get_original_orientation (self); #line 3620 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp92_ != _tmp93_) { -#line 26096 "Photo.c" +#line 26097 "Photo.c" PhotoMetadata* _tmp94_ = NULL; #line 3621 "/home/jens/Source/shotwell/src/Photo.vala" _tmp94_ = metadata; #line 3621 "/home/jens/Source/shotwell/src/Photo.vala" photo_metadata_remove_exif_thumbnail (_tmp94_); -#line 26102 "Photo.c" +#line 26103 "Photo.c" } #line 3623 "/home/jens/Source/shotwell/src/Photo.vala" _tmp95_ = metadata; #line 3623 "/home/jens/Source/shotwell/src/Photo.vala" photo_set_user_metadata_for_export (self, _tmp95_); -#line 26108 "Photo.c" +#line 26109 "Photo.c" } else { PhotoMetadata* _tmp96_ = NULL; #line 3627 "/home/jens/Source/shotwell/src/Photo.vala" _tmp96_ = metadata; #line 3627 "/home/jens/Source/shotwell/src/Photo.vala" photo_metadata_clear (_tmp96_); -#line 26115 "Photo.c" +#line 26116 "Photo.c" } #line 3629 "/home/jens/Source/shotwell/src/Photo.vala" _tmp97_ = writer; @@ -26137,7 +26138,7 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _photo_file_adapter_unref0 (export_reader); #line 3629 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 26139 "Photo.c" +#line 26140 "Photo.c" } #line 3631 "/home/jens/Source/shotwell/src/Photo.vala" result = TRUE; @@ -26153,7 +26154,7 @@ static gboolean photo_export_fullsized_backing (Photo* self, GFile* file, gboole _photo_file_adapter_unref0 (export_reader); #line 3631 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 26155 "Photo.c" +#line 26156 "Photo.c" } @@ -26173,33 +26174,33 @@ gboolean photo_is_export_required (Photo* self, Scaling* scaling, PhotoFileForma if (!_tmp3_) { #line 3638 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = TRUE; -#line 26175 "Photo.c" +#line 26176 "Photo.c" } else { gboolean _tmp4_ = FALSE; #line 3638 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = photo_has_alterations (self); #line 3638 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = _tmp4_; -#line 26182 "Photo.c" +#line 26183 "Photo.c" } #line 3638 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_) { #line 3638 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = TRUE; -#line 26188 "Photo.c" +#line 26189 "Photo.c" } else { gboolean _tmp5_ = FALSE; #line 3638 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = photo_has_user_generated_metadata (self); #line 3638 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = _tmp5_; -#line 26195 "Photo.c" +#line 26196 "Photo.c" } #line 3638 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_) { #line 3638 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = TRUE; -#line 26201 "Photo.c" +#line 26202 "Photo.c" } else { PhotoFileFormat _tmp6_ = 0; PhotoFileFormat _tmp7_ = 0; @@ -26209,13 +26210,13 @@ gboolean photo_is_export_required (Photo* self, Scaling* scaling, PhotoFileForma _tmp7_ = photo_get_file_format (self); #line 3639 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = _tmp6_ != _tmp7_; -#line 26211 "Photo.c" +#line 26212 "Photo.c" } #line 3638 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp0_; #line 3638 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 26217 "Photo.c" +#line 26218 "Photo.c" } @@ -26277,7 +26278,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _tmp0_ = direct_copy_unmodified; #line 3647 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp0_) { -#line 26279 "Photo.c" +#line 26280 "Photo.c" GFile* _tmp1_ = NULL; GFile* _tmp2_ = NULL; GFile* _tmp3_ = NULL; @@ -26297,17 +26298,17 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality g_propagate_error (error, _inner_error_); #line 3648 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 26299 "Photo.c" +#line 26300 "Photo.c" } #line 3650 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 26303 "Photo.c" +#line 26304 "Photo.c" } #line 3657 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = scaling_is_unscaled (scaling); #line 3657 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp7_) { -#line 26309 "Photo.c" +#line 26310 "Photo.c" gboolean _tmp8_ = FALSE; gboolean _tmp9_ = FALSE; #line 3657 "/home/jens/Source/shotwell/src/Photo.vala" @@ -26316,26 +26317,26 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality if (!_tmp9_) { #line 3657 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = TRUE; -#line 26318 "Photo.c" +#line 26319 "Photo.c" } else { gboolean _tmp10_ = FALSE; #line 3657 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = photo_only_metadata_changed (self); #line 3657 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = _tmp10_; -#line 26325 "Photo.c" +#line 26326 "Photo.c" } #line 3657 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = _tmp8_; -#line 26329 "Photo.c" +#line 26330 "Photo.c" } else { #line 3657 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = FALSE; -#line 26333 "Photo.c" +#line 26334 "Photo.c" } #line 3657 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp6_) { -#line 26337 "Photo.c" +#line 26338 "Photo.c" PhotoFileFormat _tmp11_ = 0; PhotoFileFormat _tmp12_ = 0; #line 3658 "/home/jens/Source/shotwell/src/Photo.vala" @@ -26344,29 +26345,29 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _tmp12_ = photo_get_file_format (self); #line 3658 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = _tmp11_ == _tmp12_; -#line 26346 "Photo.c" +#line 26347 "Photo.c" } else { #line 3657 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = FALSE; -#line 26350 "Photo.c" +#line 26351 "Photo.c" } #line 3657 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp5_) { -#line 26354 "Photo.c" +#line 26355 "Photo.c" PhotoFileFormat _tmp13_ = 0; #line 3658 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = photo_get_file_format (self); #line 3658 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = _tmp13_ == PHOTO_FILE_FORMAT_JFIF; -#line 26360 "Photo.c" +#line 26361 "Photo.c" } else { #line 3657 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = FALSE; -#line 26364 "Photo.c" +#line 26365 "Photo.c" } #line 3657 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp4_) { -#line 26368 "Photo.c" +#line 26369 "Photo.c" gboolean _tmp14_ = FALSE; GFile* _tmp15_ = NULL; gboolean _tmp16_ = FALSE; @@ -26385,13 +26386,13 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality g_propagate_error (error, _inner_error_); #line 3659 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 26387 "Photo.c" +#line 26388 "Photo.c" } #line 3659 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp14_) { #line 3660 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 26393 "Photo.c" +#line 26394 "Photo.c" } } #line 3666 "/home/jens/Source/shotwell/src/Photo.vala" @@ -26402,7 +26403,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _tmp19_ = metadata; #line 3667 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp19_ == NULL) { -#line 26404 "Photo.c" +#line 26405 "Photo.c" PhotoFileFormat _tmp20_ = 0; PhotoMetadata* _tmp21_ = NULL; #line 3668 "/home/jens/Source/shotwell/src/Photo.vala" @@ -26413,7 +26414,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _media_metadata_unref0 (metadata); #line 3668 "/home/jens/Source/shotwell/src/Photo.vala" metadata = _tmp21_; -#line 26415 "Photo.c" +#line 26416 "Photo.c" } #line 3670 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = export_format; @@ -26421,13 +26422,13 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _tmp23_ = photo_file_format_can_write (_tmp22_); #line 3670 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp23_) { -#line 26423 "Photo.c" +#line 26424 "Photo.c" PhotoFileFormat _tmp24_ = 0; #line 3671 "/home/jens/Source/shotwell/src/Photo.vala" _tmp24_ = photo_file_format_get_system_default_format (); #line 3671 "/home/jens/Source/shotwell/src/Photo.vala" export_format = _tmp24_; -#line 26429 "Photo.c" +#line 26430 "Photo.c" } #line 3673 "/home/jens/Source/shotwell/src/Photo.vala" _tmp25_ = export_format; @@ -26453,7 +26454,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _media_metadata_unref0 (metadata); #line 3673 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 26455 "Photo.c" +#line 26456 "Photo.c" } #line 3675 "/home/jens/Source/shotwell/src/Photo.vala" _tmp31_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject)); @@ -26482,18 +26483,18 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality if (_tmp39_ == PHOTO_FILE_FORMAT_JFIF) { #line 3682 "/home/jens/Source/shotwell/src/Photo.vala" _tmp38_ = TRUE; -#line 26483 "Photo.c" +#line 26484 "Photo.c" } else { PhotoFileFormat _tmp40_ = 0; #line 3683 "/home/jens/Source/shotwell/src/Photo.vala" _tmp40_ = photo_get_file_format (self); #line 3683 "/home/jens/Source/shotwell/src/Photo.vala" _tmp38_ = _tmp40_ == PHOTO_FILE_FORMAT_RAW; -#line 26490 "Photo.c" +#line 26491 "Photo.c" } #line 3682 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp38_) { -#line 26494 "Photo.c" +#line 26495 "Photo.c" GdkPixbuf* _tmp41_ = NULL; Scaling _tmp42_ = {0}; GdkPixbuf* _tmp43_ = NULL; @@ -26516,7 +26517,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _media_metadata_unref0 (metadata); #line 3684 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 26517 "Photo.c" +#line 26518 "Photo.c" } #line 3684 "/home/jens/Source/shotwell/src/Photo.vala" _tmp44_ = _tmp41_; @@ -26528,7 +26529,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality pixbuf = _tmp44_; #line 3682 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp41_); -#line 26529 "Photo.c" +#line 26530 "Photo.c" } else { GdkPixbuf* _tmp45_ = NULL; Scaling _tmp46_ = {0}; @@ -26552,7 +26553,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _media_metadata_unref0 (metadata); #line 3688 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 26553 "Photo.c" +#line 26554 "Photo.c" } #line 3688 "/home/jens/Source/shotwell/src/Photo.vala" _tmp48_ = _tmp45_; @@ -26564,7 +26565,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality pixbuf = _tmp48_; #line 3682 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp45_); -#line 26565 "Photo.c" +#line 26566 "Photo.c" } #line 3692 "/home/jens/Source/shotwell/src/Photo.vala" _tmp49_ = writer; @@ -26586,7 +26587,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _media_metadata_unref0 (metadata); #line 3692 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 26587 "Photo.c" +#line 26588 "Photo.c" } #line 3694 "/home/jens/Source/shotwell/src/Photo.vala" _tmp52_ = writer; @@ -26602,7 +26603,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _tmp55_ = export_metadata; #line 3697 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp55_) { -#line 26603 "Photo.c" +#line 26604 "Photo.c" PhotoMetadata* _tmp56_ = NULL; gchar* _tmp57_ = NULL; gchar* _tmp58_ = NULL; @@ -26632,7 +26633,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality #line 3700 "/home/jens/Source/shotwell/src/Photo.vala" _tmp61_ = _tmp60_; #line 3700 "/home/jens/Source/shotwell/src/Photo.vala" - photo_metadata_set_comment (_tmp59_, _tmp61_); + photo_metadata_set_comment (_tmp59_, _tmp61_, PHOTO_METADATA_SET_OPTION_ALL_DOMAINS); #line 3700 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (_tmp61_); #line 3701 "/home/jens/Source/shotwell/src/Photo.vala" @@ -26643,7 +26644,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _tmp63_ = media_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource)); #line 3703 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp63_ != ((time_t) 0)) { -#line 26644 "Photo.c" +#line 26645 "Photo.c" PhotoMetadata* _tmp64_ = NULL; time_t _tmp65_ = 0; MetadataDateTime* _tmp66_ = NULL; @@ -26660,14 +26661,14 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality photo_metadata_set_exposure_date_time (_tmp64_, _tmp67_, PHOTO_METADATA_SET_OPTION_ALL_DOMAINS); #line 3704 "/home/jens/Source/shotwell/src/Photo.vala" _metadata_date_time_unref0 (_tmp67_); -#line 26661 "Photo.c" +#line 26662 "Photo.c" } else { PhotoMetadata* _tmp68_ = NULL; #line 3706 "/home/jens/Source/shotwell/src/Photo.vala" _tmp68_ = metadata; #line 3706 "/home/jens/Source/shotwell/src/Photo.vala" photo_metadata_set_exposure_date_time (_tmp68_, NULL, PHOTO_METADATA_SET_OPTION_ALL_DOMAINS); -#line 26668 "Photo.c" +#line 26669 "Photo.c" } #line 3708 "/home/jens/Source/shotwell/src/Photo.vala" _tmp69_ = metadata; @@ -26685,13 +26686,13 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _tmp72_ = photo_has_user_generated_metadata (self); #line 3712 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp72_) { -#line 26686 "Photo.c" +#line 26687 "Photo.c" PhotoMetadata* _tmp73_ = NULL; #line 3713 "/home/jens/Source/shotwell/src/Photo.vala" _tmp73_ = metadata; #line 3713 "/home/jens/Source/shotwell/src/Photo.vala" photo_set_user_metadata_for_export (self, _tmp73_); -#line 26692 "Photo.c" +#line 26693 "Photo.c" } } else { PhotoMetadata* _tmp74_ = NULL; @@ -26699,7 +26700,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _tmp74_ = metadata; #line 3717 "/home/jens/Source/shotwell/src/Photo.vala" photo_metadata_clear (_tmp74_); -#line 26700 "Photo.c" +#line 26701 "Photo.c" } #line 3724 "/home/jens/Source/shotwell/src/Photo.vala" _tmp76_ = photo_get_file_format (self); @@ -26707,18 +26708,18 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality if (_tmp76_ == PHOTO_FILE_FORMAT_JFIF) { #line 3724 "/home/jens/Source/shotwell/src/Photo.vala" _tmp75_ = TRUE; -#line 26708 "Photo.c" +#line 26709 "Photo.c" } else { PhotoFileFormat _tmp77_ = 0; #line 3725 "/home/jens/Source/shotwell/src/Photo.vala" _tmp77_ = photo_get_file_format (self); #line 3725 "/home/jens/Source/shotwell/src/Photo.vala" _tmp75_ = _tmp77_ == PHOTO_FILE_FORMAT_RAW; -#line 26715 "Photo.c" +#line 26716 "Photo.c" } #line 3724 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp75_) { -#line 26719 "Photo.c" +#line 26720 "Photo.c" PhotoMetadata* _tmp78_ = NULL; Dimensions _tmp79_ = {0}; PhotoMetadata* _tmp80_ = NULL; @@ -26735,7 +26736,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _tmp81_ = photo_get_orientation (self); #line 3727 "/home/jens/Source/shotwell/src/Photo.vala" photo_metadata_set_orientation (_tmp80_, _tmp81_); -#line 26736 "Photo.c" +#line 26737 "Photo.c" } else { PhotoMetadata* _tmp82_ = NULL; GdkPixbuf* _tmp83_ = NULL; @@ -26753,7 +26754,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _tmp85_ = metadata; #line 3731 "/home/jens/Source/shotwell/src/Photo.vala" photo_metadata_set_orientation (_tmp85_, ORIENTATION_TOP_LEFT); -#line 26754 "Photo.c" +#line 26755 "Photo.c" } #line 3734 "/home/jens/Source/shotwell/src/Photo.vala" _tmp87_ = export_format; @@ -26783,7 +26784,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _media_metadata_unref0 (metadata); #line 3734 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 26784 "Photo.c" +#line 26785 "Photo.c" } #line 3734 "/home/jens/Source/shotwell/src/Photo.vala" _tmp93_ = _tmp86_; @@ -26811,7 +26812,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _media_metadata_unref0 (metadata); #line 3734 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 26812 "Photo.c" +#line 26813 "Photo.c" } #line 3645 "/home/jens/Source/shotwell/src/Photo.vala" _photo_file_adapter_unref0 (_tmp86_); @@ -26821,7 +26822,7 @@ void photo_export (Photo* self, GFile* dest_file, Scaling* scaling, JpegQuality _photo_file_adapter_unref0 (writer); #line 3645 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (metadata); -#line 26822 "Photo.c" +#line 26823 "Photo.c" } @@ -26855,14 +26856,14 @@ static GFile* photo_generate_new_editable_file (Photo* self, PhotoFileFormat* fi GError * _inner_error_ = NULL; #line 3737 "/home/jens/Source/shotwell/src/Photo.vala" g_return_val_if_fail (IS_PHOTO (self), NULL); -#line 26856 "Photo.c" +#line 26857 "Photo.c" { PhotoRow* _tmp0_ = NULL; #line 3739 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->row; #line 3739 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 26863 "Photo.c" +#line 26864 "Photo.c" { PhotoFileFormat _tmp1_ = 0; GFile* _tmp2_ = NULL; @@ -26876,16 +26877,16 @@ static GFile* photo_generate_new_editable_file (Photo* self, PhotoFileFormat* fi _g_object_unref0 (backing); #line 3741 "/home/jens/Source/shotwell/src/Photo.vala" backing = _tmp2_; -#line 26877 "Photo.c" +#line 26878 "Photo.c" } - __finally373: + __finally386: { PhotoRow* _tmp3_ = NULL; #line 3739 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->row; #line 3739 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 26886 "Photo.c" +#line 26887 "Photo.c" } #line 3739 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -26895,7 +26896,7 @@ static GFile* photo_generate_new_editable_file (Photo* self, PhotoFileFormat* fi _g_object_unref0 (backing); #line 3739 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 26896 "Photo.c" +#line 26897 "Photo.c" } } #line 3744 "/home/jens/Source/shotwell/src/Photo.vala" @@ -26904,13 +26905,13 @@ static GFile* photo_generate_new_editable_file (Photo* self, PhotoFileFormat* fi _tmp5_ = photo_file_format_can_write (_tmp4_); #line 3744 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp5_) { -#line 26905 "Photo.c" +#line 26906 "Photo.c" PhotoFileFormat _tmp6_ = 0; #line 3745 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = photo_file_format_get_system_default_format (); #line 3745 "/home/jens/Source/shotwell/src/Photo.vala" _vala_file_format = _tmp6_; -#line 26911 "Photo.c" +#line 26912 "Photo.c" } #line 3748 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = g_file_get_basename (backing); @@ -26934,7 +26935,7 @@ static GFile* photo_generate_new_editable_file (Photo* self, PhotoFileFormat* fi if (_tmp12_ == NULL) { #line 3750 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = TRUE; -#line 26935 "Photo.c" +#line 26936 "Photo.c" } else { PhotoFileFormat _tmp13_ = 0; PhotoFileFormatProperties* _tmp14_ = NULL; @@ -26955,11 +26956,11 @@ static GFile* photo_generate_new_editable_file (Photo* self, PhotoFileFormat* fi _tmp11_ = !_tmp17_; #line 3750 "/home/jens/Source/shotwell/src/Photo.vala" _photo_file_format_properties_unref0 (_tmp15_); -#line 26956 "Photo.c" +#line 26957 "Photo.c" } #line 3750 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp11_) { -#line 26960 "Photo.c" +#line 26961 "Photo.c" PhotoFileFormat _tmp18_ = 0; PhotoFileFormatProperties* _tmp19_ = NULL; PhotoFileFormatProperties* _tmp20_ = NULL; @@ -26978,7 +26979,7 @@ static GFile* photo_generate_new_editable_file (Photo* self, PhotoFileFormat* fi ext = _tmp21_; #line 3751 "/home/jens/Source/shotwell/src/Photo.vala" _photo_file_format_properties_unref0 (_tmp20_); -#line 26979 "Photo.c" +#line 26980 "Photo.c" } #line 3753 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = name; @@ -27018,7 +27019,7 @@ static GFile* photo_generate_new_editable_file (Photo* self, PhotoFileFormat* fi _g_object_unref0 (backing); #line 3756 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 27019 "Photo.c" +#line 27020 "Photo.c" } #line 3756 "/home/jens/Source/shotwell/src/Photo.vala" _tmp32_ = _tmp26_; @@ -27040,18 +27041,18 @@ static GFile* photo_generate_new_editable_file (Photo* self, PhotoFileFormat* fi if (file_format) { #line 3756 "/home/jens/Source/shotwell/src/Photo.vala" *file_format = _vala_file_format; -#line 27041 "Photo.c" +#line 27042 "Photo.c" } #line 3756 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 27045 "Photo.c" +#line 27046 "Photo.c" } static void _g_object_unref0_ (gpointer var) { #line 3778 "/home/jens/Source/shotwell/src/Photo.vala" (var == NULL) ? NULL : (var = (g_object_unref (var), NULL)); -#line 27052 "Photo.c" +#line 27053 "Photo.c" } @@ -27060,7 +27061,7 @@ static void _g_list_free__g_object_unref0_ (GList* self) { g_list_foreach (self, (GFunc) _g_object_unref0_, NULL); #line 3778 "/home/jens/Source/shotwell/src/Photo.vala" g_list_free (self); -#line 27061 "Photo.c" +#line 27062 "Photo.c" } @@ -27104,7 +27105,7 @@ static gboolean photo_launch_editor (GFile* file, PhotoFileFormat file_format, G _tmp1_ = file_format; #line 3760 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_ == PHOTO_FILE_FORMAT_RAW) { -#line 27105 "Photo.c" +#line 27106 "Photo.c" ConfigFacade* _tmp2_ = NULL; ConfigFacade* _tmp3_ = NULL; gchar* _tmp4_ = NULL; @@ -27120,7 +27121,7 @@ static gboolean photo_launch_editor (GFile* file, PhotoFileFormat file_format, G _tmp0_ = _tmp4_; #line 3760 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp3_); -#line 27121 "Photo.c" +#line 27122 "Photo.c" } else { ConfigFacade* _tmp5_ = NULL; ConfigFacade* _tmp6_ = NULL; @@ -27137,7 +27138,7 @@ static gboolean photo_launch_editor (GFile* file, PhotoFileFormat file_format, G _tmp0_ = _tmp7_; #line 3761 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp6_); -#line 27138 "Photo.c" +#line 27139 "Photo.c" } #line 3760 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = g_strdup (_tmp0_); @@ -27157,7 +27158,7 @@ static gboolean photo_launch_editor (GFile* file, PhotoFileFormat file_format, G _g_free0 (_tmp0_); #line 3764 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 27158 "Photo.c" +#line 27159 "Photo.c" } { GAppInfo* _tmp11_ = NULL; @@ -27172,8 +27173,8 @@ static gboolean photo_launch_editor (GFile* file, PhotoFileFormat file_format, G _tmp11_ = _tmp13_; #line 3768 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 27173 "Photo.c" - goto __catch374_g_error; +#line 27174 "Photo.c" + goto __catch387_g_error; } #line 3768 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = _tmp11_; @@ -27185,10 +27186,10 @@ static gboolean photo_launch_editor (GFile* file, PhotoFileFormat file_format, G app = _tmp14_; #line 3767 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp11_); -#line 27186 "Photo.c" +#line 27187 "Photo.c" } - goto __finally374; - __catch374_g_error: + goto __finally387; + __catch387_g_error: { GError* er = NULL; #line 3767 "/home/jens/Source/shotwell/src/Photo.vala" @@ -27201,9 +27202,9 @@ static gboolean photo_launch_editor (GFile* file, PhotoFileFormat file_format, G app = NULL; #line 3767 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (er); -#line 27202 "Photo.c" +#line 27203 "Photo.c" } - __finally374: + __finally387: #line 3767 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3767 "/home/jens/Source/shotwell/src/Photo.vala" @@ -27216,7 +27217,7 @@ static gboolean photo_launch_editor (GFile* file, PhotoFileFormat file_format, G _g_free0 (_tmp0_); #line 3767 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 27217 "Photo.c" +#line 27218 "Photo.c" } #line 3774 "/home/jens/Source/shotwell/src/Photo.vala" files = NULL; @@ -27230,7 +27231,7 @@ static gboolean photo_launch_editor (GFile* file, PhotoFileFormat file_format, G _tmp17_ = app; #line 3777 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp17_ != NULL) { -#line 27231 "Photo.c" +#line 27232 "Photo.c" gboolean _tmp18_ = FALSE; GAppInfo* _tmp19_ = NULL; GList* _tmp20_ = NULL; @@ -27257,7 +27258,7 @@ static gboolean photo_launch_editor (GFile* file, PhotoFileFormat file_format, G _g_free0 (_tmp0_); #line 3778 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 27258 "Photo.c" +#line 27259 "Photo.c" } #line 3778 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp18_; @@ -27271,7 +27272,7 @@ static gboolean photo_launch_editor (GFile* file, PhotoFileFormat file_format, G _g_free0 (_tmp0_); #line 3778 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 27272 "Photo.c" +#line 27273 "Photo.c" } #line 3780 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = g_new0 (gchar*, 2 + 1); @@ -27335,7 +27336,7 @@ static gboolean photo_launch_editor (GFile* file, PhotoFileFormat file_format, G _g_free0 (_tmp0_); #line 3786 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 27336 "Photo.c" +#line 27337 "Photo.c" } #line 3786 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp31_; @@ -27351,7 +27352,7 @@ static gboolean photo_launch_editor (GFile* file, PhotoFileFormat file_format, G _g_free0 (_tmp0_); #line 3786 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 27352 "Photo.c" +#line 27353 "Photo.c" } @@ -27378,7 +27379,7 @@ void photo_open_with_raw_external_editor (Photo* self, GError** error) { g_propagate_error (error, _inner_error_); #line 3797 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 27379 "Photo.c" +#line 27380 "Photo.c" } } @@ -27403,14 +27404,14 @@ void photo_open_with_external_editor (Photo* self, GError** error) { current_editable_file = NULL; #line 3803 "/home/jens/Source/shotwell/src/Photo.vala" create_editable_file = NULL; -#line 27404 "Photo.c" +#line 27405 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 3805 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 3805 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 27411 "Photo.c" +#line 27412 "Photo.c" { PhotoBackingReaders* _tmp1_ = NULL; PhotoFileReader* _tmp2_ = NULL; @@ -27421,7 +27422,7 @@ void photo_open_with_external_editor (Photo* self, GError** error) { _tmp2_ = _tmp1_->editable; #line 3806 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != NULL) { -#line 27422 "Photo.c" +#line 27423 "Photo.c" PhotoBackingReaders* _tmp3_ = NULL; PhotoFileReader* _tmp4_ = NULL; GFile* _tmp5_ = NULL; @@ -27435,13 +27436,13 @@ void photo_open_with_external_editor (Photo* self, GError** error) { _g_object_unref0 (current_editable_file); #line 3807 "/home/jens/Source/shotwell/src/Photo.vala" current_editable_file = _tmp5_; -#line 27436 "Photo.c" +#line 27437 "Photo.c" } #line 3809 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = current_editable_file; #line 3809 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp6_ == NULL) { -#line 27442 "Photo.c" +#line 27443 "Photo.c" GFile* _tmp7_ = NULL; PhotoFileFormat _tmp8_ = 0; GFile* _tmp9_ = NULL; @@ -27454,8 +27455,8 @@ void photo_open_with_external_editor (Photo* self, GError** error) { _tmp7_ = _tmp9_; #line 3810 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 27455 "Photo.c" - goto __finally375; +#line 27456 "Photo.c" + goto __finally388; } #line 3810 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = _tmp7_; @@ -27467,7 +27468,7 @@ void photo_open_with_external_editor (Photo* self, GError** error) { create_editable_file = _tmp10_; #line 3809 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp7_); -#line 27468 "Photo.c" +#line 27469 "Photo.c" } else { PhotoBackingReaders* _tmp11_ = NULL; PhotoFileReader* _tmp12_ = NULL; @@ -27480,17 +27481,17 @@ void photo_open_with_external_editor (Photo* self, GError** error) { _tmp13_ = photo_file_adapter_get_file_format (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_PHOTO_FILE_ADAPTER, PhotoFileAdapter)); #line 3812 "/home/jens/Source/shotwell/src/Photo.vala" editable_file_format = _tmp13_; -#line 27481 "Photo.c" +#line 27482 "Photo.c" } } - __finally375: + __finally388: { PhotoBackingReaders* _tmp14_ = NULL; #line 3805 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = self->priv->readers; #line 3805 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 27491 "Photo.c" +#line 27492 "Photo.c" } #line 3805 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -27502,28 +27503,28 @@ void photo_open_with_external_editor (Photo* self, GError** error) { _g_object_unref0 (current_editable_file); #line 3805 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 27503 "Photo.c" +#line 27504 "Photo.c" } } #line 3817 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = create_editable_file; #line 3817 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp17_ == NULL) { -#line 27510 "Photo.c" +#line 27511 "Photo.c" GFile* _tmp18_ = NULL; #line 3817 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = current_editable_file; #line 3817 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = _tmp18_ != NULL; -#line 27516 "Photo.c" +#line 27517 "Photo.c" } else { #line 3817 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = FALSE; -#line 27520 "Photo.c" +#line 27521 "Photo.c" } #line 3817 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp16_) { -#line 27524 "Photo.c" +#line 27525 "Photo.c" gboolean _tmp19_ = FALSE; GFile* _tmp20_ = NULL; gboolean _tmp21_ = FALSE; @@ -27535,26 +27536,26 @@ void photo_open_with_external_editor (Photo* self, GError** error) { if (!_tmp21_) { #line 3818 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = TRUE; -#line 27536 "Photo.c" +#line 27537 "Photo.c" } else { gboolean _tmp22_ = FALSE; #line 3818 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = photo_has_transformations (self); #line 3818 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = _tmp22_; -#line 27543 "Photo.c" +#line 27544 "Photo.c" } #line 3818 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = _tmp19_; -#line 27547 "Photo.c" +#line 27548 "Photo.c" } else { #line 3817 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = FALSE; -#line 27551 "Photo.c" +#line 27552 "Photo.c" } #line 3817 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp15_) { -#line 27555 "Photo.c" +#line 27556 "Photo.c" GFile* _tmp23_ = NULL; GFile* _tmp24_ = NULL; #line 3819 "/home/jens/Source/shotwell/src/Photo.vala" @@ -27565,13 +27566,13 @@ void photo_open_with_external_editor (Photo* self, GError** error) { _g_object_unref0 (create_editable_file); #line 3819 "/home/jens/Source/shotwell/src/Photo.vala" create_editable_file = _tmp24_; -#line 27566 "Photo.c" +#line 27567 "Photo.c" } #line 3822 "/home/jens/Source/shotwell/src/Photo.vala" _tmp26_ = create_editable_file; #line 3822 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp26_ != NULL) { -#line 27572 "Photo.c" +#line 27573 "Photo.c" PhotoFileFormat _tmp27_ = 0; gboolean _tmp28_ = FALSE; #line 3822 "/home/jens/Source/shotwell/src/Photo.vala" @@ -27580,22 +27581,22 @@ void photo_open_with_external_editor (Photo* self, GError** error) { _tmp28_ = photo_file_format_can_write (_tmp27_); #line 3822 "/home/jens/Source/shotwell/src/Photo.vala" _tmp25_ = _tmp28_; -#line 27581 "Photo.c" +#line 27582 "Photo.c" } else { #line 3822 "/home/jens/Source/shotwell/src/Photo.vala" _tmp25_ = FALSE; -#line 27585 "Photo.c" +#line 27586 "Photo.c" } #line 3822 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp25_) { -#line 27589 "Photo.c" +#line 27590 "Photo.c" PhotoFileFormat _tmp40_ = 0; GFile* _tmp41_ = NULL; GFile* _tmp42_ = NULL; GFile* _tmp43_ = NULL; #line 3823 "/home/jens/Source/shotwell/src/Photo.vala" photo_halt_monitoring_editable (self); -#line 27596 "Photo.c" +#line 27597 "Photo.c" { GFile* _tmp29_ = NULL; Scaling _tmp30_ = {0}; @@ -27610,12 +27611,12 @@ void photo_open_with_external_editor (Photo* self, GError** error) { photo_export (self, _tmp29_, &_tmp30_, JPEG_QUALITY_MAXIMUM, _tmp31_, FALSE, TRUE, &_inner_error_); #line 3826 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 27611 "Photo.c" - goto __catch376_g_error; +#line 27612 "Photo.c" + goto __catch389_g_error; } } - goto __finally376; - __catch376_g_error: + goto __finally389; + __catch389_g_error: { GError* err = NULL; GError* _tmp38_ = NULL; @@ -27624,7 +27625,7 @@ void photo_open_with_external_editor (Photo* self, GError** error) { err = _inner_error_; #line 3825 "/home/jens/Source/shotwell/src/Photo.vala" _inner_error_ = NULL; -#line 27625 "Photo.c" +#line 27626 "Photo.c" { GFile* _tmp32_ = NULL; #line 3831 "/home/jens/Source/shotwell/src/Photo.vala" @@ -27633,12 +27634,12 @@ void photo_open_with_external_editor (Photo* self, GError** error) { g_file_delete (_tmp32_, NULL, &_inner_error_); #line 3831 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 27634 "Photo.c" - goto __catch377_g_error; +#line 27635 "Photo.c" + goto __catch390_g_error; } } - goto __finally377; - __catch377_g_error: + goto __finally390; + __catch390_g_error: { GError* delete_err = NULL; GFile* _tmp33_ = NULL; @@ -27667,9 +27668,9 @@ void photo_open_with_external_editor (Photo* self, GError** error) { _g_free0 (_tmp35_); #line 3830 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (delete_err); -#line 27667 "Photo.c" +#line 27668 "Photo.c" } - __finally377: + __finally390: #line 3830 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3830 "/home/jens/Source/shotwell/src/Photo.vala" @@ -27686,7 +27687,7 @@ void photo_open_with_external_editor (Photo* self, GError** error) { g_clear_error (&_inner_error_); #line 3830 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 27686 "Photo.c" +#line 27687 "Photo.c" } #line 3838 "/home/jens/Source/shotwell/src/Photo.vala" _tmp38_ = err; @@ -27696,10 +27697,10 @@ void photo_open_with_external_editor (Photo* self, GError** error) { _inner_error_ = _tmp39_; #line 3838 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 27696 "Photo.c" - goto __finally376; +#line 27697 "Photo.c" + goto __finally389; } - __finally376: + __finally389: #line 3825 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3825 "/home/jens/Source/shotwell/src/Photo.vala" @@ -27710,7 +27711,7 @@ void photo_open_with_external_editor (Photo* self, GError** error) { _g_object_unref0 (current_editable_file); #line 3825 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 27710 "Photo.c" +#line 27711 "Photo.c" } #line 3842 "/home/jens/Source/shotwell/src/Photo.vala" _tmp40_ = editable_file_format; @@ -27728,7 +27729,7 @@ void photo_open_with_external_editor (Photo* self, GError** error) { _g_object_unref0 (current_editable_file); #line 3842 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 27728 "Photo.c" +#line 27729 "Photo.c" } #line 3844 "/home/jens/Source/shotwell/src/Photo.vala" _tmp42_ = create_editable_file; @@ -27738,7 +27739,7 @@ void photo_open_with_external_editor (Photo* self, GError** error) { _g_object_unref0 (current_editable_file); #line 3844 "/home/jens/Source/shotwell/src/Photo.vala" current_editable_file = _tmp43_; -#line 27738 "Photo.c" +#line 27739 "Photo.c" } #line 3847 "/home/jens/Source/shotwell/src/Photo.vala" _tmp44_ = current_editable_file; @@ -27748,7 +27749,7 @@ void photo_open_with_external_editor (Photo* self, GError** error) { _tmp45_ = self->priv->editable_monitor; #line 3850 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp45_ == NULL) { -#line 27748 "Photo.c" +#line 27749 "Photo.c" GFile* _tmp46_ = NULL; #line 3851 "/home/jens/Source/shotwell/src/Photo.vala" _tmp46_ = current_editable_file; @@ -27764,7 +27765,7 @@ void photo_open_with_external_editor (Photo* self, GError** error) { _g_object_unref0 (current_editable_file); #line 3851 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 27764 "Photo.c" +#line 27765 "Photo.c" } } #line 3853 "/home/jens/Source/shotwell/src/Photo.vala" @@ -27783,13 +27784,13 @@ void photo_open_with_external_editor (Photo* self, GError** error) { _g_object_unref0 (current_editable_file); #line 3853 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 27783 "Photo.c" +#line 27784 "Photo.c" } #line 3801 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (create_editable_file); #line 3801 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (current_editable_file); -#line 27789 "Photo.c" +#line 27790 "Photo.c" } @@ -27801,14 +27802,14 @@ void photo_revert_to_master (Photo* self, gboolean notify) { _tmp0_ = notify; #line 3857 "/home/jens/Source/shotwell/src/Photo.vala" photo_detach_editable (self, TRUE, TRUE, _tmp0_); -#line 27801 "Photo.c" +#line 27802 "Photo.c" } static void _photo_on_editable_file_changed_g_file_monitor_changed (GFileMonitor* _sender, GFile* file, GFile* other_file, GFileMonitorEvent event_type, gpointer self) { #line 3867 "/home/jens/Source/shotwell/src/Photo.vala" photo_on_editable_file_changed ((Photo*) self, file, other_file, event_type); -#line 27808 "Photo.c" +#line 27809 "Photo.c" } @@ -27842,7 +27843,7 @@ static void photo_start_monitoring_editable (Photo* self, GFile* file, GError** g_propagate_error (error, _inner_error_); #line 3866 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 27842 "Photo.c" +#line 27843 "Photo.c" } #line 3866 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = _tmp1_; @@ -27858,7 +27859,7 @@ static void photo_start_monitoring_editable (Photo* self, GFile* file, GError** g_signal_connect_object (_tmp5_, "changed", (GCallback) _photo_on_editable_file_changed_g_file_monitor_changed, self, 0); #line 3860 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp1_); -#line 27858 "Photo.c" +#line 27859 "Photo.c" } @@ -27878,7 +27879,7 @@ static void photo_halt_monitoring_editable (Photo* self) { if (_tmp0_ == NULL) { #line 3872 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 27878 "Photo.c" +#line 27879 "Photo.c" } #line 3875 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = photo_get_editable_file (self); @@ -27888,13 +27889,13 @@ static void photo_halt_monitoring_editable (Photo* self) { _tmp2_ = file; #line 3876 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != NULL) { -#line 27888 "Photo.c" +#line 27889 "Photo.c" GFile* _tmp3_ = NULL; #line 3877 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = file; #line 3877 "/home/jens/Source/shotwell/src/Photo.vala" library_monitor_unblacklist_file (_tmp3_); -#line 27894 "Photo.c" +#line 27895 "Photo.c" } #line 3879 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->priv->editable_monitor; @@ -27912,7 +27913,7 @@ static void photo_halt_monitoring_editable (Photo* self) { self->priv->editable_monitor = NULL; #line 3870 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (file); -#line 27912 "Photo.c" +#line 27913 "Photo.c" } @@ -27954,7 +27955,7 @@ static void photo_attach_editable (Photo* self, PhotoFileFormat file_format, GFi g_propagate_error (error, _inner_error_); #line 3890 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 27954 "Photo.c" +#line 27955 "Photo.c" } } @@ -27971,7 +27972,7 @@ static void photo_update_editable_attributes (Photo* self, GError** error) { g_propagate_error (error, _inner_error_); #line 3894 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 27971 "Photo.c" +#line 27972 "Photo.c" } } @@ -27988,7 +27989,7 @@ void photo_reimport_editable (Photo* self, GError** error) { g_propagate_error (error, _inner_error_); #line 3898 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 27988 "Photo.c" +#line 27989 "Photo.c" } } @@ -28000,13 +28001,13 @@ static void _vala_array_add269 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 4005 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 28000 "Photo.c" +#line 28001 "Photo.c" } #line 4005 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 4005 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 28006 "Photo.c" +#line 28007 "Photo.c" } @@ -28017,13 +28018,13 @@ static void _vala_array_add270 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 4006 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 28017 "Photo.c" +#line 28018 "Photo.c" } #line 4006 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 4006 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 28023 "Photo.c" +#line 28024 "Photo.c" } @@ -28034,13 +28035,13 @@ static void _vala_array_add271 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 4009 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 28034 "Photo.c" +#line 28035 "Photo.c" } #line 4009 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 4009 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 28040 "Photo.c" +#line 28041 "Photo.c" } @@ -28051,13 +28052,13 @@ static void _vala_array_add272 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 4013 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 28051 "Photo.c" +#line 28052 "Photo.c" } #line 4013 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 4013 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 28057 "Photo.c" +#line 28058 "Photo.c" } @@ -28068,13 +28069,13 @@ static void _vala_array_add273 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 4014 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 28068 "Photo.c" +#line 28069 "Photo.c" } #line 4014 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 4014 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 28074 "Photo.c" +#line 28075 "Photo.c" } @@ -28085,13 +28086,13 @@ static void _vala_array_add274 (gchar*** array, int* length, int* size, gchar* v *size = (*size) ? (2 * (*size)) : 4; #line 4017 "/home/jens/Source/shotwell/src/Photo.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 28085 "Photo.c" +#line 28086 "Photo.c" } #line 4017 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[(*length)++] = value; #line 4017 "/home/jens/Source/shotwell/src/Photo.vala" (*array)[*length] = NULL; -#line 28091 "Photo.c" +#line 28092 "Photo.c" } @@ -28142,30 +28143,30 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp2_ = only_attributes; #line 3905 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_) { -#line 28142 "Photo.c" +#line 28143 "Photo.c" PhotoFileReader* _tmp3_ = NULL; #line 3905 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = new_reader; #line 3905 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = _tmp3_ == NULL; -#line 28148 "Photo.c" +#line 28149 "Photo.c" } else { #line 3905 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = FALSE; -#line 28152 "Photo.c" +#line 28153 "Photo.c" } #line 3905 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_) { #line 3905 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = TRUE; -#line 28158 "Photo.c" +#line 28159 "Photo.c" } else { gboolean _tmp4_ = FALSE; #line 3905 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = only_attributes; #line 3905 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = !_tmp4_; -#line 28165 "Photo.c" +#line 28166 "Photo.c" } #line 3905 "/home/jens/Source/shotwell/src/Photo.vala" _vala_assert (_tmp0_, "(only_attributes && new_reader == null) || (!only_attributes)"); @@ -28179,13 +28180,13 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp6_ = _tmp7_; #line 3909 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp6_ == NULL) { -#line 28179 "Photo.c" +#line 28180 "Photo.c" PhotoFileReader* _tmp8_ = NULL; #line 3909 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = old_reader; #line 3909 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = _tmp8_; -#line 28185 "Photo.c" +#line 28186 "Photo.c" } #line 3909 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_ = _photo_file_adapter_ref0 (_tmp6_); @@ -28203,7 +28204,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _photo_file_adapter_unref0 (old_reader); #line 3913 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 28203 "Photo.c" +#line 28204 "Photo.c" } #line 3916 "/home/jens/Source/shotwell/src/Photo.vala" timestamp_changed = FALSE; @@ -28245,19 +28246,19 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _photo_file_adapter_unref0 (old_reader); #line 3924 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 28245 "Photo.c" +#line 28246 "Photo.c" } #line 3928 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = backing_photo_id_is_invalid (&editable_id); #line 3928 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp17_) { -#line 28251 "Photo.c" +#line 28252 "Photo.c" BackingPhotoRow* _tmp18_ = NULL; #line 3930 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = backing; #line 3930 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp18_ != NULL) { -#line 28257 "Photo.c" +#line 28258 "Photo.c" BackingPhotoTable* _tmp19_ = NULL; BackingPhotoTable* _tmp20_ = NULL; BackingPhotoRow* _tmp21_ = NULL; @@ -28287,7 +28288,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _photo_file_adapter_unref0 (old_reader); #line 3931 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 28287 "Photo.c" +#line 28288 "Photo.c" } { PhotoRow* _tmp22_ = NULL; @@ -28295,7 +28296,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp22_ = self->row; #line 3932 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 28295 "Photo.c" +#line 28296 "Photo.c" { PhotoTable* _tmp23_ = NULL; PhotoTable* _tmp24_ = NULL; @@ -28328,8 +28329,8 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _database_table_unref0 (_tmp24_); #line 3936 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 28328 "Photo.c" - goto __finally378; +#line 28329 "Photo.c" + goto __finally391; } #line 3937 "/home/jens/Source/shotwell/src/Photo.vala" _tmp28_ = backing; @@ -28353,16 +28354,16 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp33_ = _tmp32_->original_orientation; #line 3939 "/home/jens/Source/shotwell/src/Photo.vala" photo_set_orientation (self, _tmp33_); -#line 28353 "Photo.c" +#line 28354 "Photo.c" } - __finally378: + __finally391: { PhotoRow* _tmp34_ = NULL; #line 3932 "/home/jens/Source/shotwell/src/Photo.vala" _tmp34_ = self->row; #line 3932 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 28362 "Photo.c" +#line 28363 "Photo.c" } #line 3932 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -28380,19 +28381,19 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _photo_file_adapter_unref0 (old_reader); #line 3932 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 28380 "Photo.c" +#line 28381 "Photo.c" } } } #line 3942 "/home/jens/Source/shotwell/src/Photo.vala" is_new_editable = TRUE; -#line 28386 "Photo.c" +#line 28387 "Photo.c" } #line 3945 "/home/jens/Source/shotwell/src/Photo.vala" _tmp35_ = only_attributes; #line 3945 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp35_) { -#line 28392 "Photo.c" +#line 28393 "Photo.c" gboolean _tmp36_ = FALSE; GFileInfo* info = NULL; GTimeVal timestamp = {0}; @@ -28409,7 +28410,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp36_ = backing_photo_id_is_valid (&editable_id); #line 3947 "/home/jens/Source/shotwell/src/Photo.vala" _vala_assert (_tmp36_, "editable_id.is_valid()"); -#line 28409 "Photo.c" +#line 28410 "Photo.c" { GFileInfo* _tmp37_ = NULL; GFile* _tmp38_ = NULL; @@ -28423,8 +28424,8 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp37_ = _tmp39_; #line 3951 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 28423 "Photo.c" - goto __catch379_g_error; +#line 28424 "Photo.c" + goto __catch392_g_error; } #line 3951 "/home/jens/Source/shotwell/src/Photo.vala" _tmp40_ = _tmp37_; @@ -28436,10 +28437,10 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF info = _tmp40_; #line 3950 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp37_); -#line 28436 "Photo.c" +#line 28437 "Photo.c" } - goto __finally379; - __catch379_g_error: + goto __finally392; + __catch392_g_error: { GError* err = NULL; gchar* _tmp41_ = NULL; @@ -28480,9 +28481,9 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _photo_file_adapter_unref0 (old_reader); #line 3956 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 28480 "Photo.c" +#line 28481 "Photo.c" } - __finally379: + __finally392: #line 3950 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3950 "/home/jens/Source/shotwell/src/Photo.vala" @@ -28501,7 +28502,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _photo_file_adapter_unref0 (old_reader); #line 3950 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 28501 "Photo.c" +#line 28502 "Photo.c" } #line 3959 "/home/jens/Source/shotwell/src/Photo.vala" _tmp45_ = info; @@ -28545,7 +28546,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _photo_file_adapter_unref0 (old_reader); #line 3961 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 28545 "Photo.c" +#line 28546 "Photo.c" } { PhotoRow* _tmp54_ = NULL; @@ -28553,7 +28554,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp54_ = self->row; #line 3963 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 28553 "Photo.c" +#line 28554 "Photo.c" { BackingPhotoRow* _tmp55_ = NULL; time_t _tmp56_ = 0; @@ -28605,16 +28606,16 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp68_ = g_file_info_get_size (_tmp67_); #line 3968 "/home/jens/Source/shotwell/src/Photo.vala" _tmp66_->filesize = _tmp68_; -#line 28605 "Photo.c" +#line 28606 "Photo.c" } - __finally380: + __finally393: { PhotoRow* _tmp69_ = NULL; #line 3963 "/home/jens/Source/shotwell/src/Photo.vala" _tmp69_ = self->row; #line 3963 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 28614 "Photo.c" +#line 28615 "Photo.c" } #line 3963 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -28634,12 +28635,12 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _photo_file_adapter_unref0 (old_reader); #line 3963 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 28634 "Photo.c" +#line 28635 "Photo.c" } } #line 3945 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (info); -#line 28639 "Photo.c" +#line 28640 "Photo.c" } else { gboolean _tmp70_ = FALSE; gboolean _tmp71_ = FALSE; @@ -28647,21 +28648,21 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp71_ = backing_photo_id_is_valid (&editable_id); #line 3972 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp71_) { -#line 28647 "Photo.c" +#line 28648 "Photo.c" gboolean _tmp72_ = FALSE; #line 3972 "/home/jens/Source/shotwell/src/Photo.vala" _tmp72_ = is_new_editable; #line 3972 "/home/jens/Source/shotwell/src/Photo.vala" _tmp70_ = !_tmp72_; -#line 28653 "Photo.c" +#line 28654 "Photo.c" } else { #line 3972 "/home/jens/Source/shotwell/src/Photo.vala" _tmp70_ = FALSE; -#line 28657 "Photo.c" +#line 28658 "Photo.c" } #line 3972 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp70_) { -#line 28661 "Photo.c" +#line 28662 "Photo.c" BackingPhotoRow* _tmp73_ = NULL; BackingPhotoID _tmp74_ = {0}; BackingPhotoTable* _tmp75_ = NULL; @@ -28699,7 +28700,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _photo_file_adapter_unref0 (old_reader); #line 3978 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 28699 "Photo.c" +#line 28700 "Photo.c" } { PhotoRow* _tmp78_ = NULL; @@ -28707,7 +28708,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp78_ = self->row; #line 3979 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 28707 "Photo.c" +#line 28708 "Photo.c" { BackingPhotoRow* _tmp79_ = NULL; time_t _tmp80_ = 0; @@ -28765,16 +28766,16 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp92_ = _tmp91_->original_orientation; #line 3985 "/home/jens/Source/shotwell/src/Photo.vala" photo_set_orientation (self, _tmp92_); -#line 28765 "Photo.c" +#line 28766 "Photo.c" } - __finally381: + __finally394: { PhotoRow* _tmp93_ = NULL; #line 3979 "/home/jens/Source/shotwell/src/Photo.vala" _tmp93_ = self->row; #line 3979 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 28774 "Photo.c" +#line 28775 "Photo.c" } #line 3979 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -28792,7 +28793,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _photo_file_adapter_unref0 (old_reader); #line 3979 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 28792 "Photo.c" +#line 28793 "Photo.c" } } } @@ -28801,14 +28802,14 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp94_ = new_reader; #line 3991 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp94_ != NULL) { -#line 28801 "Photo.c" +#line 28802 "Photo.c" { PhotoBackingReaders* _tmp95_ = NULL; #line 3992 "/home/jens/Source/shotwell/src/Photo.vala" _tmp95_ = self->priv->readers; #line 3992 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 28808 "Photo.c" +#line 28809 "Photo.c" { PhotoBackingReaders* _tmp96_ = NULL; PhotoFileReader* _tmp97_ = NULL; @@ -28823,16 +28824,16 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _photo_file_adapter_unref0 (_tmp96_->editable); #line 3993 "/home/jens/Source/shotwell/src/Photo.vala" _tmp96_->editable = _tmp98_; -#line 28823 "Photo.c" +#line 28824 "Photo.c" } - __finally382: + __finally395: { PhotoBackingReaders* _tmp99_ = NULL; #line 3992 "/home/jens/Source/shotwell/src/Photo.vala" _tmp99_ = self->priv->readers; #line 3992 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 28832 "Photo.c" +#line 28833 "Photo.c" } #line 3992 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -28850,7 +28851,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _photo_file_adapter_unref0 (old_reader); #line 3992 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 28850 "Photo.c" +#line 28851 "Photo.c" } } } @@ -28858,7 +28859,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp101_ = only_attributes; #line 3997 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp101_) { -#line 28858 "Photo.c" +#line 28859 "Photo.c" PhotoFileReader* _tmp102_ = NULL; PhotoFileReader* _tmp103_ = NULL; #line 3997 "/home/jens/Source/shotwell/src/Photo.vala" @@ -28867,15 +28868,15 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp103_ = old_reader; #line 3997 "/home/jens/Source/shotwell/src/Photo.vala" _tmp100_ = _tmp102_ != _tmp103_; -#line 28867 "Photo.c" +#line 28868 "Photo.c" } else { #line 3997 "/home/jens/Source/shotwell/src/Photo.vala" _tmp100_ = FALSE; -#line 28871 "Photo.c" +#line 28872 "Photo.c" } #line 3997 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp100_) { -#line 28875 "Photo.c" +#line 28876 "Photo.c" GFile* _tmp104_ = NULL; PhotoFileReader* _tmp105_ = NULL; GFile* _tmp108_ = NULL; @@ -28886,7 +28887,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp105_ = old_reader; #line 3999 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp105_ != NULL) { -#line 28886 "Photo.c" +#line 28887 "Photo.c" PhotoFileReader* _tmp106_ = NULL; GFile* _tmp107_ = NULL; #line 3999 "/home/jens/Source/shotwell/src/Photo.vala" @@ -28897,19 +28898,19 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _g_object_unref0 (_tmp104_); #line 3999 "/home/jens/Source/shotwell/src/Photo.vala" _tmp104_ = _tmp107_; -#line 28897 "Photo.c" +#line 28898 "Photo.c" } else { #line 3999 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp104_); #line 3999 "/home/jens/Source/shotwell/src/Photo.vala" _tmp104_ = NULL; -#line 28903 "Photo.c" +#line 28904 "Photo.c" } #line 4000 "/home/jens/Source/shotwell/src/Photo.vala" _tmp109_ = new_reader; #line 4000 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp109_ != NULL) { -#line 28909 "Photo.c" +#line 28910 "Photo.c" PhotoFileReader* _tmp110_ = NULL; GFile* _tmp111_ = NULL; #line 4000 "/home/jens/Source/shotwell/src/Photo.vala" @@ -28920,13 +28921,13 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _g_object_unref0 (_tmp108_); #line 4000 "/home/jens/Source/shotwell/src/Photo.vala" _tmp108_ = _tmp111_; -#line 28920 "Photo.c" +#line 28921 "Photo.c" } else { #line 4000 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp108_); #line 4000 "/home/jens/Source/shotwell/src/Photo.vala" _tmp108_ = NULL; -#line 28926 "Photo.c" +#line 28927 "Photo.c" } #line 3999 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_editable_replaced (self, _tmp104_, _tmp108_); @@ -28934,7 +28935,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _g_object_unref0 (_tmp108_); #line 3997 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp104_); -#line 28934 "Photo.c" +#line 28935 "Photo.c" } #line 4003 "/home/jens/Source/shotwell/src/Photo.vala" _tmp112_ = g_new0 (gchar*, 0 + 1); @@ -28948,7 +28949,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp113_ = timestamp_changed; #line 4004 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp113_) { -#line 28948 "Photo.c" +#line 28949 "Photo.c" gchar** _tmp114_ = NULL; gint _tmp114__length1 = 0; gchar* _tmp115_ = NULL; @@ -28976,7 +28977,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp118_ = photo_is_editable_source (self); #line 4008 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp118_) { -#line 28976 "Photo.c" +#line 28977 "Photo.c" gchar** _tmp119_ = NULL; gint _tmp119__length1 = 0; gchar* _tmp120_ = NULL; @@ -28988,7 +28989,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp120_ = g_strdup ("metadata:source-timestamp"); #line 4009 "/home/jens/Source/shotwell/src/Photo.vala" _vala_array_add271 (&alteration_list, &alteration_list_length1, &_alteration_list_size_, _tmp120_); -#line 28988 "Photo.c" +#line 28989 "Photo.c" } } #line 4012 "/home/jens/Source/shotwell/src/Photo.vala" @@ -28997,18 +28998,18 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF if (_tmp122_) { #line 4012 "/home/jens/Source/shotwell/src/Photo.vala" _tmp121_ = TRUE; -#line 28997 "Photo.c" +#line 28998 "Photo.c" } else { PhotoFileReader* _tmp123_ = NULL; #line 4012 "/home/jens/Source/shotwell/src/Photo.vala" _tmp123_ = new_reader; #line 4012 "/home/jens/Source/shotwell/src/Photo.vala" _tmp121_ = _tmp123_ != NULL; -#line 29004 "Photo.c" +#line 29005 "Photo.c" } #line 4012 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp121_) { -#line 29008 "Photo.c" +#line 29009 "Photo.c" gchar** _tmp124_ = NULL; gint _tmp124__length1 = 0; gchar* _tmp125_ = NULL; @@ -29036,7 +29037,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp128_ = photo_is_editable_source (self); #line 4016 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp128_) { -#line 29036 "Photo.c" +#line 29037 "Photo.c" gchar** _tmp129_ = NULL; gint _tmp129__length1 = 0; gchar* _tmp130_ = NULL; @@ -29048,7 +29049,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp130_ = g_strdup ("image:source"); #line 4017 "/home/jens/Source/shotwell/src/Photo.vala" _vala_array_add274 (&alteration_list, &alteration_list_length1, &_alteration_list_size_, _tmp130_); -#line 29048 "Photo.c" +#line 29049 "Photo.c" } } #line 4020 "/home/jens/Source/shotwell/src/Photo.vala" @@ -29057,7 +29058,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _tmp131__length1 = alteration_list_length1; #line 4020 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp131__length1 > 0) { -#line 29057 "Photo.c" +#line 29058 "Photo.c" gchar** _tmp132_ = NULL; gint _tmp132__length1 = 0; Alteration* _tmp133_ = NULL; @@ -29074,7 +29075,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp134_); #line 4021 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp134_); -#line 29074 "Photo.c" +#line 29075 "Photo.c" } #line 3903 "/home/jens/Source/shotwell/src/Photo.vala" alteration_list = (_vala_array_free (alteration_list, alteration_list_length1, (GDestroyNotify) g_free), NULL); @@ -29088,7 +29089,7 @@ static void photo_update_editable (Photo* self, gboolean only_attributes, PhotoF _photo_file_adapter_unref0 (reader); #line 3903 "/home/jens/Source/shotwell/src/Photo.vala" _photo_file_adapter_unref0 (old_reader); -#line 29088 "Photo.c" +#line 29089 "Photo.c" } @@ -29112,14 +29113,14 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole has_editable = FALSE; #line 4028 "/home/jens/Source/shotwell/src/Photo.vala" editable_file = NULL; -#line 29112 "Photo.c" +#line 29113 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 4029 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 4029 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 29119 "Photo.c" +#line 29120 "Photo.c" { PhotoBackingReaders* _tmp1_ = NULL; PhotoFileReader* _tmp2_ = NULL; @@ -29129,7 +29130,7 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole _tmp2_ = _tmp1_->editable; #line 4030 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != NULL) { -#line 29129 "Photo.c" +#line 29130 "Photo.c" PhotoBackingReaders* _tmp3_ = NULL; PhotoFileReader* _tmp4_ = NULL; GFile* _tmp5_ = NULL; @@ -29152,17 +29153,17 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole _tmp6_->editable = NULL; #line 4033 "/home/jens/Source/shotwell/src/Photo.vala" has_editable = TRUE; -#line 29152 "Photo.c" +#line 29153 "Photo.c" } } - __finally383: + __finally396: { PhotoBackingReaders* _tmp7_ = NULL; #line 4029 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = self->priv->readers; #line 4029 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 29162 "Photo.c" +#line 29163 "Photo.c" } #line 4029 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -29174,18 +29175,18 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole g_clear_error (&_inner_error_); #line 4029 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 29174 "Photo.c" +#line 29175 "Photo.c" } } #line 4037 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = has_editable; #line 4037 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp8_) { -#line 29181 "Photo.c" +#line 29182 "Photo.c" BackingPhotoID editable_id = {0}; #line 4038 "/home/jens/Source/shotwell/src/Photo.vala" backing_photo_id_init (&editable_id, BACKING_PHOTO_ID_INVALID); -#line 29185 "Photo.c" +#line 29186 "Photo.c" { { PhotoRow* _tmp9_ = NULL; @@ -29193,7 +29194,7 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole _tmp9_ = self->row; #line 4040 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 29193 "Photo.c" +#line 29194 "Photo.c" { PhotoRow* _tmp10_ = NULL; BackingPhotoID _tmp11_ = {0}; @@ -29211,7 +29212,7 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole _tmp12_ = backing_photo_id_is_valid (&editable_id); #line 4042 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp12_) { -#line 29211 "Photo.c" +#line 29212 "Photo.c" PhotoTable* _tmp13_ = NULL; PhotoTable* _tmp14_ = NULL; PhotoRow* _tmp15_ = NULL; @@ -29227,8 +29228,8 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole _database_table_unref0 (_tmp14_); #line 4043 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 29227 "Photo.c" - goto __finally385; +#line 29228 "Photo.c" + goto __finally398; } } #line 4044 "/home/jens/Source/shotwell/src/Photo.vala" @@ -29241,23 +29242,23 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole _backing_photo_row_unref0 (self->backing_photo_row); #line 4044 "/home/jens/Source/shotwell/src/Photo.vala" self->backing_photo_row = _tmp18_; -#line 29241 "Photo.c" +#line 29242 "Photo.c" } - __finally385: + __finally398: { PhotoRow* _tmp19_ = NULL; #line 4040 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = self->row; #line 4040 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 29250 "Photo.c" +#line 29251 "Photo.c" } #line 4040 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4040 "/home/jens/Source/shotwell/src/Photo.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 29256 "Photo.c" - goto __catch384_database_error; +#line 29257 "Photo.c" + goto __catch397_database_error; } #line 4040 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (editable_file); @@ -29267,12 +29268,12 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole g_clear_error (&_inner_error_); #line 4040 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 29267 "Photo.c" +#line 29268 "Photo.c" } } } - goto __finally384; - __catch384_database_error: + goto __finally397; + __catch397_database_error: { GError* err = NULL; GError* _tmp20_ = NULL; @@ -29289,9 +29290,9 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole g_warning ("Photo.vala:4047: Unable to remove editable from PhotoTable: %s", _tmp21_); #line 4039 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 29289 "Photo.c" +#line 29290 "Photo.c" } - __finally384: + __finally397: #line 4039 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4039 "/home/jens/Source/shotwell/src/Photo.vala" @@ -29302,7 +29303,7 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole g_clear_error (&_inner_error_); #line 4039 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 29302 "Photo.c" +#line 29303 "Photo.c" } { gboolean _tmp22_ = FALSE; @@ -29310,7 +29311,7 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole _tmp22_ = backing_photo_id_is_valid (&editable_id); #line 4051 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp22_) { -#line 29310 "Photo.c" +#line 29311 "Photo.c" BackingPhotoTable* _tmp23_ = NULL; BackingPhotoTable* _tmp24_ = NULL; BackingPhotoID _tmp25_ = {0}; @@ -29328,8 +29329,8 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4052 "/home/jens/Source/shotwell/src/Photo.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 29328 "Photo.c" - goto __catch386_database_error; +#line 29329 "Photo.c" + goto __catch399_database_error; } #line 4052 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (editable_file); @@ -29339,12 +29340,12 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole g_clear_error (&_inner_error_); #line 4052 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 29339 "Photo.c" +#line 29340 "Photo.c" } } } - goto __finally386; - __catch386_database_error: + goto __finally399; + __catch399_database_error: { GError* err = NULL; GError* _tmp26_ = NULL; @@ -29361,9 +29362,9 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole g_warning ("Photo.vala:4054: Unable to remove editable from BackingPhotoTable: %s", _tmp27_); #line 4050 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 29361 "Photo.c" +#line 29362 "Photo.c" } - __finally386: + __finally399: #line 4050 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4050 "/home/jens/Source/shotwell/src/Photo.vala" @@ -29374,7 +29375,7 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole g_clear_error (&_inner_error_); #line 4050 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 29374 "Photo.c" +#line 29375 "Photo.c" } } #line 4058 "/home/jens/Source/shotwell/src/Photo.vala" @@ -29383,13 +29384,13 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole if (_tmp28_) { #line 4059 "/home/jens/Source/shotwell/src/Photo.vala" photo_internal_remove_all_transformations (self, FALSE); -#line 29383 "Photo.c" +#line 29384 "Photo.c" } #line 4061 "/home/jens/Source/shotwell/src/Photo.vala" _tmp29_ = has_editable; #line 4061 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp29_) { -#line 29389 "Photo.c" +#line 29390 "Photo.c" GFile* _tmp30_ = NULL; #line 4062 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_baseline_replaced (self); @@ -29397,27 +29398,27 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole _tmp30_ = editable_file; #line 4063 "/home/jens/Source/shotwell/src/Photo.vala" photo_notify_editable_replaced (self, _tmp30_, NULL); -#line 29397 "Photo.c" +#line 29398 "Photo.c" } #line 4066 "/home/jens/Source/shotwell/src/Photo.vala" _tmp32_ = delete_editable; #line 4066 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp32_) { -#line 29403 "Photo.c" +#line 29404 "Photo.c" GFile* _tmp33_ = NULL; #line 4066 "/home/jens/Source/shotwell/src/Photo.vala" _tmp33_ = editable_file; #line 4066 "/home/jens/Source/shotwell/src/Photo.vala" _tmp31_ = _tmp33_ != NULL; -#line 29409 "Photo.c" +#line 29410 "Photo.c" } else { #line 4066 "/home/jens/Source/shotwell/src/Photo.vala" _tmp31_ = FALSE; -#line 29413 "Photo.c" +#line 29414 "Photo.c" } #line 4066 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp31_) { -#line 29417 "Photo.c" +#line 29418 "Photo.c" { GFile* _tmp34_ = NULL; #line 4068 "/home/jens/Source/shotwell/src/Photo.vala" @@ -29426,12 +29427,12 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole g_file_trash (_tmp34_, NULL, &_inner_error_); #line 4068 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 29426 "Photo.c" - goto __catch387_g_error; +#line 29427 "Photo.c" + goto __catch400_g_error; } } - goto __finally387; - __catch387_g_error: + goto __finally400; + __catch400_g_error: { GError* err = NULL; GFile* _tmp35_ = NULL; @@ -29467,9 +29468,9 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole _g_free0 (_tmp37_); #line 4067 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 29467 "Photo.c" +#line 29468 "Photo.c" } - __finally387: + __finally400: #line 4067 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4067 "/home/jens/Source/shotwell/src/Photo.vala" @@ -29480,7 +29481,7 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole g_clear_error (&_inner_error_); #line 4067 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 29480 "Photo.c" +#line 29481 "Photo.c" } } #line 4075 "/home/jens/Source/shotwell/src/Photo.vala" @@ -29489,32 +29490,32 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole if (_tmp44_) { #line 4075 "/home/jens/Source/shotwell/src/Photo.vala" _tmp43_ = TRUE; -#line 29489 "Photo.c" +#line 29490 "Photo.c" } else { gboolean _tmp45_ = FALSE; #line 4075 "/home/jens/Source/shotwell/src/Photo.vala" _tmp45_ = remove_transformations; #line 4075 "/home/jens/Source/shotwell/src/Photo.vala" _tmp43_ = _tmp45_; -#line 29496 "Photo.c" +#line 29497 "Photo.c" } #line 4075 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp43_) { -#line 29500 "Photo.c" +#line 29501 "Photo.c" gboolean _tmp46_ = FALSE; #line 4075 "/home/jens/Source/shotwell/src/Photo.vala" _tmp46_ = notify; #line 4075 "/home/jens/Source/shotwell/src/Photo.vala" _tmp42_ = _tmp46_; -#line 29506 "Photo.c" +#line 29507 "Photo.c" } else { #line 4075 "/home/jens/Source/shotwell/src/Photo.vala" _tmp42_ = FALSE; -#line 29510 "Photo.c" +#line 29511 "Photo.c" } #line 4075 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp42_) { -#line 29514 "Photo.c" +#line 29515 "Photo.c" Alteration* _tmp47_ = NULL; Alteration* _tmp48_ = NULL; #line 4076 "/home/jens/Source/shotwell/src/Photo.vala" @@ -29525,32 +29526,32 @@ static void photo_detach_editable (Photo* self, gboolean delete_editable, gboole data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp48_); #line 4076 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp48_); -#line 29525 "Photo.c" +#line 29526 "Photo.c" } #line 4024 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (editable_file); -#line 29529 "Photo.c" +#line 29530 "Photo.c" } static void _photo_on_reimport_editable_one_shot_callback (gpointer self) { #line 4098 "/home/jens/Source/shotwell/src/Photo.vala" photo_on_reimport_editable ((Photo*) self); -#line 29536 "Photo.c" +#line 29537 "Photo.c" } static void _photo_on_update_editable_attributes_one_shot_callback (gpointer self) { #line 4107 "/home/jens/Source/shotwell/src/Photo.vala" photo_on_update_editable_attributes ((Photo*) self); -#line 29543 "Photo.c" +#line 29544 "Photo.c" } static void _photo_on_remove_editable_one_shot_callback (gpointer self) { #line 4116 "/home/jens/Source/shotwell/src/Photo.vala" photo_on_remove_editable ((Photo*) self); -#line 29550 "Photo.c" +#line 29551 "Photo.c" } @@ -29568,14 +29569,14 @@ static void photo_on_editable_file_changed (Photo* self, GFile* file, GFile* oth g_return_if_fail (G_IS_FILE (file)); #line 4079 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail ((other_file == NULL) || G_IS_FILE (other_file)); -#line 29568 "Photo.c" +#line 29569 "Photo.c" { PhotoBackingReaders* _tmp0_ = NULL; #line 4081 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = self->priv->readers; #line 4081 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_readers); -#line 29575 "Photo.c" +#line 29576 "Photo.c" { PhotoBackingReaders* _tmp1_ = NULL; PhotoFileReader* _tmp2_ = NULL; @@ -29610,28 +29611,28 @@ static void photo_on_editable_file_changed (Photo* self, GFile* file, GFile* oth _g_object_unref0 (_tmp7_); #line 4084 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp9_) { -#line 29610 "Photo.c" +#line 29611 "Photo.c" { PhotoBackingReaders* _tmp10_ = NULL; #line 4081 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = self->priv->readers; #line 4081 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 29617 "Photo.c" +#line 29618 "Photo.c" } #line 4088 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 29621 "Photo.c" +#line 29622 "Photo.c" } } - __finally388: + __finally401: { PhotoBackingReaders* _tmp11_ = NULL; #line 4081 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = self->priv->readers; #line 4081 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_readers); -#line 29631 "Photo.c" +#line 29632 "Photo.c" } #line 4081 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -29641,7 +29642,7 @@ static void photo_on_editable_file_changed (Photo* self, GFile* file, GFile* oth g_clear_error (&_inner_error_); #line 4081 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 29641 "Photo.c" +#line 29642 "Photo.c" } } #line 4092 "/home/jens/Source/shotwell/src/Photo.vala" @@ -29666,7 +29667,7 @@ static void photo_on_editable_file_changed (Photo* self, GFile* file, GFile* oth case G_FILE_MONITOR_EVENT_CHANGED: #line 4094 "/home/jens/Source/shotwell/src/Photo.vala" case G_FILE_MONITOR_EVENT_CREATED: -#line 29666 "Photo.c" +#line 29667 "Photo.c" { OneShotScheduler* _tmp18_ = NULL; OneShotScheduler* _tmp20_ = NULL; @@ -29674,7 +29675,7 @@ static void photo_on_editable_file_changed (Photo* self, GFile* file, GFile* oth _tmp18_ = self->priv->reimport_editable_scheduler; #line 4097 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp18_ == NULL) { -#line 29674 "Photo.c" +#line 29675 "Photo.c" OneShotScheduler* _tmp19_ = NULL; #line 4098 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = one_shot_scheduler_new ("Photo.reimport_editable", _photo_on_reimport_editable_one_shot_callback, self); @@ -29682,7 +29683,7 @@ static void photo_on_editable_file_changed (Photo* self, GFile* file, GFile* oth _one_shot_scheduler_unref0 (self->priv->reimport_editable_scheduler); #line 4098 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->reimport_editable_scheduler = _tmp19_; -#line 29682 "Photo.c" +#line 29683 "Photo.c" } #line 4102 "/home/jens/Source/shotwell/src/Photo.vala" _tmp20_ = self->priv->reimport_editable_scheduler; @@ -29690,11 +29691,11 @@ static void photo_on_editable_file_changed (Photo* self, GFile* file, GFile* oth one_shot_scheduler_after_timeout (_tmp20_, (guint) 1000, TRUE); #line 4103 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 29690 "Photo.c" +#line 29691 "Photo.c" } #line 4094 "/home/jens/Source/shotwell/src/Photo.vala" case G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED: -#line 29694 "Photo.c" +#line 29695 "Photo.c" { OneShotScheduler* _tmp21_ = NULL; OneShotScheduler* _tmp23_ = NULL; @@ -29702,7 +29703,7 @@ static void photo_on_editable_file_changed (Photo* self, GFile* file, GFile* oth _tmp21_ = self->priv->update_editable_attributes_scheduler; #line 4106 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp21_ == NULL) { -#line 29702 "Photo.c" +#line 29703 "Photo.c" OneShotScheduler* _tmp22_ = NULL; #line 4107 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = one_shot_scheduler_new ("Photo.update_editable_attributes", _photo_on_update_editable_attributes_one_shot_callback, self); @@ -29710,7 +29711,7 @@ static void photo_on_editable_file_changed (Photo* self, GFile* file, GFile* oth _one_shot_scheduler_unref0 (self->priv->update_editable_attributes_scheduler); #line 4107 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->update_editable_attributes_scheduler = _tmp22_; -#line 29710 "Photo.c" +#line 29711 "Photo.c" } #line 4111 "/home/jens/Source/shotwell/src/Photo.vala" _tmp23_ = self->priv->update_editable_attributes_scheduler; @@ -29718,11 +29719,11 @@ static void photo_on_editable_file_changed (Photo* self, GFile* file, GFile* oth one_shot_scheduler_after_timeout (_tmp23_, (guint) 1000, TRUE); #line 4112 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 29718 "Photo.c" +#line 29719 "Photo.c" } #line 4094 "/home/jens/Source/shotwell/src/Photo.vala" case G_FILE_MONITOR_EVENT_DELETED: -#line 29722 "Photo.c" +#line 29723 "Photo.c" { OneShotScheduler* _tmp24_ = NULL; OneShotScheduler* _tmp26_ = NULL; @@ -29730,7 +29731,7 @@ static void photo_on_editable_file_changed (Photo* self, GFile* file, GFile* oth _tmp24_ = self->priv->remove_editable_scheduler; #line 4115 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp24_ == NULL) { -#line 29730 "Photo.c" +#line 29731 "Photo.c" OneShotScheduler* _tmp25_ = NULL; #line 4116 "/home/jens/Source/shotwell/src/Photo.vala" _tmp25_ = one_shot_scheduler_new ("Photo.remove_editable", _photo_on_remove_editable_one_shot_callback, self); @@ -29738,7 +29739,7 @@ static void photo_on_editable_file_changed (Photo* self, GFile* file, GFile* oth _one_shot_scheduler_unref0 (self->priv->remove_editable_scheduler); #line 4116 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->remove_editable_scheduler = _tmp25_; -#line 29738 "Photo.c" +#line 29739 "Photo.c" } #line 4120 "/home/jens/Source/shotwell/src/Photo.vala" _tmp26_ = self->priv->remove_editable_scheduler; @@ -29746,21 +29747,21 @@ static void photo_on_editable_file_changed (Photo* self, GFile* file, GFile* oth one_shot_scheduler_after_timeout (_tmp26_, (guint) 3000, TRUE); #line 4121 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 29746 "Photo.c" +#line 29747 "Photo.c" } default: #line 4094 "/home/jens/Source/shotwell/src/Photo.vala" case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT: -#line 29751 "Photo.c" +#line 29752 "Photo.c" { #line 4126 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 29755 "Photo.c" +#line 29756 "Photo.c" } } #line 4131 "/home/jens/Source/shotwell/src/Photo.vala" photo_discard_prefetched (self); -#line 29760 "Photo.c" +#line 29761 "Photo.c" } @@ -29780,18 +29781,18 @@ static void photo_on_reimport_editable (Photo* self) { g_debug ("Photo.vala:4138: Reimporting editable for %s", _tmp1_); #line 4138 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (_tmp1_); -#line 29780 "Photo.c" +#line 29781 "Photo.c" { #line 4140 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_editable (self, &_inner_error_); #line 4140 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 29786 "Photo.c" - goto __catch389_g_error; +#line 29787 "Photo.c" + goto __catch402_g_error; } } - goto __finally389; - __catch389_g_error: + goto __finally402; + __catch402_g_error: { GError* err = NULL; gchar* _tmp2_ = NULL; @@ -29817,9 +29818,9 @@ static void photo_on_reimport_editable (Photo* self) { _g_free0 (_tmp3_); #line 4139 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 29816 "Photo.c" +#line 29817 "Photo.c" } - __finally389: + __finally402: #line 4139 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4139 "/home/jens/Source/shotwell/src/Photo.vala" @@ -29828,7 +29829,7 @@ static void photo_on_reimport_editable (Photo* self) { g_clear_error (&_inner_error_); #line 4139 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 29827 "Photo.c" +#line 29828 "Photo.c" } } @@ -29847,18 +29848,18 @@ static void photo_on_update_editable_attributes (Photo* self) { g_debug ("Photo.vala:4148: Updating editable attributes for %s", _tmp1_); #line 4148 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (_tmp1_); -#line 29846 "Photo.c" +#line 29847 "Photo.c" { #line 4150 "/home/jens/Source/shotwell/src/Photo.vala" photo_update_editable_attributes (self, &_inner_error_); #line 4150 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 29852 "Photo.c" - goto __catch390_g_error; +#line 29853 "Photo.c" + goto __catch403_g_error; } } - goto __finally390; - __catch390_g_error: + goto __finally403; + __catch403_g_error: { GError* err = NULL; GError* _tmp2_ = NULL; @@ -29875,9 +29876,9 @@ static void photo_on_update_editable_attributes (Photo* self) { g_warning ("Photo.vala:4152: Unable to update editable attributes: %s", _tmp3_); #line 4149 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 29874 "Photo.c" +#line 29875 "Photo.c" } - __finally390: + __finally403: #line 4149 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4149 "/home/jens/Source/shotwell/src/Photo.vala" @@ -29886,7 +29887,7 @@ static void photo_on_update_editable_attributes (Photo* self) { g_clear_error (&_inner_error_); #line 4149 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 29885 "Photo.c" +#line 29886 "Photo.c" } } @@ -29916,7 +29917,7 @@ static void photo_on_remove_editable (Photo* self) { _photo_file_adapter_unref0 (reader); #line 4159 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 29915 "Photo.c" +#line 29916 "Photo.c" } #line 4161 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = reader; @@ -29930,7 +29931,7 @@ static void photo_on_remove_editable (Photo* self) { _tmp5_ = g_file_query_exists (_tmp4_, NULL); #line 4162 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp5_) { -#line 29929 "Photo.c" +#line 29930 "Photo.c" gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; #line 4163 "/home/jens/Source/shotwell/src/Photo.vala" @@ -29947,7 +29948,7 @@ static void photo_on_remove_editable (Photo* self) { _photo_file_adapter_unref0 (reader); #line 4165 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 29946 "Photo.c" +#line 29947 "Photo.c" } #line 4168 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject)); @@ -29963,7 +29964,7 @@ static void photo_on_remove_editable (Photo* self) { _g_object_unref0 (file); #line 4156 "/home/jens/Source/shotwell/src/Photo.vala" _photo_file_adapter_unref0 (reader); -#line 29962 "Photo.c" +#line 29963 "Photo.c" } @@ -29992,7 +29993,7 @@ void photo_get_original_dimensions (Photo* self, Dimensions* result) { *result = _tmp3_; #line 4181 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 29991 "Photo.c" +#line 29992 "Photo.c" } @@ -30012,7 +30013,7 @@ void photo_get_master_dimensions (Photo* self, Dimensions* result) { *result = _tmp2_; #line 4186 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 30011 "Photo.c" +#line 30012 "Photo.c" } @@ -30044,11 +30045,11 @@ gboolean photo_get_crop (Photo* self, Box* crop, PhotoException exceptions) { if (crop) { #line 4195 "/home/jens/Source/shotwell/src/Photo.vala" *crop = _vala_crop; -#line 30043 "Photo.c" +#line 30044 "Photo.c" } #line 4195 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 30047 "Photo.c" +#line 30048 "Photo.c" } #line 4198 "/home/jens/Source/shotwell/src/Photo.vala" media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_CROP | PHOTO_EXCEPTION_ORIENTATION, &_tmp2_); @@ -30064,7 +30065,7 @@ gboolean photo_get_crop (Photo* self, Box* crop, PhotoException exceptions) { _tmp5_ = photo_exception_allows (_tmp4_, PHOTO_EXCEPTION_ORIENTATION); #line 4201 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp5_) { -#line 30063 "Photo.c" +#line 30064 "Photo.c" Orientation _tmp6_ = 0; Dimensions _tmp7_ = {0}; Box _tmp8_ = {0}; @@ -30079,14 +30080,14 @@ gboolean photo_get_crop (Photo* self, Box* crop, PhotoException exceptions) { orientation_rotate_box (_tmp6_, &_tmp7_, &_tmp8_, &_tmp9_); #line 4202 "/home/jens/Source/shotwell/src/Photo.vala" _vala_crop = _tmp9_; -#line 30078 "Photo.c" +#line 30079 "Photo.c" } else { Box _tmp10_ = {0}; #line 4204 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = raw; #line 4204 "/home/jens/Source/shotwell/src/Photo.vala" _vala_crop = _tmp10_; -#line 30085 "Photo.c" +#line 30086 "Photo.c" } #line 4206 "/home/jens/Source/shotwell/src/Photo.vala" result = TRUE; @@ -30094,11 +30095,11 @@ gboolean photo_get_crop (Photo* self, Box* crop, PhotoException exceptions) { if (crop) { #line 4206 "/home/jens/Source/shotwell/src/Photo.vala" *crop = _vala_crop; -#line 30093 "Photo.c" +#line 30094 "Photo.c" } #line 4206 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 30097 "Photo.c" +#line 30098 "Photo.c" } @@ -30216,7 +30217,7 @@ void photo_set_crop (Photo* self, Box* crop) { _tmp29_ = derotated; #line 4222 "/home/jens/Source/shotwell/src/Photo.vala" photo_set_raw_crop (self, &_tmp29_); -#line 30215 "Photo.c" +#line 30216 "Photo.c" } @@ -30239,11 +30240,11 @@ gboolean photo_get_straighten (Photo* self, gdouble* theta) { if (theta) { #line 4227 "/home/jens/Source/shotwell/src/Photo.vala" *theta = _vala_theta; -#line 30238 "Photo.c" +#line 30239 "Photo.c" } #line 4227 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 30242 "Photo.c" +#line 30243 "Photo.c" } #line 4229 "/home/jens/Source/shotwell/src/Photo.vala" result = TRUE; @@ -30251,11 +30252,11 @@ gboolean photo_get_straighten (Photo* self, gdouble* theta) { if (theta) { #line 4229 "/home/jens/Source/shotwell/src/Photo.vala" *theta = _vala_theta; -#line 30250 "Photo.c" +#line 30251 "Photo.c" } #line 4229 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 30254 "Photo.c" +#line 30255 "Photo.c" } @@ -30267,7 +30268,7 @@ void photo_set_straighten (Photo* self, gdouble theta) { _tmp0_ = theta; #line 4233 "/home/jens/Source/shotwell/src/Photo.vala" photo_set_raw_straighten (self, _tmp0_); -#line 30266 "Photo.c" +#line 30267 "Photo.c" } @@ -30351,7 +30352,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _x_insets_first_quadrant_size_ = x_insets_first_quadrant_length1; #line 4249 "/home/jens/Source/shotwell/src/Photo.vala" i = 0; -#line 30350 "Photo.c" +#line 30351 "Photo.c" { gdouble y = 0.0; gdouble _tmp5_ = 0.0; @@ -30359,14 +30360,14 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp5_ = r; #line 4250 "/home/jens/Source/shotwell/src/Photo.vala" y = _tmp5_; -#line 30358 "Photo.c" +#line 30359 "Photo.c" { gboolean _tmp6_ = FALSE; #line 4250 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = TRUE; #line 4250 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 30365 "Photo.c" +#line 30366 "Photo.c" gdouble _tmp8_ = 0.0; gdouble theta = 0.0; gdouble _tmp9_ = 0.0; @@ -30386,13 +30387,13 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR gint _tmp21_ = 0; #line 4250 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp6_) { -#line 30385 "Photo.c" +#line 30386 "Photo.c" gdouble _tmp7_ = 0.0; #line 4250 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = y; #line 4250 "/home/jens/Source/shotwell/src/Photo.vala" y = _tmp7_ - 1.0; -#line 30391 "Photo.c" +#line 30392 "Photo.c" } #line 4250 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = FALSE; @@ -30402,7 +30403,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR if (!(_tmp8_ >= 0.0)) { #line 4250 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 30401 "Photo.c" +#line 30402 "Photo.c" } #line 4251 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_ = y; @@ -30440,7 +30441,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp21_ = i; #line 4255 "/home/jens/Source/shotwell/src/Photo.vala" i = _tmp21_ + 1; -#line 30439 "Photo.c" +#line 30440 "Photo.c" } } } @@ -30486,14 +30487,14 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR if (_tmp38_ < 0) { #line 4261 "/home/jens/Source/shotwell/src/Photo.vala" _tmp37_ = 0; -#line 30485 "Photo.c" +#line 30486 "Photo.c" } else { gint _tmp39_ = 0; #line 4261 "/home/jens/Source/shotwell/src/Photo.vala" _tmp39_ = ymin; #line 4261 "/home/jens/Source/shotwell/src/Photo.vala" _tmp37_ = _tmp39_; -#line 30492 "Photo.c" +#line 30493 "Photo.c" } #line 4261 "/home/jens/Source/shotwell/src/Photo.vala" ymin = _tmp37_; @@ -30515,7 +30516,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp47_ = _tmp46_; #line 4263 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp44_ > (_tmp47_ - 1)) { -#line 30514 "Photo.c" +#line 30515 "Photo.c" GdkPixbuf* _tmp48_ = NULL; gint _tmp49_ = 0; gint _tmp50_ = 0; @@ -30527,20 +30528,20 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp50_ = _tmp49_; #line 4263 "/home/jens/Source/shotwell/src/Photo.vala" _tmp43_ = _tmp50_ - 1; -#line 30526 "Photo.c" +#line 30527 "Photo.c" } else { gint _tmp51_ = 0; #line 4263 "/home/jens/Source/shotwell/src/Photo.vala" _tmp51_ = ymax; #line 4263 "/home/jens/Source/shotwell/src/Photo.vala" _tmp43_ = _tmp51_; -#line 30533 "Photo.c" +#line 30534 "Photo.c" } #line 4263 "/home/jens/Source/shotwell/src/Photo.vala" ymax = _tmp43_; #line 4267 "/home/jens/Source/shotwell/src/Photo.vala" inset_index = 0; -#line 30539 "Photo.c" +#line 30540 "Photo.c" { gint y_it = 0; gint _tmp52_ = 0; @@ -30548,14 +30549,14 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp52_ = ymin; #line 4268 "/home/jens/Source/shotwell/src/Photo.vala" y_it = _tmp52_; -#line 30547 "Photo.c" +#line 30548 "Photo.c" { gboolean _tmp53_ = FALSE; #line 4268 "/home/jens/Source/shotwell/src/Photo.vala" _tmp53_ = TRUE; #line 4268 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 30554 "Photo.c" +#line 30555 "Photo.c" gint _tmp55_ = 0; gint _tmp56_ = 0; gint xmin = 0; @@ -30580,13 +30581,13 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR gint _tmp87_ = 0; #line 4268 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp53_) { -#line 30579 "Photo.c" +#line 30580 "Photo.c" gint _tmp54_ = 0; #line 4268 "/home/jens/Source/shotwell/src/Photo.vala" _tmp54_ = y_it; #line 4268 "/home/jens/Source/shotwell/src/Photo.vala" y_it = _tmp54_ + 1; -#line 30585 "Photo.c" +#line 30586 "Photo.c" } #line 4268 "/home/jens/Source/shotwell/src/Photo.vala" _tmp53_ = FALSE; @@ -30598,7 +30599,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR if (!(_tmp55_ <= _tmp56_)) { #line 4268 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 30597 "Photo.c" +#line 30598 "Photo.c" } #line 4269 "/home/jens/Source/shotwell/src/Photo.vala" _tmp57_ = x_bounds_min; @@ -30618,14 +30619,14 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR if (_tmp62_ < 0) { #line 4270 "/home/jens/Source/shotwell/src/Photo.vala" _tmp61_ = 0; -#line 30617 "Photo.c" +#line 30618 "Photo.c" } else { gint _tmp63_ = 0; #line 4270 "/home/jens/Source/shotwell/src/Photo.vala" _tmp63_ = xmin; #line 4270 "/home/jens/Source/shotwell/src/Photo.vala" _tmp61_ = _tmp63_; -#line 30624 "Photo.c" +#line 30625 "Photo.c" } #line 4270 "/home/jens/Source/shotwell/src/Photo.vala" xmin = _tmp61_; @@ -30651,7 +30652,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp72_ = _tmp71_; #line 4272 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp69_ > (_tmp72_ - 1)) { -#line 30650 "Photo.c" +#line 30651 "Photo.c" GdkPixbuf* _tmp73_ = NULL; gint _tmp74_ = 0; gint _tmp75_ = 0; @@ -30663,18 +30664,18 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp75_ = _tmp74_; #line 4272 "/home/jens/Source/shotwell/src/Photo.vala" _tmp68_ = _tmp75_ - 1; -#line 30662 "Photo.c" +#line 30663 "Photo.c" } else { gint _tmp76_ = 0; #line 4272 "/home/jens/Source/shotwell/src/Photo.vala" _tmp76_ = xmax; #line 4272 "/home/jens/Source/shotwell/src/Photo.vala" _tmp68_ = _tmp76_; -#line 30669 "Photo.c" +#line 30670 "Photo.c" } #line 4272 "/home/jens/Source/shotwell/src/Photo.vala" xmax = _tmp68_; -#line 30673 "Photo.c" +#line 30674 "Photo.c" { gint x_it = 0; gint _tmp77_ = 0; @@ -30682,14 +30683,14 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp77_ = xmin; #line 4274 "/home/jens/Source/shotwell/src/Photo.vala" x_it = _tmp77_; -#line 30681 "Photo.c" +#line 30682 "Photo.c" { gboolean _tmp78_ = FALSE; #line 4274 "/home/jens/Source/shotwell/src/Photo.vala" _tmp78_ = TRUE; #line 4274 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 30688 "Photo.c" +#line 30689 "Photo.c" gint _tmp80_ = 0; gint _tmp81_ = 0; GdkPixbuf* _tmp82_ = NULL; @@ -30699,13 +30700,13 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR GdkPixbuf* _tmp86_ = NULL; #line 4274 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp78_) { -#line 30698 "Photo.c" +#line 30699 "Photo.c" gint _tmp79_ = 0; #line 4274 "/home/jens/Source/shotwell/src/Photo.vala" _tmp79_ = x_it; #line 4274 "/home/jens/Source/shotwell/src/Photo.vala" x_it = _tmp79_ + 1; -#line 30704 "Photo.c" +#line 30705 "Photo.c" } #line 4274 "/home/jens/Source/shotwell/src/Photo.vala" _tmp78_ = FALSE; @@ -30717,7 +30718,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR if (!(_tmp80_ <= _tmp81_)) { #line 4274 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 30716 "Photo.c" +#line 30717 "Photo.c" } #line 4275 "/home/jens/Source/shotwell/src/Photo.vala" _tmp82_ = pixbuf; @@ -30731,7 +30732,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp86_ = _tmp85_; #line 4275 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp86_); -#line 30730 "Photo.c" +#line 30731 "Photo.c" } } } @@ -30739,7 +30740,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp87_ = inset_index; #line 4277 "/home/jens/Source/shotwell/src/Photo.vala" inset_index = _tmp87_ + 1; -#line 30738 "Photo.c" +#line 30739 "Photo.c" } } } @@ -30769,7 +30770,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp96__length1 = x_insets_first_quadrant_length1; #line 4284 "/home/jens/Source/shotwell/src/Photo.vala" inset_index = _tmp96__length1 - 1; -#line 30768 "Photo.c" +#line 30769 "Photo.c" { gint y_it = 0; gint _tmp97_ = 0; @@ -30777,14 +30778,14 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp97_ = ymin; #line 4285 "/home/jens/Source/shotwell/src/Photo.vala" y_it = _tmp97_; -#line 30776 "Photo.c" +#line 30777 "Photo.c" { gboolean _tmp98_ = FALSE; #line 4285 "/home/jens/Source/shotwell/src/Photo.vala" _tmp98_ = TRUE; #line 4285 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 30783 "Photo.c" +#line 30784 "Photo.c" gint _tmp100_ = 0; gint _tmp101_ = 0; gint xmin = 0; @@ -30809,13 +30810,13 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR gint _tmp132_ = 0; #line 4285 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp98_) { -#line 30808 "Photo.c" +#line 30809 "Photo.c" gint _tmp99_ = 0; #line 4285 "/home/jens/Source/shotwell/src/Photo.vala" _tmp99_ = y_it; #line 4285 "/home/jens/Source/shotwell/src/Photo.vala" y_it = _tmp99_ + 1; -#line 30814 "Photo.c" +#line 30815 "Photo.c" } #line 4285 "/home/jens/Source/shotwell/src/Photo.vala" _tmp98_ = FALSE; @@ -30827,7 +30828,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR if (!(_tmp100_ <= _tmp101_)) { #line 4285 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 30826 "Photo.c" +#line 30827 "Photo.c" } #line 4286 "/home/jens/Source/shotwell/src/Photo.vala" _tmp102_ = x_bounds_min; @@ -30847,14 +30848,14 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR if (_tmp107_ < 0) { #line 4287 "/home/jens/Source/shotwell/src/Photo.vala" _tmp106_ = 0; -#line 30846 "Photo.c" +#line 30847 "Photo.c" } else { gint _tmp108_ = 0; #line 4287 "/home/jens/Source/shotwell/src/Photo.vala" _tmp108_ = xmin; #line 4287 "/home/jens/Source/shotwell/src/Photo.vala" _tmp106_ = _tmp108_; -#line 30853 "Photo.c" +#line 30854 "Photo.c" } #line 4287 "/home/jens/Source/shotwell/src/Photo.vala" xmin = _tmp106_; @@ -30880,7 +30881,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp117_ = _tmp116_; #line 4289 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp114_ > (_tmp117_ - 1)) { -#line 30879 "Photo.c" +#line 30880 "Photo.c" GdkPixbuf* _tmp118_ = NULL; gint _tmp119_ = 0; gint _tmp120_ = 0; @@ -30892,18 +30893,18 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp120_ = _tmp119_; #line 4289 "/home/jens/Source/shotwell/src/Photo.vala" _tmp113_ = _tmp120_ - 1; -#line 30891 "Photo.c" +#line 30892 "Photo.c" } else { gint _tmp121_ = 0; #line 4289 "/home/jens/Source/shotwell/src/Photo.vala" _tmp121_ = xmax; #line 4289 "/home/jens/Source/shotwell/src/Photo.vala" _tmp113_ = _tmp121_; -#line 30898 "Photo.c" +#line 30899 "Photo.c" } #line 4289 "/home/jens/Source/shotwell/src/Photo.vala" xmax = _tmp113_; -#line 30902 "Photo.c" +#line 30903 "Photo.c" { gint x_it = 0; gint _tmp122_ = 0; @@ -30911,14 +30912,14 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp122_ = xmin; #line 4291 "/home/jens/Source/shotwell/src/Photo.vala" x_it = _tmp122_; -#line 30910 "Photo.c" +#line 30911 "Photo.c" { gboolean _tmp123_ = FALSE; #line 4291 "/home/jens/Source/shotwell/src/Photo.vala" _tmp123_ = TRUE; #line 4291 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 30917 "Photo.c" +#line 30918 "Photo.c" gint _tmp125_ = 0; gint _tmp126_ = 0; GdkPixbuf* _tmp127_ = NULL; @@ -30928,13 +30929,13 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR GdkPixbuf* _tmp131_ = NULL; #line 4291 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp123_) { -#line 30927 "Photo.c" +#line 30928 "Photo.c" gint _tmp124_ = 0; #line 4291 "/home/jens/Source/shotwell/src/Photo.vala" _tmp124_ = x_it; #line 4291 "/home/jens/Source/shotwell/src/Photo.vala" x_it = _tmp124_ + 1; -#line 30933 "Photo.c" +#line 30934 "Photo.c" } #line 4291 "/home/jens/Source/shotwell/src/Photo.vala" _tmp123_ = FALSE; @@ -30946,7 +30947,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR if (!(_tmp125_ <= _tmp126_)) { #line 4291 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 30945 "Photo.c" +#line 30946 "Photo.c" } #line 4292 "/home/jens/Source/shotwell/src/Photo.vala" _tmp127_ = pixbuf; @@ -30960,7 +30961,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp131_ = _tmp130_; #line 4292 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp131_); -#line 30959 "Photo.c" +#line 30960 "Photo.c" } } } @@ -30968,7 +30969,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR _tmp132_ = inset_index; #line 4294 "/home/jens/Source/shotwell/src/Photo.vala" inset_index = _tmp132_ - 1; -#line 30967 "Photo.c" +#line 30968 "Photo.c" } } } @@ -30982,7 +30983,7 @@ static GdkPixbuf* photo_do_redeye (Photo* self, GdkPixbuf* pixbuf, EditingToolsR x_insets_first_quadrant = (g_free (x_insets_first_quadrant), NULL); #line 4297 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 30981 "Photo.c" +#line 30982 "Photo.c" } @@ -31023,21 +31024,21 @@ static GdkPixbuf* photo_red_reduce_pixel (Photo* self, GdkPixbuf* pixbuf, gint x _tmp9_ = x; #line 4308 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp9_ >= 0) { -#line 31022 "Photo.c" +#line 31023 "Photo.c" gint _tmp10_ = 0; #line 4308 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = y; #line 4308 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = _tmp10_ >= 0; -#line 31028 "Photo.c" +#line 31029 "Photo.c" } else { #line 4308 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = FALSE; -#line 31032 "Photo.c" +#line 31033 "Photo.c" } #line 4308 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp8_) { -#line 31036 "Photo.c" +#line 31037 "Photo.c" gint _tmp11_ = 0; GdkPixbuf* _tmp12_ = NULL; gint _tmp13_ = 0; @@ -31052,15 +31053,15 @@ static GdkPixbuf* photo_red_reduce_pixel (Photo* self, GdkPixbuf* pixbuf, gint x _tmp14_ = _tmp13_; #line 4308 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = _tmp11_ < _tmp14_; -#line 31051 "Photo.c" +#line 31052 "Photo.c" } else { #line 4308 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = FALSE; -#line 31055 "Photo.c" +#line 31056 "Photo.c" } #line 4308 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp7_) { -#line 31059 "Photo.c" +#line 31060 "Photo.c" gint _tmp15_ = 0; GdkPixbuf* _tmp16_ = NULL; gint _tmp17_ = 0; @@ -31075,15 +31076,15 @@ static GdkPixbuf* photo_red_reduce_pixel (Photo* self, GdkPixbuf* pixbuf, gint x _tmp18_ = _tmp17_; #line 4308 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = _tmp15_ < _tmp18_; -#line 31074 "Photo.c" +#line 31075 "Photo.c" } else { #line 4308 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = FALSE; -#line 31078 "Photo.c" +#line 31079 "Photo.c" } #line 4308 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp6_) { -#line 31082 "Photo.c" +#line 31083 "Photo.c" guchar* pixel_data = NULL; GdkPixbuf* _tmp19_ = NULL; guint8* _tmp20_ = NULL; @@ -31155,7 +31156,7 @@ static GdkPixbuf* photo_red_reduce_pixel (Photo* self, GdkPixbuf* pixbuf, gint x _tmp29_[_tmp30_] = _tmp31_; #line 4324 "/home/jens/Source/shotwell/src/Photo.vala" _tmp32_ = _tmp29_[_tmp30_]; -#line 31154 "Photo.c" +#line 31155 "Photo.c" } #line 4327 "/home/jens/Source/shotwell/src/Photo.vala" _tmp33_ = pixbuf; @@ -31165,7 +31166,7 @@ static GdkPixbuf* photo_red_reduce_pixel (Photo* self, GdkPixbuf* pixbuf, gint x result = _tmp34_; #line 4327 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 31164 "Photo.c" +#line 31165 "Photo.c" } @@ -31216,7 +31217,7 @@ void photo_unscaled_to_raw_point (Photo* self, GdkPoint* unscaled_point, GdkPoin crop_box = _tmp4_; #line 4340 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp5_) { -#line 31215 "Photo.c" +#line 31216 "Photo.c" Box _tmp6_ = {0}; gint _tmp7_ = 0; Box _tmp8_ = {0}; @@ -31233,7 +31234,7 @@ void photo_unscaled_to_raw_point (Photo* self, GdkPoint* unscaled_point, GdkPoin _tmp9_ = _tmp8_.top; #line 4342 "/home/jens/Source/shotwell/src/Photo.vala" unscaled_y_offset_raw = _tmp9_; -#line 31232 "Photo.c" +#line 31233 "Photo.c" } #line 4345 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = unscaled_orientation; @@ -31261,7 +31262,7 @@ void photo_unscaled_to_raw_point (Photo* self, GdkPoint* unscaled_point, GdkPoin *result = derotated_point; #line 4352 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 31260 "Photo.c" +#line 31261 "Photo.c" } @@ -31373,7 +31374,7 @@ void photo_unscaled_to_raw_rect (Photo* self, GdkRectangle* unscaled_rect, GdkRe _tmp21_ = _tmp20_.x; #line 4366 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp19_ > _tmp21_) { -#line 31372 "Photo.c" +#line 31373 "Photo.c" gint temp = 0; GdkPoint _tmp22_ = {0}; gint _tmp23_ = 0; @@ -31396,7 +31397,7 @@ void photo_unscaled_to_raw_rect (Photo* self, GdkRectangle* unscaled_rect, GdkRe _tmp26_ = temp; #line 4369 "/home/jens/Source/shotwell/src/Photo.vala" lower_right.x = _tmp26_; -#line 31395 "Photo.c" +#line 31396 "Photo.c" } #line 4371 "/home/jens/Source/shotwell/src/Photo.vala" _tmp27_ = upper_left; @@ -31408,7 +31409,7 @@ void photo_unscaled_to_raw_rect (Photo* self, GdkRectangle* unscaled_rect, GdkRe _tmp30_ = _tmp29_.y; #line 4371 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp28_ > _tmp30_) { -#line 31407 "Photo.c" +#line 31408 "Photo.c" gint temp = 0; GdkPoint _tmp31_ = {0}; gint _tmp32_ = 0; @@ -31431,7 +31432,7 @@ void photo_unscaled_to_raw_rect (Photo* self, GdkRectangle* unscaled_rect, GdkRe _tmp35_ = temp; #line 4374 "/home/jens/Source/shotwell/src/Photo.vala" lower_right.y = _tmp35_; -#line 31430 "Photo.c" +#line 31431 "Photo.c" } #line 4377 "/home/jens/Source/shotwell/src/Photo.vala" memset (&raw_rect, 0, sizeof (GdkRectangle)); @@ -31471,7 +31472,7 @@ void photo_unscaled_to_raw_rect (Photo* self, GdkRectangle* unscaled_rect, GdkRe *result = raw_rect; #line 4383 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 31470 "Photo.c" +#line 31471 "Photo.c" } @@ -31486,7 +31487,7 @@ PixelTransformationBundle* photo_get_enhance_transformations (Photo* self) { g_return_val_if_fail (IS_PHOTO (self), NULL); #line 4387 "/home/jens/Source/shotwell/src/Photo.vala" pixbuf = NULL; -#line 31485 "Photo.c" +#line 31486 "Photo.c" { GdkPixbuf* _tmp0_ = NULL; Scaling _tmp1_ = {0}; @@ -31500,8 +31501,8 @@ PixelTransformationBundle* photo_get_enhance_transformations (Photo* self) { _tmp0_ = _tmp2_; #line 4394 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 31499 "Photo.c" - goto __catch391_g_error; +#line 31500 "Photo.c" + goto __catch404_g_error; } #line 4394 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = _tmp0_; @@ -31513,10 +31514,10 @@ PixelTransformationBundle* photo_get_enhance_transformations (Photo* self) { pixbuf = _tmp3_; #line 4393 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp0_); -#line 31512 "Photo.c" +#line 31513 "Photo.c" } - goto __finally391; - __catch391_g_error: + goto __finally404; + __catch404_g_error: { GError* e = NULL; #line 4393 "/home/jens/Source/shotwell/src/Photo.vala" @@ -31533,9 +31534,9 @@ PixelTransformationBundle* photo_get_enhance_transformations (Photo* self) { _g_object_unref0 (pixbuf); #line 4403 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 31532 "Photo.c" +#line 31533 "Photo.c" } - __finally391: + __finally404: #line 4393 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4393 "/home/jens/Source/shotwell/src/Photo.vala" @@ -31546,7 +31547,7 @@ PixelTransformationBundle* photo_get_enhance_transformations (Photo* self) { g_clear_error (&_inner_error_); #line 4393 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 31545 "Photo.c" +#line 31546 "Photo.c" } #line 4410 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = pixbuf; @@ -31560,7 +31561,7 @@ PixelTransformationBundle* photo_get_enhance_transformations (Photo* self) { _g_object_unref0 (pixbuf); #line 4418 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 31559 "Photo.c" +#line 31560 "Photo.c" } @@ -31586,7 +31587,7 @@ gboolean photo_enhance (Photo* self) { _pixel_transformation_bundle_unref0 (transformations); #line 4425 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 31585 "Photo.c" +#line 31586 "Photo.c" } { PhotoRow* _tmp2_ = NULL; @@ -31594,23 +31595,23 @@ gboolean photo_enhance (Photo* self) { _tmp2_ = self->row; #line 4430 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_lock (&self->priv->__lock_row); -#line 31593 "Photo.c" +#line 31594 "Photo.c" { PixelTransformationBundle* _tmp3_ = NULL; #line 4431 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = transformations; #line 4431 "/home/jens/Source/shotwell/src/Photo.vala" photo_set_color_adjustments (self, _tmp3_); -#line 31600 "Photo.c" +#line 31601 "Photo.c" } - __finally392: + __finally405: { PhotoRow* _tmp4_ = NULL; #line 4430 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->row; #line 4430 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_unlock (&self->priv->__lock_row); -#line 31609 "Photo.c" +#line 31610 "Photo.c" } #line 4430 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { @@ -31622,7 +31623,7 @@ gboolean photo_enhance (Photo* self) { g_clear_error (&_inner_error_); #line 4430 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 31621 "Photo.c" +#line 31622 "Photo.c" } } #line 4438 "/home/jens/Source/shotwell/src/Photo.vala" @@ -31631,7 +31632,7 @@ gboolean photo_enhance (Photo* self) { _pixel_transformation_bundle_unref0 (transformations); #line 4438 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 31630 "Photo.c" +#line 31631 "Photo.c" } @@ -31644,7 +31645,7 @@ gboolean photo_get_develop_raw_photos_to_files (void) { result = _tmp0_; #line 349 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 31643 "Photo.c" +#line 31644 "Photo.c" } @@ -31654,7 +31655,7 @@ void photo_set_develop_raw_photos_to_files (gboolean value) { _tmp0_ = value; #line 349 "/home/jens/Source/shotwell/src/Photo.vala" photo__develop_raw_photos_to_files = _tmp0_; -#line 31653 "Photo.c" +#line 31654 "Photo.c" } @@ -31663,7 +31664,7 @@ static void photo_real_editable_replaced (Photo* self, GFile* old_file, GFile* n g_return_if_fail ((old_file == NULL) || G_IS_FILE (old_file)); #line 358 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail ((new_file == NULL) || G_IS_FILE (new_file)); -#line 31662 "Photo.c" +#line 31663 "Photo.c" } @@ -31682,19 +31683,19 @@ static void g_cclosure_user_marshal_VOID__OBJECT_OBJECT (GClosure * closure, GVa data1 = closure->data; #line 161 "/home/jens/Source/shotwell/src/Photo.vala" data2 = param_values->data[0].v_pointer; -#line 31681 "Photo.c" +#line 31682 "Photo.c" } else { #line 161 "/home/jens/Source/shotwell/src/Photo.vala" data1 = param_values->data[0].v_pointer; #line 161 "/home/jens/Source/shotwell/src/Photo.vala" data2 = closure->data; -#line 31687 "Photo.c" +#line 31688 "Photo.c" } #line 161 "/home/jens/Source/shotwell/src/Photo.vala" callback = (GMarshalFunc_VOID__OBJECT_OBJECT) (marshal_data ? marshal_data : cc->callback); #line 161 "/home/jens/Source/shotwell/src/Photo.vala" callback (data1, g_value_get_object (param_values + 1), g_value_get_object (param_values + 2), data2); -#line 31693 "Photo.c" +#line 31694 "Photo.c" } @@ -31709,7 +31710,7 @@ static void photo_real_baseline_replaced (Photo* self) { static void photo_real_master_reimported (Photo* self, PhotoMetadata* metadata) { #line 376 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail ((metadata == NULL) || IS_PHOTO_METADATA (metadata)); -#line 31708 "Photo.c" +#line 31709 "Photo.c" } @@ -31728,47 +31729,47 @@ static void g_cclosure_user_marshal_VOID__MEDIA_METADATA (GClosure * closure, GV data1 = closure->data; #line 161 "/home/jens/Source/shotwell/src/Photo.vala" data2 = param_values->data[0].v_pointer; -#line 31727 "Photo.c" +#line 31728 "Photo.c" } else { #line 161 "/home/jens/Source/shotwell/src/Photo.vala" data1 = param_values->data[0].v_pointer; #line 161 "/home/jens/Source/shotwell/src/Photo.vala" data2 = closure->data; -#line 31733 "Photo.c" +#line 31734 "Photo.c" } #line 161 "/home/jens/Source/shotwell/src/Photo.vala" callback = (GMarshalFunc_VOID__MEDIA_METADATA) (marshal_data ? marshal_data : cc->callback); #line 161 "/home/jens/Source/shotwell/src/Photo.vala" callback (data1, value_get_media_metadata (param_values + 1), data2); -#line 31739 "Photo.c" +#line 31740 "Photo.c" } static void photo_real_editable_reimported (Photo* self, PhotoMetadata* metadata) { #line 380 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail ((metadata == NULL) || IS_PHOTO_METADATA (metadata)); -#line 31746 "Photo.c" +#line 31747 "Photo.c" } static void photo_real_baseline_reimported (Photo* self, PhotoMetadata* metadata) { #line 387 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail ((metadata == NULL) || IS_PHOTO_METADATA (metadata)); -#line 31753 "Photo.c" +#line 31754 "Photo.c" } static void photo_real_source_reimported (Photo* self, PhotoMetadata* metadata) { #line 394 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail ((metadata == NULL) || IS_PHOTO_METADATA (metadata)); -#line 31760 "Photo.c" +#line 31761 "Photo.c" } static void _photo_photo_transformation_state_impl_on_photo_baseline_replaced_photo_baseline_replaced (Photo* _sender, gpointer self) { #line 257 "/home/jens/Source/shotwell/src/Photo.vala" photo_photo_transformation_state_impl_on_photo_baseline_replaced ((PhotoPhotoTransformationStateImpl*) self); -#line 31767 "Photo.c" +#line 31768 "Photo.c" } @@ -31836,14 +31837,14 @@ static PhotoPhotoTransformationStateImpl* photo_photo_transformation_state_impl_ g_signal_connect_object (_tmp9_, "baseline-replaced", (GCallback) _photo_photo_transformation_state_impl_on_photo_baseline_replaced_photo_baseline_replaced, self, 0); #line 244 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 31835 "Photo.c" +#line 31836 "Photo.c" } static PhotoPhotoTransformationStateImpl* photo_photo_transformation_state_impl_new (Photo* photo, Orientation orientation, GeeHashMap* transformations, PixelTransformer* transformer, PixelTransformationBundle* adjustments) { #line 244 "/home/jens/Source/shotwell/src/Photo.vala" return photo_photo_transformation_state_impl_construct (PHOTO_TYPE_PHOTO_TRANSFORMATION_STATE_IMPL, photo, orientation, transformations, transformer, adjustments); -#line 31842 "Photo.c" +#line 31843 "Photo.c" } @@ -31858,7 +31859,7 @@ static Orientation photo_photo_transformation_state_impl_get_orientation (PhotoP result = _tmp0_; #line 261 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 31857 "Photo.c" +#line 31858 "Photo.c" } @@ -31876,7 +31877,7 @@ static GeeHashMap* photo_photo_transformation_state_impl_get_transformations (Ph result = _tmp1_; #line 265 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 31875 "Photo.c" +#line 31876 "Photo.c" } @@ -31890,7 +31891,7 @@ static PixelTransformer* photo_photo_transformation_state_impl_get_transformer ( _tmp1_ = self->priv->transformer; #line 269 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_ != NULL) { -#line 31889 "Photo.c" +#line 31890 "Photo.c" PixelTransformer* _tmp2_ = NULL; PixelTransformer* _tmp3_ = NULL; #line 269 "/home/jens/Source/shotwell/src/Photo.vala" @@ -31901,19 +31902,19 @@ static PixelTransformer* photo_photo_transformation_state_impl_get_transformer ( _pixel_transformer_unref0 (_tmp0_); #line 269 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = _tmp3_; -#line 31900 "Photo.c" +#line 31901 "Photo.c" } else { #line 269 "/home/jens/Source/shotwell/src/Photo.vala" _pixel_transformer_unref0 (_tmp0_); #line 269 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = NULL; -#line 31906 "Photo.c" +#line 31907 "Photo.c" } #line 269 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp0_; #line 269 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 31912 "Photo.c" +#line 31913 "Photo.c" } @@ -31927,7 +31928,7 @@ static PixelTransformationBundle* photo_photo_transformation_state_impl_get_colo _tmp1_ = self->priv->adjustments; #line 273 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_ != NULL) { -#line 31926 "Photo.c" +#line 31927 "Photo.c" PixelTransformationBundle* _tmp2_ = NULL; PixelTransformationBundle* _tmp3_ = NULL; #line 273 "/home/jens/Source/shotwell/src/Photo.vala" @@ -31938,19 +31939,19 @@ static PixelTransformationBundle* photo_photo_transformation_state_impl_get_colo _pixel_transformation_bundle_unref0 (_tmp0_); #line 273 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = _tmp3_; -#line 31937 "Photo.c" +#line 31938 "Photo.c" } else { #line 273 "/home/jens/Source/shotwell/src/Photo.vala" _pixel_transformation_bundle_unref0 (_tmp0_); #line 273 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = NULL; -#line 31943 "Photo.c" +#line 31944 "Photo.c" } #line 273 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp0_; #line 273 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 31949 "Photo.c" +#line 31950 "Photo.c" } @@ -31969,13 +31970,13 @@ static GeeHashMap* photo_photo_transformation_state_impl_copy_transformations (G result = NULL; #line 279 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 31968 "Photo.c" +#line 31969 "Photo.c" } #line 281 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, TYPE_KEY_VALUE_MAP, (GBoxedCopyFunc) key_value_map_ref, key_value_map_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); #line 281 "/home/jens/Source/shotwell/src/Photo.vala" clone = _tmp1_; -#line 31974 "Photo.c" +#line 31975 "Photo.c" { GeeIterator* _object_it = NULL; GeeHashMap* _tmp2_ = NULL; @@ -32002,7 +32003,7 @@ static GeeHashMap* photo_photo_transformation_state_impl_copy_transformations (G _object_it = _tmp7_; #line 282 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 32001 "Photo.c" +#line 32002 "Photo.c" GeeIterator* _tmp8_ = NULL; gboolean _tmp9_ = FALSE; gchar* object = NULL; @@ -32024,7 +32025,7 @@ static GeeHashMap* photo_photo_transformation_state_impl_copy_transformations (G if (!_tmp9_) { #line 282 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 32023 "Photo.c" +#line 32024 "Photo.c" } #line 282 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = _object_it; @@ -32056,17 +32057,17 @@ static GeeHashMap* photo_photo_transformation_state_impl_copy_transformations (G _key_value_map_unref0 (_tmp17_); #line 282 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (object); -#line 32055 "Photo.c" +#line 32056 "Photo.c" } #line 282 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_object_it); -#line 32059 "Photo.c" +#line 32060 "Photo.c" } #line 285 "/home/jens/Source/shotwell/src/Photo.vala" result = clone; #line 285 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 32065 "Photo.c" +#line 32066 "Photo.c" } @@ -32080,7 +32081,7 @@ static void photo_photo_transformation_state_impl_on_photo_baseline_replaced (Ph if (!_tmp0_) { #line 290 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO_TRANSFORMATION_STATE, PhotoTransformationState), "broken"); -#line 32079 "Photo.c" +#line 32080 "Photo.c" } } @@ -32092,14 +32093,14 @@ static void photo_photo_transformation_state_impl_class_init (PhotoPhotoTransfor g_type_class_add_private (klass, sizeof (PhotoPhotoTransformationStateImplPrivate)); #line 237 "/home/jens/Source/shotwell/src/Photo.vala" G_OBJECT_CLASS (klass)->finalize = photo_photo_transformation_state_impl_finalize; -#line 32091 "Photo.c" +#line 32092 "Photo.c" } static void photo_photo_transformation_state_impl_instance_init (PhotoPhotoTransformationStateImpl * self) { #line 237 "/home/jens/Source/shotwell/src/Photo.vala" self->priv = PHOTO_PHOTO_TRANSFORMATION_STATE_IMPL_GET_PRIVATE (self); -#line 32098 "Photo.c" +#line 32099 "Photo.c" } @@ -32125,7 +32126,7 @@ static void photo_photo_transformation_state_impl_finalize (GObject* obj) { _pixel_transformation_bundle_unref0 (self->priv->adjustments); #line 237 "/home/jens/Source/shotwell/src/Photo.vala" G_OBJECT_CLASS (photo_photo_transformation_state_impl_parent_class)->finalize (obj); -#line 32124 "Photo.c" +#line 32125 "Photo.c" } @@ -32147,21 +32148,21 @@ static PhotoBackingReaders* photo_backing_readers_construct (GType object_type) self = (PhotoBackingReaders*) g_type_create_instance (object_type); #line 294 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 32146 "Photo.c" +#line 32147 "Photo.c" } static PhotoBackingReaders* photo_backing_readers_new (void) { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" return photo_backing_readers_construct (PHOTO_TYPE_BACKING_READERS); -#line 32153 "Photo.c" +#line 32154 "Photo.c" } static void photo_value_backing_readers_init (GValue* value) { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 32160 "Photo.c" +#line 32161 "Photo.c" } @@ -32170,7 +32171,7 @@ static void photo_value_backing_readers_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" photo_backing_readers_unref (value->data[0].v_pointer); -#line 32169 "Photo.c" +#line 32170 "Photo.c" } } @@ -32180,11 +32181,11 @@ static void photo_value_backing_readers_copy_value (const GValue* src_value, GVa if (src_value->data[0].v_pointer) { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" dest_value->data[0].v_pointer = photo_backing_readers_ref (src_value->data[0].v_pointer); -#line 32179 "Photo.c" +#line 32180 "Photo.c" } else { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" dest_value->data[0].v_pointer = NULL; -#line 32183 "Photo.c" +#line 32184 "Photo.c" } } @@ -32192,37 +32193,37 @@ static void photo_value_backing_readers_copy_value (const GValue* src_value, GVa static gpointer photo_value_backing_readers_peek_pointer (const GValue* value) { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" return value->data[0].v_pointer; -#line 32191 "Photo.c" +#line 32192 "Photo.c" } static gchar* photo_value_backing_readers_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" if (collect_values[0].v_pointer) { -#line 32198 "Photo.c" +#line 32199 "Photo.c" PhotoBackingReaders* object; object = collect_values[0].v_pointer; #line 294 "/home/jens/Source/shotwell/src/Photo.vala" if (object->parent_instance.g_class == NULL) { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 32205 "Photo.c" +#line 32206 "Photo.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 32209 "Photo.c" +#line 32210 "Photo.c" } #line 294 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = photo_backing_readers_ref (object); -#line 32213 "Photo.c" +#line 32214 "Photo.c" } else { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 32217 "Photo.c" +#line 32218 "Photo.c" } #line 294 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 32221 "Photo.c" +#line 32222 "Photo.c" } @@ -32233,25 +32234,25 @@ static gchar* photo_value_backing_readers_lcopy_value (const GValue* value, guin if (!object_p) { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 32232 "Photo.c" +#line 32233 "Photo.c" } #line 294 "/home/jens/Source/shotwell/src/Photo.vala" if (!value->data[0].v_pointer) { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = NULL; -#line 32238 "Photo.c" +#line 32239 "Photo.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = value->data[0].v_pointer; -#line 32242 "Photo.c" +#line 32243 "Photo.c" } else { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = photo_backing_readers_ref (value->data[0].v_pointer); -#line 32246 "Photo.c" +#line 32247 "Photo.c" } #line 294 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 32250 "Photo.c" +#line 32251 "Photo.c" } @@ -32265,7 +32266,7 @@ static GParamSpec* photo_param_spec_backing_readers (const gchar* name, const gc G_PARAM_SPEC (spec)->value_type = object_type; #line 294 "/home/jens/Source/shotwell/src/Photo.vala" return G_PARAM_SPEC (spec); -#line 32264 "Photo.c" +#line 32265 "Photo.c" } @@ -32274,7 +32275,7 @@ static gpointer photo_value_get_backing_readers (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PHOTO_TYPE_BACKING_READERS), NULL); #line 294 "/home/jens/Source/shotwell/src/Photo.vala" return value->data[0].v_pointer; -#line 32273 "Photo.c" +#line 32274 "Photo.c" } @@ -32294,17 +32295,17 @@ static void photo_value_set_backing_readers (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 294 "/home/jens/Source/shotwell/src/Photo.vala" photo_backing_readers_ref (value->data[0].v_pointer); -#line 32293 "Photo.c" +#line 32294 "Photo.c" } else { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 32297 "Photo.c" +#line 32298 "Photo.c" } #line 294 "/home/jens/Source/shotwell/src/Photo.vala" if (old) { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" photo_backing_readers_unref (old); -#line 32303 "Photo.c" +#line 32304 "Photo.c" } } @@ -32323,17 +32324,17 @@ static void photo_value_take_backing_readers (GValue* value, gpointer v_object) g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 294 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = v_object; -#line 32322 "Photo.c" +#line 32323 "Photo.c" } else { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 32326 "Photo.c" +#line 32327 "Photo.c" } #line 294 "/home/jens/Source/shotwell/src/Photo.vala" if (old) { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" photo_backing_readers_unref (old); -#line 32332 "Photo.c" +#line 32333 "Photo.c" } } @@ -32343,14 +32344,14 @@ static void photo_backing_readers_class_init (PhotoBackingReadersClass * klass) photo_backing_readers_parent_class = g_type_class_peek_parent (klass); #line 294 "/home/jens/Source/shotwell/src/Photo.vala" ((PhotoBackingReadersClass *) klass)->finalize = photo_backing_readers_finalize; -#line 32342 "Photo.c" +#line 32343 "Photo.c" } static void photo_backing_readers_instance_init (PhotoBackingReaders * self) { #line 294 "/home/jens/Source/shotwell/src/Photo.vala" self->ref_count = 1; -#line 32349 "Photo.c" +#line 32350 "Photo.c" } @@ -32366,7 +32367,7 @@ static void photo_backing_readers_finalize (PhotoBackingReaders* obj) { _photo_file_adapter_unref0 (self->developer); #line 297 "/home/jens/Source/shotwell/src/Photo.vala" _photo_file_adapter_unref0 (self->editable); -#line 32365 "Photo.c" +#line 32366 "Photo.c" } @@ -32391,7 +32392,7 @@ static gpointer photo_backing_readers_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 294 "/home/jens/Source/shotwell/src/Photo.vala" return instance; -#line 32390 "Photo.c" +#line 32391 "Photo.c" } @@ -32404,7 +32405,7 @@ static void photo_backing_readers_unref (gpointer instance) { PHOTO_BACKING_READERS_GET_CLASS (self)->finalize (self); #line 294 "/home/jens/Source/shotwell/src/Photo.vala" g_type_free_instance ((GTypeInstance *) self); -#line 32403 "Photo.c" +#line 32404 "Photo.c" } } @@ -32439,21 +32440,21 @@ static PhotoCachedPixbuf* photo_cached_pixbuf_construct (GType object_type, Phot self->pixbuf = _tmp3_; #line 305 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 32438 "Photo.c" +#line 32439 "Photo.c" } static PhotoCachedPixbuf* photo_cached_pixbuf_new (Photo* photo, GdkPixbuf* pixbuf) { #line 305 "/home/jens/Source/shotwell/src/Photo.vala" return photo_cached_pixbuf_construct (PHOTO_TYPE_CACHED_PIXBUF, photo, pixbuf); -#line 32445 "Photo.c" +#line 32446 "Photo.c" } static void photo_value_cached_pixbuf_init (GValue* value) { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 32452 "Photo.c" +#line 32453 "Photo.c" } @@ -32462,7 +32463,7 @@ static void photo_value_cached_pixbuf_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" photo_cached_pixbuf_unref (value->data[0].v_pointer); -#line 32461 "Photo.c" +#line 32462 "Photo.c" } } @@ -32472,11 +32473,11 @@ static void photo_value_cached_pixbuf_copy_value (const GValue* src_value, GValu if (src_value->data[0].v_pointer) { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" dest_value->data[0].v_pointer = photo_cached_pixbuf_ref (src_value->data[0].v_pointer); -#line 32471 "Photo.c" +#line 32472 "Photo.c" } else { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" dest_value->data[0].v_pointer = NULL; -#line 32475 "Photo.c" +#line 32476 "Photo.c" } } @@ -32484,37 +32485,37 @@ static void photo_value_cached_pixbuf_copy_value (const GValue* src_value, GValu static gpointer photo_value_cached_pixbuf_peek_pointer (const GValue* value) { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" return value->data[0].v_pointer; -#line 32483 "Photo.c" +#line 32484 "Photo.c" } static gchar* photo_value_cached_pixbuf_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" if (collect_values[0].v_pointer) { -#line 32490 "Photo.c" +#line 32491 "Photo.c" PhotoCachedPixbuf* object; object = collect_values[0].v_pointer; #line 300 "/home/jens/Source/shotwell/src/Photo.vala" if (object->parent_instance.g_class == NULL) { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 32497 "Photo.c" +#line 32498 "Photo.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 32501 "Photo.c" +#line 32502 "Photo.c" } #line 300 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = photo_cached_pixbuf_ref (object); -#line 32505 "Photo.c" +#line 32506 "Photo.c" } else { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 32509 "Photo.c" +#line 32510 "Photo.c" } #line 300 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 32513 "Photo.c" +#line 32514 "Photo.c" } @@ -32525,25 +32526,25 @@ static gchar* photo_value_cached_pixbuf_lcopy_value (const GValue* value, guint if (!object_p) { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 32524 "Photo.c" +#line 32525 "Photo.c" } #line 300 "/home/jens/Source/shotwell/src/Photo.vala" if (!value->data[0].v_pointer) { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = NULL; -#line 32530 "Photo.c" +#line 32531 "Photo.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = value->data[0].v_pointer; -#line 32534 "Photo.c" +#line 32535 "Photo.c" } else { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = photo_cached_pixbuf_ref (value->data[0].v_pointer); -#line 32538 "Photo.c" +#line 32539 "Photo.c" } #line 300 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 32542 "Photo.c" +#line 32543 "Photo.c" } @@ -32557,7 +32558,7 @@ static GParamSpec* photo_param_spec_cached_pixbuf (const gchar* name, const gcha G_PARAM_SPEC (spec)->value_type = object_type; #line 300 "/home/jens/Source/shotwell/src/Photo.vala" return G_PARAM_SPEC (spec); -#line 32556 "Photo.c" +#line 32557 "Photo.c" } @@ -32566,7 +32567,7 @@ static gpointer photo_value_get_cached_pixbuf (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PHOTO_TYPE_CACHED_PIXBUF), NULL); #line 300 "/home/jens/Source/shotwell/src/Photo.vala" return value->data[0].v_pointer; -#line 32565 "Photo.c" +#line 32566 "Photo.c" } @@ -32586,17 +32587,17 @@ static void photo_value_set_cached_pixbuf (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 300 "/home/jens/Source/shotwell/src/Photo.vala" photo_cached_pixbuf_ref (value->data[0].v_pointer); -#line 32585 "Photo.c" +#line 32586 "Photo.c" } else { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 32589 "Photo.c" +#line 32590 "Photo.c" } #line 300 "/home/jens/Source/shotwell/src/Photo.vala" if (old) { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" photo_cached_pixbuf_unref (old); -#line 32595 "Photo.c" +#line 32596 "Photo.c" } } @@ -32615,17 +32616,17 @@ static void photo_value_take_cached_pixbuf (GValue* value, gpointer v_object) { g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 300 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = v_object; -#line 32614 "Photo.c" +#line 32615 "Photo.c" } else { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 32618 "Photo.c" +#line 32619 "Photo.c" } #line 300 "/home/jens/Source/shotwell/src/Photo.vala" if (old) { #line 300 "/home/jens/Source/shotwell/src/Photo.vala" photo_cached_pixbuf_unref (old); -#line 32624 "Photo.c" +#line 32625 "Photo.c" } } @@ -32635,7 +32636,7 @@ static void photo_cached_pixbuf_class_init (PhotoCachedPixbufClass * klass) { photo_cached_pixbuf_parent_class = g_type_class_peek_parent (klass); #line 300 "/home/jens/Source/shotwell/src/Photo.vala" ((PhotoCachedPixbufClass *) klass)->finalize = photo_cached_pixbuf_finalize; -#line 32634 "Photo.c" +#line 32635 "Photo.c" } @@ -32647,7 +32648,7 @@ static void photo_cached_pixbuf_instance_init (PhotoCachedPixbuf * self) { self->last_touched = _tmp0_; #line 300 "/home/jens/Source/shotwell/src/Photo.vala" self->ref_count = 1; -#line 32646 "Photo.c" +#line 32647 "Photo.c" } @@ -32663,7 +32664,7 @@ static void photo_cached_pixbuf_finalize (PhotoCachedPixbuf* obj) { _g_object_unref0 (self->pixbuf); #line 303 "/home/jens/Source/shotwell/src/Photo.vala" _g_timer_destroy0 (self->last_touched); -#line 32662 "Photo.c" +#line 32663 "Photo.c" } @@ -32688,7 +32689,7 @@ static gpointer photo_cached_pixbuf_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 300 "/home/jens/Source/shotwell/src/Photo.vala" return instance; -#line 32687 "Photo.c" +#line 32688 "Photo.c" } @@ -32701,7 +32702,7 @@ static void photo_cached_pixbuf_unref (gpointer instance) { PHOTO_CACHED_PIXBUF_GET_CLASS (self)->finalize (self); #line 300 "/home/jens/Source/shotwell/src/Photo.vala" g_type_free_instance ((GTypeInstance *) self); -#line 32700 "Photo.c" +#line 32701 "Photo.c" } } @@ -32712,14 +32713,14 @@ PhotoReimportMasterState* photo_reimport_master_state_construct (GType object_ty self = (PhotoReimportMasterState*) g_type_create_instance (object_type); #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 32711 "Photo.c" +#line 32712 "Photo.c" } static void photo_value_reimport_master_state_init (GValue* value) { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 32718 "Photo.c" +#line 32719 "Photo.c" } @@ -32728,7 +32729,7 @@ static void photo_value_reimport_master_state_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_master_state_unref (value->data[0].v_pointer); -#line 32727 "Photo.c" +#line 32728 "Photo.c" } } @@ -32738,11 +32739,11 @@ static void photo_value_reimport_master_state_copy_value (const GValue* src_valu if (src_value->data[0].v_pointer) { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" dest_value->data[0].v_pointer = photo_reimport_master_state_ref (src_value->data[0].v_pointer); -#line 32737 "Photo.c" +#line 32738 "Photo.c" } else { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" dest_value->data[0].v_pointer = NULL; -#line 32741 "Photo.c" +#line 32742 "Photo.c" } } @@ -32750,37 +32751,37 @@ static void photo_value_reimport_master_state_copy_value (const GValue* src_valu static gpointer photo_value_reimport_master_state_peek_pointer (const GValue* value) { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" return value->data[0].v_pointer; -#line 32749 "Photo.c" +#line 32750 "Photo.c" } static gchar* photo_value_reimport_master_state_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" if (collect_values[0].v_pointer) { -#line 32756 "Photo.c" +#line 32757 "Photo.c" PhotoReimportMasterState* object; object = collect_values[0].v_pointer; #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" if (object->parent_instance.g_class == NULL) { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 32763 "Photo.c" +#line 32764 "Photo.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 32767 "Photo.c" +#line 32768 "Photo.c" } #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = photo_reimport_master_state_ref (object); -#line 32771 "Photo.c" +#line 32772 "Photo.c" } else { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 32775 "Photo.c" +#line 32776 "Photo.c" } #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 32779 "Photo.c" +#line 32780 "Photo.c" } @@ -32791,25 +32792,25 @@ static gchar* photo_value_reimport_master_state_lcopy_value (const GValue* value if (!object_p) { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 32790 "Photo.c" +#line 32791 "Photo.c" } #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" if (!value->data[0].v_pointer) { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = NULL; -#line 32796 "Photo.c" +#line 32797 "Photo.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = value->data[0].v_pointer; -#line 32800 "Photo.c" +#line 32801 "Photo.c" } else { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = photo_reimport_master_state_ref (value->data[0].v_pointer); -#line 32804 "Photo.c" +#line 32805 "Photo.c" } #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 32808 "Photo.c" +#line 32809 "Photo.c" } @@ -32823,7 +32824,7 @@ GParamSpec* photo_param_spec_reimport_master_state (const gchar* name, const gch G_PARAM_SPEC (spec)->value_type = object_type; #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" return G_PARAM_SPEC (spec); -#line 32822 "Photo.c" +#line 32823 "Photo.c" } @@ -32832,7 +32833,7 @@ gpointer photo_value_get_reimport_master_state (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PHOTO_TYPE_REIMPORT_MASTER_STATE), NULL); #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" return value->data[0].v_pointer; -#line 32831 "Photo.c" +#line 32832 "Photo.c" } @@ -32852,17 +32853,17 @@ void photo_value_set_reimport_master_state (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_master_state_ref (value->data[0].v_pointer); -#line 32851 "Photo.c" +#line 32852 "Photo.c" } else { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 32855 "Photo.c" +#line 32856 "Photo.c" } #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" if (old) { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_master_state_unref (old); -#line 32861 "Photo.c" +#line 32862 "Photo.c" } } @@ -32881,17 +32882,17 @@ void photo_value_take_reimport_master_state (GValue* value, gpointer v_object) { g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = v_object; -#line 32880 "Photo.c" +#line 32881 "Photo.c" } else { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 32884 "Photo.c" +#line 32885 "Photo.c" } #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" if (old) { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_master_state_unref (old); -#line 32890 "Photo.c" +#line 32891 "Photo.c" } } @@ -32901,14 +32902,14 @@ static void photo_reimport_master_state_class_init (PhotoReimportMasterStateClas photo_reimport_master_state_parent_class = g_type_class_peek_parent (klass); #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" ((PhotoReimportMasterStateClass *) klass)->finalize = photo_reimport_master_state_finalize; -#line 32900 "Photo.c" +#line 32901 "Photo.c" } static void photo_reimport_master_state_instance_init (PhotoReimportMasterState * self) { #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" self->ref_count = 1; -#line 32907 "Photo.c" +#line 32908 "Photo.c" } @@ -32918,7 +32919,7 @@ static void photo_reimport_master_state_finalize (PhotoReimportMasterState* obj) self = G_TYPE_CHECK_INSTANCE_CAST (obj, PHOTO_TYPE_REIMPORT_MASTER_STATE, PhotoReimportMasterState); #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_handlers_destroy (self); -#line 32917 "Photo.c" +#line 32918 "Photo.c" } @@ -32943,7 +32944,7 @@ gpointer photo_reimport_master_state_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" return instance; -#line 32942 "Photo.c" +#line 32943 "Photo.c" } @@ -32956,7 +32957,7 @@ void photo_reimport_master_state_unref (gpointer instance) { PHOTO_REIMPORT_MASTER_STATE_GET_CLASS (self)->finalize (self); #line 1348 "/home/jens/Source/shotwell/src/Photo.vala" g_type_free_instance ((GTypeInstance *) self); -#line 32955 "Photo.c" +#line 32956 "Photo.c" } } @@ -32968,17 +32969,17 @@ static gchar** _vala_array_dup29 (gchar** self, int length) { result = g_new0 (gchar*, length + 1); #line 1360 "/home/jens/Source/shotwell/src/Photo.vala" for (i = 0; i < length; i++) { -#line 32967 "Photo.c" +#line 32968 "Photo.c" gchar* _tmp0_ = NULL; #line 1360 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = g_strdup (self[i]); #line 1360 "/home/jens/Source/shotwell/src/Photo.vala" result[i] = _tmp0_; -#line 32973 "Photo.c" +#line 32974 "Photo.c" } #line 1360 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 32977 "Photo.c" +#line 32978 "Photo.c" } @@ -33032,14 +33033,14 @@ static PhotoReimportMasterStateImpl* photo_reimport_master_state_impl_construct self->_alterations_size_ = self->alterations_length1; #line 1357 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 33031 "Photo.c" +#line 33032 "Photo.c" } static PhotoReimportMasterStateImpl* photo_reimport_master_state_impl_new (PhotoRow* row, PhotoMetadata* metadata, gchar** alterations, int alterations_length1) { #line 1357 "/home/jens/Source/shotwell/src/Photo.vala" return photo_reimport_master_state_impl_construct (PHOTO_TYPE_REIMPORT_MASTER_STATE_IMPL, row, metadata, alterations, alterations_length1); -#line 33038 "Photo.c" +#line 33039 "Photo.c" } @@ -33048,7 +33049,7 @@ static void photo_reimport_master_state_impl_class_init (PhotoReimportMasterStat photo_reimport_master_state_impl_parent_class = g_type_class_peek_parent (klass); #line 1351 "/home/jens/Source/shotwell/src/Photo.vala" ((PhotoReimportMasterStateClass *) klass)->finalize = photo_reimport_master_state_impl_finalize; -#line 33047 "Photo.c" +#line 33048 "Photo.c" } @@ -33060,7 +33061,7 @@ static void photo_reimport_master_state_impl_instance_init (PhotoReimportMasterS self->row = _tmp0_; #line 1355 "/home/jens/Source/shotwell/src/Photo.vala" self->metadata_only = FALSE; -#line 33059 "Photo.c" +#line 33060 "Photo.c" } @@ -33076,7 +33077,7 @@ static void photo_reimport_master_state_impl_finalize (PhotoReimportMasterState* self->alterations = (_vala_array_free (self->alterations, self->alterations_length1, (GDestroyNotify) g_free), NULL); #line 1351 "/home/jens/Source/shotwell/src/Photo.vala" PHOTO_REIMPORT_MASTER_STATE_CLASS (photo_reimport_master_state_impl_parent_class)->finalize (obj); -#line 33075 "Photo.c" +#line 33076 "Photo.c" } @@ -33098,14 +33099,14 @@ PhotoReimportEditableState* photo_reimport_editable_state_construct (GType objec self = (PhotoReimportEditableState*) g_type_create_instance (object_type); #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 33097 "Photo.c" +#line 33098 "Photo.c" } static void photo_value_reimport_editable_state_init (GValue* value) { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 33104 "Photo.c" +#line 33105 "Photo.c" } @@ -33114,7 +33115,7 @@ static void photo_value_reimport_editable_state_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_editable_state_unref (value->data[0].v_pointer); -#line 33113 "Photo.c" +#line 33114 "Photo.c" } } @@ -33124,11 +33125,11 @@ static void photo_value_reimport_editable_state_copy_value (const GValue* src_va if (src_value->data[0].v_pointer) { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" dest_value->data[0].v_pointer = photo_reimport_editable_state_ref (src_value->data[0].v_pointer); -#line 33123 "Photo.c" +#line 33124 "Photo.c" } else { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" dest_value->data[0].v_pointer = NULL; -#line 33127 "Photo.c" +#line 33128 "Photo.c" } } @@ -33136,37 +33137,37 @@ static void photo_value_reimport_editable_state_copy_value (const GValue* src_va static gpointer photo_value_reimport_editable_state_peek_pointer (const GValue* value) { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" return value->data[0].v_pointer; -#line 33135 "Photo.c" +#line 33136 "Photo.c" } static gchar* photo_value_reimport_editable_state_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" if (collect_values[0].v_pointer) { -#line 33142 "Photo.c" +#line 33143 "Photo.c" PhotoReimportEditableState* object; object = collect_values[0].v_pointer; #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" if (object->parent_instance.g_class == NULL) { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 33149 "Photo.c" +#line 33150 "Photo.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 33153 "Photo.c" +#line 33154 "Photo.c" } #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = photo_reimport_editable_state_ref (object); -#line 33157 "Photo.c" +#line 33158 "Photo.c" } else { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 33161 "Photo.c" +#line 33162 "Photo.c" } #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 33165 "Photo.c" +#line 33166 "Photo.c" } @@ -33177,25 +33178,25 @@ static gchar* photo_value_reimport_editable_state_lcopy_value (const GValue* val if (!object_p) { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 33176 "Photo.c" +#line 33177 "Photo.c" } #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" if (!value->data[0].v_pointer) { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = NULL; -#line 33182 "Photo.c" +#line 33183 "Photo.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = value->data[0].v_pointer; -#line 33186 "Photo.c" +#line 33187 "Photo.c" } else { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = photo_reimport_editable_state_ref (value->data[0].v_pointer); -#line 33190 "Photo.c" +#line 33191 "Photo.c" } #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 33194 "Photo.c" +#line 33195 "Photo.c" } @@ -33209,7 +33210,7 @@ GParamSpec* photo_param_spec_reimport_editable_state (const gchar* name, const g G_PARAM_SPEC (spec)->value_type = object_type; #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" return G_PARAM_SPEC (spec); -#line 33208 "Photo.c" +#line 33209 "Photo.c" } @@ -33218,7 +33219,7 @@ gpointer photo_value_get_reimport_editable_state (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PHOTO_TYPE_REIMPORT_EDITABLE_STATE), NULL); #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" return value->data[0].v_pointer; -#line 33217 "Photo.c" +#line 33218 "Photo.c" } @@ -33238,17 +33239,17 @@ void photo_value_set_reimport_editable_state (GValue* value, gpointer v_object) value->data[0].v_pointer = v_object; #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_editable_state_ref (value->data[0].v_pointer); -#line 33237 "Photo.c" +#line 33238 "Photo.c" } else { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 33241 "Photo.c" +#line 33242 "Photo.c" } #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" if (old) { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_editable_state_unref (old); -#line 33247 "Photo.c" +#line 33248 "Photo.c" } } @@ -33267,17 +33268,17 @@ void photo_value_take_reimport_editable_state (GValue* value, gpointer v_object) g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = v_object; -#line 33266 "Photo.c" +#line 33267 "Photo.c" } else { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 33270 "Photo.c" +#line 33271 "Photo.c" } #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" if (old) { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_editable_state_unref (old); -#line 33276 "Photo.c" +#line 33277 "Photo.c" } } @@ -33287,14 +33288,14 @@ static void photo_reimport_editable_state_class_init (PhotoReimportEditableState photo_reimport_editable_state_parent_class = g_type_class_peek_parent (klass); #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" ((PhotoReimportEditableStateClass *) klass)->finalize = photo_reimport_editable_state_finalize; -#line 33286 "Photo.c" +#line 33287 "Photo.c" } static void photo_reimport_editable_state_instance_init (PhotoReimportEditableState * self) { #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" self->ref_count = 1; -#line 33293 "Photo.c" +#line 33294 "Photo.c" } @@ -33304,7 +33305,7 @@ static void photo_reimport_editable_state_finalize (PhotoReimportEditableState* self = G_TYPE_CHECK_INSTANCE_CAST (obj, PHOTO_TYPE_REIMPORT_EDITABLE_STATE, PhotoReimportEditableState); #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_handlers_destroy (self); -#line 33303 "Photo.c" +#line 33304 "Photo.c" } @@ -33329,7 +33330,7 @@ gpointer photo_reimport_editable_state_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" return instance; -#line 33328 "Photo.c" +#line 33329 "Photo.c" } @@ -33342,7 +33343,7 @@ void photo_reimport_editable_state_unref (gpointer instance) { PHOTO_REIMPORT_EDITABLE_STATE_GET_CLASS (self)->finalize (self); #line 1364 "/home/jens/Source/shotwell/src/Photo.vala" g_type_free_instance ((GTypeInstance *) self); -#line 33341 "Photo.c" +#line 33342 "Photo.c" } } @@ -33377,14 +33378,14 @@ static PhotoReimportEditableStateImpl* photo_reimport_editable_state_impl_constr self->metadata = _tmp3_; #line 1372 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 33376 "Photo.c" +#line 33377 "Photo.c" } static PhotoReimportEditableStateImpl* photo_reimport_editable_state_impl_new (BackingPhotoRow* backing_state, PhotoMetadata* metadata) { #line 1372 "/home/jens/Source/shotwell/src/Photo.vala" return photo_reimport_editable_state_impl_construct (PHOTO_TYPE_REIMPORT_EDITABLE_STATE_IMPL, backing_state, metadata); -#line 33383 "Photo.c" +#line 33384 "Photo.c" } @@ -33393,7 +33394,7 @@ static void photo_reimport_editable_state_impl_class_init (PhotoReimportEditable photo_reimport_editable_state_impl_parent_class = g_type_class_peek_parent (klass); #line 1367 "/home/jens/Source/shotwell/src/Photo.vala" ((PhotoReimportEditableStateClass *) klass)->finalize = photo_reimport_editable_state_impl_finalize; -#line 33392 "Photo.c" +#line 33393 "Photo.c" } @@ -33405,7 +33406,7 @@ static void photo_reimport_editable_state_impl_instance_init (PhotoReimportEdita self->backing_state = _tmp0_; #line 1370 "/home/jens/Source/shotwell/src/Photo.vala" self->metadata_only = FALSE; -#line 33404 "Photo.c" +#line 33405 "Photo.c" } @@ -33419,7 +33420,7 @@ static void photo_reimport_editable_state_impl_finalize (PhotoReimportEditableSt _media_metadata_unref0 (self->metadata); #line 1367 "/home/jens/Source/shotwell/src/Photo.vala" PHOTO_REIMPORT_EDITABLE_STATE_CLASS (photo_reimport_editable_state_impl_parent_class)->finalize (obj); -#line 33418 "Photo.c" +#line 33419 "Photo.c" } @@ -33441,14 +33442,14 @@ PhotoReimportRawDevelopmentState* photo_reimport_raw_development_state_construct self = (PhotoReimportRawDevelopmentState*) g_type_create_instance (object_type); #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 33440 "Photo.c" +#line 33441 "Photo.c" } static void photo_value_reimport_raw_development_state_init (GValue* value) { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 33447 "Photo.c" +#line 33448 "Photo.c" } @@ -33457,7 +33458,7 @@ static void photo_value_reimport_raw_development_state_free_value (GValue* value if (value->data[0].v_pointer) { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_raw_development_state_unref (value->data[0].v_pointer); -#line 33456 "Photo.c" +#line 33457 "Photo.c" } } @@ -33467,11 +33468,11 @@ static void photo_value_reimport_raw_development_state_copy_value (const GValue* if (src_value->data[0].v_pointer) { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" dest_value->data[0].v_pointer = photo_reimport_raw_development_state_ref (src_value->data[0].v_pointer); -#line 33466 "Photo.c" +#line 33467 "Photo.c" } else { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" dest_value->data[0].v_pointer = NULL; -#line 33470 "Photo.c" +#line 33471 "Photo.c" } } @@ -33479,37 +33480,37 @@ static void photo_value_reimport_raw_development_state_copy_value (const GValue* static gpointer photo_value_reimport_raw_development_state_peek_pointer (const GValue* value) { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" return value->data[0].v_pointer; -#line 33478 "Photo.c" +#line 33479 "Photo.c" } static gchar* photo_value_reimport_raw_development_state_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" if (collect_values[0].v_pointer) { -#line 33485 "Photo.c" +#line 33486 "Photo.c" PhotoReimportRawDevelopmentState* object; object = collect_values[0].v_pointer; #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" if (object->parent_instance.g_class == NULL) { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 33492 "Photo.c" +#line 33493 "Photo.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 33496 "Photo.c" +#line 33497 "Photo.c" } #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = photo_reimport_raw_development_state_ref (object); -#line 33500 "Photo.c" +#line 33501 "Photo.c" } else { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 33504 "Photo.c" +#line 33505 "Photo.c" } #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 33508 "Photo.c" +#line 33509 "Photo.c" } @@ -33520,25 +33521,25 @@ static gchar* photo_value_reimport_raw_development_state_lcopy_value (const GVal if (!object_p) { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 33519 "Photo.c" +#line 33520 "Photo.c" } #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" if (!value->data[0].v_pointer) { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = NULL; -#line 33525 "Photo.c" +#line 33526 "Photo.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = value->data[0].v_pointer; -#line 33529 "Photo.c" +#line 33530 "Photo.c" } else { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = photo_reimport_raw_development_state_ref (value->data[0].v_pointer); -#line 33533 "Photo.c" +#line 33534 "Photo.c" } #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 33537 "Photo.c" +#line 33538 "Photo.c" } @@ -33552,7 +33553,7 @@ GParamSpec* photo_param_spec_reimport_raw_development_state (const gchar* name, G_PARAM_SPEC (spec)->value_type = object_type; #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" return G_PARAM_SPEC (spec); -#line 33551 "Photo.c" +#line 33552 "Photo.c" } @@ -33561,7 +33562,7 @@ gpointer photo_value_get_reimport_raw_development_state (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PHOTO_TYPE_REIMPORT_RAW_DEVELOPMENT_STATE), NULL); #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" return value->data[0].v_pointer; -#line 33560 "Photo.c" +#line 33561 "Photo.c" } @@ -33581,17 +33582,17 @@ void photo_value_set_reimport_raw_development_state (GValue* value, gpointer v_o value->data[0].v_pointer = v_object; #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_raw_development_state_ref (value->data[0].v_pointer); -#line 33580 "Photo.c" +#line 33581 "Photo.c" } else { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 33584 "Photo.c" +#line 33585 "Photo.c" } #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" if (old) { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_raw_development_state_unref (old); -#line 33590 "Photo.c" +#line 33591 "Photo.c" } } @@ -33610,17 +33611,17 @@ void photo_value_take_reimport_raw_development_state (GValue* value, gpointer v_ g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = v_object; -#line 33609 "Photo.c" +#line 33610 "Photo.c" } else { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 33613 "Photo.c" +#line 33614 "Photo.c" } #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" if (old) { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_raw_development_state_unref (old); -#line 33619 "Photo.c" +#line 33620 "Photo.c" } } @@ -33630,14 +33631,14 @@ static void photo_reimport_raw_development_state_class_init (PhotoReimportRawDev photo_reimport_raw_development_state_parent_class = g_type_class_peek_parent (klass); #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" ((PhotoReimportRawDevelopmentStateClass *) klass)->finalize = photo_reimport_raw_development_state_finalize; -#line 33629 "Photo.c" +#line 33630 "Photo.c" } static void photo_reimport_raw_development_state_instance_init (PhotoReimportRawDevelopmentState * self) { #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" self->ref_count = 1; -#line 33636 "Photo.c" +#line 33637 "Photo.c" } @@ -33647,7 +33648,7 @@ static void photo_reimport_raw_development_state_finalize (PhotoReimportRawDevel self = G_TYPE_CHECK_INSTANCE_CAST (obj, PHOTO_TYPE_REIMPORT_RAW_DEVELOPMENT_STATE, PhotoReimportRawDevelopmentState); #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_handlers_destroy (self); -#line 33646 "Photo.c" +#line 33647 "Photo.c" } @@ -33672,7 +33673,7 @@ gpointer photo_reimport_raw_development_state_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" return instance; -#line 33671 "Photo.c" +#line 33672 "Photo.c" } @@ -33685,7 +33686,7 @@ void photo_reimport_raw_development_state_unref (gpointer instance) { PHOTO_REIMPORT_RAW_DEVELOPMENT_STATE_GET_CLASS (self)->finalize (self); #line 1378 "/home/jens/Source/shotwell/src/Photo.vala" g_type_free_instance ((GTypeInstance *) self); -#line 33684 "Photo.c" +#line 33685 "Photo.c" } } @@ -33696,14 +33697,14 @@ static PhotoReimportRawDevelopmentStateImpl* photo_reimport_raw_development_stat self = (PhotoReimportRawDevelopmentStateImpl*) photo_reimport_raw_development_state_construct (object_type); #line 1395 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 33695 "Photo.c" +#line 33696 "Photo.c" } static PhotoReimportRawDevelopmentStateImpl* photo_reimport_raw_development_state_impl_new (void) { #line 1395 "/home/jens/Source/shotwell/src/Photo.vala" return photo_reimport_raw_development_state_impl_construct (PHOTO_TYPE_REIMPORT_RAW_DEVELOPMENT_STATE_IMPL); -#line 33702 "Photo.c" +#line 33703 "Photo.c" } @@ -33733,7 +33734,7 @@ static void photo_reimport_raw_development_state_impl_add (PhotoReimportRawDevel gee_collection_add (_tmp0_, _tmp4_); #line 1399 "/home/jens/Source/shotwell/src/Photo.vala" _photo_reimport_raw_development_state_impl_dev_to_reimport_unref0 (_tmp4_); -#line 33732 "Photo.c" +#line 33733 "Photo.c" } @@ -33754,7 +33755,7 @@ static gint photo_reimport_raw_development_state_impl_get_size (PhotoReimportRaw result = _tmp2_; #line 1403 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 33753 "Photo.c" +#line 33754 "Photo.c" } @@ -33788,21 +33789,21 @@ static PhotoReimportRawDevelopmentStateImplDevToReimport* photo_reimport_raw_dev self->metadata = _tmp3_; #line 1386 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 33787 "Photo.c" +#line 33788 "Photo.c" } static PhotoReimportRawDevelopmentStateImplDevToReimport* photo_reimport_raw_development_state_impl_dev_to_reimport_new (BackingPhotoRow* backing, PhotoMetadata* metadata) { #line 1386 "/home/jens/Source/shotwell/src/Photo.vala" return photo_reimport_raw_development_state_impl_dev_to_reimport_construct (PHOTO_REIMPORT_RAW_DEVELOPMENT_STATE_IMPL_TYPE_DEV_TO_REIMPORT, backing, metadata); -#line 33794 "Photo.c" +#line 33795 "Photo.c" } static void photo_reimport_raw_development_state_impl_value_dev_to_reimport_init (GValue* value) { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 33801 "Photo.c" +#line 33802 "Photo.c" } @@ -33811,7 +33812,7 @@ static void photo_reimport_raw_development_state_impl_value_dev_to_reimport_free if (value->data[0].v_pointer) { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_raw_development_state_impl_dev_to_reimport_unref (value->data[0].v_pointer); -#line 33810 "Photo.c" +#line 33811 "Photo.c" } } @@ -33821,11 +33822,11 @@ static void photo_reimport_raw_development_state_impl_value_dev_to_reimport_copy if (src_value->data[0].v_pointer) { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" dest_value->data[0].v_pointer = photo_reimport_raw_development_state_impl_dev_to_reimport_ref (src_value->data[0].v_pointer); -#line 33820 "Photo.c" +#line 33821 "Photo.c" } else { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" dest_value->data[0].v_pointer = NULL; -#line 33824 "Photo.c" +#line 33825 "Photo.c" } } @@ -33833,37 +33834,37 @@ static void photo_reimport_raw_development_state_impl_value_dev_to_reimport_copy static gpointer photo_reimport_raw_development_state_impl_value_dev_to_reimport_peek_pointer (const GValue* value) { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" return value->data[0].v_pointer; -#line 33832 "Photo.c" +#line 33833 "Photo.c" } static gchar* photo_reimport_raw_development_state_impl_value_dev_to_reimport_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" if (collect_values[0].v_pointer) { -#line 33839 "Photo.c" +#line 33840 "Photo.c" PhotoReimportRawDevelopmentStateImplDevToReimport* object; object = collect_values[0].v_pointer; #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" if (object->parent_instance.g_class == NULL) { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 33846 "Photo.c" +#line 33847 "Photo.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 33850 "Photo.c" +#line 33851 "Photo.c" } #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = photo_reimport_raw_development_state_impl_dev_to_reimport_ref (object); -#line 33854 "Photo.c" +#line 33855 "Photo.c" } else { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 33858 "Photo.c" +#line 33859 "Photo.c" } #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 33862 "Photo.c" +#line 33863 "Photo.c" } @@ -33874,25 +33875,25 @@ static gchar* photo_reimport_raw_development_state_impl_value_dev_to_reimport_lc if (!object_p) { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 33873 "Photo.c" +#line 33874 "Photo.c" } #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" if (!value->data[0].v_pointer) { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = NULL; -#line 33879 "Photo.c" +#line 33880 "Photo.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = value->data[0].v_pointer; -#line 33883 "Photo.c" +#line 33884 "Photo.c" } else { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" *object_p = photo_reimport_raw_development_state_impl_dev_to_reimport_ref (value->data[0].v_pointer); -#line 33887 "Photo.c" +#line 33888 "Photo.c" } #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 33891 "Photo.c" +#line 33892 "Photo.c" } @@ -33906,7 +33907,7 @@ static GParamSpec* photo_reimport_raw_development_state_impl_param_spec_dev_to_r G_PARAM_SPEC (spec)->value_type = object_type; #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" return G_PARAM_SPEC (spec); -#line 33905 "Photo.c" +#line 33906 "Photo.c" } @@ -33915,7 +33916,7 @@ static gpointer photo_reimport_raw_development_state_impl_value_get_dev_to_reimp g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PHOTO_REIMPORT_RAW_DEVELOPMENT_STATE_IMPL_TYPE_DEV_TO_REIMPORT), NULL); #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" return value->data[0].v_pointer; -#line 33914 "Photo.c" +#line 33915 "Photo.c" } @@ -33935,17 +33936,17 @@ static void photo_reimport_raw_development_state_impl_value_set_dev_to_reimport value->data[0].v_pointer = v_object; #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_raw_development_state_impl_dev_to_reimport_ref (value->data[0].v_pointer); -#line 33934 "Photo.c" +#line 33935 "Photo.c" } else { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 33938 "Photo.c" +#line 33939 "Photo.c" } #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" if (old) { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_raw_development_state_impl_dev_to_reimport_unref (old); -#line 33944 "Photo.c" +#line 33945 "Photo.c" } } @@ -33964,17 +33965,17 @@ static void photo_reimport_raw_development_state_impl_value_take_dev_to_reimport g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = v_object; -#line 33963 "Photo.c" +#line 33964 "Photo.c" } else { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" value->data[0].v_pointer = NULL; -#line 33967 "Photo.c" +#line 33968 "Photo.c" } #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" if (old) { #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" photo_reimport_raw_development_state_impl_dev_to_reimport_unref (old); -#line 33973 "Photo.c" +#line 33974 "Photo.c" } } @@ -33984,7 +33985,7 @@ static void photo_reimport_raw_development_state_impl_dev_to_reimport_class_init photo_reimport_raw_development_state_impl_dev_to_reimport_parent_class = g_type_class_peek_parent (klass); #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" ((PhotoReimportRawDevelopmentStateImplDevToReimportClass *) klass)->finalize = photo_reimport_raw_development_state_impl_dev_to_reimport_finalize; -#line 33983 "Photo.c" +#line 33984 "Photo.c" } @@ -33996,7 +33997,7 @@ static void photo_reimport_raw_development_state_impl_dev_to_reimport_instance_i self->backing = _tmp0_; #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" self->ref_count = 1; -#line 33995 "Photo.c" +#line 33996 "Photo.c" } @@ -34010,7 +34011,7 @@ static void photo_reimport_raw_development_state_impl_dev_to_reimport_finalize ( _backing_photo_row_unref0 (self->backing); #line 1384 "/home/jens/Source/shotwell/src/Photo.vala" _media_metadata_unref0 (self->metadata); -#line 34009 "Photo.c" +#line 34010 "Photo.c" } @@ -34035,7 +34036,7 @@ static gpointer photo_reimport_raw_development_state_impl_dev_to_reimport_ref (g g_atomic_int_inc (&self->ref_count); #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" return instance; -#line 34034 "Photo.c" +#line 34035 "Photo.c" } @@ -34048,7 +34049,7 @@ static void photo_reimport_raw_development_state_impl_dev_to_reimport_unref (gpo PHOTO_REIMPORT_RAW_DEVELOPMENT_STATE_IMPL_DEV_TO_REIMPORT_GET_CLASS (self)->finalize (self); #line 1382 "/home/jens/Source/shotwell/src/Photo.vala" g_type_free_instance ((GTypeInstance *) self); -#line 34047 "Photo.c" +#line 34048 "Photo.c" } } @@ -34058,7 +34059,7 @@ static void photo_reimport_raw_development_state_impl_class_init (PhotoReimportR photo_reimport_raw_development_state_impl_parent_class = g_type_class_peek_parent (klass); #line 1381 "/home/jens/Source/shotwell/src/Photo.vala" ((PhotoReimportRawDevelopmentStateClass *) klass)->finalize = photo_reimport_raw_development_state_impl_finalize; -#line 34057 "Photo.c" +#line 34058 "Photo.c" } @@ -34070,7 +34071,7 @@ static void photo_reimport_raw_development_state_impl_instance_init (PhotoReimpo self->list = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection); #line 1393 "/home/jens/Source/shotwell/src/Photo.vala" self->metadata_only = FALSE; -#line 34069 "Photo.c" +#line 34070 "Photo.c" } @@ -34082,7 +34083,7 @@ static void photo_reimport_raw_development_state_impl_finalize (PhotoReimportRaw _g_object_unref0 (self->list); #line 1381 "/home/jens/Source/shotwell/src/Photo.vala" PHOTO_REIMPORT_RAW_DEVELOPMENT_STATE_CLASS (photo_reimport_raw_development_state_impl_parent_class)->finalize (obj); -#line 34081 "Photo.c" +#line 34082 "Photo.c" } @@ -34225,7 +34226,7 @@ static void photo_class_init (PhotoClass * klass) { g_signal_new ("source_reimported", TYPE_PHOTO, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (PhotoClass, source_reimported), NULL, NULL, g_cclosure_user_marshal_VOID__MEDIA_METADATA, G_TYPE_NONE, 1, TYPE_PHOTO_METADATA); #line 326 "/home/jens/Source/shotwell/src/Photo.vala" g_rec_mutex_init (&__lock_photo_source_pixbuf_cache); -#line 34224 "Photo.c" +#line 34225 "Photo.c" } @@ -34236,7 +34237,7 @@ static void photo_dateable_interface_init (DateableIface * iface) { iface->get_exposure_time = (time_t (*)(Dateable*)) photo_real_get_exposure_time; #line 161 "/home/jens/Source/shotwell/src/Photo.vala" iface->set_exposure_time = (void (*)(Dateable*, time_t)) photo_real_set_exposure_time; -#line 34235 "Photo.c" +#line 34236 "Photo.c" } @@ -34279,7 +34280,7 @@ static void photo_instance_init (Photo * self) { self->priv->developments = NULL; #line 353 "/home/jens/Source/shotwell/src/Photo.vala" self->backing_photo_row = NULL; -#line 34278 "Photo.c" +#line 34279 "Photo.c" } @@ -34319,7 +34320,7 @@ static void photo_finalize (GObject* obj) { _backing_photo_row_unref0 (self->backing_photo_row); #line 161 "/home/jens/Source/shotwell/src/Photo.vala" G_OBJECT_CLASS (photo_parent_class)->finalize (obj); -#line 34318 "Photo.c" +#line 34319 "Photo.c" } @@ -34342,13 +34343,13 @@ static void _vala_photo_get_property (GObject * object, guint property_id, GValu self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_PHOTO, Photo); #line 161 "/home/jens/Source/shotwell/src/Photo.vala" switch (property_id) { -#line 34341 "Photo.c" +#line 34342 "Photo.c" default: #line 161 "/home/jens/Source/shotwell/src/Photo.vala" G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); #line 161 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 34347 "Photo.c" +#line 34348 "Photo.c" } } @@ -34358,13 +34359,13 @@ static void _vala_photo_set_property (GObject * object, guint property_id, const self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_PHOTO, Photo); #line 161 "/home/jens/Source/shotwell/src/Photo.vala" switch (property_id) { -#line 34357 "Photo.c" +#line 34358 "Photo.c" default: #line 161 "/home/jens/Source/shotwell/src/Photo.vala" G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); #line 161 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 34363 "Photo.c" +#line 34364 "Photo.c" } } @@ -34386,7 +34387,7 @@ static guint _file_hash_gee_hash_data_func (gconstpointer v, gpointer self) { result = file_hash ((GFile*) v); #line 4462 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 34385 "Photo.c" +#line 34386 "Photo.c" } @@ -34395,7 +34396,7 @@ static gboolean _file_equal_gee_equal_data_func (gconstpointer a, gconstpointer result = file_equal ((GFile*) a, (GFile*) b); #line 4462 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 34394 "Photo.c" +#line 34395 "Photo.c" } @@ -34404,7 +34405,7 @@ static gint _int64_compare_gcompare_data_func (gconstpointer a, gconstpointer b, result = int64_compare ((gint64*) a, (gint64*) b); #line 4466 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 34403 "Photo.c" +#line 34404 "Photo.c" } @@ -34416,7 +34417,7 @@ static gint64* _int64_dup (gint64* self) { memcpy (dup, self, sizeof (gint64)); #line 4466 "/home/jens/Source/shotwell/src/Photo.vala" return dup; -#line 34415 "Photo.c" +#line 34416 "Photo.c" } @@ -34425,7 +34426,7 @@ static gboolean _int64_equal_gee_equal_data_func (gconstpointer a, gconstpointer result = int64_equal ((gint64*) a, (gint64*) b); #line 4468 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 34424 "Photo.c" +#line 34425 "Photo.c" } @@ -34434,21 +34435,21 @@ static gint64 _photo_get_photo_key_get_source_database_key (DataSource* source, result = photo_get_photo_key (source); #line 4488 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 34433 "Photo.c" +#line 34434 "Photo.c" } static void _library_photo_source_collection_on_trashcan_contents_altered_source_holding_tank_contents_altered (SourceHoldingTank* _sender, GeeCollection* added, GeeCollection* removed, gpointer self) { #line 4490 "/home/jens/Source/shotwell/src/Photo.vala" library_photo_source_collection_on_trashcan_contents_altered ((LibraryPhotoSourceCollection*) self, added, removed); -#line 34440 "Photo.c" +#line 34441 "Photo.c" } static void _library_photo_source_collection_on_offline_contents_altered_source_holding_tank_contents_altered (SourceHoldingTank* _sender, GeeCollection* added, GeeCollection* removed, gpointer self) { #line 4491 "/home/jens/Source/shotwell/src/Photo.vala" library_photo_source_collection_on_offline_contents_altered ((LibraryPhotoSourceCollection*) self, added, removed); -#line 34447 "Photo.c" +#line 34448 "Photo.c" } @@ -34478,14 +34479,14 @@ LibraryPhotoSourceCollection* library_photo_source_collection_construct (GType o _source_holding_tank_unref0 (_tmp3_); #line 4487 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 34477 "Photo.c" +#line 34478 "Photo.c" } LibraryPhotoSourceCollection* library_photo_source_collection_new (void) { #line 4487 "/home/jens/Source/shotwell/src/Photo.vala" return library_photo_source_collection_construct (TYPE_LIBRARY_PHOTO_SOURCE_COLLECTION); -#line 34484 "Photo.c" +#line 34485 "Photo.c" } @@ -34494,7 +34495,7 @@ static gboolean _library_photo_source_collection_check_if_trashed_photo_source_h result = library_photo_source_collection_check_if_trashed_photo ((LibraryPhotoSourceCollection*) self, source, alteration); #line 4495 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 34493 "Photo.c" +#line 34494 "Photo.c" } @@ -34510,7 +34511,7 @@ static MediaSourceHoldingTank* library_photo_source_collection_real_create_trash result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_MEDIA_SOURCE_HOLDING_TANK, MediaSourceHoldingTank); #line 4495 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 34509 "Photo.c" +#line 34510 "Photo.c" } @@ -34519,7 +34520,7 @@ static gboolean _library_photo_source_collection_check_if_offline_photo_source_h result = library_photo_source_collection_check_if_offline_photo ((LibraryPhotoSourceCollection*) self, source, alteration); #line 4499 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 34518 "Photo.c" +#line 34519 "Photo.c" } @@ -34535,7 +34536,7 @@ static MediaSourceHoldingTank* library_photo_source_collection_real_create_offli result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_MEDIA_SOURCE_HOLDING_TANK, MediaSourceHoldingTank); #line 4499 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 34534 "Photo.c" +#line 34535 "Photo.c" } @@ -34561,7 +34562,7 @@ static MediaMonitor* library_photo_source_collection_real_create_media_monitor ( result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_MEDIA_MONITOR, MediaMonitor); #line 4503 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 34560 "Photo.c" +#line 34561 "Photo.c" } @@ -34579,7 +34580,7 @@ static gboolean library_photo_source_collection_real_holds_type_of_source (Sourc result = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_LIBRARY_PHOTO); #line 4507 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 34578 "Photo.c" +#line 34579 "Photo.c" } @@ -34595,7 +34596,7 @@ static gchar* library_photo_source_collection_real_get_typename (MediaSourceColl result = _tmp0_; #line 4511 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 34594 "Photo.c" +#line 34595 "Photo.c" } @@ -34616,21 +34617,21 @@ static gboolean library_photo_source_collection_real_is_file_recognized (MediaSo result = _tmp1_; #line 4515 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 34615 "Photo.c" +#line 34616 "Photo.c" } static void _library_photo_source_collection_on_editable_replaced_photo_editable_replaced (Photo* _sender, GFile* old_file, GFile* new_file, gpointer self) { #line 4527 "/home/jens/Source/shotwell/src/Photo.vala" library_photo_source_collection_on_editable_replaced ((LibraryPhotoSourceCollection*) self, _sender, old_file, new_file); -#line 34622 "Photo.c" +#line 34623 "Photo.c" } static void _library_photo_source_collection_on_raw_development_modified_photo_raw_development_modified (Photo* _sender, gpointer self) { #line 4533 "/home/jens/Source/shotwell/src/Photo.vala" library_photo_source_collection_on_raw_development_modified ((LibraryPhotoSourceCollection*) self, _sender); -#line 34629 "Photo.c" +#line 34630 "Photo.c" } @@ -34650,7 +34651,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp0_ = added; #line 4520 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp0_ != NULL) { -#line 34649 "Photo.c" +#line 34650 "Photo.c" { GeeIterator* _object_it = NULL; GeeIterable* _tmp1_ = NULL; @@ -34663,7 +34664,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _object_it = _tmp2_; #line 4521 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 34662 "Photo.c" +#line 34663 "Photo.c" GeeIterator* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; DataObject* object = NULL; @@ -34713,7 +34714,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo if (!_tmp4_) { #line 4521 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 34712 "Photo.c" +#line 34713 "Photo.c" } #line 4521 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = _object_it; @@ -34737,7 +34738,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp11_ = editable; #line 4525 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp11_ != NULL) { -#line 34736 "Photo.c" +#line 34737 "Photo.c" GeeHashMap* _tmp12_ = NULL; GFile* _tmp13_ = NULL; LibraryPhoto* _tmp14_ = NULL; @@ -34749,7 +34750,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp14_ = photo; #line 4526 "/home/jens/Source/shotwell/src/Photo.vala" gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp13_, _tmp14_); -#line 34748 "Photo.c" +#line 34749 "Photo.c" } #line 4527 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = photo; @@ -34765,7 +34766,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp18_ = raw_list; #line 4530 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp18_ != NULL) { -#line 34764 "Photo.c" +#line 34765 "Photo.c" { GeeIterator* _f_it = NULL; GeeCollection* _tmp19_ = NULL; @@ -34778,7 +34779,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _f_it = _tmp20_; #line 4531 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 34777 "Photo.c" +#line 34778 "Photo.c" GeeIterator* _tmp21_ = NULL; gboolean _tmp22_ = FALSE; GFile* f = NULL; @@ -34795,7 +34796,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo if (!_tmp22_) { #line 4531 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 34794 "Photo.c" +#line 34795 "Photo.c" } #line 4531 "/home/jens/Source/shotwell/src/Photo.vala" _tmp23_ = _f_it; @@ -34813,11 +34814,11 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp26_, _tmp27_); #line 4531 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (f); -#line 34812 "Photo.c" +#line 34813 "Photo.c" } #line 4531 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_f_it); -#line 34816 "Photo.c" +#line 34817 "Photo.c" } } #line 4533 "/home/jens/Source/shotwell/src/Photo.vala" @@ -34850,7 +34851,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _backing_photo_row_unref0 (_tmp37_); #line 4536 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp38_) { -#line 34849 "Photo.c" +#line 34850 "Photo.c" LibraryPhoto* _tmp39_ = NULL; BackingPhotoRow* _tmp40_ = NULL; BackingPhotoRow* _tmp41_ = NULL; @@ -34867,11 +34868,11 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp34_ = _tmp42_; #line 4537 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_tmp41_); -#line 34866 "Photo.c" +#line 34867 "Photo.c" } else { #line 4538 "/home/jens/Source/shotwell/src/Photo.vala" _tmp34_ = (gint64) -1; -#line 34870 "Photo.c" +#line 34871 "Photo.c" } #line 4536 "/home/jens/Source/shotwell/src/Photo.vala" editable_filesize = _tmp34_; @@ -34895,7 +34896,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp49_ = editable_filesize; #line 4541 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp49_ >= ((gint64) 0)) { -#line 34894 "Photo.c" +#line 34895 "Photo.c" GeeMultiMap* _tmp50_ = NULL; gint64 _tmp51_ = 0LL; LibraryPhoto* _tmp52_ = NULL; @@ -34918,7 +34919,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp55_ = editable_filesize; #line 4543 "/home/jens/Source/shotwell/src/Photo.vala" gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp54_, &_tmp55_); -#line 34917 "Photo.c" +#line 34918 "Photo.c" } #line 4546 "/home/jens/Source/shotwell/src/Photo.vala" _tmp56_ = photo; @@ -34930,7 +34931,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp58_ = raw_rows; #line 4547 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp58_ != NULL) { -#line 34929 "Photo.c" +#line 34930 "Photo.c" { GeeIterator* _row_it = NULL; GeeCollection* _tmp59_ = NULL; @@ -34943,7 +34944,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _row_it = _tmp60_; #line 4548 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 34942 "Photo.c" +#line 34943 "Photo.c" GeeIterator* _tmp61_ = NULL; gboolean _tmp62_ = FALSE; BackingPhotoRow* row = NULL; @@ -34959,7 +34960,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo if (!_tmp62_) { #line 4548 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 34958 "Photo.c" +#line 34959 "Photo.c" } #line 4548 "/home/jens/Source/shotwell/src/Photo.vala" _tmp63_ = _row_it; @@ -34973,7 +34974,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp66_ = _tmp65_->filesize; #line 4549 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp66_ >= ((gint64) 0)) { -#line 34972 "Photo.c" +#line 34973 "Photo.c" GeeMultiMap* _tmp67_ = NULL; BackingPhotoRow* _tmp68_ = NULL; gint64 _tmp69_ = 0LL; @@ -35002,15 +35003,15 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp74_ = _tmp73_->filesize; #line 4551 "/home/jens/Source/shotwell/src/Photo.vala" gee_multi_map_set (_tmp71_, _tmp72_, &_tmp74_); -#line 35001 "Photo.c" +#line 35002 "Photo.c" } #line 4548 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (row); -#line 35005 "Photo.c" +#line 35006 "Photo.c" } #line 4548 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_row_it); -#line 35009 "Photo.c" +#line 35010 "Photo.c" } } #line 4521 "/home/jens/Source/shotwell/src/Photo.vala" @@ -35023,18 +35024,18 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _g_object_unref0 (photo); #line 4521 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (object); -#line 35022 "Photo.c" +#line 35023 "Photo.c" } #line 4521 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_object_it); -#line 35026 "Photo.c" +#line 35027 "Photo.c" } } #line 4558 "/home/jens/Source/shotwell/src/Photo.vala" _tmp75_ = removed; #line 4558 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp75_ != NULL) { -#line 35033 "Photo.c" +#line 35034 "Photo.c" { GeeIterator* _object_it = NULL; GeeIterable* _tmp76_ = NULL; @@ -35047,7 +35048,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _object_it = _tmp77_; #line 4559 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 35046 "Photo.c" +#line 35047 "Photo.c" GeeIterator* _tmp78_ = NULL; gboolean _tmp79_ = FALSE; DataObject* object = NULL; @@ -35098,7 +35099,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo if (!_tmp79_) { #line 4559 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 35097 "Photo.c" +#line 35098 "Photo.c" } #line 4559 "/home/jens/Source/shotwell/src/Photo.vala" _tmp80_ = _object_it; @@ -35122,7 +35123,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp86_ = editable; #line 4563 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp86_ != NULL) { -#line 35121 "Photo.c" +#line 35122 "Photo.c" gboolean is_removed = FALSE; GeeHashMap* _tmp87_ = NULL; LibraryPhoto* _tmp88_ = NULL; @@ -35151,7 +35152,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp93_ = is_removed; #line 4565 "/home/jens/Source/shotwell/src/Photo.vala" _vala_assert (_tmp93_, "is_removed"); -#line 35150 "Photo.c" +#line 35151 "Photo.c" } #line 4567 "/home/jens/Source/shotwell/src/Photo.vala" _tmp94_ = photo; @@ -35169,7 +35170,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp98_ = raw_list; #line 4570 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp98_ != NULL) { -#line 35168 "Photo.c" +#line 35169 "Photo.c" { GeeIterator* _f_it = NULL; GeeCollection* _tmp99_ = NULL; @@ -35182,7 +35183,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _f_it = _tmp100_; #line 4571 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 35181 "Photo.c" +#line 35182 "Photo.c" GeeIterator* _tmp101_ = NULL; gboolean _tmp102_ = FALSE; GFile* f = NULL; @@ -35198,7 +35199,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo if (!_tmp102_) { #line 4571 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 35197 "Photo.c" +#line 35198 "Photo.c" } #line 4571 "/home/jens/Source/shotwell/src/Photo.vala" _tmp103_ = _f_it; @@ -35214,11 +35215,11 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo gee_abstract_map_unset (G_TYPE_CHECK_INSTANCE_CAST (_tmp105_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp106_, NULL); #line 4571 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (f); -#line 35213 "Photo.c" +#line 35214 "Photo.c" } #line 4571 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_f_it); -#line 35217 "Photo.c" +#line 35218 "Photo.c" } } #line 4573 "/home/jens/Source/shotwell/src/Photo.vala" @@ -35253,7 +35254,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _backing_photo_row_unref0 (_tmp117_); #line 4576 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp118_) { -#line 35252 "Photo.c" +#line 35253 "Photo.c" LibraryPhoto* _tmp119_ = NULL; BackingPhotoRow* _tmp120_ = NULL; BackingPhotoRow* _tmp121_ = NULL; @@ -35270,11 +35271,11 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp114_ = _tmp122_; #line 4577 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_tmp121_); -#line 35269 "Photo.c" +#line 35270 "Photo.c" } else { #line 4578 "/home/jens/Source/shotwell/src/Photo.vala" _tmp114_ = (gint64) -1; -#line 35273 "Photo.c" +#line 35274 "Photo.c" } #line 4576 "/home/jens/Source/shotwell/src/Photo.vala" editable_filesize = _tmp114_; @@ -35296,7 +35297,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp128_ = editable_filesize; #line 4581 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp128_ >= ((gint64) 0)) { -#line 35295 "Photo.c" +#line 35296 "Photo.c" GeeMultiMap* _tmp129_ = NULL; gint64 _tmp130_ = 0LL; LibraryPhoto* _tmp131_ = NULL; @@ -35316,7 +35317,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp133_ = photo; #line 4583 "/home/jens/Source/shotwell/src/Photo.vala" gee_abstract_map_unset (G_TYPE_CHECK_INSTANCE_CAST (_tmp132_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp133_, NULL); -#line 35315 "Photo.c" +#line 35316 "Photo.c" } #line 4586 "/home/jens/Source/shotwell/src/Photo.vala" _tmp134_ = photo; @@ -35328,7 +35329,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp136_ = raw_rows; #line 4587 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp136_ != NULL) { -#line 35327 "Photo.c" +#line 35328 "Photo.c" { GeeIterator* _row_it = NULL; GeeCollection* _tmp137_ = NULL; @@ -35341,7 +35342,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _row_it = _tmp138_; #line 4588 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 35340 "Photo.c" +#line 35341 "Photo.c" GeeIterator* _tmp139_ = NULL; gboolean _tmp140_ = FALSE; BackingPhotoRow* row = NULL; @@ -35357,7 +35358,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo if (!_tmp140_) { #line 4588 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 35356 "Photo.c" +#line 35357 "Photo.c" } #line 4588 "/home/jens/Source/shotwell/src/Photo.vala" _tmp141_ = _row_it; @@ -35371,7 +35372,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp144_ = _tmp143_->filesize; #line 4589 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp144_ >= ((gint64) 0)) { -#line 35370 "Photo.c" +#line 35371 "Photo.c" GeeMultiMap* _tmp145_ = NULL; BackingPhotoRow* _tmp146_ = NULL; gint64 _tmp147_ = 0LL; @@ -35400,15 +35401,15 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp152_ = _tmp151_->filesize; #line 4591 "/home/jens/Source/shotwell/src/Photo.vala" gee_multi_map_remove (_tmp149_, _tmp150_, &_tmp152_); -#line 35399 "Photo.c" +#line 35400 "Photo.c" } #line 4588 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (row); -#line 35403 "Photo.c" +#line 35404 "Photo.c" } #line 4588 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_row_it); -#line 35407 "Photo.c" +#line 35408 "Photo.c" } } #line 4559 "/home/jens/Source/shotwell/src/Photo.vala" @@ -35421,11 +35422,11 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _g_object_unref0 (photo); #line 4559 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (object); -#line 35420 "Photo.c" +#line 35421 "Photo.c" } #line 4559 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_object_it); -#line 35424 "Photo.c" +#line 35425 "Photo.c" } } #line 4598 "/home/jens/Source/shotwell/src/Photo.vala" @@ -35434,7 +35435,7 @@ static void library_photo_source_collection_real_notify_contents_altered (DataCo _tmp154_ = removed; #line 4598 "/home/jens/Source/shotwell/src/Photo.vala" DATA_COLLECTION_CLASS (library_photo_source_collection_parent_class)->notify_contents_altered (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), TYPE_DATA_COLLECTION, DataCollection), _tmp153_, _tmp154_); -#line 35433 "Photo.c" +#line 35434 "Photo.c" } @@ -35453,7 +35454,7 @@ static void library_photo_source_collection_on_editable_replaced (LibraryPhotoSo _tmp0_ = old_file; #line 4602 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp0_ != NULL) { -#line 35452 "Photo.c" +#line 35453 "Photo.c" gboolean is_removed = FALSE; GeeHashMap* _tmp1_ = NULL; GFile* _tmp2_ = NULL; @@ -35471,13 +35472,13 @@ static void library_photo_source_collection_on_editable_replaced (LibraryPhotoSo _tmp4_ = is_removed; #line 4604 "/home/jens/Source/shotwell/src/Photo.vala" _vala_assert (_tmp4_, "is_removed"); -#line 35470 "Photo.c" +#line 35471 "Photo.c" } #line 4607 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = new_file; #line 4607 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp5_ != NULL) { -#line 35476 "Photo.c" +#line 35477 "Photo.c" GeeHashMap* _tmp6_ = NULL; GFile* _tmp7_ = NULL; Photo* _tmp8_ = NULL; @@ -35489,7 +35490,7 @@ static void library_photo_source_collection_on_editable_replaced (LibraryPhotoSo _tmp8_ = photo; #line 4608 "/home/jens/Source/shotwell/src/Photo.vala" gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp7_, G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_LIBRARY_PHOTO, LibraryPhoto)); -#line 35488 "Photo.c" +#line 35489 "Photo.c" } } @@ -35528,7 +35529,7 @@ static void library_photo_source_collection_on_raw_development_modified (Library _g_object_unref0 (photo); #line 4614 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 35527 "Photo.c" +#line 35528 "Photo.c" } #line 4617 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = self->priv->photo_to_raw_development_filesize; @@ -35538,7 +35539,7 @@ static void library_photo_source_collection_on_raw_development_modified (Library _tmp5_ = gee_multi_map_contains (_tmp3_, _tmp4_); #line 4617 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp5_) { -#line 35537 "Photo.c" +#line 35538 "Photo.c" GeeMultiMap* _tmp21_ = NULL; LibraryPhoto* _tmp22_ = NULL; { @@ -35567,7 +35568,7 @@ static void library_photo_source_collection_on_raw_development_modified (Library _s_it = _tmp11_; #line 4618 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 35566 "Photo.c" +#line 35567 "Photo.c" GeeIterator* _tmp12_ = NULL; gboolean _tmp13_ = FALSE; gint64 s = 0LL; @@ -35586,7 +35587,7 @@ static void library_photo_source_collection_on_raw_development_modified (Library if (!_tmp13_) { #line 4618 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 35585 "Photo.c" +#line 35586 "Photo.c" } #line 4618 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = _s_it; @@ -35608,11 +35609,11 @@ static void library_photo_source_collection_on_raw_development_modified (Library _tmp20_ = photo; #line 4619 "/home/jens/Source/shotwell/src/Photo.vala" gee_multi_map_remove (_tmp18_, &_tmp19_, _tmp20_); -#line 35607 "Photo.c" +#line 35608 "Photo.c" } #line 4618 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_s_it); -#line 35611 "Photo.c" +#line 35612 "Photo.c" } #line 4620 "/home/jens/Source/shotwell/src/Photo.vala" _tmp21_ = self->priv->photo_to_raw_development_filesize; @@ -35620,7 +35621,7 @@ static void library_photo_source_collection_on_raw_development_modified (Library _tmp22_ = photo; #line 4620 "/home/jens/Source/shotwell/src/Photo.vala" gee_multi_map_remove_all (_tmp21_, _tmp22_); -#line 35619 "Photo.c" +#line 35620 "Photo.c" } #line 4624 "/home/jens/Source/shotwell/src/Photo.vala" _tmp23_ = photo; @@ -35632,7 +35633,7 @@ static void library_photo_source_collection_on_raw_development_modified (Library _tmp25_ = raw_list; #line 4625 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp25_ != NULL) { -#line 35631 "Photo.c" +#line 35632 "Photo.c" { GeeIterator* _f_it = NULL; GeeCollection* _tmp26_ = NULL; @@ -35645,7 +35646,7 @@ static void library_photo_source_collection_on_raw_development_modified (Library _f_it = _tmp27_; #line 4626 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 35644 "Photo.c" +#line 35645 "Photo.c" GeeIterator* _tmp28_ = NULL; gboolean _tmp29_ = FALSE; GFile* f = NULL; @@ -35662,7 +35663,7 @@ static void library_photo_source_collection_on_raw_development_modified (Library if (!_tmp29_) { #line 4626 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 35661 "Photo.c" +#line 35662 "Photo.c" } #line 4626 "/home/jens/Source/shotwell/src/Photo.vala" _tmp30_ = _f_it; @@ -35680,11 +35681,11 @@ static void library_photo_source_collection_on_raw_development_modified (Library gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp33_, _tmp34_); #line 4626 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (f); -#line 35679 "Photo.c" +#line 35680 "Photo.c" } #line 4626 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_f_it); -#line 35683 "Photo.c" +#line 35684 "Photo.c" } } #line 4629 "/home/jens/Source/shotwell/src/Photo.vala" @@ -35697,7 +35698,7 @@ static void library_photo_source_collection_on_raw_development_modified (Library _tmp37_ = raw_rows; #line 4630 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp37_ != NULL) { -#line 35696 "Photo.c" +#line 35697 "Photo.c" { GeeIterator* _row_it = NULL; GeeCollection* _tmp38_ = NULL; @@ -35710,7 +35711,7 @@ static void library_photo_source_collection_on_raw_development_modified (Library _row_it = _tmp39_; #line 4631 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 35709 "Photo.c" +#line 35710 "Photo.c" GeeIterator* _tmp40_ = NULL; gboolean _tmp41_ = FALSE; BackingPhotoRow* row = NULL; @@ -35726,7 +35727,7 @@ static void library_photo_source_collection_on_raw_development_modified (Library if (!_tmp41_) { #line 4631 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 35725 "Photo.c" +#line 35726 "Photo.c" } #line 4631 "/home/jens/Source/shotwell/src/Photo.vala" _tmp42_ = _row_it; @@ -35740,7 +35741,7 @@ static void library_photo_source_collection_on_raw_development_modified (Library _tmp45_ = _tmp44_->filesize; #line 4632 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp45_ > ((gint64) 0)) { -#line 35739 "Photo.c" +#line 35740 "Photo.c" GeeMultiMap* _tmp46_ = NULL; BackingPhotoRow* _tmp47_ = NULL; gint64 _tmp48_ = 0LL; @@ -35769,15 +35770,15 @@ static void library_photo_source_collection_on_raw_development_modified (Library _tmp53_ = _tmp52_->filesize; #line 4634 "/home/jens/Source/shotwell/src/Photo.vala" gee_multi_map_set (_tmp50_, _tmp51_, &_tmp53_); -#line 35768 "Photo.c" +#line 35769 "Photo.c" } #line 4631 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (row); -#line 35772 "Photo.c" +#line 35773 "Photo.c" } #line 4631 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_row_it); -#line 35776 "Photo.c" +#line 35777 "Photo.c" } } #line 4611 "/home/jens/Source/shotwell/src/Photo.vala" @@ -35786,14 +35787,14 @@ static void library_photo_source_collection_on_raw_development_modified (Library _g_object_unref0 (raw_list); #line 4611 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (photo); -#line 35785 "Photo.c" +#line 35786 "Photo.c" } static gpointer __int64_dup0 (gpointer self) { #line 4650 "/home/jens/Source/shotwell/src/Photo.vala" return self ? _int64_dup (self) : NULL; -#line 35792 "Photo.c" +#line 35793 "Photo.c" } @@ -35804,7 +35805,7 @@ static void library_photo_source_collection_real_items_altered (DataCollection* self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO_SOURCE_COLLECTION, LibraryPhotoSourceCollection); #line 4640 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail (GEE_IS_MAP (items)); -#line 35803 "Photo.c" +#line 35804 "Photo.c" { GeeIterator* _object_it = NULL; GeeMap* _tmp0_ = NULL; @@ -35831,7 +35832,7 @@ static void library_photo_source_collection_real_items_altered (DataCollection* _object_it = _tmp5_; #line 4641 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 35830 "Photo.c" +#line 35831 "Photo.c" GeeIterator* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; DataObject* object = NULL; @@ -35855,7 +35856,7 @@ static void library_photo_source_collection_real_items_altered (DataCollection* if (!_tmp7_) { #line 4641 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 35854 "Photo.c" +#line 35855 "Photo.c" } #line 4641 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = _object_it; @@ -35885,7 +35886,7 @@ static void library_photo_source_collection_real_items_altered (DataCollection* if (_tmp17_) { #line 4646 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = TRUE; -#line 35884 "Photo.c" +#line 35885 "Photo.c" } else { Alteration* _tmp18_ = NULL; gboolean _tmp19_ = FALSE; @@ -35895,11 +35896,11 @@ static void library_photo_source_collection_real_items_altered (DataCollection* _tmp19_ = alteration_has_detail (_tmp18_, "image", "editable"); #line 4646 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = _tmp19_; -#line 35894 "Photo.c" +#line 35895 "Photo.c" } #line 4646 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp15_) { -#line 35898 "Photo.c" +#line 35899 "Photo.c" gint64 old_master_filesize = 0LL; GeeHashMap* _tmp20_ = NULL; LibraryPhoto* _tmp21_ = NULL; @@ -35958,7 +35959,7 @@ static void library_photo_source_collection_real_items_altered (DataCollection* _tmp28_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp27_); #line 4648 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp28_) { -#line 35957 "Photo.c" +#line 35958 "Photo.c" GeeHashMap* _tmp29_ = NULL; LibraryPhoto* _tmp30_ = NULL; gpointer _tmp31_ = NULL; @@ -35972,7 +35973,7 @@ static void library_photo_source_collection_real_items_altered (DataCollection* _g_free0 (_tmp25_); #line 4649 "/home/jens/Source/shotwell/src/Photo.vala" _tmp25_ = (gint64*) _tmp31_; -#line 35971 "Photo.c" +#line 35972 "Photo.c" } else { gint64 _tmp32_ = 0LL; gint64* _tmp33_ = NULL; @@ -35984,7 +35985,7 @@ static void library_photo_source_collection_real_items_altered (DataCollection* _g_free0 (_tmp25_); #line 4650 "/home/jens/Source/shotwell/src/Photo.vala" _tmp25_ = _tmp33_; -#line 35983 "Photo.c" +#line 35984 "Photo.c" } #line 4648 "/home/jens/Source/shotwell/src/Photo.vala" old_editable_filesize = *_tmp25_; @@ -36006,7 +36007,7 @@ static void library_photo_source_collection_real_items_altered (DataCollection* _tmp39_ = old_editable_filesize; #line 4654 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp39_ >= ((gint64) 0)) { -#line 36005 "Photo.c" +#line 36006 "Photo.c" GeeHashMap* _tmp40_ = NULL; LibraryPhoto* _tmp41_ = NULL; GeeMultiMap* _tmp42_ = NULL; @@ -36026,7 +36027,7 @@ static void library_photo_source_collection_real_items_altered (DataCollection* _tmp44_ = photo; #line 4656 "/home/jens/Source/shotwell/src/Photo.vala" gee_multi_map_remove (_tmp42_, &_tmp43_, _tmp44_); -#line 36025 "Photo.c" +#line 36026 "Photo.c" } #line 4659 "/home/jens/Source/shotwell/src/Photo.vala" _tmp45_ = photo; @@ -36054,7 +36055,7 @@ static void library_photo_source_collection_real_items_altered (DataCollection* _backing_photo_row_unref0 (_tmp53_); #line 4660 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp54_) { -#line 36053 "Photo.c" +#line 36054 "Photo.c" LibraryPhoto* _tmp55_ = NULL; BackingPhotoRow* _tmp56_ = NULL; BackingPhotoRow* _tmp57_ = NULL; @@ -36071,11 +36072,11 @@ static void library_photo_source_collection_real_items_altered (DataCollection* _tmp50_ = _tmp58_; #line 4661 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (_tmp57_); -#line 36070 "Photo.c" +#line 36071 "Photo.c" } else { #line 4662 "/home/jens/Source/shotwell/src/Photo.vala" _tmp50_ = (gint64) -1; -#line 36074 "Photo.c" +#line 36075 "Photo.c" } #line 4660 "/home/jens/Source/shotwell/src/Photo.vala" editable_filesize = _tmp50_; @@ -36099,7 +36100,7 @@ static void library_photo_source_collection_real_items_altered (DataCollection* _tmp65_ = editable_filesize; #line 4665 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp65_ >= ((gint64) 0)) { -#line 36098 "Photo.c" +#line 36099 "Photo.c" GeeHashMap* _tmp66_ = NULL; LibraryPhoto* _tmp67_ = NULL; gint64 _tmp68_ = 0LL; @@ -36122,11 +36123,11 @@ static void library_photo_source_collection_real_items_altered (DataCollection* _tmp71_ = photo; #line 4667 "/home/jens/Source/shotwell/src/Photo.vala" gee_multi_map_set (_tmp69_, &_tmp70_, _tmp71_); -#line 36121 "Photo.c" +#line 36122 "Photo.c" } #line 4646 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (_tmp25_); -#line 36125 "Photo.c" +#line 36126 "Photo.c" } #line 4641 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (photo); @@ -36134,17 +36135,17 @@ static void library_photo_source_collection_real_items_altered (DataCollection* _alteration_unref0 (alteration); #line 4641 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (object); -#line 36133 "Photo.c" +#line 36134 "Photo.c" } #line 4641 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_object_it); -#line 36137 "Photo.c" +#line 36138 "Photo.c" } #line 4672 "/home/jens/Source/shotwell/src/Photo.vala" _tmp72_ = items; #line 4672 "/home/jens/Source/shotwell/src/Photo.vala" DATA_COLLECTION_CLASS (library_photo_source_collection_parent_class)->items_altered (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), TYPE_DATA_COLLECTION, DataCollection), _tmp72_); -#line 36143 "Photo.c" +#line 36144 "Photo.c" } @@ -36161,7 +36162,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _tmp0_ = gee_hash_multi_map_new (TYPE_TAG, (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); #line 4677 "/home/jens/Source/shotwell/src/Photo.vala" map = _tmp0_; -#line 36160 "Photo.c" +#line 36161 "Photo.c" { GeeIterator* _media_it = NULL; GeeCollection* _tmp1_ = NULL; @@ -36174,7 +36175,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _media_it = _tmp2_; #line 4678 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 36173 "Photo.c" +#line 36174 "Photo.c" GeeIterator* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; MediaSource* media = NULL; @@ -36205,7 +36206,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med if (!_tmp4_) { #line 4678 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 36204 "Photo.c" +#line 36205 "Photo.c" } #line 4678 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = _media_it; @@ -36237,7 +36238,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _tmp13_ = photo_metadata_has_hierarchical_keywords (_tmp12_); #line 4691 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp13_) { -#line 36236 "Photo.c" +#line 36237 "Photo.c" PhotoMetadata* _tmp14_ = NULL; GeeSet* _tmp15_ = NULL; GeeSet* _tmp16_ = NULL; @@ -36256,7 +36257,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med htag_index = _tmp17_; #line 4692 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp16_); -#line 36255 "Photo.c" +#line 36256 "Photo.c" } #line 4696 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = photo; @@ -36270,7 +36271,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _g_object_unref0 (_tmp20_); #line 4696 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp21_) { -#line 36269 "Photo.c" +#line 36270 "Photo.c" { GeeIterator* _keyword_it = NULL; LibraryPhoto* _tmp22_ = NULL; @@ -36294,7 +36295,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _keyword_it = _tmp26_; #line 4697 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 36293 "Photo.c" +#line 36294 "Photo.c" GeeIterator* _tmp27_ = NULL; gboolean _tmp28_ = FALSE; gchar* keyword = NULL; @@ -36317,7 +36318,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med if (!_tmp28_) { #line 4697 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 36316 "Photo.c" +#line 36317 "Photo.c" } #line 4697 "/home/jens/Source/shotwell/src/Photo.vala" _tmp29_ = _keyword_it; @@ -36329,7 +36330,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _tmp32_ = htag_index; #line 4698 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp32_ != NULL) { -#line 36328 "Photo.c" +#line 36329 "Photo.c" HierarchicalTagIndex* _tmp33_ = NULL; const gchar* _tmp34_ = NULL; gboolean _tmp35_ = FALSE; @@ -36341,11 +36342,11 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _tmp35_ = hierarchical_tag_index_is_tag_in_index (_tmp33_, _tmp34_); #line 4698 "/home/jens/Source/shotwell/src/Photo.vala" _tmp31_ = _tmp35_; -#line 36340 "Photo.c" +#line 36341 "Photo.c" } else { #line 4698 "/home/jens/Source/shotwell/src/Photo.vala" _tmp31_ = FALSE; -#line 36344 "Photo.c" +#line 36345 "Photo.c" } #line 4698 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp31_) { @@ -36353,7 +36354,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _g_free0 (keyword); #line 4699 "/home/jens/Source/shotwell/src/Photo.vala" continue; -#line 36352 "Photo.c" +#line 36353 "Photo.c" } #line 4701 "/home/jens/Source/shotwell/src/Photo.vala" _tmp36_ = keyword; @@ -36369,7 +36370,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _tmp40_ = hierarchical_tag_index_is_tag_in_index (_tmp38_, _tmp39_); #line 4703 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp40_) { -#line 36368 "Photo.c" +#line 36369 "Photo.c" gchar* most_derived_path = NULL; HierarchicalTagIndex* _tmp41_ = NULL; const gchar* _tmp42_ = NULL; @@ -36409,13 +36410,13 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _g_free0 (keyword); #line 4706 "/home/jens/Source/shotwell/src/Photo.vala" continue; -#line 36408 "Photo.c" +#line 36409 "Photo.c" } #line 4709 "/home/jens/Source/shotwell/src/Photo.vala" _tmp49_ = name; #line 4709 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp49_ != NULL) { -#line 36414 "Photo.c" +#line 36415 "Photo.c" GeeHashMultiMap* _tmp50_ = NULL; const gchar* _tmp51_ = NULL; Tag* _tmp52_ = NULL; @@ -36435,17 +36436,17 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med gee_multi_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, GEE_TYPE_MULTI_MAP, GeeMultiMap), _tmp53_, _tmp54_); #line 4710 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp53_); -#line 36434 "Photo.c" +#line 36435 "Photo.c" } #line 4697 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (name); #line 4697 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (keyword); -#line 36440 "Photo.c" +#line 36441 "Photo.c" } #line 4697 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_keyword_it); -#line 36444 "Photo.c" +#line 36445 "Photo.c" } } #line 4714 "/home/jens/Source/shotwell/src/Photo.vala" @@ -36454,7 +36455,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _tmp56_ = photo_metadata_has_hierarchical_keywords (_tmp55_); #line 4714 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp56_) { -#line 36453 "Photo.c" +#line 36454 "Photo.c" { GeeIterator* _path_it = NULL; HierarchicalTagIndex* _tmp57_ = NULL; @@ -36478,7 +36479,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _path_it = _tmp61_; #line 4715 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 36477 "Photo.c" +#line 36478 "Photo.c" GeeIterator* _tmp62_ = NULL; gboolean _tmp63_ = FALSE; gchar* path = NULL; @@ -36496,7 +36497,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med if (!_tmp63_) { #line 4715 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 36495 "Photo.c" +#line 36496 "Photo.c" } #line 4715 "/home/jens/Source/shotwell/src/Photo.vala" _tmp64_ = _path_it; @@ -36514,7 +36515,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _tmp68_ = name; #line 4717 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp68_ != NULL) { -#line 36513 "Photo.c" +#line 36514 "Photo.c" GeeHashMultiMap* _tmp69_ = NULL; const gchar* _tmp70_ = NULL; Tag* _tmp71_ = NULL; @@ -36534,17 +36535,17 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med gee_multi_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, GEE_TYPE_MULTI_MAP, GeeMultiMap), _tmp72_, _tmp73_); #line 4718 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp72_); -#line 36533 "Photo.c" +#line 36534 "Photo.c" } #line 4715 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (name); #line 4715 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (path); -#line 36539 "Photo.c" +#line 36540 "Photo.c" } #line 4715 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_path_it); -#line 36543 "Photo.c" +#line 36544 "Photo.c" } } #line 4678 "/home/jens/Source/shotwell/src/Photo.vala" @@ -36557,11 +36558,11 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _g_object_unref0 (photo); #line 4678 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (media); -#line 36556 "Photo.c" +#line 36557 "Photo.c" } #line 4678 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_media_it); -#line 36560 "Photo.c" +#line 36561 "Photo.c" } { GeeIterator* _media_it = NULL; @@ -36575,7 +36576,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _media_it = _tmp75_; #line 4723 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 36574 "Photo.c" +#line 36575 "Photo.c" GeeIterator* _tmp76_ = NULL; gboolean _tmp77_ = FALSE; MediaSource* media = NULL; @@ -36593,7 +36594,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med if (!_tmp77_) { #line 4723 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 36592 "Photo.c" +#line 36593 "Photo.c" } #line 4723 "/home/jens/Source/shotwell/src/Photo.vala" _tmp78_ = _media_it; @@ -36615,11 +36616,11 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _g_object_unref0 (photo); #line 4723 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (media); -#line 36614 "Photo.c" +#line 36615 "Photo.c" } #line 4723 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_media_it); -#line 36618 "Photo.c" +#line 36619 "Photo.c" } { GeeIterator* _tag_it = NULL; @@ -36644,7 +36645,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _tag_it = _tmp87_; #line 4728 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 36643 "Photo.c" +#line 36644 "Photo.c" GeeIterator* _tmp88_ = NULL; gboolean _tmp89_ = FALSE; Tag* tag = NULL; @@ -36663,7 +36664,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med if (!_tmp89_) { #line 4728 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 36662 "Photo.c" +#line 36663 "Photo.c" } #line 4728 "/home/jens/Source/shotwell/src/Photo.vala" _tmp90_ = _tag_it; @@ -36687,11 +36688,11 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med _g_object_unref0 (_tmp96_); #line 4728 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (tag); -#line 36686 "Photo.c" +#line 36687 "Photo.c" } #line 4728 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tag_it); -#line 36690 "Photo.c" +#line 36691 "Photo.c" } #line 4731 "/home/jens/Source/shotwell/src/Photo.vala" _tmp97_ = media_sources; @@ -36699,7 +36700,7 @@ static void library_photo_source_collection_real_postprocess_imported_media (Med MEDIA_SOURCE_COLLECTION_CLASS (library_photo_source_collection_parent_class)->postprocess_imported_media (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), _tmp97_); #line 4676 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (map); -#line 36698 "Photo.c" +#line 36699 "Photo.c" } @@ -36716,7 +36717,7 @@ static void library_photo_source_collection_real_notify_master_reimported (Libra _tmp1_ = metadata; #line 4736 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_emit_by_name (self, "master-reimported", _tmp0_, _tmp1_); -#line 36715 "Photo.c" +#line 36716 "Photo.c" } @@ -36725,7 +36726,7 @@ void library_photo_source_collection_notify_master_reimported (LibraryPhotoSourc g_return_if_fail (IS_LIBRARY_PHOTO_SOURCE_COLLECTION (self)); #line 4735 "/home/jens/Source/shotwell/src/Photo.vala" LIBRARY_PHOTO_SOURCE_COLLECTION_GET_CLASS (self)->notify_master_reimported (self, photo, metadata); -#line 36724 "Photo.c" +#line 36725 "Photo.c" } @@ -36742,7 +36743,7 @@ static void library_photo_source_collection_real_notify_editable_reimported (Lib _tmp1_ = metadata; #line 4741 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_emit_by_name (self, "editable-reimported", _tmp0_, _tmp1_); -#line 36741 "Photo.c" +#line 36742 "Photo.c" } @@ -36751,7 +36752,7 @@ void library_photo_source_collection_notify_editable_reimported (LibraryPhotoSou g_return_if_fail (IS_LIBRARY_PHOTO_SOURCE_COLLECTION (self)); #line 4740 "/home/jens/Source/shotwell/src/Photo.vala" LIBRARY_PHOTO_SOURCE_COLLECTION_GET_CLASS (self)->notify_editable_reimported (self, photo, metadata); -#line 36750 "Photo.c" +#line 36751 "Photo.c" } @@ -36768,7 +36769,7 @@ static void library_photo_source_collection_real_notify_source_reimported (Libra _tmp1_ = metadata; #line 4746 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_emit_by_name (self, "source-reimported", _tmp0_, _tmp1_); -#line 36767 "Photo.c" +#line 36768 "Photo.c" } @@ -36777,7 +36778,7 @@ void library_photo_source_collection_notify_source_reimported (LibraryPhotoSourc g_return_if_fail (IS_LIBRARY_PHOTO_SOURCE_COLLECTION (self)); #line 4745 "/home/jens/Source/shotwell/src/Photo.vala" LIBRARY_PHOTO_SOURCE_COLLECTION_GET_CLASS (self)->notify_source_reimported (self, photo, metadata); -#line 36776 "Photo.c" +#line 36777 "Photo.c" } @@ -36794,7 +36795,7 @@ static void library_photo_source_collection_real_notify_baseline_reimported (Lib _tmp1_ = metadata; #line 4751 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_emit_by_name (self, "baseline-reimported", _tmp0_, _tmp1_); -#line 36793 "Photo.c" +#line 36794 "Photo.c" } @@ -36803,7 +36804,7 @@ void library_photo_source_collection_notify_baseline_reimported (LibraryPhotoSou g_return_if_fail (IS_LIBRARY_PHOTO_SOURCE_COLLECTION (self)); #line 4750 "/home/jens/Source/shotwell/src/Photo.vala" LIBRARY_PHOTO_SOURCE_COLLECTION_GET_CLASS (self)->notify_baseline_reimported (self, photo, metadata); -#line 36802 "Photo.c" +#line 36803 "Photo.c" } @@ -36825,7 +36826,7 @@ static MediaSource* library_photo_source_collection_real_fetch_by_numeric_id (Me result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_MEDIA_SOURCE, MediaSource); #line 4755 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 36824 "Photo.c" +#line 36825 "Photo.c" } @@ -36844,7 +36845,7 @@ static void library_photo_source_collection_on_trashcan_contents_altered (Librar _tmp1_ = removed; #line 4760 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), "trashcan-contents-altered", G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 36843 "Photo.c" +#line 36844 "Photo.c" } @@ -36866,7 +36867,7 @@ static gboolean library_photo_source_collection_check_if_trashed_photo (LibraryP result = _tmp1_; #line 4765 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 36865 "Photo.c" +#line 36866 "Photo.c" } @@ -36885,7 +36886,7 @@ static void library_photo_source_collection_on_offline_contents_altered (Library _tmp1_ = removed; #line 4770 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), "offline-contents-altered", G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 36884 "Photo.c" +#line 36885 "Photo.c" } @@ -36907,7 +36908,7 @@ static gboolean library_photo_source_collection_check_if_offline_photo (LibraryP result = _tmp1_; #line 4775 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 36906 "Photo.c" +#line 36907 "Photo.c" } @@ -36930,7 +36931,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { _tmp3_ = end; #line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { -#line 36929 "Photo.c" +#line 36930 "Photo.c" glong _tmp4_ = 0L; #line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; @@ -36938,7 +36939,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { result = _tmp4_; #line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 36937 "Photo.c" +#line 36938 "Photo.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; @@ -36950,7 +36951,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { result = (glong) (_tmp5_ - _tmp6_); #line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 36949 "Photo.c" +#line 36950 "Photo.c" } } @@ -36974,21 +36975,21 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp1_ = offset; #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { -#line 36973 "Photo.c" +#line 36974 "Photo.c" glong _tmp2_ = 0L; #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); -#line 36979 "Photo.c" +#line 36980 "Photo.c" } else { #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; -#line 36983 "Photo.c" +#line 36984 "Photo.c" } #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { -#line 36987 "Photo.c" +#line 36988 "Photo.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; @@ -37000,7 +37001,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); #line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; -#line 36999 "Photo.c" +#line 37000 "Photo.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; @@ -37010,13 +37011,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp7_ = _tmp6_; #line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; -#line 37009 "Photo.c" +#line 37010 "Photo.c" } #line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; #line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { -#line 37015 "Photo.c" +#line 37016 "Photo.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; @@ -37030,7 +37031,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp11_ = offset; #line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); -#line 37029 "Photo.c" +#line 37030 "Photo.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; @@ -37040,13 +37041,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp13_ = string_length; #line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); -#line 37039 "Photo.c" +#line 37040 "Photo.c" } #line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; #line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { -#line 37045 "Photo.c" +#line 37046 "Photo.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; #line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -37055,7 +37056,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp16_ = offset; #line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; -#line 37054 "Photo.c" +#line 37055 "Photo.c" } #line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; @@ -37075,7 +37076,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { result = _tmp22_; #line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 37074 "Photo.c" +#line 37075 "Photo.c" } @@ -37121,7 +37122,7 @@ static MediaSource* library_photo_source_collection_real_fetch_by_source_id (Med _g_free0 (numeric_only); #line 4782 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 37120 "Photo.c" +#line 37121 "Photo.c" } @@ -37153,7 +37154,7 @@ static GeeCollection* library_photo_source_collection_real_get_event_source_ids result = _tmp4_; #line 4786 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 37152 "Photo.c" +#line 37153 "Photo.c" } @@ -37176,7 +37177,7 @@ LibraryPhoto* library_photo_source_collection_fetch (LibraryPhotoSourceCollectio result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_LIBRARY_PHOTO, LibraryPhoto); #line 4790 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 37175 "Photo.c" +#line 37176 "Photo.c" } @@ -37199,7 +37200,7 @@ LibraryPhoto* library_photo_source_collection_fetch_by_editable_file (LibraryPho result = (LibraryPhoto*) _tmp2_; #line 4794 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 37198 "Photo.c" +#line 37199 "Photo.c" } @@ -37222,7 +37223,7 @@ LibraryPhoto* library_photo_source_collection_fetch_by_raw_development_file (Lib result = (LibraryPhoto*) _tmp2_; #line 4798 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 37221 "Photo.c" +#line 37222 "Photo.c" } @@ -37270,7 +37271,7 @@ static void library_photo_source_collection_compare_backing (LibraryPhotoSourceC _backing_photo_row_unref0 (_tmp2_); #line 4804 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp5_) { -#line 37269 "Photo.c" +#line 37270 "Photo.c" GeeCollection* _tmp6_ = NULL; LibraryPhoto* _tmp7_ = NULL; #line 4805 "/home/jens/Source/shotwell/src/Photo.vala" @@ -37279,7 +37280,7 @@ static void library_photo_source_collection_compare_backing (LibraryPhotoSourceC _tmp7_ = photo; #line 4805 "/home/jens/Source/shotwell/src/Photo.vala" gee_collection_add (_tmp6_, _tmp7_); -#line 37278 "Photo.c" +#line 37279 "Photo.c" } #line 4807 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = photo; @@ -37291,7 +37292,7 @@ static void library_photo_source_collection_compare_backing (LibraryPhotoSourceC _tmp11_ = editable; #line 4808 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp11_ != NULL) { -#line 37290 "Photo.c" +#line 37291 "Photo.c" BackingPhotoRow* _tmp12_ = NULL; GFileInfo* _tmp13_ = NULL; gboolean _tmp14_ = FALSE; @@ -37303,15 +37304,15 @@ static void library_photo_source_collection_compare_backing (LibraryPhotoSourceC _tmp14_ = backing_photo_row_matches_file_info (_tmp12_, _tmp13_); #line 4808 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = _tmp14_; -#line 37302 "Photo.c" +#line 37303 "Photo.c" } else { #line 4808 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = FALSE; -#line 37306 "Photo.c" +#line 37307 "Photo.c" } #line 4808 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp10_) { -#line 37310 "Photo.c" +#line 37311 "Photo.c" GeeCollection* _tmp15_ = NULL; LibraryPhoto* _tmp16_ = NULL; #line 4809 "/home/jens/Source/shotwell/src/Photo.vala" @@ -37320,7 +37321,7 @@ static void library_photo_source_collection_compare_backing (LibraryPhotoSourceC _tmp16_ = photo; #line 4809 "/home/jens/Source/shotwell/src/Photo.vala" gee_collection_add (_tmp15_, _tmp16_); -#line 37319 "Photo.c" +#line 37320 "Photo.c" } #line 4811 "/home/jens/Source/shotwell/src/Photo.vala" _tmp17_ = photo; @@ -37332,7 +37333,7 @@ static void library_photo_source_collection_compare_backing (LibraryPhotoSourceC _tmp19_ = development; #line 4812 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp19_ != NULL) { -#line 37331 "Photo.c" +#line 37332 "Photo.c" { GeeIterator* _row_it = NULL; GeeCollection* _tmp20_ = NULL; @@ -37345,7 +37346,7 @@ static void library_photo_source_collection_compare_backing (LibraryPhotoSourceC _row_it = _tmp21_; #line 4813 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 37344 "Photo.c" +#line 37345 "Photo.c" GeeIterator* _tmp22_ = NULL; gboolean _tmp23_ = FALSE; BackingPhotoRow* row = NULL; @@ -37362,7 +37363,7 @@ static void library_photo_source_collection_compare_backing (LibraryPhotoSourceC if (!_tmp23_) { #line 4813 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 37361 "Photo.c" +#line 37362 "Photo.c" } #line 4813 "/home/jens/Source/shotwell/src/Photo.vala" _tmp24_ = _row_it; @@ -37378,7 +37379,7 @@ static void library_photo_source_collection_compare_backing (LibraryPhotoSourceC _tmp28_ = backing_photo_row_matches_file_info (_tmp26_, _tmp27_); #line 4814 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp28_) { -#line 37377 "Photo.c" +#line 37378 "Photo.c" GeeCollection* _tmp29_ = NULL; LibraryPhoto* _tmp30_ = NULL; #line 4815 "/home/jens/Source/shotwell/src/Photo.vala" @@ -37391,22 +37392,22 @@ static void library_photo_source_collection_compare_backing (LibraryPhotoSourceC _backing_photo_row_unref0 (row); #line 4817 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 37390 "Photo.c" +#line 37391 "Photo.c" } #line 4813 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (row); -#line 37394 "Photo.c" +#line 37395 "Photo.c" } #line 4813 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_row_it); -#line 37398 "Photo.c" +#line 37399 "Photo.c" } } #line 4801 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (development); #line 4801 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (editable); -#line 37405 "Photo.c" +#line 37406 "Photo.c" } @@ -37421,7 +37422,7 @@ void library_photo_source_collection_fetch_by_matching_backing (LibraryPhotoSour g_return_if_fail (GEE_IS_COLLECTION (matches_editable)); #line 4825 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail (GEE_IS_COLLECTION (matched_development)); -#line 37420 "Photo.c" +#line 37421 "Photo.c" { GeeIterator* _photo_it = NULL; GeeMultiMap* _tmp0_ = NULL; @@ -37451,7 +37452,7 @@ void library_photo_source_collection_fetch_by_matching_backing (LibraryPhotoSour _photo_it = _tmp6_; #line 4827 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 37450 "Photo.c" +#line 37451 "Photo.c" GeeIterator* _tmp7_ = NULL; gboolean _tmp8_ = FALSE; LibraryPhoto* photo = NULL; @@ -37470,7 +37471,7 @@ void library_photo_source_collection_fetch_by_matching_backing (LibraryPhotoSour if (!_tmp8_) { #line 4827 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 37469 "Photo.c" +#line 37470 "Photo.c" } #line 4827 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_ = _photo_it; @@ -37492,11 +37493,11 @@ void library_photo_source_collection_fetch_by_matching_backing (LibraryPhotoSour library_photo_source_collection_compare_backing (self, _tmp11_, _tmp12_, _tmp13_, _tmp14_, _tmp15_); #line 4827 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (photo); -#line 37491 "Photo.c" +#line 37492 "Photo.c" } #line 4827 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_photo_it); -#line 37495 "Photo.c" +#line 37496 "Photo.c" } { GeeIterator* _media_it = NULL; @@ -37518,7 +37519,7 @@ void library_photo_source_collection_fetch_by_matching_backing (LibraryPhotoSour _media_it = _tmp19_; #line 4830 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 37517 "Photo.c" +#line 37518 "Photo.c" GeeIterator* _tmp20_ = NULL; gboolean _tmp21_ = FALSE; MediaSource* media = NULL; @@ -37537,7 +37538,7 @@ void library_photo_source_collection_fetch_by_matching_backing (LibraryPhotoSour if (!_tmp21_) { #line 4830 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 37536 "Photo.c" +#line 37537 "Photo.c" } #line 4830 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = _media_it; @@ -37559,11 +37560,11 @@ void library_photo_source_collection_fetch_by_matching_backing (LibraryPhotoSour library_photo_source_collection_compare_backing (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_LIBRARY_PHOTO, LibraryPhoto), _tmp25_, _tmp26_, _tmp27_, _tmp28_); #line 4830 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (media); -#line 37558 "Photo.c" +#line 37559 "Photo.c" } #line 4830 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_media_it); -#line 37562 "Photo.c" +#line 37563 "Photo.c" } } @@ -37574,7 +37575,7 @@ void library_photo_source_collection_get_basename_filesize_duplicate (LibraryPho g_return_if_fail (IS_LIBRARY_PHOTO_SOURCE_COLLECTION (self)); #line 4834 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail (basename != NULL); -#line 37573 "Photo.c" +#line 37574 "Photo.c" { GeeIterator* _photo_it = NULL; GeeMultiMap* _tmp0_ = NULL; @@ -37601,7 +37602,7 @@ void library_photo_source_collection_get_basename_filesize_duplicate (LibraryPho _photo_it = _tmp5_; #line 4835 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 37600 "Photo.c" +#line 37601 "Photo.c" GeeIterator* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; LibraryPhoto* photo = NULL; @@ -37622,7 +37623,7 @@ void library_photo_source_collection_get_basename_filesize_duplicate (LibraryPho if (!_tmp7_) { #line 4835 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 37621 "Photo.c" +#line 37622 "Photo.c" } #line 4835 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = _photo_it; @@ -37648,7 +37649,7 @@ void library_photo_source_collection_get_basename_filesize_duplicate (LibraryPho _g_object_unref0 (_tmp12_); #line 4836 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp16_) { -#line 37647 "Photo.c" +#line 37648 "Photo.c" LibraryPhoto* _tmp17_ = NULL; PhotoID _tmp18_ = {0}; #line 4837 "/home/jens/Source/shotwell/src/Photo.vala" @@ -37663,15 +37664,15 @@ void library_photo_source_collection_get_basename_filesize_duplicate (LibraryPho _g_object_unref0 (_photo_it); #line 4837 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 37662 "Photo.c" +#line 37663 "Photo.c" } #line 4835 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (photo); -#line 37666 "Photo.c" +#line 37667 "Photo.c" } #line 4835 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_photo_it); -#line 37670 "Photo.c" +#line 37671 "Photo.c" } #line 4840 "/home/jens/Source/shotwell/src/Photo.vala" photo_id_init (&_tmp19_, PHOTO_ID_INVALID); @@ -37679,7 +37680,7 @@ void library_photo_source_collection_get_basename_filesize_duplicate (LibraryPho *result = _tmp19_; #line 4840 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 37678 "Photo.c" +#line 37679 "Photo.c" } @@ -37705,7 +37706,7 @@ gboolean library_photo_source_collection_has_basename_filesize_duplicate (Librar result = _tmp3_; #line 4845 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 37704 "Photo.c" +#line 37705 "Photo.c" } @@ -37740,7 +37741,7 @@ LibraryPhoto* library_photo_source_collection_get_trashed_by_file (LibraryPhotoS _tmp5_ = photo; #line 4850 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp5_ == NULL) { -#line 37739 "Photo.c" +#line 37740 "Photo.c" MediaSourceHoldingTank* _tmp6_ = NULL; LibraryPhotoSourceHoldingTank* _tmp7_ = NULL; GFile* _tmp8_ = NULL; @@ -37759,13 +37760,13 @@ LibraryPhoto* library_photo_source_collection_get_trashed_by_file (LibraryPhotoS photo = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_LIBRARY_PHOTO, LibraryPhoto); #line 4851 "/home/jens/Source/shotwell/src/Photo.vala" _source_holding_tank_unref0 (_tmp7_); -#line 37758 "Photo.c" +#line 37759 "Photo.c" } #line 4854 "/home/jens/Source/shotwell/src/Photo.vala" result = photo; #line 4854 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 37764 "Photo.c" +#line 37765 "Photo.c" } @@ -37796,7 +37797,7 @@ LibraryPhoto* library_photo_source_collection_get_trashed_by_md5 (LibraryPhotoSo result = _tmp4_; #line 4858 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 37795 "Photo.c" +#line 37796 "Photo.c" } @@ -37831,7 +37832,7 @@ LibraryPhoto* library_photo_source_collection_get_offline_by_file (LibraryPhotoS _tmp5_ = photo; #line 4863 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp5_ == NULL) { -#line 37830 "Photo.c" +#line 37831 "Photo.c" MediaSourceHoldingTank* _tmp6_ = NULL; LibraryPhotoSourceHoldingTank* _tmp7_ = NULL; GFile* _tmp8_ = NULL; @@ -37850,13 +37851,13 @@ LibraryPhoto* library_photo_source_collection_get_offline_by_file (LibraryPhotoS photo = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_LIBRARY_PHOTO, LibraryPhoto); #line 4864 "/home/jens/Source/shotwell/src/Photo.vala" _source_holding_tank_unref0 (_tmp7_); -#line 37849 "Photo.c" +#line 37850 "Photo.c" } #line 4867 "/home/jens/Source/shotwell/src/Photo.vala" result = photo; #line 4867 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 37855 "Photo.c" +#line 37856 "Photo.c" } @@ -37887,7 +37888,7 @@ LibraryPhoto* library_photo_source_collection_get_offline_by_md5 (LibraryPhotoSo result = _tmp4_; #line 4871 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 37886 "Photo.c" +#line 37887 "Photo.c" } @@ -37913,7 +37914,7 @@ gint library_photo_source_collection_get_offline_count (LibraryPhotoSourceCollec result = _tmp3_; #line 4875 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 37912 "Photo.c" +#line 37913 "Photo.c" } @@ -37960,11 +37961,11 @@ LibraryPhoto* library_photo_source_collection_get_state_by_file (LibraryPhotoSou if (state) { #line 4883 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 37959 "Photo.c" +#line 37960 "Photo.c" } #line 4883 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 37963 "Photo.c" +#line 37964 "Photo.c" } #line 4886 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = file; @@ -37986,11 +37987,11 @@ LibraryPhoto* library_photo_source_collection_get_state_by_file (LibraryPhotoSou if (state) { #line 4890 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 37985 "Photo.c" +#line 37986 "Photo.c" } #line 4890 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 37989 "Photo.c" +#line 37990 "Photo.c" } #line 4893 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = file; @@ -38012,11 +38013,11 @@ LibraryPhoto* library_photo_source_collection_get_state_by_file (LibraryPhotoSou if (state) { #line 4897 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 38011 "Photo.c" +#line 38012 "Photo.c" } #line 4897 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 38015 "Photo.c" +#line 38016 "Photo.c" } #line 4900 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_ = file; @@ -38028,7 +38029,7 @@ LibraryPhoto* library_photo_source_collection_get_state_by_file (LibraryPhotoSou if (_tmp11_ == NULL) { #line 4900 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp10_); -#line 38027 "Photo.c" +#line 38028 "Photo.c" } #line 4900 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (photo); @@ -38046,11 +38047,11 @@ LibraryPhoto* library_photo_source_collection_get_state_by_file (LibraryPhotoSou if (state) { #line 4904 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 38045 "Photo.c" +#line 38046 "Photo.c" } #line 4904 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 38049 "Photo.c" +#line 38050 "Photo.c" } #line 4907 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = file; @@ -38062,7 +38063,7 @@ LibraryPhoto* library_photo_source_collection_get_state_by_file (LibraryPhotoSou if (_tmp15_ == NULL) { #line 4907 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp14_); -#line 38061 "Photo.c" +#line 38062 "Photo.c" } #line 4907 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (photo); @@ -38080,11 +38081,11 @@ LibraryPhoto* library_photo_source_collection_get_state_by_file (LibraryPhotoSou if (state) { #line 4911 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 38079 "Photo.c" +#line 38080 "Photo.c" } #line 4911 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 38083 "Photo.c" +#line 38084 "Photo.c" } #line 4914 "/home/jens/Source/shotwell/src/Photo.vala" _vala_state = LIBRARY_PHOTO_SOURCE_COLLECTION_STATE_UNKNOWN; @@ -38096,11 +38097,11 @@ LibraryPhoto* library_photo_source_collection_get_state_by_file (LibraryPhotoSou if (state) { #line 4916 "/home/jens/Source/shotwell/src/Photo.vala" *state = _vala_state; -#line 38095 "Photo.c" +#line 38096 "Photo.c" } #line 4916 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 38099 "Photo.c" +#line 38100 "Photo.c" } @@ -38133,7 +38134,7 @@ static gboolean library_photo_source_collection_real_has_backlink (SourceCollect result = TRUE; #line 4921 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 38132 "Photo.c" +#line 38133 "Photo.c" } #line 4923 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = media_source_collection_get_trashcan (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection)); @@ -38153,7 +38154,7 @@ static gboolean library_photo_source_collection_real_has_backlink (SourceCollect result = TRUE; #line 4924 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 38152 "Photo.c" +#line 38153 "Photo.c" } #line 4926 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = media_source_collection_get_offline_bin (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection)); @@ -38173,13 +38174,13 @@ static gboolean library_photo_source_collection_real_has_backlink (SourceCollect result = TRUE; #line 4927 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 38172 "Photo.c" +#line 38173 "Photo.c" } #line 4929 "/home/jens/Source/shotwell/src/Photo.vala" result = FALSE; #line 4929 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 38178 "Photo.c" +#line 38179 "Photo.c" } @@ -38220,7 +38221,7 @@ static void library_photo_source_collection_real_remove_backlink (SourceCollecti _tmp6_ = backlink; #line 4936 "/home/jens/Source/shotwell/src/Photo.vala" SOURCE_COLLECTION_CLASS (library_photo_source_collection_parent_class)->remove_backlink (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), TYPE_SOURCE_COLLECTION, SourceCollection), _tmp6_); -#line 38219 "Photo.c" +#line 38220 "Photo.c" } @@ -38235,7 +38236,7 @@ static TransactionController* library_photo_source_collection_real_get_transacti _tmp0_ = self->priv->_transaction_controller; #line 4454 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp0_ == NULL) { -#line 38234 "Photo.c" +#line 38235 "Photo.c" MediaSourceTransactionController* _tmp1_ = NULL; #line 4455 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = media_source_transaction_controller_new (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection)); @@ -38243,7 +38244,7 @@ static TransactionController* library_photo_source_collection_real_get_transacti _transaction_controller_unref0 (self->priv->_transaction_controller); #line 4455 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->_transaction_controller = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_TRANSACTION_CONTROLLER, TransactionController); -#line 38242 "Photo.c" +#line 38243 "Photo.c" } #line 4457 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = self->priv->_transaction_controller; @@ -38251,7 +38252,7 @@ static TransactionController* library_photo_source_collection_real_get_transacti result = _tmp2_; #line 4457 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 38250 "Photo.c" +#line 38251 "Photo.c" } @@ -38260,7 +38261,7 @@ static void library_photo_source_collection_real_master_reimported (LibraryPhoto g_return_if_fail (IS_LIBRARY_PHOTO (photo)); #line 4475 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail ((metadata == NULL) || IS_PHOTO_METADATA (metadata)); -#line 38259 "Photo.c" +#line 38260 "Photo.c" } @@ -38279,19 +38280,19 @@ static void g_cclosure_user_marshal_VOID__OBJECT_MEDIA_METADATA (GClosure * clos data1 = closure->data; #line 4442 "/home/jens/Source/shotwell/src/Photo.vala" data2 = param_values->data[0].v_pointer; -#line 38278 "Photo.c" +#line 38279 "Photo.c" } else { #line 4442 "/home/jens/Source/shotwell/src/Photo.vala" data1 = param_values->data[0].v_pointer; #line 4442 "/home/jens/Source/shotwell/src/Photo.vala" data2 = closure->data; -#line 38284 "Photo.c" +#line 38285 "Photo.c" } #line 4442 "/home/jens/Source/shotwell/src/Photo.vala" callback = (GMarshalFunc_VOID__OBJECT_MEDIA_METADATA) (marshal_data ? marshal_data : cc->callback); #line 4442 "/home/jens/Source/shotwell/src/Photo.vala" callback (data1, g_value_get_object (param_values + 1), value_get_media_metadata (param_values + 2), data2); -#line 38290 "Photo.c" +#line 38291 "Photo.c" } @@ -38300,7 +38301,7 @@ static void library_photo_source_collection_real_editable_reimported (LibraryPho g_return_if_fail (IS_LIBRARY_PHOTO (photo)); #line 4478 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail ((metadata == NULL) || IS_PHOTO_METADATA (metadata)); -#line 38299 "Photo.c" +#line 38300 "Photo.c" } @@ -38309,7 +38310,7 @@ static void library_photo_source_collection_real_baseline_reimported (LibraryPho g_return_if_fail (IS_LIBRARY_PHOTO (photo)); #line 4481 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail ((metadata == NULL) || IS_PHOTO_METADATA (metadata)); -#line 38308 "Photo.c" +#line 38309 "Photo.c" } @@ -38318,7 +38319,7 @@ static void library_photo_source_collection_real_source_reimported (LibraryPhoto g_return_if_fail (IS_LIBRARY_PHOTO (photo)); #line 4484 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail ((metadata == NULL) || IS_PHOTO_METADATA (metadata)); -#line 38317 "Photo.c" +#line 38318 "Photo.c" } @@ -38383,7 +38384,7 @@ static void library_photo_source_collection_class_init (LibraryPhotoSourceCollec g_signal_new ("baseline_reimported", TYPE_LIBRARY_PHOTO_SOURCE_COLLECTION, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (LibraryPhotoSourceCollectionClass, baseline_reimported), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_MEDIA_METADATA, G_TYPE_NONE, 2, TYPE_LIBRARY_PHOTO, TYPE_PHOTO_METADATA); #line 4442 "/home/jens/Source/shotwell/src/Photo.vala" g_signal_new ("source_reimported", TYPE_LIBRARY_PHOTO_SOURCE_COLLECTION, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (LibraryPhotoSourceCollectionClass, source_reimported), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_MEDIA_METADATA, G_TYPE_NONE, 2, TYPE_LIBRARY_PHOTO, TYPE_PHOTO_METADATA); -#line 38382 "Photo.c" +#line 38383 "Photo.c" } @@ -38422,7 +38423,7 @@ static void library_photo_source_collection_instance_init (LibraryPhotoSourceCol _tmp5_ = gee_tree_multi_map_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, G_TYPE_INT64, (GBoxedCopyFunc) _int64_dup, g_free, NULL, NULL, NULL, NULL, NULL, NULL); #line 4472 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->photo_to_raw_development_filesize = G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_MULTI_MAP, GeeMultiMap); -#line 38421 "Photo.c" +#line 38422 "Photo.c" } @@ -38446,7 +38447,7 @@ static void library_photo_source_collection_finalize (DataCollection* obj) { _g_object_unref0 (self->priv->photo_to_raw_development_filesize); #line 4442 "/home/jens/Source/shotwell/src/Photo.vala" DATA_COLLECTION_CLASS (library_photo_source_collection_parent_class)->finalize (obj); -#line 38445 "Photo.c" +#line 38446 "Photo.c" } @@ -38465,7 +38466,7 @@ GType library_photo_source_collection_get_type (void) { static void _library_photo_generate_thumbnails_one_shot_callback (gpointer self) { #line 4964 "/home/jens/Source/shotwell/src/Photo.vala" library_photo_generate_thumbnails ((LibraryPhoto*) self); -#line 38464 "Photo.c" +#line 38465 "Photo.c" } @@ -38499,7 +38500,7 @@ static LibraryPhoto* library_photo_construct (GType object_type, PhotoRow* row) _tmp3_ = _tmp2_->flags; #line 4967 "/home/jens/Source/shotwell/src/Photo.vala" if ((_tmp3_ & (LIBRARY_PHOTO_FLAG_TRASH | LIBRARY_PHOTO_FLAG_OFFLINE)) != ((guint64) 0)) { -#line 38498 "Photo.c" +#line 38499 "Photo.c" LibraryPhotoSourceCollection* _tmp4_ = NULL; PhotoRow* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; @@ -38511,7 +38512,7 @@ static LibraryPhoto* library_photo_construct (GType object_type, PhotoRow* row) _tmp6_ = _tmp5_->backlinks; #line 4968 "/home/jens/Source/shotwell/src/Photo.vala" data_source_rehydrate_backlinks (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_SOURCE, DataSource), G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_SOURCE_COLLECTION, SourceCollection), _tmp6_); -#line 38510 "Photo.c" +#line 38511 "Photo.c" } #line 4970 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = row; @@ -38519,7 +38520,7 @@ static LibraryPhoto* library_photo_construct (GType object_type, PhotoRow* row) _tmp8_ = _tmp7_->flags; #line 4970 "/home/jens/Source/shotwell/src/Photo.vala" if ((_tmp8_ & (LIBRARY_PHOTO_FLAG_HIDDEN | LIBRARY_PHOTO_FLAG_FAVORITE)) != ((guint64) 0)) { -#line 38518 "Photo.c" +#line 38519 "Photo.c" PhotoRow* _tmp9_ = NULL; guint64 _tmp10_ = 0ULL; #line 4971 "/home/jens/Source/shotwell/src/Photo.vala" @@ -38528,18 +38529,18 @@ static LibraryPhoto* library_photo_construct (GType object_type, PhotoRow* row) _tmp10_ = _tmp9_->flags; #line 4971 "/home/jens/Source/shotwell/src/Photo.vala" library_photo_upgrade_rating_flags (self, _tmp10_); -#line 38527 "Photo.c" +#line 38528 "Photo.c" } #line 4959 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 38531 "Photo.c" +#line 38532 "Photo.c" } static LibraryPhoto* library_photo_new (PhotoRow* row) { #line 4959 "/home/jens/Source/shotwell/src/Photo.vala" return library_photo_construct (TYPE_LIBRARY_PHOTO, row); -#line 38538 "Photo.c" +#line 38539 "Photo.c" } @@ -38589,7 +38590,7 @@ static LibraryPhoto* library_photo_construct_from_import_params (GType object_ty _tmp8_ = _tmp7_->flags; #line 4981 "/home/jens/Source/shotwell/src/Photo.vala" if ((_tmp8_ & (LIBRARY_PHOTO_FLAG_TRASH | LIBRARY_PHOTO_FLAG_OFFLINE)) != ((guint64) 0)) { -#line 38588 "Photo.c" +#line 38589 "Photo.c" LibraryPhotoSourceCollection* _tmp9_ = NULL; PhotoImportParams* _tmp10_ = NULL; PhotoRow* _tmp11_ = NULL; @@ -38604,7 +38605,7 @@ static LibraryPhoto* library_photo_construct_from_import_params (GType object_ty _tmp12_ = _tmp11_->backlinks; #line 4982 "/home/jens/Source/shotwell/src/Photo.vala" data_source_rehydrate_backlinks (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_SOURCE, DataSource), G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_SOURCE_COLLECTION, SourceCollection), _tmp12_); -#line 38603 "Photo.c" +#line 38604 "Photo.c" } #line 4984 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = import_params; @@ -38614,7 +38615,7 @@ static LibraryPhoto* library_photo_construct_from_import_params (GType object_ty _tmp15_ = _tmp14_->flags; #line 4984 "/home/jens/Source/shotwell/src/Photo.vala" if ((_tmp15_ & (LIBRARY_PHOTO_FLAG_HIDDEN | LIBRARY_PHOTO_FLAG_FAVORITE)) != ((guint64) 0)) { -#line 38613 "Photo.c" +#line 38614 "Photo.c" PhotoImportParams* _tmp16_ = NULL; PhotoRow* _tmp17_ = NULL; guint64 _tmp18_ = 0ULL; @@ -38626,18 +38627,18 @@ static LibraryPhoto* library_photo_construct_from_import_params (GType object_ty _tmp18_ = _tmp17_->flags; #line 4985 "/home/jens/Source/shotwell/src/Photo.vala" library_photo_upgrade_rating_flags (self, _tmp18_); -#line 38625 "Photo.c" +#line 38626 "Photo.c" } #line 4974 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 38629 "Photo.c" +#line 38630 "Photo.c" } static LibraryPhoto* library_photo_new_from_import_params (PhotoImportParams* import_params) { #line 4974 "/home/jens/Source/shotwell/src/Photo.vala" return library_photo_construct_from_import_params (TYPE_LIBRARY_PHOTO, import_params); -#line 38636 "Photo.c" +#line 38637 "Photo.c" } @@ -38706,19 +38707,19 @@ void library_photo_init (ProgressMonitor monitor, void* monitor_target) { _tmp10_ = _tmp9_; #line 4999 "/home/jens/Source/shotwell/src/Photo.vala" count = _tmp10_; -#line 38705 "Photo.c" +#line 38706 "Photo.c" { gint ctr = 0; #line 5000 "/home/jens/Source/shotwell/src/Photo.vala" ctr = 0; -#line 38710 "Photo.c" +#line 38711 "Photo.c" { gboolean _tmp11_ = FALSE; #line 5000 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = TRUE; #line 5000 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 38717 "Photo.c" +#line 38718 "Photo.c" gint _tmp13_ = 0; gint _tmp14_ = 0; PhotoRow* row = NULL; @@ -38736,13 +38737,13 @@ void library_photo_init (ProgressMonitor monitor, void* monitor_target) { void* _tmp30__target = NULL; #line 5000 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp11_) { -#line 38735 "Photo.c" +#line 38736 "Photo.c" gint _tmp12_ = 0; #line 5000 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = ctr; #line 5000 "/home/jens/Source/shotwell/src/Photo.vala" ctr = _tmp12_ + 1; -#line 38741 "Photo.c" +#line 38742 "Photo.c" } #line 5000 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = FALSE; @@ -38754,7 +38755,7 @@ void library_photo_init (ProgressMonitor monitor, void* monitor_target) { if (!(_tmp13_ < _tmp14_)) { #line 5000 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 38753 "Photo.c" +#line 38754 "Photo.c" } #line 5001 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = all; @@ -38780,7 +38781,7 @@ void library_photo_init (ProgressMonitor monitor, void* monitor_target) { _tmp22_ = flags; #line 5005 "/home/jens/Source/shotwell/src/Photo.vala" if ((_tmp22_ & LIBRARY_PHOTO_FLAG_TRASH) != ((guint64) 0)) { -#line 38779 "Photo.c" +#line 38780 "Photo.c" GeeArrayList* _tmp23_ = NULL; LibraryPhoto* _tmp24_ = NULL; #line 5006 "/home/jens/Source/shotwell/src/Photo.vala" @@ -38789,14 +38790,14 @@ void library_photo_init (ProgressMonitor monitor, void* monitor_target) { _tmp24_ = photo; #line 5006 "/home/jens/Source/shotwell/src/Photo.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp24_); -#line 38788 "Photo.c" +#line 38789 "Photo.c" } else { guint64 _tmp25_ = 0ULL; #line 5007 "/home/jens/Source/shotwell/src/Photo.vala" _tmp25_ = flags; #line 5007 "/home/jens/Source/shotwell/src/Photo.vala" if ((_tmp25_ & LIBRARY_PHOTO_FLAG_OFFLINE) != ((guint64) 0)) { -#line 38795 "Photo.c" +#line 38796 "Photo.c" GeeArrayList* _tmp26_ = NULL; LibraryPhoto* _tmp27_ = NULL; #line 5008 "/home/jens/Source/shotwell/src/Photo.vala" @@ -38805,7 +38806,7 @@ void library_photo_init (ProgressMonitor monitor, void* monitor_target) { _tmp27_ = photo; #line 5008 "/home/jens/Source/shotwell/src/Photo.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp27_); -#line 38804 "Photo.c" +#line 38805 "Photo.c" } else { GeeArrayList* _tmp28_ = NULL; LibraryPhoto* _tmp29_ = NULL; @@ -38815,7 +38816,7 @@ void library_photo_init (ProgressMonitor monitor, void* monitor_target) { _tmp29_ = photo; #line 5010 "/home/jens/Source/shotwell/src/Photo.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp29_); -#line 38814 "Photo.c" +#line 38815 "Photo.c" } } #line 5012 "/home/jens/Source/shotwell/src/Photo.vala" @@ -38824,7 +38825,7 @@ void library_photo_init (ProgressMonitor monitor, void* monitor_target) { _tmp30__target = monitor_target; #line 5012 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp30_ != NULL) { -#line 38823 "Photo.c" +#line 38824 "Photo.c" ProgressMonitor _tmp31_ = NULL; void* _tmp31__target = NULL; gint _tmp32_ = 0; @@ -38839,13 +38840,13 @@ void library_photo_init (ProgressMonitor monitor, void* monitor_target) { _tmp33_ = count; #line 5013 "/home/jens/Source/shotwell/src/Photo.vala" _tmp31_ ((guint64) _tmp32_, (guint64) _tmp33_, TRUE, _tmp31__target); -#line 38838 "Photo.c" +#line 38839 "Photo.c" } #line 5000 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (photo); #line 5000 "/home/jens/Source/shotwell/src/Photo.vala" _photo_row_unref0 (row); -#line 38844 "Photo.c" +#line 38845 "Photo.c" } } } @@ -38879,14 +38880,14 @@ void library_photo_init (ProgressMonitor monitor, void* monitor_target) { _g_object_unref0 (all_photos); #line 4988 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (all); -#line 38878 "Photo.c" +#line 38879 "Photo.c" } void library_photo_terminate (void) { #line 5022 "/home/jens/Source/shotwell/src/Photo.vala" photo_terminate_photo (); -#line 38885 "Photo.c" +#line 38886 "Photo.c" } @@ -38935,15 +38936,15 @@ ImportResult library_photo_import_create (PhotoImportParams* params, LibraryPhot if (photo) { #line 5035 "/home/jens/Source/shotwell/src/Photo.vala" *photo = _vala_photo; -#line 38934 "Photo.c" +#line 38935 "Photo.c" } else { #line 5035 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_vala_photo); -#line 38938 "Photo.c" +#line 38939 "Photo.c" } #line 5035 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 38942 "Photo.c" +#line 38943 "Photo.c" } #line 5039 "/home/jens/Source/shotwell/src/Photo.vala" _tmp7_ = params; @@ -38959,15 +38960,15 @@ ImportResult library_photo_import_create (PhotoImportParams* params, LibraryPhot if (photo) { #line 5041 "/home/jens/Source/shotwell/src/Photo.vala" *photo = _vala_photo; -#line 38958 "Photo.c" +#line 38959 "Photo.c" } else { #line 5041 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_vala_photo); -#line 38962 "Photo.c" +#line 38963 "Photo.c" } #line 5041 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 38966 "Photo.c" +#line 38967 "Photo.c" } @@ -38975,7 +38976,7 @@ void library_photo_import_failed (LibraryPhoto* photo) { GError * _inner_error_ = NULL; #line 5044 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail (IS_LIBRARY_PHOTO (photo)); -#line 38974 "Photo.c" +#line 38975 "Photo.c" { PhotoTable* _tmp0_ = NULL; PhotoTable* _tmp1_ = NULL; @@ -38997,8 +38998,8 @@ void library_photo_import_failed (LibraryPhoto* photo) { if (G_UNLIKELY (_inner_error_ != NULL)) { #line 5046 "/home/jens/Source/shotwell/src/Photo.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 38996 "Photo.c" - goto __catch393_database_error; +#line 38997 "Photo.c" + goto __catch406_database_error; } #line 5046 "/home/jens/Source/shotwell/src/Photo.vala" 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); @@ -39006,11 +39007,11 @@ void library_photo_import_failed (LibraryPhoto* photo) { g_clear_error (&_inner_error_); #line 5046 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 39005 "Photo.c" +#line 39006 "Photo.c" } } - goto __finally393; - __catch393_database_error: + goto __finally406; + __catch406_database_error: { GError* err = NULL; GError* _tmp4_ = NULL; @@ -39024,9 +39025,9 @@ void library_photo_import_failed (LibraryPhoto* photo) { app_window_database_error (_tmp4_); #line 5045 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 39023 "Photo.c" +#line 39024 "Photo.c" } - __finally393: + __finally406: #line 5045 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 5045 "/home/jens/Source/shotwell/src/Photo.vala" @@ -39035,7 +39036,7 @@ void library_photo_import_failed (LibraryPhoto* photo) { g_clear_error (&_inner_error_); #line 5045 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 39034 "Photo.c" +#line 39035 "Photo.c" } } @@ -39059,7 +39060,7 @@ static void library_photo_real_notify_master_reimported (Photo* base, PhotoMetad _tmp2_ = metadata; #line 5055 "/home/jens/Source/shotwell/src/Photo.vala" library_photo_source_collection_notify_master_reimported (_tmp1_, self, _tmp2_); -#line 39058 "Photo.c" +#line 39059 "Photo.c" } @@ -39082,7 +39083,7 @@ static void library_photo_real_notify_editable_reimported (Photo* base, PhotoMet _tmp2_ = metadata; #line 5061 "/home/jens/Source/shotwell/src/Photo.vala" library_photo_source_collection_notify_editable_reimported (_tmp1_, self, _tmp2_); -#line 39081 "Photo.c" +#line 39082 "Photo.c" } @@ -39105,7 +39106,7 @@ static void library_photo_real_notify_source_reimported (Photo* base, PhotoMetad _tmp2_ = metadata; #line 5067 "/home/jens/Source/shotwell/src/Photo.vala" library_photo_source_collection_notify_source_reimported (_tmp1_, self, _tmp2_); -#line 39104 "Photo.c" +#line 39105 "Photo.c" } @@ -39128,7 +39129,7 @@ static void library_photo_real_notify_baseline_reimported (Photo* base, PhotoMet _tmp2_ = metadata; #line 5073 "/home/jens/Source/shotwell/src/Photo.vala" library_photo_source_collection_notify_baseline_reimported (_tmp1_, self, _tmp2_); -#line 39127 "Photo.c" +#line 39128 "Photo.c" } @@ -39136,18 +39137,18 @@ static void library_photo_generate_thumbnails (LibraryPhoto* self) { GError * _inner_error_ = NULL; #line 5076 "/home/jens/Source/shotwell/src/Photo.vala" g_return_if_fail (IS_LIBRARY_PHOTO (self)); -#line 39135 "Photo.c" +#line 39136 "Photo.c" { #line 5078 "/home/jens/Source/shotwell/src/Photo.vala" thumbnail_cache_import_from_source (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), TRUE, &_inner_error_); #line 5078 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 39141 "Photo.c" - goto __catch394_g_error; +#line 39142 "Photo.c" + goto __catch407_g_error; } } - goto __finally394; - __catch394_g_error: + goto __finally407; + __catch407_g_error: { GError* err = NULL; gchar* _tmp0_ = NULL; @@ -39172,9 +39173,9 @@ static void library_photo_generate_thumbnails (LibraryPhoto* self) { _g_free0 (_tmp1_); #line 5077 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 39171 "Photo.c" +#line 39172 "Photo.c" } - __finally394: + __finally407: #line 5077 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 5077 "/home/jens/Source/shotwell/src/Photo.vala" @@ -39183,11 +39184,11 @@ static void library_photo_generate_thumbnails (LibraryPhoto* self) { g_clear_error (&_inner_error_); #line 5077 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 39182 "Photo.c" +#line 39183 "Photo.c" } #line 5084 "/home/jens/Source/shotwell/src/Photo.vala" thumbnail_source_notify_thumbnail_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_SOURCE, ThumbnailSource)); -#line 39186 "Photo.c" +#line 39187 "Photo.c" } @@ -39205,7 +39206,7 @@ GeeCollection* library_photo_get_import_keywords (LibraryPhoto* self) { result = _tmp1_; #line 5089 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 39204 "Photo.c" +#line 39205 "Photo.c" } @@ -39216,7 +39217,7 @@ void library_photo_clear_import_keywords (LibraryPhoto* self) { _g_object_unref0 (self->priv->import_keywords); #line 5093 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->import_keywords = NULL; -#line 39215 "Photo.c" +#line 39216 "Photo.c" } @@ -39233,7 +39234,7 @@ static void library_photo_real_notify_altered (DataObject* base, Alteration* alt _tmp1_ = self->priv->block_thumbnail_generation; #line 5098 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp1_) { -#line 39232 "Photo.c" +#line 39233 "Photo.c" Alteration* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; #line 5098 "/home/jens/Source/shotwell/src/Photo.vala" @@ -39242,27 +39243,27 @@ static void library_photo_real_notify_altered (DataObject* base, Alteration* alt _tmp3_ = alteration_has_subject (_tmp2_, "image"); #line 5098 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = _tmp3_; -#line 39241 "Photo.c" +#line 39242 "Photo.c" } else { #line 5098 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = FALSE; -#line 39245 "Photo.c" +#line 39246 "Photo.c" } #line 5098 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp0_) { -#line 39249 "Photo.c" +#line 39250 "Photo.c" OneShotScheduler* _tmp4_ = NULL; #line 5099 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->priv->thumbnail_scheduler; #line 5099 "/home/jens/Source/shotwell/src/Photo.vala" one_shot_scheduler_at_priority_idle (_tmp4_, G_PRIORITY_LOW); -#line 39255 "Photo.c" +#line 39256 "Photo.c" } #line 5101 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = alteration; #line 5101 "/home/jens/Source/shotwell/src/Photo.vala" DATA_OBJECT_CLASS (library_photo_parent_class)->notify_altered (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo), TYPE_DATA_OBJECT, DataObject), _tmp5_); -#line 39261 "Photo.c" +#line 39262 "Photo.c" } @@ -39287,7 +39288,7 @@ static GdkPixbuf* library_photo_real_get_preview_pixbuf (MediaSource* base, Scal g_propagate_error (error, _inner_error_); #line 5105 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 39286 "Photo.c" +#line 39287 "Photo.c" } #line 5107 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = scaling_perform_on_pixbuf (scaling, pixbuf, GDK_INTERP_BILINEAR, TRUE); @@ -39297,7 +39298,7 @@ static GdkPixbuf* library_photo_real_get_preview_pixbuf (MediaSource* base, Scal _g_object_unref0 (pixbuf); #line 5107 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 39296 "Photo.c" +#line 39297 "Photo.c" } @@ -39315,7 +39316,7 @@ static void library_photo_real_rotate (Photo* base, Rotation rotation) { PHOTO_CLASS (library_photo_parent_class)->rotate (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo), _tmp0_); #line 5114 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->block_thumbnail_generation = FALSE; -#line 39314 "Photo.c" +#line 39315 "Photo.c" { Rotation _tmp1_ = 0; #line 5122 "/home/jens/Source/shotwell/src/Photo.vala" @@ -39324,12 +39325,12 @@ static void library_photo_real_rotate (Photo* base, Rotation rotation) { thumbnail_cache_rotate (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), _tmp1_, &_inner_error_); #line 5122 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 39323 "Photo.c" - goto __catch395_g_error; +#line 39324 "Photo.c" + goto __catch408_g_error; } } - goto __finally395; - __catch395_g_error: + goto __finally408; + __catch408_g_error: { GError* err = NULL; gchar* _tmp2_ = NULL; @@ -39354,9 +39355,9 @@ static void library_photo_real_rotate (Photo* base, Rotation rotation) { _g_free0 (_tmp3_); #line 5121 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 39353 "Photo.c" +#line 39354 "Photo.c" } - __finally395: + __finally408: #line 5121 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 5121 "/home/jens/Source/shotwell/src/Photo.vala" @@ -39365,11 +39366,11 @@ static void library_photo_real_rotate (Photo* base, Rotation rotation) { g_clear_error (&_inner_error_); #line 5121 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 39364 "Photo.c" +#line 39365 "Photo.c" } #line 5128 "/home/jens/Source/shotwell/src/Photo.vala" thumbnail_source_notify_thumbnail_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_SOURCE, ThumbnailSource)); -#line 39368 "Photo.c" +#line 39369 "Photo.c" } @@ -39395,7 +39396,7 @@ static GdkPixbuf* library_photo_real_get_thumbnail (ThumbnailSource* base, gint g_propagate_error (error, _inner_error_); #line 5133 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 39394 "Photo.c" +#line 39395 "Photo.c" } #line 5133 "/home/jens/Source/shotwell/src/Photo.vala" _tmp3_ = _tmp0_; @@ -39407,14 +39408,14 @@ static GdkPixbuf* library_photo_real_get_thumbnail (ThumbnailSource* base, gint _g_object_unref0 (_tmp0_); #line 5133 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 39406 "Photo.c" +#line 39407 "Photo.c" } static void _library_photo_on_duplicate_progress_gfile_progress_callback (gint64 current_num_bytes, gint64 total_num_bytes, gpointer self) { #line 5145 "/home/jens/Source/shotwell/src/Photo.vala" library_photo_on_duplicate_progress ((LibraryPhoto*) self, current_num_bytes, total_num_bytes); -#line 39413 "Photo.c" +#line 39414 "Photo.c" } @@ -39441,7 +39442,7 @@ static void library_photo_duplicate_backing_photo (LibraryPhoto* self, BackingPh if (_tmp1_ == NULL) { #line 5140 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = TRUE; -#line 39440 "Photo.c" +#line 39441 "Photo.c" } else { BackingPhotoRow* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; @@ -39451,7 +39452,7 @@ static void library_photo_duplicate_backing_photo (LibraryPhoto* self, BackingPh _tmp3_ = _tmp2_->filepath; #line 5140 "/home/jens/Source/shotwell/src/Photo.vala" _tmp0_ = _tmp3_ == NULL; -#line 39450 "Photo.c" +#line 39451 "Photo.c" } #line 5140 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp0_) { @@ -39459,7 +39460,7 @@ static void library_photo_duplicate_backing_photo (LibraryPhoto* self, BackingPh *result = backing_id; #line 5141 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 39458 "Photo.c" +#line 39459 "Photo.c" } #line 5143 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = backing; @@ -39475,7 +39476,7 @@ static void library_photo_duplicate_backing_photo (LibraryPhoto* self, BackingPh _tmp8_ = g_file_query_exists (_tmp7_, NULL); #line 5144 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp8_) { -#line 39474 "Photo.c" +#line 39475 "Photo.c" GFile* dupe_file = NULL; GFile* _tmp9_ = NULL; GFile* _tmp10_ = NULL; @@ -39499,7 +39500,7 @@ static void library_photo_duplicate_backing_photo (LibraryPhoto* self, BackingPh _g_object_unref0 (file); #line 5145 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 39498 "Photo.c" +#line 39499 "Photo.c" } #line 5148 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = dupe_file; @@ -39523,13 +39524,13 @@ static void library_photo_duplicate_backing_photo (LibraryPhoto* self, BackingPh _g_object_unref0 (file); #line 5148 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 39522 "Photo.c" +#line 39523 "Photo.c" } #line 5150 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = state; #line 5150 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp14_ != NULL) { -#line 39528 "Photo.c" +#line 39529 "Photo.c" BackingPhotoTable* _tmp15_ = NULL; BackingPhotoTable* _tmp16_ = NULL; BackingPhotoRow* _tmp17_ = NULL; @@ -39559,7 +39560,7 @@ static void library_photo_duplicate_backing_photo (LibraryPhoto* self, BackingPh _g_object_unref0 (file); #line 5151 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 39558 "Photo.c" +#line 39559 "Photo.c" } #line 5152 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = state; @@ -39567,7 +39568,7 @@ static void library_photo_duplicate_backing_photo (LibraryPhoto* self, BackingPh _tmp19_ = _tmp18_->id; #line 5152 "/home/jens/Source/shotwell/src/Photo.vala" backing_id = _tmp19_; -#line 39566 "Photo.c" +#line 39567 "Photo.c" } #line 5144 "/home/jens/Source/shotwell/src/Photo.vala" _backing_photo_row_unref0 (state); @@ -39575,7 +39576,7 @@ static void library_photo_duplicate_backing_photo (LibraryPhoto* self, BackingPh _detected_photo_information_unref0 (detected); #line 5144 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (dupe_file); -#line 39574 "Photo.c" +#line 39575 "Photo.c" } #line 5156 "/home/jens/Source/shotwell/src/Photo.vala" *result = backing_id; @@ -39583,7 +39584,7 @@ static void library_photo_duplicate_backing_photo (LibraryPhoto* self, BackingPh _g_object_unref0 (file); #line 5156 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 39582 "Photo.c" +#line 39583 "Photo.c" } @@ -39668,7 +39669,7 @@ LibraryPhoto* library_photo_duplicate (LibraryPhoto* self, GError** error) { g_propagate_error (error, _inner_error_); #line 5161 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 39667 "Photo.c" +#line 39668 "Photo.c" } #line 5164 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = photo_get_editable_photo_row (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo)); @@ -39690,7 +39691,7 @@ LibraryPhoto* library_photo_duplicate (LibraryPhoto* self, GError** error) { _g_object_unref0 (dupe_file); #line 5164 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 39689 "Photo.c" +#line 39690 "Photo.c" } #line 5165 "/home/jens/Source/shotwell/src/Photo.vala" _tmp8_ = photo_get_raw_development_photo_row (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo), RAW_DEVELOPER_SHOTWELL); @@ -39712,7 +39713,7 @@ LibraryPhoto* library_photo_duplicate (LibraryPhoto* self, GError** error) { _g_object_unref0 (dupe_file); #line 5165 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 39711 "Photo.c" +#line 39712 "Photo.c" } #line 5167 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = photo_get_raw_development_photo_row (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo), RAW_DEVELOPER_CAMERA); @@ -39734,7 +39735,7 @@ LibraryPhoto* library_photo_duplicate (LibraryPhoto* self, GError** error) { _g_object_unref0 (dupe_file); #line 5167 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 39733 "Photo.c" +#line 39734 "Photo.c" } #line 5169 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = photo_get_raw_development_photo_row (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo), RAW_DEVELOPER_EMBEDDED); @@ -39756,7 +39757,7 @@ LibraryPhoto* library_photo_duplicate (LibraryPhoto* self, GError** error) { _g_object_unref0 (dupe_file); #line 5169 "/home/jens/Source/shotwell/src/Photo.vala" return NULL; -#line 39755 "Photo.c" +#line 39756 "Photo.c" } #line 5173 "/home/jens/Source/shotwell/src/Photo.vala" _tmp20_ = photo_table_get_instance (); @@ -39830,7 +39831,7 @@ LibraryPhoto* library_photo_duplicate (LibraryPhoto* self, GError** error) { _g_object_unref0 (_tmp44_); #line 5187 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp45_) { -#line 39829 "Photo.c" +#line 39830 "Photo.c" LibraryPhoto* _tmp46_ = NULL; Event* _tmp47_ = NULL; Event* _tmp48_ = NULL; @@ -39847,7 +39848,7 @@ LibraryPhoto* library_photo_duplicate (LibraryPhoto* self, GError** error) { event_attach (_tmp48_, G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, TYPE_MEDIA_SOURCE, MediaSource)); #line 5188 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp48_); -#line 39846 "Photo.c" +#line 39847 "Photo.c" } #line 5191 "/home/jens/Source/shotwell/src/Photo.vala" _tmp50_ = tag_global; @@ -39859,7 +39860,7 @@ LibraryPhoto* library_photo_duplicate (LibraryPhoto* self, GError** error) { _tmp52_ = tags; #line 5192 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp52_ != NULL) { -#line 39858 "Photo.c" +#line 39859 "Photo.c" { GeeIterator* _tag_it = NULL; GeeCollection* _tmp53_ = NULL; @@ -39872,7 +39873,7 @@ LibraryPhoto* library_photo_duplicate (LibraryPhoto* self, GError** error) { _tag_it = _tmp54_; #line 5193 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 39871 "Photo.c" +#line 39872 "Photo.c" GeeIterator* _tmp55_ = NULL; gboolean _tmp56_ = FALSE; Tag* tag = NULL; @@ -39888,7 +39889,7 @@ LibraryPhoto* library_photo_duplicate (LibraryPhoto* self, GError** error) { if (!_tmp56_) { #line 5193 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 39887 "Photo.c" +#line 39888 "Photo.c" } #line 5193 "/home/jens/Source/shotwell/src/Photo.vala" _tmp57_ = _tag_it; @@ -39904,11 +39905,11 @@ LibraryPhoto* library_photo_duplicate (LibraryPhoto* self, GError** error) { tag_attach (_tmp59_, G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, TYPE_MEDIA_SOURCE, MediaSource)); #line 5193 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (tag); -#line 39903 "Photo.c" +#line 39904 "Photo.c" } #line 5193 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tag_it); -#line 39907 "Photo.c" +#line 39908 "Photo.c" } } #line 5198 "/home/jens/Source/shotwell/src/Photo.vala" @@ -39921,7 +39922,7 @@ LibraryPhoto* library_photo_duplicate (LibraryPhoto* self, GError** error) { _g_object_unref0 (dupe_file); #line 5198 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 39920 "Photo.c" +#line 39921 "Photo.c" } @@ -39930,7 +39931,7 @@ static void library_photo_on_duplicate_progress (LibraryPhoto* self, gint64 curr g_return_if_fail (IS_LIBRARY_PHOTO (self)); #line 5202 "/home/jens/Source/shotwell/src/Photo.vala" spin_event_loop (); -#line 39929 "Photo.c" +#line 39930 "Photo.c" } @@ -39947,7 +39948,7 @@ static void library_photo_upgrade_rating_flags (LibraryPhoto* self, guint64 flag media_source_set_rating (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource), RATING_REJECTED); #line 5208 "/home/jens/Source/shotwell/src/Photo.vala" photo_remove_flags (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo), LIBRARY_PHOTO_FLAG_HIDDEN, NULL); -#line 39946 "Photo.c" +#line 39947 "Photo.c" } #line 5211 "/home/jens/Source/shotwell/src/Photo.vala" _tmp1_ = flags; @@ -39957,7 +39958,7 @@ static void library_photo_upgrade_rating_flags (LibraryPhoto* self, guint64 flag media_source_set_rating (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource), RATING_FIVE); #line 5213 "/home/jens/Source/shotwell/src/Photo.vala" photo_remove_flags (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo), LIBRARY_PHOTO_FLAG_FAVORITE, NULL); -#line 39956 "Photo.c" +#line 39957 "Photo.c" } } @@ -39974,7 +39975,7 @@ static gboolean library_photo_real_is_trashed (MediaSource* base) { result = _tmp0_; #line 5219 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 39973 "Photo.c" +#line 39974 "Photo.c" } @@ -39984,7 +39985,7 @@ static void library_photo_real_trash (MediaSource* base) { self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO, LibraryPhoto); #line 5223 "/home/jens/Source/shotwell/src/Photo.vala" photo_add_flags (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo), LIBRARY_PHOTO_FLAG_TRASH, NULL); -#line 39983 "Photo.c" +#line 39984 "Photo.c" } @@ -39994,7 +39995,7 @@ static void library_photo_real_untrash (MediaSource* base) { self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO, LibraryPhoto); #line 5227 "/home/jens/Source/shotwell/src/Photo.vala" photo_remove_flags (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo), LIBRARY_PHOTO_FLAG_TRASH, NULL); -#line 39993 "Photo.c" +#line 39994 "Photo.c" } @@ -40010,7 +40011,7 @@ static gboolean library_photo_real_is_offline (Monitorable* base) { result = _tmp0_; #line 5231 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 40009 "Photo.c" +#line 40010 "Photo.c" } @@ -40020,7 +40021,7 @@ static void library_photo_real_mark_offline (Monitorable* base) { self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO, LibraryPhoto); #line 5235 "/home/jens/Source/shotwell/src/Photo.vala" photo_add_flags (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo), LIBRARY_PHOTO_FLAG_OFFLINE, NULL); -#line 40019 "Photo.c" +#line 40020 "Photo.c" } @@ -40030,7 +40031,7 @@ static void library_photo_real_mark_online (Monitorable* base) { self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO, LibraryPhoto); #line 5239 "/home/jens/Source/shotwell/src/Photo.vala" photo_remove_flags (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo), LIBRARY_PHOTO_FLAG_OFFLINE, NULL); -#line 40029 "Photo.c" +#line 40030 "Photo.c" } @@ -40046,7 +40047,7 @@ static gboolean library_photo_real_is_flagged (Flaggable* base) { result = _tmp0_; #line 5243 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 40045 "Photo.c" +#line 40046 "Photo.c" } @@ -40064,7 +40065,7 @@ static void library_photo_real_mark_flagged (Flaggable* base) { photo_add_flags (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo), LIBRARY_PHOTO_FLAG_FLAGGED, _tmp1_); #line 5247 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp1_); -#line 40063 "Photo.c" +#line 40064 "Photo.c" } @@ -40082,7 +40083,7 @@ static void library_photo_real_mark_unflagged (Flaggable* base) { photo_remove_flags (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo), LIBRARY_PHOTO_FLAG_FLAGGED, _tmp1_); #line 5251 "/home/jens/Source/shotwell/src/Photo.vala" _alteration_unref0 (_tmp1_); -#line 40081 "Photo.c" +#line 40082 "Photo.c" } @@ -40105,7 +40106,7 @@ static gboolean library_photo_real_internal_delete_backing (DataSource* base, GE g_propagate_error (error, _inner_error_); #line 5257 "/home/jens/Source/shotwell/src/Photo.vala" return FALSE; -#line 40104 "Photo.c" +#line 40105 "Photo.c" } #line 5257 "/home/jens/Source/shotwell/src/Photo.vala" if (!_tmp0_) { @@ -40113,7 +40114,7 @@ static gboolean library_photo_real_internal_delete_backing (DataSource* base, GE result = FALSE; #line 5258 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 40112 "Photo.c" +#line 40113 "Photo.c" } #line 5260 "/home/jens/Source/shotwell/src/Photo.vala" _tmp2_ = media_source_delete_original_file (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource)); @@ -40121,7 +40122,7 @@ static gboolean library_photo_real_internal_delete_backing (DataSource* base, GE result = _tmp2_; #line 5260 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 40120 "Photo.c" +#line 40121 "Photo.c" } @@ -40138,7 +40139,7 @@ static void library_photo_real_destroy (DataSource* base) { photo_id = _tmp0_; #line 5267 "/home/jens/Source/shotwell/src/Photo.vala" thumbnail_cache_remove (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_SOURCE, ThumbnailSource)); -#line 40137 "Photo.c" +#line 40138 "Photo.c" { PhotoTable* _tmp1_ = NULL; PhotoTable* _tmp2_ = NULL; @@ -40157,8 +40158,8 @@ static void library_photo_real_destroy (DataSource* base) { if (G_UNLIKELY (_inner_error_ != NULL)) { #line 5273 "/home/jens/Source/shotwell/src/Photo.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 40156 "Photo.c" - goto __catch396_database_error; +#line 40157 "Photo.c" + goto __catch409_database_error; } #line 5273 "/home/jens/Source/shotwell/src/Photo.vala" 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); @@ -40166,11 +40167,11 @@ static void library_photo_real_destroy (DataSource* base) { g_clear_error (&_inner_error_); #line 5273 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 40165 "Photo.c" +#line 40166 "Photo.c" } } - goto __finally396; - __catch396_database_error: + goto __finally409; + __catch409_database_error: { GError* err = NULL; GError* _tmp4_ = NULL; @@ -40184,9 +40185,9 @@ static void library_photo_real_destroy (DataSource* base) { app_window_database_error (_tmp4_); #line 5272 "/home/jens/Source/shotwell/src/Photo.vala" _g_error_free0 (err); -#line 40183 "Photo.c" +#line 40184 "Photo.c" } - __finally396: + __finally409: #line 5272 "/home/jens/Source/shotwell/src/Photo.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 5272 "/home/jens/Source/shotwell/src/Photo.vala" @@ -40195,11 +40196,11 @@ static void library_photo_real_destroy (DataSource* base) { g_clear_error (&_inner_error_); #line 5272 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 40194 "Photo.c" +#line 40195 "Photo.c" } #line 5278 "/home/jens/Source/shotwell/src/Photo.vala" DATA_SOURCE_CLASS (library_photo_parent_class)->destroy (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo), TYPE_DATA_SOURCE, DataSource)); -#line 40198 "Photo.c" +#line 40199 "Photo.c" } @@ -40229,7 +40230,7 @@ gboolean library_photo_has_nontrash_duplicate (GFile* file, const gchar* thumbna result = _tmp5_; #line 5283 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 40228 "Photo.c" +#line 40229 "Photo.c" } @@ -40275,7 +40276,7 @@ void library_photo_get_nontrash_duplicate (GFile* file, const gchar* thumbnail_m if (_tmp7_ == NULL) { #line 5290 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = TRUE; -#line 40274 "Photo.c" +#line 40275 "Photo.c" } else { PhotoID* _tmp8_ = NULL; gint _tmp8__length1 = 0; @@ -40285,11 +40286,11 @@ void library_photo_get_nontrash_duplicate (GFile* file, const gchar* thumbnail_m _tmp8__length1 = ids_length1; #line 5290 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = _tmp8__length1 == 0; -#line 40284 "Photo.c" +#line 40285 "Photo.c" } #line 5290 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp6_) { -#line 40288 "Photo.c" +#line 40289 "Photo.c" PhotoID _tmp9_ = {0}; #line 5291 "/home/jens/Source/shotwell/src/Photo.vala" photo_id_init (&_tmp9_, PHOTO_ID_INVALID); @@ -40299,13 +40300,13 @@ void library_photo_get_nontrash_duplicate (GFile* file, const gchar* thumbnail_m ids = (g_free (ids), NULL); #line 5291 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 40298 "Photo.c" +#line 40299 "Photo.c" } #line 5293 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = ids; #line 5293 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10__length1 = ids_length1; -#line 40304 "Photo.c" +#line 40305 "Photo.c" { PhotoID* id_collection = NULL; gint id_collection_length1 = 0; @@ -40317,11 +40318,11 @@ void library_photo_get_nontrash_duplicate (GFile* file, const gchar* thumbnail_m id_collection_length1 = _tmp10__length1; #line 5293 "/home/jens/Source/shotwell/src/Photo.vala" for (id_it = 0; id_it < _tmp10__length1; id_it = id_it + 1) { -#line 40316 "Photo.c" +#line 40317 "Photo.c" PhotoID id = {0}; #line 5293 "/home/jens/Source/shotwell/src/Photo.vala" id = id_collection[id_it]; -#line 40320 "Photo.c" +#line 40321 "Photo.c" { LibraryPhoto* photo = NULL; LibraryPhotoSourceCollection* _tmp11_ = NULL; @@ -40341,7 +40342,7 @@ void library_photo_get_nontrash_duplicate (GFile* file, const gchar* thumbnail_m _tmp15_ = photo; #line 5295 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp15_ != NULL) { -#line 40340 "Photo.c" +#line 40341 "Photo.c" LibraryPhoto* _tmp16_ = NULL; gboolean _tmp17_ = FALSE; #line 5295 "/home/jens/Source/shotwell/src/Photo.vala" @@ -40350,11 +40351,11 @@ void library_photo_get_nontrash_duplicate (GFile* file, const gchar* thumbnail_m _tmp17_ = media_source_is_trashed (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_MEDIA_SOURCE, MediaSource)); #line 5295 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = !_tmp17_; -#line 40349 "Photo.c" +#line 40350 "Photo.c" } else { #line 5295 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = FALSE; -#line 40353 "Photo.c" +#line 40354 "Photo.c" } #line 5295 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp14_) { @@ -40366,11 +40367,11 @@ void library_photo_get_nontrash_duplicate (GFile* file, const gchar* thumbnail_m ids = (g_free (ids), NULL); #line 5296 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 40365 "Photo.c" +#line 40366 "Photo.c" } #line 5293 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (photo); -#line 40369 "Photo.c" +#line 40370 "Photo.c" } } } @@ -40382,7 +40383,7 @@ void library_photo_get_nontrash_duplicate (GFile* file, const gchar* thumbnail_m ids = (g_free (ids), NULL); #line 5299 "/home/jens/Source/shotwell/src/Photo.vala" return; -#line 40381 "Photo.c" +#line 40382 "Photo.c" } @@ -40427,7 +40428,7 @@ static gboolean library_photo_real_has_user_generated_metadata (Photo* base) { _tmp3_ = metadata; #line 5306 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp3_ == NULL) { -#line 40426 "Photo.c" +#line 40427 "Photo.c" gboolean _tmp4_ = FALSE; gboolean _tmp5_ = FALSE; GeeList* _tmp6_ = NULL; @@ -40437,7 +40438,7 @@ static gboolean library_photo_real_has_user_generated_metadata (Photo* base) { if (_tmp6_ != NULL) { #line 5307 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = TRUE; -#line 40436 "Photo.c" +#line 40437 "Photo.c" } else { GeeList* _tmp7_ = NULL; gint _tmp8_ = 0; @@ -40450,20 +40451,20 @@ static gboolean library_photo_real_has_user_generated_metadata (Photo* base) { _tmp9_ = _tmp8_; #line 5307 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = _tmp9_ > 0; -#line 40449 "Photo.c" +#line 40450 "Photo.c" } #line 5307 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp5_) { #line 5307 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = TRUE; -#line 40455 "Photo.c" +#line 40456 "Photo.c" } else { Rating _tmp10_ = 0; #line 5307 "/home/jens/Source/shotwell/src/Photo.vala" _tmp10_ = media_source_get_rating (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource)); #line 5307 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = _tmp10_ != RATING_UNRATED; -#line 40462 "Photo.c" +#line 40463 "Photo.c" } #line 5307 "/home/jens/Source/shotwell/src/Photo.vala" result = _tmp4_; @@ -40473,7 +40474,7 @@ static gboolean library_photo_real_has_user_generated_metadata (Photo* base) { _g_object_unref0 (tags); #line 5307 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 40472 "Photo.c" +#line 40473 "Photo.c" } #line 5309 "/home/jens/Source/shotwell/src/Photo.vala" _tmp11_ = media_source_get_rating (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource)); @@ -40491,7 +40492,7 @@ static gboolean library_photo_real_has_user_generated_metadata (Photo* base) { _g_object_unref0 (tags); #line 5310 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 40490 "Photo.c" +#line 40491 "Photo.c" } #line 5312 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = metadata; @@ -40503,7 +40504,7 @@ static gboolean library_photo_real_has_user_generated_metadata (Photo* base) { _tmp17_ = tags; #line 5313 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp17_ != NULL) { -#line 40502 "Photo.c" +#line 40503 "Photo.c" GeeList* _tmp18_ = NULL; gint _tmp19_ = 0; gint _tmp20_ = 0; @@ -40515,11 +40516,11 @@ static gboolean library_photo_real_has_user_generated_metadata (Photo* base) { _tmp20_ = _tmp19_; #line 5313 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = _tmp20_; -#line 40514 "Photo.c" +#line 40515 "Photo.c" } else { #line 5313 "/home/jens/Source/shotwell/src/Photo.vala" _tmp16_ = 0; -#line 40518 "Photo.c" +#line 40519 "Photo.c" } #line 5313 "/home/jens/Source/shotwell/src/Photo.vala" tags_count = _tmp16_; @@ -40527,7 +40528,7 @@ static gboolean library_photo_real_has_user_generated_metadata (Photo* base) { _tmp22_ = keywords; #line 5314 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp22_ != NULL) { -#line 40526 "Photo.c" +#line 40527 "Photo.c" GeeSet* _tmp23_ = NULL; gint _tmp24_ = 0; gint _tmp25_ = 0; @@ -40539,11 +40540,11 @@ static gboolean library_photo_real_has_user_generated_metadata (Photo* base) { _tmp25_ = _tmp24_; #line 5314 "/home/jens/Source/shotwell/src/Photo.vala" _tmp21_ = _tmp25_; -#line 40538 "Photo.c" +#line 40539 "Photo.c" } else { #line 5314 "/home/jens/Source/shotwell/src/Photo.vala" _tmp21_ = 0; -#line 40542 "Photo.c" +#line 40543 "Photo.c" } #line 5314 "/home/jens/Source/shotwell/src/Photo.vala" keywords_count = _tmp21_; @@ -40563,27 +40564,27 @@ static gboolean library_photo_real_has_user_generated_metadata (Photo* base) { _g_object_unref0 (tags); #line 5317 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 40562 "Photo.c" +#line 40563 "Photo.c" } #line 5319 "/home/jens/Source/shotwell/src/Photo.vala" _tmp29_ = tags; #line 5319 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp29_ != NULL) { -#line 40568 "Photo.c" +#line 40569 "Photo.c" GeeSet* _tmp30_ = NULL; #line 5319 "/home/jens/Source/shotwell/src/Photo.vala" _tmp30_ = keywords; #line 5319 "/home/jens/Source/shotwell/src/Photo.vala" _tmp28_ = _tmp30_ != NULL; -#line 40574 "Photo.c" +#line 40575 "Photo.c" } else { #line 5319 "/home/jens/Source/shotwell/src/Photo.vala" _tmp28_ = FALSE; -#line 40578 "Photo.c" +#line 40579 "Photo.c" } #line 5319 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp28_) { -#line 40582 "Photo.c" +#line 40583 "Photo.c" { GeeList* _tag_list = NULL; GeeList* _tmp31_ = NULL; @@ -40611,7 +40612,7 @@ static gboolean library_photo_real_has_user_generated_metadata (Photo* base) { _tag_index = -1; #line 5320 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 40610 "Photo.c" +#line 40611 "Photo.c" gint _tmp36_ = 0; gint _tmp37_ = 0; gint _tmp38_ = 0; @@ -40639,7 +40640,7 @@ static gboolean library_photo_real_has_user_generated_metadata (Photo* base) { if (!(_tmp37_ < _tmp38_)) { #line 5320 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 40638 "Photo.c" +#line 40639 "Photo.c" } #line 5320 "/home/jens/Source/shotwell/src/Photo.vala" _tmp39_ = _tag_list; @@ -40685,15 +40686,15 @@ static gboolean library_photo_real_has_user_generated_metadata (Photo* base) { _g_object_unref0 (tags); #line 5322 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 40684 "Photo.c" +#line 40685 "Photo.c" } #line 5320 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (tag); -#line 40688 "Photo.c" +#line 40689 "Photo.c" } #line 5320 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tag_list); -#line 40692 "Photo.c" +#line 40693 "Photo.c" } } #line 5326 "/home/jens/Source/shotwell/src/Photo.vala" @@ -40706,7 +40707,7 @@ static gboolean library_photo_real_has_user_generated_metadata (Photo* base) { _g_object_unref0 (tags); #line 5326 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 40705 "Photo.c" +#line 40706 "Photo.c" } @@ -40732,7 +40733,7 @@ static void library_photo_real_set_user_metadata_for_export (Photo* base, PhotoM _tmp2_ = photo_tags; #line 5331 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp2_ != NULL) { -#line 40731 "Photo.c" +#line 40732 "Photo.c" GeeCollection* string_tags = NULL; GeeArrayList* _tmp3_ = NULL; PhotoMetadata* _tmp19_ = NULL; @@ -40741,7 +40742,7 @@ static void library_photo_real_set_user_metadata_for_export (Photo* base, PhotoM _tmp3_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL); #line 5332 "/home/jens/Source/shotwell/src/Photo.vala" string_tags = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection); -#line 40740 "Photo.c" +#line 40741 "Photo.c" { GeeList* _tag_list = NULL; GeeList* _tmp4_ = NULL; @@ -40769,7 +40770,7 @@ static void library_photo_real_set_user_metadata_for_export (Photo* base, PhotoM _tag_index = -1; #line 5333 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 40768 "Photo.c" +#line 40769 "Photo.c" gint _tmp9_ = 0; gint _tmp10_ = 0; gint _tmp11_ = 0; @@ -40793,7 +40794,7 @@ static void library_photo_real_set_user_metadata_for_export (Photo* base, PhotoM if (!(_tmp10_ < _tmp11_)) { #line 5333 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 40792 "Photo.c" +#line 40793 "Photo.c" } #line 5333 "/home/jens/Source/shotwell/src/Photo.vala" _tmp12_ = _tag_list; @@ -40817,11 +40818,11 @@ static void library_photo_real_set_user_metadata_for_export (Photo* base, PhotoM _g_free0 (_tmp18_); #line 5333 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (tag); -#line 40816 "Photo.c" +#line 40817 "Photo.c" } #line 5333 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tag_list); -#line 40820 "Photo.c" +#line 40821 "Photo.c" } #line 5336 "/home/jens/Source/shotwell/src/Photo.vala" _tmp19_ = metadata; @@ -40831,14 +40832,14 @@ static void library_photo_real_set_user_metadata_for_export (Photo* base, PhotoM photo_metadata_set_keywords (_tmp19_, _tmp20_, PHOTO_METADATA_SET_OPTION_ALL_DOMAINS); #line 5331 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (string_tags); -#line 40830 "Photo.c" +#line 40831 "Photo.c" } else { PhotoMetadata* _tmp21_ = NULL; #line 5338 "/home/jens/Source/shotwell/src/Photo.vala" _tmp21_ = metadata; #line 5338 "/home/jens/Source/shotwell/src/Photo.vala" photo_metadata_set_keywords (_tmp21_, NULL, PHOTO_METADATA_SET_OPTION_ALL_DOMAINS); -#line 40837 "Photo.c" +#line 40838 "Photo.c" } #line 5340 "/home/jens/Source/shotwell/src/Photo.vala" _tmp22_ = metadata; @@ -40848,7 +40849,7 @@ static void library_photo_real_set_user_metadata_for_export (Photo* base, PhotoM photo_metadata_set_rating (_tmp22_, _tmp23_); #line 5329 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (photo_tags); -#line 40847 "Photo.c" +#line 40848 "Photo.c" } @@ -40874,7 +40875,7 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph _tmp1_ = photo_metadata_has_hierarchical_keywords (_tmp0_); #line 5346 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp1_) { -#line 40873 "Photo.c" +#line 40874 "Photo.c" PhotoMetadata* _tmp2_ = NULL; GeeSet* _tmp3_ = NULL; GeeSet* _tmp4_ = NULL; @@ -40893,7 +40894,7 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph new_htag_index = _tmp5_; #line 5347 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp4_); -#line 40892 "Photo.c" +#line 40893 "Photo.c" } #line 5351 "/home/jens/Source/shotwell/src/Photo.vala" _tmp6_ = metadata; @@ -40905,7 +40906,7 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph _tmp8_ = keywords; #line 5352 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp8_ != NULL) { -#line 40904 "Photo.c" +#line 40905 "Photo.c" { GeeIterator* _keyword_it = NULL; GeeCollection* _tmp9_ = NULL; @@ -40918,7 +40919,7 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph _keyword_it = _tmp10_; #line 5353 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 40917 "Photo.c" +#line 40918 "Photo.c" GeeIterator* _tmp11_ = NULL; gboolean _tmp12_ = FALSE; gchar* keyword = NULL; @@ -40949,7 +40950,7 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph if (!_tmp12_) { #line 5353 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 40948 "Photo.c" +#line 40949 "Photo.c" } #line 5353 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = _keyword_it; @@ -40961,7 +40962,7 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph _tmp16_ = new_htag_index; #line 5354 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp16_ != NULL) { -#line 40960 "Photo.c" +#line 40961 "Photo.c" HierarchicalTagIndex* _tmp17_ = NULL; const gchar* _tmp18_ = NULL; gboolean _tmp19_ = FALSE; @@ -40973,11 +40974,11 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph _tmp19_ = hierarchical_tag_index_is_tag_in_index (_tmp17_, _tmp18_); #line 5354 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = _tmp19_; -#line 40972 "Photo.c" +#line 40973 "Photo.c" } else { #line 5354 "/home/jens/Source/shotwell/src/Photo.vala" _tmp15_ = FALSE; -#line 40976 "Photo.c" +#line 40977 "Photo.c" } #line 5354 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp15_) { @@ -40985,7 +40986,7 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph _g_free0 (keyword); #line 5355 "/home/jens/Source/shotwell/src/Photo.vala" continue; -#line 40984 "Photo.c" +#line 40985 "Photo.c" } #line 5357 "/home/jens/Source/shotwell/src/Photo.vala" _tmp20_ = keyword; @@ -41007,7 +41008,7 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph _tmp26_ = tag_source_collection_exists (_tmp24_, _tmp25_, FALSE); #line 5361 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp26_) { -#line 41006 "Photo.c" +#line 41007 "Photo.c" const gchar* _tmp27_ = NULL; Tag* _tmp28_ = NULL; Tag* _tmp29_ = NULL; @@ -41029,7 +41030,7 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph _g_free0 (keyword); #line 5363 "/home/jens/Source/shotwell/src/Photo.vala" continue; -#line 41028 "Photo.c" +#line 41029 "Photo.c" } #line 5366 "/home/jens/Source/shotwell/src/Photo.vala" _tmp30_ = tag_global; @@ -41039,7 +41040,7 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph _tmp32_ = tag_source_collection_exists (_tmp30_, _tmp31_, FALSE); #line 5366 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp32_) { -#line 41038 "Photo.c" +#line 41039 "Photo.c" const gchar* _tmp33_ = NULL; Tag* _tmp34_ = NULL; Tag* _tmp35_ = NULL; @@ -41061,7 +41062,7 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph _g_free0 (keyword); #line 5368 "/home/jens/Source/shotwell/src/Photo.vala" continue; -#line 41060 "Photo.c" +#line 41061 "Photo.c" } #line 5371 "/home/jens/Source/shotwell/src/Photo.vala" _tmp36_ = keyword; @@ -41079,18 +41080,18 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph _g_free0 (safe_keyword); #line 5353 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (keyword); -#line 41078 "Photo.c" +#line 41079 "Photo.c" } #line 5353 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_keyword_it); -#line 41082 "Photo.c" +#line 41083 "Photo.c" } } #line 5375 "/home/jens/Source/shotwell/src/Photo.vala" _tmp39_ = new_htag_index; #line 5375 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp39_ != NULL) { -#line 41089 "Photo.c" +#line 41090 "Photo.c" { GeeIterator* _path_it = NULL; HierarchicalTagIndex* _tmp40_ = NULL; @@ -41114,7 +41115,7 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph _path_it = _tmp44_; #line 5376 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 41113 "Photo.c" +#line 41114 "Photo.c" GeeIterator* _tmp45_ = NULL; gboolean _tmp46_ = FALSE; gchar* path = NULL; @@ -41131,7 +41132,7 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph if (!_tmp46_) { #line 5376 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 41130 "Photo.c" +#line 41131 "Photo.c" } #line 5376 "/home/jens/Source/shotwell/src/Photo.vala" _tmp47_ = _path_it; @@ -41151,18 +41152,18 @@ static void library_photo_real_apply_user_metadata_for_reimport (Photo* base, Ph _g_object_unref0 (_tmp51_); #line 5376 "/home/jens/Source/shotwell/src/Photo.vala" _g_free0 (path); -#line 41150 "Photo.c" +#line 41151 "Photo.c" } #line 5376 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_path_it); -#line 41154 "Photo.c" +#line 41155 "Photo.c" } } #line 5343 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (keywords); #line 5343 "/home/jens/Source/shotwell/src/Photo.vala" _hierarchical_tag_index_unref0 (new_htag_index); -#line 41161 "Photo.c" +#line 41162 "Photo.c" } @@ -41211,7 +41212,7 @@ static void library_photo_class_init (LibraryPhotoClass * klass) { ((PhotoClass *) klass)->apply_user_metadata_for_reimport = library_photo_real_apply_user_metadata_for_reimport; #line 4944 "/home/jens/Source/shotwell/src/Photo.vala" G_OBJECT_CLASS (klass)->finalize = library_photo_finalize; -#line 41210 "Photo.c" +#line 41211 "Photo.c" } @@ -41224,7 +41225,7 @@ static void library_photo_flaggable_interface_init (FlaggableIface * iface) { iface->mark_flagged = (void (*)(Flaggable*)) library_photo_real_mark_flagged; #line 4944 "/home/jens/Source/shotwell/src/Photo.vala" iface->mark_unflagged = (void (*)(Flaggable*)) library_photo_real_mark_unflagged; -#line 41223 "Photo.c" +#line 41224 "Photo.c" } @@ -41241,7 +41242,7 @@ static void library_photo_monitorable_interface_init (MonitorableIface * iface) iface->set_master_file = (void (*)(Monitorable*, GFile*)) photo_set_master_file; #line 4944 "/home/jens/Source/shotwell/src/Photo.vala" iface->set_master_timestamp = (void (*)(Monitorable*, GFileInfo*)) photo_set_master_timestamp; -#line 41240 "Photo.c" +#line 41241 "Photo.c" } @@ -41252,7 +41253,7 @@ static void library_photo_instance_init (LibraryPhoto * self) { self->priv->block_thumbnail_generation = FALSE; #line 4956 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->thumbnail_scheduler = NULL; -#line 41251 "Photo.c" +#line 41252 "Photo.c" } @@ -41266,7 +41267,7 @@ static void library_photo_finalize (GObject* obj) { _g_object_unref0 (self->priv->import_keywords); #line 4944 "/home/jens/Source/shotwell/src/Photo.vala" G_OBJECT_CLASS (library_photo_parent_class)->finalize (obj); -#line 41265 "Photo.c" +#line 41266 "Photo.c" } @@ -41309,14 +41310,14 @@ LibraryPhotoSourceHoldingTank* library_photo_source_holding_tank_construct (GTyp self = (LibraryPhotoSourceHoldingTank*) media_source_holding_tank_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), _tmp1_, _tmp1__target, _tmp2_, _tmp2__target); #line 5393 "/home/jens/Source/shotwell/src/Photo.vala" return self; -#line 41308 "Photo.c" +#line 41309 "Photo.c" } LibraryPhotoSourceHoldingTank* library_photo_source_holding_tank_new (LibraryPhotoSourceCollection* sources, SourceHoldingTankCheckToKeep check_to_keep, void* check_to_keep_target, GetSourceDatabaseKey get_key, void* get_key_target) { #line 5393 "/home/jens/Source/shotwell/src/Photo.vala" return library_photo_source_holding_tank_construct (TYPE_LIBRARY_PHOTO_SOURCE_HOLDING_TANK, sources, check_to_keep, check_to_keep_target, get_key, get_key_target); -#line 41315 "Photo.c" +#line 41316 "Photo.c" } @@ -41354,7 +41355,7 @@ LibraryPhoto* library_photo_source_holding_tank_fetch_by_backing_file (LibraryPh result = ret; #line 5402 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 41353 "Photo.c" +#line 41354 "Photo.c" } #line 5404 "/home/jens/Source/shotwell/src/Photo.vala" _tmp4_ = self->priv->development_file_map; @@ -41368,21 +41369,21 @@ LibraryPhoto* library_photo_source_holding_tank_fetch_by_backing_file (LibraryPh _g_object_unref0 (ret); #line 5404 "/home/jens/Source/shotwell/src/Photo.vala" return result; -#line 41367 "Photo.c" +#line 41368 "Photo.c" } static void _library_photo_source_holding_tank_on_editable_replaced_photo_editable_replaced (Photo* _sender, GFile* old_file, GFile* new_file, gpointer self) { #line 5428 "/home/jens/Source/shotwell/src/Photo.vala" library_photo_source_holding_tank_on_editable_replaced ((LibraryPhotoSourceHoldingTank*) self, _sender, old_file, new_file); -#line 41374 "Photo.c" +#line 41375 "Photo.c" } static void _library_photo_source_holding_tank_on_raw_development_modified_photo_raw_development_modified (Photo* _sender, gpointer self) { #line 5429 "/home/jens/Source/shotwell/src/Photo.vala" library_photo_source_holding_tank_on_raw_development_modified ((LibraryPhotoSourceHoldingTank*) self, _sender); -#line 41381 "Photo.c" +#line 41382 "Photo.c" } @@ -41402,7 +41403,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour _tmp0_ = added; #line 5409 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp0_ != NULL) { -#line 41401 "Photo.c" +#line 41402 "Photo.c" { GeeIterator* _source_it = NULL; GeeCollection* _tmp1_ = NULL; @@ -41415,7 +41416,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour _source_it = _tmp2_; #line 5410 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 41414 "Photo.c" +#line 41415 "Photo.c" GeeIterator* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; DataSource* source = NULL; @@ -41442,7 +41443,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour if (!_tmp4_) { #line 5410 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 41441 "Photo.c" +#line 41442 "Photo.c" } #line 5410 "/home/jens/Source/shotwell/src/Photo.vala" _tmp5_ = _source_it; @@ -41468,7 +41469,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour _g_object_unref0 (_tmp11_); #line 5414 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp12_) { -#line 41467 "Photo.c" +#line 41468 "Photo.c" GeeHashMap* _tmp13_ = NULL; LibraryPhoto* _tmp14_ = NULL; GFile* _tmp15_ = NULL; @@ -41507,7 +41508,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour gee_multi_map_set (_tmp18_, _tmp19_, _tmp22_); #line 5416 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_tmp22_); -#line 41506 "Photo.c" +#line 41507 "Photo.c" } #line 5420 "/home/jens/Source/shotwell/src/Photo.vala" _tmp23_ = photo; @@ -41519,7 +41520,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour _tmp25_ = raw_files; #line 5421 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp25_ != NULL) { -#line 41518 "Photo.c" +#line 41519 "Photo.c" { GeeIterator* _f_it = NULL; GeeCollection* _tmp26_ = NULL; @@ -41532,7 +41533,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour _f_it = _tmp27_; #line 5422 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 41531 "Photo.c" +#line 41532 "Photo.c" GeeIterator* _tmp28_ = NULL; gboolean _tmp29_ = FALSE; GFile* f = NULL; @@ -41552,7 +41553,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour if (!_tmp29_) { #line 5422 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 41551 "Photo.c" +#line 41552 "Photo.c" } #line 5422 "/home/jens/Source/shotwell/src/Photo.vala" _tmp30_ = _f_it; @@ -41578,11 +41579,11 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour gee_multi_map_set (_tmp35_, _tmp36_, _tmp37_); #line 5422 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (f); -#line 41577 "Photo.c" +#line 41578 "Photo.c" } #line 5422 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_f_it); -#line 41581 "Photo.c" +#line 41582 "Photo.c" } } #line 5428 "/home/jens/Source/shotwell/src/Photo.vala" @@ -41599,18 +41600,18 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour _g_object_unref0 (photo); #line 5410 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (source); -#line 41598 "Photo.c" +#line 41599 "Photo.c" } #line 5410 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_source_it); -#line 41602 "Photo.c" +#line 41603 "Photo.c" } } #line 5433 "/home/jens/Source/shotwell/src/Photo.vala" _tmp40_ = removed; #line 5433 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp40_ != NULL) { -#line 41609 "Photo.c" +#line 41610 "Photo.c" { GeeIterator* _source_it = NULL; GeeCollection* _tmp41_ = NULL; @@ -41623,7 +41624,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour _source_it = _tmp42_; #line 5434 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 41622 "Photo.c" +#line 41623 "Photo.c" GeeIterator* _tmp43_ = NULL; gboolean _tmp44_ = FALSE; DataSource* source = NULL; @@ -41648,7 +41649,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour if (!_tmp44_) { #line 5434 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 41647 "Photo.c" +#line 41648 "Photo.c" } #line 5434 "/home/jens/Source/shotwell/src/Photo.vala" _tmp45_ = _source_it; @@ -41662,7 +41663,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour _tmp48_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, TYPE_LIBRARY_PHOTO, LibraryPhoto)); #line 5435 "/home/jens/Source/shotwell/src/Photo.vala" photo = _tmp48_; -#line 41661 "Photo.c" +#line 41662 "Photo.c" { GeeIterator* _f_it = NULL; GeeMultiMap* _tmp49_ = NULL; @@ -41689,7 +41690,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour _f_it = _tmp54_; #line 5436 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 41688 "Photo.c" +#line 41689 "Photo.c" GeeIterator* _tmp55_ = NULL; gboolean _tmp56_ = FALSE; GFile* f = NULL; @@ -41705,7 +41706,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour if (!_tmp56_) { #line 5436 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 41704 "Photo.c" +#line 41705 "Photo.c" } #line 5436 "/home/jens/Source/shotwell/src/Photo.vala" _tmp57_ = _f_it; @@ -41721,11 +41722,11 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour gee_abstract_map_unset (G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp60_, NULL); #line 5436 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (f); -#line 41720 "Photo.c" +#line 41721 "Photo.c" } #line 5436 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_f_it); -#line 41724 "Photo.c" +#line 41725 "Photo.c" } { GeeIterator* _f_it = NULL; @@ -41753,7 +41754,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour _f_it = _tmp66_; #line 5439 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 41752 "Photo.c" +#line 41753 "Photo.c" GeeIterator* _tmp67_ = NULL; gboolean _tmp68_ = FALSE; GFile* f = NULL; @@ -41769,7 +41770,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour if (!_tmp68_) { #line 5439 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 41768 "Photo.c" +#line 41769 "Photo.c" } #line 5439 "/home/jens/Source/shotwell/src/Photo.vala" _tmp69_ = _f_it; @@ -41785,11 +41786,11 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour gee_abstract_map_unset (G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp72_, NULL); #line 5439 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (f); -#line 41784 "Photo.c" +#line 41785 "Photo.c" } #line 5439 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_f_it); -#line 41788 "Photo.c" +#line 41789 "Photo.c" } #line 5442 "/home/jens/Source/shotwell/src/Photo.vala" _tmp73_ = self->priv->reverse_editable_file_map; @@ -41819,11 +41820,11 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour _g_object_unref0 (photo); #line 5434 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (source); -#line 41818 "Photo.c" +#line 41819 "Photo.c" } #line 5434 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_source_it); -#line 41822 "Photo.c" +#line 41823 "Photo.c" } } #line 5450 "/home/jens/Source/shotwell/src/Photo.vala" @@ -41832,7 +41833,7 @@ static void library_photo_source_holding_tank_real_notify_contents_altered (Sour _tmp82_ = removed; #line 5450 "/home/jens/Source/shotwell/src/Photo.vala" SOURCE_HOLDING_TANK_CLASS (library_photo_source_holding_tank_parent_class)->notify_contents_altered (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_HOLDING_TANK, MediaSourceHoldingTank), TYPE_SOURCE_HOLDING_TANK, SourceHoldingTank), _tmp81_, _tmp82_); -#line 41831 "Photo.c" +#line 41832 "Photo.c" } @@ -41868,7 +41869,7 @@ static void library_photo_source_holding_tank_on_editable_replaced (LibraryPhoto _tmp3_ = old_file; #line 5457 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp3_ != NULL) { -#line 41867 "Photo.c" +#line 41868 "Photo.c" GeeHashMap* _tmp4_ = NULL; GFile* _tmp5_ = NULL; GeeMultiMap* _tmp6_ = NULL; @@ -41888,13 +41889,13 @@ static void library_photo_source_holding_tank_on_editable_replaced (LibraryPhoto _tmp8_ = old_file; #line 5459 "/home/jens/Source/shotwell/src/Photo.vala" gee_multi_map_remove (_tmp6_, _tmp7_, _tmp8_); -#line 41887 "Photo.c" +#line 41888 "Photo.c" } #line 5462 "/home/jens/Source/shotwell/src/Photo.vala" _tmp9_ = new_file; #line 5462 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp9_ != NULL) { -#line 41893 "Photo.c" +#line 41894 "Photo.c" GeeHashMap* _tmp10_ = NULL; GFile* _tmp11_ = NULL; LibraryPhoto* _tmp12_ = NULL; @@ -41906,7 +41907,7 @@ static void library_photo_source_holding_tank_on_editable_replaced (LibraryPhoto _tmp12_ = photo; #line 5463 "/home/jens/Source/shotwell/src/Photo.vala" gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp11_, _tmp12_); -#line 41905 "Photo.c" +#line 41906 "Photo.c" } #line 5464 "/home/jens/Source/shotwell/src/Photo.vala" _tmp13_ = self->priv->reverse_editable_file_map; @@ -41918,7 +41919,7 @@ static void library_photo_source_holding_tank_on_editable_replaced (LibraryPhoto gee_multi_map_set (_tmp13_, _tmp14_, _tmp15_); #line 5453 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (photo); -#line 41917 "Photo.c" +#line 41918 "Photo.c" } @@ -41956,7 +41957,7 @@ static void library_photo_source_holding_tank_on_raw_development_modified (Libra _tmp5_ = gee_multi_map_contains (_tmp3_, _tmp4_); #line 5472 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp5_) { -#line 41955 "Photo.c" +#line 41956 "Photo.c" GeeMultiMap* _tmp18_ = NULL; LibraryPhoto* _tmp19_ = NULL; { @@ -41985,7 +41986,7 @@ static void library_photo_source_holding_tank_on_raw_development_modified (Libra _f_it = _tmp11_; #line 5473 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 41984 "Photo.c" +#line 41985 "Photo.c" GeeIterator* _tmp12_ = NULL; gboolean _tmp13_ = FALSE; GFile* f = NULL; @@ -42001,7 +42002,7 @@ static void library_photo_source_holding_tank_on_raw_development_modified (Libra if (!_tmp13_) { #line 5473 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 42000 "Photo.c" +#line 42001 "Photo.c" } #line 5473 "/home/jens/Source/shotwell/src/Photo.vala" _tmp14_ = _f_it; @@ -42017,11 +42018,11 @@ static void library_photo_source_holding_tank_on_raw_development_modified (Libra gee_abstract_map_unset (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp17_, NULL); #line 5473 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (f); -#line 42016 "Photo.c" +#line 42017 "Photo.c" } #line 5473 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_f_it); -#line 42020 "Photo.c" +#line 42021 "Photo.c" } #line 5475 "/home/jens/Source/shotwell/src/Photo.vala" _tmp18_ = self->priv->reverse_development_file_map; @@ -42029,7 +42030,7 @@ static void library_photo_source_holding_tank_on_raw_development_modified (Libra _tmp19_ = photo; #line 5475 "/home/jens/Source/shotwell/src/Photo.vala" gee_multi_map_remove_all (_tmp18_, _tmp19_); -#line 42028 "Photo.c" +#line 42029 "Photo.c" } #line 5479 "/home/jens/Source/shotwell/src/Photo.vala" _tmp20_ = photo; @@ -42041,7 +42042,7 @@ static void library_photo_source_holding_tank_on_raw_development_modified (Libra _tmp22_ = raw_list; #line 5480 "/home/jens/Source/shotwell/src/Photo.vala" if (_tmp22_ != NULL) { -#line 42040 "Photo.c" +#line 42041 "Photo.c" { GeeIterator* _f_it = NULL; GeeCollection* _tmp23_ = NULL; @@ -42054,7 +42055,7 @@ static void library_photo_source_holding_tank_on_raw_development_modified (Libra _f_it = _tmp24_; #line 5481 "/home/jens/Source/shotwell/src/Photo.vala" while (TRUE) { -#line 42053 "Photo.c" +#line 42054 "Photo.c" GeeIterator* _tmp25_ = NULL; gboolean _tmp26_ = FALSE; GFile* f = NULL; @@ -42074,7 +42075,7 @@ static void library_photo_source_holding_tank_on_raw_development_modified (Libra if (!_tmp26_) { #line 5481 "/home/jens/Source/shotwell/src/Photo.vala" break; -#line 42073 "Photo.c" +#line 42074 "Photo.c" } #line 5481 "/home/jens/Source/shotwell/src/Photo.vala" _tmp27_ = _f_it; @@ -42100,18 +42101,18 @@ static void library_photo_source_holding_tank_on_raw_development_modified (Libra gee_multi_map_set (_tmp32_, _tmp33_, _tmp34_); #line 5481 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (f); -#line 42099 "Photo.c" +#line 42100 "Photo.c" } #line 5481 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (_f_it); -#line 42103 "Photo.c" +#line 42104 "Photo.c" } } #line 5467 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (raw_list); #line 5467 "/home/jens/Source/shotwell/src/Photo.vala" _g_object_unref0 (photo); -#line 42110 "Photo.c" +#line 42111 "Photo.c" } @@ -42124,7 +42125,7 @@ static void library_photo_source_holding_tank_class_init (LibraryPhotoSourceHold g_type_class_add_private (klass, sizeof (LibraryPhotoSourceHoldingTankPrivate)); #line 5383 "/home/jens/Source/shotwell/src/Photo.vala" ((SourceHoldingTankClass *) klass)->notify_contents_altered = library_photo_source_holding_tank_real_notify_contents_altered; -#line 42123 "Photo.c" +#line 42124 "Photo.c" } @@ -42151,7 +42152,7 @@ static void library_photo_source_holding_tank_instance_init (LibraryPhotoSourceH _tmp3_ = gee_hash_multi_map_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL); #line 5390 "/home/jens/Source/shotwell/src/Photo.vala" self->priv->reverse_development_file_map = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_MULTI_MAP, GeeMultiMap); -#line 42150 "Photo.c" +#line 42151 "Photo.c" } @@ -42169,7 +42170,7 @@ static void library_photo_source_holding_tank_finalize (SourceHoldingTank* obj) _g_object_unref0 (self->priv->reverse_development_file_map); #line 5383 "/home/jens/Source/shotwell/src/Photo.vala" SOURCE_HOLDING_TANK_CLASS (library_photo_source_holding_tank_parent_class)->finalize (obj); -#line 42168 "Photo.c" +#line 42169 "Photo.c" } diff --git a/src/PhotoMonitor.c b/src/PhotoMonitor.c index 923a311..0eb420e 100644 --- a/src/PhotoMonitor.c +++ b/src/PhotoMonitor.c @@ -6616,7 +6616,7 @@ static void photo_monitor_real_process_updates (MediaMonitor* base, GeeCollectio #line 997 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 6617 "PhotoMonitor.c" - goto __catch572_database_error; + goto __catch585_database_error; } #line 997 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" _g_object_unref0 (reimport_raw_developments); @@ -6641,8 +6641,8 @@ static void photo_monitor_real_process_updates (MediaMonitor* base, GeeCollectio #line 6640 "PhotoMonitor.c" } } - goto __finally572; - __catch572_database_error: + goto __finally585; + __catch585_database_error: { GError* err = NULL; GError* _tmp97_ = NULL; @@ -6658,7 +6658,7 @@ static void photo_monitor_real_process_updates (MediaMonitor* base, GeeCollectio _g_error_free0 (err); #line 6658 "PhotoMonitor.c" } - __finally572: + __finally585: #line 996 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 996 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" @@ -6718,7 +6718,7 @@ static void photo_monitor_real_process_updates (MediaMonitor* base, GeeCollectio #line 1007 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 6719 "PhotoMonitor.c" - goto __catch573_database_error; + goto __catch586_database_error; } #line 1007 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" _g_object_unref0 (reimport_raw_developments); @@ -6743,8 +6743,8 @@ static void photo_monitor_real_process_updates (MediaMonitor* base, GeeCollectio #line 6742 "PhotoMonitor.c" } } - goto __finally573; - __catch573_database_error: + goto __finally586; + __catch586_database_error: { GError* err = NULL; GError* _tmp105_ = NULL; @@ -6760,7 +6760,7 @@ static void photo_monitor_real_process_updates (MediaMonitor* base, GeeCollectio _g_error_free0 (err); #line 6760 "PhotoMonitor.c" } - __finally573: + __finally586: #line 1006 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1006 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" @@ -7437,7 +7437,7 @@ static void photo_monitor_on_master_reimported (PhotoMonitor* self, BackgroundJo #line 1085 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 7437 "PhotoMonitor.c" - goto __catch574_database_error; + goto __catch587_database_error; } #line 1085 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" _background_job_unref0 (job); @@ -7450,8 +7450,8 @@ static void photo_monitor_on_master_reimported (PhotoMonitor* self, BackgroundJo #line 7448 "PhotoMonitor.c" } } - goto __finally574; - __catch574_database_error: + goto __finally587; + __catch587_database_error: { GError* err = NULL; GError* _tmp26_ = NULL; @@ -7467,7 +7467,7 @@ static void photo_monitor_on_master_reimported (PhotoMonitor* self, BackgroundJo _g_error_free0 (err); #line 7466 "PhotoMonitor.c" } - __finally574: + __finally587: #line 1084 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1084 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" @@ -7650,7 +7650,7 @@ static void photo_monitor_on_editable_reimported (PhotoMonitor* self, Background #line 1116 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 7650 "PhotoMonitor.c" - goto __catch575_database_error; + goto __catch588_database_error; } #line 1116 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" _background_job_unref0 (job); @@ -7663,8 +7663,8 @@ static void photo_monitor_on_editable_reimported (PhotoMonitor* self, Background #line 7661 "PhotoMonitor.c" } } - goto __finally575; - __catch575_database_error: + goto __finally588; + __catch588_database_error: { GError* err = NULL; GError* _tmp20_ = NULL; @@ -7680,7 +7680,7 @@ static void photo_monitor_on_editable_reimported (PhotoMonitor* self, Background _g_error_free0 (err); #line 7679 "PhotoMonitor.c" } - __finally575: + __finally588: #line 1115 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1115 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" @@ -7844,7 +7844,7 @@ static void photo_monitor_on_raw_development_reimported (PhotoMonitor* self, Bac #line 1143 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 7844 "PhotoMonitor.c" - goto __catch576_database_error; + goto __catch589_database_error; } #line 1143 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" _background_job_unref0 (job); @@ -7857,8 +7857,8 @@ static void photo_monitor_on_raw_development_reimported (PhotoMonitor* self, Bac #line 7855 "PhotoMonitor.c" } } - goto __finally576; - __catch576_database_error: + goto __finally589; + __catch589_database_error: { GError* err = NULL; GError* _tmp20_ = NULL; @@ -7874,7 +7874,7 @@ static void photo_monitor_on_raw_development_reimported (PhotoMonitor* self, Bac _g_error_free0 (err); #line 7873 "PhotoMonitor.c" } - __finally576: + __finally589: #line 1142 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1142 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" @@ -8030,14 +8030,14 @@ static void photo_monitor_reimport_master_job_real_execute (BackgroundJob* base) #line 176 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 8030 "PhotoMonitor.c" - goto __catch577_g_error; + goto __catch590_g_error; } #line 176 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" self->mark_online = _tmp0_; #line 8035 "PhotoMonitor.c" } - goto __finally577; - __catch577_g_error: + goto __finally590; + __catch590_g_error: { GError* err = NULL; GError* _tmp4_ = NULL; @@ -8058,7 +8058,7 @@ static void photo_monitor_reimport_master_job_real_execute (BackgroundJob* base) _g_error_free0 (err); #line 8057 "PhotoMonitor.c" } - __finally577: + __finally590: #line 175 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 175 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" @@ -8208,14 +8208,14 @@ static void photo_monitor_reimport_editable_job_real_execute (BackgroundJob* bas #line 198 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 8208 "PhotoMonitor.c" - goto __catch578_g_error; + goto __catch591_g_error; } #line 198 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" self->success = _tmp0_; #line 8213 "PhotoMonitor.c" } - goto __finally578; - __catch578_g_error: + goto __finally591; + __catch591_g_error: { GError* err = NULL; GError* _tmp4_ = NULL; @@ -8236,7 +8236,7 @@ static void photo_monitor_reimport_editable_job_real_execute (BackgroundJob* bas _g_error_free0 (err); #line 8235 "PhotoMonitor.c" } - __finally578: + __finally591: #line 197 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 197 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" @@ -8386,14 +8386,14 @@ static void photo_monitor_reimport_raw_development_job_real_execute (BackgroundJ #line 220 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 8386 "PhotoMonitor.c" - goto __catch579_g_error; + goto __catch592_g_error; } #line 220 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" self->success = _tmp0_; #line 8391 "PhotoMonitor.c" } - goto __finally579; - __catch579_g_error: + goto __finally592; + __catch592_g_error: { GError* err = NULL; GError* _tmp4_ = NULL; @@ -8414,7 +8414,7 @@ static void photo_monitor_reimport_raw_development_job_real_execute (BackgroundJ _g_error_free0 (err); #line 8413 "PhotoMonitor.c" } - __finally579: + __finally592: #line 219 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 219 "/home/jens/Source/shotwell/src/PhotoMonitor.vala" diff --git a/src/PhotoPage.c b/src/PhotoPage.c index c2639d4..33c1611 100644 --- a/src/PhotoPage.c +++ b/src/PhotoPage.c @@ -1677,7 +1677,7 @@ void editing_host_page_on_rotate_clockwise (EditingHostPage* self); static void _editing_host_page_on_rotate_clockwise_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self); #define RESOURCES_CROP "shotwell-crop" #define RESOURCES_CROP_LABEL _ ("Crop") -#define RESOURCES_CROP_TOOLTIP _ ("Crop the photo's size") +#define RESOURCES_CROP_TOOLTIP _ ("Crop the photo’s size") static void editing_host_page_on_crop_toggled (EditingHostPage* self); static void _editing_host_page_on_crop_toggled_gtk_toggle_tool_button_toggled (GtkToggleToolButton* _sender, gpointer self); #define RESOURCES_STRAIGHTEN "shotwell-straighten" @@ -1692,12 +1692,12 @@ static void editing_host_page_on_redeye_toggled (EditingHostPage* self); static void _editing_host_page_on_redeye_toggled_gtk_toggle_tool_button_toggled (GtkToggleToolButton* _sender, gpointer self); #define RESOURCES_ADJUST "image-adjust" #define RESOURCES_ADJUST_LABEL _ ("Adjust") -#define RESOURCES_ADJUST_TOOLTIP _ ("Adjust the photo's color and tone") +#define RESOURCES_ADJUST_TOOLTIP _ ("Adjust the photo’s color and tone") static void editing_host_page_on_adjust_toggled (EditingHostPage* self); static void _editing_host_page_on_adjust_toggled_gtk_toggle_tool_button_toggled (GtkToggleToolButton* _sender, gpointer self); #define RESOURCES_ENHANCE_LABEL _ ("Enhance") #define RESOURCES_ENHANCE "shotwell-auto-enhance" -#define RESOURCES_ENHANCE_TOOLTIP _ ("Automatically improve the photo's appearance") +#define RESOURCES_ENHANCE_TOOLTIP _ ("Automatically improve the photo’s appearance") void editing_host_page_on_enhance (EditingHostPage* self); static void _editing_host_page_on_enhance_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self); GdkPixbuf* resources_load_icon (const gchar* name, gint scale); @@ -2186,17 +2186,17 @@ GtkActionEntry* page_init_collect_action_entries (Page* self, int* result_length #define TRANSLATABLE "translatable" static void library_photo_page_on_export (LibraryPhotoPage* self); static void _library_photo_page_on_export_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_EXPORT_MENU _ ("_Export...") +#define RESOURCES_EXPORT_MENU _ ("_Export…") static void _vala_array_add193 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_PRINT_LABEL _ ("_Print") static void library_photo_page_on_print (LibraryPhotoPage* self); static void _library_photo_page_on_print_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_PRINT_MENU _ ("_Print...") +#define RESOURCES_PRINT_MENU _ ("_Print…") static void _vala_array_add194 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_PUBLISH "applications-internet" static void library_photo_page_on_publish (LibraryPhotoPage* self); static void _library_photo_page_on_publish_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_PUBLISH_MENU _ ("Pu_blish...") +#define RESOURCES_PUBLISH_MENU _ ("Pu_blish…") #define RESOURCES_PUBLISH_TOOLTIP _ ("Publish to various websites") static void _vala_array_add195 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_REMOVE_LABEL _ ("_Remove") @@ -2258,13 +2258,13 @@ static void _editing_host_page_on_revert_gtk_action_callback (GtkAction* action, #define RESOURCES_REVERT_MENU _ ("Re_vert to Original") static void _vala_array_add213 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void _editing_host_page_on_edit_title_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_EDIT_TITLE_MENU _ ("Edit _Title...") +#define RESOURCES_EDIT_TITLE_MENU _ ("Edit _Title…") static void _vala_array_add214 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void _editing_host_page_on_edit_comment_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_EDIT_COMMENT_MENU _ ("Edit _Comment...") +#define RESOURCES_EDIT_COMMENT_MENU _ ("Edit _Comment…") static void _vala_array_add215 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void _editing_host_page_on_adjust_date_time_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_ADJUST_DATE_TIME_MENU _ ("_Adjust Date and Time...") +#define RESOURCES_ADJUST_DATE_TIME_MENU _ ("_Adjust Date and Time…") static void _vala_array_add216 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_EDIT_LABEL _ ("_Edit") static void library_photo_page_on_external_edit (LibraryPhotoPage* self); @@ -2277,7 +2277,7 @@ static void _library_photo_page_on_external_edit_raw_gtk_action_callback (GtkAct static void _vala_array_add218 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void library_photo_page_on_send_to (LibraryPhotoPage* self); static void _library_photo_page_on_send_to_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_SEND_TO_MENU _ ("Send _To...") +#define RESOURCES_SEND_TO_MENU _ ("Send _To…") static void _vala_array_add219 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void _editing_host_page_on_set_background_gtk_action_callback (GtkAction* action, gpointer self); #define RESOURCES_SET_BACKGROUND_MENU _ ("Set as _Desktop Background") @@ -2336,19 +2336,19 @@ static void _editing_host_page_snap_zoom_to_max_gtk_action_callback (GtkAction* static void _vala_array_add236 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void library_photo_page_on_add_tags (LibraryPhotoPage* self); static void _library_photo_page_on_add_tags_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_ADD_TAGS_MENU _ ("Add _Tags...") +#define RESOURCES_ADD_TAGS_MENU _ ("Add _Tags…") static void _vala_array_add237 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void library_photo_page_on_modify_tags (LibraryPhotoPage* self); static void _library_photo_page_on_modify_tags_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_MODIFY_TAGS_MENU _ ("Modif_y Tags...") +#define RESOURCES_MODIFY_TAGS_MENU _ ("Modif_y Tags…") static void _vala_array_add238 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void library_photo_page_on_slideshow (LibraryPhotoPage* self); static void _library_photo_page_on_slideshow_gtk_action_callback (GtkAction* action, gpointer self); static void _vala_array_add239 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void _vala_array_add240 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); -#define RESOURCES_SEND_TO_CONTEXT_MENU _ ("Send T_o...") +#define RESOURCES_SEND_TO_CONTEXT_MENU _ ("Send T_o…") static void _vala_array_add241 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); -#define RESOURCES_ADD_TAGS_CONTEXT_MENU _ ("_Add Tags...") +#define RESOURCES_ADD_TAGS_CONTEXT_MENU _ ("_Add Tags…") static void _vala_array_add242 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static GtkToggleActionEntry* library_photo_page_real_init_collect_toggle_action_entries (Page* base, int* result_length1); GtkToggleActionEntry* page_init_collect_toggle_action_entries (Page* self, int* result_length1); @@ -2356,7 +2356,7 @@ static void library_photo_page_on_display_ratings (LibraryPhotoPage* self, GtkAc static void _library_photo_page_on_display_ratings_gtk_action_callback (GtkAction* action, gpointer self); gboolean configuration_facade_get_display_photo_ratings (ConfigurationFacade* self); #define RESOURCES_VIEW_RATINGS_MENU _ ("_Ratings") -#define RESOURCES_VIEW_RATINGS_TOOLTIP _ ("Display each photo's rating") +#define RESOURCES_VIEW_RATINGS_TOOLTIP _ ("Display each photo’s rating") static void _vala_array_add243 (GtkToggleActionEntry** array, int* length, int* size, const GtkToggleActionEntry* value); static InjectionGroup** library_photo_page_real_init_collect_injection_groups (Page* base, int* result_length1); InjectionGroup** page_init_collect_injection_groups (Page* self, int* result_length1); @@ -4108,7 +4108,7 @@ static void zoom_buffer_iso_source_fetch_job_real_execute (BackgroundJob* base) #line 29 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4108 "PhotoPage.c" - goto __catch230_g_error; + goto __catch243_g_error; } #line 29 "/home/jens/Source/shotwell/src/PhotoPage.vala" _tmp4_ = _tmp0_; @@ -4122,8 +4122,8 @@ static void zoom_buffer_iso_source_fetch_job_real_execute (BackgroundJob* base) _g_object_unref0 (_tmp0_); #line 4121 "PhotoPage.c" } - goto __finally230; - __catch230_g_error: + goto __finally243; + __catch243_g_error: { GError* fetch_error = NULL; #line 28 "/home/jens/Source/shotwell/src/PhotoPage.vala" @@ -4137,7 +4137,7 @@ static void zoom_buffer_iso_source_fetch_job_real_execute (BackgroundJob* base) _g_error_free0 (fetch_error); #line 4135 "PhotoPage.c" } - __finally230: + __finally243: #line 28 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 28 "/home/jens/Source/shotwell/src/PhotoPage.vala" @@ -7143,7 +7143,7 @@ static void editing_host_page_on_pixbuf_fetched (EditingHostPage* self, Photo* p #line 965 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 7141 "PhotoPage.c" - goto __catch231_g_error; + goto __catch244_g_error; } #line 968 "/home/jens/Source/shotwell/src/PhotoPage.vala" _tmp23_ = tool_pixbuf; @@ -7166,8 +7166,8 @@ static void editing_host_page_on_pixbuf_fetched (EditingHostPage* self, Photo* p _g_object_unref0 (tool_pixbuf); #line 7163 "PhotoPage.c" } - goto __finally231; - __catch231_g_error: + goto __finally244; + __catch244_g_error: { GError* err = NULL; Photo* _tmp26_ = NULL; @@ -7201,7 +7201,7 @@ static void editing_host_page_on_pixbuf_fetched (EditingHostPage* self, Photo* p return; #line 7198 "PhotoPage.c" } - __finally231: + __finally244: #line 963 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 963 "/home/jens/Source/shotwell/src/PhotoPage.vala" @@ -8209,7 +8209,7 @@ void editing_host_page_set_photo_missing (EditingHostPage* self, gboolean missin #line 1132 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 8207 "PhotoPage.c" - goto __catch232_g_error; + goto __catch245_g_error; } #line 1134 "/home/jens/Source/shotwell/src/PhotoPage.vala" _tmp10_ = pixbuf; @@ -8239,8 +8239,8 @@ void editing_host_page_set_photo_missing (EditingHostPage* self, gboolean missin _g_object_unref0 (pixbuf); #line 8236 "PhotoPage.c" } - goto __finally232; - __catch232_g_error: + goto __finally245; + __catch245_g_error: { GError* err = NULL; GdkPixbuf* _tmp19_ = NULL; @@ -8275,7 +8275,7 @@ void editing_host_page_set_photo_missing (EditingHostPage* self, gboolean missin _g_error_free0 (err); #line 8272 "PhotoPage.c" } - __finally232: + __finally245: #line 1131 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1131 "/home/jens/Source/shotwell/src/PhotoPage.vala" @@ -8376,7 +8376,7 @@ static GdkPixbuf* editing_host_page_get_zoom_pixbuf (EditingHostPage* self, Phot #line 1157 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 8374 "PhotoPage.c" - goto __catch233_g_error; + goto __catch246_g_error; } #line 1157 "/home/jens/Source/shotwell/src/PhotoPage.vala" _tmp8_ = _tmp4_; @@ -8390,8 +8390,8 @@ static GdkPixbuf* editing_host_page_get_zoom_pixbuf (EditingHostPage* self, Phot _g_object_unref0 (_tmp4_); #line 8387 "PhotoPage.c" } - goto __finally233; - __catch233_g_error: + goto __finally246; + __catch246_g_error: { GError* err = NULL; GError* _tmp9_ = NULL; @@ -8410,7 +8410,7 @@ static GdkPixbuf* editing_host_page_get_zoom_pixbuf (EditingHostPage* self, Phot _g_error_free0 (err); #line 8407 "PhotoPage.c" } - __finally233: + __finally246: #line 1156 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1156 "/home/jens/Source/shotwell/src/PhotoPage.vala" @@ -8934,7 +8934,7 @@ static void editing_host_page_quick_update_pixbuf (EditingHostPage* self) { #line 1252 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 8932 "PhotoPage.c" - goto __catch234_g_error; + goto __catch247_g_error; } #line 1252 "/home/jens/Source/shotwell/src/PhotoPage.vala" _tmp23_ = editing_host_page_get_photo (self); @@ -8950,8 +8950,8 @@ static void editing_host_page_quick_update_pixbuf (EditingHostPage* self) { _g_object_unref0 (_tmp17_); #line 8947 "PhotoPage.c" } - goto __finally234; - __catch234_g_error: + goto __finally247; + __catch247_g_error: { GError* err = NULL; GError* _tmp26_ = NULL; @@ -8970,7 +8970,7 @@ static void editing_host_page_quick_update_pixbuf (EditingHostPage* self) { _g_error_free0 (err); #line 8967 "PhotoPage.c" } - __finally234: + __finally247: #line 1251 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1251 "/home/jens/Source/shotwell/src/PhotoPage.vala" @@ -9077,7 +9077,7 @@ static gboolean editing_host_page_update_pixbuf (EditingHostPage* self) { #line 1279 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 9075 "PhotoPage.c" - goto __catch235_g_error; + goto __catch248_g_error; } #line 1279 "/home/jens/Source/shotwell/src/PhotoPage.vala" _tmp12_ = _tmp6_; @@ -9104,8 +9104,8 @@ static gboolean editing_host_page_update_pixbuf (EditingHostPage* self) { #line 9100 "PhotoPage.c" } } - goto __finally235; - __catch235_g_error: + goto __finally248; + __catch248_g_error: { GError* err = NULL; GError* _tmp15_ = NULL; @@ -9126,7 +9126,7 @@ static gboolean editing_host_page_update_pixbuf (EditingHostPage* self) { _g_error_free0 (err); #line 9123 "PhotoPage.c" } - __finally235: + __finally248: #line 1276 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1276 "/home/jens/Source/shotwell/src/PhotoPage.vala" @@ -9837,7 +9837,7 @@ static void editing_host_page_swap_in_original (EditingHostPage* self) { #line 1393 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 9835 "PhotoPage.c" - goto __catch236_g_error; + goto __catch249_g_error; } #line 1392 "/home/jens/Source/shotwell/src/PhotoPage.vala" _tmp5_ = editing_host_page_get_photo (self); @@ -9857,8 +9857,8 @@ static void editing_host_page_swap_in_original (EditingHostPage* self) { _g_object_unref0 (_tmp0_); #line 9854 "PhotoPage.c" } - goto __finally236; - __catch236_g_error: + goto __finally249; + __catch249_g_error: { GError* err = NULL; #line 1391 "/home/jens/Source/shotwell/src/PhotoPage.vala" @@ -9873,7 +9873,7 @@ static void editing_host_page_swap_in_original (EditingHostPage* self) { return; #line 9870 "PhotoPage.c" } - __finally236: + __finally249: #line 1391 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1391 "/home/jens/Source/shotwell/src/PhotoPage.vala" @@ -10053,7 +10053,7 @@ static void editing_host_page_activate_tool (EditingHostPage* self, EditingTools #line 1441 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 10051 "PhotoPage.c" - goto __catch237_g_error; + goto __catch250_g_error; } #line 1441 "/home/jens/Source/shotwell/src/PhotoPage.vala" _tmp15_ = _tmp7_; @@ -10079,8 +10079,8 @@ static void editing_host_page_activate_tool (EditingHostPage* self, EditingTools _g_object_unref0 (_tmp7_); #line 10076 "PhotoPage.c" } - goto __finally237; - __catch237_g_error: + goto __finally250; + __catch250_g_error: { GError* err = NULL; GError* _tmp18_ = NULL; @@ -10115,7 +10115,7 @@ static void editing_host_page_activate_tool (EditingHostPage* self, EditingTools return; #line 10112 "PhotoPage.c" } - __finally237: + __finally250: #line 1439 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1439 "/home/jens/Source/shotwell/src/PhotoPage.vala" @@ -20737,7 +20737,7 @@ static void library_photo_page_on_external_edit (LibraryPhotoPage* self) { #line 3174 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 20735 "PhotoPage.c" - goto __catch238_g_error; + goto __catch251_g_error; } #line 3175 "/home/jens/Source/shotwell/src/PhotoPage.vala" _tmp5_ = app_window_get_instance (); @@ -20749,8 +20749,8 @@ static void library_photo_page_on_external_edit (LibraryPhotoPage* self) { _g_object_unref0 (_tmp6_); #line 20746 "PhotoPage.c" } - goto __finally238; - __catch238_g_error: + goto __finally251; + __catch251_g_error: { GError* err = NULL; AppWindow* _tmp7_ = NULL; @@ -20784,7 +20784,7 @@ static void library_photo_page_on_external_edit (LibraryPhotoPage* self) { _g_error_free0 (err); #line 20781 "PhotoPage.c" } - __finally238: + __finally251: #line 3172 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3172 "/home/jens/Source/shotwell/src/PhotoPage.vala" @@ -20857,7 +20857,7 @@ static void library_photo_page_on_external_edit_raw (LibraryPhotoPage* self) { #line 3192 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 20855 "PhotoPage.c" - goto __catch239_g_error; + goto __catch252_g_error; } #line 3193 "/home/jens/Source/shotwell/src/PhotoPage.vala" _tmp9_ = app_window_get_instance (); @@ -20869,8 +20869,8 @@ static void library_photo_page_on_external_edit_raw (LibraryPhotoPage* self) { _g_object_unref0 (_tmp10_); #line 20866 "PhotoPage.c" } - goto __finally239; - __catch239_g_error: + goto __finally252; + __catch252_g_error: { GError* err = NULL; AppWindow* _tmp11_ = NULL; @@ -20904,7 +20904,7 @@ static void library_photo_page_on_external_edit_raw (LibraryPhotoPage* self) { _g_error_free0 (err); #line 20901 "PhotoPage.c" } - __finally239: + __finally252: #line 3190 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3190 "/home/jens/Source/shotwell/src/PhotoPage.vala" @@ -21108,11 +21108,11 @@ static void library_photo_page_on_export (LibraryPhotoPage* self) { #line 3225 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 21106 "PhotoPage.c" - goto __catch240_g_error; + goto __catch253_g_error; } } - goto __finally240; - __catch240_g_error: + goto __finally253; + __catch253_g_error: { GError* err = NULL; const gchar* _tmp33_ = NULL; @@ -21153,7 +21153,7 @@ static void library_photo_page_on_export (LibraryPhotoPage* self) { _g_error_free0 (err); #line 21150 "PhotoPage.c" } - __finally240: + __finally253: #line 3224 "/home/jens/Source/shotwell/src/PhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3224 "/home/jens/Source/shotwell/src/PhotoPage.vala" diff --git a/src/PixbufCache.c b/src/PixbufCache.c index 2b5d14c..33816ed 100644 --- a/src/PixbufCache.c +++ b/src/PixbufCache.c @@ -2298,7 +2298,7 @@ static void pixbuf_cache_baseline_fetch_job_real_execute (BackgroundJob* base) { #line 50 "/home/jens/Source/shotwell/src/PixbufCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2301 "PixbufCache.c" - goto __catch442_g_error; + goto __catch455_g_error; } #line 50 "/home/jens/Source/shotwell/src/PixbufCache.vala" _tmp4_ = _tmp0_; @@ -2312,8 +2312,8 @@ static void pixbuf_cache_baseline_fetch_job_real_execute (BackgroundJob* base) { _g_object_unref0 (_tmp0_); #line 2314 "PixbufCache.c" } - goto __finally442; - __catch442_g_error: + goto __finally455; + __catch455_g_error: { GError* err = NULL; GError* _tmp5_ = NULL; @@ -2334,7 +2334,7 @@ static void pixbuf_cache_baseline_fetch_job_real_execute (BackgroundJob* base) { _g_error_free0 (err); #line 2336 "PixbufCache.c" } - __finally442: + __finally455: #line 49 "/home/jens/Source/shotwell/src/PixbufCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 49 "/home/jens/Source/shotwell/src/PixbufCache.vala" @@ -2437,7 +2437,7 @@ static void pixbuf_cache_master_fetch_job_real_execute (BackgroundJob* base) { #line 65 "/home/jens/Source/shotwell/src/PixbufCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2440 "PixbufCache.c" - goto __catch443_g_error; + goto __catch456_g_error; } #line 65 "/home/jens/Source/shotwell/src/PixbufCache.vala" _tmp4_ = _tmp0_; @@ -2451,8 +2451,8 @@ static void pixbuf_cache_master_fetch_job_real_execute (BackgroundJob* base) { _g_object_unref0 (_tmp0_); #line 2453 "PixbufCache.c" } - goto __finally443; - __catch443_g_error: + goto __finally456; + __catch456_g_error: { GError* err = NULL; GError* _tmp5_ = NULL; @@ -2473,7 +2473,7 @@ static void pixbuf_cache_master_fetch_job_real_execute (BackgroundJob* base) { _g_error_free0 (err); #line 2475 "PixbufCache.c" } - __finally443: + __finally456: #line 64 "/home/jens/Source/shotwell/src/PixbufCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 64 "/home/jens/Source/shotwell/src/PixbufCache.vala" diff --git a/src/Printing.c b/src/Printing.c index 3f2eda2..78ac793 100644 --- a/src/Printing.c +++ b/src/Printing.c @@ -6002,7 +6002,7 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r #line 818 "/home/jens/Source/shotwell/src/Printing.vala" _tmp1__length1 = _result__length1; #line 818 "/home/jens/Source/shotwell/src/Printing.vala" - _tmp2_ = _ ("Wallet (2 x 3 in.)"); + _tmp2_ = _ ("Wallet (2 × 3 in.)"); #line 818 "/home/jens/Source/shotwell/src/Printing.vala" measurement_init (&_tmp3_, (gdouble) 3, MEASUREMENT_UNIT_INCHES); #line 818 "/home/jens/Source/shotwell/src/Printing.vala" @@ -6016,7 +6016,7 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r #line 821 "/home/jens/Source/shotwell/src/Printing.vala" _tmp6__length1 = _result__length1; #line 821 "/home/jens/Source/shotwell/src/Printing.vala" - _tmp7_ = _ ("Notecard (3 x 5 in.)"); + _tmp7_ = _ ("Notecard (3 × 5 in.)"); #line 821 "/home/jens/Source/shotwell/src/Printing.vala" measurement_init (&_tmp8_, (gdouble) 5, MEASUREMENT_UNIT_INCHES); #line 821 "/home/jens/Source/shotwell/src/Printing.vala" @@ -6030,7 +6030,7 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r #line 824 "/home/jens/Source/shotwell/src/Printing.vala" _tmp11__length1 = _result__length1; #line 824 "/home/jens/Source/shotwell/src/Printing.vala" - _tmp12_ = _ ("4 x 6 in."); + _tmp12_ = _ ("4 × 6 in."); #line 824 "/home/jens/Source/shotwell/src/Printing.vala" measurement_init (&_tmp13_, (gdouble) 6, MEASUREMENT_UNIT_INCHES); #line 824 "/home/jens/Source/shotwell/src/Printing.vala" @@ -6044,7 +6044,7 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r #line 827 "/home/jens/Source/shotwell/src/Printing.vala" _tmp16__length1 = _result__length1; #line 827 "/home/jens/Source/shotwell/src/Printing.vala" - _tmp17_ = _ ("5 x 7 in."); + _tmp17_ = _ ("5 × 7 in."); #line 827 "/home/jens/Source/shotwell/src/Printing.vala" measurement_init (&_tmp18_, (gdouble) 7, MEASUREMENT_UNIT_INCHES); #line 827 "/home/jens/Source/shotwell/src/Printing.vala" @@ -6058,7 +6058,7 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r #line 830 "/home/jens/Source/shotwell/src/Printing.vala" _tmp21__length1 = _result__length1; #line 830 "/home/jens/Source/shotwell/src/Printing.vala" - _tmp22_ = _ ("8 x 10 in."); + _tmp22_ = _ ("8 × 10 in."); #line 830 "/home/jens/Source/shotwell/src/Printing.vala" measurement_init (&_tmp23_, (gdouble) 10, MEASUREMENT_UNIT_INCHES); #line 830 "/home/jens/Source/shotwell/src/Printing.vala" @@ -6072,7 +6072,7 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r #line 833 "/home/jens/Source/shotwell/src/Printing.vala" _tmp26__length1 = _result__length1; #line 833 "/home/jens/Source/shotwell/src/Printing.vala" - _tmp27_ = _ ("11 x 14 in."); + _tmp27_ = _ ("11 × 14 in."); #line 833 "/home/jens/Source/shotwell/src/Printing.vala" measurement_init (&_tmp28_, (gdouble) 14, MEASUREMENT_UNIT_INCHES); #line 833 "/home/jens/Source/shotwell/src/Printing.vala" @@ -6086,7 +6086,7 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r #line 836 "/home/jens/Source/shotwell/src/Printing.vala" _tmp31__length1 = _result__length1; #line 836 "/home/jens/Source/shotwell/src/Printing.vala" - _tmp32_ = _ ("16 x 20 in."); + _tmp32_ = _ ("16 × 20 in."); #line 836 "/home/jens/Source/shotwell/src/Printing.vala" measurement_init (&_tmp33_, (gdouble) 20, MEASUREMENT_UNIT_INCHES); #line 836 "/home/jens/Source/shotwell/src/Printing.vala" @@ -6112,7 +6112,7 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r #line 842 "/home/jens/Source/shotwell/src/Printing.vala" _tmp40__length1 = _result__length1; #line 842 "/home/jens/Source/shotwell/src/Printing.vala" - _tmp41_ = _ ("Metric Wallet (9 x 13 cm)"); + _tmp41_ = _ ("Metric Wallet (9 × 13 cm)"); #line 842 "/home/jens/Source/shotwell/src/Printing.vala" measurement_init (&_tmp42_, (gdouble) 13, MEASUREMENT_UNIT_CENTIMETERS); #line 842 "/home/jens/Source/shotwell/src/Printing.vala" @@ -6126,7 +6126,7 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r #line 845 "/home/jens/Source/shotwell/src/Printing.vala" _tmp45__length1 = _result__length1; #line 845 "/home/jens/Source/shotwell/src/Printing.vala" - _tmp46_ = _ ("Postcard (10 x 15 cm)"); + _tmp46_ = _ ("Postcard (10 × 15 cm)"); #line 845 "/home/jens/Source/shotwell/src/Printing.vala" measurement_init (&_tmp47_, (gdouble) 15, MEASUREMENT_UNIT_CENTIMETERS); #line 845 "/home/jens/Source/shotwell/src/Printing.vala" @@ -6140,7 +6140,7 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r #line 848 "/home/jens/Source/shotwell/src/Printing.vala" _tmp50__length1 = _result__length1; #line 848 "/home/jens/Source/shotwell/src/Printing.vala" - _tmp51_ = _ ("13 x 18 cm"); + _tmp51_ = _ ("13 × 18 cm"); #line 848 "/home/jens/Source/shotwell/src/Printing.vala" measurement_init (&_tmp52_, (gdouble) 18, MEASUREMENT_UNIT_CENTIMETERS); #line 848 "/home/jens/Source/shotwell/src/Printing.vala" @@ -6154,7 +6154,7 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r #line 851 "/home/jens/Source/shotwell/src/Printing.vala" _tmp55__length1 = _result__length1; #line 851 "/home/jens/Source/shotwell/src/Printing.vala" - _tmp56_ = _ ("18 x 24 cm"); + _tmp56_ = _ ("18 × 24 cm"); #line 851 "/home/jens/Source/shotwell/src/Printing.vala" measurement_init (&_tmp57_, (gdouble) 24, MEASUREMENT_UNIT_CENTIMETERS); #line 851 "/home/jens/Source/shotwell/src/Printing.vala" @@ -6168,7 +6168,7 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r #line 854 "/home/jens/Source/shotwell/src/Printing.vala" _tmp60__length1 = _result__length1; #line 854 "/home/jens/Source/shotwell/src/Printing.vala" - _tmp61_ = _ ("20 x 30 cm"); + _tmp61_ = _ ("20 × 30 cm"); #line 854 "/home/jens/Source/shotwell/src/Printing.vala" measurement_init (&_tmp62_, (gdouble) 30, MEASUREMENT_UNIT_CENTIMETERS); #line 854 "/home/jens/Source/shotwell/src/Printing.vala" @@ -6182,7 +6182,7 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r #line 857 "/home/jens/Source/shotwell/src/Printing.vala" _tmp65__length1 = _result__length1; #line 857 "/home/jens/Source/shotwell/src/Printing.vala" - _tmp66_ = _ ("24 x 40 cm"); + _tmp66_ = _ ("24 × 40 cm"); #line 857 "/home/jens/Source/shotwell/src/Printing.vala" measurement_init (&_tmp67_, (gdouble) 40, MEASUREMENT_UNIT_CENTIMETERS); #line 857 "/home/jens/Source/shotwell/src/Printing.vala" @@ -6196,7 +6196,7 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r #line 860 "/home/jens/Source/shotwell/src/Printing.vala" _tmp70__length1 = _result__length1; #line 860 "/home/jens/Source/shotwell/src/Printing.vala" - _tmp71_ = _ ("30 x 40 cm"); + _tmp71_ = _ ("30 × 40 cm"); #line 860 "/home/jens/Source/shotwell/src/Printing.vala" measurement_init (&_tmp72_, (gdouble) 40, MEASUREMENT_UNIT_CENTIMETERS); #line 860 "/home/jens/Source/shotwell/src/Printing.vala" @@ -6378,7 +6378,7 @@ void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print) { #line 889 "/home/jens/Source/shotwell/src/Printing.vala" _tmp12_ = _tmp11_; #line 889 "/home/jens/Source/shotwell/src/Printing.vala" - _tmp13_ = _ ("Printing..."); + _tmp13_ = _ ("Printing…"); #line 889 "/home/jens/Source/shotwell/src/Printing.vala" _tmp14_ = self->priv->cancellable; #line 889 "/home/jens/Source/shotwell/src/Printing.vala" @@ -6415,7 +6415,7 @@ void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print) { #line 893 "/home/jens/Source/shotwell/src/Printing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 6417 "Printing.c" - goto __catch457_g_error; + goto __catch470_g_error; } #line 895 "/home/jens/Source/shotwell/src/Printing.vala" if (_result_ == GTK_PRINT_OPERATION_RESULT_APPLY) { @@ -6433,8 +6433,8 @@ void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print) { #line 6433 "Printing.c" } } - goto __finally457; - __catch457_g_error: + goto __finally470; + __catch470_g_error: { GError* e = NULL; GError* _tmp22_ = NULL; @@ -6460,7 +6460,7 @@ void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print) { _g_error_free0 (e); #line 6461 "Printing.c" } - __finally457: + __finally470: #line 892 "/home/jens/Source/shotwell/src/Printing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 892 "/home/jens/Source/shotwell/src/Printing.vala" @@ -7984,7 +7984,7 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo, #line 1089 "/home/jens/Source/shotwell/src/Printing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 7986 "Printing.c" - goto __catch458_g_error; + goto __catch471_g_error; } #line 1090 "/home/jens/Source/shotwell/src/Printing.vala" _tmp52_ = photo_pixbuf; @@ -8111,7 +8111,7 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo, #line 1104 "/home/jens/Source/shotwell/src/Printing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 8113 "Printing.c" - goto __catch458_g_error; + goto __catch471_g_error; } #line 1105 "/home/jens/Source/shotwell/src/Printing.vala" _tmp85_ = photo_pixbuf; @@ -8137,8 +8137,8 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo, cairo_paint (_tmp89_); #line 8138 "Printing.c" } - goto __finally458; - __catch458_g_error: + goto __finally471; + __catch471_g_error: { GError* e = NULL; PrintJob* _tmp90_ = NULL; @@ -8173,7 +8173,7 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo, _g_error_free0 (e); #line 8174 "Printing.c" } - __finally458: + __finally471: #line 1086 "/home/jens/Source/shotwell/src/Printing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1086 "/home/jens/Source/shotwell/src/Printing.vala" diff --git a/src/Printing.vala b/src/Printing.vala index 1f255b3..f099ed2 100644 --- a/src/Printing.vala +++ b/src/Printing.vala @@ -815,49 +815,49 @@ public class PrintManager { public StandardPrintSize[] get_standard_sizes() { StandardPrintSize[] result = new StandardPrintSize[0]; - result += new StandardPrintSize(_("Wallet (2 x 3 in.)"), + result += new StandardPrintSize(_("Wallet (2 × 3 in.)"), Measurement(3, MeasurementUnit.INCHES), Measurement(2, MeasurementUnit.INCHES)); - result += new StandardPrintSize(_("Notecard (3 x 5 in.)"), + result += new StandardPrintSize(_("Notecard (3 × 5 in.)"), Measurement(5, MeasurementUnit.INCHES), Measurement(3, MeasurementUnit.INCHES)); - result += new StandardPrintSize(_("4 x 6 in."), + result += new StandardPrintSize(_("4 × 6 in."), Measurement(6, MeasurementUnit.INCHES), Measurement(4, MeasurementUnit.INCHES)); - result += new StandardPrintSize(_("5 x 7 in."), + result += new StandardPrintSize(_("5 × 7 in."), Measurement(7, MeasurementUnit.INCHES), Measurement(5, MeasurementUnit.INCHES)); - result += new StandardPrintSize(_("8 x 10 in."), + result += new StandardPrintSize(_("8 × 10 in."), Measurement(10, MeasurementUnit.INCHES), Measurement(8, MeasurementUnit.INCHES)); - result += new StandardPrintSize(_("11 x 14 in."), + result += new StandardPrintSize(_("11 × 14 in."), Measurement(14, MeasurementUnit.INCHES), Measurement(11, MeasurementUnit.INCHES)); - result += new StandardPrintSize(_("16 x 20 in."), + result += new StandardPrintSize(_("16 × 20 in."), Measurement(20, MeasurementUnit.INCHES), Measurement(16, MeasurementUnit.INCHES)); result += new StandardPrintSize(("-"), Measurement(0, MeasurementUnit.INCHES), Measurement(0, MeasurementUnit.INCHES)); - result += new StandardPrintSize(_("Metric Wallet (9 x 13 cm)"), + result += new StandardPrintSize(_("Metric Wallet (9 × 13 cm)"), Measurement(13, MeasurementUnit.CENTIMETERS), Measurement(9, MeasurementUnit.CENTIMETERS)); - result += new StandardPrintSize(_("Postcard (10 x 15 cm)"), + result += new StandardPrintSize(_("Postcard (10 × 15 cm)"), Measurement(15, MeasurementUnit.CENTIMETERS), Measurement(10, MeasurementUnit.CENTIMETERS)); - result += new StandardPrintSize(_("13 x 18 cm"), + result += new StandardPrintSize(_("13 × 18 cm"), Measurement(18, MeasurementUnit.CENTIMETERS), Measurement(13, MeasurementUnit.CENTIMETERS)); - result += new StandardPrintSize(_("18 x 24 cm"), + result += new StandardPrintSize(_("18 × 24 cm"), Measurement(24, MeasurementUnit.CENTIMETERS), Measurement(18, MeasurementUnit.CENTIMETERS)); - result += new StandardPrintSize(_("20 x 30 cm"), + result += new StandardPrintSize(_("20 × 30 cm"), Measurement(30, MeasurementUnit.CENTIMETERS), Measurement(20, MeasurementUnit.CENTIMETERS)); - result += new StandardPrintSize(_("24 x 40 cm"), + result += new StandardPrintSize(_("24 × 40 cm"), Measurement(40, MeasurementUnit.CENTIMETERS), Measurement(24, MeasurementUnit.CENTIMETERS)); - result += new StandardPrintSize(_("30 x 40 cm"), + result += new StandardPrintSize(_("30 × 40 cm"), Measurement(40, MeasurementUnit.CENTIMETERS), Measurement(30, MeasurementUnit.CENTIMETERS)); @@ -886,7 +886,7 @@ public class PrintManager { AppWindow.get_instance().set_busy_cursor(); cancellable = new Cancellable(); - progress_dialog = new ProgressDialog(AppWindow.get_instance(), _("Printing..."), cancellable); + progress_dialog = new ProgressDialog(AppWindow.get_instance(), _("Printing…"), cancellable); string? err_msg = null; try { diff --git a/src/Properties.c b/src/Properties.c index cf4eb43..2efd284 100644 --- a/src/Properties.c +++ b/src/Properties.c @@ -4471,7 +4471,7 @@ static void extended_properties_window_extended_properties_real_get_single_prope #line 540 "/home/jens/Source/shotwell/src/Properties.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4474 "Properties.c" - goto __catch422_g_error; + goto __catch435_g_error; } #line 540 "/home/jens/Source/shotwell/src/Properties.vala" _tmp23_ = _tmp20_; @@ -4485,8 +4485,8 @@ static void extended_properties_window_extended_properties_real_get_single_prope _media_metadata_unref0 (_tmp20_); #line 4487 "Properties.c" } - goto __finally422; - __catch422_g_error: + goto __finally435; + __catch435_g_error: { GError* e = NULL; Photo* _tmp24_ = NULL; @@ -4507,7 +4507,7 @@ static void extended_properties_window_extended_properties_real_get_single_prope _g_error_free0 (e); #line 4509 "Properties.c" } - __finally422: + __finally435: #line 535 "/home/jens/Source/shotwell/src/Properties.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 535 "/home/jens/Source/shotwell/src/Properties.vala" @@ -4799,7 +4799,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 4802 "Properties.c" - goto __catch423_g_regex_error; + goto __catch436_g_regex_error; } #line 1382 "/usr/share/vala-0.34/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); @@ -4824,7 +4824,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 4827 "Properties.c" - goto __catch423_g_regex_error; + goto __catch436_g_regex_error; } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); @@ -4850,8 +4850,8 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* return result; #line 4852 "Properties.c" } - goto __finally423; - __catch423_g_regex_error: + goto __finally436; + __catch436_g_regex_error: { GError* e = NULL; #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -4864,7 +4864,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_error_free0 (e); #line 4866 "Properties.c" } - __finally423: + __finally436: #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" diff --git a/src/Resources.c b/src/Resources.c index 0143e70..2fb4a0d 100644 --- a/src/Resources.c +++ b/src/Resources.c @@ -305,7 +305,7 @@ GeeMap* resources_providers = NULL; #define RESOURCES_ZOOM_OUT_LABEL _ ("Zoom _Out") #define RESOURCES_ENHANCE_MENU _ ("_Enhance") #define RESOURCES_ENHANCE_LABEL _ ("Enhance") -#define RESOURCES_ENHANCE_TOOLTIP _ ("Automatically improve the photo's appearance") +#define RESOURCES_ENHANCE_TOOLTIP _ ("Automatically improve the photo’s appearance") #define RESOURCES_COPY_ADJUSTMENTS_MENU _ ("_Copy Color Adjustments") #define RESOURCES_COPY_ADJUSTMENTS_LABEL _ ("Copy Color Adjustments") #define RESOURCES_COPY_ADJUSTMENTS_TOOLTIP _ ("Copy the color adjustments applied to the photo") @@ -314,7 +314,7 @@ GeeMap* resources_providers = NULL; #define RESOURCES_PASTE_ADJUSTMENTS_TOOLTIP _ ("Apply copied color adjustments to the selected photos") #define RESOURCES_CROP_MENU _ ("_Crop") #define RESOURCES_CROP_LABEL _ ("Crop") -#define RESOURCES_CROP_TOOLTIP _ ("Crop the photo's size") +#define RESOURCES_CROP_TOOLTIP _ ("Crop the photo’s size") #define RESOURCES_STRAIGHTEN_MENU _ ("_Straighten") #define RESOURCES_STRAIGHTEN_LABEL _ ("Straighten") #define RESOURCES_STRAIGHTEN_TOOLTIP _ ("Straighten the photo") @@ -323,19 +323,19 @@ GeeMap* resources_providers = NULL; #define RESOURCES_RED_EYE_TOOLTIP _ ("Reduce or eliminate any red-eye effects in the photo") #define RESOURCES_ADJUST_MENU _ ("_Adjust") #define RESOURCES_ADJUST_LABEL _ ("Adjust") -#define RESOURCES_ADJUST_TOOLTIP _ ("Adjust the photo's color and tone") +#define RESOURCES_ADJUST_TOOLTIP _ ("Adjust the photo’s color and tone") #define RESOURCES_REVERT_MENU _ ("Re_vert to Original") #define RESOURCES_REVERT_LABEL _ ("Revert to Original") #define RESOURCES_REVERT_EDITABLE_MENU _ ("Revert External E_dits") #define RESOURCES_REVERT_EDITABLE_TOOLTIP _ ("Revert to the master photo") #define RESOURCES_SET_BACKGROUND_MENU _ ("Set as _Desktop Background") #define RESOURCES_SET_BACKGROUND_TOOLTIP _ ("Set selected image to be the new desktop background") -#define RESOURCES_SET_BACKGROUND_SLIDESHOW_MENU _ ("Set as _Desktop Slideshow...") +#define RESOURCES_SET_BACKGROUND_SLIDESHOW_MENU _ ("Set as _Desktop Slideshow…") #define RESOURCES_UNDO_MENU _ ("_Undo") #define RESOURCES_UNDO_LABEL _ ("Undo") #define RESOURCES_REDO_MENU _ ("_Redo") #define RESOURCES_REDO_LABEL _ ("Redo") -#define RESOURCES_RENAME_EVENT_MENU _ ("Re_name Event...") +#define RESOURCES_RENAME_EVENT_MENU _ ("Re_name Event…") #define RESOURCES_RENAME_EVENT_LABEL _ ("Rename Event") #define RESOURCES_MAKE_KEY_PHOTO_MENU _ ("Make _Key Photo for Event") #define RESOURCES_MAKE_KEY_PHOTO_LABEL _ ("Make Key Photo for Event") @@ -371,35 +371,35 @@ GeeMap* resources_providers = NULL; #define RESOURCES_DISPLAY_UNRATED_OR_HIGHER_MENU _ ("_All Photos") #define RESOURCES_DISPLAY_UNRATED_OR_HIGHER_TOOLTIP _ ("Show all photos") #define RESOURCES_VIEW_RATINGS_MENU _ ("_Ratings") -#define RESOURCES_VIEW_RATINGS_TOOLTIP _ ("Display each photo's rating") +#define RESOURCES_VIEW_RATINGS_TOOLTIP _ ("Display each photo’s rating") #define RESOURCES_FILTER_PHOTOS_MENU _ ("_Filter Photos") #define RESOURCES_FILTER_PHOTOS_LABEL _ ("Filter Photos") #define RESOURCES_FILTER_PHOTOS_TOOLTIP _ ("Limit the number of photos displayed based on a filter") #define RESOURCES_DUPLICATE_PHOTO_MENU _ ("_Duplicate") #define RESOURCES_DUPLICATE_PHOTO_LABEL _ ("Duplicate") #define RESOURCES_DUPLICATE_PHOTO_TOOLTIP _ ("Make a duplicate of the photo") -#define RESOURCES_EXPORT_MENU _ ("_Export...") -#define RESOURCES_PRINT_MENU _ ("_Print...") -#define RESOURCES_PUBLISH_MENU _ ("Pu_blish...") +#define RESOURCES_EXPORT_MENU _ ("_Export…") +#define RESOURCES_PRINT_MENU _ ("_Print…") +#define RESOURCES_PUBLISH_MENU _ ("Pu_blish…") #define RESOURCES_PUBLISH_LABEL _ ("Publish") #define RESOURCES_PUBLISH_TOOLTIP _ ("Publish to various websites") -#define RESOURCES_EDIT_TITLE_MENU _ ("Edit _Title...") +#define RESOURCES_EDIT_TITLE_MENU _ ("Edit _Title…") #define RESOURCES_EDIT_TITLE_LABEL "Edit Title" -#define RESOURCES_EDIT_COMMENT_MENU _ ("Edit _Comment...") +#define RESOURCES_EDIT_COMMENT_MENU _ ("Edit _Comment…") #define RESOURCES_EDIT_COMMENT_LABEL _ ("Edit Comment") -#define RESOURCES_EDIT_EVENT_COMMENT_MENU _ ("Edit Event _Comment...") +#define RESOURCES_EDIT_EVENT_COMMENT_MENU _ ("Edit Event _Comment…") #define RESOURCES_EDIT_EVENT_COMMENT_LABEL _ ("Edit Event Comment") -#define RESOURCES_ADJUST_DATE_TIME_MENU _ ("_Adjust Date and Time...") +#define RESOURCES_ADJUST_DATE_TIME_MENU _ ("_Adjust Date and Time…") #define RESOURCES_ADJUST_DATE_TIME_LABEL _ ("Adjust Date and Time") -#define RESOURCES_ADD_TAGS_MENU _ ("Add _Tags...") -#define RESOURCES_ADD_TAGS_CONTEXT_MENU _ ("_Add Tags...") +#define RESOURCES_ADD_TAGS_MENU _ ("Add _Tags…") +#define RESOURCES_ADD_TAGS_CONTEXT_MENU _ ("_Add Tags…") #define RESOURCES_ADD_TAGS_TITLE "Add Tags" #define RESOURCES_PREFERENCES_MENU _ ("_Preferences") #define RESOURCES_EXTERNAL_EDIT_MENU _ ("Open With E_xternal Editor") #define RESOURCES_EXTERNAL_EDIT_RAW_MENU _ ("Open With RA_W Editor") -#define RESOURCES_SEND_TO_MENU _ ("Send _To...") -#define RESOURCES_SEND_TO_CONTEXT_MENU _ ("Send T_o...") -#define RESOURCES_FIND_MENU _ ("_Find...") +#define RESOURCES_SEND_TO_MENU _ ("Send _To…") +#define RESOURCES_SEND_TO_CONTEXT_MENU _ ("Send T_o…") +#define RESOURCES_FIND_MENU _ ("_Find…") #define RESOURCES_FIND_LABEL _ ("Find") #define RESOURCES_FIND_TOOLTIP _ ("Find an image by typing text that appears in its name or tags") #define RESOURCES_FLAG_MENU _ ("_Flag") @@ -414,8 +414,8 @@ gchar* resources_delete_tag_label (const gchar* name); #define RESOURCES_NEW_CHILD_TAG_SIDEBAR_MENU _ ("_New") gchar* resources_rename_tag_menu (const gchar* name); gchar* resources_rename_tag_label (const gchar* old_name, const gchar* new_name); -#define RESOURCES_RENAME_TAG_SIDEBAR_MENU _ ("_Rename...") -#define RESOURCES_MODIFY_TAGS_MENU _ ("Modif_y Tags...") +#define RESOURCES_RENAME_TAG_SIDEBAR_MENU _ ("_Rename…") +#define RESOURCES_MODIFY_TAGS_MENU _ ("Modif_y Tags…") #define RESOURCES_MODIFY_TAGS_LABEL _ ("Modify Tags") gchar* resources_tag_photos_label (const gchar* name, gint count); gchar* resources_tag_photos_tooltip (const gchar* name, gint count); @@ -426,8 +426,8 @@ gchar* resources_rename_search_exists_message (const gchar* name); #define RESOURCES_DEFAULT_SAVED_SEARCH_NAME _ ("Saved Search") #define RESOURCES_DELETE_SAVED_SEARCH_DIALOG_TITLE _ ("Delete Search") #define RESOURCES_DELETE_SEARCH_MENU _ ("_Delete") -#define RESOURCES_EDIT_SEARCH_MENU _ ("_Edit...") -#define RESOURCES_RENAME_SEARCH_MENU _ ("Re_name...") +#define RESOURCES_EDIT_SEARCH_MENU _ ("_Edit…") +#define RESOURCES_RENAME_SEARCH_MENU _ ("Re_name…") gchar* resources_rename_search_label (const gchar* old_name, const gchar* new_name); gchar* resources_delete_search_label (const gchar* name); GType rating_get_type (void) G_GNUC_CONST; @@ -447,7 +447,7 @@ void resources_generate_rating_strings (void); #define RESOURCES_RESTORE_PHOTOS_MENU _ ("_Restore") #define RESOURCES_RESTORE_PHOTOS_TOOLTIP _ ("Move the selected photos back into the library") #define RESOURCES_JUMP_TO_FILE_MENU _ ("Show in File Mana_ger") -#define RESOURCES_JUMP_TO_FILE_TOOLTIP _ ("Open the selected photo's directory in the file manager") +#define RESOURCES_JUMP_TO_FILE_TOOLTIP _ ("Open the selected photo’s directory in the file manager") gchar* resources_jump_to_file_failed (GError* err); #define RESOURCES_REMOVE_FROM_LIBRARY_MENU _ ("R_emove From Library") #define RESOURCES_MOVE_TO_TRASH_MENU _ ("_Move to Trash") @@ -539,7 +539,7 @@ gchar* resources_add_tags_label (gchar** names, int names_length1) { gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; #line 340 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp1_ = _ ("Add Tag \"%s\""); + _tmp1_ = _ ("Add Tag “%s”"); #line 340 "/home/jens/Source/shotwell/src/Resources.vala" _tmp2_ = names; #line 340 "/home/jens/Source/shotwell/src/Resources.vala" @@ -585,7 +585,7 @@ gchar* resources_add_tags_label (gchar** names, int names_length1) { gchar* _tmp18_ = NULL; gchar* _tmp19_ = NULL; #line 343 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp9_ = _ ("Add Tags \"%s\" and \"%s\""); + _tmp9_ = _ ("Add Tags “%s” and “%s”"); #line 343 "/home/jens/Source/shotwell/src/Resources.vala" _tmp10_ = names; #line 343 "/home/jens/Source/shotwell/src/Resources.vala" @@ -644,7 +644,7 @@ gchar* resources_delete_tag_menu (const gchar* name) { #line 352 "/home/jens/Source/shotwell/src/Resources.vala" g_return_val_if_fail (name != NULL, NULL); #line 353 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp0_ = _ ("_Delete Tag \"%s\""); + _tmp0_ = _ ("_Delete Tag “%s”"); #line 353 "/home/jens/Source/shotwell/src/Resources.vala" _tmp1_ = name; #line 353 "/home/jens/Source/shotwell/src/Resources.vala" @@ -665,7 +665,7 @@ gchar* resources_delete_tag_label (const gchar* name) { #line 356 "/home/jens/Source/shotwell/src/Resources.vala" g_return_val_if_fail (name != NULL, NULL); #line 357 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp0_ = _ ("Delete Tag \"%s\""); + _tmp0_ = _ ("Delete Tag “%s”"); #line 357 "/home/jens/Source/shotwell/src/Resources.vala" _tmp1_ = name; #line 357 "/home/jens/Source/shotwell/src/Resources.vala" @@ -686,7 +686,7 @@ gchar* resources_rename_tag_menu (const gchar* name) { #line 365 "/home/jens/Source/shotwell/src/Resources.vala" g_return_val_if_fail (name != NULL, NULL); #line 366 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp0_ = _ ("Re_name Tag \"%s\"..."); + _tmp0_ = _ ("Re_name Tag “%s”…"); #line 366 "/home/jens/Source/shotwell/src/Resources.vala" _tmp1_ = name; #line 366 "/home/jens/Source/shotwell/src/Resources.vala" @@ -710,7 +710,7 @@ gchar* resources_rename_tag_label (const gchar* old_name, const gchar* new_name) #line 369 "/home/jens/Source/shotwell/src/Resources.vala" g_return_val_if_fail (new_name != NULL, NULL); #line 370 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp0_ = _ ("Rename Tag \"%s\" to \"%s\""); + _tmp0_ = _ ("Rename Tag “%s” to “%s”"); #line 370 "/home/jens/Source/shotwell/src/Resources.vala" _tmp1_ = old_name; #line 370 "/home/jens/Source/shotwell/src/Resources.vala" @@ -740,14 +740,14 @@ gchar* resources_tag_photos_label (const gchar* name, gint count) { #line 713 "Resources.c" const gchar* _tmp2_ = NULL; #line 379 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp2_ = _ ("Tag Photo as \"%s\""); + _tmp2_ = _ ("Tag Photo as “%s”"); #line 379 "/home/jens/Source/shotwell/src/Resources.vala" _tmp0_ = _tmp2_; #line 719 "Resources.c" } else { const gchar* _tmp3_ = NULL; #line 379 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp3_ = _ ("Tag Photos as \"%s\""); + _tmp3_ = _ ("Tag Photos as “%s”"); #line 379 "/home/jens/Source/shotwell/src/Resources.vala" _tmp0_ = _tmp3_; #line 726 "Resources.c" @@ -779,14 +779,14 @@ gchar* resources_tag_photos_tooltip (const gchar* name, gint count) { #line 752 "Resources.c" const gchar* _tmp2_ = NULL; #line 383 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp2_ = _ ("Tag the selected photo as \"%s\""); + _tmp2_ = _ ("Tag the selected photo as “%s”"); #line 383 "/home/jens/Source/shotwell/src/Resources.vala" _tmp0_ = _tmp2_; #line 758 "Resources.c" } else { const gchar* _tmp3_ = NULL; #line 384 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp3_ = _ ("Tag the selected photos as \"%s\""); + _tmp3_ = _ ("Tag the selected photos as “%s”"); #line 384 "/home/jens/Source/shotwell/src/Resources.vala" _tmp0_ = _tmp3_; #line 765 "Resources.c" @@ -818,14 +818,14 @@ gchar* resources_untag_photos_menu (const gchar* name, gint count) { #line 791 "Resources.c" const gchar* _tmp2_ = NULL; #line 388 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp2_ = _ ("Remove Tag \"%s\" From _Photo"); + _tmp2_ = _ ("Remove Tag “%s” From _Photo"); #line 388 "/home/jens/Source/shotwell/src/Resources.vala" _tmp0_ = _tmp2_; #line 797 "Resources.c" } else { const gchar* _tmp3_ = NULL; #line 389 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp3_ = _ ("Remove Tag \"%s\" From _Photos"); + _tmp3_ = _ ("Remove Tag “%s” From _Photos"); #line 389 "/home/jens/Source/shotwell/src/Resources.vala" _tmp0_ = _tmp3_; #line 804 "Resources.c" @@ -857,14 +857,14 @@ gchar* resources_untag_photos_label (const gchar* name, gint count) { #line 830 "Resources.c" const gchar* _tmp2_ = NULL; #line 393 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp2_ = _ ("Remove Tag \"%s\" From Photo"); + _tmp2_ = _ ("Remove Tag “%s” From Photo"); #line 393 "/home/jens/Source/shotwell/src/Resources.vala" _tmp0_ = _tmp2_; #line 836 "Resources.c" } else { const gchar* _tmp3_ = NULL; #line 394 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp3_ = _ ("Remove Tag \"%s\" From Photos"); + _tmp3_ = _ ("Remove Tag “%s” From Photos"); #line 394 "/home/jens/Source/shotwell/src/Resources.vala" _tmp0_ = _tmp3_; #line 843 "Resources.c" @@ -889,7 +889,7 @@ gchar* resources_rename_tag_exists_message (const gchar* name) { #line 397 "/home/jens/Source/shotwell/src/Resources.vala" g_return_val_if_fail (name != NULL, NULL); #line 398 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp0_ = _ ("Unable to rename tag to \"%s\" because the tag already exists."); + _tmp0_ = _ ("Unable to rename tag to “%s” because the tag already exists."); #line 398 "/home/jens/Source/shotwell/src/Resources.vala" _tmp1_ = name; #line 398 "/home/jens/Source/shotwell/src/Resources.vala" @@ -910,7 +910,7 @@ gchar* resources_rename_search_exists_message (const gchar* name) { #line 401 "/home/jens/Source/shotwell/src/Resources.vala" g_return_val_if_fail (name != NULL, NULL); #line 402 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp0_ = _ ("Unable to rename search to \"%s\" because the search already exists."); + _tmp0_ = _ ("Unable to rename search to “%s” because the search already exists."); #line 402 "/home/jens/Source/shotwell/src/Resources.vala" _tmp1_ = name; #line 402 "/home/jens/Source/shotwell/src/Resources.vala" @@ -934,7 +934,7 @@ gchar* resources_rename_search_label (const gchar* old_name, const gchar* new_na #line 413 "/home/jens/Source/shotwell/src/Resources.vala" g_return_val_if_fail (new_name != NULL, NULL); #line 414 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp0_ = _ ("Rename Search \"%s\" to \"%s\""); + _tmp0_ = _ ("Rename Search “%s” to “%s”"); #line 414 "/home/jens/Source/shotwell/src/Resources.vala" _tmp1_ = old_name; #line 414 "/home/jens/Source/shotwell/src/Resources.vala" @@ -957,7 +957,7 @@ gchar* resources_delete_search_label (const gchar* name) { #line 417 "/home/jens/Source/shotwell/src/Resources.vala" g_return_val_if_fail (name != NULL, NULL); #line 418 "/home/jens/Source/shotwell/src/Resources.vala" - _tmp0_ = _ ("Delete Search \"%s\""); + _tmp0_ = _ ("Delete Search “%s”"); #line 418 "/home/jens/Source/shotwell/src/Resources.vala" _tmp1_ = name; #line 418 "/home/jens/Source/shotwell/src/Resources.vala" @@ -3063,7 +3063,7 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) { #line 884 "/home/jens/Source/shotwell/src/Resources.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3038 "Resources.c" - goto __catch416_g_error; + goto __catch429_g_error; } #line 884 "/home/jens/Source/shotwell/src/Resources.vala" _tmp12_ = _tmp1_; @@ -3077,8 +3077,8 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) { _g_object_unref0 (_tmp1_); #line 3051 "Resources.c" } - goto __finally416; - __catch416_g_error: + goto __finally429; + __catch429_g_error: { GError* err = NULL; const gchar* _tmp13_ = NULL; @@ -3095,7 +3095,7 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) { _g_error_free0 (err); #line 3068 "Resources.c" } - __finally416: + __finally429: #line 883 "/home/jens/Source/shotwell/src/Resources.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 883 "/home/jens/Source/shotwell/src/Resources.vala" @@ -3420,7 +3420,7 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) { #line 943 "/home/jens/Source/shotwell/src/Resources.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3394 "Resources.c" - goto __catch417_g_error; + goto __catch430_g_error; } #line 943 "/home/jens/Source/shotwell/src/Resources.vala" _tmp12_ = _tmp4_; @@ -3434,8 +3434,8 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) { _g_object_unref0 (_tmp4_); #line 3407 "Resources.c" } - goto __finally417; - __catch417_g_error: + goto __finally430; + __catch430_g_error: { GError* err = NULL; const gchar* _tmp13_ = NULL; @@ -3457,7 +3457,7 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) { _g_error_free0 (err); #line 3430 "Resources.c" } - __finally417: + __finally430: #line 942 "/home/jens/Source/shotwell/src/Resources.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 942 "/home/jens/Source/shotwell/src/Resources.vala" @@ -3570,7 +3570,7 @@ void resources_add_stock_icon (GFile* file, const gchar* stock_id) { #line 957 "/home/jens/Source/shotwell/src/Resources.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3544 "Resources.c" - goto __catch418_g_error; + goto __catch431_g_error; } #line 957 "/home/jens/Source/shotwell/src/Resources.vala" _tmp6_ = _tmp0_; @@ -3584,8 +3584,8 @@ void resources_add_stock_icon (GFile* file, const gchar* stock_id) { _g_object_unref0 (_tmp0_); #line 3557 "Resources.c" } - goto __finally418; - __catch418_g_error: + goto __finally431; + __catch431_g_error: { GError* err = NULL; const gchar* _tmp7_ = NULL; @@ -3607,7 +3607,7 @@ void resources_add_stock_icon (GFile* file, const gchar* stock_id) { _g_error_free0 (err); #line 3580 "Resources.c" } - __finally418: + __finally431: #line 956 "/home/jens/Source/shotwell/src/Resources.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 956 "/home/jens/Source/shotwell/src/Resources.vala" @@ -3736,7 +3736,7 @@ void resources_add_stock_icon_from_themed_icon (GThemedIcon* gicon, const gchar* #line 981 "/home/jens/Source/shotwell/src/Resources.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3710 "Resources.c" - goto __catch419_g_error; + goto __catch432_g_error; } #line 982 "/home/jens/Source/shotwell/src/Resources.vala" _tmp16_ = modify; @@ -3778,8 +3778,8 @@ void resources_add_stock_icon_from_themed_icon (GThemedIcon* gicon, const gchar* _g_object_unref0 (pix); #line 3751 "Resources.c" } - goto __finally419; - __catch419_g_error: + goto __finally432; + __catch432_g_error: { GError* err = NULL; GError* _tmp24_ = NULL; @@ -3798,7 +3798,7 @@ void resources_add_stock_icon_from_themed_icon (GThemedIcon* gicon, const gchar* _g_error_free0 (err); #line 3771 "Resources.c" } - __finally419: + __finally432: #line 980 "/home/jens/Source/shotwell/src/Resources.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 980 "/home/jens/Source/shotwell/src/Resources.vala" @@ -4268,11 +4268,11 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) { #line 1076 "/home/jens/Source/shotwell/src/Resources.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4242 "Resources.c" - goto __catch420_g_error; + goto __catch433_g_error; } } - goto __finally420; - __catch420_g_error: + goto __finally433; + __catch433_g_error: { GError* e = NULL; const gchar* _tmp14_ = NULL; @@ -4298,7 +4298,7 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) { return; #line 4271 "Resources.c" } - __finally420: + __finally433: #line 1075 "/home/jens/Source/shotwell/src/Resources.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1075 "/home/jens/Source/shotwell/src/Resources.vala" diff --git a/src/Resources.vala b/src/Resources.vala index 39f587b..138772e 100644 --- a/src/Resources.vala +++ b/src/Resources.vala @@ -185,7 +185,7 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc., public const string ENHANCE_MENU = _("_Enhance"); public const string ENHANCE_LABEL = _("Enhance"); - public const string ENHANCE_TOOLTIP = _("Automatically improve the photo's appearance"); + public const string ENHANCE_TOOLTIP = _("Automatically improve the photo’s appearance"); public const string COPY_ADJUSTMENTS_MENU = _("_Copy Color Adjustments"); public const string COPY_ADJUSTMENTS_LABEL = _("Copy Color Adjustments"); @@ -197,7 +197,7 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc., public const string CROP_MENU = _("_Crop"); public const string CROP_LABEL = _("Crop"); - public const string CROP_TOOLTIP = _("Crop the photo's size"); + public const string CROP_TOOLTIP = _("Crop the photo’s size"); public const string STRAIGHTEN_MENU = _("_Straighten"); public const string STRAIGHTEN_LABEL = _("Straighten"); @@ -209,7 +209,7 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc., public const string ADJUST_MENU = _("_Adjust"); public const string ADJUST_LABEL = _("Adjust"); - public const string ADJUST_TOOLTIP = _("Adjust the photo's color and tone"); + public const string ADJUST_TOOLTIP = _("Adjust the photo’s color and tone"); public const string REVERT_MENU = _("Re_vert to Original"); public const string REVERT_LABEL = _("Revert to Original"); @@ -219,7 +219,7 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc., public const string SET_BACKGROUND_MENU = _("Set as _Desktop Background"); public const string SET_BACKGROUND_TOOLTIP = _("Set selected image to be the new desktop background"); - public const string SET_BACKGROUND_SLIDESHOW_MENU = _("Set as _Desktop Slideshow..."); + public const string SET_BACKGROUND_SLIDESHOW_MENU = _("Set as _Desktop Slideshow…"); public const string UNDO_MENU = _("_Undo"); public const string UNDO_LABEL = _("Undo"); @@ -227,7 +227,7 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc., public const string REDO_MENU = _("_Redo"); public const string REDO_LABEL = _("Redo"); - public const string RENAME_EVENT_MENU = _("Re_name Event..."); + public const string RENAME_EVENT_MENU = _("Re_name Event…"); public const string RENAME_EVENT_LABEL = _("Rename Event"); public const string MAKE_KEY_PHOTO_MENU = _("Make _Key Photo for Event"); @@ -277,7 +277,7 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc., public const string DISPLAY_UNRATED_OR_HIGHER_TOOLTIP = _("Show all photos"); public const string VIEW_RATINGS_MENU = _("_Ratings"); - public const string VIEW_RATINGS_TOOLTIP = _("Display each photo's rating"); + public const string VIEW_RATINGS_TOOLTIP = _("Display each photo’s rating"); public const string FILTER_PHOTOS_MENU = _("_Filter Photos"); public const string FILTER_PHOTOS_LABEL = _("Filter Photos"); @@ -287,30 +287,30 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc., public const string DUPLICATE_PHOTO_LABEL = _("Duplicate"); public const string DUPLICATE_PHOTO_TOOLTIP = _("Make a duplicate of the photo"); - public const string EXPORT_MENU = _("_Export..."); + public const string EXPORT_MENU = _("_Export…"); - public const string PRINT_MENU = _("_Print..."); + public const string PRINT_MENU = _("_Print…"); - public const string PUBLISH_MENU = _("Pu_blish..."); + public const string PUBLISH_MENU = _("Pu_blish…"); public const string PUBLISH_LABEL = _("Publish"); public const string PUBLISH_TOOLTIP = _("Publish to various websites"); - public const string EDIT_TITLE_MENU = _("Edit _Title..."); + public const string EDIT_TITLE_MENU = _("Edit _Title…"); // Button label public const string EDIT_TITLE_LABEL = NC_("Button Label", "Edit Title"); - public const string EDIT_COMMENT_MENU = _("Edit _Comment..."); + public const string EDIT_COMMENT_MENU = _("Edit _Comment…"); // Button label public const string EDIT_COMMENT_LABEL = _("Edit Comment"); - public const string EDIT_EVENT_COMMENT_MENU = _("Edit Event _Comment..."); + public const string EDIT_EVENT_COMMENT_MENU = _("Edit Event _Comment…"); public const string EDIT_EVENT_COMMENT_LABEL = _("Edit Event Comment"); - public const string ADJUST_DATE_TIME_MENU = _("_Adjust Date and Time..."); + public const string ADJUST_DATE_TIME_MENU = _("_Adjust Date and Time…"); public const string ADJUST_DATE_TIME_LABEL = _("Adjust Date and Time"); - public const string ADD_TAGS_MENU = _("Add _Tags..."); - public const string ADD_TAGS_CONTEXT_MENU = _("_Add Tags..."); + public const string ADD_TAGS_MENU = _("Add _Tags…"); + public const string ADD_TAGS_CONTEXT_MENU = _("_Add Tags…"); // Dialog title public const string ADD_TAGS_TITLE = NC_("Dialog Title", "Add Tags"); @@ -320,10 +320,10 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc., public const string EXTERNAL_EDIT_RAW_MENU = _("Open With RA_W Editor"); - public const string SEND_TO_MENU = _("Send _To..."); - public const string SEND_TO_CONTEXT_MENU = _("Send T_o..."); + public const string SEND_TO_MENU = _("Send _To…"); + public const string SEND_TO_CONTEXT_MENU = _("Send T_o…"); - public const string FIND_MENU = _("_Find..."); + public const string FIND_MENU = _("_Find…"); public const string FIND_LABEL = _("Find"); public const string FIND_TOOLTIP = _("Find an image by typing text that appears in its name or tags"); @@ -337,10 +337,10 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc., public string add_tags_label(string[] names) { if (names.length == 1) { - return _("Add Tag \"%s\"").printf(HierarchicalTagUtilities.get_basename(names[0])); + return _("Add Tag “%s”").printf(HierarchicalTagUtilities.get_basename(names[0])); } else if (names.length == 2) { // Used when adding two tags to photo(s) - return _("Add Tags \"%s\" and \"%s\"").printf( + return _("Add Tags “%s” and “%s”").printf( HierarchicalTagUtilities.get_basename(names[0]), HierarchicalTagUtilities.get_basename(names[1])); } else { @@ -350,11 +350,11 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc., } public string delete_tag_menu(string name) { - return _("_Delete Tag \"%s\"").printf(name); + return _("_Delete Tag “%s”").printf(name); } public string delete_tag_label(string name) { - return _("Delete Tag \"%s\"").printf(name); + return _("Delete Tag “%s”").printf(name); } public const string DELETE_TAG_TITLE = _("Delete Tag"); @@ -363,43 +363,43 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc., public const string NEW_CHILD_TAG_SIDEBAR_MENU = _("_New"); public string rename_tag_menu(string name) { - return _("Re_name Tag \"%s\"...").printf(name); + return _("Re_name Tag “%s”…").printf(name); } public string rename_tag_label(string old_name, string new_name) { - return _("Rename Tag \"%s\" to \"%s\"").printf(old_name, new_name); + return _("Rename Tag “%s” to “%s”").printf(old_name, new_name); } - public const string RENAME_TAG_SIDEBAR_MENU = _("_Rename..."); + public const string RENAME_TAG_SIDEBAR_MENU = _("_Rename…"); - public const string MODIFY_TAGS_MENU = _("Modif_y Tags..."); + public const string MODIFY_TAGS_MENU = _("Modif_y Tags…"); public const string MODIFY_TAGS_LABEL = _("Modify Tags"); public string tag_photos_label(string name, int count) { - return ((count == 1) ? _("Tag Photo as \"%s\"") : _("Tag Photos as \"%s\"")).printf(name); + return ((count == 1) ? _("Tag Photo as “%s”") : _("Tag Photos as “%s”")).printf(name); } public string tag_photos_tooltip(string name, int count) { - return ((count == 1) ? _("Tag the selected photo as \"%s\"") : - _("Tag the selected photos as \"%s\"")).printf(name); + return ((count == 1) ? _("Tag the selected photo as “%s”") : + _("Tag the selected photos as “%s”")).printf(name); } public string untag_photos_menu(string name, int count) { - return ((count == 1) ? _("Remove Tag \"%s\" From _Photo") : - _("Remove Tag \"%s\" From _Photos")).printf(name); + return ((count == 1) ? _("Remove Tag “%s” From _Photo") : + _("Remove Tag “%s” From _Photos")).printf(name); } public string untag_photos_label(string name, int count) { - return ((count == 1) ? _("Remove Tag \"%s\" From Photo") : - _("Remove Tag \"%s\" From Photos")).printf(name); + return ((count == 1) ? _("Remove Tag “%s” From Photo") : + _("Remove Tag “%s” From Photos")).printf(name); } public static string rename_tag_exists_message(string name) { - return _("Unable to rename tag to \"%s\" because the tag already exists.").printf(name); + return _("Unable to rename tag to “%s” because the tag already exists.").printf(name); } public static string rename_search_exists_message(string name) { - return _("Unable to rename search to \"%s\" because the search already exists.").printf(name); + return _("Unable to rename search to “%s” because the search already exists.").printf(name); } public const string DEFAULT_SAVED_SEARCH_NAME = _("Saved Search"); @@ -407,15 +407,15 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc., public const string DELETE_SAVED_SEARCH_DIALOG_TITLE = _("Delete Search"); public const string DELETE_SEARCH_MENU = _("_Delete"); - public const string EDIT_SEARCH_MENU = _("_Edit..."); - public const string RENAME_SEARCH_MENU = _("Re_name..."); + public const string EDIT_SEARCH_MENU = _("_Edit…"); + public const string RENAME_SEARCH_MENU = _("Re_name…"); public string rename_search_label(string old_name, string new_name) { - return _("Rename Search \"%s\" to \"%s\"").printf(old_name, new_name); + return _("Rename Search “%s” to “%s”").printf(old_name, new_name); } public string delete_search_label(string name) { - return _("Delete Search \"%s\"").printf(name); + return _("Delete Search “%s”").printf(name); } private unowned string rating_menu(Rating rating) { @@ -679,7 +679,7 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc., public const string RESTORE_PHOTOS_TOOLTIP = _("Move the selected photos back into the library"); public const string JUMP_TO_FILE_MENU = _("Show in File Mana_ger"); - public const string JUMP_TO_FILE_TOOLTIP = _("Open the selected photo's directory in the file manager"); + public const string JUMP_TO_FILE_TOOLTIP = _("Open the selected photo’s directory in the file manager"); public string jump_to_file_failed(Error err) { return _("Unable to open in file manager: %s").printf(err.message); diff --git a/src/SearchFilter.c b/src/SearchFilter.c index 7204a17..7723bcf 100644 --- a/src/SearchFilter.c +++ b/src/SearchFilter.c @@ -5855,11 +5855,11 @@ SearchFilterToolbar* search_filter_toolbar_construct (GType object_type, SearchF #line 1146 "/home/jens/Source/shotwell/src/SearchFilter.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 5858 "SearchFilter.c" - goto __catch580_g_error; + goto __catch593_g_error; } } - goto __finally580; - __catch580_g_error: + goto __finally593; + __catch593_g_error: { GError* err = NULL; const gchar* _tmp14_ = NULL; @@ -5897,7 +5897,7 @@ SearchFilterToolbar* search_filter_toolbar_construct (GType object_type, SearchF _g_error_free0 (err); #line 5899 "SearchFilter.c" } - __finally580: + __finally593: #line 1145 "/home/jens/Source/shotwell/src/SearchFilter.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1145 "/home/jens/Source/shotwell/src/SearchFilter.vala" diff --git a/src/SlideshowPage.c b/src/SlideshowPage.c index 0b471d6..119391a 100644 --- a/src/SlideshowPage.c +++ b/src/SlideshowPage.c @@ -1110,7 +1110,7 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start #line 225 "/home/jens/Source/shotwell/src/SlideshowPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1113 "SlideshowPage.c" - goto __catch450_g_error; + goto __catch463_g_error; } #line 225 "/home/jens/Source/shotwell/src/SlideshowPage.vala" _tmp7_ = _tmp3_; @@ -1124,8 +1124,8 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start _g_object_unref0 (_tmp3_); #line 1126 "SlideshowPage.c" } - goto __finally450; - __catch450_g_error: + goto __finally463; + __catch463_g_error: { GError* err = NULL; Photo* _tmp8_ = NULL; @@ -1334,7 +1334,7 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start continue; #line 1336 "SlideshowPage.c" } - __finally450: + __finally463: #line 223 "/home/jens/Source/shotwell/src/SlideshowPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 223 "/home/jens/Source/shotwell/src/SlideshowPage.vala" @@ -3240,7 +3240,7 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) { #line 393 "/home/jens/Source/shotwell/src/Tag.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 3243 "Tag.c" - goto __catch459_database_error; + goto __catch472_database_error; } #line 393 "/home/jens/Source/shotwell/src/Tag.vala" _g_object_unref0 (rows); @@ -3264,8 +3264,8 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) { _g_object_unref0 (_tmp1_); #line 3266 "Tag.c" } - goto __finally459; - __catch459_database_error: + goto __finally472; + __catch472_database_error: { GError* err = NULL; GError* _tmp7_ = NULL; @@ -3281,7 +3281,7 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) { _g_error_free0 (err); #line 3283 "Tag.c" } - __finally459: + __finally472: #line 392 "/home/jens/Source/shotwell/src/Tag.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 392 "/home/jens/Source/shotwell/src/Tag.vala" @@ -3423,7 +3423,7 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) { #line 418 "/home/jens/Source/shotwell/src/Tag.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 3426 "Tag.c" - goto __catch460_database_error; + goto __catch473_database_error; } #line 418 "/home/jens/Source/shotwell/src/Tag.vala" _g_free0 (name); @@ -3444,8 +3444,8 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) { #line 3445 "Tag.c" } } - goto __finally460; - __catch460_database_error: + goto __finally473; + __catch473_database_error: { GError* err = NULL; TagRow* _tmp30_ = NULL; @@ -3470,7 +3470,7 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) { _g_error_free0 (err); #line 3472 "Tag.c" } - __finally460: + __finally473: #line 417 "/home/jens/Source/shotwell/src/Tag.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 417 "/home/jens/Source/shotwell/src/Tag.vala" @@ -4577,7 +4577,7 @@ Tag* tag_for_path (const gchar* name) { #line 563 "/home/jens/Source/shotwell/src/Tag.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 4580 "Tag.c" - goto __catch461_database_error; + goto __catch474_database_error; } #line 563 "/home/jens/Source/shotwell/src/Tag.vala" _g_object_unref0 (tag); @@ -4599,8 +4599,8 @@ Tag* tag_for_path (const gchar* name) { _tag_row_unref0 (_tmp8_); #line 4601 "Tag.c" } - goto __finally461; - __catch461_database_error: + goto __finally474; + __catch474_database_error: { GError* err = NULL; GError* _tmp15_ = NULL; @@ -4616,7 +4616,7 @@ Tag* tag_for_path (const gchar* name) { _g_error_free0 (err); #line 4618 "Tag.c" } - __finally461: + __finally474: #line 562 "/home/jens/Source/shotwell/src/Tag.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 562 "/home/jens/Source/shotwell/src/Tag.vala" @@ -5532,7 +5532,7 @@ static void tag_set_raw_flat_name (Tag* self, const gchar* name) { #line 678 "/home/jens/Source/shotwell/src/Tag.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 5535 "Tag.c" - goto __catch462_database_error; + goto __catch475_database_error; } #line 678 "/home/jens/Source/shotwell/src/Tag.vala" _g_free0 (prepped_name); @@ -5545,8 +5545,8 @@ static void tag_set_raw_flat_name (Tag* self, const gchar* name) { #line 5546 "Tag.c" } } - goto __finally462; - __catch462_database_error: + goto __finally475; + __catch475_database_error: { GError* err = NULL; GError* _tmp10_ = NULL; @@ -5566,7 +5566,7 @@ static void tag_set_raw_flat_name (Tag* self, const gchar* name) { return; #line 5568 "Tag.c" } - __finally462: + __finally475: #line 677 "/home/jens/Source/shotwell/src/Tag.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 677 "/home/jens/Source/shotwell/src/Tag.vala" @@ -5678,7 +5678,7 @@ static void tag_set_raw_path (Tag* self, const gchar* path, gboolean suppress_no #line 700 "/home/jens/Source/shotwell/src/Tag.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 5681 "Tag.c" - goto __catch463_database_error; + goto __catch476_database_error; } #line 700 "/home/jens/Source/shotwell/src/Tag.vala" _g_free0 (prepped_path); @@ -5691,8 +5691,8 @@ static void tag_set_raw_path (Tag* self, const gchar* path, gboolean suppress_no #line 5692 "Tag.c" } } - goto __finally463; - __catch463_database_error: + goto __finally476; + __catch476_database_error: { GError* err = NULL; GError* _tmp13_ = NULL; @@ -5712,7 +5712,7 @@ static void tag_set_raw_path (Tag* self, const gchar* path, gboolean suppress_no return; #line 5714 "Tag.c" } - __finally463: + __finally476: #line 699 "/home/jens/Source/shotwell/src/Tag.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 699 "/home/jens/Source/shotwell/src/Tag.vala" @@ -7069,7 +7069,7 @@ Tag* tag_reconstitute (gint64 object_id, TagRow* row) { #line 900 "/home/jens/Source/shotwell/src/Tag.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 7072 "Tag.c" - goto __catch464_database_error; + goto __catch477_database_error; } #line 900 "/home/jens/Source/shotwell/src/Tag.vala" 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); @@ -7085,8 +7085,8 @@ Tag* tag_reconstitute (gint64 object_id, TagRow* row) { _tmp6_->tag_id = _tmp0_; #line 7087 "Tag.c" } - goto __finally464; - __catch464_database_error: + goto __finally477; + __catch477_database_error: { GError* err = NULL; GError* _tmp7_ = NULL; @@ -7102,7 +7102,7 @@ Tag* tag_reconstitute (gint64 object_id, TagRow* row) { _g_error_free0 (err); #line 7104 "Tag.c" } - __finally464: + __finally477: #line 899 "/home/jens/Source/shotwell/src/Tag.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 899 "/home/jens/Source/shotwell/src/Tag.vala" @@ -9016,7 +9016,7 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added, #line 1153 "/home/jens/Source/shotwell/src/Tag.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 9019 "Tag.c" - goto __catch465_database_error; + goto __catch478_database_error; } #line 1153 "/home/jens/Source/shotwell/src/Tag.vala" _g_object_unref0 (removed_sources); @@ -9031,8 +9031,8 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added, #line 9032 "Tag.c" } } - goto __finally465; - __catch465_database_error: + goto __finally478; + __catch478_database_error: { GError* err = NULL; GError* _tmp57_ = NULL; @@ -9048,7 +9048,7 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added, _g_error_free0 (err); #line 9050 "Tag.c" } - __finally465: + __finally478: #line 1152 "/home/jens/Source/shotwell/src/Tag.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1152 "/home/jens/Source/shotwell/src/Tag.vala" @@ -9260,7 +9260,7 @@ static void tag_real_destroy (DataSource* base) { #line 1194 "/home/jens/Source/shotwell/src/Tag.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 9263 "Tag.c" - goto __catch466_database_error; + goto __catch479_database_error; } #line 1194 "/home/jens/Source/shotwell/src/Tag.vala" 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); @@ -9271,8 +9271,8 @@ static void tag_real_destroy (DataSource* base) { #line 9272 "Tag.c" } } - goto __finally466; - __catch466_database_error: + goto __finally479; + __catch479_database_error: { GError* err = NULL; GError* _tmp19_ = NULL; @@ -9288,7 +9288,7 @@ static void tag_real_destroy (DataSource* base) { _g_error_free0 (err); #line 9290 "Tag.c" } - __finally466: + __finally479: #line 1193 "/home/jens/Source/shotwell/src/Tag.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1193 "/home/jens/Source/shotwell/src/Tag.vala" diff --git a/src/ThumbnailCache.c b/src/ThumbnailCache.c index a68977d..aeb39de 100644 --- a/src/ThumbnailCache.c +++ b/src/ThumbnailCache.c @@ -1802,7 +1802,7 @@ void thumbnail_cache_generate_for_photo (Thumbnails* thumbnails, PhotoFileReader #line 300 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1805 "ThumbnailCache.c" - goto __catch223_g_error; + goto __catch236_g_error; } #line 300 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" _tmp9_ = _tmp4_; @@ -1816,8 +1816,8 @@ void thumbnail_cache_generate_for_photo (Thumbnails* thumbnails, PhotoFileReader _g_object_unref0 (_tmp4_); #line 1818 "ThumbnailCache.c" } - goto __finally223; - __catch223_g_error: + goto __finally236; + __catch236_g_error: { GError* err = NULL; GdkPixbuf* _tmp10_ = NULL; @@ -1839,7 +1839,7 @@ void thumbnail_cache_generate_for_photo (Thumbnails* thumbnails, PhotoFileReader #line 305 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" _g_error_free0 (err); #line 1842 "ThumbnailCache.c" - goto __finally223; + goto __finally236; } #line 305 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" _tmp13_ = _tmp10_; @@ -1855,7 +1855,7 @@ void thumbnail_cache_generate_for_photo (Thumbnails* thumbnails, PhotoFileReader _g_error_free0 (err); #line 1857 "ThumbnailCache.c" } - __finally223: + __finally236: #line 299 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 299 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" @@ -2390,11 +2390,11 @@ static void thumbnail_cache_async_fetch_completion_callback (BackgroundJob* back #line 423 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2393 "ThumbnailCache.c" - goto __catch224_g_error; + goto __catch237_g_error; } } - goto __finally224; - __catch224_g_error: + goto __finally237; + __catch237_g_error: { GError* err = NULL; ThumbnailCacheAsyncFetchJob* _tmp14_ = NULL; @@ -2418,7 +2418,7 @@ static void thumbnail_cache_async_fetch_completion_callback (BackgroundJob* back _g_error_free0 (err); #line 2420 "ThumbnailCache.c" } - __finally224: + __finally237: #line 422 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 422 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" @@ -2771,11 +2771,11 @@ static void _thumbnail_cache_duplicate (ThumbnailCache* self, ThumbnailSource* s #line 494 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2774 "ThumbnailCache.c" - goto __catch225_g_error; + goto __catch238_g_error; } } - goto __finally225; - __catch225_g_error: + goto __finally238; + __catch238_g_error: { GError* err = NULL; GError* _tmp9_ = NULL; @@ -2802,7 +2802,7 @@ static void _thumbnail_cache_duplicate (ThumbnailCache* self, ThumbnailSource* s _g_error_free0 (err); #line 2804 "ThumbnailCache.c" } - __finally225: + __finally238: #line 493 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 493 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" @@ -2946,11 +2946,11 @@ static void _thumbnail_cache_remove (ThumbnailCache* self, ThumbnailSource* sour #line 529 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2949 "ThumbnailCache.c" - goto __catch226_g_error; + goto __catch239_g_error; } } - goto __finally226; - __catch226_g_error: + goto __finally239; + __catch239_g_error: { GError* err = NULL; #line 528 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" @@ -2961,7 +2961,7 @@ static void _thumbnail_cache_remove (ThumbnailCache* self, ThumbnailSource* sour _g_error_free0 (err); #line 2963 "ThumbnailCache.c" } - __finally226: + __finally239: #line 528 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 528 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" @@ -4079,7 +4079,7 @@ static void thumbnail_cache_async_fetch_job_real_execute (BackgroundJob* base) { #line 125 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4081 "ThumbnailCache.c" - goto __catch227_g_error; + goto __catch240_g_error; } #line 125 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" _tmp6_ = _tmp1_; @@ -4148,8 +4148,8 @@ static void thumbnail_cache_async_fetch_job_real_execute (BackgroundJob* base) { _g_object_unref0 (_tmp8_); #line 4149 "ThumbnailCache.c" } - goto __finally227; - __catch227_g_error: + goto __finally240; + __catch240_g_error: { GError* err = NULL; GError* _tmp17_ = NULL; @@ -4168,11 +4168,11 @@ static void thumbnail_cache_async_fetch_job_real_execute (BackgroundJob* base) { #line 137 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4170 "ThumbnailCache.c" - goto __catch228_g_error; + goto __catch241_g_error; } } - goto __finally228; - __catch228_g_error: + goto __finally241; + __catch241_g_error: { GError* generr = NULL; GError* _tmp18_ = NULL; @@ -4193,7 +4193,7 @@ static void thumbnail_cache_async_fetch_job_real_execute (BackgroundJob* base) { _g_error_free0 (generr); #line 4194 "ThumbnailCache.c" } - __finally228: + __finally241: #line 136 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 136 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" @@ -4225,7 +4225,7 @@ static void thumbnail_cache_async_fetch_job_real_execute (BackgroundJob* base) { _g_error_free0 (err); #line 4226 "ThumbnailCache.c" } - __finally227: + __finally240: #line 122 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 122 "/home/jens/Source/shotwell/src/ThumbnailCache.vala" diff --git a/src/Tombstone.c b/src/Tombstone.c index f72cc11..01bf175 100644 --- a/src/Tombstone.c +++ b/src/Tombstone.c @@ -1320,7 +1320,7 @@ void tombstone_source_collection_resurrect_many (TombstoneSourceCollection* self #line 94 "/home/jens/Source/shotwell/src/Tombstone.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 1323 "Tombstone.c" - goto __catch535_database_error; + goto __catch548_database_error; } #line 94 "/home/jens/Source/shotwell/src/Tombstone.vala" _g_object_unref0 (marker); @@ -1333,8 +1333,8 @@ void tombstone_source_collection_resurrect_many (TombstoneSourceCollection* self #line 1334 "Tombstone.c" } } - goto __finally535; - __catch535_database_error: + goto __finally548; + __catch548_database_error: { GError* err = NULL; GError* _tmp2_ = NULL; @@ -1350,7 +1350,7 @@ void tombstone_source_collection_resurrect_many (TombstoneSourceCollection* self _g_error_free0 (err); #line 1352 "Tombstone.c" } - __finally535: + __finally548: #line 93 "/home/jens/Source/shotwell/src/Tombstone.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 93 "/home/jens/Source/shotwell/src/Tombstone.vala" @@ -1636,7 +1636,7 @@ static gboolean tombstone_source_collection_async_scan_co (TombstoneSourceCollec #line 127 "/home/jens/Source/shotwell/src/Tombstone.vala" if (G_UNLIKELY (_data_->_inner_error_ != NULL)) { #line 1639 "Tombstone.c" - goto __catch536_g_error; + goto __catch549_g_error; } #line 127 "/home/jens/Source/shotwell/src/Tombstone.vala" _data_->_tmp22_ = NULL; @@ -1652,8 +1652,8 @@ static gboolean tombstone_source_collection_async_scan_co (TombstoneSourceCollec _g_object_unref0 (_data_->_tmp18_); #line 1654 "Tombstone.c" } - goto __finally536; - __catch536_g_error: + goto __finally549; + __catch549_g_error: { #line 126 "/home/jens/Source/shotwell/src/Tombstone.vala" _data_->err = _data_->_inner_error_; @@ -1716,7 +1716,7 @@ static gboolean tombstone_source_collection_async_scan_co (TombstoneSourceCollec _g_error_free0 (_data_->err); #line 1717 "Tombstone.c" } - __finally536: + __finally549: #line 126 "/home/jens/Source/shotwell/src/Tombstone.vala" if (G_UNLIKELY (_data_->_inner_error_ != NULL)) { #line 126 "/home/jens/Source/shotwell/src/Tombstone.vala" @@ -1818,7 +1818,7 @@ static gboolean tombstone_source_collection_async_scan_co (TombstoneSourceCollec #line 154 "/home/jens/Source/shotwell/src/Tombstone.vala" if (_data_->_inner_error_->domain == DATABASE_ERROR) { #line 1820 "Tombstone.c" - goto __catch537_database_error; + goto __catch550_database_error; } #line 154 "/home/jens/Source/shotwell/src/Tombstone.vala" _g_object_unref0 (_data_->marker); @@ -1831,8 +1831,8 @@ static gboolean tombstone_source_collection_async_scan_co (TombstoneSourceCollec #line 1831 "Tombstone.c" } } - goto __finally537; - __catch537_database_error: + goto __finally550; + __catch550_database_error: { #line 153 "/home/jens/Source/shotwell/src/Tombstone.vala" _data_->err2 = _data_->_inner_error_; @@ -1848,7 +1848,7 @@ static gboolean tombstone_source_collection_async_scan_co (TombstoneSourceCollec _g_error_free0 (_data_->err2); #line 1849 "Tombstone.c" } - __finally537: + __finally550: #line 153 "/home/jens/Source/shotwell/src/Tombstone.vala" if (G_UNLIKELY (_data_->_inner_error_ != NULL)) { #line 153 "/home/jens/Source/shotwell/src/Tombstone.vala" @@ -2374,7 +2374,7 @@ void tombstone_init (void) { #line 211 "/home/jens/Source/shotwell/src/Tombstone.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 2376 "Tombstone.c" - goto __catch538_database_error; + goto __catch551_database_error; } #line 211 "/home/jens/Source/shotwell/src/Tombstone.vala" rows = (_vala_array_free (rows, rows_length1, (GDestroyNotify) tombstone_row_unref), NULL); @@ -2406,8 +2406,8 @@ void tombstone_init (void) { _tmp1_ = (_vala_array_free (_tmp1_, _tmp1__length1, (GDestroyNotify) tombstone_row_unref), NULL); #line 2407 "Tombstone.c" } - goto __finally538; - __catch538_database_error: + goto __finally551; + __catch551_database_error: { GError* err = NULL; GError* _tmp8_ = NULL; @@ -2423,7 +2423,7 @@ void tombstone_init (void) { _g_error_free0 (err); #line 2424 "Tombstone.c" } - __finally538: + __finally551: #line 210 "/home/jens/Source/shotwell/src/Tombstone.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 210 "/home/jens/Source/shotwell/src/Tombstone.vala" @@ -3210,7 +3210,7 @@ void tombstone_move (Tombstone* self, GFile* file) { #line 297 "/home/jens/Source/shotwell/src/Tombstone.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 3212 "Tombstone.c" - goto __catch539_database_error; + goto __catch552_database_error; } #line 297 "/home/jens/Source/shotwell/src/Tombstone.vala" 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); @@ -3221,8 +3221,8 @@ void tombstone_move (Tombstone* self, GFile* file) { #line 3221 "Tombstone.c" } } - goto __finally539; - __catch539_database_error: + goto __finally552; + __catch552_database_error: { GError* err = NULL; GError* _tmp7_ = NULL; @@ -3238,7 +3238,7 @@ void tombstone_move (Tombstone* self, GFile* file) { _g_error_free0 (err); #line 3239 "Tombstone.c" } - __finally539: + __finally552: #line 296 "/home/jens/Source/shotwell/src/Tombstone.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 296 "/home/jens/Source/shotwell/src/Tombstone.vala" @@ -3457,7 +3457,7 @@ static void tombstone_real_destroy (DataSource* base) { #line 328 "/home/jens/Source/shotwell/src/Tombstone.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 3459 "Tombstone.c" - goto __catch540_database_error; + goto __catch553_database_error; } #line 328 "/home/jens/Source/shotwell/src/Tombstone.vala" 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); @@ -3468,8 +3468,8 @@ static void tombstone_real_destroy (DataSource* base) { #line 3468 "Tombstone.c" } } - goto __finally540; - __catch540_database_error: + goto __finally553; + __catch553_database_error: { GError* err = NULL; GError* _tmp4_ = NULL; @@ -3485,7 +3485,7 @@ static void tombstone_real_destroy (DataSource* base) { _g_error_free0 (err); #line 3486 "Tombstone.c" } - __finally540: + __finally553: #line 327 "/home/jens/Source/shotwell/src/Tombstone.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 327 "/home/jens/Source/shotwell/src/Tombstone.vala" diff --git a/src/Upgrades.c b/src/Upgrades.c index 420cc7c..9d41ad1 100644 --- a/src/Upgrades.c +++ b/src/Upgrades.c @@ -1123,14 +1123,14 @@ static guint64 mimics_removal_task_real_get_step_count (UpgradeTask* base) { #line 73 "/home/jens/Source/shotwell/src/Upgrades.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1126 "Upgrades.c" - goto __catch581_g_error; + goto __catch594_g_error; } #line 73 "/home/jens/Source/shotwell/src/Upgrades.vala" self->priv->num_mimics = _tmp0_; #line 1131 "Upgrades.c" } - goto __finally581; - __catch581_g_error: + goto __finally594; + __catch594_g_error: { GError* e = NULL; GError* _tmp3_ = NULL; @@ -1149,7 +1149,7 @@ static guint64 mimics_removal_task_real_get_step_count (UpgradeTask* base) { _g_error_free0 (e); #line 1151 "Upgrades.c" } - __finally581: + __finally594: #line 72 "/home/jens/Source/shotwell/src/Upgrades.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 72 "/home/jens/Source/shotwell/src/Upgrades.vala" @@ -1195,7 +1195,7 @@ static void mimics_removal_task_real_execute (UpgradeTask* base, ProgressMonitor #line 82 "/home/jens/Source/shotwell/src/Upgrades.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1198 "Upgrades.c" - goto __catch582_g_error; + goto __catch595_g_error; } #line 83 "/home/jens/Source/shotwell/src/Upgrades.vala" _tmp3_ = self->priv->mimic_dir; @@ -1204,11 +1204,11 @@ static void mimics_removal_task_real_execute (UpgradeTask* base, ProgressMonitor #line 83 "/home/jens/Source/shotwell/src/Upgrades.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1207 "Upgrades.c" - goto __catch582_g_error; + goto __catch595_g_error; } } - goto __finally582; - __catch582_g_error: + goto __finally595; + __catch595_g_error: { GError* e = NULL; GError* _tmp4_ = NULL; @@ -1227,7 +1227,7 @@ static void mimics_removal_task_real_execute (UpgradeTask* base, ProgressMonitor _g_error_free0 (e); #line 1229 "Upgrades.c" } - __finally582: + __finally595: #line 81 "/home/jens/Source/shotwell/src/Upgrades.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 81 "/home/jens/Source/shotwell/src/Upgrades.vala" diff --git a/src/VideoMetadata.c b/src/VideoMetadata.c index 15409fe..e6c388c 100644 --- a/src/VideoMetadata.c +++ b/src/VideoMetadata.c @@ -746,7 +746,7 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self) #line 80 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 749 "VideoMetadata.c" - goto __catch563_g_error; + goto __catch576_g_error; } #line 81 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp3_ = test; @@ -755,7 +755,7 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self) #line 81 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 758 "VideoMetadata.c" - goto __catch563_g_error; + goto __catch576_g_error; } #line 84 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp4_ = test; @@ -809,7 +809,7 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self) #line 95 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 812 "VideoMetadata.c" - goto __catch563_g_error; + goto __catch576_g_error; } #line 96 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp13_ = test; @@ -818,7 +818,7 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self) #line 96 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 821 "VideoMetadata.c" - goto __catch563_g_error; + goto __catch576_g_error; } #line 97 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp14_ = test; @@ -833,8 +833,8 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self) } } } - goto __finally563; - __catch563_g_error: + goto __finally576; + __catch576_g_error: { GError* e = NULL; GFile* _tmp16_ = NULL; @@ -865,7 +865,7 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self) _g_error_free0 (e); #line 866 "VideoMetadata.c" } - __finally563: + __finally576: #line 79 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 79 "/home/jens/Source/shotwell/src/VideoMetadata.vala" @@ -887,11 +887,11 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self) #line 107 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 889 "VideoMetadata.c" - goto __catch564_g_error; + goto __catch577_g_error; } } - goto __finally564; - __catch564_g_error: + goto __finally577; + __catch577_g_error: { GError* e = NULL; GError* _tmp22_ = NULL; @@ -910,7 +910,7 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self) _g_error_free0 (e); #line 911 "VideoMetadata.c" } - __finally564: + __finally577: #line 106 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 106 "/home/jens/Source/shotwell/src/VideoMetadata.vala" @@ -963,7 +963,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q #line 119 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 965 "VideoMetadata.c" - goto __catch565_g_error; + goto __catch578_g_error; } #line 120 "/home/jens/Source/shotwell/src/VideoMetadata.vala" done = FALSE; @@ -994,7 +994,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q #line 123 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 996 "VideoMetadata.c" - goto __catch565_g_error; + goto __catch578_g_error; } #line 124 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp5_ = test; @@ -1058,7 +1058,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q #line 129 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _quick_time_atom_unref0 (child); #line 1060 "VideoMetadata.c" - goto __catch565_g_error; + goto __catch578_g_error; } #line 130 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp16_ = child; @@ -1114,7 +1114,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q #line 137 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _quick_time_atom_unref0 (child); #line 1116 "VideoMetadata.c" - goto __catch565_g_error; + goto __catch578_g_error; } #line 139 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp26_ = child; @@ -1127,7 +1127,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q #line 139 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _quick_time_atom_unref0 (child); #line 1129 "VideoMetadata.c" - goto __catch565_g_error; + goto __catch578_g_error; } #line 139 "/home/jens/Source/shotwell/src/VideoMetadata.vala" timestamp = _tmp25_ - QUICK_TIME_METADATA_LOADER_QUICKTIME_EPOCH_ADJUSTMENT; @@ -1146,7 +1146,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q #line 143 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _quick_time_atom_unref0 (child); #line 1148 "VideoMetadata.c" - goto __catch565_g_error; + goto __catch578_g_error; } } #line 125 "/home/jens/Source/shotwell/src/VideoMetadata.vala" @@ -1160,12 +1160,12 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q #line 146 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1162 "VideoMetadata.c" - goto __catch565_g_error; + goto __catch578_g_error; } } } - goto __finally565; - __catch565_g_error: + goto __finally578; + __catch578_g_error: { GError* e = NULL; GError* _tmp30_ = NULL; @@ -1184,7 +1184,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q _g_error_free0 (e); #line 1185 "VideoMetadata.c" } - __finally565: + __finally578: #line 118 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 118 "/home/jens/Source/shotwell/src/VideoMetadata.vala" @@ -1206,11 +1206,11 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q #line 153 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1208 "VideoMetadata.c" - goto __catch566_g_error; + goto __catch579_g_error; } } - goto __finally566; - __catch566_g_error: + goto __finally579; + __catch579_g_error: { GError* e = NULL; GError* _tmp33_ = NULL; @@ -1229,7 +1229,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q _g_error_free0 (e); #line 1230 "VideoMetadata.c" } - __finally566: + __finally579: #line 152 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 152 "/home/jens/Source/shotwell/src/VideoMetadata.vala" @@ -2602,7 +2602,7 @@ gboolean avi_metadata_loader_is_supported (AVIMetadataLoader* self) { #line 323 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2604 "VideoMetadata.c" - goto __catch567_g_error; + goto __catch580_g_error; } #line 324 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp3_ = chunk; @@ -2611,7 +2611,7 @@ gboolean avi_metadata_loader_is_supported (AVIMetadataLoader* self) { #line 324 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2613 "VideoMetadata.c" - goto __catch567_g_error; + goto __catch580_g_error; } #line 326 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp5_ = chunk; @@ -2640,7 +2640,7 @@ gboolean avi_metadata_loader_is_supported (AVIMetadataLoader* self) { #line 327 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2642 "VideoMetadata.c" - goto __catch567_g_error; + goto __catch580_g_error; } #line 327 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp12_ = _tmp9_; @@ -2667,8 +2667,8 @@ gboolean avi_metadata_loader_is_supported (AVIMetadataLoader* self) { #line 2667 "VideoMetadata.c" } } - goto __finally567; - __catch567_g_error: + goto __finally580; + __catch580_g_error: { GError* e = NULL; GError* _tmp14_ = NULL; @@ -2687,7 +2687,7 @@ gboolean avi_metadata_loader_is_supported (AVIMetadataLoader* self) { _g_error_free0 (e); #line 2688 "VideoMetadata.c" } - __finally567: + __finally580: #line 322 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 322 "/home/jens/Source/shotwell/src/VideoMetadata.vala" @@ -2709,11 +2709,11 @@ gboolean avi_metadata_loader_is_supported (AVIMetadataLoader* self) { #line 335 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2711 "VideoMetadata.c" - goto __catch568_g_error; + goto __catch581_g_error; } } - goto __finally568; - __catch568_g_error: + goto __finally581; + __catch581_g_error: { GError* e = NULL; GError* _tmp17_ = NULL; @@ -2732,7 +2732,7 @@ gboolean avi_metadata_loader_is_supported (AVIMetadataLoader* self) { _g_error_free0 (e); #line 2733 "VideoMetadata.c" } - __finally568: + __finally581: #line 334 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 334 "/home/jens/Source/shotwell/src/VideoMetadata.vala" @@ -4073,7 +4073,7 @@ static gulong avi_metadata_loader_get_creation_date_time_for_avi (AVIMetadataLoa #line 515 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4075 "VideoMetadata.c" - goto __catch569_g_error; + goto __catch582_g_error; } #line 516 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp3_ = chunk; @@ -4082,7 +4082,7 @@ static gulong avi_metadata_loader_get_creation_date_time_for_avi (AVIMetadataLoa #line 516 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4084 "VideoMetadata.c" - goto __catch569_g_error; + goto __catch582_g_error; } #line 517 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp4_ = chunk; @@ -4093,7 +4093,7 @@ static gulong avi_metadata_loader_get_creation_date_time_for_avi (AVIMetadataLoa #line 517 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4095 "VideoMetadata.c" - goto __catch569_g_error; + goto __catch582_g_error; } #line 518 "/home/jens/Source/shotwell/src/VideoMetadata.vala" _tmp6_ = sdate; @@ -4122,8 +4122,8 @@ static gulong avi_metadata_loader_get_creation_date_time_for_avi (AVIMetadataLoa _g_free0 (sdate); #line 4123 "VideoMetadata.c" } - goto __finally569; - __catch569_g_error: + goto __finally582; + __catch582_g_error: { GError* e = NULL; GError* _tmp11_ = NULL; @@ -4142,7 +4142,7 @@ static gulong avi_metadata_loader_get_creation_date_time_for_avi (AVIMetadataLoa _g_error_free0 (e); #line 4143 "VideoMetadata.c" } - __finally569: + __finally582: #line 514 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 514 "/home/jens/Source/shotwell/src/VideoMetadata.vala" @@ -4164,11 +4164,11 @@ static gulong avi_metadata_loader_get_creation_date_time_for_avi (AVIMetadataLoa #line 526 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4166 "VideoMetadata.c" - goto __catch570_g_error; + goto __catch583_g_error; } } - goto __finally570; - __catch570_g_error: + goto __finally583; + __catch583_g_error: { GError* e = NULL; GError* _tmp14_ = NULL; @@ -4187,7 +4187,7 @@ static gulong avi_metadata_loader_get_creation_date_time_for_avi (AVIMetadataLoa _g_error_free0 (e); #line 4188 "VideoMetadata.c" } - __finally570: + __finally583: #line 525 "/home/jens/Source/shotwell/src/VideoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 525 "/home/jens/Source/shotwell/src/VideoMetadata.vala" diff --git a/src/VideoSupport.c b/src/VideoSupport.c index aad43f3..8529037 100644 --- a/src/VideoSupport.c +++ b/src/VideoSupport.c @@ -2322,7 +2322,7 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) { #line 89 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2325 "VideoSupport.c" - goto __catch482_g_error; + goto __catch495_g_error; } #line 89 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = _tmp3_; @@ -2336,8 +2336,8 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) { _g_object_unref0 (_tmp3_); #line 2338 "VideoSupport.c" } - goto __finally482; - __catch482_g_error: + goto __finally495; + __catch495_g_error: { GError* err = NULL; #line 88 "/home/jens/Source/shotwell/src/VideoSupport.vala" @@ -2356,7 +2356,7 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) { return result; #line 2358 "VideoSupport.c" } - __finally482: + __finally495: #line 88 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 88 "/home/jens/Source/shotwell/src/VideoSupport.vala" @@ -2475,7 +2475,7 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) { #line 119 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_inner_error_->domain == VIDEO_ERROR) { #line 2478 "VideoSupport.c" - goto __catch483_video_error; + goto __catch496_video_error; } #line 119 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (preview_frame); @@ -2501,8 +2501,8 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) { clip_duration = _tmp26_; #line 2503 "VideoSupport.c" } - goto __finally483; - __catch483_video_error: + goto __finally496; + __catch496_video_error: { GError* err = NULL; GError* _tmp29_ = NULL; @@ -2555,7 +2555,7 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) { _g_error_free0 (err); #line 2556 "VideoSupport.c" } - __finally483: + __finally496: #line 118 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 118 "/home/jens/Source/shotwell/src/VideoSupport.vala" @@ -2604,7 +2604,7 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) { #line 132 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2606 "VideoSupport.c" - goto __catch484_g_error; + goto __catch497_g_error; } #line 133 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp33_ = metadata; @@ -2700,8 +2700,8 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) { _media_metadata_unref0 (metadata); #line 2701 "VideoSupport.c" } - goto __finally484; - __catch484_g_error: + goto __finally497; + __catch497_g_error: { GError* err = NULL; GError* _tmp51_ = NULL; @@ -2720,7 +2720,7 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) { _g_error_free0 (err); #line 2721 "VideoSupport.c" } - __finally484: + __finally497: #line 131 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 131 "/home/jens/Source/shotwell/src/VideoSupport.vala" @@ -3093,7 +3093,7 @@ static void video_reader_read_internal (VideoReader* self, GError** error) { #line 190 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3095 "VideoSupport.c" - goto __catch485_g_error; + goto __catch498_g_error; } #line 191 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = d; @@ -3116,7 +3116,7 @@ static void video_reader_read_internal (VideoReader* self, GError** error) { #line 191 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (d); #line 3118 "VideoSupport.c" - goto __catch485_g_error; + goto __catch498_g_error; } #line 193 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp15_ = info; @@ -3209,8 +3209,8 @@ static void video_reader_read_internal (VideoReader* self, GError** error) { _g_object_unref0 (d); #line 3210 "VideoSupport.c" } - goto __finally485; - __catch485_g_error: + goto __finally498; + __catch498_g_error: { GError* e = NULL; GError* _tmp35_ = NULL; @@ -3250,9 +3250,9 @@ static void video_reader_read_internal (VideoReader* self, GError** error) { #line 208 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (e); #line 3252 "VideoSupport.c" - goto __finally485; + goto __finally498; } - __finally485: + __finally498: #line 189 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 189 "/home/jens/Source/shotwell/src/VideoSupport.vala" @@ -3410,7 +3410,7 @@ static GdkPixbuf* video_reader_thumbnailer (VideoReader* self, const gchar* vide #line 231 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3412 "VideoSupport.c" - goto __catch486_g_error; + goto __catch499_g_error; } #line 234 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp14_ = self->priv->thumbnailer_pid; @@ -3418,8 +3418,8 @@ static GdkPixbuf* video_reader_thumbnailer (VideoReader* self, const gchar* vide g_debug ("VideoSupport.vala:234: Spawned thumbnailer, child pid: %d", (gint) _tmp14_); #line 3419 "VideoSupport.c" } - goto __finally486; - __catch486_g_error: + goto __finally499; + __catch499_g_error: { GError* e = NULL; GError* _tmp15_ = NULL; @@ -3457,7 +3457,7 @@ static GdkPixbuf* video_reader_thumbnailer (VideoReader* self, const gchar* vide return result; #line 3458 "VideoSupport.c" } - __finally486: + __finally499: #line 230 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 230 "/home/jens/Source/shotwell/src/VideoSupport.vala" @@ -3500,7 +3500,7 @@ static GdkPixbuf* video_reader_thumbnailer (VideoReader* self, const gchar* vide #line 249 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (unix_input); #line 3502 "VideoSupport.c" - goto __catch487_g_error; + goto __catch500_g_error; } #line 249 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp24_ = _tmp21_; @@ -3516,8 +3516,8 @@ static GdkPixbuf* video_reader_thumbnailer (VideoReader* self, const gchar* vide _g_object_unref0 (unix_input); #line 3517 "VideoSupport.c" } - goto __finally487; - __catch487_g_error: + goto __finally500; + __catch500_g_error: { GError* e = NULL; GError* _tmp25_ = NULL; @@ -3540,7 +3540,7 @@ static GdkPixbuf* video_reader_thumbnailer (VideoReader* self, const gchar* vide _g_error_free0 (e); #line 3541 "VideoSupport.c" } - __finally487: + __finally500: #line 247 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 247 "/home/jens/Source/shotwell/src/VideoSupport.vala" @@ -4223,15 +4223,12 @@ Video* video_new (VideoRow* row) { void video_init (ProgressMonitor monitor, void* monitor_target) { - gchar** fake_args = NULL; - gchar** _tmp0_ = NULL; - gint fake_args_length1 = 0; - gint _fake_args_size_ = 0; - gchar** fake_unowned_args = NULL; - gchar** _tmp1_ = NULL; - gint _tmp1__length1 = 0; - gint fake_unowned_args_length1 = 0; - gint _fake_unowned_args_size_ = 0; + gchar** args = NULL; + gint args_length1 = 0; + gint _args_size_ = 0; + GstRegistry* registry = NULL; + GstRegistry* _tmp0_ = NULL; + GstRegistry* _tmp1_ = NULL; gint saved_state = 0; ConfigFacade* _tmp2_ = NULL; ConfigFacade* _tmp3_ = NULL; @@ -4240,30 +4237,37 @@ void video_init (ProgressMonitor monitor, void* monitor_target) { GstRegistry* _tmp6_ = NULL; guint32 _tmp7_ = 0U; gint _tmp8_ = 0; - VideoSourceCollection* _tmp11_ = NULL; + GstPluginFeature* feature = NULL; + GstRegistry* _tmp11_ = NULL; + GstPluginFeature* _tmp12_ = NULL; + GstPluginFeature* _tmp13_ = NULL; + GstRegistry* _tmp16_ = NULL; + GstPluginFeature* _tmp17_ = NULL; + GstPluginFeature* _tmp18_ = NULL; + VideoSourceCollection* _tmp21_ = NULL; GeeArrayList* all = NULL; - VideoTable* _tmp12_ = NULL; - VideoTable* _tmp13_ = NULL; - GeeArrayList* _tmp14_ = NULL; - GeeArrayList* _tmp15_ = NULL; + VideoTable* _tmp22_ = NULL; + VideoTable* _tmp23_ = NULL; + GeeArrayList* _tmp24_ = NULL; + GeeArrayList* _tmp25_ = NULL; GeeArrayList* all_videos = NULL; - GeeArrayList* _tmp16_ = NULL; + GeeArrayList* _tmp26_ = NULL; GeeArrayList* trashed_videos = NULL; - GeeArrayList* _tmp17_ = NULL; + GeeArrayList* _tmp27_ = NULL; GeeArrayList* offline_videos = NULL; - GeeArrayList* _tmp18_ = NULL; + GeeArrayList* _tmp28_ = NULL; gint count = 0; - GeeArrayList* _tmp19_ = NULL; - gint _tmp20_ = 0; - gint _tmp21_ = 0; - VideoSourceCollection* _tmp48_ = NULL; - GeeArrayList* _tmp49_ = NULL; - VideoSourceCollection* _tmp50_ = NULL; - GeeArrayList* _tmp51_ = NULL; - VideoSourceCollection* _tmp52_ = NULL; - GeeArrayList* _tmp53_ = NULL; - GeeCollection* _tmp54_ = NULL; - GeeCollection* _tmp55_ = NULL; + GeeArrayList* _tmp29_ = NULL; + gint _tmp30_ = 0; + gint _tmp31_ = 0; + VideoSourceCollection* _tmp58_ = NULL; + GeeArrayList* _tmp59_ = NULL; + VideoSourceCollection* _tmp60_ = NULL; + GeeArrayList* _tmp61_ = NULL; + VideoSourceCollection* _tmp62_ = NULL; + GeeArrayList* _tmp63_ = NULL; + GeeCollection* _tmp64_ = NULL; + GeeCollection* _tmp65_ = NULL; #line 364 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_interpreter_state_changed = FALSE; #line 365 "/home/jens/Source/shotwell/src/VideoSupport.vala" @@ -4273,25 +4277,19 @@ void video_init (ProgressMonitor monitor, void* monitor_target) { #line 367 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_offline_regen_complete = FALSE; #line 371 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp0_ = g_new0 (gchar*, 0 + 1); -#line 371 "/home/jens/Source/shotwell/src/VideoSupport.vala" - fake_args = _tmp0_; + args = NULL; #line 371 "/home/jens/Source/shotwell/src/VideoSupport.vala" - fake_args_length1 = 0; + args_length1 = 0; #line 371 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _fake_args_size_ = fake_args_length1; -#line 372 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp1_ = fake_args; -#line 372 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp1__length1 = fake_args_length1; + _args_size_ = args_length1; #line 372 "/home/jens/Source/shotwell/src/VideoSupport.vala" - fake_unowned_args = _tmp1_; -#line 372 "/home/jens/Source/shotwell/src/VideoSupport.vala" - fake_unowned_args_length1 = _tmp1__length1; -#line 372 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _fake_unowned_args_size_ = fake_unowned_args_length1; -#line 373 "/home/jens/Source/shotwell/src/VideoSupport.vala" - gst_init (&fake_unowned_args_length1, &fake_unowned_args); + gst_init (&args_length1, &args); +#line 374 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp0_ = gst_registry_get (); +#line 374 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp1_ = _g_object_ref0 (_tmp0_); +#line 374 "/home/jens/Source/shotwell/src/VideoSupport.vala" + registry = _tmp1_; #line 375 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = config_facade_get_instance (); #line 375 "/home/jens/Source/shotwell/src/VideoSupport.vala" @@ -4305,7 +4303,7 @@ void video_init (ProgressMonitor monitor, void* monitor_target) { #line 375 "/home/jens/Source/shotwell/src/VideoSupport.vala" saved_state = _tmp5_; #line 376 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp6_ = gst_registry_get (); + _tmp6_ = registry; #line 376 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = gst_registry_get_feature_list_cookie (_tmp6_); #line 376 "/home/jens/Source/shotwell/src/VideoSupport.vala" @@ -4319,7 +4317,7 @@ void video_init (ProgressMonitor monitor, void* monitor_target) { "l video thumbnails are out of date"); #line 379 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_interpreter_state_changed = TRUE; -#line 4321 "VideoSupport.c" +#line 4319 "VideoSupport.c" } else { gint _tmp9_ = 0; gint _tmp10_ = 0; @@ -4334,222 +4332,266 @@ void video_init (ProgressMonitor monitor, void* monitor_target) { " may be out of date"); #line 382 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_interpreter_state_changed = TRUE; -#line 4335 "VideoSupport.c" +#line 4333 "VideoSupport.c" } } -#line 385 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp11_ = video_source_collection_new (); -#line 385 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _data_collection_unref0 (video_global); -#line 385 "/home/jens/Source/shotwell/src/VideoSupport.vala" - video_global = _tmp11_; -#line 387 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp12_ = video_table_get_instance (); -#line 387 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp13_ = _tmp12_; -#line 387 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp14_ = video_table_get_all (_tmp13_); -#line 387 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp15_ = _tmp14_; -#line 387 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _database_table_unref0 (_tmp13_); -#line 387 "/home/jens/Source/shotwell/src/VideoSupport.vala" - all = _tmp15_; -#line 388 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp16_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 388 "/home/jens/Source/shotwell/src/VideoSupport.vala" - all_videos = _tmp16_; -#line 389 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp17_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 389 "/home/jens/Source/shotwell/src/VideoSupport.vala" - trashed_videos = _tmp17_; -#line 390 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp18_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 390 "/home/jens/Source/shotwell/src/VideoSupport.vala" - offline_videos = _tmp18_; #line 391 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp19_ = all; + _tmp11_ = registry; #line 391 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp20_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 391 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp21_ = _tmp20_; + _tmp12_ = gst_registry_find_feature (_tmp11_, "vaapidecodebin", gst_element_factory_get_type ()); #line 391 "/home/jens/Source/shotwell/src/VideoSupport.vala" - count = _tmp21_; -#line 4376 "VideoSupport.c" - { - gint ctr = 0; -#line 392 "/home/jens/Source/shotwell/src/VideoSupport.vala" - ctr = 0; -#line 4381 "VideoSupport.c" - { - gboolean _tmp22_ = FALSE; -#line 392 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp22_ = TRUE; -#line 392 "/home/jens/Source/shotwell/src/VideoSupport.vala" - while (TRUE) { -#line 4388 "VideoSupport.c" - gint _tmp24_ = 0; - gint _tmp25_ = 0; - Video* video = NULL; - GeeArrayList* _tmp26_ = NULL; - gint _tmp27_ = 0; - gpointer _tmp28_ = NULL; - VideoRow* _tmp29_ = NULL; - Video* _tmp30_ = NULL; - Video* _tmp31_ = NULL; - gboolean _tmp32_ = FALSE; - Video* _tmp34_ = NULL; - gboolean _tmp35_ = FALSE; - ProgressMonitor _tmp44_ = NULL; - void* _tmp44__target = NULL; -#line 392 "/home/jens/Source/shotwell/src/VideoSupport.vala" - if (!_tmp22_) { -#line 4405 "VideoSupport.c" - gint _tmp23_ = 0; -#line 392 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp23_ = ctr; -#line 392 "/home/jens/Source/shotwell/src/VideoSupport.vala" - ctr = _tmp23_ + 1; -#line 4411 "VideoSupport.c" - } -#line 392 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp22_ = FALSE; -#line 392 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp24_ = ctr; -#line 392 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp25_ = count; -#line 392 "/home/jens/Source/shotwell/src/VideoSupport.vala" - if (!(_tmp24_ < _tmp25_)) { -#line 392 "/home/jens/Source/shotwell/src/VideoSupport.vala" - break; -#line 4423 "VideoSupport.c" - } -#line 393 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp26_ = all; + feature = _tmp12_; #line 393 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp27_ = ctr; + _tmp13_ = feature; #line 393 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp28_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp27_); -#line 393 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp29_ = (VideoRow*) _tmp28_; -#line 393 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp30_ = video_new (_tmp29_); -#line 393 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp31_ = _tmp30_; -#line 393 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _video_row_unref0 (_tmp29_); -#line 393 "/home/jens/Source/shotwell/src/VideoSupport.vala" - video = _tmp31_; -#line 395 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp32_ = video_interpreter_state_changed; -#line 395 "/home/jens/Source/shotwell/src/VideoSupport.vala" - if (_tmp32_) { -#line 4445 "VideoSupport.c" - Video* _tmp33_ = NULL; -#line 396 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp33_ = video; -#line 396 "/home/jens/Source/shotwell/src/VideoSupport.vala" - video_set_is_interpretable (_tmp33_, FALSE); -#line 4451 "VideoSupport.c" - } -#line 398 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp34_ = video; -#line 398 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp35_ = media_source_is_trashed (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, TYPE_MEDIA_SOURCE, MediaSource)); -#line 398 "/home/jens/Source/shotwell/src/VideoSupport.vala" - if (_tmp35_) { -#line 4459 "VideoSupport.c" - GeeArrayList* _tmp36_ = NULL; - Video* _tmp37_ = NULL; -#line 399 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp36_ = trashed_videos; + if (_tmp13_ != NULL) { +#line 4346 "VideoSupport.c" + GstRegistry* _tmp14_ = NULL; + GstPluginFeature* _tmp15_ = NULL; +#line 394 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp14_ = registry; +#line 394 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp15_ = feature; +#line 394 "/home/jens/Source/shotwell/src/VideoSupport.vala" + gst_registry_remove_feature (_tmp14_, _tmp15_); +#line 4355 "VideoSupport.c" + } +#line 397 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp16_ = registry; +#line 397 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp17_ = gst_registry_find_feature (_tmp16_, "vaapidecode", gst_element_factory_get_type ()); +#line 397 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _g_object_unref0 (feature); +#line 397 "/home/jens/Source/shotwell/src/VideoSupport.vala" + feature = _tmp17_; #line 399 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp37_ = video; + _tmp18_ = feature; #line 399 "/home/jens/Source/shotwell/src/VideoSupport.vala" - gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp37_); -#line 4468 "VideoSupport.c" - } else { - Video* _tmp38_ = NULL; - gboolean _tmp39_ = FALSE; + if (_tmp18_ != NULL) { +#line 4369 "VideoSupport.c" + GstRegistry* _tmp19_ = NULL; + GstPluginFeature* _tmp20_ = NULL; #line 400 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp38_ = video; + _tmp19_ = registry; #line 400 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp39_ = media_source_is_offline (G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, TYPE_MEDIA_SOURCE, MediaSource)); + _tmp20_ = feature; #line 400 "/home/jens/Source/shotwell/src/VideoSupport.vala" - if (_tmp39_) { -#line 4478 "VideoSupport.c" - GeeArrayList* _tmp40_ = NULL; - Video* _tmp41_ = NULL; -#line 401 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp40_ = offline_videos; -#line 401 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp41_ = video; -#line 401 "/home/jens/Source/shotwell/src/VideoSupport.vala" - gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp41_); -#line 4487 "VideoSupport.c" - } else { - GeeArrayList* _tmp42_ = NULL; - Video* _tmp43_ = NULL; + gst_registry_remove_feature (_tmp19_, _tmp20_); +#line 4378 "VideoSupport.c" + } #line 403 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp42_ = all_videos; + _tmp21_ = video_source_collection_new (); #line 403 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp43_ = video; + _data_collection_unref0 (video_global); #line 403 "/home/jens/Source/shotwell/src/VideoSupport.vala" - gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp43_); -#line 4497 "VideoSupport.c" - } - } + video_global = _tmp21_; #line 405 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp44_ = monitor; + _tmp22_ = video_table_get_instance (); #line 405 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp44__target = monitor_target; + _tmp23_ = _tmp22_; #line 405 "/home/jens/Source/shotwell/src/VideoSupport.vala" - if (_tmp44_ != NULL) { -#line 4506 "VideoSupport.c" - ProgressMonitor _tmp45_ = NULL; - void* _tmp45__target = NULL; - gint _tmp46_ = 0; - gint _tmp47_ = 0; -#line 406 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp45_ = monitor; -#line 406 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp45__target = monitor_target; -#line 406 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp46_ = ctr; + _tmp24_ = video_table_get_all (_tmp23_); +#line 405 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp25_ = _tmp24_; +#line 405 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _database_table_unref0 (_tmp23_); +#line 405 "/home/jens/Source/shotwell/src/VideoSupport.vala" + all = _tmp25_; #line 406 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp47_ = count; + _tmp26_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); #line 406 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp45_ ((guint64) _tmp46_, (guint64) _tmp47_, TRUE, _tmp45__target); -#line 4521 "VideoSupport.c" - } -#line 392 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _g_object_unref0 (video); -#line 4525 "VideoSupport.c" - } - } - } + all_videos = _tmp26_; +#line 407 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp27_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); +#line 407 "/home/jens/Source/shotwell/src/VideoSupport.vala" + trashed_videos = _tmp27_; +#line 408 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp28_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); +#line 408 "/home/jens/Source/shotwell/src/VideoSupport.vala" + offline_videos = _tmp28_; +#line 409 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp29_ = all; #line 409 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp48_ = video_global; + _tmp30_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, GEE_TYPE_COLLECTION, GeeCollection)); #line 409 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp49_ = trashed_videos; + _tmp31_ = _tmp30_; #line 409 "/home/jens/Source/shotwell/src/VideoSupport.vala" - media_source_collection_add_many_to_trash (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, GEE_TYPE_COLLECTION, GeeCollection)); + count = _tmp31_; +#line 4418 "VideoSupport.c" + { + gint ctr = 0; +#line 410 "/home/jens/Source/shotwell/src/VideoSupport.vala" + ctr = 0; +#line 4423 "VideoSupport.c" + { + gboolean _tmp32_ = FALSE; +#line 410 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp32_ = TRUE; +#line 410 "/home/jens/Source/shotwell/src/VideoSupport.vala" + while (TRUE) { +#line 4430 "VideoSupport.c" + gint _tmp34_ = 0; + gint _tmp35_ = 0; + Video* video = NULL; + GeeArrayList* _tmp36_ = NULL; + gint _tmp37_ = 0; + gpointer _tmp38_ = NULL; + VideoRow* _tmp39_ = NULL; + Video* _tmp40_ = NULL; + Video* _tmp41_ = NULL; + gboolean _tmp42_ = FALSE; + Video* _tmp44_ = NULL; + gboolean _tmp45_ = FALSE; + ProgressMonitor _tmp54_ = NULL; + void* _tmp54__target = NULL; +#line 410 "/home/jens/Source/shotwell/src/VideoSupport.vala" + if (!_tmp32_) { +#line 4447 "VideoSupport.c" + gint _tmp33_ = 0; +#line 410 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp33_ = ctr; +#line 410 "/home/jens/Source/shotwell/src/VideoSupport.vala" + ctr = _tmp33_ + 1; +#line 4453 "VideoSupport.c" + } +#line 410 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp32_ = FALSE; #line 410 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp50_ = video_global; + _tmp34_ = ctr; #line 410 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp51_ = offline_videos; + _tmp35_ = count; #line 410 "/home/jens/Source/shotwell/src/VideoSupport.vala" - media_source_collection_add_many_to_offline (G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, GEE_TYPE_COLLECTION, GeeCollection)); + if (!(_tmp34_ < _tmp35_)) { +#line 410 "/home/jens/Source/shotwell/src/VideoSupport.vala" + break; +#line 4465 "VideoSupport.c" + } +#line 411 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp36_ = all; +#line 411 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp37_ = ctr; +#line 411 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp38_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp37_); #line 411 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp52_ = video_global; + _tmp39_ = (VideoRow*) _tmp38_; #line 411 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp53_ = all_videos; + _tmp40_ = video_new (_tmp39_); #line 411 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp54_ = data_collection_add_many (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, GEE_TYPE_COLLECTION, GeeCollection), NULL, NULL); + _tmp41_ = _tmp40_; #line 411 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _tmp55_ = _tmp54_; + _video_row_unref0 (_tmp39_); #line 411 "/home/jens/Source/shotwell/src/VideoSupport.vala" - _g_object_unref0 (_tmp55_); + video = _tmp41_; +#line 413 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp42_ = video_interpreter_state_changed; +#line 413 "/home/jens/Source/shotwell/src/VideoSupport.vala" + if (_tmp42_) { +#line 4487 "VideoSupport.c" + Video* _tmp43_ = NULL; +#line 414 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp43_ = video; +#line 414 "/home/jens/Source/shotwell/src/VideoSupport.vala" + video_set_is_interpretable (_tmp43_, FALSE); +#line 4493 "VideoSupport.c" + } +#line 416 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp44_ = video; +#line 416 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp45_ = media_source_is_trashed (G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, TYPE_MEDIA_SOURCE, MediaSource)); +#line 416 "/home/jens/Source/shotwell/src/VideoSupport.vala" + if (_tmp45_) { +#line 4501 "VideoSupport.c" + GeeArrayList* _tmp46_ = NULL; + Video* _tmp47_ = NULL; +#line 417 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp46_ = trashed_videos; +#line 417 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp47_ = video; +#line 417 "/home/jens/Source/shotwell/src/VideoSupport.vala" + gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp47_); +#line 4510 "VideoSupport.c" + } else { + Video* _tmp48_ = NULL; + gboolean _tmp49_ = FALSE; +#line 418 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp48_ = video; +#line 418 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp49_ = media_source_is_offline (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, TYPE_MEDIA_SOURCE, MediaSource)); +#line 418 "/home/jens/Source/shotwell/src/VideoSupport.vala" + if (_tmp49_) { +#line 4520 "VideoSupport.c" + GeeArrayList* _tmp50_ = NULL; + Video* _tmp51_ = NULL; +#line 419 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp50_ = offline_videos; +#line 419 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp51_ = video; +#line 419 "/home/jens/Source/shotwell/src/VideoSupport.vala" + gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp51_); +#line 4529 "VideoSupport.c" + } else { + GeeArrayList* _tmp52_ = NULL; + Video* _tmp53_ = NULL; +#line 421 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp52_ = all_videos; +#line 421 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp53_ = video; +#line 421 "/home/jens/Source/shotwell/src/VideoSupport.vala" + gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp53_); +#line 4539 "VideoSupport.c" + } + } +#line 423 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp54_ = monitor; +#line 423 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp54__target = monitor_target; +#line 423 "/home/jens/Source/shotwell/src/VideoSupport.vala" + if (_tmp54_ != NULL) { +#line 4548 "VideoSupport.c" + ProgressMonitor _tmp55_ = NULL; + void* _tmp55__target = NULL; + gint _tmp56_ = 0; + gint _tmp57_ = 0; +#line 424 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp55_ = monitor; +#line 424 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp55__target = monitor_target; +#line 424 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp56_ = ctr; +#line 424 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp57_ = count; +#line 424 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp55_ ((guint64) _tmp56_, (guint64) _tmp57_, TRUE, _tmp55__target); +#line 4563 "VideoSupport.c" + } +#line 410 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _g_object_unref0 (video); +#line 4567 "VideoSupport.c" + } + } + } +#line 427 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp58_ = video_global; +#line 427 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp59_ = trashed_videos; +#line 427 "/home/jens/Source/shotwell/src/VideoSupport.vala" + media_source_collection_add_many_to_trash (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, GEE_TYPE_COLLECTION, GeeCollection)); +#line 428 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp60_ = video_global; +#line 428 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp61_ = offline_videos; +#line 428 "/home/jens/Source/shotwell/src/VideoSupport.vala" + media_source_collection_add_many_to_offline (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, GEE_TYPE_COLLECTION, GeeCollection)); +#line 429 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp62_ = video_global; +#line 429 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp63_ = all_videos; +#line 429 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp64_ = data_collection_add_many (G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, GEE_TYPE_COLLECTION, GeeCollection), NULL, NULL); +#line 429 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _tmp65_ = _tmp64_; +#line 429 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _g_object_unref0 (_tmp65_); #line 360 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (offline_videos); #line 360 "/home/jens/Source/shotwell/src/VideoSupport.vala" @@ -4559,21 +4601,23 @@ void video_init (ProgressMonitor monitor, void* monitor_target) { #line 360 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (all); #line 360 "/home/jens/Source/shotwell/src/VideoSupport.vala" - fake_args = (_vala_array_free (fake_args, fake_args_length1, (GDestroyNotify) g_free), NULL); -#line 4561 "VideoSupport.c" + _g_object_unref0 (feature); +#line 360 "/home/jens/Source/shotwell/src/VideoSupport.vala" + _g_object_unref0 (registry); +#line 4605 "VideoSupport.c" } gboolean video_has_interpreter_state_changed (void) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 415 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 433 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = video_interpreter_state_changed; -#line 415 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 433 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp0_; -#line 415 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 433 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 4574 "VideoSupport.c" +#line 4618 "VideoSupport.c" } @@ -4581,39 +4625,39 @@ void video_notify_normal_thumbs_regenerated (void) { gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 419 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 437 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = video_normal_regen_complete; -#line 419 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 437 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp0_) { -#line 420 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 438 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 4588 "VideoSupport.c" +#line 4632 "VideoSupport.c" } -#line 422 "/home/jens/Source/shotwell/src/VideoSupport.vala" - g_message ("VideoSupport.vala:422: normal video thumbnail regeneration completed"); -#line 424 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 440 "/home/jens/Source/shotwell/src/VideoSupport.vala" + g_message ("VideoSupport.vala:440: normal video thumbnail regeneration completed"); +#line 442 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_normal_regen_complete = TRUE; -#line 425 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 443 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = video_normal_regen_complete; -#line 425 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 443 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp2_) { -#line 4598 "VideoSupport.c" +#line 4642 "VideoSupport.c" gboolean _tmp3_ = FALSE; -#line 425 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 443 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = video_offline_regen_complete; -#line 425 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 443 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _tmp3_; -#line 4604 "VideoSupport.c" +#line 4648 "VideoSupport.c" } else { -#line 425 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 443 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = FALSE; -#line 4608 "VideoSupport.c" +#line 4652 "VideoSupport.c" } -#line 425 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 443 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp1_) { -#line 426 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 444 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_save_interpreter_state (); -#line 4614 "VideoSupport.c" +#line 4658 "VideoSupport.c" } } @@ -4622,69 +4666,69 @@ void video_notify_offline_thumbs_regenerated (void) { gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 430 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 448 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = video_offline_regen_complete; -#line 430 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 448 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp0_) { -#line 431 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 449 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 4629 "VideoSupport.c" +#line 4673 "VideoSupport.c" } -#line 433 "/home/jens/Source/shotwell/src/VideoSupport.vala" - g_message ("VideoSupport.vala:433: offline video thumbnail regeneration completed"); -#line 435 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 451 "/home/jens/Source/shotwell/src/VideoSupport.vala" + g_message ("VideoSupport.vala:451: offline video thumbnail regeneration completed"); +#line 453 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_offline_regen_complete = TRUE; -#line 436 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 454 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = video_normal_regen_complete; -#line 436 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 454 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp2_) { -#line 4639 "VideoSupport.c" +#line 4683 "VideoSupport.c" gboolean _tmp3_ = FALSE; -#line 436 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 454 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = video_offline_regen_complete; -#line 436 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 454 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _tmp3_; -#line 4645 "VideoSupport.c" +#line 4689 "VideoSupport.c" } else { -#line 436 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 454 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = FALSE; -#line 4649 "VideoSupport.c" +#line 4693 "VideoSupport.c" } -#line 436 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 454 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp1_) { -#line 437 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 455 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_save_interpreter_state (); -#line 4655 "VideoSupport.c" +#line 4699 "VideoSupport.c" } } static void video_save_interpreter_state (void) { gboolean _tmp0_ = FALSE; -#line 441 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 459 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = video_interpreter_state_changed; -#line 441 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 459 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp0_) { -#line 4666 "VideoSupport.c" +#line 4710 "VideoSupport.c" ConfigFacade* _tmp1_ = NULL; ConfigFacade* _tmp2_ = NULL; gint _tmp3_ = 0; -#line 442 "/home/jens/Source/shotwell/src/VideoSupport.vala" - g_message ("VideoSupport.vala:442: saving video interpreter state to configuration" \ +#line 460 "/home/jens/Source/shotwell/src/VideoSupport.vala" + g_message ("VideoSupport.vala:460: saving video interpreter state to configuration" \ " system"); -#line 444 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 462 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = config_facade_get_instance (); -#line 444 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 462 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_; -#line 444 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 462 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = video_current_state; -#line 444 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 462 "/home/jens/Source/shotwell/src/VideoSupport.vala" configuration_facade_set_video_interpreter_state_cookie (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp3_); -#line 444 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 462 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp2_); -#line 445 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 463 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_interpreter_state_changed = FALSE; -#line 4684 "VideoSupport.c" +#line 4728 "VideoSupport.c" } } @@ -4719,27 +4763,27 @@ ExporterUI* video_export_many (GeeCollection* videos, ExporterCompletionCallback ExporterCompletionCallback _tmp51_ = NULL; void* _tmp51__target = NULL; GError * _inner_error_ = NULL; -#line 452 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 470 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (GEE_IS_COLLECTION (videos), NULL); -#line 454 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 472 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = videos; -#line 454 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 472 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = gee_collection_get_size (_tmp0_); -#line 454 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 472 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_; -#line 454 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 472 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp2_ == 0) { -#line 455 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 473 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = NULL; -#line 455 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 473 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 4733 "VideoSupport.c" +#line 4777 "VideoSupport.c" } -#line 458 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 476 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = export_in_place; -#line 458 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 476 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp3_) { -#line 4739 "VideoSupport.c" +#line 4783 "VideoSupport.c" ExporterUI* temp_exporter = NULL; GeeCollection* _tmp4_ = NULL; Scaling _tmp5_ = {0}; @@ -4751,47 +4795,47 @@ ExporterUI* video_export_many (GeeCollection* videos, ExporterCompletionCallback ExporterUI* _tmp11_ = NULL; ExporterCompletionCallback _tmp12_ = NULL; void* _tmp12__target = NULL; -#line 459 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = videos; -#line 459 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" scaling_for_original (&_tmp5_); -#line 459 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" export_format_parameters_unmodified (&_tmp6_); -#line 459 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = exporter_new_for_temp_file (_tmp4_, &_tmp5_, &_tmp6_); -#line 459 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = _tmp7_; -#line 459 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = exporter_ui_new (_tmp8_); -#line 459 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = _tmp9_; -#line 459 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp8_); -#line 459 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" temp_exporter = _tmp10_; -#line 461 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 479 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = temp_exporter; -#line 461 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 479 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = done; -#line 461 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 479 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12__target = done_target; -#line 461 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 479 "/home/jens/Source/shotwell/src/VideoSupport.vala" exporter_ui_export (_tmp11_, _tmp12_, _tmp12__target); -#line 462 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 480 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = temp_exporter; -#line 462 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 480 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 4781 "VideoSupport.c" +#line 4825 "VideoSupport.c" } -#line 466 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 484 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp13_ = videos; -#line 466 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 484 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp14_ = gee_collection_get_size (_tmp13_); -#line 466 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 484 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp15_ = _tmp14_; -#line 466 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 484 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp15_ == 1) { -#line 4791 "VideoSupport.c" +#line 4835 "VideoSupport.c" Video* video = NULL; GFile* save_as = NULL; Video* _tmp24_ = NULL; @@ -4800,22 +4844,22 @@ ExporterUI* video_export_many (GeeCollection* videos, ExporterCompletionCallback GFile* _tmp27_ = NULL; GFile* _tmp28_ = NULL; GFile* _tmp29_ = NULL; -#line 467 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 485 "/home/jens/Source/shotwell/src/VideoSupport.vala" video = NULL; -#line 4802 "VideoSupport.c" +#line 4846 "VideoSupport.c" { GeeIterator* _v_it = NULL; GeeCollection* _tmp16_ = NULL; GeeIterator* _tmp17_ = NULL; -#line 468 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp16_ = videos; -#line 468 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp17_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 468 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" _v_it = _tmp17_; -#line 468 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" while (TRUE) { -#line 4815 "VideoSupport.c" +#line 4859 "VideoSupport.c" GeeIterator* _tmp18_ = NULL; gboolean _tmp19_ = FALSE; Video* v = NULL; @@ -4823,67 +4867,67 @@ ExporterUI* video_export_many (GeeCollection* videos, ExporterCompletionCallback gpointer _tmp21_ = NULL; Video* _tmp22_ = NULL; Video* _tmp23_ = NULL; -#line 468 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp18_ = _v_it; -#line 468 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp19_ = gee_iterator_next (_tmp18_); -#line 468 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (!_tmp19_) { -#line 468 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" break; -#line 4831 "VideoSupport.c" +#line 4875 "VideoSupport.c" } -#line 468 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp20_ = _v_it; -#line 468 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp21_ = gee_iterator_get (_tmp20_); -#line 468 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" v = (Video*) _tmp21_; -#line 469 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 487 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp22_ = v; -#line 469 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 487 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp23_ = _g_object_ref0 (_tmp22_); -#line 469 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 487 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (video); -#line 469 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 487 "/home/jens/Source/shotwell/src/VideoSupport.vala" video = _tmp23_; -#line 470 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 488 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (v); -#line 470 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 488 "/home/jens/Source/shotwell/src/VideoSupport.vala" break; -#line 4851 "VideoSupport.c" +#line 4895 "VideoSupport.c" } -#line 468 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_v_it); -#line 4855 "VideoSupport.c" +#line 4899 "VideoSupport.c" } -#line 473 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 491 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp24_ = video; -#line 473 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 491 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp25_ = media_source_get_basename (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_MEDIA_SOURCE, MediaSource)); -#line 473 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 491 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp26_ = _tmp25_; -#line 473 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 491 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp27_ = export_ui_choose_file (_tmp26_); -#line 473 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 491 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp28_ = _tmp27_; -#line 473 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 491 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (_tmp26_); -#line 473 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 491 "/home/jens/Source/shotwell/src/VideoSupport.vala" save_as = _tmp28_; -#line 474 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 492 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp29_ = save_as; -#line 474 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 492 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp29_ == NULL) { -#line 475 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 493 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = NULL; -#line 475 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 493 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (save_as); -#line 475 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 493 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (video); -#line 475 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 493 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 4883 "VideoSupport.c" +#line 4927 "VideoSupport.c" } { AppWindow* _tmp30_ = NULL; @@ -4892,270 +4936,270 @@ ExporterUI* video_export_many (GeeCollection* videos, ExporterCompletionCallback GFile* _tmp33_ = NULL; AppWindow* _tmp34_ = NULL; AppWindow* _tmp35_ = NULL; -#line 478 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 496 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp30_ = app_window_get_instance (); -#line 478 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 496 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp31_ = _tmp30_; -#line 478 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 496 "/home/jens/Source/shotwell/src/VideoSupport.vala" page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, TYPE_PAGE_WINDOW, PageWindow)); -#line 478 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 496 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp31_); -#line 479 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 497 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp32_ = video; -#line 479 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 497 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp33_ = save_as; -#line 479 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 497 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_export (_tmp32_, _tmp33_, &_inner_error_); -#line 479 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 497 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4908 "VideoSupport.c" - goto __catch488_g_error; +#line 4952 "VideoSupport.c" + goto __catch501_g_error; } -#line 480 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 498 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp34_ = app_window_get_instance (); -#line 480 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 498 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp35_ = _tmp34_; -#line 480 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 498 "/home/jens/Source/shotwell/src/VideoSupport.vala" page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_PAGE_WINDOW, PageWindow)); -#line 480 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 498 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp35_); -#line 4919 "VideoSupport.c" +#line 4963 "VideoSupport.c" } - goto __finally488; - __catch488_g_error: + goto __finally501; + __catch501_g_error: { GError* err = NULL; AppWindow* _tmp36_ = NULL; AppWindow* _tmp37_ = NULL; GFile* _tmp38_ = NULL; -#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 495 "/home/jens/Source/shotwell/src/VideoSupport.vala" err = _inner_error_; -#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 495 "/home/jens/Source/shotwell/src/VideoSupport.vala" _inner_error_ = NULL; -#line 482 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 500 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp36_ = app_window_get_instance (); -#line 482 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 500 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp37_ = _tmp36_; -#line 482 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 500 "/home/jens/Source/shotwell/src/VideoSupport.vala" page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, TYPE_PAGE_WINDOW, PageWindow)); -#line 482 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 500 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp37_); -#line 483 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 501 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp38_ = save_as; -#line 483 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 501 "/home/jens/Source/shotwell/src/VideoSupport.vala" export_error_dialog (_tmp38_, FALSE); -#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 495 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (err); -#line 4946 "VideoSupport.c" +#line 4990 "VideoSupport.c" } - __finally488: -#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" + __finally501: +#line 495 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 495 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (save_as); -#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 495 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (video); -#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 495 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 495 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 477 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 495 "/home/jens/Source/shotwell/src/VideoSupport.vala" return NULL; -#line 4961 "VideoSupport.c" +#line 5005 "VideoSupport.c" } -#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 504 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = NULL; -#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 504 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (save_as); -#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 504 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (video); -#line 486 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 504 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 4971 "VideoSupport.c" +#line 5015 "VideoSupport.c" } -#line 490 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 508 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp39_ = _ ("Export Videos"); -#line 490 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 508 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp40_ = export_ui_choose_dir (_tmp39_); -#line 490 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 508 "/home/jens/Source/shotwell/src/VideoSupport.vala" export_dir = _tmp40_; -#line 491 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 509 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp41_ = export_dir; -#line 491 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 509 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp41_ == NULL) { -#line 492 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 510 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = NULL; -#line 492 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 510 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (export_dir); -#line 492 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 510 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 4989 "VideoSupport.c" +#line 5033 "VideoSupport.c" } -#line 494 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 512 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp42_ = videos; -#line 494 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 512 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp43_ = export_dir; -#line 494 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 512 "/home/jens/Source/shotwell/src/VideoSupport.vala" scaling_for_original (&_tmp44_); -#line 494 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 512 "/home/jens/Source/shotwell/src/VideoSupport.vala" export_format_parameters_unmodified (&_tmp45_); -#line 494 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 512 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp46_ = exporter_new (_tmp42_, _tmp43_, &_tmp44_, &_tmp45_, FALSE); -#line 494 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 512 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp47_ = _tmp46_; -#line 494 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 512 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp48_ = exporter_ui_new (_tmp47_); -#line 494 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 512 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp49_ = _tmp48_; -#line 494 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 512 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp47_); -#line 494 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 512 "/home/jens/Source/shotwell/src/VideoSupport.vala" exporter = _tmp49_; -#line 496 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 514 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp50_ = exporter; -#line 496 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 514 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp51_ = done; -#line 496 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 514 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp51__target = done_target; -#line 496 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 514 "/home/jens/Source/shotwell/src/VideoSupport.vala" exporter_ui_export (_tmp50_, _tmp51_, _tmp51__target); -#line 498 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 516 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = exporter; -#line 498 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 516 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (export_dir); -#line 498 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 516 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 5025 "VideoSupport.c" +#line 5069 "VideoSupport.c" } static void video_real_commit_backlinks (DataSource* base, SourceCollection* sources, const gchar* backlinks) { Video * self; GError * _inner_error_ = NULL; -#line 501 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 519 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 501 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 519 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail ((sources == NULL) || IS_SOURCE_COLLECTION (sources)); -#line 5036 "VideoSupport.c" +#line 5080 "VideoSupport.c" { VideoTable* _tmp0_ = NULL; VideoTable* _tmp1_ = NULL; VideoID _tmp2_ = {0}; const gchar* _tmp3_ = NULL; -#line 503 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 521 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = video_table_get_instance (); -#line 503 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 521 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _tmp0_; -#line 503 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 521 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_get_video_id (self, &_tmp2_); -#line 503 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 521 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = backlinks; -#line 503 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 521 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_table_update_backlinks (_tmp1_, &_tmp2_, _tmp3_, &_inner_error_); -#line 503 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 521 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp1_); -#line 503 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 521 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 503 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 521 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 5058 "VideoSupport.c" - goto __catch489_database_error; +#line 5102 "VideoSupport.c" + goto __catch502_database_error; } -#line 503 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 521 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 503 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 521 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 503 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 521 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 5067 "VideoSupport.c" +#line 5111 "VideoSupport.c" } { VideoRow* _tmp4_ = NULL; -#line 504 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 522 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 504 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 522 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 5075 "VideoSupport.c" +#line 5119 "VideoSupport.c" { VideoRow* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 505 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 523 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = self->priv->backing_row; -#line 505 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 523 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = backlinks; -#line 505 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 523 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = g_strdup (_tmp6_); -#line 505 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 523 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (_tmp5_->backlinks); -#line 505 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 523 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_->backlinks = _tmp7_; -#line 5090 "VideoSupport.c" +#line 5134 "VideoSupport.c" } - __finally490: + __finally503: { VideoRow* _tmp8_ = NULL; -#line 504 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 522 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = self->priv->backing_row; -#line 504 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 522 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 5099 "VideoSupport.c" +#line 5143 "VideoSupport.c" } -#line 504 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 522 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 504 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 522 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 5105 "VideoSupport.c" - goto __catch489_database_error; +#line 5149 "VideoSupport.c" + goto __catch502_database_error; } -#line 504 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 522 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 504 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 522 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 504 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 522 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 5114 "VideoSupport.c" +#line 5158 "VideoSupport.c" } } } - goto __finally489; - __catch489_database_error: + goto __finally502; + __catch502_database_error: { GError* err = NULL; gchar* _tmp9_ = NULL; gchar* _tmp10_ = NULL; GError* _tmp11_ = NULL; const gchar* _tmp12_ = NULL; -#line 502 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 520 "/home/jens/Source/shotwell/src/VideoSupport.vala" err = _inner_error_; -#line 502 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 520 "/home/jens/Source/shotwell/src/VideoSupport.vala" _inner_error_ = NULL; -#line 508 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 526 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject)); -#line 508 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 526 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = _tmp9_; -#line 508 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 526 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = err; -#line 508 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 526 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = _tmp11_->message; -#line 508 "/home/jens/Source/shotwell/src/VideoSupport.vala" - g_warning ("VideoSupport.vala:508: Unable to update link state for %s: %s", _tmp10_, _tmp12_); -#line 508 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 526 "/home/jens/Source/shotwell/src/VideoSupport.vala" + g_warning ("VideoSupport.vala:526: Unable to update link state for %s: %s", _tmp10_, _tmp12_); +#line 526 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (_tmp10_); -#line 502 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 520 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (err); -#line 5144 "VideoSupport.c" +#line 5188 "VideoSupport.c" } - __finally489: -#line 502 "/home/jens/Source/shotwell/src/VideoSupport.vala" + __finally502: +#line 520 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 502 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 520 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 502 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 520 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 502 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 520 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 5155 "VideoSupport.c" +#line 5199 "VideoSupport.c" } } @@ -5164,18 +5208,18 @@ static gboolean video_real_set_event_id (MediaSource* base, EventID* event_id) { Video * self; gboolean result = FALSE; GError * _inner_error_ = NULL; -#line 512 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 530 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 512 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 530 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (event_id != NULL, FALSE); -#line 5168 "VideoSupport.c" +#line 5212 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 513 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 531 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 513 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 531 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 5175 "VideoSupport.c" +#line 5219 "VideoSupport.c" { gboolean committed = FALSE; VideoTable* _tmp1_ = NULL; @@ -5186,70 +5230,70 @@ static gboolean video_real_set_event_id (MediaSource* base, EventID* event_id) { gboolean _tmp6_ = FALSE; gboolean _tmp7_ = FALSE; gboolean _tmp8_ = FALSE; -#line 514 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 532 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = video_table_get_instance (); -#line 514 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 532 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_; -#line 514 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 532 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 514 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 532 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = _tmp3_->video_id; -#line 514 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 532 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = *event_id; -#line 514 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 532 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = video_table_set_event (_tmp2_, &_tmp4_, &_tmp5_); -#line 514 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 532 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = _tmp6_; -#line 514 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 532 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp2_); -#line 514 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 532 "/home/jens/Source/shotwell/src/VideoSupport.vala" committed = _tmp7_; -#line 516 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 534 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = committed; -#line 516 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 534 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp8_) { -#line 5208 "VideoSupport.c" +#line 5252 "VideoSupport.c" VideoRow* _tmp9_ = NULL; EventID _tmp10_ = {0}; -#line 517 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 535 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = self->priv->backing_row; -#line 517 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 535 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = *event_id; -#line 517 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 535 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_->event_id = _tmp10_; -#line 5217 "VideoSupport.c" +#line 5261 "VideoSupport.c" } -#line 519 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = committed; -#line 5221 "VideoSupport.c" +#line 5265 "VideoSupport.c" { VideoRow* _tmp11_ = NULL; -#line 513 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 531 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = self->priv->backing_row; -#line 513 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 531 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 5228 "VideoSupport.c" +#line 5272 "VideoSupport.c" } -#line 519 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 5232 "VideoSupport.c" +#line 5276 "VideoSupport.c" } - __finally491: + __finally504: { VideoRow* _tmp12_ = NULL; -#line 513 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 531 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = self->priv->backing_row; -#line 513 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 531 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 5241 "VideoSupport.c" +#line 5285 "VideoSupport.c" } -#line 513 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 531 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 513 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 531 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 513 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 531 "/home/jens/Source/shotwell/src/VideoSupport.vala" return FALSE; -#line 5249 "VideoSupport.c" +#line 5293 "VideoSupport.c" } } @@ -5264,44 +5308,44 @@ gboolean video_is_duplicate (GFile* file, const gchar* full_md5) { const gchar* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; gboolean _tmp8_ = FALSE; -#line 523 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 541 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail ((file == NULL) || G_IS_FILE (file), FALSE); -#line 524 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 542 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = file; -#line 524 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 542 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp1_ != NULL) { -#line 524 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 542 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = TRUE; -#line 5272 "VideoSupport.c" +#line 5316 "VideoSupport.c" } else { const gchar* _tmp2_ = NULL; -#line 524 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 542 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = full_md5; -#line 524 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 542 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = _tmp2_ != NULL; -#line 5279 "VideoSupport.c" +#line 5323 "VideoSupport.c" } -#line 524 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 542 "/home/jens/Source/shotwell/src/VideoSupport.vala" _vala_assert (_tmp0_, "file != null || full_md5 != null"); -#line 526 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 544 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = video_table_get_instance (); -#line 526 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 544 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = _tmp3_; -#line 526 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 544 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = file; -#line 526 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 544 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = full_md5; -#line 526 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 544 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = video_table_has_duplicate (_tmp4_, _tmp5_, _tmp6_); -#line 526 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 544 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = _tmp7_; -#line 526 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 544 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp4_); -#line 526 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 544 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp8_; -#line 526 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 544 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 5301 "VideoSupport.c" +#line 5345 "VideoSupport.c" } @@ -5312,13 +5356,13 @@ ImportResult video_import_create (VideoImportParams* params, Video** video) { VideoRow* _tmp9_ = NULL; Video* _tmp10_ = NULL; GError * _inner_error_ = NULL; -#line 532 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 550 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_VIDEO_IMPORT_PARAMS (params), 0); -#line 533 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 551 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_vala_video); -#line 533 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 551 "/home/jens/Source/shotwell/src/VideoSupport.vala" _vala_video = NULL; -#line 5318 "VideoSupport.c" +#line 5362 "VideoSupport.c" { VideoID _tmp0_ = {0}; VideoTable* _tmp1_ = NULL; @@ -5328,188 +5372,188 @@ ImportResult video_import_create (VideoImportParams* params, Video** video) { VideoID _tmp5_ = {0}; VideoID _tmp6_ = {0}; gboolean _tmp7_ = FALSE; -#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 555 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = video_table_get_instance (); -#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 555 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_; -#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 555 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = params; -#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 555 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = _tmp3_->row; -#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 555 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_table_add (_tmp2_, _tmp4_, &_tmp5_, &_inner_error_); -#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 555 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = _tmp5_; -#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 555 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp2_); -#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 555 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = _tmp6_; -#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 555 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 555 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 5348 "VideoSupport.c" - goto __catch492_database_error; +#line 5392 "VideoSupport.c" + goto __catch505_database_error; } -#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 555 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 555 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 555 "/home/jens/Source/shotwell/src/VideoSupport.vala" return 0; -#line 5357 "VideoSupport.c" +#line 5401 "VideoSupport.c" } -#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 555 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = video_id_is_invalid (&_tmp0_); -#line 537 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 555 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp7_) { -#line 538 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 556 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = IMPORT_RESULT_DATABASE_ERROR; -#line 538 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 556 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (video) { -#line 538 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 556 "/home/jens/Source/shotwell/src/VideoSupport.vala" *video = _vala_video; -#line 5369 "VideoSupport.c" +#line 5413 "VideoSupport.c" } else { -#line 538 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 556 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_vala_video); -#line 5373 "VideoSupport.c" +#line 5417 "VideoSupport.c" } -#line 538 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 556 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 5377 "VideoSupport.c" +#line 5421 "VideoSupport.c" } } - goto __finally492; - __catch492_database_error: + goto __finally505; + __catch505_database_error: { GError* err = NULL; -#line 536 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 554 "/home/jens/Source/shotwell/src/VideoSupport.vala" err = _inner_error_; -#line 536 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 554 "/home/jens/Source/shotwell/src/VideoSupport.vala" _inner_error_ = NULL; -#line 540 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 558 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = IMPORT_RESULT_DATABASE_ERROR; -#line 540 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 558 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (err); -#line 540 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 558 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (video) { -#line 540 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 558 "/home/jens/Source/shotwell/src/VideoSupport.vala" *video = _vala_video; -#line 5396 "VideoSupport.c" +#line 5440 "VideoSupport.c" } else { -#line 540 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 558 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_vala_video); -#line 5400 "VideoSupport.c" +#line 5444 "VideoSupport.c" } -#line 540 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 558 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 5404 "VideoSupport.c" +#line 5448 "VideoSupport.c" } - __finally492: -#line 536 "/home/jens/Source/shotwell/src/VideoSupport.vala" + __finally505: +#line 554 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 536 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 554 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 536 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 554 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 536 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 554 "/home/jens/Source/shotwell/src/VideoSupport.vala" return 0; -#line 5415 "VideoSupport.c" +#line 5459 "VideoSupport.c" } -#line 544 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 562 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = params; -#line 544 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 562 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = _tmp8_->row; -#line 544 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 562 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = video_new (_tmp9_); -#line 544 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 562 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_vala_video); -#line 544 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 562 "/home/jens/Source/shotwell/src/VideoSupport.vala" _vala_video = _tmp10_; -#line 546 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 564 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = IMPORT_RESULT_SUCCESS; -#line 546 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 564 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (video) { -#line 546 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 564 "/home/jens/Source/shotwell/src/VideoSupport.vala" *video = _vala_video; -#line 5433 "VideoSupport.c" +#line 5477 "VideoSupport.c" } else { -#line 546 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 564 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_vala_video); -#line 5437 "VideoSupport.c" +#line 5481 "VideoSupport.c" } -#line 546 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 564 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 5441 "VideoSupport.c" +#line 5485 "VideoSupport.c" } void video_import_failed (Video* video) { GError * _inner_error_ = NULL; -#line 549 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 567 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (IS_VIDEO (video)); -#line 5449 "VideoSupport.c" +#line 5493 "VideoSupport.c" { VideoTable* _tmp0_ = NULL; VideoTable* _tmp1_ = NULL; Video* _tmp2_ = NULL; VideoID _tmp3_ = {0}; -#line 551 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 569 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = video_table_get_instance (); -#line 551 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 569 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _tmp0_; -#line 551 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 569 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = video; -#line 551 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 569 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_get_video_id (_tmp2_, &_tmp3_); -#line 551 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 569 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_table_remove (_tmp1_, &_tmp3_, &_inner_error_); -#line 551 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 569 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp1_); -#line 551 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 569 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 551 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 569 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 5471 "VideoSupport.c" - goto __catch493_database_error; +#line 5515 "VideoSupport.c" + goto __catch506_database_error; } -#line 551 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 569 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 551 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 569 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 551 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 569 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 5480 "VideoSupport.c" +#line 5524 "VideoSupport.c" } } - goto __finally493; - __catch493_database_error: + goto __finally506; + __catch506_database_error: { GError* err = NULL; GError* _tmp4_ = NULL; -#line 550 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" err = _inner_error_; -#line 550 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" _inner_error_ = NULL; -#line 553 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 571 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = err; -#line 553 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 571 "/home/jens/Source/shotwell/src/VideoSupport.vala" app_window_database_error (_tmp4_); -#line 550 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (err); -#line 5498 "VideoSupport.c" +#line 5542 "VideoSupport.c" } - __finally493: -#line 550 "/home/jens/Source/shotwell/src/VideoSupport.vala" + __finally506: +#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 550 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 550 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 550 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 5509 "VideoSupport.c" +#line 5553 "VideoSupport.c" } } @@ -5524,24 +5568,24 @@ static BackingFileState** video_real_get_backing_files_state (MediaSource* base, BackingFileState** _tmp13_ = NULL; gint _tmp13__length1 = 0; GError * _inner_error_ = NULL; -#line 557 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 575 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 558 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 576 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = g_new0 (BackingFileState*, 1 + 1); -#line 558 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 576 "/home/jens/Source/shotwell/src/VideoSupport.vala" backing = _tmp0_; -#line 558 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 576 "/home/jens/Source/shotwell/src/VideoSupport.vala" backing_length1 = 1; -#line 558 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 576 "/home/jens/Source/shotwell/src/VideoSupport.vala" _backing_size_ = backing_length1; -#line 5534 "VideoSupport.c" +#line 5578 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; -#line 559 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 577 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 559 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 577 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 5541 "VideoSupport.c" +#line 5585 "VideoSupport.c" { VideoRow* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; @@ -5553,69 +5597,69 @@ static BackingFileState** video_real_get_backing_files_state (MediaSource* base, const gchar* _tmp9_ = NULL; BackingFileState* _tmp10_ = NULL; BackingFileState* _tmp11_ = NULL; -#line 560 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = self->priv->backing_row; -#line 560 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = _tmp2_->filepath; -#line 560 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 560 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = _tmp4_->filesize; -#line 560 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = self->priv->backing_row; -#line 560 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = _tmp6_->timestamp; -#line 560 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = self->priv->backing_row; -#line 560 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = _tmp8_->md5; -#line 560 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = backing_file_state_new (_tmp3_, _tmp5_, _tmp7_, _tmp9_); -#line 560 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" _backing_file_state_unref0 (backing[0]); -#line 560 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" backing[0] = _tmp10_; -#line 560 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = backing[0]; -#line 5577 "VideoSupport.c" +#line 5621 "VideoSupport.c" } - __finally494: + __finally507: { VideoRow* _tmp12_ = NULL; -#line 559 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 577 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = self->priv->backing_row; -#line 559 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 577 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 5586 "VideoSupport.c" +#line 5630 "VideoSupport.c" } -#line 559 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 577 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 559 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 577 "/home/jens/Source/shotwell/src/VideoSupport.vala" backing = (_vala_array_free (backing, backing_length1, (GDestroyNotify) backing_file_state_unref), NULL); -#line 559 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 577 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 559 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 577 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 559 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 577 "/home/jens/Source/shotwell/src/VideoSupport.vala" return NULL; -#line 5598 "VideoSupport.c" +#line 5642 "VideoSupport.c" } } -#line 564 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 582 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp13_ = backing; -#line 564 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 582 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp13__length1 = backing_length1; -#line 564 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 582 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (result_length1) { -#line 564 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 582 "/home/jens/Source/shotwell/src/VideoSupport.vala" *result_length1 = _tmp13__length1; -#line 5609 "VideoSupport.c" +#line 5653 "VideoSupport.c" } -#line 564 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 582 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp13_; -#line 564 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 582 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 5615 "VideoSupport.c" +#line 5659 "VideoSupport.c" } @@ -5627,33 +5671,33 @@ static GdkPixbuf* video_real_get_thumbnail (ThumbnailSource* base, gint scale, G GdkPixbuf* _tmp2_ = NULL; GdkPixbuf* _tmp3_ = NULL; GError * _inner_error_ = NULL; -#line 567 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 585 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 586 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = scale; -#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 586 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = thumbnail_cache_fetch (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), _tmp1_, &_inner_error_); -#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 586 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = _tmp2_; -#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 586 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 586 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_propagate_error (error, _inner_error_); -#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 586 "/home/jens/Source/shotwell/src/VideoSupport.vala" return NULL; -#line 5641 "VideoSupport.c" +#line 5685 "VideoSupport.c" } -#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 586 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = _tmp0_; -#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 586 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = NULL; -#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 586 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp3_; -#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 586 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp0_); -#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 586 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 5653 "VideoSupport.c" +#line 5697 "VideoSupport.c" } @@ -5661,57 +5705,57 @@ static gchar* video_real_get_master_md5 (MediaSource* base) { Video * self; gchar* result = NULL; GError * _inner_error_ = NULL; -#line 571 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 589 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 5663 "VideoSupport.c" +#line 5707 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 572 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 590 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 572 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 590 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 5670 "VideoSupport.c" +#line 5714 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 573 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 591 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 573 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 591 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->md5; -#line 573 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 591 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = g_strdup (_tmp2_); -#line 573 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 591 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp3_; -#line 5683 "VideoSupport.c" +#line 5727 "VideoSupport.c" { VideoRow* _tmp4_ = NULL; -#line 572 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 590 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 572 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 590 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 5690 "VideoSupport.c" +#line 5734 "VideoSupport.c" } -#line 573 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 591 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 5694 "VideoSupport.c" +#line 5738 "VideoSupport.c" } - __finally495: + __finally508: { VideoRow* _tmp5_ = NULL; -#line 572 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 590 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = self->priv->backing_row; -#line 572 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 590 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 5703 "VideoSupport.c" +#line 5747 "VideoSupport.c" } -#line 572 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 590 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 572 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 590 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 572 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 590 "/home/jens/Source/shotwell/src/VideoSupport.vala" return NULL; -#line 5711 "VideoSupport.c" +#line 5755 "VideoSupport.c" } } @@ -5723,31 +5767,31 @@ static GdkPixbuf* video_real_get_preview_pixbuf (MediaSource* base, Scaling* sca GdkPixbuf* _tmp0_ = NULL; GdkPixbuf* _tmp1_ = NULL; GError * _inner_error_ = NULL; -#line 577 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 595 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 577 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 595 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (scaling != NULL, NULL); -#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 596 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = thumbnail_source_get_thumbnail (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), (gint) THUMBNAIL_CACHE_SIZE_BIG, &_inner_error_); -#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 596 "/home/jens/Source/shotwell/src/VideoSupport.vala" pixbuf = _tmp0_; -#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 596 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 596 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_propagate_error (error, _inner_error_); -#line 578 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 596 "/home/jens/Source/shotwell/src/VideoSupport.vala" return NULL; -#line 5737 "VideoSupport.c" +#line 5781 "VideoSupport.c" } -#line 580 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 598 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = scaling_perform_on_pixbuf (scaling, pixbuf, GDK_INTERP_NEAREST, TRUE); -#line 580 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 598 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp1_; -#line 580 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 598 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (pixbuf); -#line 580 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 598 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 5747 "VideoSupport.c" +#line 5791 "VideoSupport.c" } @@ -5764,69 +5808,69 @@ static GdkPixbuf* video_real_create_thumbnail (ThumbnailSource* base, gint scale GdkPixbuf* _tmp5_ = NULL; GdkPixbuf* _tmp6_ = NULL; GdkPixbuf* _tmp7_ = NULL; -#line 583 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 601 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 584 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 602 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = media_source_get_file (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource)); -#line 584 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 602 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _tmp0_; -#line 584 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 602 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = video_reader_new (_tmp1_); -#line 584 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 602 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = _tmp2_; -#line 584 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 602 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp1_); -#line 584 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 602 "/home/jens/Source/shotwell/src/VideoSupport.vala" reader = _tmp3_; -#line 585 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 603 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = reader; -#line 585 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 603 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = video_reader_read_preview_frame (_tmp4_); -#line 585 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 603 "/home/jens/Source/shotwell/src/VideoSupport.vala" frame = _tmp5_; -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = frame; -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp7_ != NULL) { -#line 5788 "VideoSupport.c" +#line 5832 "VideoSupport.c" GdkPixbuf* _tmp8_ = NULL; GdkPixbuf* _tmp9_ = NULL; -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = frame; -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = _g_object_ref0 (_tmp8_); -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp6_); -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = _tmp9_; -#line 5799 "VideoSupport.c" +#line 5843 "VideoSupport.c" } else { GdkPixbuf* _tmp10_ = NULL; GdkPixbuf* _tmp11_ = NULL; GdkPixbuf* _tmp12_ = NULL; -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = resources_get_noninterpretable_badge_pixbuf (); -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = _tmp10_; -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = gdk_pixbuf_copy (_tmp11_); -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp6_); -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = _tmp12_; -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp11_); -#line 5816 "VideoSupport.c" +#line 5860 "VideoSupport.c" } -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp6_; -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (frame); -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" _video_reader_unref0 (reader); -#line 587 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 5826 "VideoSupport.c" +#line 5870 "VideoSupport.c" } @@ -5834,15 +5878,15 @@ static gchar* video_real_get_typename (DataSource* base) { Video * self; gchar* result = NULL; gchar* _tmp0_ = NULL; -#line 590 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 608 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 591 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 609 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = g_strdup (VIDEO_TYPENAME); -#line 591 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 609 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp0_; -#line 591 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 609 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 5842 "VideoSupport.c" +#line 5886 "VideoSupport.c" } @@ -5851,71 +5895,71 @@ static gint64 video_real_get_instance_id (DataSource* base) { gint64 result = 0LL; VideoID _tmp0_ = {0}; gint64 _tmp1_ = 0LL; -#line 594 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 612 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 595 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 613 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_get_video_id (self, &_tmp0_); -#line 595 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 613 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _tmp0_.id; -#line 595 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 613 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp1_; -#line 595 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 613 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 5861 "VideoSupport.c" +#line 5905 "VideoSupport.c" } static void video_real_get_import_id (MediaSource* base, ImportID* result) { Video * self; GError * _inner_error_ = NULL; -#line 598 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 616 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 5870 "VideoSupport.c" +#line 5914 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 599 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 599 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 5877 "VideoSupport.c" +#line 5921 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; ImportID _tmp2_ = {0}; -#line 600 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 618 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 600 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 618 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->import_id; -#line 600 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 618 "/home/jens/Source/shotwell/src/VideoSupport.vala" *result = _tmp2_; -#line 5887 "VideoSupport.c" +#line 5931 "VideoSupport.c" { VideoRow* _tmp3_ = NULL; -#line 599 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 599 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 5894 "VideoSupport.c" +#line 5938 "VideoSupport.c" } -#line 600 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 618 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 5898 "VideoSupport.c" +#line 5942 "VideoSupport.c" } - __finally496: + __finally509: { VideoRow* _tmp4_ = NULL; -#line 599 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 599 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 5907 "VideoSupport.c" +#line 5951 "VideoSupport.c" } -#line 599 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 599 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 599 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 5915 "VideoSupport.c" +#line 5959 "VideoSupport.c" } } @@ -5924,15 +5968,15 @@ static PhotoFileFormat video_real_get_preferred_thumbnail_format (ThumbnailSourc Video * self; PhotoFileFormat result = 0; PhotoFileFormat _tmp0_ = 0; -#line 604 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 622 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 623 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = photo_file_format_get_system_default_format (); -#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 623 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp0_; -#line 605 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 623 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 5932 "VideoSupport.c" +#line 5976 "VideoSupport.c" } @@ -5940,57 +5984,57 @@ static gchar* video_real_get_title (MediaSource* base) { Video * self; gchar* result = NULL; GError * _inner_error_ = NULL; -#line 608 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 626 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 5942 "VideoSupport.c" +#line 5986 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 609 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 627 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 609 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 627 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 5949 "VideoSupport.c" +#line 5993 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 610 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 628 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 610 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 628 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->title; -#line 610 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 628 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = g_strdup (_tmp2_); -#line 610 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 628 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp3_; -#line 5962 "VideoSupport.c" +#line 6006 "VideoSupport.c" { VideoRow* _tmp4_ = NULL; -#line 609 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 627 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 609 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 627 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 5969 "VideoSupport.c" +#line 6013 "VideoSupport.c" } -#line 610 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 628 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 5973 "VideoSupport.c" +#line 6017 "VideoSupport.c" } - __finally497: + __finally510: { VideoRow* _tmp5_ = NULL; -#line 609 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 627 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = self->priv->backing_row; -#line 609 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 627 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 5982 "VideoSupport.c" +#line 6026 "VideoSupport.c" } -#line 609 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 627 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 609 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 627 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 609 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 627 "/home/jens/Source/shotwell/src/VideoSupport.vala" return NULL; -#line 5990 "VideoSupport.c" +#line 6034 "VideoSupport.c" } } @@ -6003,22 +6047,22 @@ static void video_real_set_title (MediaSource* base, const gchar* title) { Alteration* _tmp20_ = NULL; Alteration* _tmp21_ = NULL; GError * _inner_error_ = NULL; -#line 614 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 632 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 615 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 633 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = title; -#line 615 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 633 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = media_source_prep_title (_tmp0_); -#line 615 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 633 "/home/jens/Source/shotwell/src/VideoSupport.vala" new_title = _tmp1_; -#line 6011 "VideoSupport.c" +#line 6055 "VideoSupport.c" { VideoRow* _tmp2_ = NULL; -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = self->priv->backing_row; -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 6018 "VideoSupport.c" +#line 6062 "VideoSupport.c" { VideoRow* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; @@ -6026,28 +6070,28 @@ static void video_real_set_title (MediaSource* base, const gchar* title) { VideoRow* _tmp16_ = NULL; const gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; -#line 618 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 636 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 618 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 636 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = _tmp3_->title; -#line 618 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 636 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = new_title; -#line 618 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 636 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (g_strcmp0 (_tmp4_, _tmp5_) == 0) { -#line 6034 "VideoSupport.c" +#line 6078 "VideoSupport.c" { VideoRow* _tmp6_ = NULL; -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = self->priv->backing_row; -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6041 "VideoSupport.c" +#line 6085 "VideoSupport.c" } -#line 619 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 637 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_title); -#line 619 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 637 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 6047 "VideoSupport.c" +#line 6091 "VideoSupport.c" } { VideoTable* _tmp7_ = NULL; @@ -6055,143 +6099,143 @@ static void video_real_set_title (MediaSource* base, const gchar* title) { VideoRow* _tmp9_ = NULL; VideoID _tmp10_ = {0}; const gchar* _tmp11_ = NULL; -#line 622 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 640 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = video_table_get_instance (); -#line 622 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 640 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = _tmp7_; -#line 622 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 640 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = self->priv->backing_row; -#line 622 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 640 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = _tmp9_->video_id; -#line 622 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 640 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = new_title; -#line 622 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 640 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_table_set_title (_tmp8_, &_tmp10_, _tmp11_, &_inner_error_); -#line 622 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 640 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp8_); -#line 622 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 640 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 622 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 640 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 6073 "VideoSupport.c" - goto __catch499_database_error; +#line 6117 "VideoSupport.c" + goto __catch512_database_error; } { VideoRow* _tmp12_ = NULL; -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = self->priv->backing_row; -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6082 "VideoSupport.c" +#line 6126 "VideoSupport.c" } -#line 622 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 640 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_title); -#line 622 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 640 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 622 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 640 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 622 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 640 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 6092 "VideoSupport.c" +#line 6136 "VideoSupport.c" } } - goto __finally499; - __catch499_database_error: + goto __finally512; + __catch512_database_error: { GError* e = NULL; GError* _tmp13_ = NULL; -#line 621 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 639 "/home/jens/Source/shotwell/src/VideoSupport.vala" e = _inner_error_; -#line 621 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 639 "/home/jens/Source/shotwell/src/VideoSupport.vala" _inner_error_ = NULL; -#line 624 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 642 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp13_ = e; -#line 624 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 642 "/home/jens/Source/shotwell/src/VideoSupport.vala" app_window_database_error (_tmp13_); -#line 625 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 643 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (e); -#line 6110 "VideoSupport.c" +#line 6154 "VideoSupport.c" { VideoRow* _tmp14_ = NULL; -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp14_ = self->priv->backing_row; -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6117 "VideoSupport.c" +#line 6161 "VideoSupport.c" } -#line 625 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 643 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_title); -#line 625 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 643 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 6123 "VideoSupport.c" +#line 6167 "VideoSupport.c" } - __finally499: -#line 621 "/home/jens/Source/shotwell/src/VideoSupport.vala" + __finally512: +#line 639 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6128 "VideoSupport.c" +#line 6172 "VideoSupport.c" { VideoRow* _tmp15_ = NULL; -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp15_ = self->priv->backing_row; -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6135 "VideoSupport.c" +#line 6179 "VideoSupport.c" } -#line 621 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 639 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_title); -#line 621 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 639 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 621 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 639 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 621 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 639 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 6145 "VideoSupport.c" +#line 6189 "VideoSupport.c" } -#line 629 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 647 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp16_ = self->priv->backing_row; -#line 629 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 647 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp17_ = new_title; -#line 629 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 647 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp18_ = g_strdup (_tmp17_); -#line 629 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 647 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (_tmp16_->title); -#line 629 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 647 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp16_->title = _tmp18_; -#line 6157 "VideoSupport.c" +#line 6201 "VideoSupport.c" } - __finally498: + __finally511: { VideoRow* _tmp19_ = NULL; -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp19_ = self->priv->backing_row; -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6166 "VideoSupport.c" +#line 6210 "VideoSupport.c" } -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_title); -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 617 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 6178 "VideoSupport.c" +#line 6222 "VideoSupport.c" } } -#line 632 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 650 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp20_ = alteration_new ("metadata", "name"); -#line 632 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 650 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp21_ = _tmp20_; -#line 632 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 650 "/home/jens/Source/shotwell/src/VideoSupport.vala" data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp21_); -#line 632 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 650 "/home/jens/Source/shotwell/src/VideoSupport.vala" _alteration_unref0 (_tmp21_); -#line 614 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 632 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_title); -#line 6191 "VideoSupport.c" +#line 6235 "VideoSupport.c" } @@ -6199,57 +6243,57 @@ static gchar* video_real_get_comment (MediaSource* base) { Video * self; gchar* result = NULL; GError * _inner_error_ = NULL; -#line 635 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 653 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 6201 "VideoSupport.c" +#line 6245 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 636 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 654 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 636 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 654 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 6208 "VideoSupport.c" +#line 6252 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 637 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 655 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 637 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 655 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->comment; -#line 637 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 655 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = g_strdup (_tmp2_); -#line 637 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 655 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp3_; -#line 6221 "VideoSupport.c" +#line 6265 "VideoSupport.c" { VideoRow* _tmp4_ = NULL; -#line 636 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 654 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 636 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 654 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6228 "VideoSupport.c" +#line 6272 "VideoSupport.c" } -#line 637 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 655 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 6232 "VideoSupport.c" +#line 6276 "VideoSupport.c" } - __finally500: + __finally513: { VideoRow* _tmp5_ = NULL; -#line 636 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 654 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = self->priv->backing_row; -#line 636 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 654 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6241 "VideoSupport.c" +#line 6285 "VideoSupport.c" } -#line 636 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 654 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 636 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 654 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 636 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 654 "/home/jens/Source/shotwell/src/VideoSupport.vala" return NULL; -#line 6249 "VideoSupport.c" +#line 6293 "VideoSupport.c" } } @@ -6263,22 +6307,22 @@ static gboolean video_real_set_comment (MediaSource* base, const gchar* comment) Alteration* _tmp20_ = NULL; Alteration* _tmp21_ = NULL; GError * _inner_error_ = NULL; -#line 641 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 659 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 642 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 660 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = comment; -#line 642 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 660 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = media_source_prep_title (_tmp0_); -#line 642 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 660 "/home/jens/Source/shotwell/src/VideoSupport.vala" new_comment = _tmp1_; -#line 6271 "VideoSupport.c" +#line 6315 "VideoSupport.c" { VideoRow* _tmp2_ = NULL; -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = self->priv->backing_row; -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 6278 "VideoSupport.c" +#line 6322 "VideoSupport.c" { VideoRow* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; @@ -6286,30 +6330,30 @@ static gboolean video_real_set_comment (MediaSource* base, const gchar* comment) VideoRow* _tmp16_ = NULL; const gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; -#line 645 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 663 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 645 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 663 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = _tmp3_->comment; -#line 645 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 663 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = new_comment; -#line 645 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 663 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (g_strcmp0 (_tmp4_, _tmp5_) == 0) { -#line 646 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 664 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = TRUE; -#line 6296 "VideoSupport.c" +#line 6340 "VideoSupport.c" { VideoRow* _tmp6_ = NULL; -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = self->priv->backing_row; -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6303 "VideoSupport.c" +#line 6347 "VideoSupport.c" } -#line 646 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 664 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_comment); -#line 646 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 664 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 6309 "VideoSupport.c" +#line 6353 "VideoSupport.c" } { VideoTable* _tmp7_ = NULL; @@ -6317,149 +6361,149 @@ static gboolean video_real_set_comment (MediaSource* base, const gchar* comment) VideoRow* _tmp9_ = NULL; VideoID _tmp10_ = {0}; const gchar* _tmp11_ = NULL; -#line 649 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = video_table_get_instance (); -#line 649 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = _tmp7_; -#line 649 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = self->priv->backing_row; -#line 649 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = _tmp9_->video_id; -#line 649 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = new_comment; -#line 649 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_table_set_comment (_tmp8_, &_tmp10_, _tmp11_, &_inner_error_); -#line 649 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp8_); -#line 649 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 649 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 6335 "VideoSupport.c" - goto __catch502_database_error; +#line 6379 "VideoSupport.c" + goto __catch515_database_error; } { VideoRow* _tmp12_ = NULL; -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = self->priv->backing_row; -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6344 "VideoSupport.c" +#line 6388 "VideoSupport.c" } -#line 649 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_comment); -#line 649 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 649 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 649 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" return FALSE; -#line 6354 "VideoSupport.c" +#line 6398 "VideoSupport.c" } } - goto __finally502; - __catch502_database_error: + goto __finally515; + __catch515_database_error: { GError* e = NULL; GError* _tmp13_ = NULL; -#line 648 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" e = _inner_error_; -#line 648 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" _inner_error_ = NULL; -#line 651 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 669 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp13_ = e; -#line 651 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 669 "/home/jens/Source/shotwell/src/VideoSupport.vala" app_window_database_error (_tmp13_); -#line 652 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 670 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = FALSE; -#line 652 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 670 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (e); -#line 6374 "VideoSupport.c" +#line 6418 "VideoSupport.c" { VideoRow* _tmp14_ = NULL; -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp14_ = self->priv->backing_row; -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6381 "VideoSupport.c" +#line 6425 "VideoSupport.c" } -#line 652 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 670 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_comment); -#line 652 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 670 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 6387 "VideoSupport.c" +#line 6431 "VideoSupport.c" } - __finally502: -#line 648 "/home/jens/Source/shotwell/src/VideoSupport.vala" + __finally515: +#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6392 "VideoSupport.c" +#line 6436 "VideoSupport.c" { VideoRow* _tmp15_ = NULL; -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp15_ = self->priv->backing_row; -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6399 "VideoSupport.c" +#line 6443 "VideoSupport.c" } -#line 648 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_comment); -#line 648 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 648 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 648 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" return FALSE; -#line 6409 "VideoSupport.c" +#line 6453 "VideoSupport.c" } -#line 656 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 674 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp16_ = self->priv->backing_row; -#line 656 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 674 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp17_ = new_comment; -#line 656 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 674 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp18_ = g_strdup (_tmp17_); -#line 656 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 674 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (_tmp16_->comment); -#line 656 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 674 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp16_->comment = _tmp18_; -#line 6421 "VideoSupport.c" +#line 6465 "VideoSupport.c" } - __finally501: + __finally514: { VideoRow* _tmp19_ = NULL; -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp19_ = self->priv->backing_row; -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6430 "VideoSupport.c" +#line 6474 "VideoSupport.c" } -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_comment); -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 644 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 662 "/home/jens/Source/shotwell/src/VideoSupport.vala" return FALSE; -#line 6442 "VideoSupport.c" +#line 6486 "VideoSupport.c" } } -#line 659 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 677 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp20_ = alteration_new ("metadata", "comment"); -#line 659 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 677 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp21_ = _tmp20_; -#line 659 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 677 "/home/jens/Source/shotwell/src/VideoSupport.vala" data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp21_); -#line 659 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 677 "/home/jens/Source/shotwell/src/VideoSupport.vala" _alteration_unref0 (_tmp21_); -#line 661 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 679 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = TRUE; -#line 661 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 679 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_comment); -#line 661 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 679 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 6459 "VideoSupport.c" +#line 6503 "VideoSupport.c" } @@ -6467,54 +6511,54 @@ static Rating video_real_get_rating (MediaSource* base) { Video * self; Rating result = 0; GError * _inner_error_ = NULL; -#line 665 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 683 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 6469 "VideoSupport.c" +#line 6513 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 684 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 684 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 6476 "VideoSupport.c" +#line 6520 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; Rating _tmp2_ = 0; -#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 685 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 685 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->rating; -#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 685 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp2_; -#line 6486 "VideoSupport.c" +#line 6530 "VideoSupport.c" { VideoRow* _tmp3_ = NULL; -#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 684 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 684 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6493 "VideoSupport.c" +#line 6537 "VideoSupport.c" } -#line 667 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 685 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 6497 "VideoSupport.c" +#line 6541 "VideoSupport.c" } - __finally503: + __finally516: { VideoRow* _tmp4_ = NULL; -#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 684 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 684 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6506 "VideoSupport.c" +#line 6550 "VideoSupport.c" } -#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 684 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 684 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 684 "/home/jens/Source/shotwell/src/VideoSupport.vala" return 0; -#line 6514 "VideoSupport.c" +#line 6558 "VideoSupport.c" } } @@ -6524,234 +6568,234 @@ static void video_real_set_rating (MediaSource* base, Rating rating) { Alteration* _tmp19_ = NULL; Alteration* _tmp20_ = NULL; GError * _inner_error_ = NULL; -#line 671 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 689 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 6526 "VideoSupport.c" +#line 6570 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 6533 "VideoSupport.c" +#line 6577 "VideoSupport.c" { gboolean _tmp1_ = FALSE; Rating _tmp2_ = 0; gboolean _tmp3_ = FALSE; VideoRow* _tmp16_ = NULL; Rating _tmp17_ = 0; -#line 673 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = rating; -#line 673 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = rating_is_valid (_tmp2_); -#line 673 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (!_tmp3_) { -#line 673 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = TRUE; -#line 6548 "VideoSupport.c" +#line 6592 "VideoSupport.c" } else { Rating _tmp4_ = 0; VideoRow* _tmp5_ = NULL; Rating _tmp6_ = 0; -#line 673 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = rating; -#line 673 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = self->priv->backing_row; -#line 673 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = _tmp5_->rating; -#line 673 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _tmp4_ == _tmp6_; -#line 6561 "VideoSupport.c" +#line 6605 "VideoSupport.c" } -#line 673 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp1_) { -#line 6565 "VideoSupport.c" +#line 6609 "VideoSupport.c" { VideoRow* _tmp7_ = NULL; -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = self->priv->backing_row; -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6572 "VideoSupport.c" +#line 6616 "VideoSupport.c" } -#line 674 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 692 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 6576 "VideoSupport.c" +#line 6620 "VideoSupport.c" } { VideoTable* _tmp8_ = NULL; VideoTable* _tmp9_ = NULL; VideoID _tmp10_ = {0}; Rating _tmp11_ = 0; -#line 677 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 695 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = video_table_get_instance (); -#line 677 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 695 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = _tmp8_; -#line 677 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 695 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_get_video_id (self, &_tmp10_); -#line 677 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 695 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = rating; -#line 677 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 695 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_table_set_rating (_tmp9_, &_tmp10_, _tmp11_, &_inner_error_); -#line 677 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 695 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp9_); -#line 677 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 695 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 677 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 695 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 6599 "VideoSupport.c" - goto __catch505_database_error; +#line 6643 "VideoSupport.c" + goto __catch518_database_error; } { VideoRow* _tmp12_ = NULL; -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = self->priv->backing_row; -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6608 "VideoSupport.c" +#line 6652 "VideoSupport.c" } -#line 677 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 695 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 677 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 695 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 677 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 695 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 6616 "VideoSupport.c" +#line 6660 "VideoSupport.c" } } - goto __finally505; - __catch505_database_error: + goto __finally518; + __catch518_database_error: { GError* e = NULL; GError* _tmp13_ = NULL; -#line 676 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 694 "/home/jens/Source/shotwell/src/VideoSupport.vala" e = _inner_error_; -#line 676 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 694 "/home/jens/Source/shotwell/src/VideoSupport.vala" _inner_error_ = NULL; -#line 679 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 697 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp13_ = e; -#line 679 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 697 "/home/jens/Source/shotwell/src/VideoSupport.vala" app_window_database_error (_tmp13_); -#line 680 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 698 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (e); -#line 6634 "VideoSupport.c" +#line 6678 "VideoSupport.c" { VideoRow* _tmp14_ = NULL; -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp14_ = self->priv->backing_row; -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6641 "VideoSupport.c" +#line 6685 "VideoSupport.c" } -#line 680 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 698 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 6645 "VideoSupport.c" +#line 6689 "VideoSupport.c" } - __finally505: -#line 676 "/home/jens/Source/shotwell/src/VideoSupport.vala" + __finally518: +#line 694 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6650 "VideoSupport.c" +#line 6694 "VideoSupport.c" { VideoRow* _tmp15_ = NULL; -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp15_ = self->priv->backing_row; -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6657 "VideoSupport.c" +#line 6701 "VideoSupport.c" } -#line 676 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 694 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 676 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 694 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 676 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 694 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 6665 "VideoSupport.c" +#line 6709 "VideoSupport.c" } -#line 684 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 702 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp16_ = self->priv->backing_row; -#line 684 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 702 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp17_ = rating; -#line 684 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 702 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp16_->rating = _tmp17_; -#line 6673 "VideoSupport.c" +#line 6717 "VideoSupport.c" } - __finally504: + __finally517: { VideoRow* _tmp18_ = NULL; -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp18_ = self->priv->backing_row; -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6682 "VideoSupport.c" +#line 6726 "VideoSupport.c" } -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 672 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 6692 "VideoSupport.c" +#line 6736 "VideoSupport.c" } } -#line 687 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 705 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp19_ = alteration_new ("metadata", "rating"); -#line 687 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 705 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp20_ = _tmp19_; -#line 687 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 705 "/home/jens/Source/shotwell/src/VideoSupport.vala" data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp20_); -#line 687 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 705 "/home/jens/Source/shotwell/src/VideoSupport.vala" _alteration_unref0 (_tmp20_); -#line 6703 "VideoSupport.c" +#line 6747 "VideoSupport.c" } static void video_real_increase_rating (MediaSource* base) { Video * self; GError * _inner_error_ = NULL; -#line 690 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 708 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 6712 "VideoSupport.c" +#line 6756 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 709 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 709 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 6719 "VideoSupport.c" +#line 6763 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; Rating _tmp2_ = 0; Rating _tmp3_ = 0; -#line 692 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 710 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 692 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 710 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->rating; -#line 692 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 710 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = rating_increase (_tmp2_); -#line 692 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 710 "/home/jens/Source/shotwell/src/VideoSupport.vala" media_source_set_rating (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource), _tmp3_); -#line 6732 "VideoSupport.c" +#line 6776 "VideoSupport.c" } - __finally506: + __finally519: { VideoRow* _tmp4_ = NULL; -#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 709 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 709 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6741 "VideoSupport.c" +#line 6785 "VideoSupport.c" } -#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 709 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 709 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 709 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 691 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 709 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 6751 "VideoSupport.c" +#line 6795 "VideoSupport.c" } } } @@ -6760,48 +6804,48 @@ static void video_real_increase_rating (MediaSource* base) { static void video_real_decrease_rating (MediaSource* base) { Video * self; GError * _inner_error_ = NULL; -#line 696 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 714 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 6762 "VideoSupport.c" +#line 6806 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 697 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 715 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 697 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 715 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 6769 "VideoSupport.c" +#line 6813 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; Rating _tmp2_ = 0; Rating _tmp3_ = 0; -#line 698 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 716 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 698 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 716 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->rating; -#line 698 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 716 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = rating_decrease (_tmp2_); -#line 698 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 716 "/home/jens/Source/shotwell/src/VideoSupport.vala" media_source_set_rating (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource), _tmp3_); -#line 6782 "VideoSupport.c" +#line 6826 "VideoSupport.c" } - __finally507: + __finally520: { VideoRow* _tmp4_ = NULL; -#line 697 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 715 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 697 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 715 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6791 "VideoSupport.c" +#line 6835 "VideoSupport.c" } -#line 697 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 715 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 697 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 715 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 697 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 715 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 697 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 715 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 6801 "VideoSupport.c" +#line 6845 "VideoSupport.c" } } } @@ -6811,15 +6855,15 @@ static gboolean video_real_is_trashed (MediaSource* base) { Video * self; gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 702 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 720 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 703 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 721 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = video_is_flag_set (self, VIDEO_FLAG_TRASH); -#line 703 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 721 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp0_; -#line 703 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 721 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 6819 "VideoSupport.c" +#line 6863 "VideoSupport.c" } @@ -6827,25 +6871,25 @@ static gboolean video_real_is_offline (Monitorable* base) { Video * self; gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 706 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 724 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 707 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 725 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = video_is_flag_set (self, VIDEO_FLAG_OFFLINE); -#line 707 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 725 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp0_; -#line 707 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 725 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 6835 "VideoSupport.c" +#line 6879 "VideoSupport.c" } static void video_real_mark_offline (Monitorable* base) { Video * self; -#line 710 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 728 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 711 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 729 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_add_flags (self, VIDEO_FLAG_OFFLINE, NULL); -#line 6845 "VideoSupport.c" +#line 6889 "VideoSupport.c" } @@ -6853,61 +6897,61 @@ static void video_real_mark_online (Monitorable* base) { Video * self; gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; -#line 714 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 732 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 715 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 733 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_remove_flags (self, VIDEO_FLAG_OFFLINE, NULL); -#line 717 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 735 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = video_get_is_interpretable (self); -#line 717 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 735 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (!_tmp1_) { -#line 6861 "VideoSupport.c" +#line 6905 "VideoSupport.c" gboolean _tmp2_ = FALSE; -#line 717 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 735 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = video_has_interpreter_state_changed (); -#line 717 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 735 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = _tmp2_; -#line 6867 "VideoSupport.c" +#line 6911 "VideoSupport.c" } else { -#line 717 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 735 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = FALSE; -#line 6871 "VideoSupport.c" +#line 6915 "VideoSupport.c" } -#line 717 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 735 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp0_) { -#line 6875 "VideoSupport.c" +#line 6919 "VideoSupport.c" VideoInterpretableResults* _tmp3_ = NULL; VideoInterpretableResults* _tmp4_ = NULL; -#line 718 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 736 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = video_check_is_interpretable (self); -#line 718 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 736 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = _tmp3_; -#line 718 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 736 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_interpretable_results_foreground_finish (_tmp4_); -#line 718 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 736 "/home/jens/Source/shotwell/src/VideoSupport.vala" _video_interpretable_results_unref0 (_tmp4_); -#line 6886 "VideoSupport.c" +#line 6930 "VideoSupport.c" } } static void video_real_trash (MediaSource* base) { Video * self; -#line 721 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 739 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 722 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 740 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_add_flags (self, VIDEO_FLAG_TRASH, NULL); -#line 6897 "VideoSupport.c" +#line 6941 "VideoSupport.c" } static void video_real_untrash (MediaSource* base) { Video * self; -#line 725 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 743 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 726 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 744 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_remove_flags (self, VIDEO_FLAG_TRASH, NULL); -#line 6907 "VideoSupport.c" +#line 6951 "VideoSupport.c" } @@ -6915,15 +6959,15 @@ static gboolean video_real_is_flagged (Flaggable* base) { Video * self; gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 729 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 747 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 730 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 748 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = video_is_flag_set (self, VIDEO_FLAG_FLAGGED); -#line 730 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 748 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp0_; -#line 730 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 748 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 6923 "VideoSupport.c" +#line 6967 "VideoSupport.c" } @@ -6931,17 +6975,17 @@ static void video_real_mark_flagged (Flaggable* base) { Video * self; Alteration* _tmp0_ = NULL; Alteration* _tmp1_ = NULL; -#line 733 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 751 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 734 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 752 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = alteration_new ("metadata", "flagged"); -#line 734 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 752 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _tmp0_; -#line 734 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 752 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_add_flags (self, VIDEO_FLAG_FLAGGED, _tmp1_); -#line 734 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 752 "/home/jens/Source/shotwell/src/VideoSupport.vala" _alteration_unref0 (_tmp1_); -#line 6941 "VideoSupport.c" +#line 6985 "VideoSupport.c" } @@ -6949,71 +6993,71 @@ static void video_real_mark_unflagged (Flaggable* base) { Video * self; Alteration* _tmp0_ = NULL; Alteration* _tmp1_ = NULL; -#line 737 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 755 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 738 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 756 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = alteration_new ("metadata", "flagged"); -#line 738 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 756 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _tmp0_; -#line 738 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 756 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_remove_flags (self, VIDEO_FLAG_FLAGGED, _tmp1_); -#line 738 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 756 "/home/jens/Source/shotwell/src/VideoSupport.vala" _alteration_unref0 (_tmp1_); -#line 6959 "VideoSupport.c" +#line 7003 "VideoSupport.c" } static void video_real_get_event_id (MediaSource* base, EventID* result) { Video * self; GError * _inner_error_ = NULL; -#line 741 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 759 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 6968 "VideoSupport.c" +#line 7012 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 742 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 742 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 6975 "VideoSupport.c" +#line 7019 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; EventID _tmp2_ = {0}; -#line 743 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 761 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 743 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 761 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->event_id; -#line 743 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 761 "/home/jens/Source/shotwell/src/VideoSupport.vala" *result = _tmp2_; -#line 6985 "VideoSupport.c" +#line 7029 "VideoSupport.c" { VideoRow* _tmp3_ = NULL; -#line 742 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 742 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 6992 "VideoSupport.c" +#line 7036 "VideoSupport.c" } -#line 743 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 761 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 6996 "VideoSupport.c" +#line 7040 "VideoSupport.c" } - __finally508: + __finally521: { VideoRow* _tmp4_ = NULL; -#line 742 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 742 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7005 "VideoSupport.c" +#line 7049 "VideoSupport.c" } -#line 742 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 742 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 742 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 7013 "VideoSupport.c" +#line 7057 "VideoSupport.c" } } @@ -7022,16 +7066,16 @@ static gchar* video_real_to_string (DataObject* base) { Video * self; gchar* result = NULL; GError * _inner_error_ = NULL; -#line 747 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 765 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 7024 "VideoSupport.c" +#line 7068 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 748 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 748 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 7031 "VideoSupport.c" +#line 7075 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; VideoID _tmp2_ = {0}; @@ -7042,111 +7086,111 @@ static gchar* video_real_to_string (DataObject* base) { const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 749 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 749 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->video_id; -#line 749 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = _tmp2_.id; -#line 749 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = g_strdup_printf ("%" G_GINT64_FORMAT, _tmp3_); -#line 749 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = _tmp4_; -#line 749 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = self->priv->backing_row; -#line 749 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = _tmp6_->filepath; -#line 749 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = g_strdup_printf ("[%s] %s", _tmp5_, _tmp7_); -#line 749 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = _tmp8_; -#line 749 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (_tmp5_); -#line 749 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp9_; -#line 7064 "VideoSupport.c" +#line 7108 "VideoSupport.c" { VideoRow* _tmp10_ = NULL; -#line 748 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = self->priv->backing_row; -#line 748 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7071 "VideoSupport.c" +#line 7115 "VideoSupport.c" } -#line 749 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 7075 "VideoSupport.c" +#line 7119 "VideoSupport.c" } - __finally509: + __finally522: { VideoRow* _tmp11_ = NULL; -#line 748 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = self->priv->backing_row; -#line 748 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7084 "VideoSupport.c" +#line 7128 "VideoSupport.c" } -#line 748 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 748 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 748 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" return NULL; -#line 7092 "VideoSupport.c" +#line 7136 "VideoSupport.c" } } void video_get_video_id (Video* self, VideoID* result) { GError * _inner_error_ = NULL; -#line 753 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 771 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (IS_VIDEO (self)); -#line 7101 "VideoSupport.c" +#line 7145 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 754 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 772 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 754 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 772 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 7108 "VideoSupport.c" +#line 7152 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; VideoID _tmp2_ = {0}; -#line 755 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 773 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 755 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 773 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->video_id; -#line 755 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 773 "/home/jens/Source/shotwell/src/VideoSupport.vala" *result = _tmp2_; -#line 7118 "VideoSupport.c" +#line 7162 "VideoSupport.c" { VideoRow* _tmp3_ = NULL; -#line 754 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 772 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 754 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 772 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7125 "VideoSupport.c" +#line 7169 "VideoSupport.c" } -#line 755 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 773 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 7129 "VideoSupport.c" +#line 7173 "VideoSupport.c" } - __finally510: + __finally523: { VideoRow* _tmp4_ = NULL; -#line 754 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 772 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 754 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 772 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7138 "VideoSupport.c" +#line 7182 "VideoSupport.c" } -#line 754 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 772 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 754 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 772 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 754 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 772 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 7146 "VideoSupport.c" +#line 7190 "VideoSupport.c" } } @@ -7155,54 +7199,54 @@ static time_t video_real_get_exposure_time (Dateable* base) { Video * self; time_t result = 0; GError * _inner_error_ = NULL; -#line 759 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 777 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 7157 "VideoSupport.c" +#line 7201 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 778 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 778 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 7164 "VideoSupport.c" +#line 7208 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; time_t _tmp2_ = 0; -#line 761 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 779 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 761 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 779 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->exposure_time; -#line 761 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 779 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp2_; -#line 7174 "VideoSupport.c" +#line 7218 "VideoSupport.c" { VideoRow* _tmp3_ = NULL; -#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 778 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 778 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7181 "VideoSupport.c" +#line 7225 "VideoSupport.c" } -#line 761 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 779 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 7185 "VideoSupport.c" +#line 7229 "VideoSupport.c" } - __finally511: + __finally524: { VideoRow* _tmp4_ = NULL; -#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 778 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 778 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7194 "VideoSupport.c" +#line 7238 "VideoSupport.c" } -#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 778 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 778 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 760 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 778 "/home/jens/Source/shotwell/src/VideoSupport.vala" return 0; -#line 7202 "VideoSupport.c" +#line 7246 "VideoSupport.c" } } @@ -7212,16 +7256,16 @@ static void video_real_set_exposure_time (Dateable* base, time_t time) { Alteration* _tmp12_ = NULL; Alteration* _tmp13_ = NULL; GError * _inner_error_ = NULL; -#line 765 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 783 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 7214 "VideoSupport.c" +#line 7258 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 784 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 784 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 7221 "VideoSupport.c" +#line 7265 "VideoSupport.c" { VideoRow* _tmp9_ = NULL; time_t _tmp10_ = 0; @@ -7231,165 +7275,165 @@ static void video_real_set_exposure_time (Dateable* base, time_t time) { VideoRow* _tmp3_ = NULL; VideoID _tmp4_ = {0}; time_t _tmp5_ = 0; -#line 768 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 786 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = video_table_get_instance (); -#line 768 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 786 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_; -#line 768 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 786 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 768 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 786 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = _tmp3_->video_id; -#line 768 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 786 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = time; -#line 768 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 786 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_table_set_exposure_time (_tmp2_, &_tmp4_, _tmp5_, &_inner_error_); -#line 768 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 786 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp2_); -#line 768 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 786 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 7247 "VideoSupport.c" - goto __catch513_g_error; +#line 7291 "VideoSupport.c" + goto __catch526_g_error; } } - goto __finally513; - __catch513_g_error: + goto __finally526; + __catch526_g_error: { GError* e = NULL; GError* _tmp6_ = NULL; const gchar* _tmp7_ = NULL; -#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 785 "/home/jens/Source/shotwell/src/VideoSupport.vala" e = _inner_error_; -#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 785 "/home/jens/Source/shotwell/src/VideoSupport.vala" _inner_error_ = NULL; -#line 770 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 788 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = e; -#line 770 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 788 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = _tmp6_->message; -#line 770 "/home/jens/Source/shotwell/src/VideoSupport.vala" - g_debug ("VideoSupport.vala:770: Warning - %s", _tmp7_); -#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 788 "/home/jens/Source/shotwell/src/VideoSupport.vala" + g_debug ("VideoSupport.vala:788: Warning - %s", _tmp7_); +#line 785 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (e); -#line 7269 "VideoSupport.c" +#line 7313 "VideoSupport.c" } - __finally513: -#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" + __finally526: +#line 785 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 7274 "VideoSupport.c" +#line 7318 "VideoSupport.c" { VideoRow* _tmp8_ = NULL; -#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 784 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = self->priv->backing_row; -#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 784 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7281 "VideoSupport.c" +#line 7325 "VideoSupport.c" } -#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 785 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 785 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 767 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 785 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 7289 "VideoSupport.c" +#line 7333 "VideoSupport.c" } -#line 772 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 790 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = self->priv->backing_row; -#line 772 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 790 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = time; -#line 772 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 790 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_->exposure_time = _tmp10_; -#line 7297 "VideoSupport.c" +#line 7341 "VideoSupport.c" } - __finally512: + __finally525: { VideoRow* _tmp11_ = NULL; -#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 784 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = self->priv->backing_row; -#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 784 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7306 "VideoSupport.c" +#line 7350 "VideoSupport.c" } -#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 784 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 784 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 784 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 766 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 784 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 7316 "VideoSupport.c" +#line 7360 "VideoSupport.c" } } -#line 775 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 793 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = alteration_new ("metadata", "exposure-time"); -#line 775 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 793 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp13_ = _tmp12_; -#line 775 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 793 "/home/jens/Source/shotwell/src/VideoSupport.vala" data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp13_); -#line 775 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 793 "/home/jens/Source/shotwell/src/VideoSupport.vala" _alteration_unref0 (_tmp13_); -#line 7327 "VideoSupport.c" +#line 7371 "VideoSupport.c" } void video_get_frame_dimensions (Video* self, Dimensions* result) { GError * _inner_error_ = NULL; -#line 778 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 796 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (IS_VIDEO (self)); -#line 7335 "VideoSupport.c" +#line 7379 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 779 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 797 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 779 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 797 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 7342 "VideoSupport.c" +#line 7386 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; gint _tmp2_ = 0; VideoRow* _tmp3_ = NULL; gint _tmp4_ = 0; Dimensions _tmp5_ = {0}; -#line 780 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 798 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 780 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 798 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->width; -#line 780 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 798 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 780 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 798 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = _tmp3_->height; -#line 780 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 798 "/home/jens/Source/shotwell/src/VideoSupport.vala" dimensions_init (&_tmp5_, _tmp2_, _tmp4_); -#line 780 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 798 "/home/jens/Source/shotwell/src/VideoSupport.vala" *result = _tmp5_; -#line 7361 "VideoSupport.c" +#line 7405 "VideoSupport.c" { VideoRow* _tmp6_ = NULL; -#line 779 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 797 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = self->priv->backing_row; -#line 779 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 797 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7368 "VideoSupport.c" +#line 7412 "VideoSupport.c" } -#line 780 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 798 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 7372 "VideoSupport.c" +#line 7416 "VideoSupport.c" } - __finally514: + __finally527: { VideoRow* _tmp7_ = NULL; -#line 779 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 797 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = self->priv->backing_row; -#line 779 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 797 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7381 "VideoSupport.c" +#line 7425 "VideoSupport.c" } -#line 779 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 797 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 779 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 797 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 779 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 797 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 7389 "VideoSupport.c" +#line 7433 "VideoSupport.c" } } @@ -7397,15 +7441,15 @@ void video_get_frame_dimensions (Video* self, Dimensions* result) { static void video_real_get_dimensions (MediaSource* base, PhotoException disallowed_steps, Dimensions* result) { Video * self; Dimensions _tmp0_ = {0}; -#line 784 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 802 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 785 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 803 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_get_frame_dimensions (self, &_tmp0_); -#line 785 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 803 "/home/jens/Source/shotwell/src/VideoSupport.vala" *result = _tmp0_; -#line 785 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 803 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 7405 "VideoSupport.c" +#line 7449 "VideoSupport.c" } @@ -7413,15 +7457,15 @@ static guint64 video_real_get_filesize (MediaSource* base) { Video * self; guint64 result = 0ULL; guint64 _tmp0_ = 0ULL; -#line 788 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 806 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 789 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 807 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = media_source_get_master_filesize (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource)); -#line 789 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 807 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp0_; -#line 789 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 807 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 7421 "VideoSupport.c" +#line 7465 "VideoSupport.c" } @@ -7429,54 +7473,54 @@ static guint64 video_real_get_master_filesize (MediaSource* base) { Video * self; guint64 result = 0ULL; GError * _inner_error_ = NULL; -#line 792 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 810 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 7431 "VideoSupport.c" +#line 7475 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 793 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 811 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 793 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 811 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 7438 "VideoSupport.c" +#line 7482 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; gint64 _tmp2_ = 0LL; -#line 794 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 812 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 794 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 812 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->filesize; -#line 794 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 812 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = (guint64) _tmp2_; -#line 7448 "VideoSupport.c" +#line 7492 "VideoSupport.c" { VideoRow* _tmp3_ = NULL; -#line 793 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 811 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 793 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 811 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7455 "VideoSupport.c" +#line 7499 "VideoSupport.c" } -#line 794 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 812 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 7459 "VideoSupport.c" +#line 7503 "VideoSupport.c" } - __finally515: + __finally528: { VideoRow* _tmp4_ = NULL; -#line 793 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 811 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 793 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 811 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7468 "VideoSupport.c" +#line 7512 "VideoSupport.c" } -#line 793 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 811 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 793 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 811 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 793 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 811 "/home/jens/Source/shotwell/src/VideoSupport.vala" return 0ULL; -#line 7476 "VideoSupport.c" +#line 7520 "VideoSupport.c" } } @@ -7485,54 +7529,54 @@ static time_t video_real_get_timestamp (MediaSource* base) { Video * self; time_t result = 0; GError * _inner_error_ = NULL; -#line 798 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 816 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 7487 "VideoSupport.c" +#line 7531 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 799 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 817 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 799 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 817 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 7494 "VideoSupport.c" +#line 7538 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; time_t _tmp2_ = 0; -#line 800 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 818 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 800 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 818 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->timestamp; -#line 800 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 818 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp2_; -#line 7504 "VideoSupport.c" +#line 7548 "VideoSupport.c" { VideoRow* _tmp3_ = NULL; -#line 799 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 817 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 799 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 817 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7511 "VideoSupport.c" +#line 7555 "VideoSupport.c" } -#line 800 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 818 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 7515 "VideoSupport.c" +#line 7559 "VideoSupport.c" } - __finally516: + __finally529: { VideoRow* _tmp4_ = NULL; -#line 799 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 817 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 799 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 817 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7524 "VideoSupport.c" +#line 7568 "VideoSupport.c" } -#line 799 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 817 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 799 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 817 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 799 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 817 "/home/jens/Source/shotwell/src/VideoSupport.vala" return 0; -#line 7532 "VideoSupport.c" +#line 7576 "VideoSupport.c" } } @@ -7545,25 +7589,25 @@ static void video_real_set_master_timestamp (Monitorable* base, GFileInfo* info) Alteration* _tmp19_ = NULL; Alteration* _tmp20_ = NULL; GError * _inner_error_ = NULL; -#line 804 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 822 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 804 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 822 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (G_IS_FILE_INFO (info)); -#line 805 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 823 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = info; -#line 805 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 823 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_file_info_get_modification_time (_tmp0_, &_tmp1_); -#line 805 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 823 "/home/jens/Source/shotwell/src/VideoSupport.vala" time_val = _tmp1_; -#line 7555 "VideoSupport.c" +#line 7599 "VideoSupport.c" { { VideoRow* _tmp2_ = NULL; -#line 808 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = self->priv->backing_row; -#line 808 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 7563 "VideoSupport.c" +#line 7607 "VideoSupport.c" { VideoRow* _tmp3_ = NULL; time_t _tmp4_ = 0; @@ -7578,182 +7622,182 @@ static void video_real_set_master_timestamp (Monitorable* base, GFileInfo* info) VideoRow* _tmp14_ = NULL; GTimeVal _tmp15_ = {0}; glong _tmp16_ = 0L; -#line 809 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 827 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 809 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 827 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = _tmp3_->timestamp; -#line 809 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 827 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = time_val; -#line 809 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 827 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = _tmp5_.tv_sec; -#line 809 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 827 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp4_ == ((time_t) _tmp6_)) { -#line 7588 "VideoSupport.c" +#line 7632 "VideoSupport.c" { VideoRow* _tmp7_ = NULL; -#line 808 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = self->priv->backing_row; -#line 808 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7595 "VideoSupport.c" +#line 7639 "VideoSupport.c" } -#line 810 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 828 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 7599 "VideoSupport.c" +#line 7643 "VideoSupport.c" } -#line 812 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 830 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = video_table_get_instance (); -#line 812 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 830 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = _tmp8_; -#line 812 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 830 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = self->priv->backing_row; -#line 812 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 830 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = _tmp10_->video_id; -#line 812 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 830 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = time_val; -#line 812 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 830 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp13_ = _tmp12_.tv_sec; -#line 812 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 830 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_table_set_timestamp (_tmp9_, &_tmp11_, (time_t) _tmp13_, &_inner_error_); -#line 812 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 830 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp9_); -#line 812 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 830 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 7619 "VideoSupport.c" - goto __finally518; +#line 7663 "VideoSupport.c" + goto __finally531; } -#line 813 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 831 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp14_ = self->priv->backing_row; -#line 813 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 831 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp15_ = time_val; -#line 813 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 831 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp16_ = _tmp15_.tv_sec; -#line 813 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 831 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp14_->timestamp = (time_t) _tmp16_; -#line 7630 "VideoSupport.c" +#line 7674 "VideoSupport.c" } - __finally518: + __finally531: { VideoRow* _tmp17_ = NULL; -#line 808 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp17_ = self->priv->backing_row; -#line 808 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7639 "VideoSupport.c" +#line 7683 "VideoSupport.c" } -#line 808 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 808 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 7645 "VideoSupport.c" - goto __catch517_database_error; +#line 7689 "VideoSupport.c" + goto __catch530_database_error; } -#line 808 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 808 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 808 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 7654 "VideoSupport.c" +#line 7698 "VideoSupport.c" } } } - goto __finally517; - __catch517_database_error: + goto __finally530; + __catch530_database_error: { GError* err = NULL; GError* _tmp18_ = NULL; -#line 807 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala" err = _inner_error_; -#line 807 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala" _inner_error_ = NULL; -#line 816 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 834 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp18_ = err; -#line 816 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 834 "/home/jens/Source/shotwell/src/VideoSupport.vala" app_window_database_error (_tmp18_); -#line 818 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 836 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (err); -#line 818 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 836 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 7675 "VideoSupport.c" +#line 7719 "VideoSupport.c" } - __finally517: -#line 807 "/home/jens/Source/shotwell/src/VideoSupport.vala" + __finally530: +#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 807 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 807 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 807 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 7686 "VideoSupport.c" +#line 7730 "VideoSupport.c" } -#line 821 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 839 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp19_ = alteration_new ("metadata", "master-timestamp"); -#line 821 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 839 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp20_ = _tmp19_; -#line 821 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 839 "/home/jens/Source/shotwell/src/VideoSupport.vala" data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp20_); -#line 821 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 839 "/home/jens/Source/shotwell/src/VideoSupport.vala" _alteration_unref0 (_tmp20_); -#line 7696 "VideoSupport.c" +#line 7740 "VideoSupport.c" } gchar* video_get_filename (Video* self) { gchar* result = NULL; GError * _inner_error_ = NULL; -#line 824 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 842 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_VIDEO (self), NULL); -#line 7705 "VideoSupport.c" +#line 7749 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 843 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 843 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 7712 "VideoSupport.c" +#line 7756 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; -#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 844 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 844 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->filepath; -#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 844 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = g_strdup (_tmp2_); -#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 844 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp3_; -#line 7725 "VideoSupport.c" +#line 7769 "VideoSupport.c" { VideoRow* _tmp4_ = NULL; -#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 843 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 843 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7732 "VideoSupport.c" +#line 7776 "VideoSupport.c" } -#line 826 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 844 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 7736 "VideoSupport.c" +#line 7780 "VideoSupport.c" } - __finally519: + __finally532: { VideoRow* _tmp5_ = NULL; -#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 843 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = self->priv->backing_row; -#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 843 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7745 "VideoSupport.c" +#line 7789 "VideoSupport.c" } -#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 843 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 843 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 843 "/home/jens/Source/shotwell/src/VideoSupport.vala" return NULL; -#line 7753 "VideoSupport.c" +#line 7797 "VideoSupport.c" } } @@ -7765,23 +7809,23 @@ static GFile* video_real_get_file (MediaSource* base) { gchar* _tmp1_ = NULL; GFile* _tmp2_ = NULL; GFile* _tmp3_ = NULL; -#line 830 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 848 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 831 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 849 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = video_get_filename (self); -#line 831 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 849 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _tmp0_; -#line 831 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 849 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = g_file_new_for_path (_tmp1_); -#line 831 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 849 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = _tmp2_; -#line 831 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 849 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (_tmp1_); -#line 831 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 849 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp3_; -#line 831 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 849 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 7781 "VideoSupport.c" +#line 7825 "VideoSupport.c" } @@ -7789,15 +7833,15 @@ static GFile* video_real_get_master_file (MediaSource* base) { Video * self; GFile* result = NULL; GFile* _tmp0_ = NULL; -#line 834 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 852 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 835 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 853 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = media_source_get_file (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource)); -#line 835 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 853 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp0_; -#line 835 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 853 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 7797 "VideoSupport.c" +#line 7841 "VideoSupport.c" } @@ -7809,93 +7853,93 @@ void video_export (Video* self, GFile* dest_file, GError** error) { GFile* _tmp3_ = NULL; GFile* _tmp4_ = NULL; GError * _inner_error_ = NULL; -#line 838 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 856 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (IS_VIDEO (self)); -#line 838 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 856 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (G_IS_FILE (dest_file)); -#line 839 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = video_get_filename (self); -#line 839 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _tmp0_; -#line 839 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = g_file_new_for_path (_tmp1_); -#line 839 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = _tmp2_; -#line 839 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (_tmp1_); -#line 839 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" source_file = _tmp3_; -#line 840 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 858 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = dest_file; -#line 840 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 858 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_file_copy (source_file, _tmp4_, G_FILE_COPY_OVERWRITE | G_FILE_COPY_TARGET_DEFAULT_PERMS, NULL, NULL, NULL, &_inner_error_); -#line 840 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 858 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 840 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 858 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_propagate_error (error, _inner_error_); -#line 840 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 858 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (source_file); -#line 840 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 858 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 7837 "VideoSupport.c" +#line 7881 "VideoSupport.c" } -#line 838 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 856 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (source_file); -#line 7841 "VideoSupport.c" +#line 7885 "VideoSupport.c" } gdouble video_get_clip_duration (Video* self) { gdouble result = 0.0; GError * _inner_error_ = NULL; -#line 844 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 862 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_VIDEO (self), 0.0); -#line 7850 "VideoSupport.c" +#line 7894 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 845 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 863 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 845 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 863 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 7857 "VideoSupport.c" +#line 7901 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; gdouble _tmp2_ = 0.0; -#line 846 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 864 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 846 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 864 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->clip_duration; -#line 846 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 864 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp2_; -#line 7867 "VideoSupport.c" +#line 7911 "VideoSupport.c" { VideoRow* _tmp3_ = NULL; -#line 845 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 863 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 845 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 863 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7874 "VideoSupport.c" +#line 7918 "VideoSupport.c" } -#line 846 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 864 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 7878 "VideoSupport.c" +#line 7922 "VideoSupport.c" } - __finally520: + __finally533: { VideoRow* _tmp4_ = NULL; -#line 845 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 863 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 845 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 863 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7887 "VideoSupport.c" +#line 7931 "VideoSupport.c" } -#line 845 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 863 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 845 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 863 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 845 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 863 "/home/jens/Source/shotwell/src/VideoSupport.vala" return 0.0; -#line 7895 "VideoSupport.c" +#line 7939 "VideoSupport.c" } } @@ -7903,123 +7947,123 @@ gdouble video_get_clip_duration (Video* self) { gboolean video_get_is_interpretable (Video* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; -#line 850 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 868 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_VIDEO (self), FALSE); -#line 7905 "VideoSupport.c" +#line 7949 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 851 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 869 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 851 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 869 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 7912 "VideoSupport.c" +#line 7956 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 852 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 870 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 852 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 870 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->is_interpretable; -#line 852 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 870 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp2_; -#line 7922 "VideoSupport.c" +#line 7966 "VideoSupport.c" { VideoRow* _tmp3_ = NULL; -#line 851 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 869 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 851 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 869 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7929 "VideoSupport.c" +#line 7973 "VideoSupport.c" } -#line 852 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 870 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 7933 "VideoSupport.c" +#line 7977 "VideoSupport.c" } - __finally521: + __finally534: { VideoRow* _tmp4_ = NULL; -#line 851 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 869 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 851 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 869 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7942 "VideoSupport.c" +#line 7986 "VideoSupport.c" } -#line 851 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 869 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 851 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 869 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 851 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 869 "/home/jens/Source/shotwell/src/VideoSupport.vala" return FALSE; -#line 7950 "VideoSupport.c" +#line 7994 "VideoSupport.c" } } static void video_set_is_interpretable (Video* self, gboolean is_interpretable) { GError * _inner_error_ = NULL; -#line 856 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 874 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (IS_VIDEO (self)); -#line 7959 "VideoSupport.c" +#line 8003 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 875 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 875 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 7966 "VideoSupport.c" +#line 8010 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; gboolean _tmp3_ = FALSE; VideoRow* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; -#line 858 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 876 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 858 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 876 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->is_interpretable; -#line 858 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 876 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = is_interpretable; -#line 858 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 876 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp2_ == _tmp3_) { -#line 7981 "VideoSupport.c" +#line 8025 "VideoSupport.c" { VideoRow* _tmp4_ = NULL; -#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 875 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = self->priv->backing_row; -#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 875 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 7988 "VideoSupport.c" +#line 8032 "VideoSupport.c" } -#line 859 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 877 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 7992 "VideoSupport.c" +#line 8036 "VideoSupport.c" } -#line 861 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 879 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = self->priv->backing_row; -#line 861 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 879 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = is_interpretable; -#line 861 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 879 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_->is_interpretable = _tmp6_; -#line 8000 "VideoSupport.c" +#line 8044 "VideoSupport.c" } - __finally522: + __finally535: { VideoRow* _tmp7_ = NULL; -#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 875 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = self->priv->backing_row; -#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 875 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 8009 "VideoSupport.c" +#line 8053 "VideoSupport.c" } -#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 875 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 875 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 875 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 857 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 875 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 8019 "VideoSupport.c" +#line 8063 "VideoSupport.c" } } { @@ -8027,61 +8071,61 @@ static void video_set_is_interpretable (Video* self, gboolean is_interpretable) VideoTable* _tmp9_ = NULL; VideoID _tmp10_ = {0}; gboolean _tmp11_ = FALSE; -#line 865 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 883 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = video_table_get_instance (); -#line 865 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 883 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = _tmp8_; -#line 865 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 883 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_get_video_id (self, &_tmp10_); -#line 865 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 883 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = is_interpretable; -#line 865 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 883 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_table_update_is_interpretable (_tmp9_, &_tmp10_, _tmp11_, &_inner_error_); -#line 865 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 883 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp9_); -#line 865 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 883 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 865 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 883 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 8043 "VideoSupport.c" - goto __catch523_database_error; +#line 8087 "VideoSupport.c" + goto __catch536_database_error; } -#line 865 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 883 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 865 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 883 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 865 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 883 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 8052 "VideoSupport.c" +#line 8096 "VideoSupport.c" } } - goto __finally523; - __catch523_database_error: + goto __finally536; + __catch536_database_error: { GError* e = NULL; GError* _tmp12_ = NULL; -#line 864 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" e = _inner_error_; -#line 864 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" _inner_error_ = NULL; -#line 867 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 885 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = e; -#line 867 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 885 "/home/jens/Source/shotwell/src/VideoSupport.vala" app_window_database_error (_tmp12_); -#line 864 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (e); -#line 8070 "VideoSupport.c" +#line 8114 "VideoSupport.c" } - __finally523: -#line 864 "/home/jens/Source/shotwell/src/VideoSupport.vala" + __finally536: +#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 864 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 864 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 864 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 8081 "VideoSupport.c" +#line 8125 "VideoSupport.c" } } @@ -8108,235 +8152,235 @@ VideoInterpretableResults* video_check_is_interpretable (Video* self) { GdkPixbuf* _tmp27_ = NULL; GdkPixbuf* _tmp28_ = NULL; GError * _inner_error_ = NULL; -#line 874 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 892 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_VIDEO (self), NULL); -#line 875 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 893 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = video_interpretable_results_new (self); -#line 875 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 893 "/home/jens/Source/shotwell/src/VideoSupport.vala" results = _tmp0_; -#line 877 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 895 "/home/jens/Source/shotwell/src/VideoSupport.vala" clip_duration = -1.0; -#line 878 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 896 "/home/jens/Source/shotwell/src/VideoSupport.vala" preview_frame = NULL; -#line 880 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 898 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = media_source_get_file (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource)); -#line 880 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 898 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_; -#line 880 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 898 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = video_reader_new (_tmp2_); -#line 880 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 898 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = _tmp3_; -#line 880 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 898 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp2_); -#line 880 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 898 "/home/jens/Source/shotwell/src/VideoSupport.vala" backing_file_reader = _tmp4_; -#line 8130 "VideoSupport.c" +#line 8174 "VideoSupport.c" { gdouble _tmp5_ = 0.0; VideoReader* _tmp6_ = NULL; gdouble _tmp7_ = 0.0; VideoReader* _tmp8_ = NULL; GdkPixbuf* _tmp9_ = NULL; -#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 900 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = backing_file_reader; -#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 900 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = video_reader_read_clip_duration (_tmp6_, &_inner_error_); -#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 900 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = _tmp7_; -#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 900 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 900 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_inner_error_->domain == VIDEO_ERROR) { -#line 8147 "VideoSupport.c" - goto __catch524_video_error; +#line 8191 "VideoSupport.c" + goto __catch537_video_error; } -#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 900 "/home/jens/Source/shotwell/src/VideoSupport.vala" _video_reader_unref0 (backing_file_reader); -#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 900 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (preview_frame); -#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 900 "/home/jens/Source/shotwell/src/VideoSupport.vala" _video_interpretable_results_unref0 (results); -#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 900 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 900 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 900 "/home/jens/Source/shotwell/src/VideoSupport.vala" return NULL; -#line 8162 "VideoSupport.c" +#line 8206 "VideoSupport.c" } -#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 900 "/home/jens/Source/shotwell/src/VideoSupport.vala" clip_duration = _tmp5_; -#line 883 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 901 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = backing_file_reader; -#line 883 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 901 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = video_reader_read_preview_frame (_tmp8_); -#line 883 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 901 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (preview_frame); -#line 883 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 901 "/home/jens/Source/shotwell/src/VideoSupport.vala" preview_frame = _tmp9_; -#line 8174 "VideoSupport.c" +#line 8218 "VideoSupport.c" } - goto __finally524; - __catch524_video_error: + goto __finally537; + __catch537_video_error: { GError* e = NULL; VideoInterpretableResults* _tmp10_ = NULL; gboolean _tmp11_ = FALSE; VideoInterpretableResults* _tmp12_ = NULL; -#line 881 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 899 "/home/jens/Source/shotwell/src/VideoSupport.vala" e = _inner_error_; -#line 881 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 899 "/home/jens/Source/shotwell/src/VideoSupport.vala" _inner_error_ = NULL; -#line 887 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 905 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = results; -#line 887 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 905 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = video_get_is_interpretable (self); -#line 887 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 905 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_->update_interpretable = _tmp11_; -#line 888 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 906 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = results; -#line 888 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 906 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_->is_interpretable = FALSE; -#line 890 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 908 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = results; -#line 890 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 908 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (e); -#line 890 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 908 "/home/jens/Source/shotwell/src/VideoSupport.vala" _video_reader_unref0 (backing_file_reader); -#line 890 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 908 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (preview_frame); -#line 890 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 908 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 8207 "VideoSupport.c" +#line 8251 "VideoSupport.c" } - __finally524: -#line 881 "/home/jens/Source/shotwell/src/VideoSupport.vala" + __finally537: +#line 899 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 881 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 899 "/home/jens/Source/shotwell/src/VideoSupport.vala" _video_reader_unref0 (backing_file_reader); -#line 881 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 899 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (preview_frame); -#line 881 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 899 "/home/jens/Source/shotwell/src/VideoSupport.vala" _video_interpretable_results_unref0 (results); -#line 881 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 899 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 881 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 899 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 881 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 899 "/home/jens/Source/shotwell/src/VideoSupport.vala" return NULL; -#line 8224 "VideoSupport.c" +#line 8268 "VideoSupport.c" } -#line 894 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 912 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp13_ = video_get_is_interpretable (self); -#line 894 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 912 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp13_) { -#line 8230 "VideoSupport.c" +#line 8274 "VideoSupport.c" VideoInterpretableResults* _tmp14_ = NULL; VideoInterpretableResults* _tmp15_ = NULL; -#line 895 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 913 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp14_ = results; -#line 895 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 913 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp14_->update_interpretable = FALSE; -#line 896 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 914 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp15_ = results; -#line 896 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 914 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp15_->is_interpretable = TRUE; -#line 898 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 916 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = results; -#line 898 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 916 "/home/jens/Source/shotwell/src/VideoSupport.vala" _video_reader_unref0 (backing_file_reader); -#line 898 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 916 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (preview_frame); -#line 898 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 916 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 8249 "VideoSupport.c" +#line 8293 "VideoSupport.c" } -#line 901 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 919 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp16_ = media_source_get_file (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource)); -#line 901 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 919 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp17_ = _tmp16_; -#line 901 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 919 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp18_ = g_file_get_basename (_tmp17_); -#line 901 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 919 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp19_ = _tmp18_; -#line 901 "/home/jens/Source/shotwell/src/VideoSupport.vala" - g_debug ("VideoSupport.vala:901: video %s has become interpretable", _tmp19_); -#line 901 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 919 "/home/jens/Source/shotwell/src/VideoSupport.vala" + g_debug ("VideoSupport.vala:919: video %s has become interpretable", _tmp19_); +#line 919 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (_tmp19_); -#line 901 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 919 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp17_); -#line 8265 "VideoSupport.c" +#line 8309 "VideoSupport.c" { VideoRow* _tmp20_ = NULL; -#line 904 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 922 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp20_ = self->priv->backing_row; -#line 904 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 922 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 8272 "VideoSupport.c" +#line 8316 "VideoSupport.c" { VideoRow* _tmp21_ = NULL; gdouble _tmp22_ = 0.0; -#line 905 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 923 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp21_ = self->priv->backing_row; -#line 905 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 923 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp22_ = clip_duration; -#line 905 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 923 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp21_->clip_duration = _tmp22_; -#line 8282 "VideoSupport.c" +#line 8326 "VideoSupport.c" } - __finally525: + __finally538: { VideoRow* _tmp23_ = NULL; -#line 904 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 922 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp23_ = self->priv->backing_row; -#line 904 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 922 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 8291 "VideoSupport.c" +#line 8335 "VideoSupport.c" } -#line 904 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 922 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 904 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 922 "/home/jens/Source/shotwell/src/VideoSupport.vala" _video_reader_unref0 (backing_file_reader); -#line 904 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 922 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (preview_frame); -#line 904 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 922 "/home/jens/Source/shotwell/src/VideoSupport.vala" _video_interpretable_results_unref0 (results); -#line 904 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 922 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 904 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 922 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 904 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 922 "/home/jens/Source/shotwell/src/VideoSupport.vala" return NULL; -#line 8307 "VideoSupport.c" +#line 8351 "VideoSupport.c" } } -#line 908 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 926 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp24_ = results; -#line 908 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 926 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp24_->update_interpretable = TRUE; -#line 909 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 927 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp25_ = results; -#line 909 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 927 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp25_->is_interpretable = TRUE; -#line 910 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 928 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp26_ = results; -#line 910 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 928 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp27_ = preview_frame; -#line 910 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 928 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp28_ = _g_object_ref0 (_tmp27_); -#line 910 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 928 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp26_->new_thumbnail); -#line 910 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 928 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp26_->new_thumbnail = _tmp28_; -#line 912 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 930 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = results; -#line 912 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 930 "/home/jens/Source/shotwell/src/VideoSupport.vala" _video_reader_unref0 (backing_file_reader); -#line 912 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 930 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (preview_frame); -#line 912 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 930 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 8336 "VideoSupport.c" +#line 8380 "VideoSupport.c" } @@ -8345,81 +8389,81 @@ static void video_real_destroy (DataSource* base) { VideoID video_id = {0}; VideoID _tmp0_ = {0}; GError * _inner_error_ = NULL; -#line 915 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 933 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 916 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 934 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_get_video_id (self, &_tmp0_); -#line 916 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 934 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_id = _tmp0_; -#line 918 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 936 "/home/jens/Source/shotwell/src/VideoSupport.vala" thumbnail_cache_remove (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_SOURCE, ThumbnailSource)); -#line 8353 "VideoSupport.c" +#line 8397 "VideoSupport.c" { VideoTable* _tmp1_ = NULL; VideoTable* _tmp2_ = NULL; VideoID _tmp3_ = {0}; -#line 921 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 939 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = video_table_get_instance (); -#line 921 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 939 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_; -#line 921 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 939 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = video_id; -#line 921 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 939 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_table_remove (_tmp2_, &_tmp3_, &_inner_error_); -#line 921 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 939 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp2_); -#line 921 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 939 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 921 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 939 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 8372 "VideoSupport.c" - goto __catch526_database_error; +#line 8416 "VideoSupport.c" + goto __catch539_database_error; } -#line 921 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 939 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 921 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 939 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 921 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 939 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 8381 "VideoSupport.c" +#line 8425 "VideoSupport.c" } } - goto __finally526; - __catch526_database_error: + goto __finally539; + __catch539_database_error: { GError* err = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 920 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 938 "/home/jens/Source/shotwell/src/VideoSupport.vala" err = _inner_error_; -#line 920 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 938 "/home/jens/Source/shotwell/src/VideoSupport.vala" _inner_error_ = NULL; -#line 923 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 941 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject)); -#line 923 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 941 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = _tmp4_; -#line 923 "/home/jens/Source/shotwell/src/VideoSupport.vala" - g_error ("VideoSupport.vala:923: failed to remove video %s from video table", _tmp5_); -#line 923 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 941 "/home/jens/Source/shotwell/src/VideoSupport.vala" + g_error ("VideoSupport.vala:941: failed to remove video %s from video table", _tmp5_); +#line 941 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (_tmp5_); -#line 920 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 938 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (err); -#line 8404 "VideoSupport.c" +#line 8448 "VideoSupport.c" } - __finally526: -#line 920 "/home/jens/Source/shotwell/src/VideoSupport.vala" + __finally539: +#line 938 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 920 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 938 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 920 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 938 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 920 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 938 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 8415 "VideoSupport.c" +#line 8459 "VideoSupport.c" } -#line 926 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 944 "/home/jens/Source/shotwell/src/VideoSupport.vala" DATA_SOURCE_CLASS (video_parent_class)->destroy (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_VIDEO_SOURCE, VideoSource), TYPE_DATA_SOURCE, DataSource)); -#line 8419 "VideoSupport.c" +#line 8463 "VideoSupport.c" } @@ -8432,39 +8476,39 @@ static gboolean video_real_internal_delete_backing (DataSource* base, GError** e gboolean _tmp2_ = FALSE; gboolean _tmp3_ = FALSE; GError * _inner_error_ = NULL; -#line 929 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 947 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 930 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 948 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = media_source_delete_original_file (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource)); -#line 930 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 948 "/home/jens/Source/shotwell/src/VideoSupport.vala" ret = _tmp0_; -#line 933 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = DATA_SOURCE_CLASS (video_parent_class)->internal_delete_backing (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_VIDEO_SOURCE, VideoSource), TYPE_DATA_SOURCE, DataSource), &_inner_error_); -#line 933 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp3_; -#line 933 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 933 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_propagate_error (error, _inner_error_); -#line 933 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" return FALSE; -#line 8448 "VideoSupport.c" +#line 8492 "VideoSupport.c" } -#line 933 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp2_) { -#line 933 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = ret; -#line 8454 "VideoSupport.c" +#line 8498 "VideoSupport.c" } else { -#line 933 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = FALSE; -#line 8458 "VideoSupport.c" +#line 8502 "VideoSupport.c" } -#line 933 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp1_; -#line 933 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 8464 "VideoSupport.c" +#line 8508 "VideoSupport.c" } @@ -8473,41 +8517,41 @@ static void video_notify_flags_altered (Video* self, Alteration* additional_alte Alteration* _tmp0_ = NULL; Alteration* _tmp1_ = NULL; Alteration* _tmp5_ = NULL; -#line 936 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 954 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (IS_VIDEO (self)); -#line 936 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 954 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail ((additional_alteration == NULL) || IS_ALTERATION (additional_alteration)); -#line 937 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 955 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = alteration_new ("metadata", "flags"); -#line 937 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 955 "/home/jens/Source/shotwell/src/VideoSupport.vala" alteration = _tmp0_; -#line 938 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 956 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = additional_alteration; -#line 938 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 956 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp1_ != NULL) { -#line 8485 "VideoSupport.c" +#line 8529 "VideoSupport.c" Alteration* _tmp2_ = NULL; Alteration* _tmp3_ = NULL; Alteration* _tmp4_ = NULL; -#line 939 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 957 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = alteration; -#line 939 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 957 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = additional_alteration; -#line 939 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 957 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = alteration_compress (_tmp2_, _tmp3_); -#line 939 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 957 "/home/jens/Source/shotwell/src/VideoSupport.vala" _alteration_unref0 (alteration); -#line 939 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 957 "/home/jens/Source/shotwell/src/VideoSupport.vala" alteration = _tmp4_; -#line 8499 "VideoSupport.c" +#line 8543 "VideoSupport.c" } -#line 941 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 959 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = alteration; -#line 941 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 959 "/home/jens/Source/shotwell/src/VideoSupport.vala" data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp5_); -#line 936 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 954 "/home/jens/Source/shotwell/src/VideoSupport.vala" _alteration_unref0 (alteration); -#line 8507 "VideoSupport.c" +#line 8551 "VideoSupport.c" } @@ -8516,18 +8560,18 @@ guint64 video_add_flags (Video* self, guint64 flags_to_add, Alteration* addition guint64 new_flags = 0ULL; Alteration* _tmp24_ = NULL; GError * _inner_error_ = NULL; -#line 944 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 962 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_VIDEO (self), 0ULL); -#line 944 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 962 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail ((additional_alteration == NULL) || IS_ALTERATION (additional_alteration), 0ULL); -#line 8520 "VideoSupport.c" +#line 8564 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 8527 "VideoSupport.c" +#line 8571 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; guint64 _tmp2_ = 0ULL; @@ -8538,180 +8582,180 @@ guint64 video_add_flags (Video* self, guint64 flags_to_add, Alteration* addition guint64 _tmp7_ = 0ULL; VideoRow* _tmp21_ = NULL; guint64 _tmp22_ = 0ULL; -#line 947 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 965 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 947 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 965 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->flags; -#line 947 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 965 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = flags_to_add; -#line 947 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 965 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = media_source_internal_add_flags (_tmp2_, _tmp3_); -#line 947 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 965 "/home/jens/Source/shotwell/src/VideoSupport.vala" new_flags = _tmp4_; -#line 948 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 966 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = self->priv->backing_row; -#line 948 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 966 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = _tmp5_->flags; -#line 948 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 966 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = new_flags; -#line 948 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 966 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp6_ == _tmp7_) { -#line 8556 "VideoSupport.c" +#line 8600 "VideoSupport.c" VideoRow* _tmp8_ = NULL; guint64 _tmp9_ = 0ULL; -#line 949 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 967 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = self->priv->backing_row; -#line 949 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 967 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = _tmp8_->flags; -#line 949 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 967 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp9_; -#line 8565 "VideoSupport.c" +#line 8609 "VideoSupport.c" { VideoRow* _tmp10_ = NULL; -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = self->priv->backing_row; -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 8572 "VideoSupport.c" +#line 8616 "VideoSupport.c" } -#line 949 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 967 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 8576 "VideoSupport.c" +#line 8620 "VideoSupport.c" } { VideoTable* _tmp11_ = NULL; VideoTable* _tmp12_ = NULL; VideoID _tmp13_ = {0}; guint64 _tmp14_ = 0ULL; -#line 952 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 970 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = video_table_get_instance (); -#line 952 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 970 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = _tmp11_; -#line 952 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 970 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_get_video_id (self, &_tmp13_); -#line 952 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 970 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp14_ = new_flags; -#line 952 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 970 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_table_set_flags (_tmp12_, &_tmp13_, _tmp14_, &_inner_error_); -#line 952 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 970 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp12_); -#line 952 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 970 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 952 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 970 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 8599 "VideoSupport.c" - goto __catch528_database_error; +#line 8643 "VideoSupport.c" + goto __catch541_database_error; } { VideoRow* _tmp15_ = NULL; -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp15_ = self->priv->backing_row; -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 8608 "VideoSupport.c" +#line 8652 "VideoSupport.c" } -#line 952 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 970 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 952 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 970 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 952 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 970 "/home/jens/Source/shotwell/src/VideoSupport.vala" return 0ULL; -#line 8616 "VideoSupport.c" +#line 8660 "VideoSupport.c" } } - goto __finally528; - __catch528_database_error: + goto __finally541; + __catch541_database_error: { GError* e = NULL; GError* _tmp16_ = NULL; VideoRow* _tmp17_ = NULL; guint64 _tmp18_ = 0ULL; -#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 969 "/home/jens/Source/shotwell/src/VideoSupport.vala" e = _inner_error_; -#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 969 "/home/jens/Source/shotwell/src/VideoSupport.vala" _inner_error_ = NULL; -#line 954 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 972 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp16_ = e; -#line 954 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 972 "/home/jens/Source/shotwell/src/VideoSupport.vala" app_window_database_error (_tmp16_); -#line 955 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 973 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp17_ = self->priv->backing_row; -#line 955 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 973 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp18_ = _tmp17_->flags; -#line 955 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 973 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp18_; -#line 955 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 973 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (e); -#line 8642 "VideoSupport.c" +#line 8686 "VideoSupport.c" { VideoRow* _tmp19_ = NULL; -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp19_ = self->priv->backing_row; -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 8649 "VideoSupport.c" +#line 8693 "VideoSupport.c" } -#line 955 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 973 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 8653 "VideoSupport.c" +#line 8697 "VideoSupport.c" } - __finally528: -#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" + __finally541: +#line 969 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 8658 "VideoSupport.c" +#line 8702 "VideoSupport.c" { VideoRow* _tmp20_ = NULL; -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp20_ = self->priv->backing_row; -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 8665 "VideoSupport.c" +#line 8709 "VideoSupport.c" } -#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 969 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 969 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 951 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 969 "/home/jens/Source/shotwell/src/VideoSupport.vala" return 0ULL; -#line 8673 "VideoSupport.c" +#line 8717 "VideoSupport.c" } -#line 958 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 976 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp21_ = self->priv->backing_row; -#line 958 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 976 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp22_ = new_flags; -#line 958 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 976 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp21_->flags = _tmp22_; -#line 8681 "VideoSupport.c" +#line 8725 "VideoSupport.c" } - __finally527: + __finally540: { VideoRow* _tmp23_ = NULL; -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp23_ = self->priv->backing_row; -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 8690 "VideoSupport.c" +#line 8734 "VideoSupport.c" } -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 946 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 964 "/home/jens/Source/shotwell/src/VideoSupport.vala" return 0ULL; -#line 8700 "VideoSupport.c" +#line 8744 "VideoSupport.c" } } -#line 961 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 979 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp24_ = additional_alteration; -#line 961 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 979 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_notify_flags_altered (self, _tmp24_); -#line 963 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 981 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = new_flags; -#line 963 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 981 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 8711 "VideoSupport.c" +#line 8755 "VideoSupport.c" } @@ -8720,18 +8764,18 @@ guint64 video_remove_flags (Video* self, guint64 flags_to_remove, Alteration* ad guint64 new_flags = 0ULL; Alteration* _tmp24_ = NULL; GError * _inner_error_ = NULL; -#line 966 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 984 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_VIDEO (self), 0ULL); -#line 966 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 984 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail ((additional_alteration == NULL) || IS_ALTERATION (additional_alteration), 0ULL); -#line 8724 "VideoSupport.c" +#line 8768 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 8731 "VideoSupport.c" +#line 8775 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; guint64 _tmp2_ = 0ULL; @@ -8742,240 +8786,240 @@ guint64 video_remove_flags (Video* self, guint64 flags_to_remove, Alteration* ad guint64 _tmp7_ = 0ULL; VideoRow* _tmp21_ = NULL; guint64 _tmp22_ = 0ULL; -#line 969 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 987 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 969 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 987 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->flags; -#line 969 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 987 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = flags_to_remove; -#line 969 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 987 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = media_source_internal_remove_flags (_tmp2_, _tmp3_); -#line 969 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 987 "/home/jens/Source/shotwell/src/VideoSupport.vala" new_flags = _tmp4_; -#line 970 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 988 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = self->priv->backing_row; -#line 970 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 988 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = _tmp5_->flags; -#line 970 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 988 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = new_flags; -#line 970 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 988 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp6_ == _tmp7_) { -#line 8760 "VideoSupport.c" +#line 8804 "VideoSupport.c" VideoRow* _tmp8_ = NULL; guint64 _tmp9_ = 0ULL; -#line 971 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 989 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = self->priv->backing_row; -#line 971 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 989 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = _tmp8_->flags; -#line 971 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 989 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp9_; -#line 8769 "VideoSupport.c" +#line 8813 "VideoSupport.c" { VideoRow* _tmp10_ = NULL; -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = self->priv->backing_row; -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 8776 "VideoSupport.c" +#line 8820 "VideoSupport.c" } -#line 971 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 989 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 8780 "VideoSupport.c" +#line 8824 "VideoSupport.c" } { VideoTable* _tmp11_ = NULL; VideoTable* _tmp12_ = NULL; VideoID _tmp13_ = {0}; guint64 _tmp14_ = 0ULL; -#line 974 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 992 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = video_table_get_instance (); -#line 974 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 992 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = _tmp11_; -#line 974 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 992 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_get_video_id (self, &_tmp13_); -#line 974 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 992 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp14_ = new_flags; -#line 974 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 992 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_table_set_flags (_tmp12_, &_tmp13_, _tmp14_, &_inner_error_); -#line 974 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 992 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp12_); -#line 974 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 992 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 974 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 992 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 8803 "VideoSupport.c" - goto __catch530_database_error; +#line 8847 "VideoSupport.c" + goto __catch543_database_error; } { VideoRow* _tmp15_ = NULL; -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp15_ = self->priv->backing_row; -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 8812 "VideoSupport.c" +#line 8856 "VideoSupport.c" } -#line 974 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 992 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 974 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 992 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 974 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 992 "/home/jens/Source/shotwell/src/VideoSupport.vala" return 0ULL; -#line 8820 "VideoSupport.c" +#line 8864 "VideoSupport.c" } } - goto __finally530; - __catch530_database_error: + goto __finally543; + __catch543_database_error: { GError* e = NULL; GError* _tmp16_ = NULL; VideoRow* _tmp17_ = NULL; guint64 _tmp18_ = 0ULL; -#line 973 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 991 "/home/jens/Source/shotwell/src/VideoSupport.vala" e = _inner_error_; -#line 973 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 991 "/home/jens/Source/shotwell/src/VideoSupport.vala" _inner_error_ = NULL; -#line 976 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 994 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp16_ = e; -#line 976 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 994 "/home/jens/Source/shotwell/src/VideoSupport.vala" app_window_database_error (_tmp16_); -#line 977 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 995 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp17_ = self->priv->backing_row; -#line 977 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 995 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp18_ = _tmp17_->flags; -#line 977 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 995 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp18_; -#line 977 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 995 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (e); -#line 8846 "VideoSupport.c" +#line 8890 "VideoSupport.c" { VideoRow* _tmp19_ = NULL; -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp19_ = self->priv->backing_row; -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 8853 "VideoSupport.c" +#line 8897 "VideoSupport.c" } -#line 977 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 995 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 8857 "VideoSupport.c" +#line 8901 "VideoSupport.c" } - __finally530: -#line 973 "/home/jens/Source/shotwell/src/VideoSupport.vala" + __finally543: +#line 991 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 8862 "VideoSupport.c" +#line 8906 "VideoSupport.c" { VideoRow* _tmp20_ = NULL; -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp20_ = self->priv->backing_row; -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 8869 "VideoSupport.c" +#line 8913 "VideoSupport.c" } -#line 973 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 991 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 973 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 991 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 973 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 991 "/home/jens/Source/shotwell/src/VideoSupport.vala" return 0ULL; -#line 8877 "VideoSupport.c" +#line 8921 "VideoSupport.c" } -#line 980 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp21_ = self->priv->backing_row; -#line 980 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp22_ = new_flags; -#line 980 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp21_->flags = _tmp22_; -#line 8885 "VideoSupport.c" +#line 8929 "VideoSupport.c" } - __finally529: + __finally542: { VideoRow* _tmp23_ = NULL; -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp23_ = self->priv->backing_row; -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 8894 "VideoSupport.c" +#line 8938 "VideoSupport.c" } -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 986 "/home/jens/Source/shotwell/src/VideoSupport.vala" return 0ULL; -#line 8904 "VideoSupport.c" +#line 8948 "VideoSupport.c" } } -#line 983 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1001 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp24_ = additional_alteration; -#line 983 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1001 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_notify_flags_altered (self, _tmp24_); -#line 985 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1003 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = new_flags; -#line 985 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1003 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 8915 "VideoSupport.c" +#line 8959 "VideoSupport.c" } gboolean video_is_flag_set (Video* self, guint64 flag) { gboolean result = FALSE; GError * _inner_error_ = NULL; -#line 988 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1006 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_VIDEO (self), FALSE); -#line 8924 "VideoSupport.c" +#line 8968 "VideoSupport.c" { VideoRow* _tmp0_ = NULL; -#line 989 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1007 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->backing_row; -#line 989 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1007 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 8931 "VideoSupport.c" +#line 8975 "VideoSupport.c" { VideoRow* _tmp1_ = NULL; guint64 _tmp2_ = 0ULL; guint64 _tmp3_ = 0ULL; gboolean _tmp4_ = FALSE; -#line 990 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1008 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = self->priv->backing_row; -#line 990 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1008 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_->flags; -#line 990 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1008 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = flag; -#line 990 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1008 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = media_source_internal_is_flag_set (_tmp2_, _tmp3_); -#line 990 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1008 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp4_; -#line 8947 "VideoSupport.c" +#line 8991 "VideoSupport.c" { VideoRow* _tmp5_ = NULL; -#line 989 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1007 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = self->priv->backing_row; -#line 989 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1007 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 8954 "VideoSupport.c" +#line 8998 "VideoSupport.c" } -#line 990 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1008 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 8958 "VideoSupport.c" +#line 9002 "VideoSupport.c" } - __finally531: + __finally544: { VideoRow* _tmp6_ = NULL; -#line 989 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1007 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = self->priv->backing_row; -#line 989 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1007 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 8967 "VideoSupport.c" +#line 9011 "VideoSupport.c" } -#line 989 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1007 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 989 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1007 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 989 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1007 "/home/jens/Source/shotwell/src/VideoSupport.vala" return FALSE; -#line 8975 "VideoSupport.c" +#line 9019 "VideoSupport.c" } } @@ -8994,27 +9038,27 @@ static void video_real_set_master_file (Monitorable* base, GFile* file) { Alteration* _tmp25_ = NULL; Alteration* _tmp26_ = NULL; GError * _inner_error_ = NULL; -#line 994 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1012 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO, Video); -#line 994 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1012 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (G_IS_FILE (file)); -#line 995 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1013 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = file; -#line 995 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1013 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = g_file_get_path (_tmp0_); -#line 995 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1013 "/home/jens/Source/shotwell/src/VideoSupport.vala" new_filepath = _tmp1_; -#line 996 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1014 "/home/jens/Source/shotwell/src/VideoSupport.vala" old_filepath = NULL; -#line 9006 "VideoSupport.c" +#line 9050 "VideoSupport.c" { { VideoRow* _tmp2_ = NULL; -#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = self->priv->backing_row; -#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_lock (&self->priv->__lock_backing_row); -#line 9014 "VideoSupport.c" +#line 9058 "VideoSupport.c" { VideoRow* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; @@ -9030,169 +9074,169 @@ static void video_real_set_master_file (Monitorable* base, GFile* file) { VideoRow* _tmp15_ = NULL; const gchar* _tmp16_ = NULL; gchar* _tmp17_ = NULL; -#line 999 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1017 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->priv->backing_row; -#line 999 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1017 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = _tmp3_->filepath; -#line 999 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1017 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = new_filepath; -#line 999 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1017 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (g_strcmp0 (_tmp4_, _tmp5_) == 0) { -#line 9038 "VideoSupport.c" +#line 9082 "VideoSupport.c" { VideoRow* _tmp6_ = NULL; -#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = self->priv->backing_row; -#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 9045 "VideoSupport.c" +#line 9089 "VideoSupport.c" } -#line 1000 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1018 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (old_filepath); -#line 1000 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1018 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_filepath); -#line 1000 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1018 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 9053 "VideoSupport.c" +#line 9097 "VideoSupport.c" } -#line 1002 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = self->priv->backing_row; -#line 1002 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = _tmp7_->filepath; -#line 1002 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = g_strdup (_tmp8_); -#line 1002 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (old_filepath); -#line 1002 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" old_filepath = _tmp9_; -#line 1004 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1022 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = video_table_get_instance (); -#line 1004 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1022 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = _tmp10_; -#line 1004 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1022 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = self->priv->backing_row; -#line 1004 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1022 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp13_ = _tmp12_->video_id; -#line 1004 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1022 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp14_ = new_filepath; -#line 1004 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1022 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_table_set_filepath (_tmp11_, &_tmp13_, _tmp14_, &_inner_error_); -#line 1004 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1022 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp11_); -#line 1004 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1022 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 9081 "VideoSupport.c" - goto __finally533; +#line 9125 "VideoSupport.c" + goto __finally546; } -#line 1005 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1023 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp15_ = self->priv->backing_row; -#line 1005 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1023 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp16_ = new_filepath; -#line 1005 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1023 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp17_ = g_strdup (_tmp16_); -#line 1005 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1023 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (_tmp15_->filepath); -#line 1005 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1023 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp15_->filepath = _tmp17_; -#line 9094 "VideoSupport.c" +#line 9138 "VideoSupport.c" } - __finally533: + __finally546: { VideoRow* _tmp18_ = NULL; -#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp18_ = self->priv->backing_row; -#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_unlock (&self->priv->__lock_backing_row); -#line 9103 "VideoSupport.c" +#line 9147 "VideoSupport.c" } -#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_inner_error_->domain == DATABASE_ERROR) { -#line 9109 "VideoSupport.c" - goto __catch532_database_error; +#line 9153 "VideoSupport.c" + goto __catch545_database_error; } -#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (old_filepath); -#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_filepath); -#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" 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); -#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 998 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 9122 "VideoSupport.c" +#line 9166 "VideoSupport.c" } } } - goto __finally532; - __catch532_database_error: + goto __finally545; + __catch545_database_error: { GError* err = NULL; GError* _tmp19_ = NULL; -#line 997 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1015 "/home/jens/Source/shotwell/src/VideoSupport.vala" err = _inner_error_; -#line 997 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1015 "/home/jens/Source/shotwell/src/VideoSupport.vala" _inner_error_ = NULL; -#line 1008 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1026 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp19_ = err; -#line 1008 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1026 "/home/jens/Source/shotwell/src/VideoSupport.vala" app_window_database_error (_tmp19_); -#line 1010 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1028 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (err); -#line 1010 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1028 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (old_filepath); -#line 1010 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1028 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_filepath); -#line 1010 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1028 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 9147 "VideoSupport.c" +#line 9191 "VideoSupport.c" } - __finally532: -#line 997 "/home/jens/Source/shotwell/src/VideoSupport.vala" + __finally545: +#line 1015 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 997 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1015 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (old_filepath); -#line 997 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1015 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_filepath); -#line 997 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1015 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 997 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1015 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_clear_error (&_inner_error_); -#line 997 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1015 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 9162 "VideoSupport.c" +#line 9206 "VideoSupport.c" } -#line 1013 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1031 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp20_ = old_filepath; -#line 1013 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1031 "/home/jens/Source/shotwell/src/VideoSupport.vala" _vala_assert (_tmp20_ != NULL, "old_filepath != null"); -#line 1014 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1032 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp21_ = old_filepath; -#line 1014 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1032 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp22_ = g_file_new_for_path (_tmp21_); -#line 1014 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1032 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp23_ = _tmp22_; -#line 1014 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1032 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp24_ = file; -#line 1014 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1032 "/home/jens/Source/shotwell/src/VideoSupport.vala" media_source_notify_master_replaced (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource), _tmp23_, _tmp24_); -#line 1014 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1032 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp23_); -#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1034 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp25_ = alteration_new_from_list ("backing:master,metadata:name"); -#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1034 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp26_ = _tmp25_; -#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1034 "/home/jens/Source/shotwell/src/VideoSupport.vala" data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp26_); -#line 1016 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1034 "/home/jens/Source/shotwell/src/VideoSupport.vala" _alteration_unref0 (_tmp26_); -#line 994 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1012 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (old_filepath); -#line 994 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1012 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_free0 (new_filepath); -#line 9192 "VideoSupport.c" +#line 9236 "VideoSupport.c" } @@ -9207,45 +9251,45 @@ VideoMetadata* video_read_metadata (Video* self, GError** error) { VideoMetadata* _tmp6_ = NULL; VideoMetadata* _tmp7_ = NULL; GError * _inner_error_ = NULL; -#line 1019 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1037 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_VIDEO (self), NULL); -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = media_source_get_file (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource)); -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = _tmp1_; -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = video_reader_new (_tmp2_); -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = _tmp3_; -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = video_reader_read_metadata (_tmp4_, &_inner_error_); -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = _tmp5_; -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" _video_reader_unref0 (_tmp4_); -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp2_); -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = _tmp6_; -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_propagate_error (error, _inner_error_); -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" return NULL; -#line 9233 "VideoSupport.c" +#line 9277 "VideoSupport.c" } -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = _tmp0_; -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = NULL; -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp7_; -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" _media_metadata_unref0 (_tmp0_); -#line 1020 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1038 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 9245 "VideoSupport.c" +#line 9289 "VideoSupport.c" } @@ -9267,14 +9311,14 @@ VideoInterpretableResults* video_interpretable_results_construct (GType object_t self->video = _tmp1_; #line 320 "/home/jens/Source/shotwell/src/VideoSupport.vala" return self; -#line 9267 "VideoSupport.c" +#line 9311 "VideoSupport.c" } VideoInterpretableResults* video_interpretable_results_new (Video* video) { #line 320 "/home/jens/Source/shotwell/src/VideoSupport.vala" return video_interpretable_results_construct (VIDEO_TYPE_INTERPRETABLE_RESULTS, video); -#line 9274 "VideoSupport.c" +#line 9318 "VideoSupport.c" } @@ -9288,7 +9332,7 @@ void video_interpretable_results_foreground_finish (VideoInterpretableResults* s _tmp0_ = self->update_interpretable; #line 325 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp0_) { -#line 9288 "VideoSupport.c" +#line 9332 "VideoSupport.c" Video* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 326 "/home/jens/Source/shotwell/src/VideoSupport.vala" @@ -9297,13 +9341,13 @@ void video_interpretable_results_foreground_finish (VideoInterpretableResults* s _tmp2_ = self->is_interpretable; #line 326 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_set_is_interpretable (_tmp1_, _tmp2_); -#line 9297 "VideoSupport.c" +#line 9341 "VideoSupport.c" } #line 328 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = self->new_thumbnail; #line 328 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp3_ != NULL) { -#line 9303 "VideoSupport.c" +#line 9347 "VideoSupport.c" { Video* _tmp4_ = NULL; GdkPixbuf* _tmp5_ = NULL; @@ -9318,8 +9362,8 @@ void video_interpretable_results_foreground_finish (VideoInterpretableResults* s thumbnail_cache_replace (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), THUMBNAIL_CACHE_SIZE_BIG, _tmp5_, &_inner_error_); #line 330 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 9318 "VideoSupport.c" - goto __catch534_g_error; +#line 9362 "VideoSupport.c" + goto __catch547_g_error; } #line 331 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = self->video; @@ -9329,17 +9373,17 @@ void video_interpretable_results_foreground_finish (VideoInterpretableResults* s thumbnail_cache_replace (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), THUMBNAIL_CACHE_SIZE_MEDIUM, _tmp7_, &_inner_error_); #line 331 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 9329 "VideoSupport.c" - goto __catch534_g_error; +#line 9373 "VideoSupport.c" + goto __catch547_g_error; } #line 333 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = self->video; #line 333 "/home/jens/Source/shotwell/src/VideoSupport.vala" thumbnail_source_notify_thumbnail_altered (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource)); -#line 9336 "VideoSupport.c" +#line 9380 "VideoSupport.c" } - goto __finally534; - __catch534_g_error: + goto __finally547; + __catch547_g_error: { GError* err = NULL; Video* _tmp9_ = NULL; @@ -9367,9 +9411,9 @@ void video_interpretable_results_foreground_finish (VideoInterpretableResults* s _g_free0 (_tmp11_); #line 329 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_error_free0 (err); -#line 9367 "VideoSupport.c" +#line 9411 "VideoSupport.c" } - __finally534: + __finally547: #line 329 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 329 "/home/jens/Source/shotwell/src/VideoSupport.vala" @@ -9378,7 +9422,7 @@ void video_interpretable_results_foreground_finish (VideoInterpretableResults* s g_clear_error (&_inner_error_); #line 329 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 9378 "VideoSupport.c" +#line 9422 "VideoSupport.c" } } } @@ -9387,7 +9431,7 @@ void video_interpretable_results_foreground_finish (VideoInterpretableResults* s static void video_value_interpretable_results_init (GValue* value) { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" value->data[0].v_pointer = NULL; -#line 9387 "VideoSupport.c" +#line 9431 "VideoSupport.c" } @@ -9396,7 +9440,7 @@ static void video_value_interpretable_results_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_interpretable_results_unref (value->data[0].v_pointer); -#line 9396 "VideoSupport.c" +#line 9440 "VideoSupport.c" } } @@ -9406,11 +9450,11 @@ static void video_value_interpretable_results_copy_value (const GValue* src_valu if (src_value->data[0].v_pointer) { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" dest_value->data[0].v_pointer = video_interpretable_results_ref (src_value->data[0].v_pointer); -#line 9406 "VideoSupport.c" +#line 9450 "VideoSupport.c" } else { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" dest_value->data[0].v_pointer = NULL; -#line 9410 "VideoSupport.c" +#line 9454 "VideoSupport.c" } } @@ -9418,37 +9462,37 @@ static void video_value_interpretable_results_copy_value (const GValue* src_valu static gpointer video_value_interpretable_results_peek_pointer (const GValue* value) { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" return value->data[0].v_pointer; -#line 9418 "VideoSupport.c" +#line 9462 "VideoSupport.c" } static gchar* video_value_interpretable_results_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (collect_values[0].v_pointer) { -#line 9425 "VideoSupport.c" +#line 9469 "VideoSupport.c" VideoInterpretableResults* object; object = collect_values[0].v_pointer; #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (object->parent_instance.g_class == NULL) { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 9432 "VideoSupport.c" +#line 9476 "VideoSupport.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 9436 "VideoSupport.c" +#line 9480 "VideoSupport.c" } #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" value->data[0].v_pointer = video_interpretable_results_ref (object); -#line 9440 "VideoSupport.c" +#line 9484 "VideoSupport.c" } else { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" value->data[0].v_pointer = NULL; -#line 9444 "VideoSupport.c" +#line 9488 "VideoSupport.c" } #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" return NULL; -#line 9448 "VideoSupport.c" +#line 9492 "VideoSupport.c" } @@ -9459,25 +9503,25 @@ static gchar* video_value_interpretable_results_lcopy_value (const GValue* value if (!object_p) { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 9459 "VideoSupport.c" +#line 9503 "VideoSupport.c" } #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (!value->data[0].v_pointer) { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" *object_p = NULL; -#line 9465 "VideoSupport.c" +#line 9509 "VideoSupport.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" *object_p = value->data[0].v_pointer; -#line 9469 "VideoSupport.c" +#line 9513 "VideoSupport.c" } else { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" *object_p = video_interpretable_results_ref (value->data[0].v_pointer); -#line 9473 "VideoSupport.c" +#line 9517 "VideoSupport.c" } #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" return NULL; -#line 9477 "VideoSupport.c" +#line 9521 "VideoSupport.c" } @@ -9491,7 +9535,7 @@ GParamSpec* video_param_spec_interpretable_results (const gchar* name, const gch G_PARAM_SPEC (spec)->value_type = object_type; #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" return G_PARAM_SPEC (spec); -#line 9491 "VideoSupport.c" +#line 9535 "VideoSupport.c" } @@ -9500,7 +9544,7 @@ gpointer video_value_get_interpretable_results (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, VIDEO_TYPE_INTERPRETABLE_RESULTS), NULL); #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" return value->data[0].v_pointer; -#line 9500 "VideoSupport.c" +#line 9544 "VideoSupport.c" } @@ -9520,17 +9564,17 @@ void video_value_set_interpretable_results (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_interpretable_results_ref (value->data[0].v_pointer); -#line 9520 "VideoSupport.c" +#line 9564 "VideoSupport.c" } else { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" value->data[0].v_pointer = NULL; -#line 9524 "VideoSupport.c" +#line 9568 "VideoSupport.c" } #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (old) { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_interpretable_results_unref (old); -#line 9530 "VideoSupport.c" +#line 9574 "VideoSupport.c" } } @@ -9549,17 +9593,17 @@ void video_value_take_interpretable_results (GValue* value, gpointer v_object) { g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" value->data[0].v_pointer = v_object; -#line 9549 "VideoSupport.c" +#line 9593 "VideoSupport.c" } else { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" value->data[0].v_pointer = NULL; -#line 9553 "VideoSupport.c" +#line 9597 "VideoSupport.c" } #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (old) { #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_interpretable_results_unref (old); -#line 9559 "VideoSupport.c" +#line 9603 "VideoSupport.c" } } @@ -9569,7 +9613,7 @@ static void video_interpretable_results_class_init (VideoInterpretableResultsCla video_interpretable_results_parent_class = g_type_class_peek_parent (klass); #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" ((VideoInterpretableResultsClass *) klass)->finalize = video_interpretable_results_finalize; -#line 9569 "VideoSupport.c" +#line 9613 "VideoSupport.c" } @@ -9582,7 +9626,7 @@ static void video_interpretable_results_instance_init (VideoInterpretableResults self->new_thumbnail = NULL; #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" self->ref_count = 1; -#line 9582 "VideoSupport.c" +#line 9626 "VideoSupport.c" } @@ -9596,7 +9640,7 @@ static void video_interpretable_results_finalize (VideoInterpretableResults* obj _g_object_unref0 (self->video); #line 318 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (self->new_thumbnail); -#line 9596 "VideoSupport.c" +#line 9640 "VideoSupport.c" } @@ -9621,7 +9665,7 @@ gpointer video_interpretable_results_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" return instance; -#line 9621 "VideoSupport.c" +#line 9665 "VideoSupport.c" } @@ -9634,7 +9678,7 @@ void video_interpretable_results_unref (gpointer instance) { VIDEO_INTERPRETABLE_RESULTS_GET_CLASS (self)->finalize (self); #line 314 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_type_free_instance ((GTypeInstance *) self); -#line 9634 "VideoSupport.c" +#line 9678 "VideoSupport.c" } } @@ -9718,7 +9762,7 @@ static void video_class_init (VideoClass * klass) { ((DataSourceClass *) klass)->internal_delete_backing = video_real_internal_delete_backing; #line 307 "/home/jens/Source/shotwell/src/VideoSupport.vala" G_OBJECT_CLASS (klass)->finalize = video_finalize; -#line 9718 "VideoSupport.c" +#line 9762 "VideoSupport.c" } @@ -9731,7 +9775,7 @@ static void video_flaggable_interface_init (FlaggableIface * iface) { iface->mark_flagged = (void (*)(Flaggable*)) video_real_mark_flagged; #line 307 "/home/jens/Source/shotwell/src/VideoSupport.vala" iface->mark_unflagged = (void (*)(Flaggable*)) video_real_mark_unflagged; -#line 9731 "VideoSupport.c" +#line 9775 "VideoSupport.c" } @@ -9748,7 +9792,7 @@ static void video_monitorable_interface_init (MonitorableIface * iface) { iface->set_master_timestamp = (void (*)(Monitorable*, GFileInfo*)) video_real_set_master_timestamp; #line 307 "/home/jens/Source/shotwell/src/VideoSupport.vala" iface->set_master_file = (void (*)(Monitorable*, GFile*)) video_real_set_master_file; -#line 9748 "VideoSupport.c" +#line 9792 "VideoSupport.c" } @@ -9759,7 +9803,7 @@ static void video_dateable_interface_init (DateableIface * iface) { iface->get_exposure_time = (time_t (*)(Dateable*)) video_real_get_exposure_time; #line 307 "/home/jens/Source/shotwell/src/VideoSupport.vala" iface->set_exposure_time = (void (*)(Dateable*, time_t)) video_real_set_exposure_time; -#line 9759 "VideoSupport.c" +#line 9803 "VideoSupport.c" } @@ -9768,7 +9812,7 @@ static void video_instance_init (Video * self) { self->priv = VIDEO_GET_PRIVATE (self); #line 348 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_rec_mutex_init (&self->priv->__lock_backing_row); -#line 9768 "VideoSupport.c" +#line 9812 "VideoSupport.c" } @@ -9782,7 +9826,7 @@ static void video_finalize (GObject* obj) { _video_row_unref0 (self->priv->backing_row); #line 307 "/home/jens/Source/shotwell/src/VideoSupport.vala" G_OBJECT_CLASS (video_parent_class)->finalize (obj); -#line 9782 "VideoSupport.c" +#line 9826 "VideoSupport.c" } @@ -9819,44 +9863,44 @@ GType video_source_collection_state_get_type (void) { static gint _uint64_compare_gcompare_data_func (gconstpointer a, gconstpointer b, gpointer self) { gint result; result = uint64_compare ((guint64*) a, (guint64*) b); -#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1060 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 9821 "VideoSupport.c" +#line 9865 "VideoSupport.c" } static guint64* _uint64_dup (guint64* self) { guint64* dup; -#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1060 "/home/jens/Source/shotwell/src/VideoSupport.vala" dup = g_new0 (guint64, 1); -#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1060 "/home/jens/Source/shotwell/src/VideoSupport.vala" memcpy (dup, self, sizeof (guint64)); -#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1060 "/home/jens/Source/shotwell/src/VideoSupport.vala" return dup; -#line 9833 "VideoSupport.c" +#line 9877 "VideoSupport.c" } static gint64 _video_source_collection_get_video_key_get_source_database_key (DataSource* source, gpointer self) { gint64 result; result = video_source_collection_get_video_key (source); -#line 1046 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1064 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 9842 "VideoSupport.c" +#line 9886 "VideoSupport.c" } static void _video_source_collection_on_trashcan_contents_altered_source_holding_tank_contents_altered (SourceHoldingTank* _sender, GeeCollection* added, GeeCollection* removed, gpointer self) { -#line 1048 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1066 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_source_collection_on_trashcan_contents_altered ((VideoSourceCollection*) self, added, removed); -#line 9849 "VideoSupport.c" +#line 9893 "VideoSupport.c" } static void _video_source_collection_on_offline_contents_altered_source_holding_tank_contents_altered (SourceHoldingTank* _sender, GeeCollection* added, GeeCollection* removed, gpointer self) { -#line 1049 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1067 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_source_collection_on_offline_contents_altered ((VideoSourceCollection*) self, added, removed); -#line 9856 "VideoSupport.c" +#line 9900 "VideoSupport.c" } @@ -9866,43 +9910,43 @@ VideoSourceCollection* video_source_collection_construct (GType object_type) { MediaSourceHoldingTank* _tmp1_ = NULL; MediaSourceHoldingTank* _tmp2_ = NULL; MediaSourceHoldingTank* _tmp3_ = NULL; -#line 1046 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1064 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = (VideoSourceCollection*) media_source_collection_construct (object_type, "VideoSourceCollection", _video_source_collection_get_video_key_get_source_database_key, NULL); -#line 1048 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1066 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = media_source_collection_get_trashcan (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection)); -#line 1048 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1066 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _tmp0_; -#line 1048 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1066 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_SOURCE_HOLDING_TANK, SourceHoldingTank), "contents-altered", (GCallback) _video_source_collection_on_trashcan_contents_altered_source_holding_tank_contents_altered, self); -#line 1048 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1066 "/home/jens/Source/shotwell/src/VideoSupport.vala" _source_holding_tank_unref0 (_tmp1_); -#line 1049 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1067 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = media_source_collection_get_offline_bin (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection)); -#line 1049 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1067 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = _tmp2_; -#line 1049 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1067 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_SOURCE_HOLDING_TANK, SourceHoldingTank), "contents-altered", (GCallback) _video_source_collection_on_offline_contents_altered_source_holding_tank_contents_altered, self); -#line 1049 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1067 "/home/jens/Source/shotwell/src/VideoSupport.vala" _source_holding_tank_unref0 (_tmp3_); -#line 1045 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1063 "/home/jens/Source/shotwell/src/VideoSupport.vala" return self; -#line 9886 "VideoSupport.c" +#line 9930 "VideoSupport.c" } VideoSourceCollection* video_source_collection_new (void) { -#line 1045 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1063 "/home/jens/Source/shotwell/src/VideoSupport.vala" return video_source_collection_construct (TYPE_VIDEO_SOURCE_COLLECTION); -#line 9893 "VideoSupport.c" +#line 9937 "VideoSupport.c" } static gboolean _video_source_collection_is_video_trashed_source_holding_tank_check_to_keep (DataSource* source, Alteration* alteration, gpointer self) { gboolean result; result = video_source_collection_is_video_trashed (source); -#line 1053 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1071 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 9902 "VideoSupport.c" +#line 9946 "VideoSupport.c" } @@ -9910,24 +9954,24 @@ static MediaSourceHoldingTank* video_source_collection_real_create_trashcan (Med VideoSourceCollection * self; MediaSourceHoldingTank* result = NULL; MediaSourceHoldingTank* _tmp0_ = NULL; -#line 1052 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1070 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO_SOURCE_COLLECTION, VideoSourceCollection); -#line 1053 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1071 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = media_source_holding_tank_new (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), _video_source_collection_is_video_trashed_source_holding_tank_check_to_keep, NULL, _video_source_collection_get_video_key_get_source_database_key, NULL); -#line 1053 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1071 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp0_; -#line 1053 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1071 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 9918 "VideoSupport.c" +#line 9962 "VideoSupport.c" } static gboolean _video_source_collection_is_video_offline_source_holding_tank_check_to_keep (DataSource* source, Alteration* alteration, gpointer self) { gboolean result; result = video_source_collection_is_video_offline (source); -#line 1057 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1075 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 9927 "VideoSupport.c" +#line 9971 "VideoSupport.c" } @@ -9935,15 +9979,15 @@ static MediaSourceHoldingTank* video_source_collection_real_create_offline_bin ( VideoSourceCollection * self; MediaSourceHoldingTank* result = NULL; MediaSourceHoldingTank* _tmp0_ = NULL; -#line 1056 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1074 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO_SOURCE_COLLECTION, VideoSourceCollection); -#line 1057 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1075 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = media_source_holding_tank_new (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), _video_source_collection_is_video_offline_source_holding_tank_check_to_keep, NULL, _video_source_collection_get_video_key_get_source_database_key, NULL); -#line 1057 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1075 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp0_; -#line 1057 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1075 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 9943 "VideoSupport.c" +#line 9987 "VideoSupport.c" } @@ -9952,21 +9996,21 @@ static MediaMonitor* video_source_collection_real_create_media_monitor (MediaSou MediaMonitor* result = NULL; GCancellable* _tmp0_ = NULL; VideoMonitor* _tmp1_ = NULL; -#line 1060 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1078 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO_SOURCE_COLLECTION, VideoSourceCollection); -#line 1060 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1078 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_WORKERS (workers), NULL); -#line 1060 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1078 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (G_IS_CANCELLABLE (cancellable), NULL); -#line 1061 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1079 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = cancellable; -#line 1061 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1079 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = video_monitor_new (_tmp0_); -#line 1061 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1079 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_MEDIA_MONITOR, MediaMonitor); -#line 1061 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1079 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 9966 "VideoSupport.c" +#line 10010 "VideoSupport.c" } @@ -9974,17 +10018,17 @@ static gboolean video_source_collection_real_holds_type_of_source (SourceCollect VideoSourceCollection * self; gboolean result = FALSE; DataSource* _tmp0_ = NULL; -#line 1064 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1082 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO_SOURCE_COLLECTION, VideoSourceCollection); -#line 1064 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1082 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_DATA_SOURCE (source), FALSE); -#line 1065 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1083 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = source; -#line 1065 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1083 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_VIDEO); -#line 1065 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1083 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 9984 "VideoSupport.c" +#line 10028 "VideoSupport.c" } @@ -9992,15 +10036,15 @@ static gchar* video_source_collection_real_get_typename (MediaSourceCollection* VideoSourceCollection * self; gchar* result = NULL; gchar* _tmp0_ = NULL; -#line 1068 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1086 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO_SOURCE_COLLECTION, VideoSourceCollection); -#line 1069 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1087 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = g_strdup (VIDEO_TYPENAME); -#line 1069 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1087 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp0_; -#line 1069 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1087 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 10000 "VideoSupport.c" +#line 10044 "VideoSupport.c" } @@ -10009,57 +10053,57 @@ static gboolean video_source_collection_real_is_file_recognized (MediaSourceColl gboolean result = FALSE; GFile* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; -#line 1072 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1090 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO_SOURCE_COLLECTION, VideoSourceCollection); -#line 1072 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1090 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (G_IS_FILE (file), FALSE); -#line 1073 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1091 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = file; -#line 1073 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1091 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = video_reader_is_supported_video_file (_tmp0_); -#line 1073 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1091 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp1_; -#line 1073 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1091 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 10021 "VideoSupport.c" +#line 10065 "VideoSupport.c" } static void video_source_collection_on_trashcan_contents_altered (VideoSourceCollection* self, GeeCollection* added, GeeCollection* removed) { GeeCollection* _tmp0_ = NULL; GeeCollection* _tmp1_ = NULL; -#line 1076 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1094 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (IS_VIDEO_SOURCE_COLLECTION (self)); -#line 1076 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1094 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail ((added == NULL) || GEE_IS_COLLECTION (added)); -#line 1076 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1094 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail ((removed == NULL) || GEE_IS_COLLECTION (removed)); -#line 1078 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1096 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = added; -#line 1078 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1096 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = removed; -#line 1078 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1096 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), "trashcan-contents-altered", G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 10040 "VideoSupport.c" +#line 10084 "VideoSupport.c" } static void video_source_collection_on_offline_contents_altered (VideoSourceCollection* self, GeeCollection* added, GeeCollection* removed) { GeeCollection* _tmp0_ = NULL; GeeCollection* _tmp1_ = NULL; -#line 1082 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1100 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (IS_VIDEO_SOURCE_COLLECTION (self)); -#line 1082 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1100 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail ((added == NULL) || GEE_IS_COLLECTION (added)); -#line 1082 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1100 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail ((removed == NULL) || GEE_IS_COLLECTION (removed)); -#line 1084 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1102 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = added; -#line 1084 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1102 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = removed; -#line 1084 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1102 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), "offline-contents-altered", G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 10059 "VideoSupport.c" +#line 10103 "VideoSupport.c" } @@ -10069,19 +10113,19 @@ static MediaSource* video_source_collection_real_fetch_by_numeric_id (MediaSourc gint64 _tmp0_ = 0LL; VideoID _tmp1_ = {0}; Video* _tmp2_ = NULL; -#line 1088 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1106 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO_SOURCE_COLLECTION, VideoSourceCollection); -#line 1089 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1107 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = numeric_id; -#line 1089 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1107 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_id_init (&_tmp1_, _tmp0_); -#line 1089 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1107 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = video_source_collection_fetch (self, &_tmp1_); -#line 1089 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1107 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_MEDIA_SOURCE, MediaSource); -#line 1089 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1107 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 10081 "VideoSupport.c" +#line 10125 "VideoSupport.c" } @@ -10094,29 +10138,29 @@ gint64 video_source_collection_get_video_key (DataSource* source) { VideoID _tmp2_ = {0}; VideoID _tmp3_ = {0}; gint64 _tmp4_ = 0LL; -#line 1092 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1110 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_DATA_SOURCE (source), 0LL); -#line 1093 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1111 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = source; -#line 1093 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1111 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_VIDEO, Video)); -#line 1093 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1111 "/home/jens/Source/shotwell/src/VideoSupport.vala" video = _tmp1_; -#line 1094 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1112 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_get_video_id (video, &_tmp2_); -#line 1094 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1112 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_id = _tmp2_; -#line 1096 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1114 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = video_id; -#line 1096 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1114 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = _tmp3_.id; -#line 1096 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1114 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp4_; -#line 1096 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1114 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (video); -#line 1096 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1114 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 10116 "VideoSupport.c" +#line 10160 "VideoSupport.c" } @@ -10124,17 +10168,17 @@ gboolean video_source_collection_is_video_trashed (DataSource* source) { gboolean result = FALSE; DataSource* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; -#line 1099 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1117 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_DATA_SOURCE (source), FALSE); -#line 1100 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1118 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = source; -#line 1100 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1118 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = media_source_is_trashed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_VIDEO, Video), TYPE_MEDIA_SOURCE, MediaSource)); -#line 1100 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1118 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp1_; -#line 1100 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1118 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 10134 "VideoSupport.c" +#line 10178 "VideoSupport.c" } @@ -10142,17 +10186,17 @@ gboolean video_source_collection_is_video_offline (DataSource* source) { gboolean result = FALSE; DataSource* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; -#line 1103 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1121 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_DATA_SOURCE (source), FALSE); -#line 1104 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1122 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = source; -#line 1104 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1122 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = media_source_is_offline (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_VIDEO, Video), TYPE_MEDIA_SOURCE, MediaSource)); -#line 1104 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1122 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp1_; -#line 1104 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1122 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 10152 "VideoSupport.c" +#line 10196 "VideoSupport.c" } @@ -10161,21 +10205,21 @@ Video* video_source_collection_fetch (VideoSourceCollection* self, VideoID* vide VideoID _tmp0_ = {0}; gint64 _tmp1_ = 0LL; DataSource* _tmp2_ = NULL; -#line 1107 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1125 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_VIDEO_SOURCE_COLLECTION (self), NULL); -#line 1107 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1125 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (video_id != NULL, NULL); -#line 1108 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1126 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = *video_id; -#line 1108 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1126 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _tmp0_.id; -#line 1108 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1126 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = database_source_collection_fetch_by_key (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATABASE_SOURCE_COLLECTION, DatabaseSourceCollection), _tmp1_); -#line 1108 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1126 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_VIDEO, Video); -#line 1108 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1126 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 10175 "VideoSupport.c" +#line 10219 "VideoSupport.c" } @@ -10187,27 +10231,27 @@ static GeeCollection* video_source_collection_real_get_event_source_ids (MediaSo EventID _tmp2_ = {0}; GeeArrayList* _tmp3_ = NULL; GeeCollection* _tmp4_ = NULL; -#line 1111 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1129 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO_SOURCE_COLLECTION, VideoSourceCollection); -#line 1111 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1129 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (event_id != NULL, NULL); -#line 1112 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1130 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = video_table_get_instance (); -#line 1112 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1130 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _tmp0_; -#line 1112 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1130 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = *event_id; -#line 1112 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1130 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = video_table_get_event_source_ids (_tmp1_, &_tmp2_); -#line 1112 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1130 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection); -#line 1112 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1130 "/home/jens/Source/shotwell/src/VideoSupport.vala" _database_table_unref0 (_tmp1_); -#line 1112 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1130 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp4_; -#line 1112 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1130 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 10207 "VideoSupport.c" +#line 10251 "VideoSupport.c" } @@ -10228,113 +10272,113 @@ Video* video_source_collection_get_state_by_file (VideoSourceCollection* self, G GFile* _tmp10_ = NULL; MediaSource* _tmp11_ = NULL; Video* _tmp12_ = NULL; -#line 1115 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1133 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_VIDEO_SOURCE_COLLECTION (self), NULL); -#line 1115 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1133 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (G_IS_FILE (file), NULL); -#line 1116 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1134 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = file; -#line 1116 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1134 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = media_source_collection_fetch_by_master_file (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), _tmp0_); -#line 1116 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1134 "/home/jens/Source/shotwell/src/VideoSupport.vala" video = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_VIDEO, Video); -#line 1117 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1135 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = video; -#line 1117 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1135 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp2_ != NULL) { -#line 1118 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1136 "/home/jens/Source/shotwell/src/VideoSupport.vala" _vala_state = VIDEO_SOURCE_COLLECTION_STATE_ONLINE; -#line 1120 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1138 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = video; -#line 1120 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1138 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (state) { -#line 1120 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1138 "/home/jens/Source/shotwell/src/VideoSupport.vala" *state = _vala_state; -#line 10250 "VideoSupport.c" +#line 10294 "VideoSupport.c" } -#line 1120 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1138 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 10254 "VideoSupport.c" +#line 10298 "VideoSupport.c" } -#line 1123 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1141 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = media_source_collection_get_trashcan (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection)); -#line 1123 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1141 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = _tmp3_; -#line 1123 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1141 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = file; -#line 1123 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1141 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = media_source_holding_tank_fetch_by_master_file (_tmp4_, _tmp5_); -#line 1123 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1141 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (video); -#line 1123 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1141 "/home/jens/Source/shotwell/src/VideoSupport.vala" video = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_VIDEO, Video); -#line 1123 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1141 "/home/jens/Source/shotwell/src/VideoSupport.vala" _source_holding_tank_unref0 (_tmp4_); -#line 1124 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1142 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = video; -#line 1124 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1142 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp7_ != NULL) { -#line 1125 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1143 "/home/jens/Source/shotwell/src/VideoSupport.vala" _vala_state = VIDEO_SOURCE_COLLECTION_STATE_TRASH; -#line 1127 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1145 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = video; -#line 1127 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1145 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (state) { -#line 1127 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1145 "/home/jens/Source/shotwell/src/VideoSupport.vala" *state = _vala_state; -#line 10282 "VideoSupport.c" +#line 10326 "VideoSupport.c" } -#line 1127 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1145 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 10286 "VideoSupport.c" +#line 10330 "VideoSupport.c" } -#line 1130 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1148 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = media_source_collection_get_offline_bin (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection)); -#line 1130 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1148 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = _tmp8_; -#line 1130 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1148 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = file; -#line 1130 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1148 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = media_source_holding_tank_fetch_by_master_file (_tmp9_, _tmp10_); -#line 1130 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1148 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (video); -#line 1130 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1148 "/home/jens/Source/shotwell/src/VideoSupport.vala" video = G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_VIDEO, Video); -#line 1130 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1148 "/home/jens/Source/shotwell/src/VideoSupport.vala" _source_holding_tank_unref0 (_tmp9_); -#line 1131 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1149 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = video; -#line 1131 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1149 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp12_ != NULL) { -#line 1132 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1150 "/home/jens/Source/shotwell/src/VideoSupport.vala" _vala_state = VIDEO_SOURCE_COLLECTION_STATE_OFFLINE; -#line 1134 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1152 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = video; -#line 1134 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1152 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (state) { -#line 1134 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1152 "/home/jens/Source/shotwell/src/VideoSupport.vala" *state = _vala_state; -#line 10314 "VideoSupport.c" +#line 10358 "VideoSupport.c" } -#line 1134 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1152 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 10318 "VideoSupport.c" +#line 10362 "VideoSupport.c" } -#line 1137 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1155 "/home/jens/Source/shotwell/src/VideoSupport.vala" _vala_state = VIDEO_SOURCE_COLLECTION_STATE_UNKNOWN; -#line 1139 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1157 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = NULL; -#line 1139 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1157 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (video); -#line 1139 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1157 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (state) { -#line 1139 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1157 "/home/jens/Source/shotwell/src/VideoSupport.vala" *state = _vala_state; -#line 10330 "VideoSupport.c" +#line 10374 "VideoSupport.c" } -#line 1139 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1157 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 10334 "VideoSupport.c" +#line 10378 "VideoSupport.c" } @@ -10348,83 +10392,83 @@ static void video_source_collection_compare_backing (VideoSourceCollection* self GFileInfo* _tmp6_ = NULL; GTimeVal _tmp7_ = {0}; glong _tmp8_ = 0L; -#line 1142 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1160 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (IS_VIDEO_SOURCE_COLLECTION (self)); -#line 1142 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1160 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (IS_VIDEO (video)); -#line 1142 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1160 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (G_IS_FILE_INFO (info)); -#line 1142 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1160 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (GEE_IS_COLLECTION (matching_master)); -#line 1143 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = video; -#line 1143 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = media_source_get_filesize (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_MEDIA_SOURCE, MediaSource)); -#line 1143 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = info; -#line 1143 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = g_file_info_get_size (_tmp2_); -#line 1143 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp1_ != ((guint64) _tmp3_)) { -#line 1144 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1162 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 10368 "VideoSupport.c" +#line 10412 "VideoSupport.c" } -#line 1146 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1164 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = video; -#line 1146 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1164 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = media_source_get_timestamp (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_MEDIA_SOURCE, MediaSource)); -#line 1146 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1164 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = info; -#line 1146 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1164 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_file_info_get_modification_time (_tmp6_, &_tmp7_); -#line 1146 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1164 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = _tmp7_.tv_sec; -#line 1146 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1164 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp5_ == ((time_t) _tmp8_)) { -#line 10382 "VideoSupport.c" +#line 10426 "VideoSupport.c" GeeCollection* _tmp9_ = NULL; Video* _tmp10_ = NULL; -#line 1147 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1165 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = matching_master; -#line 1147 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1165 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = video; -#line 1147 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1165 "/home/jens/Source/shotwell/src/VideoSupport.vala" gee_collection_add (_tmp9_, _tmp10_); -#line 10391 "VideoSupport.c" +#line 10435 "VideoSupport.c" } } void video_source_collection_fetch_by_matching_backing (VideoSourceCollection* self, GFileInfo* info, GeeCollection* matching_master) { -#line 1150 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1168 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (IS_VIDEO_SOURCE_COLLECTION (self)); -#line 1150 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1168 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (G_IS_FILE_INFO (info)); -#line 1150 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1168 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (GEE_IS_COLLECTION (matching_master)); -#line 10403 "VideoSupport.c" +#line 10447 "VideoSupport.c" { GeeIterator* _object_it = NULL; GeeCollection* _tmp0_ = NULL; GeeCollection* _tmp1_ = NULL; GeeIterator* _tmp2_ = NULL; GeeIterator* _tmp3_ = NULL; -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = data_collection_get_all (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection)); -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = _tmp0_; -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = _tmp2_; -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp1_); -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" _object_it = _tmp3_; -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" while (TRUE) { -#line 10424 "VideoSupport.c" +#line 10468 "VideoSupport.c" GeeIterator* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; DataObject* object = NULL; @@ -10433,37 +10477,37 @@ void video_source_collection_fetch_by_matching_backing (VideoSourceCollection* s DataObject* _tmp8_ = NULL; GFileInfo* _tmp9_ = NULL; GeeCollection* _tmp10_ = NULL; -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = _object_it; -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = gee_iterator_next (_tmp4_); -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (!_tmp5_) { -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" break; -#line 10441 "VideoSupport.c" +#line 10485 "VideoSupport.c" } -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = _object_it; -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = gee_iterator_get (_tmp6_); -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" object = (DataObject*) _tmp7_; -#line 1152 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1170 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = object; -#line 1152 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1170 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = info; -#line 1152 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1170 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = matching_master; -#line 1152 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1170 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_source_collection_compare_backing (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_VIDEO, Video), _tmp9_, _tmp10_); -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (object); -#line 10459 "VideoSupport.c" +#line 10503 "VideoSupport.c" } -#line 1151 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_object_it); -#line 10463 "VideoSupport.c" +#line 10507 "VideoSupport.c" } { GeeIterator* _media_it = NULL; @@ -10471,21 +10515,21 @@ void video_source_collection_fetch_by_matching_backing (VideoSourceCollection* s GeeCollection* _tmp12_ = NULL; GeeIterator* _tmp13_ = NULL; GeeIterator* _tmp14_ = NULL; -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = media_source_collection_get_offline_bin_contents (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection)); -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = _tmp11_; -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp13_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp14_ = _tmp13_; -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp12_); -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" _media_it = _tmp14_; -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" while (TRUE) { -#line 10485 "VideoSupport.c" +#line 10529 "VideoSupport.c" GeeIterator* _tmp15_ = NULL; gboolean _tmp16_ = FALSE; MediaSource* media = NULL; @@ -10494,37 +10538,37 @@ void video_source_collection_fetch_by_matching_backing (VideoSourceCollection* s MediaSource* _tmp19_ = NULL; GFileInfo* _tmp20_ = NULL; GeeCollection* _tmp21_ = NULL; -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp15_ = _media_it; -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp16_ = gee_iterator_next (_tmp15_); -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (!_tmp16_) { -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" break; -#line 10502 "VideoSupport.c" +#line 10546 "VideoSupport.c" } -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp17_ = _media_it; -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp18_ = gee_iterator_get (_tmp17_); -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" media = (MediaSource*) _tmp18_; -#line 1155 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1173 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp19_ = media; -#line 1155 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1173 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp20_ = info; -#line 1155 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1173 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp21_ = matching_master; -#line 1155 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1173 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_source_collection_compare_backing (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_VIDEO, Video), _tmp20_, _tmp21_); -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (media); -#line 10520 "VideoSupport.c" +#line 10564 "VideoSupport.c" } -#line 1154 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_media_it); -#line 10524 "VideoSupport.c" +#line 10568 "VideoSupport.c" } } @@ -10535,30 +10579,30 @@ static void video_source_collection_real_notify_contents_altered (DataCollection GeeIterable* _tmp13_ = NULL; GeeIterable* _tmp26_ = NULL; GeeIterable* _tmp27_ = NULL; -#line 1158 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1176 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO_SOURCE_COLLECTION, VideoSourceCollection); -#line 1158 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1176 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail ((added == NULL) || GEE_IS_ITERABLE (added)); -#line 1158 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1176 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail ((removed == NULL) || GEE_IS_ITERABLE (removed)); -#line 1160 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1178 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = added; -#line 1160 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1178 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp0_ != NULL) { -#line 10545 "VideoSupport.c" +#line 10589 "VideoSupport.c" { GeeIterator* _object_it = NULL; GeeIterable* _tmp1_ = NULL; GeeIterator* _tmp2_ = NULL; -#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = added; -#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = gee_iterable_iterator (_tmp1_); -#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" _object_it = _tmp2_; -#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" while (TRUE) { -#line 10558 "VideoSupport.c" +#line 10602 "VideoSupport.c" GeeIterator* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; DataObject* object = NULL; @@ -10571,67 +10615,67 @@ static void video_source_collection_real_notify_contents_altered (DataCollection Video* _tmp10_ = NULL; guint64 _tmp11_ = 0ULL; Video* _tmp12_ = NULL; -#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = _object_it; -#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = gee_iterator_next (_tmp3_); -#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (!_tmp4_) { -#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" break; -#line 10579 "VideoSupport.c" +#line 10623 "VideoSupport.c" } -#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = _object_it; -#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = gee_iterator_get (_tmp5_); -#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" object = (DataObject*) _tmp6_; -#line 1162 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = object; -#line 1162 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_VIDEO, Video)); -#line 1162 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" video = _tmp8_; -#line 1164 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1182 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = self->priv->filesize_to_video; -#line 1164 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1182 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = video; -#line 1164 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1182 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = media_source_get_master_filesize (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_MEDIA_SOURCE, MediaSource)); -#line 1164 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1182 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = video; -#line 1164 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1182 "/home/jens/Source/shotwell/src/VideoSupport.vala" gee_multi_map_set (_tmp9_, &_tmp11_, _tmp12_); -#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (video); -#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (object); -#line 10607 "VideoSupport.c" +#line 10651 "VideoSupport.c" } -#line 1161 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_object_it); -#line 10611 "VideoSupport.c" +#line 10655 "VideoSupport.c" } } -#line 1168 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1186 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp13_ = removed; -#line 1168 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1186 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp13_ != NULL) { -#line 10618 "VideoSupport.c" +#line 10662 "VideoSupport.c" { GeeIterator* _object_it = NULL; GeeIterable* _tmp14_ = NULL; GeeIterator* _tmp15_ = NULL; -#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1187 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp14_ = removed; -#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1187 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp15_ = gee_iterable_iterator (_tmp14_); -#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1187 "/home/jens/Source/shotwell/src/VideoSupport.vala" _object_it = _tmp15_; -#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1187 "/home/jens/Source/shotwell/src/VideoSupport.vala" while (TRUE) { -#line 10631 "VideoSupport.c" +#line 10675 "VideoSupport.c" GeeIterator* _tmp16_ = NULL; gboolean _tmp17_ = FALSE; DataObject* object = NULL; @@ -10644,66 +10688,66 @@ static void video_source_collection_real_notify_contents_altered (DataCollection Video* _tmp23_ = NULL; guint64 _tmp24_ = 0ULL; Video* _tmp25_ = NULL; -#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1187 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp16_ = _object_it; -#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1187 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp17_ = gee_iterator_next (_tmp16_); -#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1187 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (!_tmp17_) { -#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1187 "/home/jens/Source/shotwell/src/VideoSupport.vala" break; -#line 10652 "VideoSupport.c" +#line 10696 "VideoSupport.c" } -#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1187 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp18_ = _object_it; -#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1187 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp19_ = gee_iterator_get (_tmp18_); -#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1187 "/home/jens/Source/shotwell/src/VideoSupport.vala" object = (DataObject*) _tmp19_; -#line 1170 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1188 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp20_ = object; -#line 1170 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1188 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp21_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_VIDEO, Video)); -#line 1170 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1188 "/home/jens/Source/shotwell/src/VideoSupport.vala" video = _tmp21_; -#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1190 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp22_ = self->priv->filesize_to_video; -#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1190 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp23_ = video; -#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1190 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp24_ = media_source_get_master_filesize (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_MEDIA_SOURCE, MediaSource)); -#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1190 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp25_ = video; -#line 1172 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1190 "/home/jens/Source/shotwell/src/VideoSupport.vala" gee_multi_map_remove (_tmp22_, &_tmp24_, _tmp25_); -#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1187 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (video); -#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1187 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (object); -#line 10680 "VideoSupport.c" +#line 10724 "VideoSupport.c" } -#line 1169 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1187 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_object_it); -#line 10684 "VideoSupport.c" +#line 10728 "VideoSupport.c" } } -#line 1176 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1194 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp26_ = added; -#line 1176 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1194 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp27_ = removed; -#line 1176 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1194 "/home/jens/Source/shotwell/src/VideoSupport.vala" DATA_COLLECTION_CLASS (video_source_collection_parent_class)->notify_contents_altered (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), TYPE_DATA_COLLECTION, DataCollection), _tmp26_, _tmp27_); -#line 10693 "VideoSupport.c" +#line 10737 "VideoSupport.c" } void video_source_collection_get_basename_filesize_duplicate (VideoSourceCollection* self, const gchar* basename, guint64 filesize, VideoID* result) { VideoID _tmp19_ = {0}; -#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1197 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (IS_VIDEO_SOURCE_COLLECTION (self)); -#line 1179 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1197 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_if_fail (basename != NULL); -#line 10703 "VideoSupport.c" +#line 10747 "VideoSupport.c" { GeeIterator* _video_it = NULL; GeeMultiMap* _tmp0_ = NULL; @@ -10712,25 +10756,25 @@ void video_source_collection_get_basename_filesize_duplicate (VideoSourceCollect GeeCollection* _tmp3_ = NULL; GeeIterator* _tmp4_ = NULL; GeeIterator* _tmp5_ = NULL; -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->filesize_to_video; -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = filesize; -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = gee_multi_map_get (_tmp0_, &_tmp1_); -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = _tmp2_; -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp5_ = _tmp4_; -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp3_); -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" _video_it = _tmp5_; -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" while (TRUE) { -#line 10730 "VideoSupport.c" +#line 10774 "VideoSupport.c" GeeIterator* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; Video* video = NULL; @@ -10743,72 +10787,72 @@ void video_source_collection_get_basename_filesize_duplicate (VideoSourceCollect const gchar* _tmp14_ = NULL; gint _tmp15_ = 0; gboolean _tmp16_ = FALSE; -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp6_ = _video_it; -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp7_ = gee_iterator_next (_tmp6_); -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (!_tmp7_) { -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" break; -#line 10751 "VideoSupport.c" +#line 10795 "VideoSupport.c" } -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp8_ = _video_it; -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp9_ = gee_iterator_get (_tmp8_); -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" video = (Video*) _tmp9_; -#line 1181 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1199 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp10_ = video; -#line 1181 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1199 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp11_ = media_source_get_master_file (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_MEDIA_SOURCE, MediaSource)); -#line 1181 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1199 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp12_ = _tmp11_; -#line 1181 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1199 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp13_ = g_file_get_basename (_tmp12_); -#line 1181 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1199 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp14_ = basename; -#line 1181 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1199 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp15_ = utf8_ci_compare (_tmp13_, _tmp14_); -#line 1181 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1199 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp16_ = _tmp15_ == 0; -#line 1181 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1199 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_tmp12_); -#line 1181 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1199 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp16_) { -#line 10777 "VideoSupport.c" +#line 10821 "VideoSupport.c" Video* _tmp17_ = NULL; VideoID _tmp18_ = {0}; -#line 1182 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1200 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp17_ = video; -#line 1182 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1200 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_get_video_id (_tmp17_, &_tmp18_); -#line 1182 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1200 "/home/jens/Source/shotwell/src/VideoSupport.vala" *result = _tmp18_; -#line 1182 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1200 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (video); -#line 1182 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1200 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_video_it); -#line 1182 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1200 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 10792 "VideoSupport.c" +#line 10836 "VideoSupport.c" } -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (video); -#line 10796 "VideoSupport.c" +#line 10840 "VideoSupport.c" } -#line 1180 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1198 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (_video_it); -#line 10800 "VideoSupport.c" +#line 10844 "VideoSupport.c" } -#line 1185 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1203 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_id_init (&_tmp19_, VIDEO_ID_INVALID); -#line 1185 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1203 "/home/jens/Source/shotwell/src/VideoSupport.vala" *result = _tmp19_; -#line 1185 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1203 "/home/jens/Source/shotwell/src/VideoSupport.vala" return; -#line 10808 "VideoSupport.c" +#line 10852 "VideoSupport.c" } @@ -10818,23 +10862,23 @@ gboolean video_source_collection_has_basename_filesize_duplicate (VideoSourceCol guint64 _tmp1_ = 0ULL; VideoID _tmp2_ = {0}; gboolean _tmp3_ = FALSE; -#line 1189 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1207 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (IS_VIDEO_SOURCE_COLLECTION (self), FALSE); -#line 1189 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1207 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_return_val_if_fail (basename != NULL, FALSE); -#line 1190 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1208 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = basename; -#line 1190 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1208 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = filesize; -#line 1190 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1208 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_source_collection_get_basename_filesize_duplicate (self, _tmp0_, _tmp1_, &_tmp2_); -#line 1190 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1208 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp3_ = video_id_is_valid (&_tmp2_); -#line 1190 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1208 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp3_; -#line 1190 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1208 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 10834 "VideoSupport.c" +#line 10878 "VideoSupport.c" } @@ -10843,88 +10887,88 @@ static TransactionController* video_source_collection_real_get_transaction_contr VideoSourceCollection* self; TransactionController* _tmp0_ = NULL; TransactionController* _tmp2_ = NULL; -#line 1033 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1051 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIDEO_SOURCE_COLLECTION, VideoSourceCollection); -#line 1034 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1052 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = self->priv->_transaction_controller; -#line 1034 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1052 "/home/jens/Source/shotwell/src/VideoSupport.vala" if (_tmp0_ == NULL) { -#line 10849 "VideoSupport.c" +#line 10893 "VideoSupport.c" MediaSourceTransactionController* _tmp1_ = NULL; -#line 1035 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1053 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp1_ = media_source_transaction_controller_new (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection)); -#line 1035 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1053 "/home/jens/Source/shotwell/src/VideoSupport.vala" _transaction_controller_unref0 (self->priv->_transaction_controller); -#line 1035 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1053 "/home/jens/Source/shotwell/src/VideoSupport.vala" self->priv->_transaction_controller = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_TRANSACTION_CONTROLLER, TransactionController); -#line 10857 "VideoSupport.c" +#line 10901 "VideoSupport.c" } -#line 1037 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1055 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp2_ = self->priv->_transaction_controller; -#line 1037 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1055 "/home/jens/Source/shotwell/src/VideoSupport.vala" result = _tmp2_; -#line 1037 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1055 "/home/jens/Source/shotwell/src/VideoSupport.vala" return result; -#line 10865 "VideoSupport.c" +#line 10909 "VideoSupport.c" } static void video_source_collection_class_init (VideoSourceCollectionClass * klass) { -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" video_source_collection_parent_class = g_type_class_peek_parent (klass); -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" ((DataCollectionClass *) klass)->finalize = video_source_collection_finalize; -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" g_type_class_add_private (klass, sizeof (VideoSourceCollectionPrivate)); -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" ((MediaSourceCollectionClass *) klass)->create_trashcan = video_source_collection_real_create_trashcan; -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" ((MediaSourceCollectionClass *) klass)->create_offline_bin = video_source_collection_real_create_offline_bin; -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" ((MediaSourceCollectionClass *) klass)->create_media_monitor = video_source_collection_real_create_media_monitor; -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" ((SourceCollectionClass *) klass)->holds_type_of_source = video_source_collection_real_holds_type_of_source; -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" ((MediaSourceCollectionClass *) klass)->get_typename = video_source_collection_real_get_typename; -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" ((MediaSourceCollectionClass *) klass)->is_file_recognized = video_source_collection_real_is_file_recognized; -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" ((MediaSourceCollectionClass *) klass)->fetch_by_numeric_id = video_source_collection_real_fetch_by_numeric_id; -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" ((MediaSourceCollectionClass *) klass)->get_event_source_ids = video_source_collection_real_get_event_source_ids; -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" ((DataCollectionClass *) klass)->notify_contents_altered = video_source_collection_real_notify_contents_altered; -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" MEDIA_SOURCE_COLLECTION_CLASS (klass)->get_transaction_controller = video_source_collection_real_get_transaction_controller; -#line 10896 "VideoSupport.c" +#line 10940 "VideoSupport.c" } static void video_source_collection_instance_init (VideoSourceCollection * self) { GeeTreeMultiMap* _tmp0_ = NULL; -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" self->priv = VIDEO_SOURCE_COLLECTION_GET_PRIVATE (self); -#line 1041 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1059 "/home/jens/Source/shotwell/src/VideoSupport.vala" self->priv->_transaction_controller = NULL; -#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1060 "/home/jens/Source/shotwell/src/VideoSupport.vala" _tmp0_ = gee_tree_multi_map_new (G_TYPE_UINT64, (GBoxedCopyFunc) _uint64_dup, g_free, TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, g_object_unref, _uint64_compare_gcompare_data_func, NULL, NULL, NULL, NULL, NULL); -#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1060 "/home/jens/Source/shotwell/src/VideoSupport.vala" self->priv->filesize_to_video = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_MULTI_MAP, GeeMultiMap); -#line 10910 "VideoSupport.c" +#line 10954 "VideoSupport.c" } static void video_source_collection_finalize (DataCollection* obj) { VideoSourceCollection * self; -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_VIDEO_SOURCE_COLLECTION, VideoSourceCollection); -#line 1041 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1059 "/home/jens/Source/shotwell/src/VideoSupport.vala" _transaction_controller_unref0 (self->priv->_transaction_controller); -#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1060 "/home/jens/Source/shotwell/src/VideoSupport.vala" _g_object_unref0 (self->priv->filesize_to_video); -#line 1024 "/home/jens/Source/shotwell/src/VideoSupport.vala" +#line 1042 "/home/jens/Source/shotwell/src/VideoSupport.vala" DATA_COLLECTION_CLASS (video_source_collection_parent_class)->finalize (obj); -#line 10924 "VideoSupport.c" +#line 10968 "VideoSupport.c" } diff --git a/src/VideoSupport.vala b/src/VideoSupport.vala index 6543cf5..791a12a 100644 --- a/src/VideoSupport.vala +++ b/src/VideoSupport.vala @@ -368,12 +368,12 @@ public class Video : VideoSource, Flaggable, Monitorable, Dateable { // initialize GStreamer, but don't pass it our actual command line arguments -- we don't // want our end users to be able to parameterize the GStreamer configuration - string[] fake_args = new string[0]; - unowned string[] fake_unowned_args = fake_args; - Gst.init(ref fake_unowned_args); - + unowned string[] args = null; + Gst.init(ref args); + + var registry = Gst.Registry.@get (); int saved_state = Config.Facade.get_instance().get_video_interpreter_state_cookie(); - current_state = (int) Gst.Registry.get().get_feature_list_cookie(); + current_state = (int) registry.get_feature_list_cookie(); if (saved_state == Config.Facade.NO_VIDEO_INTERPRETER_STATE) { message("interpreter state cookie not found; assuming all video thumbnails are out of date"); interpreter_state_changed = true; @@ -381,7 +381,25 @@ public class Video : VideoSource, Flaggable, Monitorable, Dateable { message("interpreter state has changed; video thumbnails may be out of date"); interpreter_state_changed = true; } - + + /* First do the cookie state handling, then update our local registry + * to not include vaapi stuff. This is basically to work-around + * concurrent access to VAAPI/X11 which it doesn't like, cf + * https://bugzilla.gnome.org/show_bug.cgi?id=762416 + */ + + var feature = registry.find_feature ("vaapidecodebin", + typeof (Gst.ElementFactory)); + if (feature != null) { + registry.remove_feature (feature); + } + + feature = registry.find_feature ("vaapidecode", + typeof (Gst.ElementFactory)); + if (feature != null) { + registry.remove_feature (feature); + } + global = new VideoSourceCollection(); Gee.ArrayList<VideoRow?> all = VideoTable.get_instance().get_all(); diff --git a/src/camera/CameraTable.c b/src/camera/CameraTable.c index 3ed9f58..85f762a 100644 --- a/src/camera/CameraTable.c +++ b/src/camera/CameraTable.c @@ -672,7 +672,7 @@ static gboolean camera_table_delayed_init (CameraTable* self) { #line 63 "/home/jens/Source/shotwell/src/camera/CameraTable.vala" if (_inner_error_->domain == GPHOTO_ERROR) { #line 675 "CameraTable.c" - goto __catch54_gphoto_error; + goto __catch55_gphoto_error; } #line 63 "/home/jens/Source/shotwell/src/camera/CameraTable.vala" 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); @@ -683,8 +683,8 @@ static gboolean camera_table_delayed_init (CameraTable* self) { #line 684 "CameraTable.c" } } - goto __finally54; - __catch54_gphoto_error: + goto __finally55; + __catch55_gphoto_error: { GError* err = NULL; GError* _tmp2_ = NULL; @@ -707,7 +707,7 @@ static gboolean camera_table_delayed_init (CameraTable* self) { return result; #line 709 "CameraTable.c" } - __finally54: + __finally55: #line 62 "/home/jens/Source/shotwell/src/camera/CameraTable.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 62 "/home/jens/Source/shotwell/src/camera/CameraTable.vala" @@ -726,7 +726,7 @@ static gboolean camera_table_delayed_init (CameraTable* self) { #line 71 "/home/jens/Source/shotwell/src/camera/CameraTable.vala" if (_inner_error_->domain == GPHOTO_ERROR) { #line 729 "CameraTable.c" - goto __catch55_gphoto_error; + goto __catch56_gphoto_error; } #line 71 "/home/jens/Source/shotwell/src/camera/CameraTable.vala" 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); @@ -737,8 +737,8 @@ static gboolean camera_table_delayed_init (CameraTable* self) { #line 738 "CameraTable.c" } } - goto __finally55; - __catch55_gphoto_error: + goto __finally56; + __catch56_gphoto_error: { GError* err = NULL; GError* _tmp4_ = NULL; @@ -757,7 +757,7 @@ static gboolean camera_table_delayed_init (CameraTable* self) { _g_error_free0 (err); #line 759 "CameraTable.c" } - __finally55: + __finally56: #line 70 "/home/jens/Source/shotwell/src/camera/CameraTable.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 70 "/home/jens/Source/shotwell/src/camera/CameraTable.vala" @@ -1747,7 +1747,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 1748 "CameraTable.c" - goto __catch56_g_regex_error; + goto __catch57_g_regex_error; } #line 1382 "/usr/share/vala-0.34/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); @@ -1772,7 +1772,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 1773 "CameraTable.c" - goto __catch56_g_regex_error; + goto __catch57_g_regex_error; } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); @@ -1798,8 +1798,8 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* return result; #line 1798 "CameraTable.c" } - goto __finally56; - __catch56_g_regex_error: + goto __finally57; + __catch57_g_regex_error: { GError* e = NULL; #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -1812,7 +1812,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_error_free0 (e); #line 1812 "CameraTable.c" } - __finally56: + __finally57: #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -4170,7 +4170,7 @@ static void camera_table_on_update_cameras (CameraTable* self) { #line 399 "/home/jens/Source/shotwell/src/camera/CameraTable.vala" if (_inner_error_->domain == GPHOTO_ERROR) { #line 4171 "CameraTable.c" - goto __catch57_gphoto_error; + goto __catch58_gphoto_error; } #line 399 "/home/jens/Source/shotwell/src/camera/CameraTable.vala" 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); @@ -4181,8 +4181,8 @@ static void camera_table_on_update_cameras (CameraTable* self) { #line 4180 "CameraTable.c" } } - goto __finally57; - __catch57_gphoto_error: + goto __finally58; + __catch58_gphoto_error: { GError* err = NULL; GError* _tmp2_ = NULL; @@ -4201,7 +4201,7 @@ static void camera_table_on_update_cameras (CameraTable* self) { _g_error_free0 (err); #line 4201 "CameraTable.c" } - __finally57: + __finally58: #line 398 "/home/jens/Source/shotwell/src/camera/CameraTable.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 398 "/home/jens/Source/shotwell/src/camera/CameraTable.vala" diff --git a/src/camera/GPhoto.c b/src/camera/GPhoto.c index 38c3a97..31f61f4 100644 --- a/src/camera/GPhoto.c +++ b/src/camera/GPhoto.c @@ -1295,11 +1295,11 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con #line 140 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1298 "GPhoto.c" - goto __catch58_g_error; + goto __catch59_g_error; } } - goto __finally58; - __catch58_g_error: + goto __finally59; + __catch59_g_error: { #line 139 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_clear_error (&_inner_error_); @@ -1311,7 +1311,7 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con metadata = NULL; #line 1313 "GPhoto.c" } - __finally58: + __finally59: #line 139 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 139 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" @@ -1420,7 +1420,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol #line 154 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1423 "GPhoto.c" - goto __catch59_g_error; + goto __catch60_g_error; } #line 154 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp7_ = _tmp0_; @@ -1440,8 +1440,8 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol _tmp0_ = (g_free (_tmp0_), NULL); #line 1442 "GPhoto.c" } - goto __finally59; - __catch59_g_error: + goto __finally60; + __catch60_g_error: { PhotoMetadata* metadata = NULL; Camera* _tmp8_ = NULL; @@ -1578,7 +1578,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol #line 162 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _media_metadata_unref0 (metadata); #line 1581 "GPhoto.c" - goto __finally59; + goto __finally60; } #line 162 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp24_ = _tmp20_; @@ -1602,7 +1602,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol _media_metadata_unref0 (metadata); #line 1604 "GPhoto.c" } - __finally59: + __finally60: #line 153 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 153 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" @@ -2145,7 +2145,7 @@ PhotoMetadata* gp_load_metadata (GPContext* context, Camera* camera, const gchar #line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2148 "GPhoto.c" - goto __catch60_g_error; + goto __catch61_g_error; } #line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp7_ = _tmp0_; @@ -2167,8 +2167,8 @@ PhotoMetadata* gp_load_metadata (GPContext* context, Camera* camera, const gchar _tmp0_ = (g_free (_tmp0_), NULL); #line 2169 "GPhoto.c" } - goto __finally60; - __catch60_g_error: + goto __finally61; + __catch61_g_error: { Camera* _tmp8_ = NULL; GPContext* _tmp9_ = NULL; @@ -2197,7 +2197,7 @@ PhotoMetadata* gp_load_metadata (GPContext* context, Camera* camera, const gchar return result; #line 2199 "GPhoto.c" } - __finally60: + __finally61: #line 220 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 220 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" diff --git a/src/camera/ImportPage.c b/src/camera/ImportPage.c index 2967842..ecf784c 100644 --- a/src/camera/ImportPage.c +++ b/src/camera/ImportPage.c @@ -1803,8 +1803,8 @@ static ImportPageImportPageSearchViewFilter* import_page_import_page_search_view static ImportPageImportPageSearchViewFilter* import_page_import_page_search_view_filter_construct (GType object_type); static ImportPageHideImportedViewFilter* import_page_hide_imported_view_filter_new (void); static ImportPageHideImportedViewFilter* import_page_hide_imported_view_filter_construct (GType object_type); -#define IMPORT_PAGE_UNMOUNT_FAILED_MSG _ ("Unable to unmount camera. Try unmounting the camera from the file man" \ -"ager.") +#define IMPORT_PAGE_UNMOUNT_FAILED_MSG _ ("Unable to unmount camera. Try unmounting the camera from the file mana" \ +"ger.") ImportPage* import_page_new (Camera* camera, const gchar* uri, const gchar* display_name, const gchar* icon); ImportPage* import_page_construct (GType object_type, Camera* camera, const gchar* uri, const gchar* display_name, const gchar* icon); CheckerboardPage* checkerboard_page_construct (GType object_type, const gchar* page_name); @@ -3907,7 +3907,7 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source #line 283 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3909 "ImportPage.c" - goto __catch61_g_error; + goto __catch62_g_error; } #line 283 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" _tmp9_ = _tmp6_; @@ -3921,8 +3921,8 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source _g_object_unref0 (_tmp6_); #line 3922 "ImportPage.c" } - goto __finally61; - __catch61_g_error: + goto __finally62; + __catch62_g_error: { GError* err = NULL; gchar* _tmp10_ = NULL; @@ -3949,7 +3949,7 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source _g_error_free0 (err); #line 3950 "ImportPage.c" } - __finally61: + __finally62: #line 282 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 282 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -6885,7 +6885,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o #line 1000 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" _tmp6_ = self->priv->uri; #line 1000 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" - g_debug ("ImportPage.vala:1000: Checking if %s is mounted ...", _tmp6_); + g_debug ("ImportPage.vala:1000: Checking if %s is mounted…", _tmp6_); #line 1002 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" _tmp7_ = self->priv->uri; #line 1002 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -6909,7 +6909,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o #line 1006 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 6911 "ImportPage.c" - goto __catch62_g_error; + goto __catch63_g_error; } #line 1006 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" _tmp12_ = _tmp9_; @@ -6923,8 +6923,8 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o _g_object_unref0 (_tmp9_); #line 6924 "ImportPage.c" } - goto __finally62; - __catch62_g_error: + goto __finally63; + __catch63_g_error: { GError* err = NULL; #line 1005 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -6935,7 +6935,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o _g_error_free0 (err); #line 6936 "ImportPage.c" } - __finally62: + __finally63: #line 1005 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1005 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -6974,7 +6974,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o gint _tmp27_ = 0; #line 1013 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" _tmp14_ = _ ("Shotwell needs to unmount the camera from the filesystem in order to a" \ -"ccess it. Continue?"); +"ccess it. Continue?"); #line 1013 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" _tmp15_ = g_strdup (_tmp14_); #line 1013 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -7054,9 +7054,9 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o GtkMessageDialog* _tmp39_ = NULL; const gchar* _tmp40_ = NULL; #line 1029 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" - _tmp30_ = _ ("The camera is locked by another application. Shotwell can only access" \ -" the camera when it's unlocked. Please close any other application us" \ -"ing the camera and try again."); + _tmp30_ = _ ("The camera is locked by another application. Shotwell can only access " \ +"the camera when it’s unlocked. Please close any other application usin" \ +"g the camera and try again."); #line 1029 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" _tmp31_ = g_strdup (_tmp30_); #line 1029 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -7210,7 +7210,7 @@ gboolean import_page_unmount_camera (ImportPage* self, GMount* mount) { #line 1061 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" _tmp4_ = self->priv->progress_bar; #line 1061 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" - _tmp5_ = _ ("Unmounting..."); + _tmp5_ = _ ("Unmounting…"); #line 1061 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" gtk_progress_bar_set_text (_tmp4_, _tmp5_); #line 1066 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -7218,7 +7218,7 @@ gboolean import_page_unmount_camera (ImportPage* self, GMount* mount) { #line 1066 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" g_signal_connect_object (_tmp6_, "unmounted", (GCallback) _import_page_on_unmounted_g_mount_unmounted, self, 0); #line 1068 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" - g_debug ("ImportPage.vala:1068: Unmounting camera ..."); + g_debug ("ImportPage.vala:1068: Unmounting camera…"); #line 1069 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" _tmp7_ = mount; #line 1069 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -7272,11 +7272,11 @@ static void import_page_on_unmount_finished (ImportPage* self, GObject* source, #line 1080 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 7271 "ImportPage.c" - goto __catch63_g_error; + goto __catch64_g_error; } } - goto __finally63; - __catch63_g_error: + goto __finally64; + __catch64_g_error: { GError* err = NULL; guint _tmp3_ = 0U; @@ -7314,7 +7314,7 @@ static void import_page_on_unmount_finished (ImportPage* self, GObject* source, _g_error_free0 (err); #line 7312 "ImportPage.c" } - __finally63: + __finally64: #line 1079 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1079 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -7641,7 +7641,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) { #line 7638 "ImportPage.c" } #line 1152 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" - _tmp1_ = _ ("Starting import, please wait..."); + _tmp1_ = _ ("Starting import, please wait…"); #line 1152 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" checkerboard_page_set_page_message (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp1_); #line 1154 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -8977,7 +8977,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const #line 1387 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" (info); #line 8976 "ImportPage.c" - goto __catch64_g_error; + goto __catch65_g_error; } #line 1387 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (!_tmp40_) { @@ -9213,8 +9213,8 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const (info); #line 9210 "ImportPage.c" } - goto __finally64; - __catch64_g_error: + goto __finally65; + __catch65_g_error: { GError* err = NULL; const gchar* _tmp103_ = NULL; @@ -9259,7 +9259,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const return result; #line 9256 "ImportPage.c" } - __finally64: + __finally65: #line 1385 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1385 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -10233,7 +10233,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i #line 1537 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 10230 "ImportPage.c" - goto __catch65_g_error; + goto __catch66_g_error; } #line 1537 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" _tmp43_ = _tmp36_; @@ -10247,8 +10247,8 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i _media_metadata_unref0 (_tmp36_); #line 10243 "ImportPage.c" } - goto __finally65; - __catch65_g_error: + goto __finally66; + __catch66_g_error: { GError* err = NULL; const gchar* _tmp44_ = NULL; @@ -10273,7 +10273,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i _g_error_free0 (err); #line 10269 "ImportPage.c" } - __finally65: + __finally66: #line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -10472,7 +10472,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i #line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" _g_free0 (preview_fulldir); #line 10469 "ImportPage.c" - goto __catch66_g_error; + goto __catch67_g_error; } #line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" _tmp77_ = _tmp67_; @@ -10490,8 +10490,8 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i _g_free0 (preview_fulldir); #line 10486 "ImportPage.c" } - goto __finally66; - __catch66_g_error: + goto __finally67; + __catch67_g_error: { GError* err = NULL; const gchar* _tmp78_ = NULL; @@ -10527,7 +10527,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i _g_error_free0 (err); #line 10523 "ImportPage.c" } - __finally66: + __finally67: #line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -10704,7 +10704,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i #line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 10701 "ImportPage.c" - goto __catch67_g_error; + goto __catch68_g_error; } #line 1602 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" _tmp113_ = associated; @@ -10720,8 +10720,8 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i _media_metadata_unref0 (associated_metadata); #line 10716 "ImportPage.c" } - goto __finally67; - __catch67_g_error: + goto __finally68; + __catch68_g_error: { GError* err = NULL; PhotoImportSource* _tmp117_ = NULL; @@ -10762,7 +10762,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i _g_error_free0 (err); #line 10758 "ImportPage.c" } - __finally67: + __finally68: #line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -11449,11 +11449,11 @@ static void import_page_on_import_job_failed (ImportPage* self, BatchImportResul #line 1712 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 11445 "ImportPage.c" - goto __catch68_g_error; + goto __catch69_g_error; } } - goto __finally68; - __catch68_g_error: + goto __finally69; + __catch69_g_error: { GError* err = NULL; BatchImportResult* _tmp7_ = NULL; @@ -11486,7 +11486,7 @@ static void import_page_on_import_job_failed (ImportPage* self, BatchImportResul _g_error_free0 (err); #line 11481 "ImportPage.c" } - __finally68: + __finally69: #line 1711 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1711 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -12613,7 +12613,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base #line 557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 12609 "ImportPage.c" - goto __catch69_g_error; + goto __catch70_g_error; } #line 557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" _tmp6_ = _tmp0_; @@ -12627,8 +12627,8 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base _g_object_unref0 (_tmp0_); #line 12622 "ImportPage.c" } - goto __finally69; - __catch69_g_error: + goto __finally70; + __catch70_g_error: { GError* err = NULL; ImportSource* _tmp7_ = NULL; @@ -12658,7 +12658,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base _g_error_free0 (err); #line 12653 "ImportPage.c" } - __finally69: + __finally70: #line 555 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 555 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -12740,10 +12740,10 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base #line 574 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 12736 "ImportPage.c" - goto __finally70; + goto __finally71; } } - __finally70: + __finally71: { GFile* _tmp23_ = NULL; #line 576 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -12809,7 +12809,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base #line 583 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 12805 "ImportPage.c" - goto __catch71_g_error; + goto __catch72_g_error; } #line 582 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" _tmp34_ = _tmp25_; @@ -12823,8 +12823,8 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base _backing_photo_row_unref0 (_tmp25_); #line 12818 "ImportPage.c" } - goto __finally71; - __catch71_g_error: + goto __finally72; + __catch72_g_error: { GError* err = NULL; ImportPageCameraImportJob* _tmp35_ = NULL; @@ -12850,7 +12850,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base _g_error_free0 (err); #line 12844 "ImportPage.c" } - __finally71: + __finally72: #line 581 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 581 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" @@ -12941,10 +12941,10 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base #line 598 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 12936 "ImportPage.c" - goto __finally72; + goto __finally73; } } - __finally72: + __finally73: { GFile* _tmp54_ = NULL; #line 601 "/home/jens/Source/shotwell/src/camera/ImportPage.vala" diff --git a/src/camera/ImportPage.vala b/src/camera/ImportPage.vala index 45924f9..db48634 100644 --- a/src/camera/ImportPage.vala +++ b/src/camera/ImportPage.vala @@ -455,7 +455,7 @@ public class CameraAccumulator : Object, Core.TrackerAccumulator { } public class ImportPage : CheckerboardPage { - private const string UNMOUNT_FAILED_MSG = _("Unable to unmount camera. Try unmounting the camera from the file manager."); + private const string UNMOUNT_FAILED_MSG = _("Unable to unmount camera. Try unmounting the camera from the file manager."); private class ImportViewManager : ViewManager { private ImportPage owner; @@ -997,7 +997,7 @@ public class ImportPage : CheckerboardPage { } // if locked because it's mounted, offer to unmount - debug("Checking if %s is mounted ...", uri); + debug("Checking if %s is mounted…", uri); File uri = File.new_for_uri(uri); @@ -1010,7 +1010,7 @@ public class ImportPage : CheckerboardPage { if (mount != null) { // it's mounted, offer to unmount for the user - string mounted_message = _("Shotwell needs to unmount the camera from the filesystem in order to access it. Continue?"); + string mounted_message = _("Shotwell needs to unmount the camera from the filesystem in order to access it. Continue?"); Gtk.MessageDialog dialog = new Gtk.MessageDialog(AppWindow.get_instance(), Gtk.DialogFlags.MODAL, Gtk.MessageType.QUESTION, @@ -1026,7 +1026,7 @@ public class ImportPage : CheckerboardPage { unmount_camera(mount); } } else { - string locked_message = _("The camera is locked by another application. Shotwell can only access the camera when it's unlocked. Please close any other application using the camera and try again."); + string locked_message = _("The camera is locked by another application. Shotwell can only access the camera when it’s unlocked. Please close any other application using the camera and try again."); // it's not mounted, so another application must have it locked Gtk.MessageDialog dialog = new Gtk.MessageDialog(AppWindow.get_instance(), @@ -1058,14 +1058,14 @@ public class ImportPage : CheckerboardPage { progress_bar.visible = true; progress_bar.set_fraction(0.0); progress_bar.set_ellipsize(Pango.EllipsizeMode.NONE); - progress_bar.set_text(_("Unmounting...")); + progress_bar.set_text(_("Unmounting…")); // unmount_with_operation() can/will complete with the volume still mounted (probably meaning // it's been *scheduled* for unmounting). However, this signal is fired when the mount // really is unmounted -- *if* a VolumeMonitor has been instantiated. mount.unmounted.connect(on_unmounted); - debug("Unmounting camera ..."); + debug("Unmounting camera…"); mount.unmount_with_operation.begin(MountUnmountFlags.NONE, new Gtk.MountOperation(AppWindow.get_instance()), null, on_unmount_finished); @@ -1149,7 +1149,7 @@ public class ImportPage : CheckerboardPage { if (busy) return RefreshResult.BUSY; - this.set_page_message (_("Starting import, please wait...")); + this.set_page_message (_("Starting import, please wait…")); update_status(busy, false); diff --git a/src/config/Config.c b/src/config/Config.c index 2f48a67..397fbb0 100644 --- a/src/config/Config.c +++ b/src/config/Config.c @@ -38,6 +38,14 @@ typedef struct _ConfigurationFacadePrivate ConfigurationFacadePrivate; #define TYPE_DIMENSIONS (dimensions_get_type ()) typedef struct _Dimensions Dimensions; +#define TYPE_SCALE_CONSTRAINT (scale_constraint_get_type ()) + +#define TYPE_EXPORT_FORMAT_MODE (export_format_mode_get_type ()) + +#define TYPE_PHOTO_FILE_FORMAT (photo_file_format_get_type ()) + +#define JPEG_TYPE_QUALITY (jpeg_quality_get_type ()) + #define TYPE_RAW_DEVELOPER (raw_developer_get_type ()) #define TYPE_FUZZY_PROPERTY_STATE (fuzzy_property_state_get_type ()) @@ -81,6 +89,37 @@ struct _Dimensions { }; typedef enum { + SCALE_CONSTRAINT_ORIGINAL, + SCALE_CONSTRAINT_DIMENSIONS, + SCALE_CONSTRAINT_WIDTH, + SCALE_CONSTRAINT_HEIGHT, + SCALE_CONSTRAINT_FILL_VIEWPORT +} ScaleConstraint; + +typedef enum { + EXPORT_FORMAT_MODE_UNMODIFIED, + EXPORT_FORMAT_MODE_CURRENT, + EXPORT_FORMAT_MODE_SPECIFIED, + EXPORT_FORMAT_MODE_LAST +} ExportFormatMode; + +typedef enum { + PHOTO_FILE_FORMAT_JFIF, + PHOTO_FILE_FORMAT_RAW, + PHOTO_FILE_FORMAT_PNG, + PHOTO_FILE_FORMAT_TIFF, + PHOTO_FILE_FORMAT_BMP, + PHOTO_FILE_FORMAT_UNKNOWN +} PhotoFileFormat; + +typedef enum { + JPEG_QUALITY_LOW = 50, + JPEG_QUALITY_MEDIUM = 75, + JPEG_QUALITY_HIGH = 90, + JPEG_QUALITY_MAXIMUM = 100 +} JpegQuality; + +typedef enum { RAW_DEVELOPER_SHOTWELL = 0, RAW_DEVELOPER_CAMERA, RAW_DEVELOPER_EMBEDDED @@ -143,6 +182,18 @@ struct _ConfigurationFacadeClass { void (*set_external_photo_app) (ConfigurationFacade* self, const gchar* external_photo_app); gchar* (*get_external_raw_app) (ConfigurationFacade* self); void (*set_external_raw_app) (ConfigurationFacade* self, const gchar* external_raw_app); + ScaleConstraint (*get_export_constraint) (ConfigurationFacade* self); + void (*set_export_constraint) (ConfigurationFacade* self, ScaleConstraint constraint); + ExportFormatMode (*get_export_export_format_mode) (ConfigurationFacade* self); + void (*set_export_export_format_mode) (ConfigurationFacade* self, ExportFormatMode export_format_mode); + gboolean (*get_export_export_metadata) (ConfigurationFacade* self); + void (*set_export_export_metadata) (ConfigurationFacade* self, gboolean export_metadata); + PhotoFileFormat (*get_export_photo_file_format) (ConfigurationFacade* self); + void (*set_export_photo_file_format) (ConfigurationFacade* self, PhotoFileFormat photo_file_format); + JpegQuality (*get_export_quality) (ConfigurationFacade* self); + void (*set_export_quality) (ConfigurationFacade* self, JpegQuality quality); + gint (*get_export_scale) (ConfigurationFacade* self); + void (*set_export_scale) (ConfigurationFacade* self, gint scale); RawDeveloper (*get_default_raw_developer) (ConfigurationFacade* self); void (*set_default_raw_developer) (ConfigurationFacade* self, RawDeveloper d); gboolean (*get_hide_photos_already_imported) (ConfigurationFacade* self); @@ -265,6 +316,12 @@ typedef enum { CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, + CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT, + CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, + CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, + CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, + CONFIGURABLE_PROPERTY_EXPORT_QUALITY, + CONFIGURABLE_PROPERTY_EXPORT_SCALE, CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, @@ -316,6 +373,8 @@ struct _ConfigurationEngineIface { gchar* (*get_name) (ConfigurationEngine* self); gint (*get_int_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); void (*set_int_property) (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error); + gint (*get_enum_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); + void (*set_enum_property) (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error); gchar* (*get_string_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); void (*set_string_property) (ConfigurationEngine* self, ConfigurableProperty p, const gchar* val, GError** error); gboolean (*get_bool_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); @@ -344,6 +403,10 @@ GType configuration_facade_get_type (void) G_GNUC_CONST; GType dimensions_get_type (void) G_GNUC_CONST; Dimensions* dimensions_dup (const Dimensions* self); void dimensions_free (Dimensions* self); +GType scale_constraint_get_type (void) G_GNUC_CONST; +GType export_format_mode_get_type (void) G_GNUC_CONST; +GType photo_file_format_get_type (void) G_GNUC_CONST; +GType jpeg_quality_get_type (void) G_GNUC_CONST; GType raw_developer_get_type (void) G_GNUC_CONST; GType fuzzy_property_state_get_type (void) G_GNUC_CONST; GType config_facade_get_type (void) G_GNUC_CONST; @@ -406,7 +469,7 @@ void config_terminate (void); static void _config_facade_on_color_name_changed_configuration_facade_bg_color_name_changed (ConfigurationFacade* _sender, gpointer self) { #line 55 "/home/jens/Source/shotwell/src/config/Config.vala" config_facade_on_color_name_changed ((ConfigFacade*) self); -#line 410 "Config.c" +#line 473 "Config.c" } @@ -426,21 +489,21 @@ static ConfigFacade* config_facade_construct (GType object_type) { g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), "bg-color-name-changed", (GCallback) _config_facade_on_color_name_changed_configuration_facade_bg_color_name_changed, self, 0); #line 52 "/home/jens/Source/shotwell/src/config/Config.vala" return self; -#line 430 "Config.c" +#line 493 "Config.c" } static ConfigFacade* config_facade_new (void) { #line 52 "/home/jens/Source/shotwell/src/config/Config.vala" return config_facade_construct (CONFIG_TYPE_FACADE); -#line 437 "Config.c" +#line 500 "Config.c" } static gpointer _g_object_ref0 (gpointer self) { #line 62 "/home/jens/Source/shotwell/src/config/Config.vala" return self ? g_object_ref (self) : NULL; -#line 444 "Config.c" +#line 507 "Config.c" } @@ -453,7 +516,7 @@ ConfigFacade* config_facade_get_instance (void) { _tmp0_ = config_facade_instance; #line 59 "/home/jens/Source/shotwell/src/config/Config.vala" if (_tmp0_ == NULL) { -#line 457 "Config.c" +#line 520 "Config.c" ConfigFacade* _tmp1_ = NULL; #line 60 "/home/jens/Source/shotwell/src/config/Config.vala" _tmp1_ = config_facade_new (); @@ -461,7 +524,7 @@ ConfigFacade* config_facade_get_instance (void) { _g_object_unref0 (config_facade_instance); #line 60 "/home/jens/Source/shotwell/src/config/Config.vala" config_facade_instance = _tmp1_; -#line 465 "Config.c" +#line 528 "Config.c" } #line 62 "/home/jens/Source/shotwell/src/config/Config.vala" _tmp2_ = config_facade_instance; @@ -471,7 +534,7 @@ ConfigFacade* config_facade_get_instance (void) { result = _tmp3_; #line 62 "/home/jens/Source/shotwell/src/config/Config.vala" return result; -#line 475 "Config.c" +#line 538 "Config.c" } @@ -480,7 +543,7 @@ static void config_facade_on_color_name_changed (ConfigFacade* self) { g_return_if_fail (CONFIG_IS_FACADE (self)); #line 66 "/home/jens/Source/shotwell/src/config/Config.vala" g_signal_emit_by_name (self, "colors-changed"); -#line 484 "Config.c" +#line 547 "Config.c" } @@ -497,7 +560,7 @@ static void config_facade_set_text_colors (ConfigFacade* self, GdkRGBA* bg_color _tmp1_ = _tmp0_.red; #line 73 "/home/jens/Source/shotwell/src/config/Config.vala" if (_tmp1_ > CONFIG_FACADE_BLACK_THRESHOLD) { -#line 501 "Config.c" +#line 564 "Config.c" gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; @@ -526,7 +589,7 @@ static void config_facade_set_text_colors (ConfigFacade* self, GdkRGBA* bg_color _g_free0 (self->priv->border_color); #line 77 "/home/jens/Source/shotwell/src/config/Config.vala" self->priv->border_color = _tmp5_; -#line 530 "Config.c" +#line 593 "Config.c" } else { gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; @@ -556,7 +619,7 @@ static void config_facade_set_text_colors (ConfigFacade* self, GdkRGBA* bg_color _g_free0 (self->priv->border_color); #line 82 "/home/jens/Source/shotwell/src/config/Config.vala" self->priv->border_color = _tmp9_; -#line 560 "Config.c" +#line 623 "Config.c" } } @@ -581,7 +644,7 @@ static void config_facade_get_colors (ConfigFacade* self) { _tmp2_ = is_color_parsable (_tmp1_); #line 89 "/home/jens/Source/shotwell/src/config/Config.vala" if (!_tmp2_) { -#line 585 "Config.c" +#line 648 "Config.c" gchar* _tmp3_ = NULL; #line 90 "/home/jens/Source/shotwell/src/config/Config.vala" _tmp3_ = g_strdup (CONFIG_FACADE_DEFAULT_BG_COLOR); @@ -589,7 +652,7 @@ static void config_facade_get_colors (ConfigFacade* self) { _g_free0 (self->priv->bg_color); #line 90 "/home/jens/Source/shotwell/src/config/Config.vala" self->priv->bg_color = _tmp3_; -#line 593 "Config.c" +#line 656 "Config.c" } #line 92 "/home/jens/Source/shotwell/src/config/Config.vala" _tmp4_ = self->priv->bg_color; @@ -597,7 +660,7 @@ static void config_facade_get_colors (ConfigFacade* self) { parse_color (_tmp4_, &_tmp5_); #line 92 "/home/jens/Source/shotwell/src/config/Config.vala" config_facade_set_text_colors (self, &_tmp5_); -#line 601 "Config.c" +#line 664 "Config.c" } @@ -616,7 +679,7 @@ void config_facade_get_bg_color (ConfigFacade* self, GdkRGBA* result) { if (_tmp1_) { #line 97 "/home/jens/Source/shotwell/src/config/Config.vala" config_facade_get_colors (self); -#line 620 "Config.c" +#line 683 "Config.c" } #line 99 "/home/jens/Source/shotwell/src/config/Config.vala" _tmp2_ = self->priv->bg_color; @@ -626,7 +689,7 @@ void config_facade_get_bg_color (ConfigFacade* self, GdkRGBA* result) { *result = _tmp3_; #line 99 "/home/jens/Source/shotwell/src/config/Config.vala" return; -#line 630 "Config.c" +#line 693 "Config.c" } @@ -638,7 +701,7 @@ void config_facade_get_selected_color (ConfigFacade* self, gboolean in_focus, Gd _tmp0_ = in_focus; #line 103 "/home/jens/Source/shotwell/src/config/Config.vala" if (_tmp0_) { -#line 642 "Config.c" +#line 705 "Config.c" const gchar* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; const gchar* _tmp3_ = NULL; @@ -651,7 +714,7 @@ void config_facade_get_selected_color (ConfigFacade* self, gboolean in_focus, Gd if (_tmp2_) { #line 105 "/home/jens/Source/shotwell/src/config/Config.vala" config_facade_get_colors (self); -#line 655 "Config.c" +#line 718 "Config.c" } #line 107 "/home/jens/Source/shotwell/src/config/Config.vala" _tmp3_ = self->priv->selected_color; @@ -661,7 +724,7 @@ void config_facade_get_selected_color (ConfigFacade* self, gboolean in_focus, Gd *result = _tmp4_; #line 107 "/home/jens/Source/shotwell/src/config/Config.vala" return; -#line 665 "Config.c" +#line 728 "Config.c" } else { const gchar* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; @@ -675,7 +738,7 @@ void config_facade_get_selected_color (ConfigFacade* self, gboolean in_focus, Gd if (_tmp6_) { #line 110 "/home/jens/Source/shotwell/src/config/Config.vala" config_facade_get_colors (self); -#line 679 "Config.c" +#line 742 "Config.c" } #line 112 "/home/jens/Source/shotwell/src/config/Config.vala" _tmp7_ = self->priv->unfocused_selected_color; @@ -685,7 +748,7 @@ void config_facade_get_selected_color (ConfigFacade* self, gboolean in_focus, Gd *result = _tmp8_; #line 112 "/home/jens/Source/shotwell/src/config/Config.vala" return; -#line 689 "Config.c" +#line 752 "Config.c" } } @@ -705,7 +768,7 @@ void config_facade_get_unselected_color (ConfigFacade* self, GdkRGBA* result) { if (_tmp1_) { #line 118 "/home/jens/Source/shotwell/src/config/Config.vala" config_facade_get_colors (self); -#line 709 "Config.c" +#line 772 "Config.c" } #line 120 "/home/jens/Source/shotwell/src/config/Config.vala" _tmp2_ = self->priv->unselected_color; @@ -715,7 +778,7 @@ void config_facade_get_unselected_color (ConfigFacade* self, GdkRGBA* result) { *result = _tmp3_; #line 120 "/home/jens/Source/shotwell/src/config/Config.vala" return; -#line 719 "Config.c" +#line 782 "Config.c" } @@ -734,7 +797,7 @@ void config_facade_get_border_color (ConfigFacade* self, GdkRGBA* result) { if (_tmp1_) { #line 125 "/home/jens/Source/shotwell/src/config/Config.vala" config_facade_get_colors (self); -#line 738 "Config.c" +#line 801 "Config.c" } #line 127 "/home/jens/Source/shotwell/src/config/Config.vala" _tmp2_ = self->priv->border_color; @@ -744,7 +807,7 @@ void config_facade_get_border_color (ConfigFacade* self, GdkRGBA* result) { *result = _tmp3_; #line 127 "/home/jens/Source/shotwell/src/config/Config.vala" return; -#line 748 "Config.c" +#line 811 "Config.c" } @@ -779,7 +842,7 @@ void config_facade_set_bg_color (ConfigFacade* self, GdkRGBA* color) { _tmp4_ = *color; #line 136 "/home/jens/Source/shotwell/src/config/Config.vala" config_facade_set_text_colors (self, &_tmp4_); -#line 783 "Config.c" +#line 846 "Config.c" } @@ -791,7 +854,7 @@ void config_facade_commit_bg_color (ConfigFacade* self) { _tmp0_ = self->priv->bg_color; #line 140 "/home/jens/Source/shotwell/src/config/Config.vala" CONFIGURATION_FACADE_CLASS (config_facade_parent_class)->set_bg_color_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp0_); -#line 795 "Config.c" +#line 858 "Config.c" } @@ -804,7 +867,7 @@ static void config_facade_class_init (ConfigFacadeClass * klass) { G_OBJECT_CLASS (klass)->finalize = config_facade_finalize; #line 18 "/home/jens/Source/shotwell/src/config/Config.vala" g_signal_new ("colors_changed", CONFIG_TYPE_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 808 "Config.c" +#line 871 "Config.c" } @@ -821,7 +884,7 @@ static void config_facade_instance_init (ConfigFacade * self) { self->priv->unfocused_selected_color = NULL; #line 46 "/home/jens/Source/shotwell/src/config/Config.vala" self->priv->border_color = NULL; -#line 825 "Config.c" +#line 888 "Config.c" } @@ -841,7 +904,7 @@ static void config_facade_finalize (GObject* obj) { _g_free0 (self->priv->border_color); #line 18 "/home/jens/Source/shotwell/src/config/Config.vala" G_OBJECT_CLASS (config_facade_parent_class)->finalize (obj); -#line 845 "Config.c" +#line 908 "Config.c" } diff --git a/src/config/ConfigurationInterfaces.c b/src/config/ConfigurationInterfaces.c index d1fa9e7..cacb1ad 100644 --- a/src/config/ConfigurationInterfaces.c +++ b/src/config/ConfigurationInterfaces.c @@ -42,6 +42,14 @@ typedef struct _ConfigurationFacadePrivate ConfigurationFacadePrivate; #define TYPE_DIMENSIONS (dimensions_get_type ()) typedef struct _Dimensions Dimensions; +#define TYPE_SCALE_CONSTRAINT (scale_constraint_get_type ()) + +#define TYPE_EXPORT_FORMAT_MODE (export_format_mode_get_type ()) + +#define TYPE_PHOTO_FILE_FORMAT (photo_file_format_get_type ()) + +#define JPEG_TYPE_QUALITY (jpeg_quality_get_type ()) + #define TYPE_RAW_DEVELOPER (raw_developer_get_type ()) #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) @@ -84,6 +92,12 @@ typedef enum { CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, + CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT, + CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, + CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, + CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, + CONFIGURABLE_PROPERTY_EXPORT_QUALITY, + CONFIGURABLE_PROPERTY_EXPORT_SCALE, CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, @@ -130,6 +144,8 @@ struct _ConfigurationEngineIface { gchar* (*get_name) (ConfigurationEngine* self); gint (*get_int_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); void (*set_int_property) (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error); + gint (*get_enum_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); + void (*set_enum_property) (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error); gchar* (*get_string_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); void (*set_string_property) (ConfigurationEngine* self, ConfigurableProperty p, const gchar* val, GError** error); gboolean (*get_bool_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); @@ -155,6 +171,37 @@ struct _Dimensions { }; typedef enum { + SCALE_CONSTRAINT_ORIGINAL, + SCALE_CONSTRAINT_DIMENSIONS, + SCALE_CONSTRAINT_WIDTH, + SCALE_CONSTRAINT_HEIGHT, + SCALE_CONSTRAINT_FILL_VIEWPORT +} ScaleConstraint; + +typedef enum { + EXPORT_FORMAT_MODE_UNMODIFIED, + EXPORT_FORMAT_MODE_CURRENT, + EXPORT_FORMAT_MODE_SPECIFIED, + EXPORT_FORMAT_MODE_LAST +} ExportFormatMode; + +typedef enum { + PHOTO_FILE_FORMAT_JFIF, + PHOTO_FILE_FORMAT_RAW, + PHOTO_FILE_FORMAT_PNG, + PHOTO_FILE_FORMAT_TIFF, + PHOTO_FILE_FORMAT_BMP, + PHOTO_FILE_FORMAT_UNKNOWN +} PhotoFileFormat; + +typedef enum { + JPEG_QUALITY_LOW = 50, + JPEG_QUALITY_MEDIUM = 75, + JPEG_QUALITY_HIGH = 90, + JPEG_QUALITY_MAXIMUM = 100 +} JpegQuality; + +typedef enum { RAW_DEVELOPER_SHOTWELL = 0, RAW_DEVELOPER_CAMERA, RAW_DEVELOPER_EMBEDDED @@ -211,6 +258,18 @@ struct _ConfigurationFacadeClass { void (*set_external_photo_app) (ConfigurationFacade* self, const gchar* external_photo_app); gchar* (*get_external_raw_app) (ConfigurationFacade* self); void (*set_external_raw_app) (ConfigurationFacade* self, const gchar* external_raw_app); + ScaleConstraint (*get_export_constraint) (ConfigurationFacade* self); + void (*set_export_constraint) (ConfigurationFacade* self, ScaleConstraint constraint); + ExportFormatMode (*get_export_export_format_mode) (ConfigurationFacade* self); + void (*set_export_export_format_mode) (ConfigurationFacade* self, ExportFormatMode export_format_mode); + gboolean (*get_export_export_metadata) (ConfigurationFacade* self); + void (*set_export_export_metadata) (ConfigurationFacade* self, gboolean export_metadata); + PhotoFileFormat (*get_export_photo_file_format) (ConfigurationFacade* self); + void (*set_export_photo_file_format) (ConfigurationFacade* self, PhotoFileFormat photo_file_format); + JpegQuality (*get_export_quality) (ConfigurationFacade* self); + void (*set_export_quality) (ConfigurationFacade* self, JpegQuality quality); + gint (*get_export_scale) (ConfigurationFacade* self); + void (*set_export_scale) (ConfigurationFacade* self, gint scale); RawDeveloper (*get_default_raw_developer) (ConfigurationFacade* self); void (*set_default_raw_developer) (ConfigurationFacade* self, RawDeveloper d); gboolean (*get_hide_photos_already_imported) (ConfigurationFacade* self); @@ -305,6 +364,8 @@ GType configuration_engine_get_type (void) G_GNUC_CONST; gchar* configuration_engine_get_name (ConfigurationEngine* self); gint configuration_engine_get_int_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error); void configuration_engine_set_int_property (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error); +gint configuration_engine_get_enum_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error); +void configuration_engine_set_enum_property (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error); gchar* configuration_engine_get_string_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error); void configuration_engine_set_string_property (ConfigurationEngine* self, ConfigurableProperty p, const gchar* val, GError** error); gboolean configuration_engine_get_bool_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error); @@ -326,6 +387,10 @@ GType configuration_facade_get_type (void) G_GNUC_CONST; GType dimensions_get_type (void) G_GNUC_CONST; Dimensions* dimensions_dup (const Dimensions* self); void dimensions_free (Dimensions* self); +GType scale_constraint_get_type (void) G_GNUC_CONST; +GType export_format_mode_get_type (void) G_GNUC_CONST; +GType photo_file_format_get_type (void) G_GNUC_CONST; +GType jpeg_quality_get_type (void) G_GNUC_CONST; GType raw_developer_get_type (void) G_GNUC_CONST; #define CONFIGURATION_FACADE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_CONFIGURATION_FACADE, ConfigurationFacadePrivate)) enum { @@ -425,6 +490,32 @@ gchar* configuration_facade_get_external_raw_app (ConfigurationFacade* self); static gchar* configuration_facade_real_get_external_raw_app (ConfigurationFacade* self); void configuration_facade_set_external_raw_app (ConfigurationFacade* self, const gchar* external_raw_app); static void configuration_facade_real_set_external_raw_app (ConfigurationFacade* self, const gchar* external_raw_app); +ScaleConstraint configuration_facade_get_export_constraint (ConfigurationFacade* self); +static ScaleConstraint configuration_facade_real_get_export_constraint (ConfigurationFacade* self); +void configuration_facade_set_export_constraint (ConfigurationFacade* self, ScaleConstraint constraint); +static void configuration_facade_real_set_export_constraint (ConfigurationFacade* self, ScaleConstraint constraint); +ExportFormatMode configuration_facade_get_export_export_format_mode (ConfigurationFacade* self); +static ExportFormatMode configuration_facade_real_get_export_export_format_mode (ConfigurationFacade* self); +void configuration_facade_set_export_export_format_mode (ConfigurationFacade* self, ExportFormatMode export_format_mode); +static void configuration_facade_real_set_export_export_format_mode (ConfigurationFacade* self, ExportFormatMode export_format_mode); +gboolean configuration_facade_get_export_export_metadata (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_export_export_metadata (ConfigurationFacade* self); +void configuration_facade_set_export_export_metadata (ConfigurationFacade* self, gboolean export_metadata); +static void configuration_facade_real_set_export_export_metadata (ConfigurationFacade* self, gboolean export_metadata); +PhotoFileFormat configuration_facade_get_export_photo_file_format (ConfigurationFacade* self); +static PhotoFileFormat configuration_facade_real_get_export_photo_file_format (ConfigurationFacade* self); +PhotoFileFormat photo_file_format_unserialize (gint value); +void configuration_facade_set_export_photo_file_format (ConfigurationFacade* self, PhotoFileFormat photo_file_format); +static void configuration_facade_real_set_export_photo_file_format (ConfigurationFacade* self, PhotoFileFormat photo_file_format); +gint photo_file_format_serialize (PhotoFileFormat self); +JpegQuality configuration_facade_get_export_quality (ConfigurationFacade* self); +static JpegQuality configuration_facade_real_get_export_quality (ConfigurationFacade* self); +void configuration_facade_set_export_quality (ConfigurationFacade* self, JpegQuality quality); +static void configuration_facade_real_set_export_quality (ConfigurationFacade* self, JpegQuality quality); +gint configuration_facade_get_export_scale (ConfigurationFacade* self); +static gint configuration_facade_real_get_export_scale (ConfigurationFacade* self); +void configuration_facade_set_export_scale (ConfigurationFacade* self, gint scale); +static void configuration_facade_real_set_export_scale (ConfigurationFacade* self, gint scale); RawDeveloper configuration_facade_get_default_raw_developer (ConfigurationFacade* self); static RawDeveloper configuration_facade_real_get_default_raw_developer (ConfigurationFacade* self); RawDeveloper raw_developer_from_string (const gchar* value); @@ -607,833 +698,911 @@ GType fuzzy_property_state_get_type (void) { gchar* configurable_property_to_string (ConfigurableProperty self) { gchar* result = NULL; -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" switch (self) { -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY: -#line 615 "ConfigurationInterfaces.c" +#line 706 "ConfigurationInterfaces.c" { gchar* _tmp0_ = NULL; -#line 93 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = g_strdup ("AUTO_IMPORT_FROM_LIBRARY"); -#line 93 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 93 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 624 "ConfigurationInterfaces.c" +#line 715 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_BG_COLOR_NAME: -#line 628 "ConfigurationInterfaces.c" +#line 719 "ConfigurationInterfaces.c" { gchar* _tmp1_ = NULL; -#line 96 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = g_strdup ("BG_COLOR_NAME"); -#line 96 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp1_; -#line 96 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 637 "ConfigurationInterfaces.c" +#line 728 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS: -#line 641 "ConfigurationInterfaces.c" +#line 732 "ConfigurationInterfaces.c" { gchar* _tmp2_ = NULL; -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = g_strdup ("COMMIT_METADATA_TO_MASTERS"); -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp2_; -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 650 "ConfigurationInterfaces.c" +#line 741 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE: -#line 654 "ConfigurationInterfaces.c" +#line 745 "ConfigurationInterfaces.c" { gchar* _tmp3_ = NULL; -#line 102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 108 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = g_strdup ("DESKTOP_BACKGROUND_FILE"); -#line 102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 108 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp3_; -#line 102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 108 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 663 "ConfigurationInterfaces.c" +#line 754 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE: -#line 667 "ConfigurationInterfaces.c" +#line 758 "ConfigurationInterfaces.c" { gchar* _tmp4_ = NULL; -#line 105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 111 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = g_strdup ("DESKTOP_BACKGROUND_MODE"); -#line 105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 111 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp4_; -#line 105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 111 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 676 "ConfigurationInterfaces.c" +#line 767 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_SCREENSAVER_FILE: -#line 680 "ConfigurationInterfaces.c" +#line 771 "ConfigurationInterfaces.c" { gchar* _tmp5_ = NULL; -#line 108 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = g_strdup ("SCREENSAVER_FILE"); -#line 108 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; -#line 108 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 689 "ConfigurationInterfaces.c" +#line 780 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_SCREENSAVER_MODE: -#line 693 "ConfigurationInterfaces.c" +#line 784 "ConfigurationInterfaces.c" { gchar* _tmp6_ = NULL; -#line 111 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = g_strdup ("SCREENSAVER_MODE"); -#line 111 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp6_; -#line 111 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 702 "ConfigurationInterfaces.c" +#line 793 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN: -#line 706 "ConfigurationInterfaces.c" +#line 797 "ConfigurationInterfaces.c" { gchar* _tmp7_ = NULL; -#line 114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup ("DIRECTORY_PATTERN"); -#line 114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 715 "ConfigurationInterfaces.c" +#line 806 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM: -#line 719 "ConfigurationInterfaces.c" +#line 810 "ConfigurationInterfaces.c" { gchar* _tmp8_ = NULL; -#line 117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = g_strdup ("DIRECTORY_PATTERN_CUSTOM"); -#line 117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp8_; -#line 117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 728 "ConfigurationInterfaces.c" +#line 819 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT: -#line 732 "ConfigurationInterfaces.c" +#line 823 "ConfigurationInterfaces.c" { gchar* _tmp9_ = NULL; -#line 120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = g_strdup ("DIRECT_WINDOW_HEIGHT"); -#line 120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp9_; -#line 120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 741 "ConfigurationInterfaces.c" +#line 832 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE: -#line 745 "ConfigurationInterfaces.c" +#line 836 "ConfigurationInterfaces.c" { gchar* _tmp10_ = NULL; -#line 123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 129 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = g_strdup ("DIRECT_WINDOW_MAXIMIZE"); -#line 123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 129 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp10_; -#line 123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 129 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 754 "ConfigurationInterfaces.c" +#line 845 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH: -#line 758 "ConfigurationInterfaces.c" +#line 849 "ConfigurationInterfaces.c" { gchar* _tmp11_ = NULL; -#line 126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp11_ = g_strdup ("DIRECT_WINDOW_WIDTH"); -#line 126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp11_; -#line 126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 767 "ConfigurationInterfaces.c" +#line 858 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES: -#line 771 "ConfigurationInterfaces.c" +#line 862 "ConfigurationInterfaces.c" { gchar* _tmp12_ = NULL; -#line 129 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp12_ = g_strdup ("DISPLAY_BASIC_PROPERTIES"); -#line 129 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp12_; -#line 129 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 780 "ConfigurationInterfaces.c" +#line 871 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES: -#line 784 "ConfigurationInterfaces.c" +#line 875 "ConfigurationInterfaces.c" { gchar* _tmp13_ = NULL; -#line 132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp13_ = g_strdup ("DISPLAY_EXTENDED_PROPERTIES"); -#line 132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp13_; -#line 132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 793 "ConfigurationInterfaces.c" +#line 884 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR: -#line 797 "ConfigurationInterfaces.c" +#line 888 "ConfigurationInterfaces.c" { gchar* _tmp14_ = NULL; -#line 135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp14_ = g_strdup ("DISPLAY_SIDEBAR"); -#line 135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp14_; -#line 135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 806 "ConfigurationInterfaces.c" +#line 897 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR: -#line 810 "ConfigurationInterfaces.c" +#line 901 "ConfigurationInterfaces.c" { gchar* _tmp15_ = NULL; -#line 138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp15_ = g_strdup ("DISPLAY_TOOLBAR"); -#line 138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp15_; -#line 138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 819 "ConfigurationInterfaces.c" +#line 910 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR: -#line 823 "ConfigurationInterfaces.c" +#line 914 "ConfigurationInterfaces.c" { gchar* _tmp16_ = NULL; -#line 141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp16_ = g_strdup ("DISPLAY_SEARCH_BAR"); -#line 141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp16_; -#line 141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 832 "ConfigurationInterfaces.c" +#line 923 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS: -#line 836 "ConfigurationInterfaces.c" +#line 927 "ConfigurationInterfaces.c" { gchar* _tmp17_ = NULL; -#line 144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 150 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp17_ = g_strdup ("DISPLAY_PHOTO_RATINGS"); -#line 144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 150 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp17_; -#line 144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 150 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 845 "ConfigurationInterfaces.c" +#line 936 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS: -#line 849 "ConfigurationInterfaces.c" +#line 940 "ConfigurationInterfaces.c" { gchar* _tmp18_ = NULL; -#line 147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp18_ = g_strdup ("DISPLAY_PHOTO_TAGS"); -#line 147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp18_; -#line 147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 858 "ConfigurationInterfaces.c" +#line 949 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES: -#line 862 "ConfigurationInterfaces.c" +#line 953 "ConfigurationInterfaces.c" { gchar* _tmp19_ = NULL; -#line 150 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp19_ = g_strdup ("DISPLAY_PHOTO_TITLES"); -#line 150 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp19_; -#line 150 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 871 "ConfigurationInterfaces.c" +#line 962 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS: -#line 875 "ConfigurationInterfaces.c" +#line 966 "ConfigurationInterfaces.c" { gchar* _tmp20_ = NULL; -#line 153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp20_ = g_strdup ("DISPLAY_PHOTO_COMMENTS"); -#line 153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp20_; -#line 153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 884 "ConfigurationInterfaces.c" +#line 975 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS: -#line 888 "ConfigurationInterfaces.c" +#line 979 "ConfigurationInterfaces.c" { gchar* _tmp21_ = NULL; -#line 156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp21_ = g_strdup ("DISPLAY_EVENT_COMMENTS"); -#line 156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp21_; -#line 156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 897 "ConfigurationInterfaces.c" +#line 988 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING: -#line 901 "ConfigurationInterfaces.c" +#line 992 "ConfigurationInterfaces.c" { gchar* _tmp22_ = NULL; -#line 159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp22_ = g_strdup ("EVENT_PHOTOS_SORT_ASCENDING"); -#line 159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp22_; -#line 159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 910 "ConfigurationInterfaces.c" +#line 1001 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY: -#line 914 "ConfigurationInterfaces.c" +#line 1005 "ConfigurationInterfaces.c" { gchar* _tmp23_ = NULL; -#line 162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp23_ = g_strdup ("EVENT_PHOTOS_SORT_BY"); -#line 162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp23_; -#line 162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 923 "ConfigurationInterfaces.c" +#line 1014 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING: -#line 927 "ConfigurationInterfaces.c" +#line 1018 "ConfigurationInterfaces.c" { gchar* _tmp24_ = NULL; -#line 165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp24_ = g_strdup ("EVENTS_SORT_ASCENDING"); -#line 165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp24_; -#line 165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 936 "ConfigurationInterfaces.c" - } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP: -#line 940 "ConfigurationInterfaces.c" - { - gchar* _tmp25_ = NULL; -#line 168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp25_ = g_strdup ("EXTERNAL_PHOTO_APP"); -#line 168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp25_; -#line 168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 949 "ConfigurationInterfaces.c" - } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP: -#line 953 "ConfigurationInterfaces.c" - { - gchar* _tmp26_ = NULL; #line 171 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp26_ = g_strdup ("EXTERNAL_RAW_APP"); + _tmp24_ = g_strdup ("EVENTS_SORT_ASCENDING"); #line 171 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp26_; + result = _tmp24_; #line 171 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 962 "ConfigurationInterfaces.c" +#line 1027 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED: -#line 966 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT: +#line 1031 "ConfigurationInterfaces.c" { - gchar* _tmp27_ = NULL; + gchar* _tmp25_ = NULL; #line 174 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp27_ = g_strdup ("HIDE_PHOTOS_ALREADY_IMPORTED"); + _tmp25_ = g_strdup ("EXPORT_CONSTRAINT"); #line 174 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp27_; + result = _tmp25_; #line 174 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 975 "ConfigurationInterfaces.c" +#line 1040 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_IMPORT_DIR: -#line 979 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE: +#line 1044 "ConfigurationInterfaces.c" { - gchar* _tmp28_ = NULL; + gchar* _tmp26_ = NULL; #line 177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp28_ = g_strdup ("IMPORT_DIR"); + _tmp26_ = g_strdup ("EXPORT_EXPORT_FORMAT_MODE"); #line 177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp28_; + result = _tmp26_; #line 177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 988 "ConfigurationInterfaces.c" +#line 1053 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_KEEP_RELATIVITY: -#line 992 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA: +#line 1057 "ConfigurationInterfaces.c" { - gchar* _tmp29_ = NULL; + gchar* _tmp27_ = NULL; #line 180 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp29_ = g_strdup ("KEEP_RELATIVITY"); + _tmp27_ = g_strdup ("EXPORT_EXPORT_METADATA"); #line 180 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp29_; + result = _tmp27_; #line 180 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1001 "ConfigurationInterfaces.c" +#line 1066 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT: -#line 1005 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT: +#line 1070 "ConfigurationInterfaces.c" { - gchar* _tmp30_ = NULL; + gchar* _tmp28_ = NULL; #line 183 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp30_ = g_strdup ("LAST_CROP_HEIGHT"); + _tmp28_ = g_strdup ("EXPORT_PHOTO_FILE_FORMAT"); #line 183 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp30_; + result = _tmp28_; #line 183 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1014 "ConfigurationInterfaces.c" +#line 1079 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE: -#line 1018 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EXPORT_QUALITY: +#line 1083 "ConfigurationInterfaces.c" { - gchar* _tmp31_ = NULL; + gchar* _tmp29_ = NULL; #line 186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp31_ = g_strdup ("LAST_CROP_MENU_CHOICE"); + _tmp29_ = g_strdup ("EXPORT_QUALITY"); #line 186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp31_; + result = _tmp29_; #line 186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1027 "ConfigurationInterfaces.c" +#line 1092 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH: -#line 1031 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EXPORT_SCALE: +#line 1096 "ConfigurationInterfaces.c" { - gchar* _tmp32_ = NULL; + gchar* _tmp30_ = NULL; #line 189 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp32_ = g_strdup ("LAST_CROP_WIDTH"); + _tmp30_ = g_strdup ("EXPORT_SCALE"); #line 189 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp32_; + result = _tmp30_; #line 189 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1040 "ConfigurationInterfaces.c" +#line 1105 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LAST_USED_SERVICE: -#line 1044 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP: +#line 1109 "ConfigurationInterfaces.c" { - gchar* _tmp33_ = NULL; + gchar* _tmp31_ = NULL; #line 192 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp33_ = g_strdup ("LAST_USED_SERVICE"); + _tmp31_ = g_strdup ("EXTERNAL_PHOTO_APP"); #line 192 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp33_; + result = _tmp31_; #line 192 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1053 "ConfigurationInterfaces.c" +#line 1118 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE: -#line 1057 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP: +#line 1122 "ConfigurationInterfaces.c" { - gchar* _tmp34_ = NULL; + gchar* _tmp32_ = NULL; #line 195 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp34_ = g_strdup ("LAST_USED_DATAIMPORTS_SERVICE"); + _tmp32_ = g_strdup ("EXTERNAL_RAW_APP"); #line 195 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp34_; + result = _tmp32_; #line 195 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1066 "ConfigurationInterfaces.c" +#line 1131 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING: -#line 1070 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED: +#line 1135 "ConfigurationInterfaces.c" { - gchar* _tmp35_ = NULL; + gchar* _tmp33_ = NULL; #line 198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp35_ = g_strdup ("LIBRARY_PHOTOS_SORT_ASCENDING"); + _tmp33_ = g_strdup ("HIDE_PHOTOS_ALREADY_IMPORTED"); #line 198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp35_; + result = _tmp33_; #line 198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1079 "ConfigurationInterfaces.c" +#line 1144 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY: -#line 1083 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_IMPORT_DIR: +#line 1148 "ConfigurationInterfaces.c" { - gchar* _tmp36_ = NULL; + gchar* _tmp34_ = NULL; #line 201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp36_ = g_strdup ("LIBRARY_PHOTOS_SORT_BY"); + _tmp34_ = g_strdup ("IMPORT_DIR"); #line 201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp36_; + result = _tmp34_; #line 201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1092 "ConfigurationInterfaces.c" +#line 1157 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT: -#line 1096 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_KEEP_RELATIVITY: +#line 1161 "ConfigurationInterfaces.c" { - gchar* _tmp37_ = NULL; + gchar* _tmp35_ = NULL; #line 204 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp37_ = g_strdup ("LIBRARY_WINDOW_HEIGHT"); + _tmp35_ = g_strdup ("KEEP_RELATIVITY"); #line 204 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp37_; + result = _tmp35_; #line 204 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1105 "ConfigurationInterfaces.c" +#line 1170 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE: -#line 1109 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT: +#line 1174 "ConfigurationInterfaces.c" { - gchar* _tmp38_ = NULL; + gchar* _tmp36_ = NULL; #line 207 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp38_ = g_strdup ("LIBRARY_WINDOW_MAXIMIZE"); + _tmp36_ = g_strdup ("LAST_CROP_HEIGHT"); #line 207 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp38_; + result = _tmp36_; #line 207 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1118 "ConfigurationInterfaces.c" +#line 1183 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH: -#line 1122 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE: +#line 1187 "ConfigurationInterfaces.c" { - gchar* _tmp39_ = NULL; + gchar* _tmp37_ = NULL; #line 210 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp39_ = g_strdup ("LIBRARY_WINDOW_WIDTH"); + _tmp37_ = g_strdup ("LAST_CROP_MENU_CHOICE"); #line 210 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp39_; + result = _tmp37_; #line 210 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1131 "ConfigurationInterfaces.c" +#line 1196 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS: -#line 1135 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH: +#line 1200 "ConfigurationInterfaces.c" { - gchar* _tmp40_ = NULL; + gchar* _tmp38_ = NULL; #line 213 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp40_ = g_strdup ("MODIFY_ORIGINALS"); + _tmp38_ = g_strdup ("LAST_CROP_WIDTH"); #line 213 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp40_; + result = _tmp38_; #line 213 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1144 "ConfigurationInterfaces.c" +#line 1209 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE: -#line 1148 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LAST_USED_SERVICE: +#line 1213 "ConfigurationInterfaces.c" { - gchar* _tmp41_ = NULL; + gchar* _tmp39_ = NULL; #line 216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp41_ = g_strdup ("PHOTO_THUMBNAIL_SCALE"); + _tmp39_ = g_strdup ("LAST_USED_SERVICE"); #line 216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp41_; + result = _tmp39_; #line 216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1157 "ConfigurationInterfaces.c" +#line 1222 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE: -#line 1161 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE: +#line 1226 "ConfigurationInterfaces.c" { - gchar* _tmp42_ = NULL; + gchar* _tmp40_ = NULL; #line 219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp42_ = g_strdup ("PIN_TOOLBAR_STATE"); + _tmp40_ = g_strdup ("LAST_USED_DATAIMPORTS_SERVICE"); #line 219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp42_; + result = _tmp40_; #line 219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1170 "ConfigurationInterfaces.c" +#line 1235 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT: -#line 1174 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING: +#line 1239 "ConfigurationInterfaces.c" { - gchar* _tmp43_ = NULL; + gchar* _tmp41_ = NULL; #line 222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp43_ = g_strdup ("PRINTING_CONTENT_HEIGHT"); + _tmp41_ = g_strdup ("LIBRARY_PHOTOS_SORT_ASCENDING"); #line 222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp43_; + result = _tmp41_; #line 222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1183 "ConfigurationInterfaces.c" +#line 1248 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT: -#line 1187 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY: +#line 1252 "ConfigurationInterfaces.c" { - gchar* _tmp44_ = NULL; + gchar* _tmp42_ = NULL; #line 225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp44_ = g_strdup ("PRINTING_CONTENT_LAYOUT"); + _tmp42_ = g_strdup ("LIBRARY_PHOTOS_SORT_BY"); #line 225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp44_; + result = _tmp42_; #line 225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1196 "ConfigurationInterfaces.c" +#line 1261 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI: -#line 1200 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT: +#line 1265 "ConfigurationInterfaces.c" { - gchar* _tmp45_ = NULL; + gchar* _tmp43_ = NULL; #line 228 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp45_ = g_strdup ("PRINTING_CONTENT_PPI"); + _tmp43_ = g_strdup ("LIBRARY_WINDOW_HEIGHT"); #line 228 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp45_; + result = _tmp43_; #line 228 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1209 "ConfigurationInterfaces.c" +#line 1274 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS: -#line 1213 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE: +#line 1278 "ConfigurationInterfaces.c" { - gchar* _tmp46_ = NULL; + gchar* _tmp44_ = NULL; #line 231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp46_ = g_strdup ("PRINTING_CONTENT_UNITS"); + _tmp44_ = g_strdup ("LIBRARY_WINDOW_MAXIMIZE"); #line 231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp46_; + result = _tmp44_; #line 231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1222 "ConfigurationInterfaces.c" +#line 1287 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH: -#line 1226 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH: +#line 1291 "ConfigurationInterfaces.c" { - gchar* _tmp47_ = NULL; + gchar* _tmp45_ = NULL; #line 234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp47_ = g_strdup ("PRINTING_CONTENT_WIDTH"); + _tmp45_ = g_strdup ("LIBRARY_WINDOW_WIDTH"); #line 234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp47_; + result = _tmp45_; #line 234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1235 "ConfigurationInterfaces.c" +#line 1300 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE: -#line 1239 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS: +#line 1304 "ConfigurationInterfaces.c" { - gchar* _tmp48_ = NULL; + gchar* _tmp46_ = NULL; #line 237 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp48_ = g_strdup ("PRINTING_IMAGES_PER_PAGE"); + _tmp46_ = g_strdup ("MODIFY_ORIGINALS"); #line 237 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp48_; + result = _tmp46_; #line 237 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1248 "ConfigurationInterfaces.c" +#line 1313 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO: -#line 1252 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE: +#line 1317 "ConfigurationInterfaces.c" { - gchar* _tmp49_ = NULL; + gchar* _tmp47_ = NULL; #line 240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp49_ = g_strdup ("PRINTING_MATCH_ASPECT_RATIO"); + _tmp47_ = g_strdup ("PHOTO_THUMBNAIL_SCALE"); #line 240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp49_; + result = _tmp47_; #line 240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1261 "ConfigurationInterfaces.c" +#line 1326 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES: -#line 1265 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE: +#line 1330 "ConfigurationInterfaces.c" { - gchar* _tmp50_ = NULL; + gchar* _tmp48_ = NULL; #line 243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp50_ = g_strdup ("PRINTING_PRINT_TITLES"); + _tmp48_ = g_strdup ("PIN_TOOLBAR_STATE"); #line 243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp50_; + result = _tmp48_; #line 243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1274 "ConfigurationInterfaces.c" +#line 1339 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION: -#line 1278 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT: +#line 1343 "ConfigurationInterfaces.c" { - gchar* _tmp51_ = NULL; + gchar* _tmp49_ = NULL; #line 246 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp51_ = g_strdup ("PRINTING_SIZE_SELECTION"); + _tmp49_ = g_strdup ("PRINTING_CONTENT_HEIGHT"); #line 246 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp51_; + result = _tmp49_; #line 246 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1287 "ConfigurationInterfaces.c" +#line 1352 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT: -#line 1291 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT: +#line 1356 "ConfigurationInterfaces.c" { - gchar* _tmp52_ = NULL; + gchar* _tmp50_ = NULL; #line 249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp52_ = g_strdup ("PRINTING_TITLES_FONT"); + _tmp50_ = g_strdup ("PRINTING_CONTENT_LAYOUT"); #line 249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp52_; + result = _tmp50_; #line 249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1300 "ConfigurationInterfaces.c" +#line 1365 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT: -#line 1304 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI: +#line 1369 "ConfigurationInterfaces.c" { - gchar* _tmp53_ = NULL; + gchar* _tmp51_ = NULL; #line 252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp53_ = g_strdup ("RAW_DEVELOPER_DEFAULT"); + _tmp51_ = g_strdup ("PRINTING_CONTENT_PPI"); #line 252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp53_; + result = _tmp51_; #line 252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1313 "ConfigurationInterfaces.c" +#line 1378 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG: -#line 1317 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS: +#line 1382 "ConfigurationInterfaces.c" { - gchar* _tmp54_ = NULL; + gchar* _tmp52_ = NULL; #line 255 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp54_ = g_strdup ("SHOW_WELCOME_DIALOG"); + _tmp52_ = g_strdup ("PRINTING_CONTENT_UNITS"); #line 255 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp54_; + result = _tmp52_; #line 255 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1326 "ConfigurationInterfaces.c" +#line 1391 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_SIDEBAR_POSITION: -#line 1330 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH: +#line 1395 "ConfigurationInterfaces.c" { - gchar* _tmp55_ = NULL; + gchar* _tmp53_ = NULL; #line 258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp55_ = g_strdup ("SIDEBAR_POSITION"); + _tmp53_ = g_strdup ("PRINTING_CONTENT_WIDTH"); #line 258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp55_; + result = _tmp53_; #line 258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1339 "ConfigurationInterfaces.c" +#line 1404 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY: -#line 1343 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE: +#line 1408 "ConfigurationInterfaces.c" { - gchar* _tmp56_ = NULL; + gchar* _tmp54_ = NULL; #line 261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp56_ = g_strdup ("SLIDESHOW_DELAY"); + _tmp54_ = g_strdup ("PRINTING_IMAGES_PER_PAGE"); #line 261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp56_; + result = _tmp54_; #line 261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1352 "ConfigurationInterfaces.c" +#line 1417 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY: -#line 1356 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO: +#line 1421 "ConfigurationInterfaces.c" { - gchar* _tmp57_ = NULL; + gchar* _tmp55_ = NULL; #line 264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp57_ = g_strdup ("SLIDESHOW_TRANSITION_DELAY"); + _tmp55_ = g_strdup ("PRINTING_MATCH_ASPECT_RATIO"); #line 264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp57_; + result = _tmp55_; #line 264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1365 "ConfigurationInterfaces.c" +#line 1430 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID: -#line 1369 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES: +#line 1434 "ConfigurationInterfaces.c" { - gchar* _tmp58_ = NULL; + gchar* _tmp56_ = NULL; #line 267 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp58_ = g_strdup ("SLIDESHOW_TRANSITION_EFFECT_ID"); + _tmp56_ = g_strdup ("PRINTING_PRINT_TITLES"); #line 267 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp58_; + result = _tmp56_; #line 267 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1378 "ConfigurationInterfaces.c" +#line 1443 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE: -#line 1382 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION: +#line 1447 "ConfigurationInterfaces.c" { - gchar* _tmp59_ = NULL; + gchar* _tmp57_ = NULL; #line 270 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp59_ = g_strdup ("SLIDESHOW_SHOW_TITLE"); + _tmp57_ = g_strdup ("PRINTING_SIZE_SELECTION"); #line 270 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp59_; + result = _tmp57_; #line 270 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1391 "ConfigurationInterfaces.c" +#line 1456 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME: -#line 1395 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT: +#line 1460 "ConfigurationInterfaces.c" { - gchar* _tmp60_ = NULL; + gchar* _tmp58_ = NULL; #line 273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp60_ = g_strdup ("USE_24_HOUR_TIME"); + _tmp58_ = g_strdup ("PRINTING_TITLES_FONT"); #line 273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp60_; + result = _tmp58_; #line 273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1404 "ConfigurationInterfaces.c" +#line 1469 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES: -#line 1408 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT: +#line 1473 "ConfigurationInterfaces.c" { - gchar* _tmp61_ = NULL; + gchar* _tmp59_ = NULL; #line 276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp61_ = g_strdup ("USE_LOWERCASE_FILENAMES"); + _tmp59_ = g_strdup ("RAW_DEVELOPER_DEFAULT"); #line 276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp61_; + result = _tmp59_; #line 276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1417 "ConfigurationInterfaces.c" +#line 1482 "ConfigurationInterfaces.c" } -#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE: -#line 1421 "ConfigurationInterfaces.c" +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG: +#line 1486 "ConfigurationInterfaces.c" { - gchar* _tmp62_ = NULL; + gchar* _tmp60_ = NULL; #line 279 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp62_ = g_strdup ("VIDEO_INTERPRETER_STATE_COOKIE"); + _tmp60_ = g_strdup ("SHOW_WELCOME_DIALOG"); #line 279 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp62_; + result = _tmp60_; #line 279 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1430 "ConfigurationInterfaces.c" +#line 1495 "ConfigurationInterfaces.c" } - default: +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_SIDEBAR_POSITION: +#line 1499 "ConfigurationInterfaces.c" { + gchar* _tmp61_ = NULL; #line 282 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_error ("ConfigurationInterfaces.vala:282: unknown ConfigurableProperty enumera" \ + _tmp61_ = g_strdup ("SIDEBAR_POSITION"); +#line 282 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp61_; +#line 282 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1508 "ConfigurationInterfaces.c" + } +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY: +#line 1512 "ConfigurationInterfaces.c" + { + gchar* _tmp62_ = NULL; +#line 285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp62_ = g_strdup ("SLIDESHOW_DELAY"); +#line 285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp62_; +#line 285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1521 "ConfigurationInterfaces.c" + } +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY: +#line 1525 "ConfigurationInterfaces.c" + { + gchar* _tmp63_ = NULL; +#line 288 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp63_ = g_strdup ("SLIDESHOW_TRANSITION_DELAY"); +#line 288 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp63_; +#line 288 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1534 "ConfigurationInterfaces.c" + } +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID: +#line 1538 "ConfigurationInterfaces.c" + { + gchar* _tmp64_ = NULL; +#line 291 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp64_ = g_strdup ("SLIDESHOW_TRANSITION_EFFECT_ID"); +#line 291 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp64_; +#line 291 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1547 "ConfigurationInterfaces.c" + } +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE: +#line 1551 "ConfigurationInterfaces.c" + { + gchar* _tmp65_ = NULL; +#line 294 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp65_ = g_strdup ("SLIDESHOW_SHOW_TITLE"); +#line 294 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp65_; +#line 294 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1560 "ConfigurationInterfaces.c" + } +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME: +#line 1564 "ConfigurationInterfaces.c" + { + gchar* _tmp66_ = NULL; +#line 297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp66_ = g_strdup ("USE_24_HOUR_TIME"); +#line 297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp66_; +#line 297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1573 "ConfigurationInterfaces.c" + } +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES: +#line 1577 "ConfigurationInterfaces.c" + { + gchar* _tmp67_ = NULL; +#line 300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp67_ = g_strdup ("USE_LOWERCASE_FILENAMES"); +#line 300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp67_; +#line 300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1586 "ConfigurationInterfaces.c" + } +#line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE: +#line 1590 "ConfigurationInterfaces.c" + { + gchar* _tmp68_ = NULL; +#line 303 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp68_ = g_strdup ("VIDEO_INTERPRETER_STATE_COOKIE"); +#line 303 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp68_; +#line 303 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1599 "ConfigurationInterfaces.c" + } + default: + { +#line 306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_error ("ConfigurationInterfaces.vala:306: unknown ConfigurableProperty enumera" \ "tion value"); -#line 1436 "ConfigurationInterfaces.c" +#line 1605 "ConfigurationInterfaces.c" } } } @@ -1442,7 +1611,7 @@ gchar* configurable_property_to_string (ConfigurableProperty self) { GType configurable_property_get_type (void) { static volatile gsize configurable_property_type_id__volatile = 0; if (g_once_init_enter (&configurable_property_type_id__volatile)) { - static const GEnumValue values[] = {{CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY, "CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY", "auto-import-from-library"}, {CONFIGURABLE_PROPERTY_BG_COLOR_NAME, "CONFIGURABLE_PROPERTY_BG_COLOR_NAME", "bg-color-name"}, {CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, "CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS", "commit-metadata-to-masters"}, {CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, "CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE", "desktop-background-file"}, {CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE, "CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE", "desktop-background-mode"}, {CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, "CONFIGURABLE_PROPERTY_SCREENSAVER_FILE", "screensaver-file"}, {CONFIGURABLE_PROPERTY_SCREENSAVER_MODE, "CONFIGURABLE_PROPERTY_SCREENSAVER_MODE", "screensaver-mode"}, {CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, "CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN", "directory-pattern"}, {CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, "CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM", "directory-pattern-custom"}, {CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, "CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT", "direct-window-height"}, {CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, "CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE", "direct-window-maximize"}, {CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, "CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH", "direct-window-width"}, {CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, "CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES", "display-basic-properties"}, {CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, "CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS", "display-event-comments"}, {CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, "CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES", "display-extended-properties"}, {CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, "CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR", "display-sidebar"}, {CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, "CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR", "display-toolbar"}, {CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, "CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR", "display-search-bar"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS", "display-photo-ratings"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS", "display-photo-tags"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES", "display-photo-titles"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS", "display-photo-comments"}, {CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, "CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING", "event-photos-sort-ascending"}, {CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, "CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY", "event-photos-sort-by"}, {CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, "CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING", "events-sort-ascending"}, {CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, "CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP", "external-photo-app"}, {CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, "CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP", "external-raw-app"}, {CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, "CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED", "hide-photos-already-imported"}, {CONFIGURABLE_PROPERTY_IMPORT_DIR, "CONFIGURABLE_PROPERTY_IMPORT_DIR", "import-dir"}, {CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, "CONFIGURABLE_PROPERTY_KEEP_RELATIVITY", "keep-relativity"}, {CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, "CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT", "last-crop-height"}, {CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, "CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE", "last-crop-menu-choice"}, {CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, "CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH", "last-crop-width"}, {CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, "CONFIGURABLE_PROPERTY_LAST_USED_SERVICE", "last-used-service"}, {CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, "CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE", "last-used-dataimports-service"}, {CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, "CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING", "library-photos-sort-ascending"}, {CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, "CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY", "library-photos-sort-by"}, {CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, "CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT", "library-window-height"}, {CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, "CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE", "library-window-maximize"}, {CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, "CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH", "library-window-width"}, {CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, "CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS", "modify-originals"}, {CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, "CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE", "photo-thumbnail-scale"}, {CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, "CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE", "pin-toolbar-state"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT", "printing-content-height"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT", "printing-content-layout"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI", "printing-content-ppi"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS", "printing-content-units"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH", "printing-content-width"}, {CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, "CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE", "printing-images-per-page"}, {CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, "CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO", "printing-match-aspect-ratio"}, {CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, "CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES", "printing-print-titles"}, {CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, "CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION", "printing-size-selection"}, {CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, "CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT", "printing-titles-font"}, {CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, "CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT", "raw-developer-default"}, {CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, "CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG", "show-welcome-dialog"}, {CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, "CONFIGURABLE_PROPERTY_SIDEBAR_POSITION", "sidebar-position"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, "CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY", "slideshow-delay"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, "CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY", "slideshow-transition-delay"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, "CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID", "slideshow-transition-effect-id"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, "CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE", "slideshow-show-title"}, {CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, "CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME", "use-24-hour-time"}, {CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, "CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES", "use-lowercase-filenames"}, {CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, "CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE", "video-interpreter-state-cookie"}, {CONFIGURABLE_PROPERTY_NUM_PROPERTIES, "CONFIGURABLE_PROPERTY_NUM_PROPERTIES", "num-properties"}, {0, NULL, NULL}}; + static const GEnumValue values[] = {{CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY, "CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY", "auto-import-from-library"}, {CONFIGURABLE_PROPERTY_BG_COLOR_NAME, "CONFIGURABLE_PROPERTY_BG_COLOR_NAME", "bg-color-name"}, {CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, "CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS", "commit-metadata-to-masters"}, {CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, "CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE", "desktop-background-file"}, {CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE, "CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE", "desktop-background-mode"}, {CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, "CONFIGURABLE_PROPERTY_SCREENSAVER_FILE", "screensaver-file"}, {CONFIGURABLE_PROPERTY_SCREENSAVER_MODE, "CONFIGURABLE_PROPERTY_SCREENSAVER_MODE", "screensaver-mode"}, {CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, "CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN", "directory-pattern"}, {CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, "CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM", "directory-pattern-custom"}, {CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, "CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT", "direct-window-height"}, {CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, "CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE", "direct-window-maximize"}, {CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, "CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH", "direct-window-width"}, {CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, "CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES", "display-basic-properties"}, {CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, "CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS", "display-event-comments"}, {CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, "CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES", "display-extended-properties"}, {CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, "CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR", "display-sidebar"}, {CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, "CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR", "display-toolbar"}, {CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, "CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR", "display-search-bar"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS", "display-photo-ratings"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS", "display-photo-tags"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES", "display-photo-titles"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS", "display-photo-comments"}, {CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, "CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING", "event-photos-sort-ascending"}, {CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, "CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY", "event-photos-sort-by"}, {CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, "CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING", "events-sort-ascending"}, {CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT, "CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT", "export-constraint"}, {CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, "CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE", "export-export-format-mode"}, {CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, "CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA", "export-export-metadata"}, {CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, "CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT", "export-photo-file-format"}, {CONFIGURABLE_PROPERTY_EXPORT_QUALITY, "CONFIGURABLE_PROPERTY_EXPORT_QUALITY", "export-quality"}, {CONFIGURABLE_PROPERTY_EXPORT_SCALE, "CONFIGURABLE_PROPERTY_EXPORT_SCALE", "export-scale"}, {CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, "CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP", "external-photo-app"}, {CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, "CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP", "external-raw-app"}, {CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, "CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED", "hide-photos-already-imported"}, {CONFIGURABLE_PROPERTY_IMPORT_DIR, "CONFIGURABLE_PROPERTY_IMPORT_DIR", "import-dir"}, {CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, "CONFIGURABLE_PROPERTY_KEEP_RELATIVITY", "keep-relativity"}, {CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, "CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT", "last-crop-height"}, {CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, "CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE", "last-crop-menu-choice"}, {CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, "CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH", "last-crop-width"}, {CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, "CONFIGURABLE_PROPERTY_LAST_USED_SERVICE", "last-used-service"}, {CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, "CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE", "last-used-dataimports-service"}, {CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, "CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING", "library-photos-sort-ascending"}, {CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, "CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY", "library-photos-sort-by"}, {CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, "CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT", "library-window-height"}, {CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, "CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE", "library-window-maximize"}, {CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, "CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH", "library-window-width"}, {CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, "CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS", "modify-originals"}, {CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, "CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE", "photo-thumbnail-scale"}, {CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, "CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE", "pin-toolbar-state"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT", "printing-content-height"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT", "printing-content-layout"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI", "printing-content-ppi"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS", "printing-content-units"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH", "printing-content-width"}, {CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, "CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE", "printing-images-per-page"}, {CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, "CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO", "printing-match-aspect-ratio"}, {CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, "CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES", "printing-print-titles"}, {CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, "CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION", "printing-size-selection"}, {CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, "CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT", "printing-titles-font"}, {CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, "CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT", "raw-developer-default"}, {CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, "CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG", "show-welcome-dialog"}, {CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, "CONFIGURABLE_PROPERTY_SIDEBAR_POSITION", "sidebar-position"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, "CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY", "slideshow-delay"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, "CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY", "slideshow-transition-delay"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, "CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID", "slideshow-transition-effect-id"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, "CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE", "slideshow-show-title"}, {CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, "CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME", "use-24-hour-time"}, {CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, "CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES", "use-lowercase-filenames"}, {CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, "CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE", "video-interpreter-state-cookie"}, {CONFIGURABLE_PROPERTY_NUM_PROPERTIES, "CONFIGURABLE_PROPERTY_NUM_PROPERTIES", "num-properties"}, {0, NULL, NULL}}; GType configurable_property_type_id; configurable_property_type_id = g_enum_register_static ("ConfigurableProperty", values); g_once_init_leave (&configurable_property_type_id__volatile, configurable_property_type_id); @@ -1452,195 +1621,213 @@ GType configurable_property_get_type (void) { gchar* configuration_engine_get_name (ConfigurationEngine* self) { -#line 290 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 314 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), NULL); -#line 290 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 314 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_name (self); -#line 1459 "ConfigurationInterfaces.c" +#line 1628 "ConfigurationInterfaces.c" } gint configuration_engine_get_int_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) { -#line 292 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 316 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0); -#line 292 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 316 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_int_property (self, p, error); -#line 1468 "ConfigurationInterfaces.c" +#line 1637 "ConfigurationInterfaces.c" } void configuration_engine_set_int_property (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error) { -#line 293 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 293 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_int_property (self, p, val, error); -#line 1477 "ConfigurationInterfaces.c" +#line 1646 "ConfigurationInterfaces.c" +} + + +gint configuration_engine_get_enum_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) { +#line 319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0); +#line 319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_enum_property (self, p, error); +#line 1655 "ConfigurationInterfaces.c" +} + + +void configuration_engine_set_enum_property (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error) { +#line 320 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); +#line 320 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_enum_property (self, p, val, error); +#line 1664 "ConfigurationInterfaces.c" } gchar* configuration_engine_get_string_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) { -#line 295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 322 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), NULL); -#line 295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 322 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_string_property (self, p, error); -#line 1486 "ConfigurationInterfaces.c" +#line 1673 "ConfigurationInterfaces.c" } void configuration_engine_set_string_property (ConfigurationEngine* self, ConfigurableProperty p, const gchar* val, GError** error) { -#line 296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_string_property (self, p, val, error); -#line 1495 "ConfigurationInterfaces.c" +#line 1682 "ConfigurationInterfaces.c" } gboolean configuration_engine_get_bool_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) { -#line 298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 325 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), FALSE); -#line 298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 325 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_bool_property (self, p, error); -#line 1504 "ConfigurationInterfaces.c" +#line 1691 "ConfigurationInterfaces.c" } void configuration_engine_set_bool_property (ConfigurationEngine* self, ConfigurableProperty p, gboolean val, GError** error) { -#line 299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_bool_property (self, p, val, error); -#line 1513 "ConfigurationInterfaces.c" +#line 1700 "ConfigurationInterfaces.c" } gdouble configuration_engine_get_double_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) { -#line 301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0.0); -#line 301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_double_property (self, p, error); -#line 1522 "ConfigurationInterfaces.c" +#line 1709 "ConfigurationInterfaces.c" } void configuration_engine_set_double_property (ConfigurationEngine* self, ConfigurableProperty p, gdouble val, GError** error) { -#line 302 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 302 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_double_property (self, p, val, error); -#line 1531 "ConfigurationInterfaces.c" +#line 1718 "ConfigurationInterfaces.c" } gboolean configuration_engine_get_plugin_bool (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def) { -#line 304 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), FALSE); -#line 304 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_bool (self, domain, id, key, def); -#line 1540 "ConfigurationInterfaces.c" +#line 1727 "ConfigurationInterfaces.c" } void configuration_engine_set_plugin_bool (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val) { -#line 305 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 305 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_bool (self, domain, id, key, val); -#line 1549 "ConfigurationInterfaces.c" +#line 1736 "ConfigurationInterfaces.c" } gdouble configuration_engine_get_plugin_double (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def) { -#line 306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0.0); -#line 306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_double (self, domain, id, key, def); -#line 1558 "ConfigurationInterfaces.c" +#line 1745 "ConfigurationInterfaces.c" } void configuration_engine_set_plugin_double (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val) { -#line 307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_double (self, domain, id, key, val); -#line 1567 "ConfigurationInterfaces.c" +#line 1754 "ConfigurationInterfaces.c" } gint configuration_engine_get_plugin_int (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint def) { -#line 308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0); -#line 308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_int (self, domain, id, key, def); -#line 1576 "ConfigurationInterfaces.c" +#line 1763 "ConfigurationInterfaces.c" } void configuration_engine_set_plugin_int (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint val) { -#line 309 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 309 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_int (self, domain, id, key, val); -#line 1585 "ConfigurationInterfaces.c" +#line 1772 "ConfigurationInterfaces.c" } gchar* configuration_engine_get_plugin_string (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def) { -#line 310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), NULL); -#line 310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_string (self, domain, id, key, def); -#line 1594 "ConfigurationInterfaces.c" +#line 1781 "ConfigurationInterfaces.c" } void configuration_engine_set_plugin_string (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val) { -#line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_string (self, domain, id, key, val); -#line 1603 "ConfigurationInterfaces.c" +#line 1790 "ConfigurationInterfaces.c" } void configuration_engine_unset_plugin_key (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key) { -#line 312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->unset_plugin_key (self, domain, id, key); -#line 1612 "ConfigurationInterfaces.c" +#line 1799 "ConfigurationInterfaces.c" } FuzzyPropertyState configuration_engine_is_plugin_enabled (ConfigurationEngine* self, const gchar* id) { -#line 314 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 341 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0); -#line 314 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 341 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->is_plugin_enabled (self, id); -#line 1621 "ConfigurationInterfaces.c" +#line 1808 "ConfigurationInterfaces.c" } void configuration_engine_set_plugin_enabled (ConfigurationEngine* self, const gchar* id, gboolean enabled) { -#line 315 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 315 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_enabled (self, id, enabled); -#line 1630 "ConfigurationInterfaces.c" +#line 1817 "ConfigurationInterfaces.c" } static void configuration_engine_base_init (ConfigurationEngineIface * iface) { -#line 287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" static gboolean initialized = FALSE; -#line 287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (!initialized) { -#line 287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" initialized = TRUE; -#line 287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_new ("property_changed", TYPE_CONFIGURATION_ENGINE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__ENUM, G_TYPE_NONE, 1, TYPE_CONFIGURABLE_PROPERTY); -#line 1643 "ConfigurationInterfaces.c" +#line 1830 "ConfigurationInterfaces.c" } } @@ -1659,16 +1846,16 @@ GType configuration_engine_get_type (void) { static gpointer _g_object_ref0 (gpointer self) { -#line 329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return self ? g_object_ref (self) : NULL; -#line 1664 "ConfigurationInterfaces.c" +#line 1851 "ConfigurationInterfaces.c" } static void _configuration_facade_on_property_changed_configuration_engine_property_changed (ConfigurationEngine* _sender, ConfigurableProperty p, gpointer self) { -#line 331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 358 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_property_changed ((ConfigurationFacade*) self, p); -#line 1671 "ConfigurationInterfaces.c" +#line 1858 "ConfigurationInterfaces.c" } @@ -1677,25 +1864,25 @@ ConfigurationFacade* configuration_facade_construct (GType object_type, Configur ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; -#line 328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 355 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (engine), NULL); -#line 328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 355 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" self = (ConfigurationFacade*) g_object_new (object_type, NULL); -#line 329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = engine; -#line 329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (self->priv->engine); -#line 329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" self->priv->engine = _tmp1_; -#line 331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 358 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = engine; -#line 331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 358 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_connect_object (_tmp2_, "property-changed", (GCallback) _configuration_facade_on_property_changed_configuration_engine_property_changed, self, 0); -#line 328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 355 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return self; -#line 1698 "ConfigurationInterfaces.c" +#line 1885 "ConfigurationInterfaces.c" } @@ -1704,89 +1891,89 @@ static void configuration_facade_on_property_changed (ConfigurationFacade* self, gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; ConfigurableProperty _tmp3_ = 0; -#line 334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = p; -#line 335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configurable_property_to_string (_tmp0_); -#line 335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_debug ("ConfigurationInterfaces.vala:335: ConfigurationFacade: engine reports " \ +#line 362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_debug ("ConfigurationInterfaces.vala:362: ConfigurationFacade: engine reports " \ "property '%s' changed.", _tmp2_); -#line 335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp2_); -#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = p; -#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" switch (_tmp3_) { -#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY: -#line 1725 "ConfigurationInterfaces.c" +#line 1912 "ConfigurationInterfaces.c" { -#line 339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_emit_by_name (self, "auto-import-from-library-changed"); -#line 340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 367 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" break; -#line 1731 "ConfigurationInterfaces.c" +#line 1918 "ConfigurationInterfaces.c" } -#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_BG_COLOR_NAME: -#line 1735 "ConfigurationInterfaces.c" +#line 1922 "ConfigurationInterfaces.c" { -#line 343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 370 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_emit_by_name (self, "bg-color-name-changed"); -#line 344 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" break; -#line 1741 "ConfigurationInterfaces.c" +#line 1928 "ConfigurationInterfaces.c" } -#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS: -#line 1745 "ConfigurationInterfaces.c" +#line 1932 "ConfigurationInterfaces.c" { -#line 347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_emit_by_name (self, "commit-metadata-to-masters-changed"); -#line 348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" break; -#line 1751 "ConfigurationInterfaces.c" +#line 1938 "ConfigurationInterfaces.c" } -#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING: -#line 1755 "ConfigurationInterfaces.c" +#line 1942 "ConfigurationInterfaces.c" { -#line 351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_emit_by_name (self, "events-sort-ascending-changed"); -#line 352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 379 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" break; -#line 1761 "ConfigurationInterfaces.c" +#line 1948 "ConfigurationInterfaces.c" } -#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP: -#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP: -#line 1767 "ConfigurationInterfaces.c" +#line 1954 "ConfigurationInterfaces.c" { -#line 356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_emit_by_name (self, "external-app-changed"); -#line 357 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" break; -#line 1773 "ConfigurationInterfaces.c" +#line 1960 "ConfigurationInterfaces.c" } -#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_IMPORT_DIR: -#line 1777 "ConfigurationInterfaces.c" +#line 1964 "ConfigurationInterfaces.c" { -#line 360 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_emit_by_name (self, "import-directory-changed"); -#line 361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" break; -#line 1783 "ConfigurationInterfaces.c" +#line 1970 "ConfigurationInterfaces.c" } default: -#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" break; -#line 1788 "ConfigurationInterfaces.c" +#line 1975 "ConfigurationInterfaces.c" } } @@ -1795,100 +1982,100 @@ ConfigurationEngine* configuration_facade_get_engine (ConfigurationFacade* self) ConfigurationEngine* result = NULL; ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; -#line 365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 392 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = self->priv->engine; -#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp1_; -#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1807 "ConfigurationInterfaces.c" +#line 1994 "ConfigurationInterfaces.c" } void configuration_facade_on_configuration_error (ConfigurationFacade* self, GError* err) { GError* _tmp0_ = NULL; -#line 369 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 370 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = err; -#line 370 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (g_error_matches (_tmp0_, CONFIGURATION_ERROR, CONFIGURATION_ERROR_PROPERTY_HAS_NO_VALUE)) { -#line 1819 "ConfigurationInterfaces.c" +#line 2006 "ConfigurationInterfaces.c" ConfigurationEngine* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; GError* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; -#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = self->priv->engine; -#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = configuration_engine_get_name (_tmp1_); -#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = _tmp2_; -#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = err; -#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp4_->message; -#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_message ("ConfigurationInterfaces.vala:371: configuration engine '%s' reports PR" \ +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_message ("ConfigurationInterfaces.vala:398: configuration engine '%s' reports PR" \ "OPERTY_HAS_NO_VALUE error: %s", _tmp3_, _tmp5_); -#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp3_); -#line 1839 "ConfigurationInterfaces.c" +#line 2026 "ConfigurationInterfaces.c" } else { GError* _tmp6_ = NULL; -#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 401 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 401 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (g_error_matches (_tmp6_, CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR)) { -#line 1846 "ConfigurationInterfaces.c" +#line 2033 "ConfigurationInterfaces.c" ConfigurationEngine* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; GError* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; -#line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = self->priv->engine; -#line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = configuration_engine_get_name (_tmp7_); -#line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = _tmp8_; -#line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = err; -#line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp11_ = _tmp10_->message; -#line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_critical ("ConfigurationInterfaces.vala:375: configuration engine '%s' reports EN" \ +#line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("ConfigurationInterfaces.vala:402: configuration engine '%s' reports EN" \ "GINE_ERROR: %s", _tmp9_, _tmp11_); -#line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp9_); -#line 1866 "ConfigurationInterfaces.c" +#line 2053 "ConfigurationInterfaces.c" } else { ConfigurationEngine* _tmp12_ = NULL; gchar* _tmp13_ = NULL; gchar* _tmp14_ = NULL; GError* _tmp15_ = NULL; const gchar* _tmp16_ = NULL; -#line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp12_ = self->priv->engine; -#line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp13_ = configuration_engine_get_name (_tmp12_); -#line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp14_ = _tmp13_; -#line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp15_ = err; -#line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp16_ = _tmp15_->message; -#line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_critical ("ConfigurationInterfaces.vala:378: configuration engine '%s' reports un" \ +#line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("ConfigurationInterfaces.vala:405: configuration engine '%s' reports un" \ "known error: %s", _tmp14_, _tmp16_); -#line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp14_); -#line 1887 "ConfigurationInterfaces.c" +#line 2074 "ConfigurationInterfaces.c" } } } @@ -1903,77 +2090,77 @@ static gboolean configuration_facade_real_get_auto_import_from_library (Configur ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY, &_inner_error_); -#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 1918 "ConfigurationInterfaces.c" - goto __catch79_configuration_error; +#line 2105 "ConfigurationInterfaces.c" + goto __catch80_configuration_error; } -#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 1927 "ConfigurationInterfaces.c" +#line 2114 "ConfigurationInterfaces.c" } -#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1933 "ConfigurationInterfaces.c" +#line 2120 "ConfigurationInterfaces.c" } - goto __finally79; - __catch79_configuration_error: + goto __finally80; + __catch80_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 390 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 390 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 392 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; -#line 392 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 392 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 1954 "ConfigurationInterfaces.c" +#line 2141 "ConfigurationInterfaces.c" } - __finally79: -#line 387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally80: +#line 414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 1963 "ConfigurationInterfaces.c" +#line 2150 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_auto_import_from_library (ConfigurationFacade* self) { -#line 386 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 413 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 386 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 413 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_auto_import_from_library (self); -#line 1972 "ConfigurationInterfaces.c" +#line 2159 "ConfigurationInterfaces.c" } @@ -1983,71 +2170,71 @@ static void configuration_facade_real_set_auto_import_from_library (Configuratio ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = auto_import; -#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY, _tmp2_, &_inner_error_); -#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 1996 "ConfigurationInterfaces.c" - goto __catch80_configuration_error; +#line 2183 "ConfigurationInterfaces.c" + goto __catch81_configuration_error; } -#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2005 "ConfigurationInterfaces.c" +#line 2192 "ConfigurationInterfaces.c" } } - goto __finally80; - __catch80_configuration_error: + goto __finally81; + __catch81_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 424 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 424 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 401 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 401 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2025 "ConfigurationInterfaces.c" +#line 2212 "ConfigurationInterfaces.c" } - __finally80: -#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally81: +#line 424 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 424 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 424 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 424 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2036 "ConfigurationInterfaces.c" +#line 2223 "ConfigurationInterfaces.c" } } void configuration_facade_set_auto_import_from_library (ConfigurationFacade* self, gboolean auto_import) { -#line 396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_auto_import_from_library (self, auto_import); -#line 2046 "ConfigurationInterfaces.c" +#line 2233 "ConfigurationInterfaces.c" } @@ -2061,163 +2248,163 @@ static gchar* configuration_facade_real_get_bg_color_name (ConfigurationFacade* gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_BG_COLOR_NAME, &_inner_error_); -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2076 "ConfigurationInterfaces.c" - goto __catch81_configuration_error; +#line 2263 "ConfigurationInterfaces.c" + goto __catch82_configuration_error; } -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 2085 "ConfigurationInterfaces.c" +#line 2272 "ConfigurationInterfaces.c" } -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 2097 "ConfigurationInterfaces.c" +#line 2284 "ConfigurationInterfaces.c" } - goto __finally81; - __catch81_configuration_error: + goto __finally82; + __catch82_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 413 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 413 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); -#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); -#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 2121 "ConfigurationInterfaces.c" +#line 2308 "ConfigurationInterfaces.c" } - __finally81: -#line 410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally82: +#line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 2130 "ConfigurationInterfaces.c" +#line 2317 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_bg_color_name (ConfigurationFacade* self) { -#line 409 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 436 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 409 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 436 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_bg_color_name (self); -#line 2139 "ConfigurationInterfaces.c" +#line 2326 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_bg_color_name (ConfigurationFacade* self, const gchar* color_name) { GError * _inner_error_ = NULL; -#line 419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 446 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (color_name != NULL); -#line 2147 "ConfigurationInterfaces.c" +#line 2334 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = color_name; -#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_BG_COLOR_NAME, _tmp2_, &_inner_error_); -#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2166 "ConfigurationInterfaces.c" - goto __catch82_configuration_error; +#line 2353 "ConfigurationInterfaces.c" + goto __catch83_configuration_error; } -#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2175 "ConfigurationInterfaces.c" +#line 2362 "ConfigurationInterfaces.c" } } - goto __finally82; - __catch82_configuration_error: + goto __finally83; + __catch83_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 424 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 424 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2195 "ConfigurationInterfaces.c" +#line 2382 "ConfigurationInterfaces.c" } - __finally82: -#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally83: +#line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2206 "ConfigurationInterfaces.c" +#line 2393 "ConfigurationInterfaces.c" } } void configuration_facade_set_bg_color_name (ConfigurationFacade* self, const gchar* color_name) { -#line 419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 446 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 446 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_bg_color_name (self, color_name); -#line 2216 "ConfigurationInterfaces.c" +#line 2403 "ConfigurationInterfaces.c" } @@ -2230,77 +2417,77 @@ static gboolean configuration_facade_real_get_commit_metadata_to_masters (Config ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, &_inner_error_); -#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2245 "ConfigurationInterfaces.c" - goto __catch83_configuration_error; +#line 2432 "ConfigurationInterfaces.c" + goto __catch84_configuration_error; } -#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 2254 "ConfigurationInterfaces.c" +#line 2441 "ConfigurationInterfaces.c" } -#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 2260 "ConfigurationInterfaces.c" +#line 2447 "ConfigurationInterfaces.c" } - goto __finally83; - __catch83_configuration_error: + goto __finally84; + __catch84_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 435 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 435 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; -#line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 2281 "ConfigurationInterfaces.c" +#line 2468 "ConfigurationInterfaces.c" } - __finally83: -#line 432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally84: +#line 459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 2290 "ConfigurationInterfaces.c" +#line 2477 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_commit_metadata_to_masters (ConfigurationFacade* self) { -#line 431 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 431 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_commit_metadata_to_masters (self); -#line 2299 "ConfigurationInterfaces.c" +#line 2486 "ConfigurationInterfaces.c" } @@ -2310,71 +2497,71 @@ static void configuration_facade_real_set_commit_metadata_to_masters (Configurat ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = commit_metadata; -#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, _tmp2_, &_inner_error_); -#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2323 "ConfigurationInterfaces.c" - goto __catch84_configuration_error; +#line 2510 "ConfigurationInterfaces.c" + goto __catch85_configuration_error; } -#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2332 "ConfigurationInterfaces.c" +#line 2519 "ConfigurationInterfaces.c" } } - goto __finally84; - __catch84_configuration_error: + goto __finally85; + __catch85_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 446 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 473 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 446 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 473 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2352 "ConfigurationInterfaces.c" +#line 2539 "ConfigurationInterfaces.c" } - __finally84: -#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally85: +#line 469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2363 "ConfigurationInterfaces.c" +#line 2550 "ConfigurationInterfaces.c" } } void configuration_facade_set_commit_metadata_to_masters (ConfigurationFacade* self, gboolean commit_metadata) { -#line 441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_commit_metadata_to_masters (self, commit_metadata); -#line 2373 "ConfigurationInterfaces.c" +#line 2560 "ConfigurationInterfaces.c" } @@ -2388,186 +2575,186 @@ static gchar* configuration_facade_real_get_desktop_background (ConfigurationFac gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, &_inner_error_); -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2403 "ConfigurationInterfaces.c" - goto __catch85_configuration_error; +#line 2590 "ConfigurationInterfaces.c" + goto __catch86_configuration_error; } -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 2412 "ConfigurationInterfaces.c" +#line 2599 "ConfigurationInterfaces.c" } -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); -#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 2424 "ConfigurationInterfaces.c" +#line 2611 "ConfigurationInterfaces.c" } - goto __finally85; - __catch85_configuration_error: + goto __finally86; + __catch86_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 455 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 455 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 485 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 485 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); -#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); -#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 2448 "ConfigurationInterfaces.c" +#line 2635 "ConfigurationInterfaces.c" } - __finally85: -#line 455 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally86: +#line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 455 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 455 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 2457 "ConfigurationInterfaces.c" +#line 2644 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_desktop_background (ConfigurationFacade* self) { -#line 454 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 481 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 454 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 481 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_desktop_background (self); -#line 2466 "ConfigurationInterfaces.c" +#line 2653 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_desktop_background (ConfigurationFacade* self, const gchar* filename) { GError * _inner_error_ = NULL; -#line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (filename != NULL); -#line 2474 "ConfigurationInterfaces.c" +#line 2661 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; ConfigurationEngine* _tmp3_ = NULL; ConfigurationEngine* _tmp4_ = NULL; -#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = filename; -#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, _tmp2_, &_inner_error_); -#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2495 "ConfigurationInterfaces.c" - goto __catch86_configuration_error; +#line 2682 "ConfigurationInterfaces.c" + goto __catch87_configuration_error; } -#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2504 "ConfigurationInterfaces.c" +#line 2691 "ConfigurationInterfaces.c" } -#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_facade_get_engine (self); -#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp4_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE, "zoom", &_inner_error_); -#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp4_); -#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2518 "ConfigurationInterfaces.c" - goto __catch86_configuration_error; +#line 2705 "ConfigurationInterfaces.c" + goto __catch87_configuration_error; } -#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2527 "ConfigurationInterfaces.c" +#line 2714 "ConfigurationInterfaces.c" } } - goto __finally86; - __catch86_configuration_error: + goto __finally87; + __catch87_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 498 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 498 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 2545 "ConfigurationInterfaces.c" +#line 2732 "ConfigurationInterfaces.c" } - __finally86: -#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally87: +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2556 "ConfigurationInterfaces.c" +#line 2743 "ConfigurationInterfaces.c" } } void configuration_facade_set_desktop_background (ConfigurationFacade* self, const gchar* filename) { -#line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_desktop_background (self, filename); -#line 2566 "ConfigurationInterfaces.c" +#line 2753 "ConfigurationInterfaces.c" } @@ -2581,186 +2768,186 @@ static gchar* configuration_facade_real_get_screensaver (ConfigurationFacade* se gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, &_inner_error_); -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2596 "ConfigurationInterfaces.c" - goto __catch87_configuration_error; +#line 2783 "ConfigurationInterfaces.c" + goto __catch88_configuration_error; } -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 2605 "ConfigurationInterfaces.c" +#line 2792 "ConfigurationInterfaces.c" } -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 2617 "ConfigurationInterfaces.c" +#line 2804 "ConfigurationInterfaces.c" } - goto __finally87; - __catch87_configuration_error: + goto __finally88; + __catch88_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); -#line 484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 511 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); -#line 484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 511 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 511 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 511 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 2641 "ConfigurationInterfaces.c" +#line 2828 "ConfigurationInterfaces.c" } - __finally87: -#line 479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally88: +#line 506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 2650 "ConfigurationInterfaces.c" +#line 2837 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_screensaver (ConfigurationFacade* self) { -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_screensaver (self); -#line 2659 "ConfigurationInterfaces.c" +#line 2846 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_screensaver (ConfigurationFacade* self, const gchar* filename) { GError * _inner_error_ = NULL; -#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 515 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (filename != NULL); -#line 2667 "ConfigurationInterfaces.c" +#line 2854 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; ConfigurationEngine* _tmp3_ = NULL; ConfigurationEngine* _tmp4_ = NULL; -#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = filename; -#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, _tmp2_, &_inner_error_); -#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2688 "ConfigurationInterfaces.c" - goto __catch88_configuration_error; +#line 2875 "ConfigurationInterfaces.c" + goto __catch89_configuration_error; } -#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2697 "ConfigurationInterfaces.c" +#line 2884 "ConfigurationInterfaces.c" } -#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_facade_get_engine (self); -#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp4_, CONFIGURABLE_PROPERTY_SCREENSAVER_MODE, "zoom", &_inner_error_); -#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp4_); -#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2711 "ConfigurationInterfaces.c" - goto __catch88_configuration_error; +#line 2898 "ConfigurationInterfaces.c" + goto __catch89_configuration_error; } -#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2720 "ConfigurationInterfaces.c" +#line 2907 "ConfigurationInterfaces.c" } } - goto __finally88; - __catch88_configuration_error: + goto __finally89; + __catch89_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 489 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 489 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 489 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 2738 "ConfigurationInterfaces.c" +#line 2925 "ConfigurationInterfaces.c" } - __finally88: -#line 489 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally89: +#line 516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 489 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 489 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 489 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2749 "ConfigurationInterfaces.c" +#line 2936 "ConfigurationInterfaces.c" } } void configuration_facade_set_screensaver (ConfigurationFacade* self, const gchar* filename) { -#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 515 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 515 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_screensaver (self, filename); -#line 2759 "ConfigurationInterfaces.c" +#line 2946 "ConfigurationInterfaces.c" } @@ -2775,94 +2962,94 @@ static gchar* configuration_facade_real_get_directory_pattern (ConfigurationFaca gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = configuration_engine_get_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, &_inner_error_); -#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = _tmp2_; -#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" s = _tmp3_; -#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2790 "ConfigurationInterfaces.c" - goto __catch89_configuration_error; +#line 2977 "ConfigurationInterfaces.c" + goto __catch90_configuration_error; } -#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 2799 "ConfigurationInterfaces.c" +#line 2986 "ConfigurationInterfaces.c" } -#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (g_strcmp0 (s, "") == 0) { -#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = NULL; -#line 2805 "ConfigurationInterfaces.c" +#line 2992 "ConfigurationInterfaces.c" } else { -#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = s; -#line 2809 "ConfigurationInterfaces.c" +#line 2996 "ConfigurationInterfaces.c" } -#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = g_strdup (_tmp4_); -#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; -#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (s); -#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 2819 "ConfigurationInterfaces.c" +#line 3006 "ConfigurationInterfaces.c" } - goto __finally89; - __catch89_configuration_error: + goto __finally90; + __catch90_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 503 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 503 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 534 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 534 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); -#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); -#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 2843 "ConfigurationInterfaces.c" +#line 3030 "ConfigurationInterfaces.c" } - __finally89: -#line 503 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally90: +#line 530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 503 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 503 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 2852 "ConfigurationInterfaces.c" +#line 3039 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_directory_pattern (ConfigurationFacade* self) { -#line 502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_directory_pattern (self); -#line 2861 "ConfigurationInterfaces.c" +#line 3048 "ConfigurationInterfaces.c" } @@ -2873,77 +3060,77 @@ static void configuration_facade_real_set_directory_pattern (ConfigurationFacade ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; -#line 515 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 542 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = s; -#line 515 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 542 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_tmp0_ == NULL) { -#line 516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 543 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" s = ""; -#line 2878 "ConfigurationInterfaces.c" +#line 3065 "ConfigurationInterfaces.c" } -#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = s; -#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp2_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, _tmp3_, &_inner_error_); -#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2894 "ConfigurationInterfaces.c" - goto __catch90_configuration_error; +#line 3081 "ConfigurationInterfaces.c" + goto __catch91_configuration_error; } -#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2903 "ConfigurationInterfaces.c" +#line 3090 "ConfigurationInterfaces.c" } } - goto __finally90; - __catch90_configuration_error: + goto __finally91; + __catch91_configuration_error: { GError* err = NULL; GError* _tmp4_ = NULL; -#line 514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 520 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 547 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = err; -#line 520 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 547 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp4_); -#line 514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 2921 "ConfigurationInterfaces.c" +#line 3108 "ConfigurationInterfaces.c" } - __finally90: -#line 514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally91: +#line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 2932 "ConfigurationInterfaces.c" +#line 3119 "ConfigurationInterfaces.c" } } void configuration_facade_set_directory_pattern (ConfigurationFacade* self, const gchar* s) { -#line 513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_directory_pattern (self, s); -#line 2942 "ConfigurationInterfaces.c" +#line 3129 "ConfigurationInterfaces.c" } @@ -2957,161 +3144,161 @@ static gchar* configuration_facade_real_get_directory_pattern_custom (Configurat gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, &_inner_error_); -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2972 "ConfigurationInterfaces.c" - goto __catch91_configuration_error; +#line 3159 "ConfigurationInterfaces.c" + goto __catch92_configuration_error; } -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 2981 "ConfigurationInterfaces.c" +#line 3168 "ConfigurationInterfaces.c" } -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); -#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 2993 "ConfigurationInterfaces.c" +#line 3180 "ConfigurationInterfaces.c" } - goto __finally91; - __catch91_configuration_error: + goto __finally92; + __catch92_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); -#line 533 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); -#line 533 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 533 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 533 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 3017 "ConfigurationInterfaces.c" +#line 3204 "ConfigurationInterfaces.c" } - __finally91: -#line 528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally92: +#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 3026 "ConfigurationInterfaces.c" +#line 3213 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_directory_pattern_custom (ConfigurationFacade* self) { -#line 527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_directory_pattern_custom (self); -#line 3035 "ConfigurationInterfaces.c" +#line 3222 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_directory_pattern_custom (ConfigurationFacade* self, const gchar* s) { GError * _inner_error_ = NULL; -#line 537 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (s != NULL); -#line 3043 "ConfigurationInterfaces.c" +#line 3230 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = s; -#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, _tmp2_, &_inner_error_); -#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3062 "ConfigurationInterfaces.c" - goto __catch92_configuration_error; +#line 3249 "ConfigurationInterfaces.c" + goto __catch93_configuration_error; } -#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3071 "ConfigurationInterfaces.c" +#line 3258 "ConfigurationInterfaces.c" } } - goto __finally92; - __catch92_configuration_error: + goto __finally93; + __catch93_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 3089 "ConfigurationInterfaces.c" +#line 3276 "ConfigurationInterfaces.c" } - __finally92: -#line 538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally93: +#line 565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3100 "ConfigurationInterfaces.c" +#line 3287 "ConfigurationInterfaces.c" } } void configuration_facade_set_directory_pattern_custom (ConfigurationFacade* self, const gchar* s) { -#line 537 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 537 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_directory_pattern_custom (self, s); -#line 3110 "ConfigurationInterfaces.c" +#line 3297 "ConfigurationInterfaces.c" } @@ -3119,11 +3306,11 @@ static void configuration_facade_real_get_direct_window_state (ConfigurationFaca gboolean _vala_maximize = FALSE; Dimensions _vala_dimensions = {0}; GError * _inner_error_ = NULL; -#line 549 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 576 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_maximize = FALSE; -#line 550 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" dimensions_init (&_vala_dimensions, 1024, 768); -#line 3122 "ConfigurationInterfaces.c" +#line 3309 "ConfigurationInterfaces.c" { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; @@ -3142,154 +3329,154 @@ static void configuration_facade_real_get_direct_window_state (ConfigurationFaca gint _tmp12_ = 0; gint _tmp13_ = 0; gint _tmp14_ = 0; -#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, &_inner_error_); -#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3157 "ConfigurationInterfaces.c" - goto __catch93_configuration_error; +#line 3344 "ConfigurationInterfaces.c" + goto __catch94_configuration_error; } -#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3166 "ConfigurationInterfaces.c" +#line 3353 "ConfigurationInterfaces.c" } -#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_maximize = _tmp0_; -#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = configuration_facade_get_engine (self); -#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = _tmp5_; -#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = configuration_engine_get_int_property (_tmp6_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, &_inner_error_); -#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = _tmp7_; -#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp6_); -#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" w = _tmp8_; -#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3186 "ConfigurationInterfaces.c" - goto __catch93_configuration_error; +#line 3373 "ConfigurationInterfaces.c" + goto __catch94_configuration_error; } -#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3195 "ConfigurationInterfaces.c" +#line 3382 "ConfigurationInterfaces.c" } -#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = configuration_facade_get_engine (self); -#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = _tmp9_; -#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp11_ = configuration_engine_get_int_property (_tmp10_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, &_inner_error_); -#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp12_ = _tmp11_; -#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp10_); -#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" h = _tmp12_; -#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3213 "ConfigurationInterfaces.c" - goto __catch93_configuration_error; +#line 3400 "ConfigurationInterfaces.c" + goto __catch94_configuration_error; } -#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3222 "ConfigurationInterfaces.c" +#line 3409 "ConfigurationInterfaces.c" } -#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 582 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp13_ = w; -#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 582 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp14_ = h; -#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 582 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" dimensions_init (&_vala_dimensions, _tmp13_, _tmp14_); -#line 3230 "ConfigurationInterfaces.c" +#line 3417 "ConfigurationInterfaces.c" } - goto __finally93; - __catch93_configuration_error: + goto __finally94; + __catch94_configuration_error: { GError* err = NULL; GError* _tmp15_ = NULL; -#line 551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp15_ = err; -#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp15_); -#line 551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 3247 "ConfigurationInterfaces.c" +#line 3434 "ConfigurationInterfaces.c" } - __finally93: -#line 551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally94: +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3258 "ConfigurationInterfaces.c" +#line 3445 "ConfigurationInterfaces.c" } -#line 548 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (maximize) { -#line 548 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *maximize = _vala_maximize; -#line 3264 "ConfigurationInterfaces.c" +#line 3451 "ConfigurationInterfaces.c" } -#line 548 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (dimensions) { -#line 548 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *dimensions = _vala_dimensions; -#line 3270 "ConfigurationInterfaces.c" +#line 3457 "ConfigurationInterfaces.c" } } void configuration_facade_get_direct_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions) { -#line 548 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 548 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->get_direct_window_state (self, maximize, dimensions); -#line 3280 "ConfigurationInterfaces.c" +#line 3467 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_direct_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions) { GError * _inner_error_ = NULL; -#line 561 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (dimensions != NULL); -#line 3288 "ConfigurationInterfaces.c" +#line 3475 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; @@ -3302,123 +3489,123 @@ static void configuration_facade_real_set_direct_window_state (ConfigurationFaca ConfigurationEngine* _tmp8_ = NULL; Dimensions _tmp9_ = {0}; gint _tmp10_ = 0; -#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = maximize; -#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, _tmp2_, &_inner_error_); -#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3315 "ConfigurationInterfaces.c" - goto __catch94_configuration_error; +#line 3502 "ConfigurationInterfaces.c" + goto __catch95_configuration_error; } -#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3324 "ConfigurationInterfaces.c" +#line 3511 "ConfigurationInterfaces.c" } -#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_facade_get_engine (self); -#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = *dimensions; -#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = _tmp5_.width; -#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, _tmp6_, &_inner_error_); -#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp4_); -#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3342 "ConfigurationInterfaces.c" - goto __catch94_configuration_error; +#line 3529 "ConfigurationInterfaces.c" + goto __catch95_configuration_error; } -#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3351 "ConfigurationInterfaces.c" +#line 3538 "ConfigurationInterfaces.c" } -#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = configuration_facade_get_engine (self); -#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = _tmp7_; -#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = *dimensions; -#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = _tmp9_.height; -#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp8_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, _tmp10_, &_inner_error_); -#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp8_); -#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3369 "ConfigurationInterfaces.c" - goto __catch94_configuration_error; +#line 3556 "ConfigurationInterfaces.c" + goto __catch95_configuration_error; } -#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3378 "ConfigurationInterfaces.c" +#line 3565 "ConfigurationInterfaces.c" } } - goto __finally94; - __catch94_configuration_error: + goto __finally95; + __catch95_configuration_error: { GError* err = NULL; GError* _tmp11_ = NULL; -#line 562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp11_ = err; -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp11_); -#line 562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 3396 "ConfigurationInterfaces.c" +#line 3583 "ConfigurationInterfaces.c" } - __finally94: -#line 562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally95: +#line 589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3407 "ConfigurationInterfaces.c" +#line 3594 "ConfigurationInterfaces.c" } } void configuration_facade_set_direct_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions) { -#line 561 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 561 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_direct_window_state (self, maximize, dimensions); -#line 3417 "ConfigurationInterfaces.c" +#line 3604 "ConfigurationInterfaces.c" } @@ -3431,77 +3618,77 @@ static gboolean configuration_facade_real_get_display_basic_properties (Configur ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, &_inner_error_); -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3446 "ConfigurationInterfaces.c" - goto __catch95_configuration_error; +#line 3633 "ConfigurationInterfaces.c" + goto __catch96_configuration_error; } -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 3455 "ConfigurationInterfaces.c" +#line 3642 "ConfigurationInterfaces.c" } -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 3461 "ConfigurationInterfaces.c" +#line 3648 "ConfigurationInterfaces.c" } - goto __finally95; - __catch95_configuration_error: + goto __finally96; + __catch96_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 582 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = TRUE; -#line 582 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 582 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 3482 "ConfigurationInterfaces.c" +#line 3669 "ConfigurationInterfaces.c" } - __finally95: -#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally96: +#line 604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 3491 "ConfigurationInterfaces.c" +#line 3678 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_basic_properties (ConfigurationFacade* self) { -#line 576 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 576 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_basic_properties (self); -#line 3500 "ConfigurationInterfaces.c" +#line 3687 "ConfigurationInterfaces.c" } @@ -3511,69 +3698,69 @@ static void configuration_facade_real_set_display_basic_properties (Configuratio ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; -#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, _tmp2_, &_inner_error_); -#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3524 "ConfigurationInterfaces.c" - goto __catch96_configuration_error; +#line 3711 "ConfigurationInterfaces.c" + goto __catch97_configuration_error; } -#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3533 "ConfigurationInterfaces.c" +#line 3720 "ConfigurationInterfaces.c" } } - goto __finally96; - __catch96_configuration_error: + goto __finally97; + __catch97_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 3551 "ConfigurationInterfaces.c" +#line 3738 "ConfigurationInterfaces.c" } - __finally96: -#line 587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally97: +#line 614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3562 "ConfigurationInterfaces.c" +#line 3749 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_basic_properties (ConfigurationFacade* self, gboolean display) { -#line 586 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 613 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 586 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 613 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_basic_properties (self, display); -#line 3572 "ConfigurationInterfaces.c" +#line 3759 "ConfigurationInterfaces.c" } @@ -3586,77 +3773,77 @@ static gboolean configuration_facade_real_get_display_extended_properties (Confi ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, &_inner_error_); -#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3601 "ConfigurationInterfaces.c" - goto __catch97_configuration_error; +#line 3788 "ConfigurationInterfaces.c" + goto __catch98_configuration_error; } -#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 3610 "ConfigurationInterfaces.c" +#line 3797 "ConfigurationInterfaces.c" } -#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 3616 "ConfigurationInterfaces.c" +#line 3803 "ConfigurationInterfaces.c" } - goto __finally97; - __catch97_configuration_error: + goto __finally98; + __catch98_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 601 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 601 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; -#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 3637 "ConfigurationInterfaces.c" +#line 3824 "ConfigurationInterfaces.c" } - __finally97: -#line 598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally98: +#line 625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 3646 "ConfigurationInterfaces.c" +#line 3833 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_extended_properties (ConfigurationFacade* self) { -#line 597 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 624 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 597 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 624 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_extended_properties (self); -#line 3655 "ConfigurationInterfaces.c" +#line 3842 "ConfigurationInterfaces.c" } @@ -3666,69 +3853,69 @@ static void configuration_facade_real_set_display_extended_properties (Configura ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; -#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, _tmp2_, &_inner_error_); -#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3679 "ConfigurationInterfaces.c" - goto __catch98_configuration_error; +#line 3866 "ConfigurationInterfaces.c" + goto __catch99_configuration_error; } -#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3688 "ConfigurationInterfaces.c" +#line 3875 "ConfigurationInterfaces.c" } } - goto __finally98; - __catch98_configuration_error: + goto __finally99; + __catch99_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 635 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 635 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 612 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 639 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 612 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 639 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 635 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 3706 "ConfigurationInterfaces.c" +#line 3893 "ConfigurationInterfaces.c" } - __finally98: -#line 608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally99: +#line 635 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 635 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 635 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 635 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3717 "ConfigurationInterfaces.c" +#line 3904 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_extended_properties (ConfigurationFacade* self, gboolean display) { -#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_extended_properties (self, display); -#line 3727 "ConfigurationInterfaces.c" +#line 3914 "ConfigurationInterfaces.c" } @@ -3741,77 +3928,77 @@ static gboolean configuration_facade_real_get_display_sidebar (ConfigurationFaca ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, &_inner_error_); -#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3756 "ConfigurationInterfaces.c" - goto __catch99_configuration_error; +#line 3943 "ConfigurationInterfaces.c" + goto __catch100_configuration_error; } -#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 3765 "ConfigurationInterfaces.c" +#line 3952 "ConfigurationInterfaces.c" } -#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 3771 "ConfigurationInterfaces.c" +#line 3958 "ConfigurationInterfaces.c" } - goto __finally99; - __catch99_configuration_error: + goto __finally100; + __catch100_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 620 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 620 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; -#line 625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 3792 "ConfigurationInterfaces.c" +#line 3979 "ConfigurationInterfaces.c" } - __finally99: -#line 620 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally100: +#line 647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 620 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 620 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 3801 "ConfigurationInterfaces.c" +#line 3988 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_sidebar (ConfigurationFacade* self) { -#line 619 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 619 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_sidebar (self); -#line 3810 "ConfigurationInterfaces.c" +#line 3997 "ConfigurationInterfaces.c" } @@ -3821,69 +4008,69 @@ static void configuration_facade_real_set_display_sidebar (ConfigurationFacade* ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; -#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, _tmp2_, &_inner_error_); -#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3834 "ConfigurationInterfaces.c" - goto __catch100_configuration_error; +#line 4021 "ConfigurationInterfaces.c" + goto __catch101_configuration_error; } -#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3843 "ConfigurationInterfaces.c" +#line 4030 "ConfigurationInterfaces.c" } } - goto __finally100; - __catch100_configuration_error: + goto __finally101; + __catch101_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 3861 "ConfigurationInterfaces.c" +#line 4048 "ConfigurationInterfaces.c" } - __finally100: -#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally101: +#line 657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3872 "ConfigurationInterfaces.c" +#line 4059 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_sidebar (ConfigurationFacade* self, gboolean display) { -#line 629 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 629 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_sidebar (self, display); -#line 3882 "ConfigurationInterfaces.c" +#line 4069 "ConfigurationInterfaces.c" } @@ -3896,77 +4083,77 @@ static gboolean configuration_facade_real_get_display_toolbar (ConfigurationFaca ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, &_inner_error_); -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3911 "ConfigurationInterfaces.c" - goto __catch101_configuration_error; +#line 4098 "ConfigurationInterfaces.c" + goto __catch102_configuration_error; } -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 3920 "ConfigurationInterfaces.c" +#line 4107 "ConfigurationInterfaces.c" } -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 3926 "ConfigurationInterfaces.c" +#line 4113 "ConfigurationInterfaces.c" } - goto __finally101; - __catch101_configuration_error: + goto __finally102; + __catch102_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 669 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 669 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 645 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 672 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 645 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 672 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; -#line 647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 3947 "ConfigurationInterfaces.c" +#line 4134 "ConfigurationInterfaces.c" } - __finally101: -#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally102: +#line 669 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 669 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 669 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 3956 "ConfigurationInterfaces.c" +#line 4143 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_toolbar (ConfigurationFacade* self) { -#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 668 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 668 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_toolbar (self); -#line 3965 "ConfigurationInterfaces.c" +#line 4152 "ConfigurationInterfaces.c" } @@ -3976,69 +4163,69 @@ static void configuration_facade_real_set_display_toolbar (ConfigurationFacade* ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, _tmp2_, &_inner_error_); -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3989 "ConfigurationInterfaces.c" - goto __catch102_configuration_error; +#line 4176 "ConfigurationInterfaces.c" + goto __catch103_configuration_error; } -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 3998 "ConfigurationInterfaces.c" +#line 4185 "ConfigurationInterfaces.c" } } - goto __finally102; - __catch102_configuration_error: + goto __finally103; + __catch103_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 682 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 682 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 4016 "ConfigurationInterfaces.c" +#line 4203 "ConfigurationInterfaces.c" } - __finally102: -#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally103: +#line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 4027 "ConfigurationInterfaces.c" +#line 4214 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_toolbar (ConfigurationFacade* self, gboolean display) { -#line 651 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 678 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 651 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 678 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_toolbar (self, display); -#line 4037 "ConfigurationInterfaces.c" +#line 4224 "ConfigurationInterfaces.c" } @@ -4051,77 +4238,77 @@ static gboolean configuration_facade_real_get_display_search_bar (ConfigurationF ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, &_inner_error_); -#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4066 "ConfigurationInterfaces.c" - goto __catch103_configuration_error; +#line 4253 "ConfigurationInterfaces.c" + goto __catch104_configuration_error; } -#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 4075 "ConfigurationInterfaces.c" +#line 4262 "ConfigurationInterfaces.c" } -#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 4081 "ConfigurationInterfaces.c" +#line 4268 "ConfigurationInterfaces.c" } - goto __finally103; - __catch103_configuration_error: + goto __finally104; + __catch104_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 690 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 690 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 693 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 693 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 668 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; -#line 668 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 668 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 4102 "ConfigurationInterfaces.c" +#line 4289 "ConfigurationInterfaces.c" } - __finally103: -#line 663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally104: +#line 690 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 690 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 690 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 4111 "ConfigurationInterfaces.c" +#line 4298 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_search_bar (ConfigurationFacade* self) { -#line 662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 689 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 689 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_search_bar (self); -#line 4120 "ConfigurationInterfaces.c" +#line 4307 "ConfigurationInterfaces.c" } @@ -4131,69 +4318,69 @@ static void configuration_facade_real_set_display_search_bar (ConfigurationFacad ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; -#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, _tmp2_, &_inner_error_); -#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4144 "ConfigurationInterfaces.c" - goto __catch104_configuration_error; +#line 4331 "ConfigurationInterfaces.c" + goto __catch105_configuration_error; } -#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 4153 "ConfigurationInterfaces.c" +#line 4340 "ConfigurationInterfaces.c" } } - goto __finally104; - __catch104_configuration_error: + goto __finally105; + __catch105_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 700 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 700 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 703 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 703 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 700 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 4171 "ConfigurationInterfaces.c" +#line 4358 "ConfigurationInterfaces.c" } - __finally104: -#line 673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally105: +#line 700 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 700 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 700 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 700 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 4182 "ConfigurationInterfaces.c" +#line 4369 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_search_bar (ConfigurationFacade* self, gboolean display) { -#line 672 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 699 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 672 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 699 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_search_bar (self, display); -#line 4192 "ConfigurationInterfaces.c" +#line 4379 "ConfigurationInterfaces.c" } @@ -4206,77 +4393,77 @@ static gboolean configuration_facade_real_get_display_photo_ratings (Configurati ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, &_inner_error_); -#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4221 "ConfigurationInterfaces.c" - goto __catch105_configuration_error; +#line 4408 "ConfigurationInterfaces.c" + goto __catch106_configuration_error; } -#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 4230 "ConfigurationInterfaces.c" +#line 4417 "ConfigurationInterfaces.c" } -#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 4236 "ConfigurationInterfaces.c" +#line 4423 "ConfigurationInterfaces.c" } - goto __finally105; - __catch105_configuration_error: + goto __finally106; + __catch106_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 711 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 711 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 714 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 714 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 689 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = TRUE; -#line 689 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 689 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 4257 "ConfigurationInterfaces.c" +#line 4444 "ConfigurationInterfaces.c" } - __finally105: -#line 684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally106: +#line 711 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 711 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 711 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 4266 "ConfigurationInterfaces.c" +#line 4453 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_photo_ratings (ConfigurationFacade* self) { -#line 683 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 683 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_ratings (self); -#line 4275 "ConfigurationInterfaces.c" +#line 4462 "ConfigurationInterfaces.c" } @@ -4286,69 +4473,69 @@ static void configuration_facade_real_set_display_photo_ratings (ConfigurationFa ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; -#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, _tmp2_, &_inner_error_); -#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4299 "ConfigurationInterfaces.c" - goto __catch106_configuration_error; +#line 4486 "ConfigurationInterfaces.c" + goto __catch107_configuration_error; } -#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 4308 "ConfigurationInterfaces.c" +#line 4495 "ConfigurationInterfaces.c" } } - goto __finally106; - __catch106_configuration_error: + goto __finally107; + __catch107_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 724 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 724 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 4326 "ConfigurationInterfaces.c" +#line 4513 "ConfigurationInterfaces.c" } - __finally106: -#line 694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally107: +#line 721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 4337 "ConfigurationInterfaces.c" +#line 4524 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_photo_ratings (ConfigurationFacade* self, gboolean display) { -#line 693 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 693 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_ratings (self, display); -#line 4347 "ConfigurationInterfaces.c" +#line 4534 "ConfigurationInterfaces.c" } @@ -4361,77 +4548,77 @@ static gboolean configuration_facade_real_get_display_photo_tags (ConfigurationF ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, &_inner_error_); -#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4376 "ConfigurationInterfaces.c" - goto __catch107_configuration_error; +#line 4563 "ConfigurationInterfaces.c" + goto __catch108_configuration_error; } -#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 4385 "ConfigurationInterfaces.c" +#line 4572 "ConfigurationInterfaces.c" } -#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 4391 "ConfigurationInterfaces.c" +#line 4578 "ConfigurationInterfaces.c" } - goto __finally107; - __catch107_configuration_error: + goto __finally108; + __catch108_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 705 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 705 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 735 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 735 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = TRUE; -#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 4412 "ConfigurationInterfaces.c" +#line 4599 "ConfigurationInterfaces.c" } - __finally107: -#line 705 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally108: +#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 705 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 705 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 4421 "ConfigurationInterfaces.c" +#line 4608 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_photo_tags (ConfigurationFacade* self) { -#line 704 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 704 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_tags (self); -#line 4430 "ConfigurationInterfaces.c" +#line 4617 "ConfigurationInterfaces.c" } @@ -4441,69 +4628,69 @@ static void configuration_facade_real_set_display_photo_tags (ConfigurationFacad ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; -#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, _tmp2_, &_inner_error_); -#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4454 "ConfigurationInterfaces.c" - goto __catch108_configuration_error; +#line 4641 "ConfigurationInterfaces.c" + goto __catch109_configuration_error; } -#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 4463 "ConfigurationInterfaces.c" +#line 4650 "ConfigurationInterfaces.c" } } - goto __finally108; - __catch108_configuration_error: + goto __finally109; + __catch109_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 715 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 715 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 715 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 4481 "ConfigurationInterfaces.c" +#line 4668 "ConfigurationInterfaces.c" } - __finally108: -#line 715 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally109: +#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 715 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 715 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 715 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 4492 "ConfigurationInterfaces.c" +#line 4679 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_photo_tags (ConfigurationFacade* self, gboolean display) { -#line 714 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 741 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 714 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 741 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_tags (self, display); -#line 4502 "ConfigurationInterfaces.c" +#line 4689 "ConfigurationInterfaces.c" } @@ -4516,77 +4703,77 @@ static gboolean configuration_facade_real_get_display_photo_titles (Configuratio ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, &_inner_error_); -#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4531 "ConfigurationInterfaces.c" - goto __catch109_configuration_error; +#line 4718 "ConfigurationInterfaces.c" + goto __catch110_configuration_error; } -#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 4540 "ConfigurationInterfaces.c" +#line 4727 "ConfigurationInterfaces.c" } -#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 4546 "ConfigurationInterfaces.c" +#line 4733 "ConfigurationInterfaces.c" } - goto __finally109; - __catch109_configuration_error: + goto __finally110; + __catch110_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 726 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 726 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; -#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 4567 "ConfigurationInterfaces.c" +#line 4754 "ConfigurationInterfaces.c" } - __finally109: -#line 726 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally110: +#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 726 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 726 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 4576 "ConfigurationInterfaces.c" +#line 4763 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_photo_titles (ConfigurationFacade* self) { -#line 725 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 725 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_titles (self); -#line 4585 "ConfigurationInterfaces.c" +#line 4772 "ConfigurationInterfaces.c" } @@ -4596,69 +4783,69 @@ static void configuration_facade_real_set_display_photo_titles (ConfigurationFac ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; -#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, _tmp2_, &_inner_error_); -#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4609 "ConfigurationInterfaces.c" - goto __catch110_configuration_error; +#line 4796 "ConfigurationInterfaces.c" + goto __catch111_configuration_error; } -#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 4618 "ConfigurationInterfaces.c" +#line 4805 "ConfigurationInterfaces.c" } } - goto __finally110; - __catch110_configuration_error: + goto __finally111; + __catch111_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 739 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 739 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 4636 "ConfigurationInterfaces.c" +#line 4823 "ConfigurationInterfaces.c" } - __finally110: -#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally111: +#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 4647 "ConfigurationInterfaces.c" +#line 4834 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_photo_titles (ConfigurationFacade* self, gboolean display) { -#line 735 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 735 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_titles (self, display); -#line 4657 "ConfigurationInterfaces.c" +#line 4844 "ConfigurationInterfaces.c" } @@ -4671,77 +4858,77 @@ static gboolean configuration_facade_real_get_display_photo_comments (Configurat ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, &_inner_error_); -#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4686 "ConfigurationInterfaces.c" - goto __catch111_configuration_error; +#line 4873 "ConfigurationInterfaces.c" + goto __catch112_configuration_error; } -#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 4695 "ConfigurationInterfaces.c" +#line 4882 "ConfigurationInterfaces.c" } -#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 4701 "ConfigurationInterfaces.c" +#line 4888 "ConfigurationInterfaces.c" } - goto __finally111; - __catch111_configuration_error: + goto __finally112; + __catch112_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 747 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 747 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; -#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 4722 "ConfigurationInterfaces.c" +#line 4909 "ConfigurationInterfaces.c" } - __finally111: -#line 747 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally112: +#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 747 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 747 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 4731 "ConfigurationInterfaces.c" +#line 4918 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_photo_comments (ConfigurationFacade* self) { -#line 746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_comments (self); -#line 4740 "ConfigurationInterfaces.c" +#line 4927 "ConfigurationInterfaces.c" } @@ -4751,69 +4938,69 @@ static void configuration_facade_real_set_display_photo_comments (ConfigurationF ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; -#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, _tmp2_, &_inner_error_); -#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4764 "ConfigurationInterfaces.c" - goto __catch112_configuration_error; +#line 4951 "ConfigurationInterfaces.c" + goto __catch113_configuration_error; } -#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 4773 "ConfigurationInterfaces.c" +#line 4960 "ConfigurationInterfaces.c" } } - goto __finally112; - __catch112_configuration_error: + goto __finally113; + __catch113_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 760 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 760 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 4791 "ConfigurationInterfaces.c" +#line 4978 "ConfigurationInterfaces.c" } - __finally112: -#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally113: +#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 4802 "ConfigurationInterfaces.c" +#line 4989 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_photo_comments (ConfigurationFacade* self, gboolean display) { -#line 756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 783 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 783 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_comments (self, display); -#line 4812 "ConfigurationInterfaces.c" +#line 4999 "ConfigurationInterfaces.c" } @@ -4826,77 +5013,77 @@ static gboolean configuration_facade_real_get_display_event_comments (Configurat ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, &_inner_error_); -#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4841 "ConfigurationInterfaces.c" - goto __catch113_configuration_error; +#line 5028 "ConfigurationInterfaces.c" + goto __catch114_configuration_error; } -#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 4850 "ConfigurationInterfaces.c" +#line 5037 "ConfigurationInterfaces.c" } -#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 4856 "ConfigurationInterfaces.c" +#line 5043 "ConfigurationInterfaces.c" } - goto __finally113; - __catch113_configuration_error: + goto __finally114; + __catch114_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 768 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 768 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 771 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 771 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; -#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 4877 "ConfigurationInterfaces.c" +#line 5064 "ConfigurationInterfaces.c" } - __finally113: -#line 768 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally114: +#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 768 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 768 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 4886 "ConfigurationInterfaces.c" +#line 5073 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_event_comments (ConfigurationFacade* self) { -#line 767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_event_comments (self); -#line 4895 "ConfigurationInterfaces.c" +#line 5082 "ConfigurationInterfaces.c" } @@ -4906,69 +5093,69 @@ static void configuration_facade_real_set_display_event_comments (ConfigurationF ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; -#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, _tmp2_, &_inner_error_); -#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4919 "ConfigurationInterfaces.c" - goto __catch114_configuration_error; +#line 5106 "ConfigurationInterfaces.c" + goto __catch115_configuration_error; } -#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 4928 "ConfigurationInterfaces.c" +#line 5115 "ConfigurationInterfaces.c" } } - goto __finally114; - __catch114_configuration_error: + goto __finally115; + __catch115_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 808 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 808 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 4946 "ConfigurationInterfaces.c" +#line 5133 "ConfigurationInterfaces.c" } - __finally114: -#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally115: +#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 4957 "ConfigurationInterfaces.c" +#line 5144 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_event_comments (ConfigurationFacade* self, gboolean display) { -#line 777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_event_comments (self, display); -#line 4967 "ConfigurationInterfaces.c" +#line 5154 "ConfigurationInterfaces.c" } @@ -4976,11 +5163,11 @@ static void configuration_facade_real_get_event_photos_sort (ConfigurationFacade gboolean _vala_sort_order = FALSE; gint _vala_sort_by = 0; GError * _inner_error_ = NULL; -#line 789 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_order = FALSE; -#line 790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 817 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_by = 2; -#line 4979 "ConfigurationInterfaces.c" +#line 5166 "ConfigurationInterfaces.c" { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; @@ -4992,115 +5179,115 @@ static void configuration_facade_real_get_event_photos_sort (ConfigurationFacade ConfigurationEngine* _tmp7_ = NULL; gint _tmp8_ = 0; gint _tmp9_ = 0; -#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, &_inner_error_); -#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5007 "ConfigurationInterfaces.c" - goto __catch115_configuration_error; +#line 5194 "ConfigurationInterfaces.c" + goto __catch116_configuration_error; } -#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5016 "ConfigurationInterfaces.c" +#line 5203 "ConfigurationInterfaces.c" } -#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_order = _tmp0_; -#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = configuration_facade_get_engine (self); -#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = _tmp6_; -#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = configuration_engine_get_int_property (_tmp7_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, &_inner_error_); -#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = _tmp8_; -#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp7_); -#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp9_; -#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5036 "ConfigurationInterfaces.c" - goto __catch115_configuration_error; +#line 5223 "ConfigurationInterfaces.c" + goto __catch116_configuration_error; } -#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5045 "ConfigurationInterfaces.c" +#line 5232 "ConfigurationInterfaces.c" } -#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_by = _tmp5_; -#line 5049 "ConfigurationInterfaces.c" +#line 5236 "ConfigurationInterfaces.c" } - goto __finally115; - __catch115_configuration_error: + goto __finally116; + __catch116_configuration_error: { GError* err = NULL; GError* _tmp10_ = NULL; -#line 791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 823 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = err; -#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 823 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp10_); -#line 791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 5066 "ConfigurationInterfaces.c" +#line 5253 "ConfigurationInterfaces.c" } - __finally115: -#line 791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally116: +#line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5077 "ConfigurationInterfaces.c" +#line 5264 "ConfigurationInterfaces.c" } -#line 788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (sort_order) { -#line 788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *sort_order = _vala_sort_order; -#line 5083 "ConfigurationInterfaces.c" +#line 5270 "ConfigurationInterfaces.c" } -#line 788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (sort_by) { -#line 788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *sort_by = _vala_sort_by; -#line 5089 "ConfigurationInterfaces.c" +#line 5276 "ConfigurationInterfaces.c" } } void configuration_facade_get_event_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by) { -#line 788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->get_event_photos_sort (self, sort_order, sort_by); -#line 5099 "ConfigurationInterfaces.c" +#line 5286 "ConfigurationInterfaces.c" } @@ -5113,94 +5300,94 @@ static void configuration_facade_real_set_event_photos_sort (ConfigurationFacade ConfigurationEngine* _tmp3_ = NULL; ConfigurationEngine* _tmp4_ = NULL; gint _tmp5_ = 0; -#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = sort_order; -#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, _tmp2_, &_inner_error_); -#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5126 "ConfigurationInterfaces.c" - goto __catch116_configuration_error; +#line 5313 "ConfigurationInterfaces.c" + goto __catch117_configuration_error; } -#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5135 "ConfigurationInterfaces.c" +#line 5322 "ConfigurationInterfaces.c" } -#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_facade_get_engine (self); -#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = sort_by; -#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, _tmp5_, &_inner_error_); -#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp4_); -#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5151 "ConfigurationInterfaces.c" - goto __catch116_configuration_error; +#line 5338 "ConfigurationInterfaces.c" + goto __catch117_configuration_error; } -#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5160 "ConfigurationInterfaces.c" +#line 5347 "ConfigurationInterfaces.c" } } - goto __finally116; - __catch116_configuration_error: + goto __finally117; + __catch117_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; -#line 801 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 801 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 807 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 834 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 807 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 834 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); -#line 801 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 5178 "ConfigurationInterfaces.c" +#line 5365 "ConfigurationInterfaces.c" } - __finally116: -#line 801 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally117: +#line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 801 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 801 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 801 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5189 "ConfigurationInterfaces.c" +#line 5376 "ConfigurationInterfaces.c" } } void configuration_facade_set_event_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by) { -#line 800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 827 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 827 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_event_photos_sort (self, sort_order, sort_by); -#line 5199 "ConfigurationInterfaces.c" +#line 5386 "ConfigurationInterfaces.c" } @@ -5213,77 +5400,77 @@ static gboolean configuration_facade_real_get_events_sort_ascending (Configurati ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, &_inner_error_); -#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5228 "ConfigurationInterfaces.c" - goto __catch117_configuration_error; +#line 5415 "ConfigurationInterfaces.c" + goto __catch118_configuration_error; } -#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 5237 "ConfigurationInterfaces.c" +#line 5424 "ConfigurationInterfaces.c" } -#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 5243 "ConfigurationInterfaces.c" +#line 5430 "ConfigurationInterfaces.c" } - goto __finally117; - __catch117_configuration_error: + goto __finally118; + __catch118_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 820 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; -#line 820 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 820 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 5264 "ConfigurationInterfaces.c" +#line 5451 "ConfigurationInterfaces.c" } - __finally117: -#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally118: +#line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 5273 "ConfigurationInterfaces.c" +#line 5460 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_events_sort_ascending (ConfigurationFacade* self) { -#line 814 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 814 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_events_sort_ascending (self); -#line 5282 "ConfigurationInterfaces.c" +#line 5469 "ConfigurationInterfaces.c" } @@ -5293,71 +5480,71 @@ static void configuration_facade_real_set_events_sort_ascending (ConfigurationFa ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = sort; -#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, _tmp2_, &_inner_error_); -#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5306 "ConfigurationInterfaces.c" - goto __catch118_configuration_error; +#line 5493 "ConfigurationInterfaces.c" + goto __catch119_configuration_error; } -#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5315 "ConfigurationInterfaces.c" +#line 5502 "ConfigurationInterfaces.c" } } - goto __finally118; - __catch118_configuration_error: + goto __finally119; + __catch119_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 855 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 855 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5335 "ConfigurationInterfaces.c" +#line 5522 "ConfigurationInterfaces.c" } - __finally118: -#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally119: +#line 852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5346 "ConfigurationInterfaces.c" +#line 5533 "ConfigurationInterfaces.c" } } void configuration_facade_set_events_sort_ascending (ConfigurationFacade* self, gboolean sort) { -#line 824 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 851 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 824 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 851 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_events_sort_ascending (self, sort); -#line 5356 "ConfigurationInterfaces.c" +#line 5543 "ConfigurationInterfaces.c" } @@ -5371,163 +5558,163 @@ static gchar* configuration_facade_real_get_external_photo_app (ConfigurationFac gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, &_inner_error_); -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5386 "ConfigurationInterfaces.c" - goto __catch119_configuration_error; +#line 5573 "ConfigurationInterfaces.c" + goto __catch120_configuration_error; } -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 5395 "ConfigurationInterfaces.c" +#line 5582 "ConfigurationInterfaces.c" } -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); -#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 5407 "ConfigurationInterfaces.c" +#line 5594 "ConfigurationInterfaces.c" } - goto __finally119; - __catch119_configuration_error: + goto __finally120; + __catch120_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 864 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 864 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 840 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 867 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 840 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 867 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); -#line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); -#line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 5431 "ConfigurationInterfaces.c" +#line 5618 "ConfigurationInterfaces.c" } - __finally119: -#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally120: +#line 864 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 864 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 864 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 5440 "ConfigurationInterfaces.c" +#line 5627 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_external_photo_app (ConfigurationFacade* self) { -#line 836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 863 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 863 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_external_photo_app (self); -#line 5449 "ConfigurationInterfaces.c" +#line 5636 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_external_photo_app (ConfigurationFacade* self, const gchar* external_photo_app) { GError * _inner_error_ = NULL; -#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 873 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (external_photo_app != NULL); -#line 5457 "ConfigurationInterfaces.c" +#line 5644 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = external_photo_app; -#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, _tmp2_, &_inner_error_); -#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5476 "ConfigurationInterfaces.c" - goto __catch120_configuration_error; +#line 5663 "ConfigurationInterfaces.c" + goto __catch121_configuration_error; } -#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5485 "ConfigurationInterfaces.c" +#line 5672 "ConfigurationInterfaces.c" } } - goto __finally120; - __catch120_configuration_error: + goto __finally121; + __catch121_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 874 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 874 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 851 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 878 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 851 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 878 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 879 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 879 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5505 "ConfigurationInterfaces.c" +#line 5692 "ConfigurationInterfaces.c" } - __finally120: -#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally121: +#line 874 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 874 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 874 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 874 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5516 "ConfigurationInterfaces.c" +#line 5703 "ConfigurationInterfaces.c" } } void configuration_facade_set_external_photo_app (ConfigurationFacade* self, const gchar* external_photo_app) { -#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 873 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 873 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_external_photo_app (self, external_photo_app); -#line 5526 "ConfigurationInterfaces.c" +#line 5713 "ConfigurationInterfaces.c" } @@ -5541,163 +5728,1111 @@ static gchar* configuration_facade_real_get_external_raw_app (ConfigurationFacad gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, &_inner_error_); -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5556 "ConfigurationInterfaces.c" - goto __catch121_configuration_error; +#line 5743 "ConfigurationInterfaces.c" + goto __catch122_configuration_error; } -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 5565 "ConfigurationInterfaces.c" +#line 5752 "ConfigurationInterfaces.c" } -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); -#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 5577 "ConfigurationInterfaces.c" +#line 5764 "ConfigurationInterfaces.c" } - goto __finally121; - __catch121_configuration_error: + goto __finally122; + __catch122_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 860 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 887 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 860 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 887 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 863 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 890 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 863 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 890 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); -#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 892 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); -#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 892 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 892 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 892 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 5601 "ConfigurationInterfaces.c" +#line 5788 "ConfigurationInterfaces.c" } - __finally121: -#line 860 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally122: +#line 887 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 860 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 887 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 860 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 887 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 5610 "ConfigurationInterfaces.c" +#line 5797 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_external_raw_app (ConfigurationFacade* self) { -#line 859 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 886 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 859 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 886 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_external_raw_app (self); -#line 5619 "ConfigurationInterfaces.c" +#line 5806 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_external_raw_app (ConfigurationFacade* self, const gchar* external_raw_app) { GError * _inner_error_ = NULL; -#line 869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 896 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (external_raw_app != NULL); -#line 5627 "ConfigurationInterfaces.c" +#line 5814 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = external_raw_app; -#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, _tmp2_, &_inner_error_); -#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5646 "ConfigurationInterfaces.c" - goto __catch122_configuration_error; +#line 5833 "ConfigurationInterfaces.c" + goto __catch123_configuration_error; } -#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5655 "ConfigurationInterfaces.c" +#line 5842 "ConfigurationInterfaces.c" } } - goto __finally122; - __catch122_configuration_error: + goto __finally123; + __catch123_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 897 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 897 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 874 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 901 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 874 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 901 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 902 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 902 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5675 "ConfigurationInterfaces.c" +#line 5862 "ConfigurationInterfaces.c" } - __finally122: -#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally123: +#line 897 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 897 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 897 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 897 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5686 "ConfigurationInterfaces.c" +#line 5873 "ConfigurationInterfaces.c" } } void configuration_facade_set_external_raw_app (ConfigurationFacade* self, const gchar* external_raw_app) { -#line 869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 896 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 896 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_external_raw_app (self, external_raw_app); -#line 5696 "ConfigurationInterfaces.c" +#line 5883 "ConfigurationInterfaces.c" +} + + +static ScaleConstraint configuration_facade_real_get_export_constraint (ConfigurationFacade* self) { + ScaleConstraint result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; +#line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT, &_inner_error_); +#line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5912 "ConfigurationInterfaces.c" + goto __catch124_configuration_error; + } +#line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + 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); +#line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 5921 "ConfigurationInterfaces.c" + } +#line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = (ScaleConstraint) _tmp0_; +#line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 5927 "ConfigurationInterfaces.c" + } + goto __finally124; + __catch124_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 910 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 910 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 913 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 913 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 0; +#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 5948 "ConfigurationInterfaces.c" + } + __finally124: +#line 910 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 910 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 910 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 5957 "ConfigurationInterfaces.c" +} + + +ScaleConstraint configuration_facade_get_export_constraint (ConfigurationFacade* self) { +#line 909 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 909 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_constraint (self); +#line 5966 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_export_constraint (ConfigurationFacade* self, ScaleConstraint constraint) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ScaleConstraint _tmp2_ = 0; +#line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = constraint; +#line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT, (gint) _tmp2_, &_inner_error_); +#line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5990 "ConfigurationInterfaces.c" + goto __catch125_configuration_error; + } +#line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + 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); +#line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5999 "ConfigurationInterfaces.c" + } + } + goto __finally125; + __catch125_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 920 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 920 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 923 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 923 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 924 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 924 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6019 "ConfigurationInterfaces.c" + } + __finally125: +#line 920 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 920 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 920 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 920 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6030 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_export_constraint (ConfigurationFacade* self, ScaleConstraint constraint) { +#line 919 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 919 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_export_constraint (self, constraint); +#line 6040 "ConfigurationInterfaces.c" +} + + +static ExportFormatMode configuration_facade_real_get_export_export_format_mode (ConfigurationFacade* self) { + ExportFormatMode result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; +#line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, &_inner_error_); +#line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6069 "ConfigurationInterfaces.c" + goto __catch126_configuration_error; + } +#line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + 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); +#line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 6078 "ConfigurationInterfaces.c" + } +#line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = (ExportFormatMode) _tmp0_; +#line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6084 "ConfigurationInterfaces.c" + } + goto __finally126; + __catch126_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 932 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 932 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 934 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 0; +#line 934 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 934 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6105 "ConfigurationInterfaces.c" + } + __finally126: +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 6114 "ConfigurationInterfaces.c" +} + + +ExportFormatMode configuration_facade_get_export_export_format_mode (ConfigurationFacade* self) { +#line 928 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 928 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_export_format_mode (self); +#line 6123 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_export_export_format_mode (ConfigurationFacade* self, ExportFormatMode export_format_mode) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ExportFormatMode _tmp2_ = 0; +#line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = export_format_mode; +#line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, (gint) _tmp2_, &_inner_error_); +#line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6147 "ConfigurationInterfaces.c" + goto __catch127_configuration_error; + } +#line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + 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); +#line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6156 "ConfigurationInterfaces.c" + } + } + goto __finally127; + __catch127_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 942 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 942 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 943 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 943 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6176 "ConfigurationInterfaces.c" + } + __finally127: +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6187 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_export_export_format_mode (ConfigurationFacade* self, ExportFormatMode export_format_mode) { +#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_export_export_format_mode (self, export_format_mode); +#line 6197 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_export_export_metadata (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, &_inner_error_); +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6226 "ConfigurationInterfaces.c" + goto __catch128_configuration_error; + } +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + 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); +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 6235 "ConfigurationInterfaces.c" + } +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6241 "ConfigurationInterfaces.c" + } + goto __finally128; + __catch128_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 951 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 951 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 953 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 953 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 953 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6262 "ConfigurationInterfaces.c" + } + __finally128: +#line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 6271 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_export_export_metadata (ConfigurationFacade* self) { +#line 947 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 947 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_export_metadata (self); +#line 6280 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_export_export_metadata (ConfigurationFacade* self, gboolean export_metadata) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = export_metadata; +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, _tmp2_, &_inner_error_); +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6304 "ConfigurationInterfaces.c" + goto __catch129_configuration_error; + } +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + 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); +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6313 "ConfigurationInterfaces.c" + } + } + goto __finally129; + __catch129_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 961 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 961 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 962 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 962 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6333 "ConfigurationInterfaces.c" + } + __finally129: +#line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6344 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_export_export_metadata (ConfigurationFacade* self, gboolean export_metadata) { +#line 957 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 957 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_export_export_metadata (self, export_metadata); +#line 6354 "ConfigurationInterfaces.c" +} + + +static PhotoFileFormat configuration_facade_real_get_export_photo_file_format (ConfigurationFacade* self) { + PhotoFileFormat result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; + PhotoFileFormat _tmp5_ = 0; +#line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, &_inner_error_); +#line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6384 "ConfigurationInterfaces.c" + goto __catch130_configuration_error; + } +#line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + 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); +#line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 6393 "ConfigurationInterfaces.c" + } +#line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = photo_file_format_unserialize (_tmp0_); +#line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp5_; +#line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6401 "ConfigurationInterfaces.c" + } + goto __finally130; + __catch130_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; +#line 967 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 967 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 970 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 970 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 972 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 0; +#line 972 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 972 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6422 "ConfigurationInterfaces.c" + } + __finally130: +#line 967 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 967 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 967 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 6431 "ConfigurationInterfaces.c" +} + + +PhotoFileFormat configuration_facade_get_export_photo_file_format (ConfigurationFacade* self) { +#line 966 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 966 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_photo_file_format (self); +#line 6440 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_export_photo_file_format (ConfigurationFacade* self, PhotoFileFormat photo_file_format) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + PhotoFileFormat _tmp2_ = 0; + gint _tmp3_ = 0; +#line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = photo_file_format; +#line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = photo_file_format_serialize (_tmp2_); +#line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, _tmp3_, &_inner_error_); +#line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6467 "ConfigurationInterfaces.c" + goto __catch131_configuration_error; + } +#line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + 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); +#line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6476 "ConfigurationInterfaces.c" + } + } + goto __finally131; + __catch131_configuration_error: + { + GError* err = NULL; + GError* _tmp4_ = NULL; +#line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = err; +#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp4_); +#line 981 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 981 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6496 "ConfigurationInterfaces.c" + } + __finally131: +#line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6507 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_export_photo_file_format (ConfigurationFacade* self, PhotoFileFormat photo_file_format) { +#line 976 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 976 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_export_photo_file_format (self, photo_file_format); +#line 6517 "ConfigurationInterfaces.c" +} + + +static JpegQuality configuration_facade_real_get_export_quality (ConfigurationFacade* self) { + JpegQuality result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; +#line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_QUALITY, &_inner_error_); +#line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6546 "ConfigurationInterfaces.c" + goto __catch132_configuration_error; + } +#line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + 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); +#line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 6555 "ConfigurationInterfaces.c" + } +#line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = (JpegQuality) _tmp0_; +#line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6561 "ConfigurationInterfaces.c" + } + goto __finally132; + __catch132_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 986 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 986 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 989 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 989 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 0; +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6582 "ConfigurationInterfaces.c" + } + __finally132: +#line 986 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 986 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 986 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 6591 "ConfigurationInterfaces.c" +} + + +JpegQuality configuration_facade_get_export_quality (ConfigurationFacade* self) { +#line 985 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 985 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_quality (self); +#line 6600 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_export_quality (ConfigurationFacade* self, JpegQuality quality) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + JpegQuality _tmp2_ = 0; +#line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = quality; +#line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_QUALITY, (gint) _tmp2_, &_inner_error_); +#line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6624 "ConfigurationInterfaces.c" + goto __catch133_configuration_error; + } +#line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + 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); +#line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6633 "ConfigurationInterfaces.c" + } + } + goto __finally133; + __catch133_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6653 "ConfigurationInterfaces.c" + } + __finally133: +#line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6664 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_export_quality (ConfigurationFacade* self, JpegQuality quality) { +#line 995 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 995 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_export_quality (self, quality); +#line 6674 "ConfigurationInterfaces.c" +} + + +static gint configuration_facade_real_get_export_scale (ConfigurationFacade* self) { + gint result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; +#line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_SCALE, &_inner_error_); +#line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6703 "ConfigurationInterfaces.c" + goto __catch134_configuration_error; + } +#line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + 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); +#line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 6712 "ConfigurationInterfaces.c" + } +#line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6718 "ConfigurationInterfaces.c" + } + goto __finally134; + __catch134_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1005 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1005 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1008 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1008 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 0; +#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6739 "ConfigurationInterfaces.c" + } + __finally134: +#line 1005 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1005 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1005 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 6748 "ConfigurationInterfaces.c" +} + + +gint configuration_facade_get_export_scale (ConfigurationFacade* self) { +#line 1004 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 1004 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_scale (self); +#line 6757 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_export_scale (ConfigurationFacade* self, gint scale) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gint _tmp2_ = 0; +#line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = scale; +#line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_SCALE, _tmp2_, &_inner_error_); +#line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6781 "ConfigurationInterfaces.c" + goto __catch135_configuration_error; + } +#line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + 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); +#line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6790 "ConfigurationInterfaces.c" + } + } + goto __finally135; + __catch135_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1018 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1018 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1019 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1019 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6810 "ConfigurationInterfaces.c" + } + __finally135: +#line 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6821 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_export_scale (ConfigurationFacade* self, gint scale) { +#line 1014 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1014 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_export_scale (self, scale); +#line 6831 "ConfigurationInterfaces.c" } @@ -5711,81 +6846,81 @@ static RawDeveloper configuration_facade_real_get_default_raw_developer (Configu gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; RawDeveloper _tmp5_ = 0; -#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, &_inner_error_); -#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5726 "ConfigurationInterfaces.c" - goto __catch123_configuration_error; +#line 6861 "ConfigurationInterfaces.c" + goto __catch136_configuration_error; } -#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 5735 "ConfigurationInterfaces.c" +#line 6870 "ConfigurationInterfaces.c" } -#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = raw_developer_from_string (_tmp0_); -#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; -#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); -#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 5745 "ConfigurationInterfaces.c" +#line 6880 "ConfigurationInterfaces.c" } - goto __finally123; - __catch123_configuration_error: + goto __finally136; + __catch136_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; -#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1027 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1027 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 887 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1031 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 887 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1031 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); -#line 889 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1033 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = RAW_DEVELOPER_CAMERA; -#line 889 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1033 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 889 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1033 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 5766 "ConfigurationInterfaces.c" +#line 6901 "ConfigurationInterfaces.c" } - __finally123: -#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally136: +#line 1027 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1027 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1027 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 5775 "ConfigurationInterfaces.c" +#line 6910 "ConfigurationInterfaces.c" } RawDeveloper configuration_facade_get_default_raw_developer (ConfigurationFacade* self) { -#line 882 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1026 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 882 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1026 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_default_raw_developer (self); -#line 5784 "ConfigurationInterfaces.c" +#line 6919 "ConfigurationInterfaces.c" } @@ -5797,77 +6932,77 @@ static void configuration_facade_real_set_default_raw_developer (ConfigurationFa RawDeveloper _tmp2_ = 0; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; -#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = d; -#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = raw_developer_to_string (_tmp2_); -#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, _tmp4_, &_inner_error_); -#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp4_); -#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5816 "ConfigurationInterfaces.c" - goto __catch124_configuration_error; +#line 6951 "ConfigurationInterfaces.c" + goto __catch137_configuration_error; } -#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5825 "ConfigurationInterfaces.c" +#line 6960 "ConfigurationInterfaces.c" } } - goto __finally124; - __catch124_configuration_error: + goto __finally137; + __catch137_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 894 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 894 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1042 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1042 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 899 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 899 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5845 "ConfigurationInterfaces.c" +#line 6980 "ConfigurationInterfaces.c" } - __finally124: -#line 894 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally137: +#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 894 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 894 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 894 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5856 "ConfigurationInterfaces.c" +#line 6991 "ConfigurationInterfaces.c" } } void configuration_facade_set_default_raw_developer (ConfigurationFacade* self, RawDeveloper d) { -#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1037 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1037 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_default_raw_developer (self, d); -#line 5866 "ConfigurationInterfaces.c" +#line 7001 "ConfigurationInterfaces.c" } @@ -5880,77 +7015,77 @@ static gboolean configuration_facade_real_get_hide_photos_already_imported (Conf ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, &_inner_error_); -#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5895 "ConfigurationInterfaces.c" - goto __catch125_configuration_error; +#line 7030 "ConfigurationInterfaces.c" + goto __catch138_configuration_error; } -#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 5904 "ConfigurationInterfaces.c" +#line 7039 "ConfigurationInterfaces.c" } -#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 5910 "ConfigurationInterfaces.c" +#line 7045 "ConfigurationInterfaces.c" } - goto __finally125; - __catch125_configuration_error: + goto __finally138; + __catch138_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 907 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1051 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 907 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1051 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 910 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1054 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 910 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1054 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 912 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1056 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = TRUE; -#line 912 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1056 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 912 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1056 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 5931 "ConfigurationInterfaces.c" +#line 7066 "ConfigurationInterfaces.c" } - __finally125: -#line 907 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally138: +#line 1051 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 907 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1051 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 907 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1051 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 5940 "ConfigurationInterfaces.c" +#line 7075 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_hide_photos_already_imported (ConfigurationFacade* self) { -#line 906 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1050 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 906 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1050 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_hide_photos_already_imported (self); -#line 5949 "ConfigurationInterfaces.c" +#line 7084 "ConfigurationInterfaces.c" } @@ -5960,69 +7095,69 @@ static void configuration_facade_real_set_hide_photos_already_imported (Configur ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = hide_imported; -#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, _tmp2_, &_inner_error_); -#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5973 "ConfigurationInterfaces.c" - goto __catch126_configuration_error; +#line 7108 "ConfigurationInterfaces.c" + goto __catch139_configuration_error; } -#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 5982 "ConfigurationInterfaces.c" +#line 7117 "ConfigurationInterfaces.c" } } - goto __finally126; - __catch126_configuration_error: + goto __finally139; + __catch139_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 920 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1064 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 920 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1064 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 6000 "ConfigurationInterfaces.c" +#line 7135 "ConfigurationInterfaces.c" } - __finally126: -#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally139: +#line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 6011 "ConfigurationInterfaces.c" +#line 7146 "ConfigurationInterfaces.c" } } void configuration_facade_set_hide_photos_already_imported (ConfigurationFacade* self, gboolean hide_imported) { -#line 916 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1060 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 916 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1060 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_hide_photos_already_imported (self, hide_imported); -#line 6021 "ConfigurationInterfaces.c" +#line 7156 "ConfigurationInterfaces.c" } @@ -6036,161 +7171,161 @@ static gchar* configuration_facade_real_get_import_dir (ConfigurationFacade* sel gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_IMPORT_DIR, &_inner_error_); -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6051 "ConfigurationInterfaces.c" - goto __catch127_configuration_error; +#line 7186 "ConfigurationInterfaces.c" + goto __catch140_configuration_error; } -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 6060 "ConfigurationInterfaces.c" +#line 7195 "ConfigurationInterfaces.c" } -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 6072 "ConfigurationInterfaces.c" +#line 7207 "ConfigurationInterfaces.c" } - goto __finally127; - __catch127_configuration_error: + goto __finally140; + __catch140_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 928 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1072 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 928 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1072 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 931 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1075 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 931 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1075 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); -#line 933 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); -#line 933 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 933 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 933 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 6096 "ConfigurationInterfaces.c" +#line 7231 "ConfigurationInterfaces.c" } - __finally127: -#line 928 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally140: +#line 1072 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 928 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1072 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 928 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1072 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 6105 "ConfigurationInterfaces.c" +#line 7240 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_import_dir (ConfigurationFacade* self) { -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1071 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1071 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_import_dir (self); -#line 6114 "ConfigurationInterfaces.c" +#line 7249 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_import_dir (ConfigurationFacade* self, const gchar* import_dir) { GError * _inner_error_ = NULL; -#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1081 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (import_dir != NULL); -#line 6122 "ConfigurationInterfaces.c" +#line 7257 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = import_dir; -#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_IMPORT_DIR, _tmp2_, &_inner_error_); -#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6141 "ConfigurationInterfaces.c" - goto __catch128_configuration_error; +#line 7276 "ConfigurationInterfaces.c" + goto __catch141_configuration_error; } -#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 6150 "ConfigurationInterfaces.c" +#line 7285 "ConfigurationInterfaces.c" } } - goto __finally128; - __catch128_configuration_error: + goto __finally141; + __catch141_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1082 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1082 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 941 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1085 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 941 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1085 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1082 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 6168 "ConfigurationInterfaces.c" +#line 7303 "ConfigurationInterfaces.c" } - __finally128: -#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally141: +#line 1082 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1082 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1082 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1082 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 6179 "ConfigurationInterfaces.c" +#line 7314 "ConfigurationInterfaces.c" } } void configuration_facade_set_import_dir (ConfigurationFacade* self, const gchar* import_dir) { -#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1081 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1081 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_import_dir (self, import_dir); -#line 6189 "ConfigurationInterfaces.c" +#line 7324 "ConfigurationInterfaces.c" } @@ -6203,77 +7338,77 @@ static gboolean configuration_facade_real_get_keep_relativity (ConfigurationFaca ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, &_inner_error_); -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6218 "ConfigurationInterfaces.c" - goto __catch129_configuration_error; +#line 7353 "ConfigurationInterfaces.c" + goto __catch142_configuration_error; } -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 6227 "ConfigurationInterfaces.c" +#line 7362 "ConfigurationInterfaces.c" } -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 6233 "ConfigurationInterfaces.c" +#line 7368 "ConfigurationInterfaces.c" } - goto __finally129; - __catch129_configuration_error: + goto __finally142; + __catch142_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1093 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1093 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 952 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1096 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 952 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1096 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 954 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1098 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = TRUE; -#line 954 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1098 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 954 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1098 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 6254 "ConfigurationInterfaces.c" +#line 7389 "ConfigurationInterfaces.c" } - __finally129: -#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally142: +#line 1093 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1093 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1093 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 6263 "ConfigurationInterfaces.c" +#line 7398 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_keep_relativity (ConfigurationFacade* self) { -#line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_keep_relativity (self); -#line 6272 "ConfigurationInterfaces.c" +#line 7407 "ConfigurationInterfaces.c" } @@ -6283,69 +7418,69 @@ static void configuration_facade_real_set_keep_relativity (ConfigurationFacade* ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = keep_relativity; -#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, _tmp2_, &_inner_error_); -#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6296 "ConfigurationInterfaces.c" - goto __catch130_configuration_error; +#line 7431 "ConfigurationInterfaces.c" + goto __catch143_configuration_error; } -#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 6305 "ConfigurationInterfaces.c" +#line 7440 "ConfigurationInterfaces.c" } } - goto __finally130; - __catch130_configuration_error: + goto __finally143; + __catch143_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1103 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1103 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 962 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1106 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 962 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1106 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1103 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 6323 "ConfigurationInterfaces.c" +#line 7458 "ConfigurationInterfaces.c" } - __finally130: -#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally143: +#line 1103 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1103 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1103 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1103 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 6334 "ConfigurationInterfaces.c" +#line 7469 "ConfigurationInterfaces.c" } } void configuration_facade_set_keep_relativity (ConfigurationFacade* self, gboolean keep_relativity) { -#line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_keep_relativity (self, keep_relativity); -#line 6344 "ConfigurationInterfaces.c" +#line 7479 "ConfigurationInterfaces.c" } @@ -6358,77 +7493,77 @@ static gboolean configuration_facade_real_get_pin_toolbar_state (ConfigurationFa ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, &_inner_error_); -#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6373 "ConfigurationInterfaces.c" - goto __catch131_configuration_error; +#line 7508 "ConfigurationInterfaces.c" + goto __catch144_configuration_error; } -#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 6382 "ConfigurationInterfaces.c" +#line 7517 "ConfigurationInterfaces.c" } -#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 6388 "ConfigurationInterfaces.c" +#line 7523 "ConfigurationInterfaces.c" } - goto __finally131; - __catch131_configuration_error: + goto __finally144; + __catch144_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 970 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 970 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 974 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1118 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; -#line 974 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1118 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 974 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1118 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 6409 "ConfigurationInterfaces.c" +#line 7544 "ConfigurationInterfaces.c" } - __finally131: -#line 970 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally144: +#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 970 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 970 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 6418 "ConfigurationInterfaces.c" +#line 7553 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_pin_toolbar_state (ConfigurationFacade* self) { -#line 969 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 969 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_pin_toolbar_state (self); -#line 6427 "ConfigurationInterfaces.c" +#line 7562 "ConfigurationInterfaces.c" } @@ -6438,69 +7573,69 @@ static void configuration_facade_real_set_pin_toolbar_state (ConfigurationFacade ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = state; -#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, _tmp2_, &_inner_error_); -#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6451 "ConfigurationInterfaces.c" - goto __catch132_configuration_error; +#line 7586 "ConfigurationInterfaces.c" + goto __catch145_configuration_error; } -#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 6460 "ConfigurationInterfaces.c" +#line 7595 "ConfigurationInterfaces.c" } } - goto __finally132; - __catch132_configuration_error: + goto __finally145; + __catch145_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 979 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 979 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 982 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 982 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 979 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 6478 "ConfigurationInterfaces.c" +#line 7613 "ConfigurationInterfaces.c" } - __finally132: -#line 979 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally145: +#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 979 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 979 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 979 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 6489 "ConfigurationInterfaces.c" +#line 7624 "ConfigurationInterfaces.c" } } void configuration_facade_set_pin_toolbar_state (ConfigurationFacade* self, gboolean state) { -#line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1122 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1122 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_pin_toolbar_state (self, state); -#line 6499 "ConfigurationInterfaces.c" +#line 7634 "ConfigurationInterfaces.c" } @@ -6513,77 +7648,77 @@ static gint configuration_facade_real_get_last_crop_height (ConfigurationFacade* ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, &_inner_error_); -#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6528 "ConfigurationInterfaces.c" - goto __catch133_configuration_error; +#line 7663 "ConfigurationInterfaces.c" + goto __catch146_configuration_error; } -#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 6537 "ConfigurationInterfaces.c" +#line 7672 "ConfigurationInterfaces.c" } -#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 6543 "ConfigurationInterfaces.c" +#line 7678 "ConfigurationInterfaces.c" } - goto __finally133; - __catch133_configuration_error: + goto __finally146; + __catch146_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 990 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 990 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 993 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1137 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 993 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1137 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 994 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 1; -#line 994 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 994 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 6564 "ConfigurationInterfaces.c" +#line 7699 "ConfigurationInterfaces.c" } - __finally133: -#line 990 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally146: +#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 990 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 990 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 6573 "ConfigurationInterfaces.c" +#line 7708 "ConfigurationInterfaces.c" } gint configuration_facade_get_last_crop_height (ConfigurationFacade* self) { -#line 989 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 989 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_crop_height (self); -#line 6582 "ConfigurationInterfaces.c" +#line 7717 "ConfigurationInterfaces.c" } @@ -6593,69 +7728,69 @@ static void configuration_facade_real_set_last_crop_height (ConfigurationFacade* ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; -#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = choice; -#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, _tmp2_, &_inner_error_); -#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6606 "ConfigurationInterfaces.c" - goto __catch134_configuration_error; +#line 7741 "ConfigurationInterfaces.c" + goto __catch147_configuration_error; } -#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 6615 "ConfigurationInterfaces.c" +#line 7750 "ConfigurationInterfaces.c" } } - goto __finally134; - __catch134_configuration_error: + goto __finally147; + __catch147_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1146 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1146 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 6633 "ConfigurationInterfaces.c" +#line 7768 "ConfigurationInterfaces.c" } - __finally134: -#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally147: +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 6644 "ConfigurationInterfaces.c" +#line 7779 "ConfigurationInterfaces.c" } } void configuration_facade_set_last_crop_height (ConfigurationFacade* self, gint choice) { -#line 998 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 998 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_last_crop_height (self, choice); -#line 6654 "ConfigurationInterfaces.c" +#line 7789 "ConfigurationInterfaces.c" } @@ -6668,77 +7803,77 @@ static gint configuration_facade_real_get_last_crop_menu_choice (ConfigurationFa ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, &_inner_error_); -#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6683 "ConfigurationInterfaces.c" - goto __catch135_configuration_error; +#line 7818 "ConfigurationInterfaces.c" + goto __catch148_configuration_error; } -#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 6692 "ConfigurationInterfaces.c" +#line 7827 "ConfigurationInterfaces.c" } -#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 6698 "ConfigurationInterfaces.c" +#line 7833 "ConfigurationInterfaces.c" } - goto __finally135; - __catch135_configuration_error: + goto __finally148; + __catch148_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1154 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1154 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1013 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1013 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1018 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0; -#line 1018 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1018 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 6719 "ConfigurationInterfaces.c" +#line 7854 "ConfigurationInterfaces.c" } - __finally135: -#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally148: +#line 1154 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1154 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1154 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 6728 "ConfigurationInterfaces.c" +#line 7863 "ConfigurationInterfaces.c" } gint configuration_facade_get_last_crop_menu_choice (ConfigurationFacade* self) { -#line 1009 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1009 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_crop_menu_choice (self); -#line 6737 "ConfigurationInterfaces.c" +#line 7872 "ConfigurationInterfaces.c" } @@ -6748,69 +7883,69 @@ static void configuration_facade_real_set_last_crop_menu_choice (ConfigurationFa ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; -#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = choice; -#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, _tmp2_, &_inner_error_); -#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6761 "ConfigurationInterfaces.c" - goto __catch136_configuration_error; +#line 7896 "ConfigurationInterfaces.c" + goto __catch149_configuration_error; } -#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 6770 "ConfigurationInterfaces.c" +#line 7905 "ConfigurationInterfaces.c" } } - goto __finally136; - __catch136_configuration_error: + goto __finally149; + __catch149_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1026 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1170 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1026 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1170 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 6788 "ConfigurationInterfaces.c" +#line 7923 "ConfigurationInterfaces.c" } - __finally136: -#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally149: +#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 6799 "ConfigurationInterfaces.c" +#line 7934 "ConfigurationInterfaces.c" } } void configuration_facade_set_last_crop_menu_choice (ConfigurationFacade* self, gint choice) { -#line 1022 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1022 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_last_crop_menu_choice (self, choice); -#line 6809 "ConfigurationInterfaces.c" +#line 7944 "ConfigurationInterfaces.c" } @@ -6823,77 +7958,77 @@ static gint configuration_facade_real_get_last_crop_width (ConfigurationFacade* ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, &_inner_error_); -#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6838 "ConfigurationInterfaces.c" - goto __catch137_configuration_error; +#line 7973 "ConfigurationInterfaces.c" + goto __catch150_configuration_error; } -#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 6847 "ConfigurationInterfaces.c" +#line 7982 "ConfigurationInterfaces.c" } -#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 6853 "ConfigurationInterfaces.c" +#line 7988 "ConfigurationInterfaces.c" } - goto __finally137; - __catch137_configuration_error: + goto __finally150; + __catch150_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1037 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1181 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1037 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1181 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 1; -#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 6874 "ConfigurationInterfaces.c" +#line 8009 "ConfigurationInterfaces.c" } - __finally137: -#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally150: +#line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 6883 "ConfigurationInterfaces.c" +#line 8018 "ConfigurationInterfaces.c" } gint configuration_facade_get_last_crop_width (ConfigurationFacade* self) { -#line 1033 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1033 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_crop_width (self); -#line 6892 "ConfigurationInterfaces.c" +#line 8027 "ConfigurationInterfaces.c" } @@ -6903,69 +8038,69 @@ static void configuration_facade_real_set_last_crop_width (ConfigurationFacade* ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; -#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = choice; -#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, _tmp2_, &_inner_error_); -#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6916 "ConfigurationInterfaces.c" - goto __catch138_configuration_error; +#line 8051 "ConfigurationInterfaces.c" + goto __catch151_configuration_error; } -#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 6925 "ConfigurationInterfaces.c" +#line 8060 "ConfigurationInterfaces.c" } } - goto __finally138; - __catch138_configuration_error: + goto __finally151; + __catch151_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1046 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1190 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1046 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1190 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 6943 "ConfigurationInterfaces.c" +#line 8078 "ConfigurationInterfaces.c" } - __finally138: -#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally151: +#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 6954 "ConfigurationInterfaces.c" +#line 8089 "ConfigurationInterfaces.c" } } void configuration_facade_set_last_crop_width (ConfigurationFacade* self, gint choice) { -#line 1042 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1042 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_last_crop_width (self, choice); -#line 6964 "ConfigurationInterfaces.c" +#line 8099 "ConfigurationInterfaces.c" } @@ -6979,161 +8114,161 @@ static gchar* configuration_facade_real_get_last_used_service (ConfigurationFaca gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, &_inner_error_); -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6994 "ConfigurationInterfaces.c" - goto __catch139_configuration_error; +#line 8129 "ConfigurationInterfaces.c" + goto __catch152_configuration_error; } -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 7003 "ConfigurationInterfaces.c" +#line 8138 "ConfigurationInterfaces.c" } -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); -#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 7015 "ConfigurationInterfaces.c" +#line 8150 "ConfigurationInterfaces.c" } - goto __finally139; - __catch139_configuration_error: + goto __finally152; + __catch152_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 1054 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1054 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1057 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 1057 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); -#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); -#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 7039 "ConfigurationInterfaces.c" +#line 8174 "ConfigurationInterfaces.c" } - __finally139: -#line 1054 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally152: +#line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1054 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1054 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 7048 "ConfigurationInterfaces.c" +#line 8183 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_last_used_service (ConfigurationFacade* self) { -#line 1053 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 1053 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_used_service (self); -#line 7057 "ConfigurationInterfaces.c" +#line 8192 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_last_used_service (ConfigurationFacade* self, const gchar* service_name) { GError * _inner_error_ = NULL; -#line 1066 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1210 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (service_name != NULL); -#line 7065 "ConfigurationInterfaces.c" +#line 8200 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = service_name; -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, _tmp2_, &_inner_error_); -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7084 "ConfigurationInterfaces.c" - goto __catch140_configuration_error; +#line 8219 "ConfigurationInterfaces.c" + goto __catch153_configuration_error; } -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7093 "ConfigurationInterfaces.c" +#line 8228 "ConfigurationInterfaces.c" } } - goto __finally140; - __catch140_configuration_error: + goto __finally153; + __catch153_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1211 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1211 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1070 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1214 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1070 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1214 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1211 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 7111 "ConfigurationInterfaces.c" +#line 8246 "ConfigurationInterfaces.c" } - __finally140: -#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally153: +#line 1211 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1211 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1211 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1211 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7122 "ConfigurationInterfaces.c" +#line 8257 "ConfigurationInterfaces.c" } } void configuration_facade_set_last_used_service (ConfigurationFacade* self, const gchar* service_name) { -#line 1066 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1210 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1066 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1210 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_last_used_service (self, service_name); -#line 7132 "ConfigurationInterfaces.c" +#line 8267 "ConfigurationInterfaces.c" } @@ -7147,161 +8282,161 @@ static gchar* configuration_facade_real_get_last_used_dataimports_service (Confi gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, &_inner_error_); -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7162 "ConfigurationInterfaces.c" - goto __catch141_configuration_error; +#line 8297 "ConfigurationInterfaces.c" + goto __catch154_configuration_error; } -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 7171 "ConfigurationInterfaces.c" +#line 8306 "ConfigurationInterfaces.c" } -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); -#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 7183 "ConfigurationInterfaces.c" +#line 8318 "ConfigurationInterfaces.c" } - goto __finally141; - __catch141_configuration_error: + goto __finally154; + __catch154_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1081 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 1081 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); -#line 1086 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); -#line 1086 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 1086 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1086 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 7207 "ConfigurationInterfaces.c" +#line 8342 "ConfigurationInterfaces.c" } - __finally141: -#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally154: +#line 1222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 7216 "ConfigurationInterfaces.c" +#line 8351 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_last_used_dataimports_service (ConfigurationFacade* self) { -#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_used_dataimports_service (self); -#line 7225 "ConfigurationInterfaces.c" +#line 8360 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_last_used_dataimports_service (ConfigurationFacade* self, const gchar* service_name) { GError * _inner_error_ = NULL; -#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (service_name != NULL); -#line 7233 "ConfigurationInterfaces.c" +#line 8368 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = service_name; -#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, _tmp2_, &_inner_error_); -#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7252 "ConfigurationInterfaces.c" - goto __catch142_configuration_error; +#line 8387 "ConfigurationInterfaces.c" + goto __catch155_configuration_error; } -#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7261 "ConfigurationInterfaces.c" +#line 8396 "ConfigurationInterfaces.c" } } - goto __finally142; - __catch142_configuration_error: + goto __finally155; + __catch155_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1091 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1235 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1091 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1235 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1238 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1238 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1091 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1235 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 7279 "ConfigurationInterfaces.c" +#line 8414 "ConfigurationInterfaces.c" } - __finally142: -#line 1091 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally155: +#line 1235 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1091 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1235 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1091 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1235 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1091 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1235 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7290 "ConfigurationInterfaces.c" +#line 8425 "ConfigurationInterfaces.c" } } void configuration_facade_set_last_used_dataimports_service (ConfigurationFacade* self, const gchar* service_name) { -#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_last_used_dataimports_service (self, service_name); -#line 7300 "ConfigurationInterfaces.c" +#line 8435 "ConfigurationInterfaces.c" } @@ -7309,11 +8444,11 @@ static void configuration_facade_real_get_library_photos_sort (ConfigurationFaca gboolean _vala_sort_order = FALSE; gint _vala_sort_by = 0; GError * _inner_error_ = NULL; -#line 1102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1246 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_order = FALSE; -#line 1103 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1247 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_by = 2; -#line 7312 "ConfigurationInterfaces.c" +#line 8447 "ConfigurationInterfaces.c" { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; @@ -7325,115 +8460,115 @@ static void configuration_facade_real_get_library_photos_sort (ConfigurationFaca ConfigurationEngine* _tmp7_ = NULL; gint _tmp8_ = 0; gint _tmp9_ = 0; -#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, &_inner_error_); -#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7340 "ConfigurationInterfaces.c" - goto __catch143_configuration_error; +#line 8475 "ConfigurationInterfaces.c" + goto __catch156_configuration_error; } -#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7349 "ConfigurationInterfaces.c" +#line 8484 "ConfigurationInterfaces.c" } -#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_order = _tmp0_; -#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = configuration_facade_get_engine (self); -#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = _tmp6_; -#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = configuration_engine_get_int_property (_tmp7_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, &_inner_error_); -#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = _tmp8_; -#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp7_); -#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp9_; -#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7369 "ConfigurationInterfaces.c" - goto __catch143_configuration_error; +#line 8504 "ConfigurationInterfaces.c" + goto __catch156_configuration_error; } -#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7378 "ConfigurationInterfaces.c" +#line 8513 "ConfigurationInterfaces.c" } -#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_by = _tmp5_; -#line 7382 "ConfigurationInterfaces.c" +#line 8517 "ConfigurationInterfaces.c" } - goto __finally143; - __catch143_configuration_error: + goto __finally156; + __catch156_configuration_error: { GError* err = NULL; GError* _tmp10_ = NULL; -#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1109 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = err; -#line 1109 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp10_); -#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 7399 "ConfigurationInterfaces.c" +#line 8534 "ConfigurationInterfaces.c" } - __finally143: -#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally156: +#line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7410 "ConfigurationInterfaces.c" +#line 8545 "ConfigurationInterfaces.c" } -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (sort_order) { -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *sort_order = _vala_sort_order; -#line 7416 "ConfigurationInterfaces.c" +#line 8551 "ConfigurationInterfaces.c" } -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (sort_by) { -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *sort_by = _vala_sort_by; -#line 7422 "ConfigurationInterfaces.c" +#line 8557 "ConfigurationInterfaces.c" } } void configuration_facade_get_library_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by) { -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->get_library_photos_sort (self, sort_order, sort_by); -#line 7432 "ConfigurationInterfaces.c" +#line 8567 "ConfigurationInterfaces.c" } @@ -7446,94 +8581,94 @@ static void configuration_facade_real_set_library_photos_sort (ConfigurationFaca ConfigurationEngine* _tmp3_ = NULL; ConfigurationEngine* _tmp4_ = NULL; gint _tmp5_ = 0; -#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = sort_order; -#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, _tmp2_, &_inner_error_); -#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7459 "ConfigurationInterfaces.c" - goto __catch144_configuration_error; +#line 8594 "ConfigurationInterfaces.c" + goto __catch157_configuration_error; } -#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7468 "ConfigurationInterfaces.c" +#line 8603 "ConfigurationInterfaces.c" } -#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_facade_get_engine (self); -#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = sort_by; -#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, _tmp5_, &_inner_error_); -#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp4_); -#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7484 "ConfigurationInterfaces.c" - goto __catch144_configuration_error; +#line 8619 "ConfigurationInterfaces.c" + goto __catch157_configuration_error; } -#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7493 "ConfigurationInterfaces.c" +#line 8628 "ConfigurationInterfaces.c" } } - goto __finally144; - __catch144_configuration_error: + goto __finally157; + __catch157_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 1120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 7511 "ConfigurationInterfaces.c" +#line 8646 "ConfigurationInterfaces.c" } - __finally144: -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally157: +#line 1258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7522 "ConfigurationInterfaces.c" +#line 8657 "ConfigurationInterfaces.c" } } void configuration_facade_set_library_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by) { -#line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1257 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1257 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_library_photos_sort (self, sort_order, sort_by); -#line 7532 "ConfigurationInterfaces.c" +#line 8667 "ConfigurationInterfaces.c" } @@ -7541,11 +8676,11 @@ static void configuration_facade_real_get_library_window_state (ConfigurationFac gboolean _vala_maximize = FALSE; Dimensions _vala_dimensions = {0}; GError * _inner_error_ = NULL; -#line 1128 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1272 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_maximize = FALSE; -#line 1129 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" dimensions_init (&_vala_dimensions, 1024, 768); -#line 7544 "ConfigurationInterfaces.c" +#line 8679 "ConfigurationInterfaces.c" { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; @@ -7564,154 +8699,154 @@ static void configuration_facade_real_get_library_window_state (ConfigurationFac gint _tmp12_ = 0; gint _tmp13_ = 0; gint _tmp14_ = 0; -#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, &_inner_error_); -#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7579 "ConfigurationInterfaces.c" - goto __catch145_configuration_error; +#line 8714 "ConfigurationInterfaces.c" + goto __catch158_configuration_error; } -#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7588 "ConfigurationInterfaces.c" +#line 8723 "ConfigurationInterfaces.c" } -#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_maximize = _tmp0_; -#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = configuration_facade_get_engine (self); -#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = _tmp5_; -#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = configuration_engine_get_int_property (_tmp6_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, &_inner_error_); -#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = _tmp7_; -#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp6_); -#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" w = _tmp8_; -#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7608 "ConfigurationInterfaces.c" - goto __catch145_configuration_error; +#line 8743 "ConfigurationInterfaces.c" + goto __catch158_configuration_error; } -#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7617 "ConfigurationInterfaces.c" +#line 8752 "ConfigurationInterfaces.c" } -#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = configuration_facade_get_engine (self); -#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = _tmp9_; -#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp11_ = configuration_engine_get_int_property (_tmp10_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, &_inner_error_); -#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp12_ = _tmp11_; -#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp10_); -#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" h = _tmp12_; -#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7635 "ConfigurationInterfaces.c" - goto __catch145_configuration_error; +#line 8770 "ConfigurationInterfaces.c" + goto __catch158_configuration_error; } -#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7644 "ConfigurationInterfaces.c" +#line 8779 "ConfigurationInterfaces.c" } -#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1278 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp13_ = w; -#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1278 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp14_ = h; -#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1278 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" dimensions_init (&_vala_dimensions, _tmp13_, _tmp14_); -#line 7652 "ConfigurationInterfaces.c" +#line 8787 "ConfigurationInterfaces.c" } - goto __finally145; - __catch145_configuration_error: + goto __finally158; + __catch158_configuration_error: { GError* err = NULL; GError* _tmp15_ = NULL; -#line 1130 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1130 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1136 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1280 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp15_ = err; -#line 1136 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1280 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp15_); -#line 1130 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 7669 "ConfigurationInterfaces.c" +#line 8804 "ConfigurationInterfaces.c" } - __finally145: -#line 1130 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally158: +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1130 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1130 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1130 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7680 "ConfigurationInterfaces.c" +#line 8815 "ConfigurationInterfaces.c" } -#line 1127 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1271 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (maximize) { -#line 1127 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1271 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *maximize = _vala_maximize; -#line 7686 "ConfigurationInterfaces.c" +#line 8821 "ConfigurationInterfaces.c" } -#line 1127 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1271 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (dimensions) { -#line 1127 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1271 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *dimensions = _vala_dimensions; -#line 7692 "ConfigurationInterfaces.c" +#line 8827 "ConfigurationInterfaces.c" } } void configuration_facade_get_library_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions) { -#line 1127 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1271 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1127 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1271 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->get_library_window_state (self, maximize, dimensions); -#line 7702 "ConfigurationInterfaces.c" +#line 8837 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_library_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions) { GError * _inner_error_ = NULL; -#line 1140 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (dimensions != NULL); -#line 7710 "ConfigurationInterfaces.c" +#line 8845 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; @@ -7724,123 +8859,123 @@ static void configuration_facade_real_set_library_window_state (ConfigurationFac ConfigurationEngine* _tmp8_ = NULL; Dimensions _tmp9_ = {0}; gint _tmp10_ = 0; -#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = maximize; -#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, _tmp2_, &_inner_error_); -#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7737 "ConfigurationInterfaces.c" - goto __catch146_configuration_error; +#line 8872 "ConfigurationInterfaces.c" + goto __catch159_configuration_error; } -#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7746 "ConfigurationInterfaces.c" +#line 8881 "ConfigurationInterfaces.c" } -#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_facade_get_engine (self); -#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = *dimensions; -#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = _tmp5_.width; -#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, _tmp6_, &_inner_error_); -#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp4_); -#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7764 "ConfigurationInterfaces.c" - goto __catch146_configuration_error; +#line 8899 "ConfigurationInterfaces.c" + goto __catch159_configuration_error; } -#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7773 "ConfigurationInterfaces.c" +#line 8908 "ConfigurationInterfaces.c" } -#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = configuration_facade_get_engine (self); -#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = _tmp7_; -#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = *dimensions; -#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = _tmp9_.height; -#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp8_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, _tmp10_, &_inner_error_); -#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp8_); -#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7791 "ConfigurationInterfaces.c" - goto __catch146_configuration_error; +#line 8926 "ConfigurationInterfaces.c" + goto __catch159_configuration_error; } -#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7800 "ConfigurationInterfaces.c" +#line 8935 "ConfigurationInterfaces.c" } } - goto __finally146; - __catch146_configuration_error: + goto __finally159; + __catch159_configuration_error: { GError* err = NULL; GError* _tmp11_ = NULL; -#line 1141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1148 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1292 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp11_ = err; -#line 1148 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1292 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp11_); -#line 1141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 7818 "ConfigurationInterfaces.c" +#line 8953 "ConfigurationInterfaces.c" } - __finally146: -#line 1141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally159: +#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7829 "ConfigurationInterfaces.c" +#line 8964 "ConfigurationInterfaces.c" } } void configuration_facade_set_library_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions) { -#line 1140 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1140 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_library_window_state (self, maximize, dimensions); -#line 7839 "ConfigurationInterfaces.c" +#line 8974 "ConfigurationInterfaces.c" } @@ -7853,77 +8988,77 @@ static gboolean configuration_facade_real_get_modify_originals (ConfigurationFac ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, &_inner_error_); -#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7868 "ConfigurationInterfaces.c" - goto __catch147_configuration_error; +#line 9003 "ConfigurationInterfaces.c" + goto __catch160_configuration_error; } -#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 7877 "ConfigurationInterfaces.c" +#line 9012 "ConfigurationInterfaces.c" } -#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 7883 "ConfigurationInterfaces.c" +#line 9018 "ConfigurationInterfaces.c" } - goto __finally147; - __catch147_configuration_error: + goto __finally160; + __catch160_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1303 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1303 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; -#line 1162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 7904 "ConfigurationInterfaces.c" +#line 9039 "ConfigurationInterfaces.c" } - __finally147: -#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally160: +#line 1300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 7913 "ConfigurationInterfaces.c" +#line 9048 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_modify_originals (ConfigurationFacade* self) { -#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_modify_originals (self); -#line 7922 "ConfigurationInterfaces.c" +#line 9057 "ConfigurationInterfaces.c" } @@ -7933,69 +9068,69 @@ static void configuration_facade_real_set_modify_originals (ConfigurationFacade* ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = modify_originals; -#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, _tmp2_, &_inner_error_); -#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7946 "ConfigurationInterfaces.c" - goto __catch148_configuration_error; +#line 9081 "ConfigurationInterfaces.c" + goto __catch161_configuration_error; } -#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7955 "ConfigurationInterfaces.c" +#line 9090 "ConfigurationInterfaces.c" } } - goto __finally148; - __catch148_configuration_error: + goto __finally161; + __catch161_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1170 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1314 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1170 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1314 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 7973 "ConfigurationInterfaces.c" +#line 9108 "ConfigurationInterfaces.c" } - __finally148: -#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally161: +#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 7984 "ConfigurationInterfaces.c" +#line 9119 "ConfigurationInterfaces.c" } } void configuration_facade_set_modify_originals (ConfigurationFacade* self, gboolean modify_originals) { -#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_modify_originals (self, modify_originals); -#line 7994 "ConfigurationInterfaces.c" +#line 9129 "ConfigurationInterfaces.c" } @@ -8008,83 +9143,83 @@ static gint configuration_facade_real_get_photo_thumbnail_scale (ConfigurationFa ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, &_inner_error_); -#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8023 "ConfigurationInterfaces.c" - goto __catch149_configuration_error; +#line 9158 "ConfigurationInterfaces.c" + goto __catch162_configuration_error; } -#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 8032 "ConfigurationInterfaces.c" +#line 9167 "ConfigurationInterfaces.c" } -#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 8038 "ConfigurationInterfaces.c" +#line 9173 "ConfigurationInterfaces.c" } - goto __finally149; - __catch149_configuration_error: + goto __finally162; + __catch162_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1322 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1322 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1181 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1325 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1181 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1325 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = thumbnail_get_DEFAULT_SCALE (); -#line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = _tmp6_; -#line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 8065 "ConfigurationInterfaces.c" +#line 9200 "ConfigurationInterfaces.c" } - __finally149: -#line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally162: +#line 1322 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1322 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1322 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 8074 "ConfigurationInterfaces.c" +#line 9209 "ConfigurationInterfaces.c" } gint configuration_facade_get_photo_thumbnail_scale (ConfigurationFacade* self) { -#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_photo_thumbnail_scale (self); -#line 8083 "ConfigurationInterfaces.c" +#line 9218 "ConfigurationInterfaces.c" } @@ -8094,69 +9229,69 @@ static void configuration_facade_real_set_photo_thumbnail_scale (ConfigurationFa ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; -#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = scale; -#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, _tmp2_, &_inner_error_); -#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8107 "ConfigurationInterfaces.c" - goto __catch150_configuration_error; +#line 9242 "ConfigurationInterfaces.c" + goto __catch163_configuration_error; } -#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 8116 "ConfigurationInterfaces.c" +#line 9251 "ConfigurationInterfaces.c" } } - goto __finally150; - __catch150_configuration_error: + goto __finally163; + __catch163_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1190 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1190 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 8134 "ConfigurationInterfaces.c" +#line 9269 "ConfigurationInterfaces.c" } - __finally150: -#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally163: +#line 1331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 8145 "ConfigurationInterfaces.c" +#line 9280 "ConfigurationInterfaces.c" } } void configuration_facade_set_photo_thumbnail_scale (ConfigurationFacade* self, gint scale) { -#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_photo_thumbnail_scale (self, scale); -#line 8155 "ConfigurationInterfaces.c" +#line 9290 "ConfigurationInterfaces.c" } @@ -8169,77 +9304,77 @@ static gdouble configuration_facade_real_get_printing_content_height (Configurat ConfigurationEngine* _tmp2_ = NULL; gdouble _tmp3_ = 0.0; gdouble _tmp4_ = 0.0; -#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, &_inner_error_); -#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8184 "ConfigurationInterfaces.c" - goto __catch151_configuration_error; +#line 9319 "ConfigurationInterfaces.c" + goto __catch164_configuration_error; } -#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; -#line 8193 "ConfigurationInterfaces.c" +#line 9328 "ConfigurationInterfaces.c" } -#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 8199 "ConfigurationInterfaces.c" +#line 9334 "ConfigurationInterfaces.c" } - goto __finally151; - __catch151_configuration_error: + goto __finally164; + __catch164_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1203 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 5.0; -#line 1203 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1203 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 8220 "ConfigurationInterfaces.c" +#line 9355 "ConfigurationInterfaces.c" } - __finally151: -#line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally164: +#line 1342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; -#line 8229 "ConfigurationInterfaces.c" +#line 9364 "ConfigurationInterfaces.c" } gdouble configuration_facade_get_printing_content_height (ConfigurationFacade* self) { -#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1341 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); -#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1341 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_height (self); -#line 8238 "ConfigurationInterfaces.c" +#line 9373 "ConfigurationInterfaces.c" } @@ -8249,69 +9384,69 @@ static void configuration_facade_real_set_printing_content_height (Configuration ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gdouble _tmp2_ = 0.0; -#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = content_height; -#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, _tmp2_, &_inner_error_); -#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8262 "ConfigurationInterfaces.c" - goto __catch152_configuration_error; +#line 9397 "ConfigurationInterfaces.c" + goto __catch165_configuration_error; } -#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 8271 "ConfigurationInterfaces.c" +#line 9406 "ConfigurationInterfaces.c" } } - goto __finally152; - __catch152_configuration_error: + goto __finally165; + __catch165_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 8289 "ConfigurationInterfaces.c" +#line 9424 "ConfigurationInterfaces.c" } - __finally152: -#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally165: +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 8300 "ConfigurationInterfaces.c" +#line 9435 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_content_height (ConfigurationFacade* self, gdouble content_height) { -#line 1207 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1207 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_height (self, content_height); -#line 8310 "ConfigurationInterfaces.c" +#line 9445 "ConfigurationInterfaces.c" } @@ -8324,77 +9459,77 @@ static gint configuration_facade_real_get_printing_content_layout (Configuration ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, &_inner_error_); -#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8339 "ConfigurationInterfaces.c" - goto __catch153_configuration_error; +#line 9474 "ConfigurationInterfaces.c" + goto __catch166_configuration_error; } -#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 8348 "ConfigurationInterfaces.c" +#line 9483 "ConfigurationInterfaces.c" } -#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_ - 1; -#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 8354 "ConfigurationInterfaces.c" +#line 9489 "ConfigurationInterfaces.c" } - goto __finally153; - __catch153_configuration_error: + goto __finally166; + __catch166_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1220 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1220 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1367 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1367 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1369 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0; -#line 1225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1369 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1369 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 8375 "ConfigurationInterfaces.c" +#line 9510 "ConfigurationInterfaces.c" } - __finally153: -#line 1220 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally166: +#line 1364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1220 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1220 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 8384 "ConfigurationInterfaces.c" +#line 9519 "ConfigurationInterfaces.c" } gint configuration_facade_get_printing_content_layout (ConfigurationFacade* self) { -#line 1219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_layout (self); -#line 8393 "ConfigurationInterfaces.c" +#line 9528 "ConfigurationInterfaces.c" } @@ -8404,69 +9539,69 @@ static void configuration_facade_real_set_printing_content_layout (Configuration ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; -#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = layout_code; -#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, _tmp2_ + 1, &_inner_error_); -#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8417 "ConfigurationInterfaces.c" - goto __catch154_configuration_error; +#line 9552 "ConfigurationInterfaces.c" + goto __catch167_configuration_error; } -#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 8426 "ConfigurationInterfaces.c" +#line 9561 "ConfigurationInterfaces.c" } } - goto __finally154; - __catch154_configuration_error: + goto __finally167; + __catch167_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 8444 "ConfigurationInterfaces.c" +#line 9579 "ConfigurationInterfaces.c" } - __finally154: -#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally167: +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 8455 "ConfigurationInterfaces.c" +#line 9590 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_content_layout (ConfigurationFacade* self, gint layout_code) { -#line 1229 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1229 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_layout (self, layout_code); -#line 8465 "ConfigurationInterfaces.c" +#line 9600 "ConfigurationInterfaces.c" } @@ -8479,77 +9614,77 @@ static gint configuration_facade_real_get_printing_content_ppi (ConfigurationFac ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, &_inner_error_); -#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8494 "ConfigurationInterfaces.c" - goto __catch155_configuration_error; +#line 9629 "ConfigurationInterfaces.c" + goto __catch168_configuration_error; } -#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 8503 "ConfigurationInterfaces.c" +#line 9638 "ConfigurationInterfaces.c" } -#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 8509 "ConfigurationInterfaces.c" +#line 9644 "ConfigurationInterfaces.c" } - goto __finally155; - __catch155_configuration_error: + goto __finally168; + __catch168_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1242 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1386 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1242 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1386 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1389 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1389 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1247 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1391 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 600; -#line 1247 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1391 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1247 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1391 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 8530 "ConfigurationInterfaces.c" +#line 9665 "ConfigurationInterfaces.c" } - __finally155: -#line 1242 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally168: +#line 1386 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1242 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1386 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1242 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1386 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 8539 "ConfigurationInterfaces.c" +#line 9674 "ConfigurationInterfaces.c" } gint configuration_facade_get_printing_content_ppi (ConfigurationFacade* self) { -#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_ppi (self); -#line 8548 "ConfigurationInterfaces.c" +#line 9683 "ConfigurationInterfaces.c" } @@ -8559,69 +9694,69 @@ static void configuration_facade_real_set_printing_content_ppi (ConfigurationFac ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; -#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = content_ppi; -#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, _tmp2_, &_inner_error_); -#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8572 "ConfigurationInterfaces.c" - goto __catch156_configuration_error; +#line 9707 "ConfigurationInterfaces.c" + goto __catch169_configuration_error; } -#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 8581 "ConfigurationInterfaces.c" +#line 9716 "ConfigurationInterfaces.c" } } - goto __finally156; - __catch156_configuration_error: + goto __finally169; + __catch169_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1255 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1399 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1255 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1399 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 8599 "ConfigurationInterfaces.c" +#line 9734 "ConfigurationInterfaces.c" } - __finally156: -#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally169: +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 8610 "ConfigurationInterfaces.c" +#line 9745 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_content_ppi (ConfigurationFacade* self, gint content_ppi) { -#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1395 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1395 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_ppi (self, content_ppi); -#line 8620 "ConfigurationInterfaces.c" +#line 9755 "ConfigurationInterfaces.c" } @@ -8634,77 +9769,77 @@ static gint configuration_facade_real_get_printing_content_units (ConfigurationF ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, &_inner_error_); -#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8649 "ConfigurationInterfaces.c" - goto __catch157_configuration_error; +#line 9784 "ConfigurationInterfaces.c" + goto __catch170_configuration_error; } -#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 8658 "ConfigurationInterfaces.c" +#line 9793 "ConfigurationInterfaces.c" } -#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_ - 1; -#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 8664 "ConfigurationInterfaces.c" +#line 9799 "ConfigurationInterfaces.c" } - goto __finally157; - __catch157_configuration_error: + goto __finally170; + __catch170_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1266 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1266 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1268 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1412 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0; -#line 1268 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1412 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1268 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1412 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 8685 "ConfigurationInterfaces.c" +#line 9820 "ConfigurationInterfaces.c" } - __finally157: -#line 1263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally170: +#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 8694 "ConfigurationInterfaces.c" +#line 9829 "ConfigurationInterfaces.c" } gint configuration_facade_get_printing_content_units (ConfigurationFacade* self) { -#line 1262 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1406 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1262 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1406 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_units (self); -#line 8703 "ConfigurationInterfaces.c" +#line 9838 "ConfigurationInterfaces.c" } @@ -8714,69 +9849,69 @@ static void configuration_facade_real_set_printing_content_units (ConfigurationF ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; -#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = units_code; -#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, _tmp2_ + 1, &_inner_error_); -#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8727 "ConfigurationInterfaces.c" - goto __catch158_configuration_error; +#line 9862 "ConfigurationInterfaces.c" + goto __catch171_configuration_error; } -#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 8736 "ConfigurationInterfaces.c" +#line 9871 "ConfigurationInterfaces.c" } } - goto __finally158; - __catch158_configuration_error: + goto __finally171; + __catch171_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 8754 "ConfigurationInterfaces.c" +#line 9889 "ConfigurationInterfaces.c" } - __finally158: -#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally171: +#line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 8765 "ConfigurationInterfaces.c" +#line 9900 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_content_units (ConfigurationFacade* self, gint units_code) { -#line 1272 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1272 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_units (self, units_code); -#line 8775 "ConfigurationInterfaces.c" +#line 9910 "ConfigurationInterfaces.c" } @@ -8789,77 +9924,77 @@ static gdouble configuration_facade_real_get_printing_content_width (Configurati ConfigurationEngine* _tmp2_ = NULL; gdouble _tmp3_ = 0.0; gdouble _tmp4_ = 0.0; -#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, &_inner_error_); -#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8804 "ConfigurationInterfaces.c" - goto __catch159_configuration_error; +#line 9939 "ConfigurationInterfaces.c" + goto __catch172_configuration_error; } -#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; -#line 8813 "ConfigurationInterfaces.c" +#line 9948 "ConfigurationInterfaces.c" } -#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 8819 "ConfigurationInterfaces.c" +#line 9954 "ConfigurationInterfaces.c" } - goto __finally159; - __catch159_configuration_error: + goto __finally172; + __catch172_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1288 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1288 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1290 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1434 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 7.0; -#line 1290 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1434 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1290 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1434 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 8840 "ConfigurationInterfaces.c" +#line 9975 "ConfigurationInterfaces.c" } - __finally159: -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally172: +#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; -#line 8849 "ConfigurationInterfaces.c" +#line 9984 "ConfigurationInterfaces.c" } gdouble configuration_facade_get_printing_content_width (ConfigurationFacade* self) { -#line 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); -#line 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_width (self); -#line 8858 "ConfigurationInterfaces.c" +#line 9993 "ConfigurationInterfaces.c" } @@ -8869,69 +10004,69 @@ static void configuration_facade_real_set_printing_content_width (ConfigurationF ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gdouble _tmp2_ = 0.0; -#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = content_width; -#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, _tmp2_, &_inner_error_); -#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8882 "ConfigurationInterfaces.c" - goto __catch160_configuration_error; +#line 10017 "ConfigurationInterfaces.c" + goto __catch173_configuration_error; } -#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 8891 "ConfigurationInterfaces.c" +#line 10026 "ConfigurationInterfaces.c" } } - goto __finally160; - __catch160_configuration_error: + goto __finally173; + __catch173_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 8909 "ConfigurationInterfaces.c" +#line 10044 "ConfigurationInterfaces.c" } - __finally160: -#line 1295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally173: +#line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 8920 "ConfigurationInterfaces.c" +#line 10055 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_content_width (ConfigurationFacade* self, gdouble content_width) { -#line 1294 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1294 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_width (self, content_width); -#line 8930 "ConfigurationInterfaces.c" +#line 10065 "ConfigurationInterfaces.c" } @@ -8944,77 +10079,77 @@ static gint configuration_facade_real_get_printing_images_per_page (Configuratio ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, &_inner_error_); -#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8959 "ConfigurationInterfaces.c" - goto __catch161_configuration_error; +#line 10094 "ConfigurationInterfaces.c" + goto __catch174_configuration_error; } -#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 8968 "ConfigurationInterfaces.c" +#line 10103 "ConfigurationInterfaces.c" } -#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_ - 1; -#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 8974 "ConfigurationInterfaces.c" +#line 10109 "ConfigurationInterfaces.c" } - goto __finally161; - __catch161_configuration_error: + goto __finally174; + __catch174_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1454 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1454 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0; -#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 8995 "ConfigurationInterfaces.c" +#line 10130 "ConfigurationInterfaces.c" } - __finally161: -#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally174: +#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 9004 "ConfigurationInterfaces.c" +#line 10139 "ConfigurationInterfaces.c" } gint configuration_facade_get_printing_images_per_page (ConfigurationFacade* self) { -#line 1306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_images_per_page (self); -#line 9013 "ConfigurationInterfaces.c" +#line 10148 "ConfigurationInterfaces.c" } @@ -9024,69 +10159,69 @@ static void configuration_facade_real_set_printing_images_per_page (Configuratio ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; -#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = images_per_page_code; -#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, _tmp2_ + 1, &_inner_error_); -#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9037 "ConfigurationInterfaces.c" - goto __catch162_configuration_error; +#line 10172 "ConfigurationInterfaces.c" + goto __catch175_configuration_error; } -#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 9046 "ConfigurationInterfaces.c" +#line 10181 "ConfigurationInterfaces.c" } } - goto __finally162; - __catch162_configuration_error: + goto __finally175; + __catch175_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 9064 "ConfigurationInterfaces.c" +#line 10199 "ConfigurationInterfaces.c" } - __finally162: -#line 1317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally175: +#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 9075 "ConfigurationInterfaces.c" +#line 10210 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_images_per_page (ConfigurationFacade* self, gint images_per_page_code) { -#line 1316 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1316 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_images_per_page (self, images_per_page_code); -#line 9085 "ConfigurationInterfaces.c" +#line 10220 "ConfigurationInterfaces.c" } @@ -9099,77 +10234,77 @@ static gboolean configuration_facade_real_get_printing_match_aspect_ratio (Confi ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, &_inner_error_); -#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9114 "ConfigurationInterfaces.c" - goto __catch163_configuration_error; +#line 10249 "ConfigurationInterfaces.c" + goto __catch176_configuration_error; } -#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 9123 "ConfigurationInterfaces.c" +#line 10258 "ConfigurationInterfaces.c" } -#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 9129 "ConfigurationInterfaces.c" +#line 10264 "ConfigurationInterfaces.c" } - goto __finally163; - __catch163_configuration_error: + goto __finally176; + __catch176_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1473 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1473 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1476 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1476 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = TRUE; -#line 1334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 9150 "ConfigurationInterfaces.c" +#line 10285 "ConfigurationInterfaces.c" } - __finally163: -#line 1329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally176: +#line 1473 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1473 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1473 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 9159 "ConfigurationInterfaces.c" +#line 10294 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_printing_match_aspect_ratio (ConfigurationFacade* self) { -#line 1328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_match_aspect_ratio (self); -#line 9168 "ConfigurationInterfaces.c" +#line 10303 "ConfigurationInterfaces.c" } @@ -9179,69 +10314,69 @@ static void configuration_facade_real_set_printing_match_aspect_ratio (Configura ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = match_aspect_ratio; -#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, _tmp2_, &_inner_error_); -#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9192 "ConfigurationInterfaces.c" - goto __catch164_configuration_error; +#line 10327 "ConfigurationInterfaces.c" + goto __catch177_configuration_error; } -#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 9201 "ConfigurationInterfaces.c" +#line 10336 "ConfigurationInterfaces.c" } } - goto __finally164; - __catch164_configuration_error: + goto __finally177; + __catch177_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 9219 "ConfigurationInterfaces.c" +#line 10354 "ConfigurationInterfaces.c" } - __finally164: -#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally177: +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 9230 "ConfigurationInterfaces.c" +#line 10365 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_match_aspect_ratio (ConfigurationFacade* self, gboolean match_aspect_ratio) { -#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_match_aspect_ratio (self, match_aspect_ratio); -#line 9240 "ConfigurationInterfaces.c" +#line 10375 "ConfigurationInterfaces.c" } @@ -9254,77 +10389,77 @@ static gboolean configuration_facade_real_get_printing_print_titles (Configurati ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, &_inner_error_); -#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9269 "ConfigurationInterfaces.c" - goto __catch165_configuration_error; +#line 10404 "ConfigurationInterfaces.c" + goto __catch178_configuration_error; } -#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 9278 "ConfigurationInterfaces.c" +#line 10413 "ConfigurationInterfaces.c" } -#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 9284 "ConfigurationInterfaces.c" +#line 10419 "ConfigurationInterfaces.c" } - goto __finally165; - __catch165_configuration_error: + goto __finally178; + __catch178_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1354 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1498 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1354 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1498 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; -#line 1356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 9305 "ConfigurationInterfaces.c" +#line 10440 "ConfigurationInterfaces.c" } - __finally165: -#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally178: +#line 1495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 9314 "ConfigurationInterfaces.c" +#line 10449 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_printing_print_titles (ConfigurationFacade* self) { -#line 1350 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1350 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_print_titles (self); -#line 9323 "ConfigurationInterfaces.c" +#line 10458 "ConfigurationInterfaces.c" } @@ -9334,69 +10469,69 @@ static void configuration_facade_real_set_printing_print_titles (ConfigurationFa ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = print_titles; -#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, _tmp2_, &_inner_error_); -#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9347 "ConfigurationInterfaces.c" - goto __catch166_configuration_error; +#line 10482 "ConfigurationInterfaces.c" + goto __catch179_configuration_error; } -#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 9356 "ConfigurationInterfaces.c" +#line 10491 "ConfigurationInterfaces.c" } } - goto __finally166; - __catch166_configuration_error: + goto __finally179; + __catch179_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 9374 "ConfigurationInterfaces.c" +#line 10509 "ConfigurationInterfaces.c" } - __finally166: -#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally179: +#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 9385 "ConfigurationInterfaces.c" +#line 10520 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_print_titles (ConfigurationFacade* self, gboolean print_titles) { -#line 1360 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1360 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_print_titles (self, print_titles); -#line 9395 "ConfigurationInterfaces.c" +#line 10530 "ConfigurationInterfaces.c" } @@ -9409,77 +10544,77 @@ static gint configuration_facade_real_get_printing_size_selection (Configuration ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, &_inner_error_); -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9424 "ConfigurationInterfaces.c" - goto __catch167_configuration_error; +#line 10559 "ConfigurationInterfaces.c" + goto __catch180_configuration_error; } -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 9433 "ConfigurationInterfaces.c" +#line 10568 "ConfigurationInterfaces.c" } -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_ - 1; -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 9439 "ConfigurationInterfaces.c" +#line 10574 "ConfigurationInterfaces.c" } - goto __finally167; - __catch167_configuration_error: + goto __finally180; + __catch180_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1376 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1520 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1376 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1520 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0; -#line 1378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 9460 "ConfigurationInterfaces.c" +#line 10595 "ConfigurationInterfaces.c" } - __finally167: -#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally180: +#line 1517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 9469 "ConfigurationInterfaces.c" +#line 10604 "ConfigurationInterfaces.c" } gint configuration_facade_get_printing_size_selection (ConfigurationFacade* self) { -#line 1372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_size_selection (self); -#line 9478 "ConfigurationInterfaces.c" +#line 10613 "ConfigurationInterfaces.c" } @@ -9489,69 +10624,69 @@ static void configuration_facade_real_set_printing_size_selection (Configuration ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; -#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = size_code; -#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, _tmp2_ + 1, &_inner_error_); -#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9502 "ConfigurationInterfaces.c" - goto __catch168_configuration_error; +#line 10637 "ConfigurationInterfaces.c" + goto __catch181_configuration_error; } -#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 9511 "ConfigurationInterfaces.c" +#line 10646 "ConfigurationInterfaces.c" } } - goto __finally168; - __catch168_configuration_error: + goto __finally181; + __catch181_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 9529 "ConfigurationInterfaces.c" +#line 10664 "ConfigurationInterfaces.c" } - __finally168: -#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally181: +#line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 9540 "ConfigurationInterfaces.c" +#line 10675 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_size_selection (ConfigurationFacade* self, gint size_code) { -#line 1382 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1526 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1382 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1526 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_size_selection (self, size_code); -#line 9550 "ConfigurationInterfaces.c" +#line 10685 "ConfigurationInterfaces.c" } @@ -9565,161 +10700,161 @@ static gchar* configuration_facade_real_get_printing_titles_font (ConfigurationF gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, &_inner_error_); -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9580 "ConfigurationInterfaces.c" - goto __catch169_configuration_error; +#line 10715 "ConfigurationInterfaces.c" + goto __catch182_configuration_error; } -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 9589 "ConfigurationInterfaces.c" +#line 10724 "ConfigurationInterfaces.c" } -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 9601 "ConfigurationInterfaces.c" +#line 10736 "ConfigurationInterfaces.c" } - goto __finally169; - __catch169_configuration_error: + goto __finally182; + __catch182_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 1395 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1395 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1542 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 1398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1542 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); -#line 1402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup ("Sans Bold 12"); -#line 1402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 1402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 9625 "ConfigurationInterfaces.c" +#line 10760 "ConfigurationInterfaces.c" } - __finally169: -#line 1395 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally182: +#line 1539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1395 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1395 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 9634 "ConfigurationInterfaces.c" +#line 10769 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_printing_titles_font (ConfigurationFacade* self) { -#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_titles_font (self); -#line 9643 "ConfigurationInterfaces.c" +#line 10778 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_printing_titles_font (ConfigurationFacade* self, const gchar* font_name) { GError * _inner_error_ = NULL; -#line 1406 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1550 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (font_name != NULL); -#line 9651 "ConfigurationInterfaces.c" +#line 10786 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = font_name; -#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, _tmp2_, &_inner_error_); -#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9670 "ConfigurationInterfaces.c" - goto __catch170_configuration_error; +#line 10805 "ConfigurationInterfaces.c" + goto __catch183_configuration_error; } -#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 9679 "ConfigurationInterfaces.c" +#line 10814 "ConfigurationInterfaces.c" } } - goto __finally170; - __catch170_configuration_error: + goto __finally183; + __catch183_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 9697 "ConfigurationInterfaces.c" +#line 10832 "ConfigurationInterfaces.c" } - __finally170: -#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally183: +#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 9708 "ConfigurationInterfaces.c" +#line 10843 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_titles_font (ConfigurationFacade* self, const gchar* font_name) { -#line 1406 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1550 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1406 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1550 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_titles_font (self, font_name); -#line 9718 "ConfigurationInterfaces.c" +#line 10853 "ConfigurationInterfaces.c" } @@ -9732,77 +10867,77 @@ static gboolean configuration_facade_real_get_show_welcome_dialog (Configuration ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, &_inner_error_); -#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9747 "ConfigurationInterfaces.c" - goto __catch171_configuration_error; +#line 10882 "ConfigurationInterfaces.c" + goto __catch184_configuration_error; } -#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 9756 "ConfigurationInterfaces.c" +#line 10891 "ConfigurationInterfaces.c" } -#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 9762 "ConfigurationInterfaces.c" +#line 10897 "ConfigurationInterfaces.c" } - goto __finally171; - __catch171_configuration_error: + goto __finally184; + __catch184_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = TRUE; -#line 1423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 9783 "ConfigurationInterfaces.c" +#line 10918 "ConfigurationInterfaces.c" } - __finally171: -#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally184: +#line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 9792 "ConfigurationInterfaces.c" +#line 10927 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_show_welcome_dialog (ConfigurationFacade* self) { -#line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1561 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1561 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_show_welcome_dialog (self); -#line 9801 "ConfigurationInterfaces.c" +#line 10936 "ConfigurationInterfaces.c" } @@ -9812,69 +10947,69 @@ static void configuration_facade_real_set_show_welcome_dialog (ConfigurationFaca ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = show; -#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, _tmp2_, &_inner_error_); -#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9825 "ConfigurationInterfaces.c" - goto __catch172_configuration_error; +#line 10960 "ConfigurationInterfaces.c" + goto __catch185_configuration_error; } -#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 9834 "ConfigurationInterfaces.c" +#line 10969 "ConfigurationInterfaces.c" } } - goto __finally172; - __catch172_configuration_error: + goto __finally185; + __catch185_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1572 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1572 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1576 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1576 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1572 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 9852 "ConfigurationInterfaces.c" +#line 10987 "ConfigurationInterfaces.c" } - __finally172: -#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally185: +#line 1572 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1572 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1572 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1572 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 9863 "ConfigurationInterfaces.c" +#line 10998 "ConfigurationInterfaces.c" } } void configuration_facade_set_show_welcome_dialog (ConfigurationFacade* self, gboolean show) { -#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1571 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1571 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_show_welcome_dialog (self, show); -#line 9873 "ConfigurationInterfaces.c" +#line 11008 "ConfigurationInterfaces.c" } @@ -9887,77 +11022,77 @@ static gint configuration_facade_real_get_sidebar_position (ConfigurationFacade* ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, &_inner_error_); -#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9902 "ConfigurationInterfaces.c" - goto __catch173_configuration_error; +#line 11037 "ConfigurationInterfaces.c" + goto __catch186_configuration_error; } -#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 9911 "ConfigurationInterfaces.c" +#line 11046 "ConfigurationInterfaces.c" } -#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 9917 "ConfigurationInterfaces.c" +#line 11052 "ConfigurationInterfaces.c" } - goto __finally173; - __catch173_configuration_error: + goto __finally186; + __catch186_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1445 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 180; -#line 1445 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1445 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 9938 "ConfigurationInterfaces.c" +#line 11073 "ConfigurationInterfaces.c" } - __finally173: -#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally186: +#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 9947 "ConfigurationInterfaces.c" +#line 11082 "ConfigurationInterfaces.c" } gint configuration_facade_get_sidebar_position (ConfigurationFacade* self) { -#line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1583 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1583 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_sidebar_position (self); -#line 9956 "ConfigurationInterfaces.c" +#line 11091 "ConfigurationInterfaces.c" } @@ -9967,69 +11102,69 @@ static void configuration_facade_real_set_sidebar_position (ConfigurationFacade* ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; -#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = position; -#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, _tmp2_, &_inner_error_); -#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9980 "ConfigurationInterfaces.c" - goto __catch174_configuration_error; +#line 11115 "ConfigurationInterfaces.c" + goto __catch187_configuration_error; } -#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 9989 "ConfigurationInterfaces.c" +#line 11124 "ConfigurationInterfaces.c" } } - goto __finally174; - __catch174_configuration_error: + goto __finally187; + __catch187_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1453 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1597 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1453 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1597 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 10007 "ConfigurationInterfaces.c" +#line 11142 "ConfigurationInterfaces.c" } - __finally174: -#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally187: +#line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 10018 "ConfigurationInterfaces.c" +#line 11153 "ConfigurationInterfaces.c" } } void configuration_facade_set_sidebar_position (ConfigurationFacade* self, gint position) { -#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_sidebar_position (self, position); -#line 10028 "ConfigurationInterfaces.c" +#line 11163 "ConfigurationInterfaces.c" } @@ -10042,77 +11177,77 @@ static gdouble configuration_facade_real_get_slideshow_delay (ConfigurationFacad ConfigurationEngine* _tmp2_ = NULL; gdouble _tmp3_ = 0.0; gdouble _tmp4_ = 0.0; -#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, &_inner_error_); -#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10057 "ConfigurationInterfaces.c" - goto __catch175_configuration_error; +#line 11192 "ConfigurationInterfaces.c" + goto __catch188_configuration_error; } -#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; -#line 10066 "ConfigurationInterfaces.c" +#line 11201 "ConfigurationInterfaces.c" } -#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 10072 "ConfigurationInterfaces.c" +#line 11207 "ConfigurationInterfaces.c" } - goto __finally175; - __catch175_configuration_error: + goto __finally188; + __catch188_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 3.0; -#line 1466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 10093 "ConfigurationInterfaces.c" +#line 11228 "ConfigurationInterfaces.c" } - __finally175: -#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally188: +#line 1605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; -#line 10102 "ConfigurationInterfaces.c" +#line 11237 "ConfigurationInterfaces.c" } gdouble configuration_facade_get_slideshow_delay (ConfigurationFacade* self) { -#line 1460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); -#line 1460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_delay (self); -#line 10111 "ConfigurationInterfaces.c" +#line 11246 "ConfigurationInterfaces.c" } @@ -10122,69 +11257,69 @@ static void configuration_facade_real_set_slideshow_delay (ConfigurationFacade* ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gdouble _tmp2_ = 0.0; -#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = delay; -#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, _tmp2_, &_inner_error_); -#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10135 "ConfigurationInterfaces.c" - goto __catch176_configuration_error; +#line 11270 "ConfigurationInterfaces.c" + goto __catch189_configuration_error; } -#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 10144 "ConfigurationInterfaces.c" +#line 11279 "ConfigurationInterfaces.c" } } - goto __finally176; - __catch176_configuration_error: + goto __finally189; + __catch189_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 10162 "ConfigurationInterfaces.c" +#line 11297 "ConfigurationInterfaces.c" } - __finally176: -#line 1471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally189: +#line 1615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 10173 "ConfigurationInterfaces.c" +#line 11308 "ConfigurationInterfaces.c" } } void configuration_facade_set_slideshow_delay (ConfigurationFacade* self, gdouble delay) { -#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_delay (self, delay); -#line 10183 "ConfigurationInterfaces.c" +#line 11318 "ConfigurationInterfaces.c" } @@ -10197,77 +11332,77 @@ static gdouble configuration_facade_real_get_slideshow_transition_delay (Configu ConfigurationEngine* _tmp2_ = NULL; gdouble _tmp3_ = 0.0; gdouble _tmp4_ = 0.0; -#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, &_inner_error_); -#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10212 "ConfigurationInterfaces.c" - goto __catch177_configuration_error; +#line 11347 "ConfigurationInterfaces.c" + goto __catch190_configuration_error; } -#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; -#line 10221 "ConfigurationInterfaces.c" +#line 11356 "ConfigurationInterfaces.c" } -#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 10227 "ConfigurationInterfaces.c" +#line 11362 "ConfigurationInterfaces.c" } - goto __finally177; - __catch177_configuration_error: + goto __finally190; + __catch190_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1486 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1486 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1632 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0.3; -#line 1488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1632 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1632 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 10248 "ConfigurationInterfaces.c" +#line 11383 "ConfigurationInterfaces.c" } - __finally177: -#line 1482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally190: +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; -#line 10257 "ConfigurationInterfaces.c" +#line 11392 "ConfigurationInterfaces.c" } gdouble configuration_facade_get_slideshow_transition_delay (ConfigurationFacade* self) { -#line 1481 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); -#line 1481 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_transition_delay (self); -#line 10266 "ConfigurationInterfaces.c" +#line 11401 "ConfigurationInterfaces.c" } @@ -10277,69 +11412,69 @@ static void configuration_facade_real_set_slideshow_transition_delay (Configurat ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gdouble _tmp2_ = 0.0; -#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = delay; -#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, _tmp2_, &_inner_error_); -#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10290 "ConfigurationInterfaces.c" - goto __catch178_configuration_error; +#line 11425 "ConfigurationInterfaces.c" + goto __catch191_configuration_error; } -#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 10299 "ConfigurationInterfaces.c" +#line 11434 "ConfigurationInterfaces.c" } } - goto __finally178; - __catch178_configuration_error: + goto __finally191; + __catch191_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1497 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1497 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 10317 "ConfigurationInterfaces.c" +#line 11452 "ConfigurationInterfaces.c" } - __finally178: -#line 1493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally191: +#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 10328 "ConfigurationInterfaces.c" +#line 11463 "ConfigurationInterfaces.c" } } void configuration_facade_set_slideshow_transition_delay (ConfigurationFacade* self, gdouble delay) { -#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_transition_delay (self, delay); -#line 10338 "ConfigurationInterfaces.c" +#line 11473 "ConfigurationInterfaces.c" } @@ -10353,161 +11488,161 @@ static gchar* configuration_facade_real_get_slideshow_transition_effect_id (Conf gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, &_inner_error_); -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10368 "ConfigurationInterfaces.c" - goto __catch179_configuration_error; +#line 11503 "ConfigurationInterfaces.c" + goto __catch192_configuration_error; } -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 10377 "ConfigurationInterfaces.c" +#line 11512 "ConfigurationInterfaces.c" } -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); -#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 10389 "ConfigurationInterfaces.c" +#line 11524 "ConfigurationInterfaces.c" } - goto __finally179; - __catch179_configuration_error: + goto __finally192; + __catch192_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1649 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1649 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; -#line 1509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); -#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (TRANSITION_EFFECTS_MANAGER_NULL_EFFECT_ID); -#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 10413 "ConfigurationInterfaces.c" +#line 11548 "ConfigurationInterfaces.c" } - __finally179: -#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally192: +#line 1649 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1649 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1649 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; -#line 10422 "ConfigurationInterfaces.c" +#line 11557 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_slideshow_transition_effect_id (ConfigurationFacade* self) { -#line 1504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 1504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_transition_effect_id (self); -#line 10431 "ConfigurationInterfaces.c" +#line 11566 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_slideshow_transition_effect_id (ConfigurationFacade* self, const gchar* id) { GError * _inner_error_ = NULL; -#line 1517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (id != NULL); -#line 10439 "ConfigurationInterfaces.c" +#line 11574 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = id; -#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, _tmp2_, &_inner_error_); -#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10458 "ConfigurationInterfaces.c" - goto __catch180_configuration_error; +#line 11593 "ConfigurationInterfaces.c" + goto __catch193_configuration_error; } -#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 10467 "ConfigurationInterfaces.c" +#line 11602 "ConfigurationInterfaces.c" } } - goto __finally180; - __catch180_configuration_error: + goto __finally193; + __catch193_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 10485 "ConfigurationInterfaces.c" +#line 11620 "ConfigurationInterfaces.c" } - __finally180: -#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally193: +#line 1662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 10496 "ConfigurationInterfaces.c" +#line 11631 "ConfigurationInterfaces.c" } } void configuration_facade_set_slideshow_transition_effect_id (ConfigurationFacade* self, const gchar* id) { -#line 1517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_transition_effect_id (self, id); -#line 10506 "ConfigurationInterfaces.c" +#line 11641 "ConfigurationInterfaces.c" } @@ -10520,77 +11655,77 @@ static gboolean configuration_facade_real_get_slideshow_show_title (Configuratio ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, &_inner_error_); -#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10535 "ConfigurationInterfaces.c" - goto __catch181_configuration_error; +#line 11670 "ConfigurationInterfaces.c" + goto __catch194_configuration_error; } -#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 10544 "ConfigurationInterfaces.c" +#line 11679 "ConfigurationInterfaces.c" } -#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 10550 "ConfigurationInterfaces.c" +#line 11685 "ConfigurationInterfaces.c" } - goto __finally181; - __catch181_configuration_error: + goto __finally194; + __catch194_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1533 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1533 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; -#line 1535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 10571 "ConfigurationInterfaces.c" +#line 11706 "ConfigurationInterfaces.c" } - __finally181: -#line 1530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally194: +#line 1674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 10580 "ConfigurationInterfaces.c" +#line 11715 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_slideshow_show_title (ConfigurationFacade* self) { -#line 1529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_show_title (self); -#line 10589 "ConfigurationInterfaces.c" +#line 11724 "ConfigurationInterfaces.c" } @@ -10600,69 +11735,69 @@ static void configuration_facade_real_set_slideshow_show_title (ConfigurationFac ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = show_title; -#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, _tmp2_, &_inner_error_); -#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10613 "ConfigurationInterfaces.c" - goto __catch182_configuration_error; +#line 11748 "ConfigurationInterfaces.c" + goto __catch195_configuration_error; } -#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 10622 "ConfigurationInterfaces.c" +#line 11757 "ConfigurationInterfaces.c" } } - goto __finally182; - __catch182_configuration_error: + goto __finally195; + __catch195_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1543 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1543 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 10640 "ConfigurationInterfaces.c" +#line 11775 "ConfigurationInterfaces.c" } - __finally182: -#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally195: +#line 1684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 10651 "ConfigurationInterfaces.c" +#line 11786 "ConfigurationInterfaces.c" } } void configuration_facade_set_slideshow_show_title (ConfigurationFacade* self, gboolean show_title) { -#line 1539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1683 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1683 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_show_title (self, show_title); -#line 10661 "ConfigurationInterfaces.c" +#line 11796 "ConfigurationInterfaces.c" } @@ -10677,7 +11812,7 @@ static void g_time_local (time_t time, struct tm* result) { *result = _result_; #line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return; -#line 10676 "ConfigurationInterfaces.c" +#line 11811 "ConfigurationInterfaces.c" } @@ -10723,7 +11858,7 @@ static gchar* g_time_format (struct tm *self, const gchar* format) { buffer = (g_free (buffer), NULL); #line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 10722 "ConfigurationInterfaces.c" +#line 11857 "ConfigurationInterfaces.c" } @@ -10736,41 +11871,41 @@ static gboolean configuration_facade_real_get_use_24_hour_time (ConfigurationFac ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, &_inner_error_); -#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10751 "ConfigurationInterfaces.c" - goto __catch183_configuration_error; +#line 11886 "ConfigurationInterfaces.c" + goto __catch196_configuration_error; } -#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 10760 "ConfigurationInterfaces.c" +#line 11895 "ConfigurationInterfaces.c" } -#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 10766 "ConfigurationInterfaces.c" +#line 11901 "ConfigurationInterfaces.c" } - goto __finally183; - __catch183_configuration_error: + goto __finally196; + __catch196_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; @@ -10779,51 +11914,51 @@ static gboolean configuration_facade_real_get_use_24_hour_time (ConfigurationFac gchar* _tmp8_ = NULL; gboolean _tmp9_ = FALSE; gboolean _tmp10_ = FALSE; -#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_time_local ((time_t) 0, &_tmp6_); -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_time_format (&_tmp6_, "%p"); -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = _tmp7_; -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = is_string_empty (_tmp8_); -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = _tmp9_; -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp8_); -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp10_; -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 10804 "ConfigurationInterfaces.c" +#line 11939 "ConfigurationInterfaces.c" } - __finally183: -#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally196: +#line 1695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 10813 "ConfigurationInterfaces.c" +#line 11948 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_use_24_hour_time (ConfigurationFacade* self) { -#line 1550 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1550 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_use_24_hour_time (self); -#line 10822 "ConfigurationInterfaces.c" +#line 11957 "ConfigurationInterfaces.c" } @@ -10833,69 +11968,69 @@ static void configuration_facade_real_set_use_24_hour_time (ConfigurationFacade* ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = use_24_hour_time; -#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, _tmp2_, &_inner_error_); -#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10846 "ConfigurationInterfaces.c" - goto __catch184_configuration_error; +#line 11981 "ConfigurationInterfaces.c" + goto __catch197_configuration_error; } -#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 10855 "ConfigurationInterfaces.c" +#line 11990 "ConfigurationInterfaces.c" } } - goto __finally184; - __catch184_configuration_error: + goto __finally197; + __catch197_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 10873 "ConfigurationInterfaces.c" +#line 12008 "ConfigurationInterfaces.c" } - __finally184: -#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally197: +#line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 10884 "ConfigurationInterfaces.c" +#line 12019 "ConfigurationInterfaces.c" } } void configuration_facade_set_use_24_hour_time (ConfigurationFacade* self, gboolean use_24_hour_time) { -#line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_use_24_hour_time (self, use_24_hour_time); -#line 10894 "ConfigurationInterfaces.c" +#line 12029 "ConfigurationInterfaces.c" } @@ -10908,77 +12043,77 @@ static gboolean configuration_facade_real_get_use_lowercase_filenames (Configura ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, &_inner_error_); -#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10923 "ConfigurationInterfaces.c" - goto __catch185_configuration_error; +#line 12058 "ConfigurationInterfaces.c" + goto __catch198_configuration_error; } -#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 10932 "ConfigurationInterfaces.c" +#line 12067 "ConfigurationInterfaces.c" } -#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 10938 "ConfigurationInterfaces.c" +#line 12073 "ConfigurationInterfaces.c" } - goto __finally185; - __catch185_configuration_error: + goto __finally198; + __catch198_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1574 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1574 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1723 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; -#line 1579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1723 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1723 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 10959 "ConfigurationInterfaces.c" +#line 12094 "ConfigurationInterfaces.c" } - __finally185: -#line 1574 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally198: +#line 1718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1574 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1574 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; -#line 10968 "ConfigurationInterfaces.c" +#line 12103 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_use_lowercase_filenames (ConfigurationFacade* self) { -#line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1717 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1717 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_use_lowercase_filenames (self); -#line 10977 "ConfigurationInterfaces.c" +#line 12112 "ConfigurationInterfaces.c" } @@ -10988,69 +12123,69 @@ static void configuration_facade_real_set_use_lowercase_filenames (Configuration ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = b; -#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, _tmp2_, &_inner_error_); -#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 11001 "ConfigurationInterfaces.c" - goto __catch186_configuration_error; +#line 12136 "ConfigurationInterfaces.c" + goto __catch199_configuration_error; } -#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 11010 "ConfigurationInterfaces.c" +#line 12145 "ConfigurationInterfaces.c" } } - goto __finally186; - __catch186_configuration_error: + goto __finally199; + __catch199_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 11028 "ConfigurationInterfaces.c" +#line 12163 "ConfigurationInterfaces.c" } - __finally186: -#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally199: +#line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 11039 "ConfigurationInterfaces.c" +#line 12174 "ConfigurationInterfaces.c" } } void configuration_facade_set_use_lowercase_filenames (ConfigurationFacade* self, gboolean b) { -#line 1583 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1583 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_use_lowercase_filenames (self, b); -#line 11049 "ConfigurationInterfaces.c" +#line 12184 "ConfigurationInterfaces.c" } @@ -11063,77 +12198,77 @@ static gint configuration_facade_real_get_video_interpreter_state_cookie (Config ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; -#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, &_inner_error_); -#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; -#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 11078 "ConfigurationInterfaces.c" - goto __catch187_configuration_error; +#line 12213 "ConfigurationInterfaces.c" + goto __catch200_configuration_error; } -#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 11087 "ConfigurationInterfaces.c" +#line 12222 "ConfigurationInterfaces.c" } -#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; -#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 11093 "ConfigurationInterfaces.c" +#line 12228 "ConfigurationInterfaces.c" } - goto __finally187; - __catch187_configuration_error: + goto __finally200; + __catch200_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; -#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1739 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1739 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; -#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); -#line 1601 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = -1; -#line 1601 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 1601 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 11114 "ConfigurationInterfaces.c" +#line 12249 "ConfigurationInterfaces.c" } - __finally187: -#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally200: +#line 1739 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1739 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1739 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; -#line 11123 "ConfigurationInterfaces.c" +#line 12258 "ConfigurationInterfaces.c" } gint configuration_facade_get_video_interpreter_state_cookie (ConfigurationFacade* self) { -#line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1738 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1738 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_video_interpreter_state_cookie (self); -#line 11132 "ConfigurationInterfaces.c" +#line 12267 "ConfigurationInterfaces.c" } @@ -11143,69 +12278,69 @@ static void configuration_facade_real_set_video_interpreter_state_cookie (Config ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; -#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = state_cookie; -#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, _tmp2_, &_inner_error_); -#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 11156 "ConfigurationInterfaces.c" - goto __catch188_configuration_error; +#line 12291 "ConfigurationInterfaces.c" + goto __catch201_configuration_error; } -#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" 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); -#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 11165 "ConfigurationInterfaces.c" +#line 12300 "ConfigurationInterfaces.c" } } - goto __finally188; - __catch188_configuration_error: + goto __finally201; + __catch201_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; -#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; -#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; -#line 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; -#line 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); -#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); -#line 11183 "ConfigurationInterfaces.c" +#line 12318 "ConfigurationInterfaces.c" } - __finally188: -#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + __finally201: +#line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); -#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; -#line 11194 "ConfigurationInterfaces.c" +#line 12329 "ConfigurationInterfaces.c" } } void configuration_facade_set_video_interpreter_state_cookie (ConfigurationFacade* self, gint state_cookie) { -#line 1605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1749 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1749 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_video_interpreter_state_cookie (self, state_cookie); -#line 11204 "ConfigurationInterfaces.c" +#line 12339 "ConfigurationInterfaces.c" } @@ -11219,44 +12354,44 @@ static gboolean configuration_facade_real_get_plugin_bool (ConfigurationFacade* gboolean _tmp5_ = FALSE; gboolean _tmp6_ = FALSE; gboolean _tmp7_ = FALSE; -#line 1617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1761 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (domain != NULL, FALSE); -#line 1617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1761 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (id != NULL, FALSE); -#line 1617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1761 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (key != NULL, FALSE); -#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; -#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; -#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; -#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = def; -#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = configuration_engine_get_plugin_bool (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); -#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = _tmp6_; -#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 11246 "ConfigurationInterfaces.c" +#line 12381 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def) { -#line 1617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1761 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1761 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_bool (self, domain, id, key, def); -#line 11255 "ConfigurationInterfaces.c" +#line 12390 "ConfigurationInterfaces.c" } @@ -11267,38 +12402,38 @@ static void configuration_facade_real_set_plugin_bool (ConfigurationFacade* self const gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; -#line 1621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (domain != NULL); -#line 1621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (id != NULL); -#line 1621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (key != NULL); -#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; -#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; -#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; -#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = val; -#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_plugin_bool (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); -#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 11288 "ConfigurationInterfaces.c" +#line 12423 "ConfigurationInterfaces.c" } void configuration_facade_set_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val) { -#line 1621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_bool (self, domain, id, key, val); -#line 11297 "ConfigurationInterfaces.c" +#line 12432 "ConfigurationInterfaces.c" } @@ -11312,44 +12447,44 @@ static gdouble configuration_facade_real_get_plugin_double (ConfigurationFacade* gdouble _tmp5_ = 0.0; gdouble _tmp6_ = 0.0; gdouble _tmp7_ = 0.0; -#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (domain != NULL, 0.0); -#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (id != NULL, 0.0); -#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (key != NULL, 0.0); -#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; -#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; -#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; -#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = def; -#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = configuration_engine_get_plugin_double (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); -#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = _tmp6_; -#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 11339 "ConfigurationInterfaces.c" +#line 12474 "ConfigurationInterfaces.c" } gdouble configuration_facade_get_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def) { -#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); -#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_double (self, domain, id, key, def); -#line 11348 "ConfigurationInterfaces.c" +#line 12483 "ConfigurationInterfaces.c" } @@ -11360,38 +12495,38 @@ static void configuration_facade_real_set_plugin_double (ConfigurationFacade* se const gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gdouble _tmp5_ = 0.0; -#line 1629 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (domain != NULL); -#line 1629 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (id != NULL); -#line 1629 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (key != NULL); -#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; -#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; -#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; -#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = val; -#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_plugin_double (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); -#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 11381 "ConfigurationInterfaces.c" +#line 12516 "ConfigurationInterfaces.c" } void configuration_facade_set_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val) { -#line 1629 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1629 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_double (self, domain, id, key, val); -#line 11390 "ConfigurationInterfaces.c" +#line 12525 "ConfigurationInterfaces.c" } @@ -11405,44 +12540,44 @@ static gint configuration_facade_real_get_plugin_int (ConfigurationFacade* self, gint _tmp5_ = 0; gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (domain != NULL, 0); -#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (id != NULL, 0); -#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (key != NULL, 0); -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = def; -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = configuration_engine_get_plugin_int (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = _tmp6_; -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 11432 "ConfigurationInterfaces.c" +#line 12567 "ConfigurationInterfaces.c" } gint configuration_facade_get_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint def) { -#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_int (self, domain, id, key, def); -#line 11441 "ConfigurationInterfaces.c" +#line 12576 "ConfigurationInterfaces.c" } @@ -11453,38 +12588,38 @@ static void configuration_facade_real_set_plugin_int (ConfigurationFacade* self, const gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gint _tmp5_ = 0; -#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (domain != NULL); -#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (id != NULL); -#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (key != NULL); -#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; -#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; -#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; -#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = val; -#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_plugin_int (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); -#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 11474 "ConfigurationInterfaces.c" +#line 12609 "ConfigurationInterfaces.c" } void configuration_facade_set_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint val) { -#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_int (self, domain, id, key, val); -#line 11483 "ConfigurationInterfaces.c" +#line 12618 "ConfigurationInterfaces.c" } @@ -11502,65 +12637,65 @@ static gchar* configuration_facade_real_get_plugin_string (ConfigurationFacade* const gchar* _tmp8_ = NULL; const gchar* _tmp9_ = NULL; gchar* _tmp11_ = NULL; -#line 1641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (domain != NULL, NULL); -#line 1641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (id != NULL, NULL); -#line 1641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (key != NULL, NULL); -#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; -#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; -#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; -#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = def; -#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = configuration_engine_get_plugin_string (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); -#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = _tmp6_; -#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _result_ = _tmp7_; -#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = _result_; -#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (g_strcmp0 (_tmp9_, "") == 0) { -#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = NULL; -#line 11533 "ConfigurationInterfaces.c" +#line 12668 "ConfigurationInterfaces.c" } else { const gchar* _tmp10_ = NULL; -#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = _result_; -#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = _tmp10_; -#line 11540 "ConfigurationInterfaces.c" +#line 12675 "ConfigurationInterfaces.c" } -#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp11_ = g_strdup (_tmp8_); -#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp11_; -#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_result_); -#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 11550 "ConfigurationInterfaces.c" +#line 12685 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def) { -#line 1641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 1641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_string (self, domain, id, key, def); -#line 11559 "ConfigurationInterfaces.c" +#line 12694 "ConfigurationInterfaces.c" } @@ -11572,46 +12707,46 @@ static void configuration_facade_real_set_plugin_string (ConfigurationFacade* se const gchar* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; -#line 1646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (domain != NULL); -#line 1646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (id != NULL); -#line 1646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (key != NULL); -#line 1647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = val; -#line 1647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_tmp0_ == NULL) { -#line 1648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" val = ""; -#line 11583 "ConfigurationInterfaces.c" +#line 12718 "ConfigurationInterfaces.c" } -#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); -#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; -#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = domain; -#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = id; -#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = key; -#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = val; -#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_plugin_string (_tmp2_, _tmp3_, _tmp4_, _tmp5_, _tmp6_); -#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); -#line 11601 "ConfigurationInterfaces.c" +#line 12736 "ConfigurationInterfaces.c" } void configuration_facade_set_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val) { -#line 1646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_string (self, domain, id, key, val); -#line 11610 "ConfigurationInterfaces.c" +#line 12745 "ConfigurationInterfaces.c" } @@ -11621,36 +12756,36 @@ static void configuration_facade_real_unset_plugin_key (ConfigurationFacade* sel const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 1653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1797 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (domain != NULL); -#line 1653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1797 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (id != NULL); -#line 1653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1797 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (key != NULL); -#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; -#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; -#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; -#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_unset_plugin_key (_tmp1_, _tmp2_, _tmp3_, _tmp4_); -#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 11640 "ConfigurationInterfaces.c" +#line 12775 "ConfigurationInterfaces.c" } void configuration_facade_unset_plugin_key (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key) { -#line 1653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1797 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1797 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->unset_plugin_key (self, domain, id, key); -#line 11649 "ConfigurationInterfaces.c" +#line 12784 "ConfigurationInterfaces.c" } @@ -11661,34 +12796,34 @@ static FuzzyPropertyState configuration_facade_real_is_plugin_enabled (Configura const gchar* _tmp2_ = NULL; FuzzyPropertyState _tmp3_ = 0; FuzzyPropertyState _tmp4_ = 0; -#line 1660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (id != NULL, 0); -#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = id; -#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_is_plugin_enabled (_tmp1_, _tmp2_); -#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; -#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp4_; -#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; -#line 11678 "ConfigurationInterfaces.c" +#line 12813 "ConfigurationInterfaces.c" } FuzzyPropertyState configuration_facade_is_plugin_enabled (ConfigurationFacade* self, const gchar* id) { -#line 1660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->is_plugin_enabled (self, id); -#line 11687 "ConfigurationInterfaces.c" +#line 12822 "ConfigurationInterfaces.c" } @@ -11697,314 +12832,338 @@ static void configuration_facade_real_set_plugin_enabled (ConfigurationFacade* s ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; -#line 1664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1808 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (id != NULL); -#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); -#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; -#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = id; -#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = enabled; -#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_plugin_enabled (_tmp1_, _tmp2_, _tmp3_); -#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); -#line 11710 "ConfigurationInterfaces.c" +#line 12845 "ConfigurationInterfaces.c" } void configuration_facade_set_plugin_enabled (ConfigurationFacade* self, const gchar* id, gboolean enabled) { -#line 1664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1808 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 1808 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_enabled (self, id, enabled); -#line 11719 "ConfigurationInterfaces.c" +#line 12854 "ConfigurationInterfaces.c" } static void configuration_facade_class_init (ConfigurationFacadeClass * klass) { -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_parent_class = g_type_class_peek_parent (klass); -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_type_class_add_private (klass, sizeof (ConfigurationFacadePrivate)); -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_auto_import_from_library = configuration_facade_real_get_auto_import_from_library; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_auto_import_from_library = configuration_facade_real_set_auto_import_from_library; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_bg_color_name = configuration_facade_real_get_bg_color_name; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_bg_color_name = configuration_facade_real_set_bg_color_name; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_commit_metadata_to_masters = configuration_facade_real_get_commit_metadata_to_masters; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_commit_metadata_to_masters = configuration_facade_real_set_commit_metadata_to_masters; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_desktop_background = configuration_facade_real_get_desktop_background; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_desktop_background = configuration_facade_real_set_desktop_background; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_screensaver = configuration_facade_real_get_screensaver; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_screensaver = configuration_facade_real_set_screensaver; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_directory_pattern = configuration_facade_real_get_directory_pattern; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_directory_pattern = configuration_facade_real_set_directory_pattern; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_directory_pattern_custom = configuration_facade_real_get_directory_pattern_custom; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_directory_pattern_custom = configuration_facade_real_set_directory_pattern_custom; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_direct_window_state = configuration_facade_real_get_direct_window_state; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_direct_window_state = configuration_facade_real_set_direct_window_state; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_basic_properties = configuration_facade_real_get_display_basic_properties; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_basic_properties = configuration_facade_real_set_display_basic_properties; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_extended_properties = configuration_facade_real_get_display_extended_properties; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_extended_properties = configuration_facade_real_set_display_extended_properties; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_sidebar = configuration_facade_real_get_display_sidebar; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_sidebar = configuration_facade_real_set_display_sidebar; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_toolbar = configuration_facade_real_get_display_toolbar; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_toolbar = configuration_facade_real_set_display_toolbar; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_search_bar = configuration_facade_real_get_display_search_bar; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_search_bar = configuration_facade_real_set_display_search_bar; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_photo_ratings = configuration_facade_real_get_display_photo_ratings; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_photo_ratings = configuration_facade_real_set_display_photo_ratings; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_photo_tags = configuration_facade_real_get_display_photo_tags; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_photo_tags = configuration_facade_real_set_display_photo_tags; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_photo_titles = configuration_facade_real_get_display_photo_titles; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_photo_titles = configuration_facade_real_set_display_photo_titles; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_photo_comments = configuration_facade_real_get_display_photo_comments; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_photo_comments = configuration_facade_real_set_display_photo_comments; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_event_comments = configuration_facade_real_get_display_event_comments; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_event_comments = configuration_facade_real_set_display_event_comments; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_event_photos_sort = configuration_facade_real_get_event_photos_sort; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_event_photos_sort = configuration_facade_real_set_event_photos_sort; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_events_sort_ascending = configuration_facade_real_get_events_sort_ascending; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_events_sort_ascending = configuration_facade_real_set_events_sort_ascending; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_external_photo_app = configuration_facade_real_get_external_photo_app; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_external_photo_app = configuration_facade_real_set_external_photo_app; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_external_raw_app = configuration_facade_real_get_external_raw_app; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_external_raw_app = configuration_facade_real_set_external_raw_app; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_export_constraint = configuration_facade_real_get_export_constraint; +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_export_constraint = configuration_facade_real_set_export_constraint; +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_export_export_format_mode = configuration_facade_real_get_export_export_format_mode; +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_export_export_format_mode = configuration_facade_real_set_export_export_format_mode; +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_export_export_metadata = configuration_facade_real_get_export_export_metadata; +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_export_export_metadata = configuration_facade_real_set_export_export_metadata; +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_export_photo_file_format = configuration_facade_real_get_export_photo_file_format; +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_export_photo_file_format = configuration_facade_real_set_export_photo_file_format; +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_export_quality = configuration_facade_real_get_export_quality; +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_export_quality = configuration_facade_real_set_export_quality; +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_export_scale = configuration_facade_real_get_export_scale; +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_export_scale = configuration_facade_real_set_export_scale; +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_default_raw_developer = configuration_facade_real_get_default_raw_developer; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_default_raw_developer = configuration_facade_real_set_default_raw_developer; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_hide_photos_already_imported = configuration_facade_real_get_hide_photos_already_imported; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_hide_photos_already_imported = configuration_facade_real_set_hide_photos_already_imported; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_import_dir = configuration_facade_real_get_import_dir; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_import_dir = configuration_facade_real_set_import_dir; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_keep_relativity = configuration_facade_real_get_keep_relativity; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_keep_relativity = configuration_facade_real_set_keep_relativity; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_pin_toolbar_state = configuration_facade_real_get_pin_toolbar_state; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_pin_toolbar_state = configuration_facade_real_set_pin_toolbar_state; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_last_crop_height = configuration_facade_real_get_last_crop_height; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_last_crop_height = configuration_facade_real_set_last_crop_height; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_last_crop_menu_choice = configuration_facade_real_get_last_crop_menu_choice; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_last_crop_menu_choice = configuration_facade_real_set_last_crop_menu_choice; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_last_crop_width = configuration_facade_real_get_last_crop_width; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_last_crop_width = configuration_facade_real_set_last_crop_width; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_last_used_service = configuration_facade_real_get_last_used_service; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_last_used_service = configuration_facade_real_set_last_used_service; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_last_used_dataimports_service = configuration_facade_real_get_last_used_dataimports_service; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_last_used_dataimports_service = configuration_facade_real_set_last_used_dataimports_service; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_library_photos_sort = configuration_facade_real_get_library_photos_sort; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_library_photos_sort = configuration_facade_real_set_library_photos_sort; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_library_window_state = configuration_facade_real_get_library_window_state; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_library_window_state = configuration_facade_real_set_library_window_state; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_modify_originals = configuration_facade_real_get_modify_originals; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_modify_originals = configuration_facade_real_set_modify_originals; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_photo_thumbnail_scale = configuration_facade_real_get_photo_thumbnail_scale; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_photo_thumbnail_scale = configuration_facade_real_set_photo_thumbnail_scale; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_content_height = configuration_facade_real_get_printing_content_height; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_content_height = configuration_facade_real_set_printing_content_height; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_content_layout = configuration_facade_real_get_printing_content_layout; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_content_layout = configuration_facade_real_set_printing_content_layout; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_content_ppi = configuration_facade_real_get_printing_content_ppi; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_content_ppi = configuration_facade_real_set_printing_content_ppi; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_content_units = configuration_facade_real_get_printing_content_units; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_content_units = configuration_facade_real_set_printing_content_units; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_content_width = configuration_facade_real_get_printing_content_width; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_content_width = configuration_facade_real_set_printing_content_width; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_images_per_page = configuration_facade_real_get_printing_images_per_page; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_images_per_page = configuration_facade_real_set_printing_images_per_page; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_match_aspect_ratio = configuration_facade_real_get_printing_match_aspect_ratio; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_match_aspect_ratio = configuration_facade_real_set_printing_match_aspect_ratio; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_print_titles = configuration_facade_real_get_printing_print_titles; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_print_titles = configuration_facade_real_set_printing_print_titles; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_size_selection = configuration_facade_real_get_printing_size_selection; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_size_selection = configuration_facade_real_set_printing_size_selection; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_titles_font = configuration_facade_real_get_printing_titles_font; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_titles_font = configuration_facade_real_set_printing_titles_font; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_show_welcome_dialog = configuration_facade_real_get_show_welcome_dialog; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_show_welcome_dialog = configuration_facade_real_set_show_welcome_dialog; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_sidebar_position = configuration_facade_real_get_sidebar_position; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_sidebar_position = configuration_facade_real_set_sidebar_position; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_slideshow_delay = configuration_facade_real_get_slideshow_delay; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_slideshow_delay = configuration_facade_real_set_slideshow_delay; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_slideshow_transition_delay = configuration_facade_real_get_slideshow_transition_delay; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_slideshow_transition_delay = configuration_facade_real_set_slideshow_transition_delay; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_slideshow_transition_effect_id = configuration_facade_real_get_slideshow_transition_effect_id; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_slideshow_transition_effect_id = configuration_facade_real_set_slideshow_transition_effect_id; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_slideshow_show_title = configuration_facade_real_get_slideshow_show_title; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_slideshow_show_title = configuration_facade_real_set_slideshow_show_title; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_use_24_hour_time = configuration_facade_real_get_use_24_hour_time; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_use_24_hour_time = configuration_facade_real_set_use_24_hour_time; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_use_lowercase_filenames = configuration_facade_real_get_use_lowercase_filenames; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_use_lowercase_filenames = configuration_facade_real_set_use_lowercase_filenames; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_video_interpreter_state_cookie = configuration_facade_real_get_video_interpreter_state_cookie; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_video_interpreter_state_cookie = configuration_facade_real_set_video_interpreter_state_cookie; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_plugin_bool = configuration_facade_real_get_plugin_bool; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_plugin_bool = configuration_facade_real_set_plugin_bool; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_plugin_double = configuration_facade_real_get_plugin_double; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_plugin_double = configuration_facade_real_set_plugin_double; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_plugin_int = configuration_facade_real_get_plugin_int; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_plugin_int = configuration_facade_real_set_plugin_int; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_plugin_string = configuration_facade_real_get_plugin_string; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_plugin_string = configuration_facade_real_set_plugin_string; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->unset_plugin_key = configuration_facade_real_unset_plugin_key; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->is_plugin_enabled = configuration_facade_real_is_plugin_enabled; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_plugin_enabled = configuration_facade_real_set_plugin_enabled; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" G_OBJECT_CLASS (klass)->finalize = configuration_facade_finalize; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_new ("auto_import_from_library_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_new ("bg_color_name_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_new ("commit_metadata_to_masters_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_new ("events_sort_ascending_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_new ("external_app_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_new ("import_directory_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 11984 "ConfigurationInterfaces.c" +#line 13143 "ConfigurationInterfaces.c" } static void configuration_facade_instance_init (ConfigurationFacade * self) { -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" self->priv = CONFIGURATION_FACADE_GET_PRIVATE (self); -#line 11991 "ConfigurationInterfaces.c" +#line 13150 "ConfigurationInterfaces.c" } static void configuration_facade_finalize (GObject* obj) { ConfigurationFacade * self; -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CONFIGURATION_FACADE, ConfigurationFacade); -#line 319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 346 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (self->priv->engine); -#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" +#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" G_OBJECT_CLASS (configuration_facade_parent_class)->finalize (obj); -#line 12003 "ConfigurationInterfaces.c" +#line 13162 "ConfigurationInterfaces.c" } diff --git a/src/config/ConfigurationInterfaces.vala b/src/config/ConfigurationInterfaces.vala index 9414f49..29a3604 100644 --- a/src/config/ConfigurationInterfaces.vala +++ b/src/config/ConfigurationInterfaces.vala @@ -45,6 +45,12 @@ public enum ConfigurableProperty { EVENT_PHOTOS_SORT_ASCENDING, EVENT_PHOTOS_SORT_BY, EVENTS_SORT_ASCENDING, + EXPORT_CONSTRAINT, + EXPORT_EXPORT_FORMAT_MODE, + EXPORT_EXPORT_METADATA, + EXPORT_PHOTO_FILE_FORMAT, + EXPORT_QUALITY, + EXPORT_SCALE, EXTERNAL_PHOTO_APP, EXTERNAL_RAW_APP, HIDE_PHOTOS_ALREADY_IMPORTED, @@ -164,6 +170,24 @@ public enum ConfigurableProperty { case EVENTS_SORT_ASCENDING: return "EVENTS_SORT_ASCENDING"; + case EXPORT_CONSTRAINT: + return "EXPORT_CONSTRAINT"; + + case EXPORT_EXPORT_FORMAT_MODE: + return "EXPORT_EXPORT_FORMAT_MODE"; + + case EXPORT_EXPORT_METADATA: + return "EXPORT_EXPORT_METADATA"; + + case EXPORT_PHOTO_FILE_FORMAT: + return "EXPORT_PHOTO_FILE_FORMAT"; + + case EXPORT_QUALITY: + return "EXPORT_QUALITY"; + + case EXPORT_SCALE: + return "EXPORT_SCALE"; + case EXTERNAL_PHOTO_APP: return "EXTERNAL_PHOTO_APP"; @@ -292,6 +316,9 @@ public interface ConfigurationEngine : GLib.Object { public abstract int get_int_property(ConfigurableProperty p) throws ConfigurationError; public abstract void set_int_property(ConfigurableProperty p, int val) throws ConfigurationError; + public abstract int get_enum_property(ConfigurableProperty p) throws ConfigurationError; + public abstract void set_enum_property(ConfigurableProperty p, int val) throws ConfigurationError; + public abstract string get_string_property(ConfigurableProperty p) throws ConfigurationError; public abstract void set_string_property(ConfigurableProperty p, string val) throws ConfigurationError; @@ -877,6 +904,123 @@ public abstract class ConfigurationFacade : Object { } // + // export dialog settings + // + public virtual ScaleConstraint get_export_constraint() { + try { + return (ScaleConstraint) get_engine().get_enum_property(ConfigurableProperty.EXPORT_CONSTRAINT); + } catch (ConfigurationError err) { + on_configuration_error(err); + + return 0; + } + } + + public virtual void set_export_constraint(ScaleConstraint constraint) { + try { + get_engine().set_enum_property(ConfigurableProperty.EXPORT_CONSTRAINT, ( (int) constraint)); + } catch (ConfigurationError err) { + on_configuration_error(err); + return; + } + } + + public virtual ExportFormatMode get_export_export_format_mode() { + try { + return (ExportFormatMode) get_engine().get_enum_property(ConfigurableProperty.EXPORT_EXPORT_FORMAT_MODE); + } catch (ConfigurationError err) { + on_configuration_error(err); + + return 0; + } + } + + public virtual void set_export_export_format_mode(ExportFormatMode export_format_mode) { + try { + get_engine().set_enum_property(ConfigurableProperty.EXPORT_EXPORT_FORMAT_MODE, ( (int) export_format_mode )); + } catch (ConfigurationError err) { + on_configuration_error(err); + return; + } + } + + public virtual bool get_export_export_metadata() { + try { + return get_engine().get_bool_property(ConfigurableProperty.EXPORT_EXPORT_METADATA); + } catch (ConfigurationError err) { + on_configuration_error(err); + + return false; + } + } + + public virtual void set_export_export_metadata(bool export_metadata) { + try { + get_engine().set_bool_property(ConfigurableProperty.EXPORT_EXPORT_METADATA, export_metadata); + } catch (ConfigurationError err) { + on_configuration_error(err); + return; + } + } + + public virtual PhotoFileFormat get_export_photo_file_format() { + try { + return PhotoFileFormat.unserialize( get_engine().get_enum_property(ConfigurableProperty.EXPORT_PHOTO_FILE_FORMAT) ); + } catch (ConfigurationError err) { + on_configuration_error(err); + + return 0; + } + } + + public virtual void set_export_photo_file_format(PhotoFileFormat photo_file_format) { + try { + get_engine().set_enum_property(ConfigurableProperty.EXPORT_PHOTO_FILE_FORMAT, photo_file_format.serialize()); + } catch (ConfigurationError err) { + on_configuration_error(err); + return; + } + } + + public virtual Jpeg.Quality get_export_quality() { + try { + return (Jpeg.Quality) get_engine().get_enum_property(ConfigurableProperty.EXPORT_QUALITY); + } catch (ConfigurationError err) { + on_configuration_error(err); + + return 0; + } + } + + public virtual void set_export_quality(Jpeg.Quality quality) { + try { + get_engine().set_enum_property(ConfigurableProperty.EXPORT_QUALITY, ( (int) quality )); + } catch (ConfigurationError err) { + on_configuration_error(err); + return; + } + } + + public virtual int get_export_scale() { + try { + return get_engine().get_int_property(ConfigurableProperty.EXPORT_SCALE); + } catch (ConfigurationError err) { + on_configuration_error(err); + + return 0; + } + } + + public virtual void set_export_scale(int scale) { + try { + get_engine().set_int_property(ConfigurableProperty.EXPORT_SCALE, scale); + } catch (ConfigurationError err) { + on_configuration_error(err); + return; + } + } + + // // Default RAW developer. // public virtual RawDeveloper get_default_raw_developer() { diff --git a/src/config/GSettingsEngine.c b/src/config/GSettingsEngine.c index 2459c8b..8f52ace 100644 --- a/src/config/GSettingsEngine.c +++ b/src/config/GSettingsEngine.c @@ -13,7 +13,6 @@ #include <string.h> #include <float.h> #include <math.h> -#include <gee.h> #include <gio/gio.h> @@ -39,8 +38,10 @@ typedef struct _ConfigurationEngineIface ConfigurationEngineIface; typedef struct _GSettingsConfigurationEngine GSettingsConfigurationEngine; typedef struct _GSettingsConfigurationEngineClass GSettingsConfigurationEngineClass; typedef struct _GSettingsConfigurationEnginePrivate GSettingsConfigurationEnginePrivate; -#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) +#define _g_settings_schema_unref0(var) ((var == NULL) ? NULL : (var = (g_settings_schema_unref (var), NULL))) +#define _g_settings_schema_source_unref0(var) ((var == NULL) ? NULL : (var = (g_settings_schema_source_unref (var), NULL))) +#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL))) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) @@ -70,6 +71,12 @@ typedef enum { CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, + CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT, + CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, + CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, + CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, + CONFIGURABLE_PROPERTY_EXPORT_QUALITY, + CONFIGURABLE_PROPERTY_EXPORT_SCALE, CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, @@ -127,6 +134,8 @@ struct _ConfigurationEngineIface { gchar* (*get_name) (ConfigurationEngine* self); gint (*get_int_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); void (*set_int_property) (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error); + gint (*get_enum_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); + void (*set_enum_property) (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error); gchar* (*get_string_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); void (*set_string_property) (ConfigurationEngine* self, ConfigurableProperty p, const gchar* val, GError** error); gboolean (*get_bool_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); @@ -156,7 +165,6 @@ struct _GSettingsConfigurationEngineClass { }; struct _GSettingsConfigurationEnginePrivate { - GeeSet* known_schemas; gchar** schema_names; gint schema_names_length1; gint _schema_names_size_; @@ -185,6 +193,7 @@ enum { #define GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_PREFS_SCHEMA_NAME ".window" #define GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_PREFS_SCHEMA_NAME ".files" #define GSETTINGS_CONFIGURATION_ENGINE_EDITING_PREFS_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_PREFS_SCHEMA_NAME ".editing" +#define GSETTINGS_CONFIGURATION_ENGINE_EXPORT_PREFS_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_PREFS_SCHEMA_NAME ".export" #define GSETTINGS_CONFIGURATION_ENGINE_VIDEO_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_ROOT_SCHEMA_NAME ".video" #define GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_ROOT_SCHEMA_NAME ".printing" #define GSETTINGS_CONFIGURATION_ENGINE_SHARING_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_ROOT_SCHEMA_NAME ".sharing" @@ -195,10 +204,11 @@ enum { #define GSETTINGS_CONFIGURATION_ENGINE_PLUGINS_ENABLE_DISABLE_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_ROOT_SCHEMA_NAME ".plugins.enable-state" GSettingsConfigurationEngine* gsettings_configuration_engine_new (void); GSettingsConfigurationEngine* gsettings_configuration_engine_construct (GType object_type); -static gboolean gsettings_configuration_engine_schema_has_key (GSettingsConfigurationEngine* self, GSettings* schema_object, const gchar* key); static void gsettings_configuration_engine_check_key_valid (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error); static gboolean gsettings_configuration_engine_get_gs_bool (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error); static void gsettings_configuration_engine_set_gs_bool (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gboolean value, GError** error); +static void gsettings_configuration_engine_set_gs_enum (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gint value, GError** error); +static gint gsettings_configuration_engine_get_gs_enum (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error); static gint gsettings_configuration_engine_get_gs_int (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error); static void gsettings_configuration_engine_set_gs_int (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gint value, GError** error); static gdouble gsettings_configuration_engine_get_gs_double (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error); @@ -212,6 +222,8 @@ static gchar* gsettings_configuration_engine_get_plugin_enable_disable_name (con static gchar* gsettings_configuration_engine_make_plugin_schema_name (const gchar* domain, const gchar* id); static gchar* gsettings_configuration_engine_make_gsettings_key (const gchar* gconf_key); static gchar* gsettings_configuration_engine_real_get_name (ConfigurationEngine* base); +static gint gsettings_configuration_engine_real_get_enum_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error); +static void gsettings_configuration_engine_real_set_enum_property (ConfigurationEngine* base, ConfigurableProperty p, gint val, GError** error); static gint gsettings_configuration_engine_real_get_int_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error); static void gsettings_configuration_engine_real_set_int_property (ConfigurationEngine* base, ConfigurableProperty p, gint val, GError** error); static gchar* gsettings_configuration_engine_real_get_string_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error); @@ -236,15 +248,19 @@ GFile* app_dirs_get_settings_migrator_bin (void); static void gsettings_configuration_engine_finalize (GObject* obj); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); -static gint _vala_array_length (gpointer array); GSettingsConfigurationEngine* gsettings_configuration_engine_construct (GType object_type) { GSettingsConfigurationEngine * self = NULL; - GeeHashSet* _tmp0_ = NULL; + gchar** _tmp0_ = NULL; gchar** _tmp1_ = NULL; - gchar** _tmp2_ = NULL; - gchar** _tmp6_ = NULL; + gint _tmp1__length1 = 0; + gchar* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar** _tmp4_ = NULL; + gint _tmp4__length1 = 0; + gchar* _tmp5_ = NULL; + gchar* _tmp6_ = NULL; gchar** _tmp7_ = NULL; gint _tmp7__length1 = 0; gchar* _tmp8_ = NULL; @@ -498,22 +514,22 @@ GSettingsConfigurationEngine* gsettings_configuration_engine_construct (GType ob gchar* _tmp194_ = NULL; gchar* _tmp195_ = NULL; gchar** _tmp196_ = NULL; - gchar** _tmp197_ = NULL; - gint _tmp197__length1 = 0; + gint _tmp196__length1 = 0; + gchar* _tmp197_ = NULL; gchar* _tmp198_ = NULL; - gchar* _tmp199_ = NULL; - gchar** _tmp200_ = NULL; - gint _tmp200__length1 = 0; + gchar** _tmp199_ = NULL; + gint _tmp199__length1 = 0; + gchar* _tmp200_ = NULL; gchar* _tmp201_ = NULL; - gchar* _tmp202_ = NULL; - gchar** _tmp203_ = NULL; - gint _tmp203__length1 = 0; + gchar** _tmp202_ = NULL; + gint _tmp202__length1 = 0; + gchar* _tmp203_ = NULL; gchar* _tmp204_ = NULL; - gchar* _tmp205_ = NULL; - gchar** _tmp206_ = NULL; - gint _tmp206__length1 = 0; + gchar** _tmp205_ = NULL; + gint _tmp205__length1 = 0; + gchar* _tmp206_ = NULL; gchar* _tmp207_ = NULL; - gchar* _tmp208_ = NULL; + gchar** _tmp208_ = NULL; gchar** _tmp209_ = NULL; gint _tmp209__length1 = 0; gchar* _tmp210_ = NULL; @@ -750,1790 +766,1887 @@ GSettingsConfigurationEngine* gsettings_configuration_engine_construct (GType ob gint _tmp383__length1 = 0; gchar* _tmp384_ = NULL; gchar* _tmp385_ = NULL; + gchar** _tmp386_ = NULL; + gint _tmp386__length1 = 0; + gchar* _tmp387_ = NULL; + gchar* _tmp388_ = NULL; + gchar** _tmp389_ = NULL; + gint _tmp389__length1 = 0; + gchar* _tmp390_ = NULL; + gchar* _tmp391_ = NULL; + gchar** _tmp392_ = NULL; + gint _tmp392__length1 = 0; + gchar* _tmp393_ = NULL; + gchar* _tmp394_ = NULL; + gchar** _tmp395_ = NULL; + gint _tmp395__length1 = 0; + gchar* _tmp396_ = NULL; + gchar* _tmp397_ = NULL; + gchar** _tmp398_ = NULL; + gint _tmp398__length1 = 0; + gchar* _tmp399_ = NULL; + gchar* _tmp400_ = NULL; + gchar** _tmp401_ = NULL; + gint _tmp401__length1 = 0; + gchar* _tmp402_ = NULL; + gchar* _tmp403_ = NULL; + gchar** _tmp404_ = NULL; + gint _tmp404__length1 = 0; + gchar* _tmp405_ = NULL; + gchar* _tmp406_ = NULL; + gchar** _tmp407_ = NULL; + gint _tmp407__length1 = 0; + gchar* _tmp408_ = NULL; + gchar* _tmp409_ = NULL; + gchar** _tmp410_ = NULL; + gint _tmp410__length1 = 0; + gchar* _tmp411_ = NULL; + gchar* _tmp412_ = NULL; + gchar** _tmp413_ = NULL; + gint _tmp413__length1 = 0; + gchar* _tmp414_ = NULL; + gchar* _tmp415_ = NULL; #line 29 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = (GSettingsConfigurationEngine*) g_object_new (object_type, NULL); #line 30 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL); + _tmp0_ = g_new0 (gchar*, CONFIGURABLE_PROPERTY_NUM_PROPERTIES + 1); +#line 30 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self->priv->schema_names = (_vala_array_free (self->priv->schema_names, self->priv->schema_names_length1, (GDestroyNotify) g_free), NULL); +#line 30 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self->priv->schema_names = _tmp0_; #line 30 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (self->priv->known_schemas); + self->priv->schema_names_length1 = CONFIGURABLE_PROPERTY_NUM_PROPERTIES; #line 30 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self->priv->known_schemas = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_SET, GeeSet); + self->priv->_schema_names_size_ = self->priv->schema_names_length1; #line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = _tmp1_ = g_settings_list_schemas (); -#line 764 "GSettingsEngine.c" - { - gchar** current_schema_collection = NULL; - gint current_schema_collection_length1 = 0; - gint _current_schema_collection_size_ = 0; - gint current_schema_it = 0; + _tmp1_ = self->priv->schema_names; #line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - current_schema_collection = _tmp2_; + _tmp1__length1 = self->priv->schema_names_length1; #line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - current_schema_collection_length1 = _vala_array_length (_tmp1_); + _tmp2_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); #line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - for (current_schema_it = 0; current_schema_it < _vala_array_length (_tmp1_); current_schema_it = current_schema_it + 1) { -#line 776 "GSettingsEngine.c" - gchar* _tmp3_ = NULL; - gchar* current_schema = NULL; + _g_free0 (_tmp1_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]); #line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = g_strdup (current_schema_collection[current_schema_it]); + _tmp1_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY] = _tmp2_; #line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - current_schema = _tmp3_; -#line 783 "GSettingsEngine.c" - { - GeeSet* _tmp4_ = NULL; - const gchar* _tmp5_ = NULL; + _tmp3_ = _tmp1_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]; #line 33 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = self->priv->known_schemas; + _tmp4_ = self->priv->schema_names; #line 33 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp5_ = current_schema; + _tmp4__length1 = self->priv->schema_names_length1; #line 33 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection), _tmp5_); -#line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (current_schema); -#line 795 "GSettingsEngine.c" - } - } - } + _tmp5_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 33 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp4_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]); +#line 33 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME] = _tmp5_; +#line 33 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = _tmp4_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]; +#line 34 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = self->priv->schema_names; +#line 34 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7__length1 = self->priv->schema_names_length1; +#line 34 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp8_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); +#line 34 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp7_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]); +#line 34 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS] = _tmp8_; +#line 34 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp9_ = _tmp7_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]; #line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp6_ = g_new0 (gchar*, CONFIGURABLE_PROPERTY_NUM_PROPERTIES + 1); + _tmp10_ = self->priv->schema_names; #line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self->priv->schema_names = (_vala_array_free (self->priv->schema_names, self->priv->schema_names_length1, (GDestroyNotify) g_free), NULL); + _tmp10__length1 = self->priv->schema_names_length1; #line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self->priv->schema_names = _tmp6_; + _tmp11_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_DESKTOP_SCHEMA_NAME); #line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self->priv->schema_names_length1 = CONFIGURABLE_PROPERTY_NUM_PROPERTIES; + _g_free0 (_tmp10_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]); #line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self->priv->_schema_names_size_ = self->priv->schema_names_length1; + _tmp10_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE] = _tmp11_; +#line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp12_ = _tmp10_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]; +#line 36 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp13_ = self->priv->schema_names; +#line 36 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp13__length1 = self->priv->schema_names_length1; +#line 36 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp14_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_DESKTOP_SCHEMA_NAME); +#line 36 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp13_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]); +#line 36 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp13_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE] = _tmp14_; +#line 36 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp15_ = _tmp13_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]; #line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp7_ = self->priv->schema_names; + _tmp16_ = self->priv->schema_names; #line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp7__length1 = self->priv->schema_names_length1; + _tmp16__length1 = self->priv->schema_names_length1; #line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp8_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); + _tmp17_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_SCREENSAVER_SCHEMA_NAME); #line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp7_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]); + _g_free0 (_tmp16_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]); #line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp7_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY] = _tmp8_; + _tmp16_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE] = _tmp17_; #line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp9_ = _tmp7_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]; + _tmp18_ = _tmp16_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]; #line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp10_ = self->priv->schema_names; + _tmp19_ = self->priv->schema_names; #line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp10__length1 = self->priv->schema_names_length1; + _tmp19__length1 = self->priv->schema_names_length1; #line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp11_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp20_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_SCREENSAVER_SCHEMA_NAME); #line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp10_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]); + _g_free0 (_tmp19_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]); #line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp10_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME] = _tmp11_; + _tmp19_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE] = _tmp20_; #line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp12_ = _tmp10_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]; + _tmp21_ = _tmp19_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]; #line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp13_ = self->priv->schema_names; + _tmp22_ = self->priv->schema_names; #line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp13__length1 = self->priv->schema_names_length1; + _tmp22__length1 = self->priv->schema_names_length1; #line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp14_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); + _tmp23_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); #line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp13_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]); + _g_free0 (_tmp22_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]); #line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp13_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS] = _tmp14_; + _tmp22_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN] = _tmp23_; #line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp15_ = _tmp13_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]; + _tmp24_ = _tmp22_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]; #line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp16_ = self->priv->schema_names; + _tmp25_ = self->priv->schema_names; #line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp16__length1 = self->priv->schema_names_length1; + _tmp25__length1 = self->priv->schema_names_length1; #line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp17_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_DESKTOP_SCHEMA_NAME); + _tmp26_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); #line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp16_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]); + _g_free0 (_tmp25_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]); #line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp16_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE] = _tmp17_; + _tmp25_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM] = _tmp26_; #line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp18_ = _tmp16_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]; + _tmp27_ = _tmp25_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]; #line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp19_ = self->priv->schema_names; + _tmp28_ = self->priv->schema_names; #line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp19__length1 = self->priv->schema_names_length1; + _tmp28__length1 = self->priv->schema_names_length1; #line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp20_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_DESKTOP_SCHEMA_NAME); + _tmp29_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); #line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp19_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]); + _g_free0 (_tmp28_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]); #line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp19_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE] = _tmp20_; + _tmp28_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT] = _tmp29_; #line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp21_ = _tmp19_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]; + _tmp30_ = _tmp28_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]; #line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp22_ = self->priv->schema_names; + _tmp31_ = self->priv->schema_names; #line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp22__length1 = self->priv->schema_names_length1; + _tmp31__length1 = self->priv->schema_names_length1; #line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp23_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_SCREENSAVER_SCHEMA_NAME); + _tmp32_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); #line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp22_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]); + _g_free0 (_tmp31_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]); #line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp22_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE] = _tmp23_; + _tmp31_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE] = _tmp32_; #line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp24_ = _tmp22_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]; + _tmp33_ = _tmp31_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]; #line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp25_ = self->priv->schema_names; + _tmp34_ = self->priv->schema_names; #line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp25__length1 = self->priv->schema_names_length1; + _tmp34__length1 = self->priv->schema_names_length1; #line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp26_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_SCREENSAVER_SCHEMA_NAME); + _tmp35_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); #line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp25_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]); + _g_free0 (_tmp34_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]); #line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp25_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE] = _tmp26_; + _tmp34_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH] = _tmp35_; #line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp27_ = _tmp25_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]; + _tmp36_ = _tmp34_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]; #line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp28_ = self->priv->schema_names; + _tmp37_ = self->priv->schema_names; #line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp28__length1 = self->priv->schema_names_length1; + _tmp37__length1 = self->priv->schema_names_length1; #line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp29_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); + _tmp38_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp28_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]); + _g_free0 (_tmp37_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]); #line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp28_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN] = _tmp29_; + _tmp37_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES] = _tmp38_; #line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp30_ = _tmp28_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]; + _tmp39_ = _tmp37_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]; #line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp31_ = self->priv->schema_names; + _tmp40_ = self->priv->schema_names; #line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp31__length1 = self->priv->schema_names_length1; + _tmp40__length1 = self->priv->schema_names_length1; #line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp32_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); + _tmp41_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp31_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]); + _g_free0 (_tmp40_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]); #line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp31_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM] = _tmp32_; + _tmp40_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES] = _tmp41_; #line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp33_ = _tmp31_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]; + _tmp42_ = _tmp40_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]; #line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp34_ = self->priv->schema_names; + _tmp43_ = self->priv->schema_names; #line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp34__length1 = self->priv->schema_names_length1; + _tmp43__length1 = self->priv->schema_names_length1; #line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp35_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); + _tmp44_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp34_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]); + _g_free0 (_tmp43_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]); #line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp34_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT] = _tmp35_; + _tmp43_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR] = _tmp44_; #line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp36_ = _tmp34_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]; + _tmp45_ = _tmp43_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]; #line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp37_ = self->priv->schema_names; + _tmp46_ = self->priv->schema_names; #line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp37__length1 = self->priv->schema_names_length1; + _tmp46__length1 = self->priv->schema_names_length1; #line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp38_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); + _tmp47_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp37_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]); + _g_free0 (_tmp46_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]); #line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp37_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE] = _tmp38_; + _tmp46_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR] = _tmp47_; #line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp39_ = _tmp37_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]; + _tmp48_ = _tmp46_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]; #line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp40_ = self->priv->schema_names; + _tmp49_ = self->priv->schema_names; #line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp40__length1 = self->priv->schema_names_length1; + _tmp49__length1 = self->priv->schema_names_length1; #line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp41_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); + _tmp50_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp40_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]); + _g_free0 (_tmp49_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]); #line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp40_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH] = _tmp41_; + _tmp49_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR] = _tmp50_; #line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp42_ = _tmp40_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]; + _tmp51_ = _tmp49_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]; #line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp43_ = self->priv->schema_names; + _tmp52_ = self->priv->schema_names; #line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp43__length1 = self->priv->schema_names_length1; + _tmp52__length1 = self->priv->schema_names_length1; #line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp44_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp53_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp43_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]); + _g_free0 (_tmp52_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]); #line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp43_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES] = _tmp44_; + _tmp52_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS] = _tmp53_; #line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp45_ = _tmp43_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]; + _tmp54_ = _tmp52_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]; #line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp46_ = self->priv->schema_names; + _tmp55_ = self->priv->schema_names; #line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp46__length1 = self->priv->schema_names_length1; + _tmp55__length1 = self->priv->schema_names_length1; #line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp47_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp56_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp46_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]); + _g_free0 (_tmp55_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]); #line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp46_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES] = _tmp47_; + _tmp55_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS] = _tmp56_; #line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp48_ = _tmp46_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]; + _tmp57_ = _tmp55_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]; #line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp49_ = self->priv->schema_names; + _tmp58_ = self->priv->schema_names; #line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp49__length1 = self->priv->schema_names_length1; + _tmp58__length1 = self->priv->schema_names_length1; #line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp50_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp59_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp49_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]); + _g_free0 (_tmp58_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]); #line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp49_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR] = _tmp50_; + _tmp58_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES] = _tmp59_; #line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp51_ = _tmp49_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]; + _tmp60_ = _tmp58_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]; #line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp52_ = self->priv->schema_names; + _tmp61_ = self->priv->schema_names; #line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp52__length1 = self->priv->schema_names_length1; + _tmp61__length1 = self->priv->schema_names_length1; #line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp53_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp62_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp52_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]); + _g_free0 (_tmp61_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]); #line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp52_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR] = _tmp53_; + _tmp61_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS] = _tmp62_; #line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp54_ = _tmp52_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]; + _tmp63_ = _tmp61_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]; #line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp55_ = self->priv->schema_names; + _tmp64_ = self->priv->schema_names; #line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp55__length1 = self->priv->schema_names_length1; + _tmp64__length1 = self->priv->schema_names_length1; #line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp56_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp65_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp55_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]); + _g_free0 (_tmp64_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]); #line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp55_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR] = _tmp56_; + _tmp64_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS] = _tmp65_; #line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp57_ = _tmp55_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]; + _tmp66_ = _tmp64_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]; #line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp58_ = self->priv->schema_names; + _tmp67_ = self->priv->schema_names; #line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp58__length1 = self->priv->schema_names_length1; + _tmp67__length1 = self->priv->schema_names_length1; #line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp59_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp68_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp58_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]); + _g_free0 (_tmp67_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]); #line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp58_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS] = _tmp59_; + _tmp67_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING] = _tmp68_; #line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp60_ = _tmp58_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]; + _tmp69_ = _tmp67_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]; #line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp61_ = self->priv->schema_names; + _tmp70_ = self->priv->schema_names; #line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp61__length1 = self->priv->schema_names_length1; + _tmp70__length1 = self->priv->schema_names_length1; #line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp62_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp71_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp61_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]); + _g_free0 (_tmp70_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]); #line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp61_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS] = _tmp62_; + _tmp70_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY] = _tmp71_; #line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp63_ = _tmp61_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]; + _tmp72_ = _tmp70_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]; #line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp64_ = self->priv->schema_names; + _tmp73_ = self->priv->schema_names; #line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp64__length1 = self->priv->schema_names_length1; + _tmp73__length1 = self->priv->schema_names_length1; #line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp65_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp74_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp64_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]); + _g_free0 (_tmp73_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]); #line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp64_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES] = _tmp65_; + _tmp73_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING] = _tmp74_; #line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp66_ = _tmp64_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]; + _tmp75_ = _tmp73_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]; #line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp67_ = self->priv->schema_names; + _tmp76_ = self->priv->schema_names; #line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp67__length1 = self->priv->schema_names_length1; + _tmp76__length1 = self->priv->schema_names_length1; #line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp68_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp77_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EXPORT_PREFS_SCHEMA_NAME); #line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp67_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]); + _g_free0 (_tmp76_[CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT]); #line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp67_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS] = _tmp68_; + _tmp76_[CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT] = _tmp77_; #line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp69_ = _tmp67_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]; + _tmp78_ = _tmp76_[CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT]; #line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp70_ = self->priv->schema_names; + _tmp79_ = self->priv->schema_names; #line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp70__length1 = self->priv->schema_names_length1; + _tmp79__length1 = self->priv->schema_names_length1; #line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp71_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp80_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EXPORT_PREFS_SCHEMA_NAME); #line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp70_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]); + _g_free0 (_tmp79_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE]); #line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp70_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS] = _tmp71_; + _tmp79_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE] = _tmp80_; #line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp72_ = _tmp70_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]; + _tmp81_ = _tmp79_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE]; #line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp73_ = self->priv->schema_names; + _tmp82_ = self->priv->schema_names; #line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp73__length1 = self->priv->schema_names_length1; + _tmp82__length1 = self->priv->schema_names_length1; #line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp74_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp83_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EXPORT_PREFS_SCHEMA_NAME); #line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp73_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]); + _g_free0 (_tmp82_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA]); #line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp73_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING] = _tmp74_; + _tmp82_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA] = _tmp83_; #line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp75_ = _tmp73_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]; + _tmp84_ = _tmp82_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA]; #line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp76_ = self->priv->schema_names; + _tmp85_ = self->priv->schema_names; #line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp76__length1 = self->priv->schema_names_length1; + _tmp85__length1 = self->priv->schema_names_length1; #line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp77_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp86_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EXPORT_PREFS_SCHEMA_NAME); #line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp76_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]); + _g_free0 (_tmp85_[CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT]); #line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp76_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY] = _tmp77_; + _tmp85_[CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT] = _tmp86_; #line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp78_ = _tmp76_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]; + _tmp87_ = _tmp85_[CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT]; #line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp79_ = self->priv->schema_names; + _tmp88_ = self->priv->schema_names; #line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp79__length1 = self->priv->schema_names_length1; + _tmp88__length1 = self->priv->schema_names_length1; #line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp80_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp89_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EXPORT_PREFS_SCHEMA_NAME); #line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp79_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]); + _g_free0 (_tmp88_[CONFIGURABLE_PROPERTY_EXPORT_QUALITY]); #line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp79_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING] = _tmp80_; + _tmp88_[CONFIGURABLE_PROPERTY_EXPORT_QUALITY] = _tmp89_; #line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp81_ = _tmp79_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]; + _tmp90_ = _tmp88_[CONFIGURABLE_PROPERTY_EXPORT_QUALITY]; #line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp82_ = self->priv->schema_names; + _tmp91_ = self->priv->schema_names; #line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp82__length1 = self->priv->schema_names_length1; + _tmp91__length1 = self->priv->schema_names_length1; #line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp83_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EDITING_PREFS_SCHEMA_NAME); + _tmp92_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EXPORT_PREFS_SCHEMA_NAME); #line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp82_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]); + _g_free0 (_tmp91_[CONFIGURABLE_PROPERTY_EXPORT_SCALE]); #line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp82_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP] = _tmp83_; + _tmp91_[CONFIGURABLE_PROPERTY_EXPORT_SCALE] = _tmp92_; #line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp84_ = _tmp82_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]; + _tmp93_ = _tmp91_[CONFIGURABLE_PROPERTY_EXPORT_SCALE]; #line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp85_ = self->priv->schema_names; + _tmp94_ = self->priv->schema_names; #line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp85__length1 = self->priv->schema_names_length1; + _tmp94__length1 = self->priv->schema_names_length1; #line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp86_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EDITING_PREFS_SCHEMA_NAME); + _tmp95_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EDITING_PREFS_SCHEMA_NAME); #line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp85_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]); + _g_free0 (_tmp94_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]); #line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp85_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP] = _tmp86_; + _tmp94_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP] = _tmp95_; #line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp87_ = _tmp85_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]; + _tmp96_ = _tmp94_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]; #line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp88_ = self->priv->schema_names; + _tmp97_ = self->priv->schema_names; #line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp88__length1 = self->priv->schema_names_length1; + _tmp97__length1 = self->priv->schema_names_length1; #line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp89_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp98_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EDITING_PREFS_SCHEMA_NAME); #line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp88_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]); + _g_free0 (_tmp97_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]); #line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp88_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED] = _tmp89_; + _tmp97_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP] = _tmp98_; #line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp90_ = _tmp88_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]; + _tmp99_ = _tmp97_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]; #line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp91_ = self->priv->schema_names; + _tmp100_ = self->priv->schema_names; #line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp91__length1 = self->priv->schema_names_length1; + _tmp100__length1 = self->priv->schema_names_length1; #line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp92_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); + _tmp101_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp91_[CONFIGURABLE_PROPERTY_IMPORT_DIR]); + _g_free0 (_tmp100_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]); #line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp91_[CONFIGURABLE_PROPERTY_IMPORT_DIR] = _tmp92_; + _tmp100_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED] = _tmp101_; #line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp93_ = _tmp91_[CONFIGURABLE_PROPERTY_IMPORT_DIR]; + _tmp102_ = _tmp100_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]; #line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp94_ = self->priv->schema_names; + _tmp103_ = self->priv->schema_names; #line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp94__length1 = self->priv->schema_names_length1; + _tmp103__length1 = self->priv->schema_names_length1; #line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp95_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp104_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); #line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp94_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]); + _g_free0 (_tmp103_[CONFIGURABLE_PROPERTY_IMPORT_DIR]); #line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp94_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY] = _tmp95_; + _tmp103_[CONFIGURABLE_PROPERTY_IMPORT_DIR] = _tmp104_; #line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp96_ = _tmp94_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]; + _tmp105_ = _tmp103_[CONFIGURABLE_PROPERTY_IMPORT_DIR]; #line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp97_ = self->priv->schema_names; + _tmp106_ = self->priv->schema_names; #line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp97__length1 = self->priv->schema_names_length1; + _tmp106__length1 = self->priv->schema_names_length1; #line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp98_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_CROP_SCHEMA_NAME); + _tmp107_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp97_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]); + _g_free0 (_tmp106_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]); #line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp97_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT] = _tmp98_; + _tmp106_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY] = _tmp107_; #line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp99_ = _tmp97_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]; + _tmp108_ = _tmp106_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]; #line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp100_ = self->priv->schema_names; + _tmp109_ = self->priv->schema_names; #line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp100__length1 = self->priv->schema_names_length1; + _tmp109__length1 = self->priv->schema_names_length1; #line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp101_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_CROP_SCHEMA_NAME); + _tmp110_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_CROP_SCHEMA_NAME); #line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp100_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]); + _g_free0 (_tmp109_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]); #line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp100_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE] = _tmp101_; + _tmp109_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT] = _tmp110_; #line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp102_ = _tmp100_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]; + _tmp111_ = _tmp109_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]; #line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp103_ = self->priv->schema_names; + _tmp112_ = self->priv->schema_names; #line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp103__length1 = self->priv->schema_names_length1; + _tmp112__length1 = self->priv->schema_names_length1; #line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp104_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_CROP_SCHEMA_NAME); + _tmp113_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_CROP_SCHEMA_NAME); #line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp103_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]); + _g_free0 (_tmp112_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]); #line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp103_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH] = _tmp104_; + _tmp112_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE] = _tmp113_; #line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp105_ = _tmp103_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]; + _tmp114_ = _tmp112_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]; #line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp106_ = self->priv->schema_names; + _tmp115_ = self->priv->schema_names; #line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp106__length1 = self->priv->schema_names_length1; + _tmp115__length1 = self->priv->schema_names_length1; #line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp107_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SHARING_SCHEMA_NAME); + _tmp116_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_CROP_SCHEMA_NAME); #line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp106_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]); + _g_free0 (_tmp115_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]); #line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp106_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE] = _tmp107_; + _tmp115_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH] = _tmp116_; #line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp108_ = _tmp106_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]; + _tmp117_ = _tmp115_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]; #line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp109_ = self->priv->schema_names; + _tmp118_ = self->priv->schema_names; #line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp109__length1 = self->priv->schema_names_length1; + _tmp118__length1 = self->priv->schema_names_length1; #line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp110_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_IMPORTING_SCHEMA_NAME); + _tmp119_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SHARING_SCHEMA_NAME); #line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp109_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]); + _g_free0 (_tmp118_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]); #line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp109_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE] = _tmp110_; + _tmp118_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE] = _tmp119_; #line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp111_ = _tmp109_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]; + _tmp120_ = _tmp118_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]; #line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp112_ = self->priv->schema_names; + _tmp121_ = self->priv->schema_names; #line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp112__length1 = self->priv->schema_names_length1; + _tmp121__length1 = self->priv->schema_names_length1; #line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp113_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp122_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_IMPORTING_SCHEMA_NAME); #line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp112_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]); + _g_free0 (_tmp121_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]); #line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp112_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING] = _tmp113_; + _tmp121_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE] = _tmp122_; #line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp114_ = _tmp112_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]; + _tmp123_ = _tmp121_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]; #line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp115_ = self->priv->schema_names; + _tmp124_ = self->priv->schema_names; #line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp115__length1 = self->priv->schema_names_length1; + _tmp124__length1 = self->priv->schema_names_length1; #line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp116_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp125_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp115_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]); + _g_free0 (_tmp124_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]); #line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp115_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY] = _tmp116_; + _tmp124_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING] = _tmp125_; #line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp117_ = _tmp115_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]; + _tmp126_ = _tmp124_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]; #line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp118_ = self->priv->schema_names; + _tmp127_ = self->priv->schema_names; #line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp118__length1 = self->priv->schema_names_length1; + _tmp127__length1 = self->priv->schema_names_length1; #line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp119_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); + _tmp128_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp118_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]); + _g_free0 (_tmp127_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]); #line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp118_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT] = _tmp119_; + _tmp127_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY] = _tmp128_; #line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp120_ = _tmp118_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]; + _tmp129_ = _tmp127_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]; #line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp121_ = self->priv->schema_names; + _tmp130_ = self->priv->schema_names; #line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp121__length1 = self->priv->schema_names_length1; + _tmp130__length1 = self->priv->schema_names_length1; #line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp122_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); + _tmp131_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); #line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp121_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]); + _g_free0 (_tmp130_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]); #line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp121_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE] = _tmp122_; + _tmp130_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT] = _tmp131_; #line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp123_ = _tmp121_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]; + _tmp132_ = _tmp130_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]; #line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp124_ = self->priv->schema_names; + _tmp133_ = self->priv->schema_names; #line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp124__length1 = self->priv->schema_names_length1; + _tmp133__length1 = self->priv->schema_names_length1; #line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp125_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); + _tmp134_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); #line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp124_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]); + _g_free0 (_tmp133_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]); #line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp124_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH] = _tmp125_; + _tmp133_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE] = _tmp134_; #line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp126_ = _tmp124_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]; + _tmp135_ = _tmp133_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]; #line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp127_ = self->priv->schema_names; + _tmp136_ = self->priv->schema_names; #line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp127__length1 = self->priv->schema_names_length1; + _tmp136__length1 = self->priv->schema_names_length1; #line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp128_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp137_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); #line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp127_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]); + _g_free0 (_tmp136_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]); #line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp127_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS] = _tmp128_; + _tmp136_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH] = _tmp137_; #line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp129_ = _tmp127_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]; + _tmp138_ = _tmp136_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]; #line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp130_ = self->priv->schema_names; + _tmp139_ = self->priv->schema_names; #line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp130__length1 = self->priv->schema_names_length1; + _tmp139__length1 = self->priv->schema_names_length1; #line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp131_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp140_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp130_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]); + _g_free0 (_tmp139_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]); #line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp130_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE] = _tmp131_; + _tmp139_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS] = _tmp140_; #line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp132_ = _tmp130_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]; + _tmp141_ = _tmp139_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]; #line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp133_ = self->priv->schema_names; + _tmp142_ = self->priv->schema_names; #line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp133__length1 = self->priv->schema_names_length1; + _tmp142__length1 = self->priv->schema_names_length1; #line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp134_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp143_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp133_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]); + _g_free0 (_tmp142_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]); #line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp133_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE] = _tmp134_; + _tmp142_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE] = _tmp143_; #line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp135_ = _tmp133_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]; + _tmp144_ = _tmp142_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]; #line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp136_ = self->priv->schema_names; + _tmp145_ = self->priv->schema_names; #line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp136__length1 = self->priv->schema_names_length1; + _tmp145__length1 = self->priv->schema_names_length1; #line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp137_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); + _tmp146_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp136_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]); + _g_free0 (_tmp145_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]); #line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp136_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT] = _tmp137_; + _tmp145_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE] = _tmp146_; #line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp138_ = _tmp136_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]; + _tmp147_ = _tmp145_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]; #line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp139_ = self->priv->schema_names; + _tmp148_ = self->priv->schema_names; #line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp139__length1 = self->priv->schema_names_length1; + _tmp148__length1 = self->priv->schema_names_length1; #line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp140_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); + _tmp149_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); #line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp139_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]); + _g_free0 (_tmp148_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]); #line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp139_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT] = _tmp140_; + _tmp148_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT] = _tmp149_; #line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp141_ = _tmp139_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]; + _tmp150_ = _tmp148_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]; #line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp142_ = self->priv->schema_names; + _tmp151_ = self->priv->schema_names; #line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp142__length1 = self->priv->schema_names_length1; + _tmp151__length1 = self->priv->schema_names_length1; #line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp143_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); + _tmp152_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); #line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp142_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]); + _g_free0 (_tmp151_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]); #line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp142_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI] = _tmp143_; + _tmp151_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT] = _tmp152_; #line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp144_ = _tmp142_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]; + _tmp153_ = _tmp151_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]; #line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp145_ = self->priv->schema_names; + _tmp154_ = self->priv->schema_names; #line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp145__length1 = self->priv->schema_names_length1; + _tmp154__length1 = self->priv->schema_names_length1; #line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp146_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); + _tmp155_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); #line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp145_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]); + _g_free0 (_tmp154_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]); #line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp145_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS] = _tmp146_; + _tmp154_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI] = _tmp155_; #line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp147_ = _tmp145_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]; + _tmp156_ = _tmp154_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]; #line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp148_ = self->priv->schema_names; + _tmp157_ = self->priv->schema_names; #line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp148__length1 = self->priv->schema_names_length1; + _tmp157__length1 = self->priv->schema_names_length1; #line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp149_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); + _tmp158_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); #line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp148_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]); + _g_free0 (_tmp157_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]); #line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp148_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH] = _tmp149_; + _tmp157_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS] = _tmp158_; #line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp150_ = _tmp148_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]; + _tmp159_ = _tmp157_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]; #line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp151_ = self->priv->schema_names; + _tmp160_ = self->priv->schema_names; #line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp151__length1 = self->priv->schema_names_length1; + _tmp160__length1 = self->priv->schema_names_length1; #line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp152_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); + _tmp161_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); #line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp151_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]); + _g_free0 (_tmp160_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]); #line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp151_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE] = _tmp152_; + _tmp160_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH] = _tmp161_; #line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp153_ = _tmp151_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]; + _tmp162_ = _tmp160_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]; #line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp154_ = self->priv->schema_names; + _tmp163_ = self->priv->schema_names; #line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp154__length1 = self->priv->schema_names_length1; + _tmp163__length1 = self->priv->schema_names_length1; #line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp155_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); + _tmp164_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); #line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp154_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]); + _g_free0 (_tmp163_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]); #line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp154_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO] = _tmp155_; + _tmp163_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE] = _tmp164_; #line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp156_ = _tmp154_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]; + _tmp165_ = _tmp163_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]; #line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp157_ = self->priv->schema_names; + _tmp166_ = self->priv->schema_names; #line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp157__length1 = self->priv->schema_names_length1; + _tmp166__length1 = self->priv->schema_names_length1; #line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp158_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); + _tmp167_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); #line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp157_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]); + _g_free0 (_tmp166_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]); #line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp157_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES] = _tmp158_; + _tmp166_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO] = _tmp167_; #line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp159_ = _tmp157_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]; + _tmp168_ = _tmp166_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]; #line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp160_ = self->priv->schema_names; + _tmp169_ = self->priv->schema_names; #line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp160__length1 = self->priv->schema_names_length1; + _tmp169__length1 = self->priv->schema_names_length1; #line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp161_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); + _tmp170_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); #line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp160_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]); + _g_free0 (_tmp169_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]); #line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp160_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION] = _tmp161_; + _tmp169_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES] = _tmp170_; #line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp162_ = _tmp160_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]; + _tmp171_ = _tmp169_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]; #line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp163_ = self->priv->schema_names; + _tmp172_ = self->priv->schema_names; #line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp163__length1 = self->priv->schema_names_length1; + _tmp172__length1 = self->priv->schema_names_length1; #line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp164_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); + _tmp173_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); #line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp163_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]); + _g_free0 (_tmp172_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]); #line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp163_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT] = _tmp164_; + _tmp172_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION] = _tmp173_; #line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp165_ = _tmp163_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]; + _tmp174_ = _tmp172_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]; #line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp166_ = self->priv->schema_names; + _tmp175_ = self->priv->schema_names; #line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp166__length1 = self->priv->schema_names_length1; + _tmp175__length1 = self->priv->schema_names_length1; #line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp167_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); + _tmp176_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); #line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp166_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]); + _g_free0 (_tmp175_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]); #line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp166_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT] = _tmp167_; + _tmp175_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT] = _tmp176_; #line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp168_ = _tmp166_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]; + _tmp177_ = _tmp175_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]; #line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp169_ = self->priv->schema_names; + _tmp178_ = self->priv->schema_names; #line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp169__length1 = self->priv->schema_names_length1; + _tmp178__length1 = self->priv->schema_names_length1; #line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp170_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp179_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); #line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp169_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]); + _g_free0 (_tmp178_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]); #line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp169_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG] = _tmp170_; + _tmp178_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT] = _tmp179_; #line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp171_ = _tmp169_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]; + _tmp180_ = _tmp178_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]; #line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp172_ = self->priv->schema_names; + _tmp181_ = self->priv->schema_names; #line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp172__length1 = self->priv->schema_names_length1; + _tmp181__length1 = self->priv->schema_names_length1; #line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp173_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp182_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp172_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]); + _g_free0 (_tmp181_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]); #line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp172_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION] = _tmp173_; + _tmp181_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG] = _tmp182_; #line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp174_ = _tmp172_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]; + _tmp183_ = _tmp181_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]; #line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp175_ = self->priv->schema_names; + _tmp184_ = self->priv->schema_names; #line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp175__length1 = self->priv->schema_names_length1; + _tmp184__length1 = self->priv->schema_names_length1; #line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp176_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); + _tmp185_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp175_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]); + _g_free0 (_tmp184_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]); #line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp175_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY] = _tmp176_; + _tmp184_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION] = _tmp185_; #line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp177_ = _tmp175_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]; + _tmp186_ = _tmp184_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]; #line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp178_ = self->priv->schema_names; + _tmp187_ = self->priv->schema_names; #line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp178__length1 = self->priv->schema_names_length1; + _tmp187__length1 = self->priv->schema_names_length1; #line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp179_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); + _tmp188_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); #line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp178_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]); + _g_free0 (_tmp187_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]); #line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp178_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY] = _tmp179_; + _tmp187_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY] = _tmp188_; #line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp180_ = _tmp178_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]; + _tmp189_ = _tmp187_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]; #line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp181_ = self->priv->schema_names; + _tmp190_ = self->priv->schema_names; #line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp181__length1 = self->priv->schema_names_length1; + _tmp190__length1 = self->priv->schema_names_length1; #line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp182_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); + _tmp191_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); #line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp181_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]); + _g_free0 (_tmp190_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]); #line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp181_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID] = _tmp182_; + _tmp190_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY] = _tmp191_; #line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp183_ = _tmp181_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]; + _tmp192_ = _tmp190_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]; #line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp184_ = self->priv->schema_names; + _tmp193_ = self->priv->schema_names; #line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp184__length1 = self->priv->schema_names_length1; + _tmp193__length1 = self->priv->schema_names_length1; #line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp185_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); + _tmp194_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); #line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp184_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]); + _g_free0 (_tmp193_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]); #line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp184_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE] = _tmp185_; + _tmp193_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID] = _tmp194_; #line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp186_ = _tmp184_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]; + _tmp195_ = _tmp193_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]; #line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp187_ = self->priv->schema_names; + _tmp196_ = self->priv->schema_names; #line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp187__length1 = self->priv->schema_names_length1; + _tmp196__length1 = self->priv->schema_names_length1; #line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp188_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); + _tmp197_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); #line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp187_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]); + _g_free0 (_tmp196_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]); #line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp187_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME] = _tmp188_; + _tmp196_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE] = _tmp197_; #line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp189_ = _tmp187_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]; + _tmp198_ = _tmp196_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]; #line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp190_ = self->priv->schema_names; + _tmp199_ = self->priv->schema_names; #line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp190__length1 = self->priv->schema_names_length1; + _tmp199__length1 = self->priv->schema_names_length1; #line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp191_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); + _tmp200_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); #line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp190_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]); + _g_free0 (_tmp199_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]); #line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp190_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES] = _tmp191_; + _tmp199_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME] = _tmp200_; #line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp192_ = _tmp190_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]; + _tmp201_ = _tmp199_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]; #line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp193_ = self->priv->schema_names; + _tmp202_ = self->priv->schema_names; #line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp193__length1 = self->priv->schema_names_length1; + _tmp202__length1 = self->priv->schema_names_length1; #line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp194_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_VIDEO_SCHEMA_NAME); + _tmp203_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); #line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp193_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]); + _g_free0 (_tmp202_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]); #line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp193_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE] = _tmp194_; + _tmp202_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES] = _tmp203_; #line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp195_ = _tmp193_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]; -#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp196_ = g_new0 (gchar*, CONFIGURABLE_PROPERTY_NUM_PROPERTIES + 1); -#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp204_ = _tmp202_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]; +#line 100 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp205_ = self->priv->schema_names; +#line 100 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp205__length1 = self->priv->schema_names_length1; +#line 100 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp206_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_VIDEO_SCHEMA_NAME); +#line 100 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp205_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]); +#line 100 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp205_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE] = _tmp206_; +#line 100 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp207_ = _tmp205_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]; +#line 102 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp208_ = g_new0 (gchar*, CONFIGURABLE_PROPERTY_NUM_PROPERTIES + 1); +#line 102 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self->priv->key_names = (_vala_array_free (self->priv->key_names, self->priv->key_names_length1, (GDestroyNotify) g_free), NULL); -#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self->priv->key_names = _tmp196_; -#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 102 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self->priv->key_names = _tmp208_; +#line 102 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self->priv->key_names_length1 = CONFIGURABLE_PROPERTY_NUM_PROPERTIES; -#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 102 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self->priv->_key_names_size_ = self->priv->key_names_length1; -#line 103 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp197_ = self->priv->key_names; -#line 103 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp197__length1 = self->priv->key_names_length1; -#line 103 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp198_ = g_strdup ("auto-import"); -#line 103 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp197_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]); -#line 103 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp197_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY] = _tmp198_; -#line 103 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp199_ = _tmp197_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]; #line 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp200_ = self->priv->key_names; + _tmp209_ = self->priv->key_names; #line 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp200__length1 = self->priv->key_names_length1; + _tmp209__length1 = self->priv->key_names_length1; #line 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp201_ = g_strdup ("background-color"); + _tmp210_ = g_strdup ("auto-import"); #line 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp200_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]); + _g_free0 (_tmp209_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]); #line 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp200_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME] = _tmp201_; + _tmp209_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY] = _tmp210_; #line 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp202_ = _tmp200_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]; + _tmp211_ = _tmp209_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]; #line 105 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp203_ = self->priv->key_names; + _tmp212_ = self->priv->key_names; #line 105 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp203__length1 = self->priv->key_names_length1; + _tmp212__length1 = self->priv->key_names_length1; #line 105 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp204_ = g_strdup ("commit-metadata"); + _tmp213_ = g_strdup ("background-color"); #line 105 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp203_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]); + _g_free0 (_tmp212_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]); #line 105 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp203_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS] = _tmp204_; + _tmp212_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME] = _tmp213_; #line 105 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp205_ = _tmp203_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]; + _tmp214_ = _tmp212_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]; #line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp206_ = self->priv->key_names; + _tmp215_ = self->priv->key_names; #line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp206__length1 = self->priv->key_names_length1; + _tmp215__length1 = self->priv->key_names_length1; #line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp207_ = g_strdup ("picture-uri"); + _tmp216_ = g_strdup ("commit-metadata"); #line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp206_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]); + _g_free0 (_tmp215_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]); #line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp206_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE] = _tmp207_; + _tmp215_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS] = _tmp216_; #line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp208_ = _tmp206_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]; + _tmp217_ = _tmp215_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]; #line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp209_ = self->priv->key_names; + _tmp218_ = self->priv->key_names; #line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp209__length1 = self->priv->key_names_length1; + _tmp218__length1 = self->priv->key_names_length1; #line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp210_ = g_strdup ("picture-options"); + _tmp219_ = g_strdup ("picture-uri"); #line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp209_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]); + _g_free0 (_tmp218_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]); #line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp209_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE] = _tmp210_; + _tmp218_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE] = _tmp219_; #line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp211_ = _tmp209_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]; + _tmp220_ = _tmp218_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]; #line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp212_ = self->priv->key_names; + _tmp221_ = self->priv->key_names; #line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp212__length1 = self->priv->key_names_length1; + _tmp221__length1 = self->priv->key_names_length1; #line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp213_ = g_strdup ("picture-uri"); + _tmp222_ = g_strdup ("picture-options"); #line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp212_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]); + _g_free0 (_tmp221_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]); #line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp212_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE] = _tmp213_; + _tmp221_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE] = _tmp222_; #line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp214_ = _tmp212_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]; + _tmp223_ = _tmp221_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]; #line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp215_ = self->priv->key_names; + _tmp224_ = self->priv->key_names; #line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp215__length1 = self->priv->key_names_length1; + _tmp224__length1 = self->priv->key_names_length1; #line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp216_ = g_strdup ("picture-options"); + _tmp225_ = g_strdup ("picture-uri"); #line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp215_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]); + _g_free0 (_tmp224_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]); #line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp215_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE] = _tmp216_; + _tmp224_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE] = _tmp225_; #line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp217_ = _tmp215_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]; + _tmp226_ = _tmp224_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]; #line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp218_ = self->priv->key_names; + _tmp227_ = self->priv->key_names; #line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp218__length1 = self->priv->key_names_length1; + _tmp227__length1 = self->priv->key_names_length1; #line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp219_ = g_strdup ("directory-pattern"); + _tmp228_ = g_strdup ("picture-options"); #line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp218_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]); + _g_free0 (_tmp227_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]); #line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp218_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN] = _tmp219_; + _tmp227_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE] = _tmp228_; #line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp220_ = _tmp218_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]; + _tmp229_ = _tmp227_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]; #line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp221_ = self->priv->key_names; + _tmp230_ = self->priv->key_names; #line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp221__length1 = self->priv->key_names_length1; + _tmp230__length1 = self->priv->key_names_length1; #line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp222_ = g_strdup ("directory-pattern-custom"); + _tmp231_ = g_strdup ("directory-pattern"); #line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp221_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]); + _g_free0 (_tmp230_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]); #line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp221_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM] = _tmp222_; + _tmp230_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN] = _tmp231_; #line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp223_ = _tmp221_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]; + _tmp232_ = _tmp230_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]; #line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp224_ = self->priv->key_names; + _tmp233_ = self->priv->key_names; #line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp224__length1 = self->priv->key_names_length1; + _tmp233__length1 = self->priv->key_names_length1; #line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp225_ = g_strdup ("direct-height"); + _tmp234_ = g_strdup ("directory-pattern-custom"); #line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp224_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]); + _g_free0 (_tmp233_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]); #line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp224_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT] = _tmp225_; + _tmp233_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM] = _tmp234_; #line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp226_ = _tmp224_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]; + _tmp235_ = _tmp233_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]; #line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp227_ = self->priv->key_names; + _tmp236_ = self->priv->key_names; #line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp227__length1 = self->priv->key_names_length1; + _tmp236__length1 = self->priv->key_names_length1; #line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp228_ = g_strdup ("direct-maximize"); + _tmp237_ = g_strdup ("direct-height"); #line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp227_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]); + _g_free0 (_tmp236_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]); #line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp227_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE] = _tmp228_; + _tmp236_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT] = _tmp237_; #line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp229_ = _tmp227_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]; + _tmp238_ = _tmp236_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]; #line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp230_ = self->priv->key_names; + _tmp239_ = self->priv->key_names; #line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp230__length1 = self->priv->key_names_length1; + _tmp239__length1 = self->priv->key_names_length1; #line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp231_ = g_strdup ("direct-width"); + _tmp240_ = g_strdup ("direct-maximize"); #line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp230_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]); + _g_free0 (_tmp239_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]); #line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp230_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH] = _tmp231_; + _tmp239_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE] = _tmp240_; #line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp232_ = _tmp230_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]; + _tmp241_ = _tmp239_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]; #line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp233_ = self->priv->key_names; + _tmp242_ = self->priv->key_names; #line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp233__length1 = self->priv->key_names_length1; + _tmp242__length1 = self->priv->key_names_length1; #line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp234_ = g_strdup ("display-basic-properties"); + _tmp243_ = g_strdup ("direct-width"); #line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp233_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]); + _g_free0 (_tmp242_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]); #line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp233_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES] = _tmp234_; + _tmp242_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH] = _tmp243_; #line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp235_ = _tmp233_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]; + _tmp244_ = _tmp242_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]; #line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp236_ = self->priv->key_names; + _tmp245_ = self->priv->key_names; #line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp236__length1 = self->priv->key_names_length1; + _tmp245__length1 = self->priv->key_names_length1; #line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp237_ = g_strdup ("display-extended-properties"); + _tmp246_ = g_strdup ("display-basic-properties"); #line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp236_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]); + _g_free0 (_tmp245_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]); #line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp236_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES] = _tmp237_; + _tmp245_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES] = _tmp246_; #line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp238_ = _tmp236_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]; + _tmp247_ = _tmp245_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]; #line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp239_ = self->priv->key_names; + _tmp248_ = self->priv->key_names; #line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp239__length1 = self->priv->key_names_length1; + _tmp248__length1 = self->priv->key_names_length1; #line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp240_ = g_strdup ("display-sidebar"); + _tmp249_ = g_strdup ("display-extended-properties"); #line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp239_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]); + _g_free0 (_tmp248_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]); #line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp239_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR] = _tmp240_; + _tmp248_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES] = _tmp249_; #line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp241_ = _tmp239_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]; + _tmp250_ = _tmp248_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]; #line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp242_ = self->priv->key_names; + _tmp251_ = self->priv->key_names; #line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp242__length1 = self->priv->key_names_length1; + _tmp251__length1 = self->priv->key_names_length1; #line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp243_ = g_strdup ("display-toolbar"); + _tmp252_ = g_strdup ("display-sidebar"); #line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp242_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]); + _g_free0 (_tmp251_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]); #line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp242_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR] = _tmp243_; + _tmp251_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR] = _tmp252_; #line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp244_ = _tmp242_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]; + _tmp253_ = _tmp251_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]; #line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp245_ = self->priv->key_names; + _tmp254_ = self->priv->key_names; #line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp245__length1 = self->priv->key_names_length1; + _tmp254__length1 = self->priv->key_names_length1; #line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp246_ = g_strdup ("display-search-bar"); + _tmp255_ = g_strdup ("display-toolbar"); #line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp245_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]); + _g_free0 (_tmp254_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]); #line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp245_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR] = _tmp246_; + _tmp254_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR] = _tmp255_; #line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp247_ = _tmp245_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]; + _tmp256_ = _tmp254_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]; #line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp248_ = self->priv->key_names; + _tmp257_ = self->priv->key_names; #line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp248__length1 = self->priv->key_names_length1; + _tmp257__length1 = self->priv->key_names_length1; #line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp249_ = g_strdup ("display-photo-ratings"); + _tmp258_ = g_strdup ("display-search-bar"); #line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp248_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]); + _g_free0 (_tmp257_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]); #line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp248_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS] = _tmp249_; + _tmp257_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR] = _tmp258_; #line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp250_ = _tmp248_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]; + _tmp259_ = _tmp257_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]; #line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp251_ = self->priv->key_names; + _tmp260_ = self->priv->key_names; #line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp251__length1 = self->priv->key_names_length1; + _tmp260__length1 = self->priv->key_names_length1; #line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp252_ = g_strdup ("display-photo-tags"); + _tmp261_ = g_strdup ("display-photo-ratings"); #line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp251_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]); + _g_free0 (_tmp260_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]); #line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp251_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS] = _tmp252_; + _tmp260_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS] = _tmp261_; #line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp253_ = _tmp251_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]; + _tmp262_ = _tmp260_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]; #line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp254_ = self->priv->key_names; + _tmp263_ = self->priv->key_names; #line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp254__length1 = self->priv->key_names_length1; + _tmp263__length1 = self->priv->key_names_length1; #line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp255_ = g_strdup ("display-photo-titles"); + _tmp264_ = g_strdup ("display-photo-tags"); #line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp254_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]); + _g_free0 (_tmp263_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]); #line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp254_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES] = _tmp255_; + _tmp263_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS] = _tmp264_; #line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp256_ = _tmp254_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]; + _tmp265_ = _tmp263_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]; #line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp257_ = self->priv->key_names; + _tmp266_ = self->priv->key_names; #line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp257__length1 = self->priv->key_names_length1; + _tmp266__length1 = self->priv->key_names_length1; #line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp258_ = g_strdup ("display-photo-comments"); + _tmp267_ = g_strdup ("display-photo-titles"); #line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp257_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]); + _g_free0 (_tmp266_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]); #line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp257_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS] = _tmp258_; + _tmp266_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES] = _tmp267_; #line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp259_ = _tmp257_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]; + _tmp268_ = _tmp266_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]; #line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp260_ = self->priv->key_names; + _tmp269_ = self->priv->key_names; #line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp260__length1 = self->priv->key_names_length1; + _tmp269__length1 = self->priv->key_names_length1; #line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp261_ = g_strdup ("display-event-comments"); + _tmp270_ = g_strdup ("display-photo-comments"); #line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp260_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]); + _g_free0 (_tmp269_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]); #line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp260_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS] = _tmp261_; + _tmp269_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS] = _tmp270_; #line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp262_ = _tmp260_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]; + _tmp271_ = _tmp269_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]; #line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp263_ = self->priv->key_names; + _tmp272_ = self->priv->key_names; #line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp263__length1 = self->priv->key_names_length1; + _tmp272__length1 = self->priv->key_names_length1; #line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp264_ = g_strdup ("event-photos-sort-ascending"); + _tmp273_ = g_strdup ("display-event-comments"); #line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp263_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]); + _g_free0 (_tmp272_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]); #line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp263_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING] = _tmp264_; + _tmp272_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS] = _tmp273_; #line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp265_ = _tmp263_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]; + _tmp274_ = _tmp272_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]; #line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp266_ = self->priv->key_names; + _tmp275_ = self->priv->key_names; #line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp266__length1 = self->priv->key_names_length1; + _tmp275__length1 = self->priv->key_names_length1; #line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp267_ = g_strdup ("event-photos-sort-by"); + _tmp276_ = g_strdup ("event-photos-sort-ascending"); #line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp266_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]); + _g_free0 (_tmp275_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]); #line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp266_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY] = _tmp267_; + _tmp275_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING] = _tmp276_; #line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp268_ = _tmp266_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]; + _tmp277_ = _tmp275_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]; #line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp269_ = self->priv->key_names; + _tmp278_ = self->priv->key_names; #line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp269__length1 = self->priv->key_names_length1; + _tmp278__length1 = self->priv->key_names_length1; #line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp270_ = g_strdup ("events-sort-ascending"); + _tmp279_ = g_strdup ("event-photos-sort-by"); #line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp269_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]); + _g_free0 (_tmp278_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]); #line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp269_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING] = _tmp270_; + _tmp278_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY] = _tmp279_; #line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp271_ = _tmp269_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]; + _tmp280_ = _tmp278_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]; #line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp272_ = self->priv->key_names; + _tmp281_ = self->priv->key_names; #line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp272__length1 = self->priv->key_names_length1; + _tmp281__length1 = self->priv->key_names_length1; #line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp273_ = g_strdup ("external-photo-editor"); + _tmp282_ = g_strdup ("events-sort-ascending"); #line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp272_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]); + _g_free0 (_tmp281_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]); #line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp272_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP] = _tmp273_; + _tmp281_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING] = _tmp282_; #line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp274_ = _tmp272_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]; + _tmp283_ = _tmp281_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]; #line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp275_ = self->priv->key_names; + _tmp284_ = self->priv->key_names; #line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp275__length1 = self->priv->key_names_length1; + _tmp284__length1 = self->priv->key_names_length1; #line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp276_ = g_strdup ("external-raw-editor"); + _tmp285_ = g_strdup ("constraint"); #line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp275_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]); + _g_free0 (_tmp284_[CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT]); #line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp275_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP] = _tmp276_; + _tmp284_[CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT] = _tmp285_; #line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp277_ = _tmp275_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]; + _tmp286_ = _tmp284_[CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT]; #line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp278_ = self->priv->key_names; + _tmp287_ = self->priv->key_names; #line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp278__length1 = self->priv->key_names_length1; + _tmp287__length1 = self->priv->key_names_length1; #line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp279_ = g_strdup ("hide-photos-already-imported"); + _tmp288_ = g_strdup ("export-format-mode"); #line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp278_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]); + _g_free0 (_tmp287_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE]); #line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp278_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED] = _tmp279_; + _tmp287_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE] = _tmp288_; #line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp280_ = _tmp278_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]; + _tmp289_ = _tmp287_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE]; #line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp281_ = self->priv->key_names; + _tmp290_ = self->priv->key_names; #line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp281__length1 = self->priv->key_names_length1; + _tmp290__length1 = self->priv->key_names_length1; #line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp282_ = g_strdup ("import-dir"); + _tmp291_ = g_strdup ("export-metadata"); #line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp281_[CONFIGURABLE_PROPERTY_IMPORT_DIR]); + _g_free0 (_tmp290_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA]); #line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp281_[CONFIGURABLE_PROPERTY_IMPORT_DIR] = _tmp282_; + _tmp290_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA] = _tmp291_; #line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp283_ = _tmp281_[CONFIGURABLE_PROPERTY_IMPORT_DIR]; + _tmp292_ = _tmp290_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA]; #line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp284_ = self->priv->key_names; + _tmp293_ = self->priv->key_names; #line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp284__length1 = self->priv->key_names_length1; + _tmp293__length1 = self->priv->key_names_length1; #line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp285_ = g_strdup ("keep-relativity"); + _tmp294_ = g_strdup ("photo-file-format"); #line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp284_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]); + _g_free0 (_tmp293_[CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT]); #line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp284_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY] = _tmp285_; + _tmp293_[CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT] = _tmp294_; #line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp286_ = _tmp284_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]; + _tmp295_ = _tmp293_[CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT]; #line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp287_ = self->priv->key_names; + _tmp296_ = self->priv->key_names; #line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp287__length1 = self->priv->key_names_length1; + _tmp296__length1 = self->priv->key_names_length1; #line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp288_ = g_strdup ("last-crop-height"); + _tmp297_ = g_strdup ("quality"); #line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp287_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]); + _g_free0 (_tmp296_[CONFIGURABLE_PROPERTY_EXPORT_QUALITY]); #line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp287_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT] = _tmp288_; + _tmp296_[CONFIGURABLE_PROPERTY_EXPORT_QUALITY] = _tmp297_; #line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp289_ = _tmp287_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]; + _tmp298_ = _tmp296_[CONFIGURABLE_PROPERTY_EXPORT_QUALITY]; #line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp290_ = self->priv->key_names; + _tmp299_ = self->priv->key_names; #line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp290__length1 = self->priv->key_names_length1; + _tmp299__length1 = self->priv->key_names_length1; #line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp291_ = g_strdup ("last-crop-menu-choice"); + _tmp300_ = g_strdup ("scale"); #line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp290_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]); + _g_free0 (_tmp299_[CONFIGURABLE_PROPERTY_EXPORT_SCALE]); #line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp290_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE] = _tmp291_; + _tmp299_[CONFIGURABLE_PROPERTY_EXPORT_SCALE] = _tmp300_; #line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp292_ = _tmp290_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]; + _tmp301_ = _tmp299_[CONFIGURABLE_PROPERTY_EXPORT_SCALE]; #line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp293_ = self->priv->key_names; + _tmp302_ = self->priv->key_names; #line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp293__length1 = self->priv->key_names_length1; + _tmp302__length1 = self->priv->key_names_length1; #line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp294_ = g_strdup ("last-crop-width"); + _tmp303_ = g_strdup ("external-photo-editor"); #line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp293_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]); + _g_free0 (_tmp302_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]); #line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp293_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH] = _tmp294_; + _tmp302_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP] = _tmp303_; #line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp295_ = _tmp293_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]; + _tmp304_ = _tmp302_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]; #line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp296_ = self->priv->key_names; + _tmp305_ = self->priv->key_names; #line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp296__length1 = self->priv->key_names_length1; + _tmp305__length1 = self->priv->key_names_length1; #line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp297_ = g_strdup ("last-used-service"); + _tmp306_ = g_strdup ("external-raw-editor"); #line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp296_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]); + _g_free0 (_tmp305_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]); #line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp296_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE] = _tmp297_; + _tmp305_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP] = _tmp306_; #line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp298_ = _tmp296_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]; + _tmp307_ = _tmp305_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]; #line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp299_ = self->priv->key_names; + _tmp308_ = self->priv->key_names; #line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp299__length1 = self->priv->key_names_length1; + _tmp308__length1 = self->priv->key_names_length1; #line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp300_ = g_strdup ("last-used-dataimports-service"); + _tmp309_ = g_strdup ("hide-photos-already-imported"); #line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp299_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]); + _g_free0 (_tmp308_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]); #line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp299_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE] = _tmp300_; + _tmp308_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED] = _tmp309_; #line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp301_ = _tmp299_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]; + _tmp310_ = _tmp308_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]; #line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp302_ = self->priv->key_names; + _tmp311_ = self->priv->key_names; #line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp302__length1 = self->priv->key_names_length1; + _tmp311__length1 = self->priv->key_names_length1; #line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp303_ = g_strdup ("library-photos-sort-ascending"); + _tmp312_ = g_strdup ("import-dir"); #line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp302_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]); + _g_free0 (_tmp311_[CONFIGURABLE_PROPERTY_IMPORT_DIR]); #line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp302_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING] = _tmp303_; + _tmp311_[CONFIGURABLE_PROPERTY_IMPORT_DIR] = _tmp312_; #line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp304_ = _tmp302_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]; + _tmp313_ = _tmp311_[CONFIGURABLE_PROPERTY_IMPORT_DIR]; #line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp305_ = self->priv->key_names; + _tmp314_ = self->priv->key_names; #line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp305__length1 = self->priv->key_names_length1; + _tmp314__length1 = self->priv->key_names_length1; #line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp306_ = g_strdup ("library-photos-sort-by"); + _tmp315_ = g_strdup ("keep-relativity"); #line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp305_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]); + _g_free0 (_tmp314_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]); #line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp305_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY] = _tmp306_; + _tmp314_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY] = _tmp315_; #line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp307_ = _tmp305_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]; + _tmp316_ = _tmp314_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]; #line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp308_ = self->priv->key_names; + _tmp317_ = self->priv->key_names; #line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp308__length1 = self->priv->key_names_length1; + _tmp317__length1 = self->priv->key_names_length1; #line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp309_ = g_strdup ("library-height"); + _tmp318_ = g_strdup ("last-crop-height"); #line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp308_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]); + _g_free0 (_tmp317_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]); #line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp308_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT] = _tmp309_; + _tmp317_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT] = _tmp318_; #line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp310_ = _tmp308_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]; + _tmp319_ = _tmp317_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]; #line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp311_ = self->priv->key_names; + _tmp320_ = self->priv->key_names; #line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp311__length1 = self->priv->key_names_length1; + _tmp320__length1 = self->priv->key_names_length1; #line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp312_ = g_strdup ("library-maximize"); + _tmp321_ = g_strdup ("last-crop-menu-choice"); #line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp311_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]); + _g_free0 (_tmp320_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]); #line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp311_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE] = _tmp312_; + _tmp320_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE] = _tmp321_; #line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp313_ = _tmp311_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]; + _tmp322_ = _tmp320_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]; #line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp314_ = self->priv->key_names; + _tmp323_ = self->priv->key_names; #line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp314__length1 = self->priv->key_names_length1; + _tmp323__length1 = self->priv->key_names_length1; #line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp315_ = g_strdup ("library-width"); + _tmp324_ = g_strdup ("last-crop-width"); #line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp314_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]); + _g_free0 (_tmp323_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]); #line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp314_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH] = _tmp315_; + _tmp323_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH] = _tmp324_; #line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp316_ = _tmp314_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]; + _tmp325_ = _tmp323_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]; #line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp317_ = self->priv->key_names; + _tmp326_ = self->priv->key_names; #line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp317__length1 = self->priv->key_names_length1; + _tmp326__length1 = self->priv->key_names_length1; #line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp318_ = g_strdup ("modify-originals"); + _tmp327_ = g_strdup ("last-used-service"); #line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp317_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]); + _g_free0 (_tmp326_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]); #line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp317_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS] = _tmp318_; + _tmp326_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE] = _tmp327_; #line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp319_ = _tmp317_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]; + _tmp328_ = _tmp326_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]; #line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp320_ = self->priv->key_names; + _tmp329_ = self->priv->key_names; #line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp320__length1 = self->priv->key_names_length1; + _tmp329__length1 = self->priv->key_names_length1; #line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp321_ = g_strdup ("photo-thumbnail-scale"); + _tmp330_ = g_strdup ("last-used-dataimports-service"); #line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp320_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]); + _g_free0 (_tmp329_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]); #line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp320_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE] = _tmp321_; + _tmp329_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE] = _tmp330_; #line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp322_ = _tmp320_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]; + _tmp331_ = _tmp329_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]; #line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp323_ = self->priv->key_names; + _tmp332_ = self->priv->key_names; #line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp323__length1 = self->priv->key_names_length1; + _tmp332__length1 = self->priv->key_names_length1; #line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp324_ = g_strdup ("pin-toolbar-state"); + _tmp333_ = g_strdup ("library-photos-sort-ascending"); #line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp323_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]); + _g_free0 (_tmp332_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]); #line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp323_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE] = _tmp324_; + _tmp332_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING] = _tmp333_; #line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp325_ = _tmp323_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]; + _tmp334_ = _tmp332_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]; #line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp326_ = self->priv->key_names; + _tmp335_ = self->priv->key_names; #line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp326__length1 = self->priv->key_names_length1; + _tmp335__length1 = self->priv->key_names_length1; #line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp327_ = g_strdup ("content-height"); + _tmp336_ = g_strdup ("library-photos-sort-by"); #line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp326_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]); + _g_free0 (_tmp335_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]); #line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp326_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT] = _tmp327_; + _tmp335_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY] = _tmp336_; #line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp328_ = _tmp326_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]; + _tmp337_ = _tmp335_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]; #line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp329_ = self->priv->key_names; + _tmp338_ = self->priv->key_names; #line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp329__length1 = self->priv->key_names_length1; + _tmp338__length1 = self->priv->key_names_length1; #line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp330_ = g_strdup ("content-layout"); + _tmp339_ = g_strdup ("library-height"); #line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp329_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]); + _g_free0 (_tmp338_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]); #line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp329_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT] = _tmp330_; + _tmp338_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT] = _tmp339_; #line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp331_ = _tmp329_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]; + _tmp340_ = _tmp338_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]; #line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp332_ = self->priv->key_names; + _tmp341_ = self->priv->key_names; #line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp332__length1 = self->priv->key_names_length1; + _tmp341__length1 = self->priv->key_names_length1; #line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp333_ = g_strdup ("content-ppi"); + _tmp342_ = g_strdup ("library-maximize"); #line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp332_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]); + _g_free0 (_tmp341_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]); #line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp332_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI] = _tmp333_; + _tmp341_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE] = _tmp342_; #line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp334_ = _tmp332_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]; + _tmp343_ = _tmp341_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]; #line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp335_ = self->priv->key_names; + _tmp344_ = self->priv->key_names; #line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp335__length1 = self->priv->key_names_length1; + _tmp344__length1 = self->priv->key_names_length1; #line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp336_ = g_strdup ("content-units"); + _tmp345_ = g_strdup ("library-width"); #line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp335_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]); + _g_free0 (_tmp344_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]); #line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp335_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS] = _tmp336_; + _tmp344_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH] = _tmp345_; #line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp337_ = _tmp335_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]; + _tmp346_ = _tmp344_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]; #line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp338_ = self->priv->key_names; + _tmp347_ = self->priv->key_names; #line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp338__length1 = self->priv->key_names_length1; + _tmp347__length1 = self->priv->key_names_length1; #line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp339_ = g_strdup ("content-width"); + _tmp348_ = g_strdup ("modify-originals"); #line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp338_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]); + _g_free0 (_tmp347_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]); #line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp338_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH] = _tmp339_; + _tmp347_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS] = _tmp348_; #line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp340_ = _tmp338_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]; + _tmp349_ = _tmp347_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]; #line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp341_ = self->priv->key_names; + _tmp350_ = self->priv->key_names; #line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp341__length1 = self->priv->key_names_length1; + _tmp350__length1 = self->priv->key_names_length1; #line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp342_ = g_strdup ("images-per-page"); + _tmp351_ = g_strdup ("photo-thumbnail-scale"); #line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp341_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]); + _g_free0 (_tmp350_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]); #line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp341_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE] = _tmp342_; + _tmp350_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE] = _tmp351_; #line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp343_ = _tmp341_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]; + _tmp352_ = _tmp350_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]; #line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp344_ = self->priv->key_names; + _tmp353_ = self->priv->key_names; #line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp344__length1 = self->priv->key_names_length1; + _tmp353__length1 = self->priv->key_names_length1; #line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp345_ = g_strdup ("match-aspect-ratio"); + _tmp354_ = g_strdup ("pin-toolbar-state"); #line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp344_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]); + _g_free0 (_tmp353_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]); #line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp344_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO] = _tmp345_; + _tmp353_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE] = _tmp354_; #line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp346_ = _tmp344_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]; + _tmp355_ = _tmp353_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]; #line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp347_ = self->priv->key_names; + _tmp356_ = self->priv->key_names; #line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp347__length1 = self->priv->key_names_length1; + _tmp356__length1 = self->priv->key_names_length1; #line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp348_ = g_strdup ("print-titles"); + _tmp357_ = g_strdup ("content-height"); #line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp347_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]); + _g_free0 (_tmp356_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]); #line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp347_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES] = _tmp348_; + _tmp356_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT] = _tmp357_; #line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp349_ = _tmp347_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]; + _tmp358_ = _tmp356_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]; #line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp350_ = self->priv->key_names; + _tmp359_ = self->priv->key_names; #line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp350__length1 = self->priv->key_names_length1; + _tmp359__length1 = self->priv->key_names_length1; #line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp351_ = g_strdup ("size-selection"); + _tmp360_ = g_strdup ("content-layout"); #line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp350_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]); + _g_free0 (_tmp359_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]); #line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp350_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION] = _tmp351_; + _tmp359_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT] = _tmp360_; #line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp352_ = _tmp350_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]; + _tmp361_ = _tmp359_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]; #line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp353_ = self->priv->key_names; + _tmp362_ = self->priv->key_names; #line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp353__length1 = self->priv->key_names_length1; + _tmp362__length1 = self->priv->key_names_length1; #line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp354_ = g_strdup ("titles-font"); + _tmp363_ = g_strdup ("content-ppi"); #line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp353_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]); + _g_free0 (_tmp362_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]); #line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp353_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT] = _tmp354_; + _tmp362_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI] = _tmp363_; #line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp355_ = _tmp353_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]; + _tmp364_ = _tmp362_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]; #line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp356_ = self->priv->key_names; + _tmp365_ = self->priv->key_names; #line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp356__length1 = self->priv->key_names_length1; + _tmp365__length1 = self->priv->key_names_length1; #line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp357_ = g_strdup ("raw-developer-default"); + _tmp366_ = g_strdup ("content-units"); #line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp356_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]); + _g_free0 (_tmp365_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]); #line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp356_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT] = _tmp357_; + _tmp365_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS] = _tmp366_; #line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp358_ = _tmp356_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]; + _tmp367_ = _tmp365_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]; #line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp359_ = self->priv->key_names; + _tmp368_ = self->priv->key_names; #line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp359__length1 = self->priv->key_names_length1; + _tmp368__length1 = self->priv->key_names_length1; #line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp360_ = g_strdup ("show-welcome-dialog"); + _tmp369_ = g_strdup ("content-width"); #line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp359_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]); + _g_free0 (_tmp368_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]); #line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp359_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG] = _tmp360_; + _tmp368_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH] = _tmp369_; #line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp361_ = _tmp359_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]; + _tmp370_ = _tmp368_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]; #line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp362_ = self->priv->key_names; + _tmp371_ = self->priv->key_names; #line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp362__length1 = self->priv->key_names_length1; + _tmp371__length1 = self->priv->key_names_length1; #line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp363_ = g_strdup ("sidebar-position"); + _tmp372_ = g_strdup ("images-per-page"); #line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp362_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]); + _g_free0 (_tmp371_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]); #line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp362_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION] = _tmp363_; + _tmp371_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE] = _tmp372_; #line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp364_ = _tmp362_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]; + _tmp373_ = _tmp371_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]; #line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp365_ = self->priv->key_names; + _tmp374_ = self->priv->key_names; #line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp365__length1 = self->priv->key_names_length1; + _tmp374__length1 = self->priv->key_names_length1; #line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp366_ = g_strdup ("delay"); + _tmp375_ = g_strdup ("match-aspect-ratio"); #line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp365_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]); + _g_free0 (_tmp374_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]); #line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp365_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY] = _tmp366_; + _tmp374_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO] = _tmp375_; #line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp367_ = _tmp365_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]; + _tmp376_ = _tmp374_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]; #line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp368_ = self->priv->key_names; + _tmp377_ = self->priv->key_names; #line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp368__length1 = self->priv->key_names_length1; + _tmp377__length1 = self->priv->key_names_length1; #line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp369_ = g_strdup ("transition-delay"); + _tmp378_ = g_strdup ("print-titles"); #line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp368_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]); + _g_free0 (_tmp377_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]); #line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp368_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY] = _tmp369_; + _tmp377_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES] = _tmp378_; #line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp370_ = _tmp368_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]; + _tmp379_ = _tmp377_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]; #line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp371_ = self->priv->key_names; + _tmp380_ = self->priv->key_names; #line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp371__length1 = self->priv->key_names_length1; + _tmp380__length1 = self->priv->key_names_length1; #line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp372_ = g_strdup ("transition-effect-id"); + _tmp381_ = g_strdup ("size-selection"); #line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp371_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]); + _g_free0 (_tmp380_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]); #line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp371_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID] = _tmp372_; + _tmp380_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION] = _tmp381_; #line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp373_ = _tmp371_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]; + _tmp382_ = _tmp380_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]; #line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp374_ = self->priv->key_names; + _tmp383_ = self->priv->key_names; #line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp374__length1 = self->priv->key_names_length1; + _tmp383__length1 = self->priv->key_names_length1; #line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp375_ = g_strdup ("show-title"); + _tmp384_ = g_strdup ("titles-font"); #line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp374_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]); + _g_free0 (_tmp383_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]); #line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp374_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE] = _tmp375_; + _tmp383_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT] = _tmp384_; #line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp376_ = _tmp374_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]; + _tmp385_ = _tmp383_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]; #line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp377_ = self->priv->key_names; + _tmp386_ = self->priv->key_names; #line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp377__length1 = self->priv->key_names_length1; + _tmp386__length1 = self->priv->key_names_length1; #line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp378_ = g_strdup ("use-24-hour-time"); + _tmp387_ = g_strdup ("raw-developer-default"); #line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp377_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]); + _g_free0 (_tmp386_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]); #line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp377_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME] = _tmp378_; + _tmp386_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT] = _tmp387_; #line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp379_ = _tmp377_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]; + _tmp388_ = _tmp386_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]; #line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp380_ = self->priv->key_names; + _tmp389_ = self->priv->key_names; #line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp380__length1 = self->priv->key_names_length1; + _tmp389__length1 = self->priv->key_names_length1; #line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp381_ = g_strdup ("use-lowercase-filenames"); + _tmp390_ = g_strdup ("show-welcome-dialog"); #line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp380_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]); + _g_free0 (_tmp389_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]); #line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp380_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES] = _tmp381_; + _tmp389_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG] = _tmp390_; #line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp382_ = _tmp380_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]; + _tmp391_ = _tmp389_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]; #line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp383_ = self->priv->key_names; + _tmp392_ = self->priv->key_names; #line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp383__length1 = self->priv->key_names_length1; + _tmp392__length1 = self->priv->key_names_length1; #line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp384_ = g_strdup ("interpreter-state-cookie"); + _tmp393_ = g_strdup ("sidebar-position"); #line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp383_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]); + _g_free0 (_tmp392_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]); #line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp383_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE] = _tmp384_; + _tmp392_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION] = _tmp393_; #line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp385_ = _tmp383_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]; -#line 29 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return self; -#line 2333 "GSettingsEngine.c" -} - - -GSettingsConfigurationEngine* gsettings_configuration_engine_new (void) { -#line 29 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return gsettings_configuration_engine_construct (TYPE_GSETTINGS_CONFIGURATION_ENGINE); -#line 2340 "GSettingsEngine.c" -} - - -static gboolean gsettings_configuration_engine_schema_has_key (GSettingsConfigurationEngine* self, GSettings* schema_object, const gchar* key) { - gboolean result = FALSE; - GSettings* _tmp0_ = NULL; - gchar** _tmp1_ = NULL; - gchar** _tmp2_ = NULL; + _tmp394_ = _tmp392_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]; +#line 166 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp395_ = self->priv->key_names; +#line 166 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp395__length1 = self->priv->key_names_length1; +#line 166 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp396_ = g_strdup ("delay"); +#line 166 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp395_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]); +#line 166 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp395_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY] = _tmp396_; +#line 166 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp397_ = _tmp395_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]; +#line 167 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp398_ = self->priv->key_names; +#line 167 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp398__length1 = self->priv->key_names_length1; +#line 167 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp399_ = g_strdup ("transition-delay"); +#line 167 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp398_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]); +#line 167 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp398_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY] = _tmp399_; +#line 167 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp400_ = _tmp398_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]; #line 168 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), FALSE); + _tmp401_ = self->priv->key_names; #line 168 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (G_IS_SETTINGS (schema_object), FALSE); + _tmp401__length1 = self->priv->key_names_length1; #line 168 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (key != NULL, FALSE); -#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = schema_object; + _tmp402_ = g_strdup ("transition-effect-id"); +#line 168 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp401_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]); +#line 168 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp401_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID] = _tmp402_; +#line 168 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp403_ = _tmp401_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]; #line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = _tmp1_ = g_settings_list_keys (_tmp0_); -#line 2359 "GSettingsEngine.c" - { - gchar** current_key_collection = NULL; - gint current_key_collection_length1 = 0; - gint _current_key_collection_size_ = 0; - gint current_key_it = 0; + _tmp404_ = self->priv->key_names; #line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - current_key_collection = _tmp2_; + _tmp404__length1 = self->priv->key_names_length1; #line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - current_key_collection_length1 = _vala_array_length (_tmp1_); + _tmp405_ = g_strdup ("show-title"); #line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - for (current_key_it = 0; current_key_it < _vala_array_length (_tmp1_); current_key_it = current_key_it + 1) { -#line 2371 "GSettingsEngine.c" - gchar* _tmp3_ = NULL; - gchar* current_key = NULL; + _g_free0 (_tmp404_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]); #line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = g_strdup (current_key_collection[current_key_it]); + _tmp404_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE] = _tmp405_; #line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - current_key = _tmp3_; -#line 2378 "GSettingsEngine.c" - { - const gchar* _tmp4_ = NULL; - const gchar* _tmp5_ = NULL; + _tmp406_ = _tmp404_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]; +#line 170 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp407_ = self->priv->key_names; +#line 170 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp407__length1 = self->priv->key_names_length1; +#line 170 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp408_ = g_strdup ("use-24-hour-time"); #line 170 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = current_key; + _g_free0 (_tmp407_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]); #line 170 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp5_ = key; + _tmp407_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME] = _tmp408_; #line 170 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (g_strcmp0 (_tmp4_, _tmp5_) == 0) { + _tmp409_ = _tmp407_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]; #line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = TRUE; + _tmp410_ = self->priv->key_names; #line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (current_key); + _tmp410__length1 = self->priv->key_names_length1; #line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - current_key_collection = (_vala_array_free (current_key_collection, current_key_collection_length1, (GDestroyNotify) g_free), NULL); + _tmp411_ = g_strdup ("use-lowercase-filenames"); #line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 2396 "GSettingsEngine.c" - } -#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (current_key); -#line 2400 "GSettingsEngine.c" - } - } -#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - current_key_collection = (_vala_array_free (current_key_collection, current_key_collection_length1, (GDestroyNotify) g_free), NULL); -#line 2405 "GSettingsEngine.c" - } -#line 174 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = FALSE; -#line 174 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 2411 "GSettingsEngine.c" + _g_free0 (_tmp410_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]); +#line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp410_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES] = _tmp411_; +#line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp412_ = _tmp410_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]; +#line 172 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp413_ = self->priv->key_names; +#line 172 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp413__length1 = self->priv->key_names_length1; +#line 172 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp414_ = g_strdup ("interpreter-state-cookie"); +#line 172 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp413_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]); +#line 172 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp413_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE] = _tmp414_; +#line 172 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp415_ = _tmp413_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]; +#line 29 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return self; +#line 2490 "GSettingsEngine.c" +} + + +GSettingsConfigurationEngine* gsettings_configuration_engine_new (void) { +#line 29 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return gsettings_configuration_engine_construct (TYPE_GSETTINGS_CONFIGURATION_ENGINE); +#line 2497 "GSettingsEngine.c" +} + + +static gpointer _g_settings_schema_source_ref0 (gpointer self) { +#line 176 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return self ? g_settings_schema_source_ref (self) : NULL; +#line 2504 "GSettingsEngine.c" } static void gsettings_configuration_engine_check_key_valid (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error) { - GeeSet* _tmp0_ = NULL; - const gchar* _tmp1_ = NULL; - gboolean _tmp2_ = FALSE; - GSettings* schema_object = NULL; - const gchar* _tmp8_ = NULL; - GSettings* _tmp9_ = NULL; - GSettings* _tmp10_ = NULL; - const gchar* _tmp11_ = NULL; - gboolean _tmp12_ = FALSE; + GSettingsSchemaSource* schema_source = NULL; + GSettingsSchemaSource* _tmp0_ = NULL; + GSettingsSchemaSource* _tmp1_ = NULL; + GSettingsSchema* settings_scheme = NULL; + GSettingsSchemaSource* _tmp2_ = NULL; + const gchar* _tmp3_ = NULL; + GSettingsSchema* _tmp4_ = NULL; + GSettingsSchema* _tmp5_ = NULL; + GSettingsSchema* _tmp11_ = NULL; + const gchar* _tmp12_ = NULL; + gboolean _tmp13_ = FALSE; GError * _inner_error_ = NULL; -#line 177 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 175 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); -#line 177 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 175 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (schema != NULL); -#line 177 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 175 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (key != NULL); +#line 176 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = g_settings_schema_source_get_default (); +#line 176 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = _g_settings_schema_source_ref0 (_tmp0_); +#line 176 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_source = _tmp1_; +#line 177 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = schema_source; +#line 177 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = schema; +#line 177 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = g_settings_schema_source_lookup (_tmp2_, _tmp3_, TRUE); +#line 177 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + settings_scheme = _tmp4_; #line 178 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = self->priv->known_schemas; -#line 178 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = schema; -#line 178 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = gee_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection), _tmp1_); + _tmp5_ = settings_scheme; #line 178 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (!_tmp2_) { -#line 2440 "GSettingsEngine.c" - const gchar* _tmp3_ = NULL; - gchar* _tmp4_ = NULL; - gchar* _tmp5_ = NULL; - GError* _tmp6_ = NULL; - GError* _tmp7_ = NULL; + if (_tmp5_ == NULL) { +#line 2545 "GSettingsEngine.c" + const gchar* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; + gchar* _tmp8_ = NULL; + GError* _tmp9_ = NULL; + GError* _tmp10_ = NULL; #line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = schema; + _tmp6_ = schema; #line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = g_strdup_printf ("schema '%s' is not installed", _tmp3_); + _tmp7_ = g_strdup_printf ("schema '%s' is not installed", _tmp6_); #line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp5_ = _tmp4_; + _tmp8_ = _tmp7_; #line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp6_ = g_error_new_literal (CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR, _tmp5_); + _tmp9_ = g_error_new_literal (CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR, _tmp8_); #line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp7_ = _tmp6_; + _tmp10_ = _tmp9_; #line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp5_); + _g_free0 (_tmp8_); #line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _inner_error_ = _tmp7_; + _inner_error_ = _tmp10_; #line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); #line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_settings_schema_unref0 (settings_scheme); +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_settings_schema_source_unref0 (schema_source); +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 2466 "GSettingsEngine.c" +#line 2575 "GSettingsEngine.c" } else { #line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_settings_schema_unref0 (settings_scheme); +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_settings_schema_source_unref0 (schema_source); +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); #line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 2474 "GSettingsEngine.c" +#line 2587 "GSettingsEngine.c" } } -#line 181 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp8_ = schema; -#line 181 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp9_ = g_settings_new (_tmp8_); -#line 181 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_object = _tmp9_; +#line 182 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp11_ = settings_scheme; +#line 182 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp12_ = key; +#line 182 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp13_ = g_settings_schema_has_key (_tmp11_, _tmp12_); +#line 182 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (!_tmp13_) { +#line 2598 "GSettingsEngine.c" + const gchar* _tmp14_ = NULL; + const gchar* _tmp15_ = NULL; + gchar* _tmp16_ = NULL; + gchar* _tmp17_ = NULL; + GError* _tmp18_ = NULL; + GError* _tmp19_ = NULL; #line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp10_ = schema_object; + _tmp14_ = schema; #line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp11_ = key; + _tmp15_ = key; #line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp12_ = gsettings_configuration_engine_schema_has_key (self, _tmp10_, _tmp11_); + _tmp16_ = g_strdup_printf ("schema '%s' does not define key '%s'", _tmp14_, _tmp15_); +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp17_ = _tmp16_; +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp18_ = g_error_new_literal (CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR, _tmp17_); +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp19_ = _tmp18_; +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp17_); +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _inner_error_ = _tmp19_; #line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (!_tmp12_) { -#line 2491 "GSettingsEngine.c" - const gchar* _tmp13_ = NULL; - const gchar* _tmp14_ = NULL; - gchar* _tmp15_ = NULL; - gchar* _tmp16_ = NULL; - GError* _tmp17_ = NULL; - GError* _tmp18_ = NULL; -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp13_ = schema; -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp14_ = key; -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp15_ = g_strdup_printf ("schema '%s' does not define key '%s'", _tmp13_, _tmp14_); -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp16_ = _tmp15_; -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp17_ = g_error_new_literal (CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR, _tmp16_); -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp18_ = _tmp17_; -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp16_); -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _inner_error_ = _tmp18_; -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (schema_object); -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_settings_schema_unref0 (settings_scheme); +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_settings_schema_source_unref0 (schema_source); +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 2522 "GSettingsEngine.c" +#line 2631 "GSettingsEngine.c" } else { -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (schema_object); -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_settings_schema_unref0 (settings_scheme); +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_settings_schema_source_unref0 (schema_source); +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 2532 "GSettingsEngine.c" +#line 2643 "GSettingsEngine.c" } } -#line 177 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (schema_object); -#line 2537 "GSettingsEngine.c" +#line 175 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_settings_schema_unref0 (settings_scheme); +#line 175 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_settings_schema_source_unref0 (schema_source); +#line 2650 "GSettingsEngine.c" } @@ -2548,56 +2661,56 @@ static gboolean gsettings_configuration_engine_get_gs_bool (GSettingsConfigurati const gchar* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; GError * _inner_error_ = NULL; -#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), FALSE); -#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (schema != NULL, FALSE); -#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (key != NULL, FALSE); -#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = schema; -#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = key; -#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); -#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return FALSE; -#line 2572 "GSettingsEngine.c" +#line 2685 "GSettingsEngine.c" } else { -#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return FALSE; -#line 2580 "GSettingsEngine.c" +#line 2693 "GSettingsEngine.c" } } -#line 191 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 190 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = schema; -#line 191 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 190 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = g_settings_new (_tmp2_); -#line 191 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 190 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_object = _tmp3_; -#line 193 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = schema_object; -#line 193 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = key; -#line 193 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = g_settings_get_boolean (_tmp4_, _tmp5_); -#line 193 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp6_; -#line 193 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_object_unref0 (schema_object); -#line 193 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 2601 "GSettingsEngine.c" +#line 2714 "GSettingsEngine.c" } @@ -2611,54 +2724,179 @@ static void gsettings_configuration_engine_set_gs_bool (GSettingsConfigurationEn const gchar* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; GError * _inner_error_ = NULL; -#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 195 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); -#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 195 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (schema != NULL); -#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 195 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (key != NULL); -#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = schema; -#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = key; -#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); -#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 2635 "GSettingsEngine.c" +#line 2748 "GSettingsEngine.c" } else { -#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 2643 "GSettingsEngine.c" +#line 2756 "GSettingsEngine.c" } } -#line 199 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 198 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = schema; -#line 199 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 198 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = g_settings_new (_tmp2_); -#line 199 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 198 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_object = _tmp3_; -#line 201 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = schema_object; -#line 201 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = key; -#line 201 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = value; -#line 201 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_settings_set_boolean (_tmp4_, _tmp5_, _tmp6_); -#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 195 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_object_unref0 (schema_object); -#line 2662 "GSettingsEngine.c" +#line 2775 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_set_gs_enum (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gint value, GError** error) { + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + GSettings* schema_object = NULL; + const gchar* _tmp2_ = NULL; + GSettings* _tmp3_ = NULL; + GSettings* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; + gint _tmp6_ = 0; + GError * _inner_error_ = NULL; +#line 203 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); +#line 203 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (schema != NULL); +#line 203 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (key != NULL); +#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = schema; +#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = key; +#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); +#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 2809 "GSettingsEngine.c" + } else { +#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 2817 "GSettingsEngine.c" + } + } +#line 206 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = schema; +#line 206 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = g_settings_new (_tmp2_); +#line 206 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_object = _tmp3_; +#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = schema_object; +#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = key; +#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = value; +#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_settings_set_enum (_tmp4_, _tmp5_, _tmp6_); +#line 203 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (schema_object); +#line 2836 "GSettingsEngine.c" +} + + +static gint gsettings_configuration_engine_get_gs_enum (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error) { + gint result = 0; + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + GSettings* schema_object = NULL; + const gchar* _tmp2_ = NULL; + GSettings* _tmp3_ = NULL; + GSettings* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; + gint _tmp6_ = 0; + GError * _inner_error_ = NULL; +#line 210 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), 0); +#line 210 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (schema != NULL, 0); +#line 210 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (key != NULL, 0); +#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = schema; +#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = key; +#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); +#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0; +#line 2871 "GSettingsEngine.c" + } else { +#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0; +#line 2879 "GSettingsEngine.c" + } + } +#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = schema; +#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = g_settings_new (_tmp2_); +#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_object = _tmp3_; +#line 214 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = schema_object; +#line 214 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = key; +#line 214 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = g_settings_get_enum (_tmp4_, _tmp5_); +#line 214 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp6_; +#line 214 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (schema_object); +#line 214 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 2900 "GSettingsEngine.c" } @@ -2673,56 +2911,56 @@ static gint gsettings_configuration_engine_get_gs_int (GSettingsConfigurationEng const gchar* _tmp5_ = NULL; gint _tmp6_ = 0; GError * _inner_error_ = NULL; -#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), 0); -#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (schema != NULL, 0); -#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (key != NULL, 0); -#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = schema; -#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = key; -#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); -#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return 0; -#line 2697 "GSettingsEngine.c" +#line 2935 "GSettingsEngine.c" } else { -#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return 0; -#line 2705 "GSettingsEngine.c" +#line 2943 "GSettingsEngine.c" } } -#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 220 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = schema; -#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 220 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = g_settings_new (_tmp2_); -#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 220 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_object = _tmp3_; -#line 209 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = schema_object; -#line 209 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = key; -#line 209 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = g_settings_get_int (_tmp4_, _tmp5_); -#line 209 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp6_; -#line 209 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_object_unref0 (schema_object); -#line 209 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 2726 "GSettingsEngine.c" +#line 2964 "GSettingsEngine.c" } @@ -2736,54 +2974,54 @@ static void gsettings_configuration_engine_set_gs_int (GSettingsConfigurationEng const gchar* _tmp5_ = NULL; gint _tmp6_ = 0; GError * _inner_error_ = NULL; -#line 212 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); -#line 212 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (schema != NULL); -#line 212 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (key != NULL); -#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = schema; -#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = key; -#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); -#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 2760 "GSettingsEngine.c" +#line 2998 "GSettingsEngine.c" } else { -#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 2768 "GSettingsEngine.c" +#line 3006 "GSettingsEngine.c" } } -#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 228 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = schema; -#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 228 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = g_settings_new (_tmp2_); -#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 228 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_object = _tmp3_; -#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = schema_object; -#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = key; -#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = value; -#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_settings_set_int (_tmp4_, _tmp5_, _tmp6_); -#line 212 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_object_unref0 (schema_object); -#line 2787 "GSettingsEngine.c" +#line 3025 "GSettingsEngine.c" } @@ -2798,56 +3036,56 @@ static gdouble gsettings_configuration_engine_get_gs_double (GSettingsConfigurat const gchar* _tmp5_ = NULL; gdouble _tmp6_ = 0.0; GError * _inner_error_ = NULL; -#line 220 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 233 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), 0.0); -#line 220 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 233 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (schema != NULL, 0.0); -#line 220 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 233 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (key != NULL, 0.0); -#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = schema; -#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = key; -#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); -#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return 0.0; -#line 2822 "GSettingsEngine.c" +#line 3060 "GSettingsEngine.c" } else { -#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return 0.0; -#line 2830 "GSettingsEngine.c" +#line 3068 "GSettingsEngine.c" } } -#line 223 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 236 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = schema; -#line 223 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 236 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = g_settings_new (_tmp2_); -#line 223 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 236 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_object = _tmp3_; -#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = schema_object; -#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = key; -#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = g_settings_get_double (_tmp4_, _tmp5_); -#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp6_; -#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_object_unref0 (schema_object); -#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 2851 "GSettingsEngine.c" +#line 3089 "GSettingsEngine.c" } @@ -2861,54 +3099,54 @@ static void gsettings_configuration_engine_set_gs_double (GSettingsConfiguration const gchar* _tmp5_ = NULL; gdouble _tmp6_ = 0.0; GError * _inner_error_ = NULL; -#line 228 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); -#line 228 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (schema != NULL); -#line 228 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (key != NULL); -#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = schema; -#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = key; -#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); -#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 2885 "GSettingsEngine.c" +#line 3123 "GSettingsEngine.c" } else { -#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 2893 "GSettingsEngine.c" +#line 3131 "GSettingsEngine.c" } } -#line 231 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 244 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = schema; -#line 231 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 244 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = g_settings_new (_tmp2_); -#line 231 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 244 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_object = _tmp3_; -#line 233 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = schema_object; -#line 233 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = key; -#line 233 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = value; -#line 233 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_settings_set_double (_tmp4_, _tmp5_, _tmp6_); -#line 228 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_object_unref0 (schema_object); -#line 2912 "GSettingsEngine.c" +#line 3150 "GSettingsEngine.c" } @@ -2923,56 +3161,56 @@ static gchar* gsettings_configuration_engine_get_gs_string (GSettingsConfigurati const gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; GError * _inner_error_ = NULL; -#line 236 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 249 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), NULL); -#line 236 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 249 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (schema != NULL, NULL); -#line 236 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 249 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (key != NULL, NULL); -#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = schema; -#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = key; -#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); -#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return NULL; -#line 2947 "GSettingsEngine.c" +#line 3185 "GSettingsEngine.c" } else { -#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return NULL; -#line 2955 "GSettingsEngine.c" +#line 3193 "GSettingsEngine.c" } } -#line 239 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 252 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = schema; -#line 239 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 252 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = g_settings_new (_tmp2_); -#line 239 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 252 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_object = _tmp3_; -#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = schema_object; -#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = key; -#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = g_settings_get_string (_tmp4_, _tmp5_); -#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp6_; -#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_object_unref0 (schema_object); -#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 2976 "GSettingsEngine.c" +#line 3214 "GSettingsEngine.c" } @@ -2986,56 +3224,56 @@ static void gsettings_configuration_engine_set_gs_string (GSettingsConfiguration const gchar* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; GError * _inner_error_ = NULL; -#line 244 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 257 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); -#line 244 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 257 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (schema != NULL); -#line 244 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 257 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (key != NULL); -#line 244 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 257 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (value != NULL); -#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = schema; -#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = key; -#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); -#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 3012 "GSettingsEngine.c" +#line 3250 "GSettingsEngine.c" } else { -#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 3020 "GSettingsEngine.c" +#line 3258 "GSettingsEngine.c" } } -#line 247 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 260 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = schema; -#line 247 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 260 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = g_settings_new (_tmp2_); -#line 247 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 260 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_object = _tmp3_; -#line 249 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = schema_object; -#line 249 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = key; -#line 249 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = value; -#line 249 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_settings_set_string (_tmp4_, _tmp5_, _tmp6_); -#line 244 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 257 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_object_unref0 (schema_object); -#line 3039 "GSettingsEngine.c" +#line 3277 "GSettingsEngine.c" } @@ -3048,52 +3286,52 @@ static void gsettings_configuration_engine_reset_gs_to_default (GSettingsConfigu GSettings* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; GError * _inner_error_ = NULL; -#line 252 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 265 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); -#line 252 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 265 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (schema != NULL); -#line 252 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 265 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (key != NULL); -#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = schema; -#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = key; -#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); -#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 3072 "GSettingsEngine.c" +#line 3310 "GSettingsEngine.c" } else { -#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 3080 "GSettingsEngine.c" +#line 3318 "GSettingsEngine.c" } } -#line 255 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 268 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = schema; -#line 255 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 268 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = g_settings_new (_tmp2_); -#line 255 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 268 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_object = _tmp3_; -#line 257 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = schema_object; -#line 257 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = key; -#line 257 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_settings_reset (_tmp4_, _tmp5_); -#line 252 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 265 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_object_unref0 (schema_object); -#line 3097 "GSettingsEngine.c" +#line 3335 "GSettingsEngine.c" } @@ -3106,7 +3344,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_return_val_if_fail (old != NULL, NULL); #line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); -#line 3110 "GSettingsEngine.c" +#line 3348 "GSettingsEngine.c" { GRegex* regex = NULL; const gchar* _tmp0_ = NULL; @@ -3137,8 +3375,8 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 3141 "GSettingsEngine.c" - goto __catch189_g_regex_error; +#line 3379 "GSettingsEngine.c" + goto __catch202_g_regex_error; } #line 1382 "/usr/share/vala-0.34/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); @@ -3146,7 +3384,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_clear_error (&_inner_error_); #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; -#line 3150 "GSettingsEngine.c" +#line 3388 "GSettingsEngine.c" } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; @@ -3162,8 +3400,8 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_regex_unref0 (regex); #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 3166 "GSettingsEngine.c" - goto __catch189_g_regex_error; +#line 3404 "GSettingsEngine.c" + goto __catch202_g_regex_error; } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); @@ -3173,7 +3411,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_clear_error (&_inner_error_); #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; -#line 3177 "GSettingsEngine.c" +#line 3415 "GSettingsEngine.c" } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; @@ -3187,10 +3425,10 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_regex_unref0 (regex); #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 3191 "GSettingsEngine.c" +#line 3429 "GSettingsEngine.c" } - goto __finally189; - __catch189_g_regex_error: + goto __finally202; + __catch202_g_regex_error: { GError* e = NULL; #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -3201,9 +3439,9 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_assert_not_reached (); #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); -#line 3205 "GSettingsEngine.c" +#line 3443 "GSettingsEngine.c" } - __finally189: + __finally202: #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -3212,7 +3450,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_clear_error (&_inner_error_); #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; -#line 3216 "GSettingsEngine.c" +#line 3454 "GSettingsEngine.c" } } @@ -3236,7 +3474,7 @@ static gchar* string_strip (const gchar* self) { result = _result_; #line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 3240 "GSettingsEngine.c" +#line 3478 "GSettingsEngine.c" } @@ -3251,49 +3489,49 @@ static gchar* gsettings_configuration_engine_clean_plugin_id (const gchar* id) { const gchar* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; gchar* _tmp8_ = NULL; -#line 260 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 273 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (id != NULL, NULL); -#line 261 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 274 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = id; -#line 261 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 274 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = string_replace (_tmp0_, "/", "-"); -#line 261 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 274 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" cleaned = _tmp1_; -#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 275 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = cleaned; -#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 275 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = string_strip (_tmp2_); -#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 275 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (cleaned); -#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 275 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" cleaned = _tmp3_; -#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 277 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = cleaned; -#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 277 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = is_string_empty (_tmp5_); -#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 277 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (!_tmp6_) { -#line 3277 "GSettingsEngine.c" +#line 3515 "GSettingsEngine.c" const gchar* _tmp7_ = NULL; -#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 277 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = cleaned; -#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 277 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = _tmp7_; -#line 3283 "GSettingsEngine.c" +#line 3521 "GSettingsEngine.c" } else { -#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 277 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = NULL; -#line 3287 "GSettingsEngine.c" +#line 3525 "GSettingsEngine.c" } -#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 277 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp8_ = g_strdup (_tmp4_); -#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 277 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp8_; -#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 277 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (cleaned); -#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 277 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 3297 "GSettingsEngine.c" +#line 3535 "GSettingsEngine.c" } @@ -3307,49 +3545,49 @@ static gchar* gsettings_configuration_engine_get_plugin_enable_disable_name (con gchar* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 267 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 280 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (id != NULL, NULL); -#line 268 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = id; -#line 268 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = gsettings_configuration_engine_clean_plugin_id (_tmp0_); -#line 268 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" cleaned_id = _tmp1_; -#line 269 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 282 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = cleaned_id; -#line 269 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 282 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_tmp2_ == NULL) { -#line 3323 "GSettingsEngine.c" +#line 3561 "GSettingsEngine.c" gchar* _tmp3_ = NULL; -#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 283 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = g_strdup ("default"); -#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 283 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (cleaned_id); -#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 283 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" cleaned_id = _tmp3_; -#line 3331 "GSettingsEngine.c" +#line 3569 "GSettingsEngine.c" } -#line 272 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 285 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = cleaned_id; -#line 272 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 285 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = string_replace (_tmp4_, "org.yorba.shotwell.", ""); -#line 272 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 285 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (cleaned_id); -#line 272 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 285 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" cleaned_id = _tmp5_; -#line 273 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 286 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = cleaned_id; -#line 273 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 286 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = string_replace (_tmp6_, ".", "-"); -#line 273 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 286 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (cleaned_id); -#line 273 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 286 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" cleaned_id = _tmp7_; -#line 275 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 288 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = cleaned_id; -#line 275 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 288 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 3353 "GSettingsEngine.c" +#line 3591 "GSettingsEngine.c" } @@ -3364,51 +3602,51 @@ static gchar* gsettings_configuration_engine_make_plugin_schema_name (const gcha const gchar* _tmp6_ = NULL; const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; -#line 278 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 291 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (domain != NULL, NULL); -#line 278 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 291 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (id != NULL, NULL); -#line 279 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 292 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = id; -#line 279 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 292 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = gsettings_configuration_engine_clean_plugin_id (_tmp0_); -#line 279 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 292 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" cleaned_id = _tmp1_; -#line 280 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 293 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = cleaned_id; -#line 280 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 293 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_tmp2_ == NULL) { -#line 3382 "GSettingsEngine.c" +#line 3620 "GSettingsEngine.c" gchar* _tmp3_ = NULL; -#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 294 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = g_strdup ("default"); -#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 294 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (cleaned_id); -#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 294 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" cleaned_id = _tmp3_; -#line 3390 "GSettingsEngine.c" +#line 3628 "GSettingsEngine.c" } -#line 282 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 295 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = cleaned_id; -#line 282 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 295 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = string_replace (_tmp4_, ".", "-"); -#line 282 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 295 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (cleaned_id); -#line 282 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 295 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" cleaned_id = _tmp5_; -#line 284 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 297 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = domain; -#line 284 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 297 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = cleaned_id; -#line 284 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 297 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp8_ = g_strdup_printf ("org.yorba.shotwell.%s.%s", _tmp6_, _tmp7_); -#line 284 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 297 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp8_; -#line 284 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 297 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (cleaned_id); -#line 284 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 297 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 3412 "GSettingsEngine.c" +#line 3650 "GSettingsEngine.c" } @@ -3416,17 +3654,17 @@ static gchar* gsettings_configuration_engine_make_gsettings_key (const gchar* gc gchar* result = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 287 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (gconf_key != NULL, NULL); -#line 288 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = gconf_key; -#line 288 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = string_replace (_tmp0_, "_", "-"); -#line 288 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp1_; -#line 288 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 3430 "GSettingsEngine.c" +#line 3668 "GSettingsEngine.c" } @@ -3434,15 +3672,140 @@ static gchar* gsettings_configuration_engine_real_get_name (ConfigurationEngine* GSettingsConfigurationEngine * self; gchar* result = NULL; gchar* _tmp0_ = NULL; -#line 291 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 304 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 292 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = g_strdup ("GSettings"); -#line 292 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp0_; -#line 292 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 3684 "GSettingsEngine.c" +} + + +static gint gsettings_configuration_engine_real_get_enum_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error) { + GSettingsConfigurationEngine * self; + gint result = 0; + gint _tmp0_ = 0; + gchar** _tmp1_ = NULL; + gint _tmp1__length1 = 0; + ConfigurableProperty _tmp2_ = 0; + const gchar* _tmp3_ = NULL; + gchar** _tmp4_ = NULL; + gint _tmp4__length1 = 0; + ConfigurableProperty _tmp5_ = 0; + const gchar* _tmp6_ = NULL; + gint _tmp7_ = 0; + GError * _inner_error_ = NULL; +#line 308 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = self->priv->schema_names; +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1__length1 = self->priv->schema_names_length1; +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = p; +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = _tmp1_[_tmp2_]; +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = self->priv->key_names; +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4__length1 = self->priv->key_names_length1; +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = p; +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = _tmp4_[_tmp5_]; +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = gsettings_configuration_engine_get_gs_enum (self, _tmp3_, _tmp6_, &_inner_error_); +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = _tmp7_; +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0; +#line 3732 "GSettingsEngine.c" + } else { +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0; +#line 3740 "GSettingsEngine.c" + } + } +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp0_; +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 3446 "GSettingsEngine.c" +#line 3747 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_real_set_enum_property (ConfigurationEngine* base, ConfigurableProperty p, gint val, GError** error) { + GSettingsConfigurationEngine * self; + gchar** _tmp0_ = NULL; + gint _tmp0__length1 = 0; + ConfigurableProperty _tmp1_ = 0; + const gchar* _tmp2_ = NULL; + gchar** _tmp3_ = NULL; + gint _tmp3__length1 = 0; + ConfigurableProperty _tmp4_ = 0; + const gchar* _tmp5_ = NULL; + gint _tmp6_ = 0; + ConfigurableProperty _tmp7_ = 0; + GError * _inner_error_ = NULL; +#line 312 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = self->priv->schema_names; +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0__length1 = self->priv->schema_names_length1; +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = p; +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = _tmp0_[_tmp1_]; +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = self->priv->key_names; +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3__length1 = self->priv->key_names_length1; +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = p; +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = _tmp3_[_tmp4_]; +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = val; +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_set_gs_enum (self, _tmp2_, _tmp5_, _tmp6_, &_inner_error_); +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 3794 "GSettingsEngine.c" + } else { +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 3802 "GSettingsEngine.c" + } + } +#line 314 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = p; +#line 314 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", _tmp7_); +#line 3809 "GSettingsEngine.c" } @@ -3460,52 +3823,52 @@ static gint gsettings_configuration_engine_real_get_int_property (ConfigurationE const gchar* _tmp6_ = NULL; gint _tmp7_ = 0; GError * _inner_error_ = NULL; -#line 295 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = self->priv->schema_names; -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1__length1 = self->priv->schema_names_length1; -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = p; -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = _tmp1_[_tmp2_]; -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = self->priv->key_names; -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4__length1 = self->priv->key_names_length1; -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = p; -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = _tmp4_[_tmp5_]; -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = gsettings_configuration_engine_get_gs_int (self, _tmp3_, _tmp6_, &_inner_error_); -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = _tmp7_; -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return 0; -#line 3494 "GSettingsEngine.c" +#line 3857 "GSettingsEngine.c" } else { -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return 0; -#line 3502 "GSettingsEngine.c" +#line 3865 "GSettingsEngine.c" } } -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp0_; -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 318 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 3509 "GSettingsEngine.c" +#line 3872 "GSettingsEngine.c" } @@ -3522,52 +3885,52 @@ static void gsettings_configuration_engine_real_set_int_property (ConfigurationE gint _tmp6_ = 0; ConfigurableProperty _tmp7_ = 0; GError * _inner_error_ = NULL; -#line 299 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 321 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = self->priv->schema_names; -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0__length1 = self->priv->schema_names_length1; -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = p; -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = _tmp0_[_tmp1_]; -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = self->priv->key_names; -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3__length1 = self->priv->key_names_length1; -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = p; -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = _tmp3_[_tmp4_]; -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = val; -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_set_gs_int (self, _tmp2_, _tmp5_, _tmp6_, &_inner_error_); -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 3556 "GSettingsEngine.c" +#line 3919 "GSettingsEngine.c" } else { -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 3564 "GSettingsEngine.c" +#line 3927 "GSettingsEngine.c" } } -#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 323 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = p; -#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 323 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", _tmp7_); -#line 3571 "GSettingsEngine.c" +#line 3934 "GSettingsEngine.c" } @@ -3590,7 +3953,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { _tmp3_ = end; #line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { -#line 3594 "GSettingsEngine.c" +#line 3957 "GSettingsEngine.c" glong _tmp4_ = 0L; #line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; @@ -3598,7 +3961,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { result = _tmp4_; #line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 3602 "GSettingsEngine.c" +#line 3965 "GSettingsEngine.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; @@ -3610,7 +3973,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { result = (glong) (_tmp5_ - _tmp6_); #line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 3614 "GSettingsEngine.c" +#line 3977 "GSettingsEngine.c" } } @@ -3634,21 +3997,21 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp1_ = offset; #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { -#line 3638 "GSettingsEngine.c" +#line 4001 "GSettingsEngine.c" glong _tmp2_ = 0L; #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); -#line 3644 "GSettingsEngine.c" +#line 4007 "GSettingsEngine.c" } else { #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; -#line 3648 "GSettingsEngine.c" +#line 4011 "GSettingsEngine.c" } #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { -#line 3652 "GSettingsEngine.c" +#line 4015 "GSettingsEngine.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; @@ -3660,7 +4023,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); #line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; -#line 3664 "GSettingsEngine.c" +#line 4027 "GSettingsEngine.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; @@ -3670,13 +4033,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp7_ = _tmp6_; #line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; -#line 3674 "GSettingsEngine.c" +#line 4037 "GSettingsEngine.c" } #line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; #line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { -#line 3680 "GSettingsEngine.c" +#line 4043 "GSettingsEngine.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; @@ -3690,7 +4053,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp11_ = offset; #line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); -#line 3694 "GSettingsEngine.c" +#line 4057 "GSettingsEngine.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; @@ -3700,13 +4063,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp13_ = string_length; #line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); -#line 3704 "GSettingsEngine.c" +#line 4067 "GSettingsEngine.c" } #line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; #line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { -#line 3710 "GSettingsEngine.c" +#line 4073 "GSettingsEngine.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; #line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -3715,7 +4078,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp16_ = offset; #line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; -#line 3719 "GSettingsEngine.c" +#line 4082 "GSettingsEngine.c" } #line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; @@ -3735,7 +4098,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { result = _tmp22_; #line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 3739 "GSettingsEngine.c" +#line 4102 "GSettingsEngine.c" } @@ -3756,72 +4119,72 @@ static gchar* gsettings_configuration_engine_real_get_string_property (Configura gchar* _tmp7_ = NULL; ConfigurableProperty _tmp8_ = 0; GError * _inner_error_ = NULL; -#line 304 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = self->priv->schema_names; -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0__length1 = self->priv->schema_names_length1; -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = p; -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = _tmp0_[_tmp1_]; -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = self->priv->key_names; -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3__length1 = self->priv->key_names_length1; -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = p; -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = _tmp3_[_tmp4_]; -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = gsettings_configuration_engine_get_gs_string (self, _tmp2_, _tmp5_, &_inner_error_); -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gs_result = _tmp6_; -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return NULL; -#line 3790 "GSettingsEngine.c" +#line 4153 "GSettingsEngine.c" } else { -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 327 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return NULL; -#line 3798 "GSettingsEngine.c" +#line 4161 "GSettingsEngine.c" } } -#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = g_strdup (gs_result); -#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _result_ = _tmp7_; -#line 310 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 332 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp8_ = p; -#line 310 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 332 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_tmp8_ == CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE) { -#line 3809 "GSettingsEngine.c" +#line 4172 "GSettingsEngine.c" gchar* _tmp9_ = NULL; -#line 311 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 333 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp9_ = string_substring (gs_result, (glong) 7, (glong) -1); -#line 311 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 333 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (_result_); -#line 311 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 333 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _result_ = _tmp9_; -#line 3817 "GSettingsEngine.c" +#line 4180 "GSettingsEngine.c" } -#line 314 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 336 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _result_; -#line 314 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 336 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (gs_result); -#line 314 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 336 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 3825 "GSettingsEngine.c" +#line 4188 "GSettingsEngine.c" } @@ -3843,96 +4206,96 @@ static void gsettings_configuration_engine_real_set_string_property (Configurati const gchar* _tmp13_ = NULL; ConfigurableProperty _tmp14_ = 0; GError * _inner_error_ = NULL; -#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (val != NULL); -#line 319 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 341 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = val; -#line 319 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 341 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = g_strdup (_tmp0_); -#line 319 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 341 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" converted_val = _tmp1_; -#line 320 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 342 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = p; -#line 320 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 342 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_tmp3_ == CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE) { -#line 320 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 342 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = TRUE; -#line 3863 "GSettingsEngine.c" +#line 4226 "GSettingsEngine.c" } else { ConfigurableProperty _tmp4_ = 0; -#line 321 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = p; -#line 321 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = _tmp4_ == CONFIGURABLE_PROPERTY_SCREENSAVER_FILE; -#line 3870 "GSettingsEngine.c" +#line 4233 "GSettingsEngine.c" } -#line 320 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 342 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_tmp2_) { -#line 3874 "GSettingsEngine.c" +#line 4237 "GSettingsEngine.c" const gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 344 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = val; -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 344 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = g_strconcat ("file://", _tmp5_, NULL); -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 344 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (converted_val); -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 344 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" converted_val = _tmp6_; -#line 3885 "GSettingsEngine.c" +#line 4248 "GSettingsEngine.c" } -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = self->priv->schema_names; -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7__length1 = self->priv->schema_names_length1; -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp8_ = p; -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp9_ = _tmp7_[_tmp8_]; -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp10_ = self->priv->key_names; -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp10__length1 = self->priv->key_names_length1; -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp11_ = p; -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp12_ = _tmp10_[_tmp11_]; -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp13_ = converted_val; -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_set_gs_string (self, _tmp9_, _tmp12_, _tmp13_, &_inner_error_); -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (converted_val); -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 3917 "GSettingsEngine.c" +#line 4280 "GSettingsEngine.c" } else { -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (converted_val); -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 3927 "GSettingsEngine.c" +#line 4290 "GSettingsEngine.c" } } -#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp14_ = p; -#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", _tmp14_); -#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (converted_val); -#line 3936 "GSettingsEngine.c" +#line 4299 "GSettingsEngine.c" } @@ -3950,52 +4313,52 @@ static gboolean gsettings_configuration_engine_real_get_bool_property (Configura const gchar* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; GError * _inner_error_ = NULL; -#line 329 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = self->priv->schema_names; -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1__length1 = self->priv->schema_names_length1; -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = p; -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = _tmp1_[_tmp2_]; -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = self->priv->key_names; -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4__length1 = self->priv->key_names_length1; -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = p; -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = _tmp4_[_tmp5_]; -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = gsettings_configuration_engine_get_gs_bool (self, _tmp3_, _tmp6_, &_inner_error_); -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = _tmp7_; -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return FALSE; -#line 3984 "GSettingsEngine.c" +#line 4347 "GSettingsEngine.c" } else { -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return FALSE; -#line 3992 "GSettingsEngine.c" +#line 4355 "GSettingsEngine.c" } } -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp0_; -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 352 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 3999 "GSettingsEngine.c" +#line 4362 "GSettingsEngine.c" } @@ -4012,52 +4375,52 @@ static void gsettings_configuration_engine_real_set_bool_property (Configuration gboolean _tmp6_ = FALSE; ConfigurableProperty _tmp7_ = 0; GError * _inner_error_ = NULL; -#line 333 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 355 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = self->priv->schema_names; -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0__length1 = self->priv->schema_names_length1; -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = p; -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = _tmp0_[_tmp1_]; -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = self->priv->key_names; -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3__length1 = self->priv->key_names_length1; -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = p; -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = _tmp3_[_tmp4_]; -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = val; -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_set_gs_bool (self, _tmp2_, _tmp5_, _tmp6_, &_inner_error_); -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 4046 "GSettingsEngine.c" +#line 4409 "GSettingsEngine.c" } else { -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 4054 "GSettingsEngine.c" +#line 4417 "GSettingsEngine.c" } } -#line 335 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 357 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = p; -#line 335 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 357 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", _tmp7_); -#line 4061 "GSettingsEngine.c" +#line 4424 "GSettingsEngine.c" } @@ -4075,52 +4438,52 @@ static gdouble gsettings_configuration_engine_real_get_double_property (Configur const gchar* _tmp6_ = NULL; gdouble _tmp7_ = 0.0; GError * _inner_error_ = NULL; -#line 338 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = self->priv->schema_names; -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1__length1 = self->priv->schema_names_length1; -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = p; -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = _tmp1_[_tmp2_]; -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = self->priv->key_names; -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4__length1 = self->priv->key_names_length1; -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = p; -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = _tmp4_[_tmp5_]; -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = gsettings_configuration_engine_get_gs_double (self, _tmp3_, _tmp6_, &_inner_error_); -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = _tmp7_; -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return 0.0; -#line 4109 "GSettingsEngine.c" +#line 4472 "GSettingsEngine.c" } else { -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return 0.0; -#line 4117 "GSettingsEngine.c" +#line 4480 "GSettingsEngine.c" } } -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp0_; -#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 4124 "GSettingsEngine.c" +#line 4487 "GSettingsEngine.c" } @@ -4137,52 +4500,52 @@ static void gsettings_configuration_engine_real_set_double_property (Configurati gdouble _tmp6_ = 0.0; ConfigurableProperty _tmp7_ = 0; GError * _inner_error_ = NULL; -#line 342 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 364 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = self->priv->schema_names; -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0__length1 = self->priv->schema_names_length1; -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = p; -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = _tmp0_[_tmp1_]; -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = self->priv->key_names; -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3__length1 = self->priv->key_names_length1; -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = p; -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = _tmp3_[_tmp4_]; -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = val; -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_set_gs_double (self, _tmp2_, _tmp5_, _tmp6_, &_inner_error_); -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_propagate_error (error, _inner_error_); -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 4171 "GSettingsEngine.c" +#line 4534 "GSettingsEngine.c" } else { -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 4179 "GSettingsEngine.c" +#line 4542 "GSettingsEngine.c" } } -#line 344 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 366 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = p; -#line 344 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 366 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", _tmp7_); -#line 4186 "GSettingsEngine.c" +#line 4549 "GSettingsEngine.c" } @@ -4194,23 +4557,23 @@ static gboolean gsettings_configuration_engine_real_get_plugin_bool (Configurati const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; GError * _inner_error_ = NULL; -#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (domain != NULL, FALSE); -#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (id != NULL, FALSE); -#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (key != NULL, FALSE); -#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 370 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = domain; -#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 370 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = id; -#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 370 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); -#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 370 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_name = _tmp2_; -#line 4214 "GSettingsEngine.c" +#line 4577 "GSettingsEngine.c" { gboolean _tmp3_ = FALSE; const gchar* _tmp4_ = NULL; @@ -4218,84 +4581,84 @@ static gboolean gsettings_configuration_engine_real_get_plugin_bool (Configurati gchar* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; gboolean _tmp8_ = FALSE; -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = key; -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = gsettings_configuration_engine_make_gsettings_key (_tmp4_); -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = _tmp5_; -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = gsettings_configuration_engine_get_gs_bool (self, schema_name, _tmp6_, &_inner_error_); -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp8_ = _tmp7_; -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (_tmp6_); -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = _tmp8_; -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4240 "GSettingsEngine.c" - goto __catch190_configuration_error; +#line 4603 "GSettingsEngine.c" + goto __catch203_configuration_error; } -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" 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); -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return FALSE; -#line 4251 "GSettingsEngine.c" +#line 4614 "GSettingsEngine.c" } -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp3_; -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 4259 "GSettingsEngine.c" +#line 4622 "GSettingsEngine.c" } - goto __finally190; - __catch190_configuration_error: + goto __finally203; + __catch203_configuration_error: { GError* err = NULL; GError* _tmp9_ = NULL; const gchar* _tmp10_ = NULL; gboolean _tmp11_ = FALSE; -#line 350 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" err = _inner_error_; -#line 350 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _inner_error_ = NULL; -#line 353 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 375 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp9_ = err; -#line 353 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 375 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp10_ = _tmp9_->message; -#line 353 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:353: GSettingsConfigurationEngine: error: %s", _tmp10_); -#line 354 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 375 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:375: GSettingsConfigurationEngine: error: %s", _tmp10_); +#line 376 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp11_ = def; -#line 354 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 376 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp11_; -#line 354 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 376 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_error_free0 (err); -#line 354 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 376 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 354 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 376 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 4288 "GSettingsEngine.c" +#line 4651 "GSettingsEngine.c" } - __finally190: -#line 350 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + __finally203: +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 350 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 350 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 350 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return FALSE; -#line 4299 "GSettingsEngine.c" +#line 4662 "GSettingsEngine.c" } @@ -4306,94 +4669,94 @@ static void gsettings_configuration_engine_real_set_plugin_bool (ConfigurationEn const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; GError * _inner_error_ = NULL; -#line 358 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 358 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (domain != NULL); -#line 358 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (id != NULL); -#line 358 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (key != NULL); -#line 359 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 381 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = domain; -#line 359 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 381 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = id; -#line 359 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 381 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); -#line 359 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 381 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_name = _tmp2_; -#line 4326 "GSettingsEngine.c" +#line 4689 "GSettingsEngine.c" { const gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; -#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = key; -#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = gsettings_configuration_engine_make_gsettings_key (_tmp3_); -#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = _tmp4_; -#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = val; -#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_set_gs_bool (self, schema_name, _tmp5_, _tmp6_, &_inner_error_); -#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (_tmp5_); -#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4348 "GSettingsEngine.c" - goto __catch191_configuration_error; +#line 4711 "GSettingsEngine.c" + goto __catch204_configuration_error; } -#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" 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); -#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 4359 "GSettingsEngine.c" +#line 4722 "GSettingsEngine.c" } } - goto __finally191; - __catch191_configuration_error: + goto __finally204; + __catch204_configuration_error: { GError* err = NULL; GError* _tmp7_ = NULL; const gchar* _tmp8_ = NULL; -#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" err = _inner_error_; -#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _inner_error_ = NULL; -#line 364 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 386 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = err; -#line 364 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 386 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp8_ = _tmp7_->message; -#line 364 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:364: GSettingsConfigurationEngine: error: %s", _tmp8_); -#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 386 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:386: GSettingsConfigurationEngine: error: %s", _tmp8_); +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_error_free0 (err); -#line 4380 "GSettingsEngine.c" +#line 4743 "GSettingsEngine.c" } - __finally191: -#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + __finally204: +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 4393 "GSettingsEngine.c" +#line 4756 "GSettingsEngine.c" } -#line 358 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 4397 "GSettingsEngine.c" +#line 4760 "GSettingsEngine.c" } @@ -4405,23 +4768,23 @@ static gdouble gsettings_configuration_engine_real_get_plugin_double (Configurat const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; GError * _inner_error_ = NULL; -#line 368 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 368 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (domain != NULL, 0.0); -#line 368 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (id != NULL, 0.0); -#line 368 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (key != NULL, 0.0); -#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 391 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = domain; -#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 391 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = id; -#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 391 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); -#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 391 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_name = _tmp2_; -#line 4425 "GSettingsEngine.c" +#line 4788 "GSettingsEngine.c" { gdouble _tmp3_ = 0.0; const gchar* _tmp4_ = NULL; @@ -4429,84 +4792,84 @@ static gdouble gsettings_configuration_engine_real_get_plugin_double (Configurat gchar* _tmp6_ = NULL; gdouble _tmp7_ = 0.0; gdouble _tmp8_ = 0.0; -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = key; -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = gsettings_configuration_engine_make_gsettings_key (_tmp4_); -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = _tmp5_; -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = gsettings_configuration_engine_get_gs_double (self, schema_name, _tmp6_, &_inner_error_); -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp8_ = _tmp7_; -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (_tmp6_); -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = _tmp8_; -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4451 "GSettingsEngine.c" - goto __catch192_configuration_error; +#line 4814 "GSettingsEngine.c" + goto __catch205_configuration_error; } -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" 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); -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return 0.0; -#line 4462 "GSettingsEngine.c" +#line 4825 "GSettingsEngine.c" } -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp3_; -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 4470 "GSettingsEngine.c" +#line 4833 "GSettingsEngine.c" } - goto __finally192; - __catch192_configuration_error: + goto __finally205; + __catch205_configuration_error: { GError* err = NULL; GError* _tmp9_ = NULL; const gchar* _tmp10_ = NULL; gdouble _tmp11_ = 0.0; -#line 371 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" err = _inner_error_; -#line 371 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _inner_error_ = NULL; -#line 374 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 396 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp9_ = err; -#line 374 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 396 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp10_ = _tmp9_->message; -#line 374 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:374: GSettingsConfigurationEngine: error: %s", _tmp10_); -#line 375 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 396 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:396: GSettingsConfigurationEngine: error: %s", _tmp10_); +#line 397 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp11_ = def; -#line 375 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 397 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp11_; -#line 375 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 397 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_error_free0 (err); -#line 375 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 397 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 375 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 397 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 4499 "GSettingsEngine.c" +#line 4862 "GSettingsEngine.c" } - __finally192: -#line 371 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + __finally205: +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 371 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 371 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 371 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return 0.0; -#line 4510 "GSettingsEngine.c" +#line 4873 "GSettingsEngine.c" } @@ -4517,94 +4880,94 @@ static void gsettings_configuration_engine_real_set_plugin_double (Configuration const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; GError * _inner_error_ = NULL; -#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (domain != NULL); -#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (id != NULL); -#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (key != NULL); -#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 402 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = domain; -#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 402 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = id; -#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 402 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); -#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 402 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_name = _tmp2_; -#line 4537 "GSettingsEngine.c" +#line 4900 "GSettingsEngine.c" { const gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gdouble _tmp6_ = 0.0; -#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = key; -#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = gsettings_configuration_engine_make_gsettings_key (_tmp3_); -#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = _tmp4_; -#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = val; -#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_set_gs_double (self, schema_name, _tmp5_, _tmp6_, &_inner_error_); -#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (_tmp5_); -#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4559 "GSettingsEngine.c" - goto __catch193_configuration_error; +#line 4922 "GSettingsEngine.c" + goto __catch206_configuration_error; } -#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" 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); -#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 4570 "GSettingsEngine.c" +#line 4933 "GSettingsEngine.c" } } - goto __finally193; - __catch193_configuration_error: + goto __finally206; + __catch206_configuration_error: { GError* err = NULL; GError* _tmp7_ = NULL; const gchar* _tmp8_ = NULL; -#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" err = _inner_error_; -#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _inner_error_ = NULL; -#line 385 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 407 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = err; -#line 385 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 407 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp8_ = _tmp7_->message; -#line 385 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:385: GSettingsConfigurationEngine: error: %s", _tmp8_); -#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 407 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:407: GSettingsConfigurationEngine: error: %s", _tmp8_); +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_error_free0 (err); -#line 4591 "GSettingsEngine.c" +#line 4954 "GSettingsEngine.c" } - __finally193: -#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + __finally206: +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 4604 "GSettingsEngine.c" +#line 4967 "GSettingsEngine.c" } -#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 4608 "GSettingsEngine.c" +#line 4971 "GSettingsEngine.c" } @@ -4616,23 +4979,23 @@ static gint gsettings_configuration_engine_real_get_plugin_int (ConfigurationEng const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; GError * _inner_error_ = NULL; -#line 389 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 389 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (domain != NULL, 0); -#line 389 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (id != NULL, 0); -#line 389 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (key != NULL, 0); -#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 412 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = domain; -#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 412 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = id; -#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 412 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); -#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 412 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_name = _tmp2_; -#line 4636 "GSettingsEngine.c" +#line 4999 "GSettingsEngine.c" { gint _tmp3_ = 0; const gchar* _tmp4_ = NULL; @@ -4640,84 +5003,84 @@ static gint gsettings_configuration_engine_real_get_plugin_int (ConfigurationEng gchar* _tmp6_ = NULL; gint _tmp7_ = 0; gint _tmp8_ = 0; -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = key; -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = gsettings_configuration_engine_make_gsettings_key (_tmp4_); -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = _tmp5_; -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = gsettings_configuration_engine_get_gs_int (self, schema_name, _tmp6_, &_inner_error_); -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp8_ = _tmp7_; -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (_tmp6_); -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = _tmp8_; -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4662 "GSettingsEngine.c" - goto __catch194_configuration_error; +#line 5025 "GSettingsEngine.c" + goto __catch207_configuration_error; } -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" 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); -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return 0; -#line 4673 "GSettingsEngine.c" +#line 5036 "GSettingsEngine.c" } -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp3_; -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 4681 "GSettingsEngine.c" +#line 5044 "GSettingsEngine.c" } - goto __finally194; - __catch194_configuration_error: + goto __finally207; + __catch207_configuration_error: { GError* err = NULL; GError* _tmp9_ = NULL; const gchar* _tmp10_ = NULL; gint _tmp11_ = 0; -#line 392 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" err = _inner_error_; -#line 392 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _inner_error_ = NULL; -#line 395 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 417 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp9_ = err; -#line 395 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 417 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp10_ = _tmp9_->message; -#line 395 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:395: GSettingsConfigurationEngine: error: %s", _tmp10_); -#line 396 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 417 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:417: GSettingsConfigurationEngine: error: %s", _tmp10_); +#line 418 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp11_ = def; -#line 396 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 418 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp11_; -#line 396 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 418 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_error_free0 (err); -#line 396 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 418 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 396 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 418 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 4710 "GSettingsEngine.c" +#line 5073 "GSettingsEngine.c" } - __finally194: -#line 392 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + __finally207: +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 392 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 392 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 392 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return 0; -#line 4721 "GSettingsEngine.c" +#line 5084 "GSettingsEngine.c" } @@ -4728,94 +5091,94 @@ static void gsettings_configuration_engine_real_set_plugin_int (ConfigurationEng const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; GError * _inner_error_ = NULL; -#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (domain != NULL); -#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (id != NULL); -#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (key != NULL); -#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 423 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = domain; -#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 423 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = id; -#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 423 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); -#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 423 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_name = _tmp2_; -#line 4748 "GSettingsEngine.c" +#line 5111 "GSettingsEngine.c" { const gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; gint _tmp6_ = 0; -#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = key; -#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = gsettings_configuration_engine_make_gsettings_key (_tmp3_); -#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = _tmp4_; -#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = val; -#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_set_gs_int (self, schema_name, _tmp5_, _tmp6_, &_inner_error_); -#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (_tmp5_); -#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4770 "GSettingsEngine.c" - goto __catch195_configuration_error; +#line 5133 "GSettingsEngine.c" + goto __catch208_configuration_error; } -#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" 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); -#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 4781 "GSettingsEngine.c" +#line 5144 "GSettingsEngine.c" } } - goto __finally195; - __catch195_configuration_error: + goto __finally208; + __catch208_configuration_error: { GError* err = NULL; GError* _tmp7_ = NULL; const gchar* _tmp8_ = NULL; -#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" err = _inner_error_; -#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _inner_error_ = NULL; -#line 406 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 428 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = err; -#line 406 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 428 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp8_ = _tmp7_->message; -#line 406 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:406: GSettingsConfigurationEngine: error: %s", _tmp8_); -#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 428 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:428: GSettingsConfigurationEngine: error: %s", _tmp8_); +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_error_free0 (err); -#line 4802 "GSettingsEngine.c" +#line 5165 "GSettingsEngine.c" } - __finally195: -#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + __finally208: +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 4815 "GSettingsEngine.c" +#line 5178 "GSettingsEngine.c" } -#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 4819 "GSettingsEngine.c" +#line 5182 "GSettingsEngine.c" } @@ -4827,23 +5190,23 @@ static gchar* gsettings_configuration_engine_real_get_plugin_string (Configurati const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; GError * _inner_error_ = NULL; -#line 410 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 410 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (domain != NULL, NULL); -#line 410 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (id != NULL, NULL); -#line 410 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (key != NULL, NULL); -#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 433 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = domain; -#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 433 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = id; -#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 433 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); -#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 433 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_name = _tmp2_; -#line 4847 "GSettingsEngine.c" +#line 5210 "GSettingsEngine.c" { gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; @@ -4852,93 +5215,93 @@ static gchar* gsettings_configuration_engine_real_get_plugin_string (Configurati gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = key; -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = gsettings_configuration_engine_make_gsettings_key (_tmp4_); -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = _tmp5_; -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = gsettings_configuration_engine_get_gs_string (self, schema_name, _tmp6_, &_inner_error_); -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp8_ = _tmp7_; -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (_tmp6_); -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = _tmp8_; -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4874 "GSettingsEngine.c" - goto __catch196_configuration_error; +#line 5237 "GSettingsEngine.c" + goto __catch209_configuration_error; } -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" 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); -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return NULL; -#line 4885 "GSettingsEngine.c" +#line 5248 "GSettingsEngine.c" } -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp9_ = _tmp3_; -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = NULL; -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp9_; -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (_tmp3_); -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 4899 "GSettingsEngine.c" +#line 5262 "GSettingsEngine.c" } - goto __finally196; - __catch196_configuration_error: + goto __finally209; + __catch209_configuration_error: { GError* err = NULL; GError* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; const gchar* _tmp12_ = NULL; gchar* _tmp13_ = NULL; -#line 413 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" err = _inner_error_; -#line 413 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _inner_error_ = NULL; -#line 416 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 438 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp10_ = err; -#line 416 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 438 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp11_ = _tmp10_->message; -#line 416 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:416: GSettingsConfigurationEngine: error: %s", _tmp11_); -#line 417 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 438 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:438: GSettingsConfigurationEngine: error: %s", _tmp11_); +#line 439 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp12_ = def; -#line 417 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 439 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp13_ = g_strdup (_tmp12_); -#line 417 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 439 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp13_; -#line 417 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 439 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_error_free0 (err); -#line 417 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 439 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 417 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 439 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 4931 "GSettingsEngine.c" +#line 5294 "GSettingsEngine.c" } - __finally196: -#line 413 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + __finally209: +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 413 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 413 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 413 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return NULL; -#line 4942 "GSettingsEngine.c" +#line 5305 "GSettingsEngine.c" } @@ -4949,94 +5312,94 @@ static void gsettings_configuration_engine_real_set_plugin_string (Configuration const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; GError * _inner_error_ = NULL; -#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (domain != NULL); -#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (id != NULL); -#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (key != NULL); -#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = domain; -#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = id; -#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); -#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_name = _tmp2_; -#line 4969 "GSettingsEngine.c" +#line 5332 "GSettingsEngine.c" { const gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; -#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = key; -#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = gsettings_configuration_engine_make_gsettings_key (_tmp3_); -#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = _tmp4_; -#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = val; -#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_set_gs_string (self, schema_name, _tmp5_, _tmp6_, &_inner_error_); -#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (_tmp5_); -#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4991 "GSettingsEngine.c" - goto __catch197_configuration_error; +#line 5354 "GSettingsEngine.c" + goto __catch210_configuration_error; } -#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" 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); -#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 5002 "GSettingsEngine.c" +#line 5365 "GSettingsEngine.c" } } - goto __finally197; - __catch197_configuration_error: + goto __finally210; + __catch210_configuration_error: { GError* err = NULL; GError* _tmp7_ = NULL; const gchar* _tmp8_ = NULL; -#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 446 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" err = _inner_error_; -#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 446 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _inner_error_ = NULL; -#line 427 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 449 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = err; -#line 427 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 449 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp8_ = _tmp7_->message; -#line 427 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:427: GSettingsConfigurationEngine: error: %s", _tmp8_); -#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 449 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:449: GSettingsConfigurationEngine: error: %s", _tmp8_); +#line 446 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_error_free0 (err); -#line 5023 "GSettingsEngine.c" +#line 5386 "GSettingsEngine.c" } - __finally197: -#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + __finally210: +#line 446 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 446 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 446 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 446 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 446 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 5036 "GSettingsEngine.c" +#line 5399 "GSettingsEngine.c" } -#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 5040 "GSettingsEngine.c" +#line 5403 "GSettingsEngine.c" } @@ -5047,91 +5410,91 @@ static void gsettings_configuration_engine_real_unset_plugin_key (ConfigurationE const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; GError * _inner_error_ = NULL; -#line 431 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 431 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (domain != NULL); -#line 431 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (id != NULL); -#line 431 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (key != NULL); -#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 454 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = domain; -#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 454 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = id; -#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 454 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); -#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 454 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" schema_name = _tmp2_; -#line 5067 "GSettingsEngine.c" +#line 5430 "GSettingsEngine.c" { const gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = key; -#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = gsettings_configuration_engine_make_gsettings_key (_tmp3_); -#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = _tmp4_; -#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_reset_gs_to_default (self, schema_name, _tmp5_, &_inner_error_); -#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (_tmp5_); -#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5086 "GSettingsEngine.c" - goto __catch198_configuration_error; +#line 5449 "GSettingsEngine.c" + goto __catch211_configuration_error; } -#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" 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); -#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 5097 "GSettingsEngine.c" +#line 5460 "GSettingsEngine.c" } } - goto __finally198; - __catch198_configuration_error: + goto __finally211; + __catch211_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; const gchar* _tmp7_ = NULL; -#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" err = _inner_error_; -#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _inner_error_ = NULL; -#line 437 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 459 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = err; -#line 437 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 459 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = _tmp6_->message; -#line 437 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:437: GSettingsConfigurationEngine: error: %s", _tmp7_); -#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 459 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:459: GSettingsConfigurationEngine: error: %s", _tmp7_); +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_error_free0 (err); -#line 5118 "GSettingsEngine.c" +#line 5481 "GSettingsEngine.c" } - __finally198: -#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + __finally211: +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 5131 "GSettingsEngine.c" +#line 5494 "GSettingsEngine.c" } -#line 431 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (schema_name); -#line 5135 "GSettingsEngine.c" +#line 5498 "GSettingsEngine.c" } @@ -5142,96 +5505,96 @@ static FuzzyPropertyState gsettings_configuration_engine_real_is_plugin_enabled const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; GError * _inner_error_ = NULL; -#line 441 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 463 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 441 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 463 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_val_if_fail (id != NULL, 0); -#line 442 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 464 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = id; -#line 442 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 464 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = gsettings_configuration_engine_get_plugin_enable_disable_name (_tmp0_); -#line 442 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 464 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" enable_disable_name = _tmp1_; -#line 5156 "GSettingsEngine.c" +#line 5519 "GSettingsEngine.c" { FuzzyPropertyState _tmp2_ = 0; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = gsettings_configuration_engine_get_gs_bool (self, GSETTINGS_CONFIGURATION_ENGINE_PLUGINS_ENABLE_DISABLE_SCHEMA_NAME, enable_disable_name, &_inner_error_); -#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = _tmp4_; -#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5169 "GSettingsEngine.c" - goto __catch199_configuration_error; +#line 5532 "GSettingsEngine.c" + goto __catch212_configuration_error; } -#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (enable_disable_name); -#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" 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); -#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return 0; -#line 5180 "GSettingsEngine.c" +#line 5543 "GSettingsEngine.c" } -#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_tmp3_) { -#line 446 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = FUZZY_PROPERTY_STATE_ENABLED; -#line 5186 "GSettingsEngine.c" +#line 5549 "GSettingsEngine.c" } else { -#line 446 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = FUZZY_PROPERTY_STATE_DISABLED; -#line 5190 "GSettingsEngine.c" +#line 5553 "GSettingsEngine.c" } -#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = _tmp2_; -#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (enable_disable_name); -#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 5198 "GSettingsEngine.c" +#line 5561 "GSettingsEngine.c" } - goto __finally199; - __catch199_configuration_error: + goto __finally212; + __catch212_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; -#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 466 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" err = _inner_error_; -#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 466 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _inner_error_ = NULL; -#line 448 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = err; -#line 448 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = _tmp5_->message; -#line 448 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:448: GSettingsConfigurationEngine: error: %s", _tmp6_); -#line 449 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:470: GSettingsConfigurationEngine: error: %s", _tmp6_); +#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" result = FUZZY_PROPERTY_STATE_UNKNOWN; -#line 449 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_error_free0 (err); -#line 449 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (enable_disable_name); -#line 449 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return result; -#line 5224 "GSettingsEngine.c" +#line 5587 "GSettingsEngine.c" } - __finally199: -#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + __finally212: +#line 466 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (enable_disable_name); -#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 466 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 466 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 466 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return 0; -#line 5235 "GSettingsEngine.c" +#line 5598 "GSettingsEngine.c" } @@ -5241,77 +5604,77 @@ static void gsettings_configuration_engine_real_set_plugin_enabled (Configuratio const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; GError * _inner_error_ = NULL; -#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 475 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 475 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_return_if_fail (id != NULL); -#line 454 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 476 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = id; -#line 454 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 476 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = gsettings_configuration_engine_get_plugin_enable_disable_name (_tmp0_); -#line 454 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 476 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" enable_disable_name = _tmp1_; -#line 5255 "GSettingsEngine.c" +#line 5618 "GSettingsEngine.c" { gboolean _tmp2_ = FALSE; -#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 479 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = enabled; -#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 479 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" gsettings_configuration_engine_set_gs_bool (self, GSETTINGS_CONFIGURATION_ENGINE_PLUGINS_ENABLE_DISABLE_SCHEMA_NAME, enable_disable_name, _tmp2_, &_inner_error_); -#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 479 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 479 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5266 "GSettingsEngine.c" - goto __catch200_configuration_error; +#line 5629 "GSettingsEngine.c" + goto __catch213_configuration_error; } -#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 479 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (enable_disable_name); -#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 479 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" 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); -#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 479 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 479 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 5277 "GSettingsEngine.c" +#line 5640 "GSettingsEngine.c" } } - goto __finally200; - __catch200_configuration_error: + goto __finally213; + __catch213_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 478 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" err = _inner_error_; -#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 478 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _inner_error_ = NULL; -#line 459 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 481 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = err; -#line 459 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 481 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = _tmp3_->message; -#line 459 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:459: GSettingsConfigurationEngine: error: %s", _tmp4_); -#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 481 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:481: GSettingsConfigurationEngine: error: %s", _tmp4_); +#line 478 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_error_free0 (err); -#line 5298 "GSettingsEngine.c" +#line 5661 "GSettingsEngine.c" } - __finally200: -#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + __finally213: +#line 478 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 478 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (enable_disable_name); -#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 478 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 478 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 478 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 5311 "GSettingsEngine.c" +#line 5674 "GSettingsEngine.c" } -#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 475 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (enable_disable_name); -#line 5315 "GSettingsEngine.c" +#line 5678 "GSettingsEngine.c" } @@ -5324,70 +5687,70 @@ void gsettings_configuration_engine_run_gsettings_migrator (void) { gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; GError * _inner_error_ = NULL; -#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 490 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp0_ = app_dirs_get_settings_migrator_bin (); -#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 490 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp1_ = _tmp0_; -#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 490 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp2_ = g_file_get_path (_tmp1_); -#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 490 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp3_ = _tmp2_; -#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 490 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp4_ = g_strconcat ("sh ", _tmp3_, NULL); -#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 490 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp5_ = _tmp4_; -#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 490 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (_tmp3_); -#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 490 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_object_unref0 (_tmp1_); -#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 490 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" cmd_line = _tmp5_; -#line 5346 "GSettingsEngine.c" +#line 5709 "GSettingsEngine.c" { -#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 493 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_spawn_command_line_sync (cmd_line, NULL, NULL, NULL, &_inner_error_); -#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 493 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5352 "GSettingsEngine.c" - goto __catch201_g_error; +#line 5715 "GSettingsEngine.c" + goto __catch214_g_error; } } - goto __finally201; - __catch201_g_error: + goto __finally214; + __catch214_g_error: { GError* err = NULL; GError* _tmp6_ = NULL; const gchar* _tmp7_ = NULL; -#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 492 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" err = _inner_error_; -#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 492 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _inner_error_ = NULL; -#line 473 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 495 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp6_ = err; -#line 473 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 495 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _tmp7_ = _tmp6_->message; -#line 473 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_message ("GSettingsEngine.vala:473: Error running shotwell-settings-migrator: %s", _tmp7_); -#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 495 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_message ("GSettingsEngine.vala:495: Error running shotwell-settings-migrator: %s", _tmp7_); +#line 492 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_error_free0 (err); -#line 5374 "GSettingsEngine.c" +#line 5737 "GSettingsEngine.c" } - __finally201: -#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + __finally214: +#line 492 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 492 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (cmd_line); -#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 492 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 492 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" g_clear_error (&_inner_error_); -#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 492 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" return; -#line 5387 "GSettingsEngine.c" +#line 5750 "GSettingsEngine.c" } -#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" +#line 489 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" _g_free0 (cmd_line); -#line 5391 "GSettingsEngine.c" +#line 5754 "GSettingsEngine.c" } @@ -5398,7 +5761,7 @@ static void gsettings_configuration_engine_class_init (GSettingsConfigurationEng g_type_class_add_private (klass, sizeof (GSettingsConfigurationEnginePrivate)); #line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" G_OBJECT_CLASS (klass)->finalize = gsettings_configuration_engine_finalize; -#line 5402 "GSettingsEngine.c" +#line 5765 "GSettingsEngine.c" } @@ -5408,6 +5771,10 @@ static void gsettings_configuration_engine_configuration_engine_interface_init ( #line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" iface->get_name = (gchar* (*)(ConfigurationEngine*)) gsettings_configuration_engine_real_get_name; #line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->get_enum_property = (gint (*)(ConfigurationEngine*, ConfigurableProperty, GError**)) gsettings_configuration_engine_real_get_enum_property; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->set_enum_property = (void (*)(ConfigurationEngine*, ConfigurableProperty, gint, GError**)) gsettings_configuration_engine_real_set_enum_property; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" iface->get_int_property = (gint (*)(ConfigurationEngine*, ConfigurableProperty, GError**)) gsettings_configuration_engine_real_get_int_property; #line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" iface->set_int_property = (void (*)(ConfigurationEngine*, ConfigurableProperty, gint, GError**)) gsettings_configuration_engine_real_set_int_property; @@ -5445,14 +5812,14 @@ static void gsettings_configuration_engine_configuration_engine_interface_init ( iface->is_plugin_enabled = (FuzzyPropertyState (*)(ConfigurationEngine*, const gchar*)) gsettings_configuration_engine_real_is_plugin_enabled; #line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" iface->set_plugin_enabled = (void (*)(ConfigurationEngine*, const gchar*, gboolean)) gsettings_configuration_engine_real_set_plugin_enabled; -#line 5449 "GSettingsEngine.c" +#line 5816 "GSettingsEngine.c" } static void gsettings_configuration_engine_instance_init (GSettingsConfigurationEngine * self) { #line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self->priv = GSETTINGS_CONFIGURATION_ENGINE_GET_PRIVATE (self); -#line 5456 "GSettingsEngine.c" +#line 5823 "GSettingsEngine.c" } @@ -5460,15 +5827,13 @@ static void gsettings_configuration_engine_finalize (GObject* obj) { GSettingsConfigurationEngine * self; #line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 25 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (self->priv->known_schemas); #line 26 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self->priv->schema_names = (_vala_array_free (self->priv->schema_names, self->priv->schema_names_length1, (GDestroyNotify) g_free), NULL); #line 27 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" self->priv->key_names = (_vala_array_free (self->priv->key_names, self->priv->key_names_length1, (GDestroyNotify) g_free), NULL); #line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" G_OBJECT_CLASS (gsettings_configuration_engine_parent_class)->finalize (obj); -#line 5472 "GSettingsEngine.c" +#line 5837 "GSettingsEngine.c" } @@ -5504,16 +5869,4 @@ static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify } -static gint _vala_array_length (gpointer array) { - int length; - length = 0; - if (array) { - while (((gpointer*) array)[length]) { - length++; - } - } - return length; -} - - diff --git a/src/config/GSettingsEngine.vala b/src/config/GSettingsEngine.vala index 6329b78..b4f32e2 100644 --- a/src/config/GSettingsEngine.vala +++ b/src/config/GSettingsEngine.vala @@ -12,6 +12,7 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { private const string WINDOW_PREFS_SCHEMA_NAME = PREFS_SCHEMA_NAME + ".window"; private const string FILES_PREFS_SCHEMA_NAME = PREFS_SCHEMA_NAME + ".files"; private const string EDITING_PREFS_SCHEMA_NAME = PREFS_SCHEMA_NAME + ".editing"; + private const string EXPORT_PREFS_SCHEMA_NAME = PREFS_SCHEMA_NAME + ".export"; private const string VIDEO_SCHEMA_NAME = ROOT_SCHEMA_NAME + ".video"; private const string PRINTING_SCHEMA_NAME = ROOT_SCHEMA_NAME + ".printing"; private const string SHARING_SCHEMA_NAME = ROOT_SCHEMA_NAME + ".sharing"; @@ -22,16 +23,10 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { private const string PLUGINS_ENABLE_DISABLE_SCHEMA_NAME = ROOT_SCHEMA_NAME + ".plugins.enable-state"; - private Gee.Set<string> known_schemas; private string[] schema_names; private string[] key_names; public GSettingsConfigurationEngine() { - known_schemas = new Gee.HashSet<string>(); - - foreach (string current_schema in Settings.list_schemas()) - known_schemas.add(current_schema); - schema_names = new string[ConfigurableProperty.NUM_PROPERTIES]; schema_names[ConfigurableProperty.AUTO_IMPORT_FROM_LIBRARY] = FILES_PREFS_SCHEMA_NAME; @@ -59,6 +54,12 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { schema_names[ConfigurableProperty.EVENT_PHOTOS_SORT_ASCENDING] = UI_PREFS_SCHEMA_NAME; schema_names[ConfigurableProperty.EVENT_PHOTOS_SORT_BY] = UI_PREFS_SCHEMA_NAME; schema_names[ConfigurableProperty.EVENTS_SORT_ASCENDING] = UI_PREFS_SCHEMA_NAME; + schema_names[ConfigurableProperty.EXPORT_CONSTRAINT] = EXPORT_PREFS_SCHEMA_NAME; + schema_names[ConfigurableProperty.EXPORT_EXPORT_FORMAT_MODE] = EXPORT_PREFS_SCHEMA_NAME; + schema_names[ConfigurableProperty.EXPORT_EXPORT_METADATA] = EXPORT_PREFS_SCHEMA_NAME; + schema_names[ConfigurableProperty.EXPORT_PHOTO_FILE_FORMAT] = EXPORT_PREFS_SCHEMA_NAME; + schema_names[ConfigurableProperty.EXPORT_QUALITY] = EXPORT_PREFS_SCHEMA_NAME; + schema_names[ConfigurableProperty.EXPORT_SCALE] = EXPORT_PREFS_SCHEMA_NAME; schema_names[ConfigurableProperty.EXTERNAL_PHOTO_APP] = EDITING_PREFS_SCHEMA_NAME; schema_names[ConfigurableProperty.EXTERNAL_RAW_APP] = EDITING_PREFS_SCHEMA_NAME; schema_names[ConfigurableProperty.HIDE_PHOTOS_ALREADY_IMPORTED] = UI_PREFS_SCHEMA_NAME; @@ -125,6 +126,12 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { key_names[ConfigurableProperty.EVENT_PHOTOS_SORT_ASCENDING] = "event-photos-sort-ascending"; key_names[ConfigurableProperty.EVENT_PHOTOS_SORT_BY] = "event-photos-sort-by"; key_names[ConfigurableProperty.EVENTS_SORT_ASCENDING] = "events-sort-ascending"; + key_names[ConfigurableProperty.EXPORT_CONSTRAINT] = "constraint"; + key_names[ConfigurableProperty.EXPORT_EXPORT_FORMAT_MODE] = "export-format-mode"; + key_names[ConfigurableProperty.EXPORT_EXPORT_METADATA] = "export-metadata"; + key_names[ConfigurableProperty.EXPORT_PHOTO_FILE_FORMAT] = "photo-file-format"; + key_names[ConfigurableProperty.EXPORT_QUALITY] = "quality"; + key_names[ConfigurableProperty.EXPORT_SCALE] = "scale"; key_names[ConfigurableProperty.EXTERNAL_PHOTO_APP] = "external-photo-editor"; key_names[ConfigurableProperty.EXTERNAL_RAW_APP] = "external-raw-editor"; key_names[ConfigurableProperty.HIDE_PHOTOS_ALREADY_IMPORTED] = "hide-photos-already-imported"; @@ -164,23 +171,15 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { key_names[ConfigurableProperty.USE_LOWERCASE_FILENAMES] = "use-lowercase-filenames"; key_names[ConfigurableProperty.VIDEO_INTERPRETER_STATE_COOKIE] = "interpreter-state-cookie"; } - - private bool schema_has_key(Settings schema_object, string key) { - foreach (string current_key in schema_object.list_keys()) { - if (current_key == key) - return true; - } - - return false; - } - + private void check_key_valid(string schema, string key) throws ConfigurationError { - if (!known_schemas.contains(schema)) + var schema_source = SettingsSchemaSource.get_default (); + var settings_scheme = schema_source.lookup (schema, true); + if (settings_scheme == null) { throw new ConfigurationError.ENGINE_ERROR("schema '%s' is not installed".printf(schema)); + } - Settings schema_object = new Settings(schema); - - if (!schema_has_key(schema_object, key)) + if (!settings_scheme.has_key (key)) throw new ConfigurationError.ENGINE_ERROR("schema '%s' does not define key '%s'".printf( schema, key)); } @@ -201,6 +200,20 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { schema_object.set_boolean(key, value); } + private void set_gs_enum (string schema, string key, int value) throws ConfigurationError { + check_key_valid (schema, key); + + var schema_object = new Settings (schema); + schema_object.set_enum (key, value); + } + + private int get_gs_enum (string schema, string key) throws ConfigurationError { + check_key_valid (schema, key); + + var schema_object = new Settings (schema); + return schema_object.get_enum (key); + } + private int get_gs_int(string schema, string key) throws ConfigurationError { check_key_valid(schema, key); @@ -292,6 +305,15 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { return "GSettings"; } + public int get_enum_property (ConfigurableProperty p) throws ConfigurationError{ + return get_gs_enum (schema_names[p], key_names[p]); + } + + public void set_enum_property (ConfigurableProperty p, int val) throws ConfigurationError { + set_gs_enum (schema_names[p], key_names[p], val); + property_changed (p); + } + public int get_int_property(ConfigurableProperty p) throws ConfigurationError { return get_gs_int(schema_names[p], key_names[p]); } diff --git a/src/core/DataSource.c b/src/core/DataSource.c index fca0c0a..a1d692d 100644 --- a/src/core/DataSource.c +++ b/src/core/DataSource.c @@ -2387,7 +2387,7 @@ gboolean data_source_destroy_orphan (DataSource* self, gboolean delete_backing) #line 370 "/home/jens/Source/shotwell/src/core/DataSource.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2389 "DataSource.c" - goto __catch47_g_error; + goto __catch48_g_error; } #line 370 "/home/jens/Source/shotwell/src/core/DataSource.vala" ret = _tmp1_; @@ -2409,8 +2409,8 @@ gboolean data_source_destroy_orphan (DataSource* self, gboolean delete_backing) #line 2409 "DataSource.c" } } - goto __finally47; - __catch47_g_error: + goto __finally48; + __catch48_g_error: { GError* err = NULL; gchar* _tmp6_ = NULL; @@ -2439,7 +2439,7 @@ gboolean data_source_destroy_orphan (DataSource* self, gboolean delete_backing) _g_error_free0 (err); #line 2440 "DataSource.c" } - __finally47: + __finally48: #line 369 "/home/jens/Source/shotwell/src/core/DataSource.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 369 "/home/jens/Source/shotwell/src/core/DataSource.vala" diff --git a/src/core/SourceCollection.c b/src/core/SourceCollection.c index fc92bbd..9d54b3c 100644 --- a/src/core/SourceCollection.c +++ b/src/core/SourceCollection.c @@ -757,14 +757,14 @@ static gboolean source_collection_destroy_and_delete_source (SourceCollection* s #line 115 "/home/jens/Source/shotwell/src/core/SourceCollection.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 760 "SourceCollection.c" - goto __catch46_g_error; + goto __catch47_g_error; } #line 115 "/home/jens/Source/shotwell/src/core/SourceCollection.vala" success = _tmp0_; #line 765 "SourceCollection.c" } - goto __finally46; - __catch46_g_error: + goto __finally47; + __catch47_g_error: { GError* err = NULL; #line 114 "/home/jens/Source/shotwell/src/core/SourceCollection.vala" @@ -777,7 +777,7 @@ static gboolean source_collection_destroy_and_delete_source (SourceCollection* s _g_error_free0 (err); #line 779 "SourceCollection.c" } - __finally46: + __finally47: #line 114 "/home/jens/Source/shotwell/src/core/SourceCollection.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 114 "/home/jens/Source/shotwell/src/core/SourceCollection.vala" diff --git a/src/data_imports/DataImportSource.c b/src/data_imports/DataImportSource.c index b85a8d2..e5e0321 100644 --- a/src/data_imports/DataImportSource.c +++ b/src/data_imports/DataImportSource.c @@ -364,11 +364,11 @@ SpitDataImportsDataImportSource* spit_data_imports_data_import_source_construct #line 46 "/home/jens/Source/shotwell/src/data_imports/DataImportSource.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 367 "DataImportSource.c" - goto __catch202_g_error; + goto __catch215_g_error; } } - goto __finally202; - __catch202_g_error: + goto __finally215; + __catch215_g_error: { GError* e = NULL; gchar* _tmp26_ = NULL; @@ -399,7 +399,7 @@ SpitDataImportsDataImportSource* spit_data_imports_data_import_source_construct _g_error_free0 (e); #line 401 "DataImportSource.c" } - __finally202: + __finally215: #line 45 "/home/jens/Source/shotwell/src/data_imports/DataImportSource.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 45 "/home/jens/Source/shotwell/src/data_imports/DataImportSource.vala" @@ -583,7 +583,7 @@ SpitDataImportsDataImportSource* spit_data_imports_data_import_source_construct #line 64 "/home/jens/Source/shotwell/src/data_imports/DataImportSource.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 586 "DataImportSource.c" - goto __catch203_g_error; + goto __catch216_g_error; } #line 65 "/home/jens/Source/shotwell/src/data_imports/DataImportSource.vala" _tmp57_ = preview_raw; @@ -603,8 +603,8 @@ SpitDataImportsDataImportSource* spit_data_imports_data_import_source_construct preview_raw = (g_free (preview_raw), NULL); #line 605 "DataImportSource.c" } - goto __finally203; - __catch203_g_error: + goto __finally216; + __catch216_g_error: { GError* e = NULL; gchar* _tmp60_ = NULL; @@ -631,7 +631,7 @@ SpitDataImportsDataImportSource* spit_data_imports_data_import_source_construct _g_error_free0 (e); #line 633 "DataImportSource.c" } - __finally203: + __finally216: #line 63 "/home/jens/Source/shotwell/src/data_imports/DataImportSource.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 63 "/home/jens/Source/shotwell/src/data_imports/DataImportSource.vala" @@ -670,14 +670,14 @@ SpitDataImportsDataImportSource* spit_data_imports_data_import_source_construct #line 75 "/home/jens/Source/shotwell/src/data_imports/DataImportSource.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 673 "DataImportSource.c" - goto __catch204_g_error; + goto __catch217_g_error; } #line 75 "/home/jens/Source/shotwell/src/data_imports/DataImportSource.vala" self->priv->file_size = _tmp64_; #line 678 "DataImportSource.c" } - goto __finally204; - __catch204_g_error: + goto __finally217; + __catch217_g_error: { GError* e = NULL; gchar* _tmp67_ = NULL; @@ -704,7 +704,7 @@ SpitDataImportsDataImportSource* spit_data_imports_data_import_source_construct _g_error_free0 (e); #line 706 "DataImportSource.c" } - __finally204: + __finally217: #line 74 "/home/jens/Source/shotwell/src/data_imports/DataImportSource.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 74 "/home/jens/Source/shotwell/src/data_imports/DataImportSource.vala" @@ -742,14 +742,14 @@ SpitDataImportsDataImportSource* spit_data_imports_data_import_source_construct #line 80 "/home/jens/Source/shotwell/src/data_imports/DataImportSource.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 745 "DataImportSource.c" - goto __catch205_g_error; + goto __catch218_g_error; } #line 80 "/home/jens/Source/shotwell/src/data_imports/DataImportSource.vala" self->priv->modification_time = _tmp71_; #line 750 "DataImportSource.c" } - goto __finally205; - __catch205_g_error: + goto __finally218; + __catch218_g_error: { GError* e = NULL; gchar* _tmp74_ = NULL; @@ -776,7 +776,7 @@ SpitDataImportsDataImportSource* spit_data_imports_data_import_source_construct _g_error_free0 (e); #line 778 "DataImportSource.c" } - __finally205: + __finally218: #line 79 "/home/jens/Source/shotwell/src/data_imports/DataImportSource.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 79 "/home/jens/Source/shotwell/src/data_imports/DataImportSource.vala" diff --git a/src/data_imports/DataImportsPluginHost.c b/src/data_imports/DataImportsPluginHost.c index be5e38c..4bd94a6 100644 --- a/src/data_imports/DataImportsPluginHost.c +++ b/src/data_imports/DataImportsPluginHost.c @@ -1638,7 +1638,7 @@ static void spit_data_imports_concrete_data_imports_host_real_post_error_message #line 147 "/home/jens/Source/shotwell/src/data_imports/DataImportsPluginHost.vala" g_return_if_fail (message != NULL); #line 148 "/home/jens/Source/shotwell/src/data_imports/DataImportsPluginHost.vala" - _tmp0_ = _ ("Importing from %s can't continue because an error occurred:"); + _tmp0_ = _ ("Importing from %s can’t continue because an error occurred:"); #line 148 "/home/jens/Source/shotwell/src/data_imports/DataImportsPluginHost.vala" _tmp1_ = self->priv->active_importer; #line 148 "/home/jens/Source/shotwell/src/data_imports/DataImportsPluginHost.vala" @@ -2306,7 +2306,7 @@ static void spit_data_imports_welcome_data_imports_host_real_post_error_message #line 293 "/home/jens/Source/shotwell/src/data_imports/DataImportsPluginHost.vala" g_return_if_fail (message != NULL); #line 294 "/home/jens/Source/shotwell/src/data_imports/DataImportsPluginHost.vala" - _tmp0_ = _ ("Importing from %s can't continue because an error occurred:"); + _tmp0_ = _ ("Importing from %s can’t continue because an error occurred:"); #line 294 "/home/jens/Source/shotwell/src/data_imports/DataImportsPluginHost.vala" _tmp1_ = self->priv->active_importer; #line 294 "/home/jens/Source/shotwell/src/data_imports/DataImportsPluginHost.vala" diff --git a/src/data_imports/DataImportsPluginHost.vala b/src/data_imports/DataImportsPluginHost.vala index 6939ea5..158b8f4 100644 --- a/src/data_imports/DataImportsPluginHost.vala +++ b/src/data_imports/DataImportsPluginHost.vala @@ -145,7 +145,7 @@ public class ConcreteDataImportsHost : Plugins.StandardHostInterface, } public void post_error_message(string message) { - string msg = _("Importing from %s can't continue because an error occurred:").printf( + string msg = _("Importing from %s can’t continue because an error occurred:").printf( active_importer.get_service().get_pluggable_name()); msg += GLib.Markup.printf_escaped("\n\n<i>%s</i>\n\n", message); msg += _("To try importing from another service, select one from the above menu."); @@ -291,7 +291,7 @@ public class WelcomeDataImportsHost : Plugins.StandardHostInterface, } public void post_error_message(string message) { - string msg = _("Importing from %s can't continue because an error occurred:").printf( + string msg = _("Importing from %s can’t continue because an error occurred:").printf( active_importer.get_service().get_pluggable_name()); debug(msg); diff --git a/src/db/DatabaseTable.c b/src/db/DatabaseTable.c index 7b533de..03b34e9 100644 --- a/src/db/DatabaseTable.c +++ b/src/db/DatabaseTable.c @@ -136,7 +136,8 @@ static void database_table_prepare_db (const gchar* filename) { const gchar* _tmp9_ = NULL; const gchar* sql_debug = NULL; const gchar* _tmp26_ = NULL; - const gchar* _tmp27_ = NULL; + gboolean _tmp27_ = FALSE; + const gchar* _tmp28_ = NULL; GError * _inner_error_ = NULL; #line 32 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_return_if_fail (filename != NULL); @@ -154,7 +155,7 @@ static void database_table_prepare_db (const gchar* filename) { _tmp3_ = res; #line 36 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp3_ != SQLITE_OK) { -#line 158 "DatabaseTable.c" +#line 159 "DatabaseTable.c" const gchar* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; gint _tmp6_ = 0; @@ -174,13 +175,13 @@ static void database_table_prepare_db (const gchar* filename) { app_window_panic (_tmp8_); #line 37 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp8_); -#line 178 "DatabaseTable.c" +#line 179 "DatabaseTable.c" } #line 41 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp9_ = filename; #line 41 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (g_strcmp0 (_tmp9_, DB_IN_MEMORY_NAME) != 0) { -#line 184 "DatabaseTable.c" +#line 185 "DatabaseTable.c" { GFile* file_db = NULL; const gchar* _tmp10_ = NULL; @@ -206,7 +207,7 @@ static void database_table_prepare_db (const gchar* filename) { if (G_UNLIKELY (_inner_error_ != NULL)) { #line 44 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_object_unref0 (file_db); -#line 210 "DatabaseTable.c" +#line 211 "DatabaseTable.c" goto __catch13_g_error; } #line 45 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" @@ -215,7 +216,7 @@ static void database_table_prepare_db (const gchar* filename) { _tmp15_ = g_file_info_get_attribute_boolean (_tmp14_, G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE); #line 45 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (!_tmp15_) { -#line 219 "DatabaseTable.c" +#line 220 "DatabaseTable.c" const gchar* _tmp16_ = NULL; const gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; @@ -232,13 +233,13 @@ static void database_table_prepare_db (const gchar* filename) { app_window_panic (_tmp19_); #line 46 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp19_); -#line 236 "DatabaseTable.c" +#line 237 "DatabaseTable.c" } #line 42 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_object_unref0 (info); #line 42 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_object_unref0 (file_db); -#line 242 "DatabaseTable.c" +#line 243 "DatabaseTable.c" } goto __finally13; __catch13_g_error: @@ -272,7 +273,7 @@ static void database_table_prepare_db (const gchar* filename) { _g_free0 (_tmp25_); #line 42 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_error_free0 (e); -#line 276 "DatabaseTable.c" +#line 277 "DatabaseTable.c" } __finally13: #line 42 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" @@ -283,7 +284,7 @@ static void database_table_prepare_db (const gchar* filename) { g_clear_error (&_inner_error_); #line 42 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 287 "DatabaseTable.c" +#line 288 "DatabaseTable.c" } } #line 53 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" @@ -291,16 +292,30 @@ static void database_table_prepare_db (const gchar* filename) { #line 53 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" sql_debug = _tmp26_; #line 56 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" - _tmp27_ = sql_debug; + _tmp28_ = sql_debug; #line 56 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" - if (g_strcmp0 (_tmp27_, "") != 0) { -#line 298 "DatabaseTable.c" - sqlite3* _tmp28_ = NULL; + if (_tmp28_ != NULL) { +#line 299 "DatabaseTable.c" + const gchar* _tmp29_ = NULL; +#line 56 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" + _tmp29_ = sql_debug; +#line 56 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" + _tmp27_ = g_strcmp0 (_tmp29_, "") != 0; +#line 305 "DatabaseTable.c" + } else { +#line 56 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" + _tmp27_ = FALSE; +#line 309 "DatabaseTable.c" + } +#line 56 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" + if (_tmp27_) { +#line 313 "DatabaseTable.c" + sqlite3* _tmp30_ = NULL; #line 57 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" - _tmp28_ = database_table_db; + _tmp30_ = database_table_db; #line 57 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" - sqlite3_trace (_tmp28_, _database_table_on_trace_sqlite_trace_callback, NULL); -#line 304 "DatabaseTable.c" + sqlite3_trace (_tmp30_, _database_table_on_trace_sqlite_trace_callback, NULL); +#line 319 "DatabaseTable.c" } } @@ -313,7 +328,7 @@ void database_table_on_trace (const gchar* message) { _tmp0_ = message; #line 62 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_debug ("DatabaseTable.vala:62: SQLITE: %s", _tmp0_); -#line 317 "DatabaseTable.c" +#line 332 "DatabaseTable.c" } @@ -346,7 +361,7 @@ static gint _sqlite3_exec (sqlite3* self, const gchar* sql, sqlite3_callback cal ec = _tmp3_; #line 37 "/usr/share/vala-0.34/vapi/sqlite3.vapi" if ((&_vala_errmsg) != NULL) { -#line 350 "DatabaseTable.c" +#line 365 "DatabaseTable.c" const gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; #line 38 "/usr/share/vala-0.34/vapi/sqlite3.vapi" @@ -357,7 +372,7 @@ static gint _sqlite3_exec (sqlite3* self, const gchar* sql, sqlite3_callback cal _g_free0 (_vala_errmsg); #line 38 "/usr/share/vala-0.34/vapi/sqlite3.vapi" _vala_errmsg = _tmp5_; -#line 361 "DatabaseTable.c" +#line 376 "DatabaseTable.c" } #line 40 "/usr/share/vala-0.34/vapi/sqlite3.vapi" _tmp6_ = sqlite_errmsg; @@ -369,15 +384,15 @@ static gint _sqlite3_exec (sqlite3* self, const gchar* sql, sqlite3_callback cal if (errmsg) { #line 41 "/usr/share/vala-0.34/vapi/sqlite3.vapi" *errmsg = _vala_errmsg; -#line 373 "DatabaseTable.c" +#line 388 "DatabaseTable.c" } else { #line 41 "/usr/share/vala-0.34/vapi/sqlite3.vapi" _g_free0 (_vala_errmsg); -#line 377 "DatabaseTable.c" +#line 392 "DatabaseTable.c" } #line 41 "/usr/share/vala-0.34/vapi/sqlite3.vapi" return result; -#line 381 "DatabaseTable.c" +#line 396 "DatabaseTable.c" } @@ -413,7 +428,7 @@ void database_table_init (const gchar* filename) { _tmp4_ = res; #line 79 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp4_ != SQLITE_OK) { -#line 417 "DatabaseTable.c" +#line 432 "DatabaseTable.c" gchar* backup_path = NULL; const gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; @@ -427,7 +442,7 @@ void database_table_init (const gchar* filename) { _tmp6_ = g_strconcat (_tmp5_, ".bak", NULL); #line 82 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" backup_path = _tmp6_; -#line 431 "DatabaseTable.c" +#line 446 "DatabaseTable.c" { GFile* src = NULL; const gchar* _tmp7_ = NULL; @@ -462,7 +477,7 @@ void database_table_init (const gchar* filename) { _g_object_unref0 (dest); #line 87 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_object_unref0 (src); -#line 466 "DatabaseTable.c" +#line 481 "DatabaseTable.c" goto __catch14_g_error; } #line 90 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" @@ -473,7 +488,7 @@ void database_table_init (const gchar* filename) { _g_object_unref0 (dest); #line 84 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_object_unref0 (src); -#line 477 "DatabaseTable.c" +#line 492 "DatabaseTable.c" } goto __finally14; __catch14_g_error: @@ -504,7 +519,7 @@ void database_table_init (const gchar* filename) { _g_free0 (_tmp18_); #line 84 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_error_free0 (_error_); -#line 508 "DatabaseTable.c" +#line 523 "DatabaseTable.c" } __finally14: #line 84 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" @@ -519,11 +534,11 @@ void database_table_init (const gchar* filename) { g_clear_error (&_inner_error_); #line 84 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 523 "DatabaseTable.c" +#line 538 "DatabaseTable.c" } #line 79 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (backup_path); -#line 527 "DatabaseTable.c" +#line 542 "DatabaseTable.c" } #line 98 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp19_ = database_table_db; @@ -535,17 +550,17 @@ void database_table_init (const gchar* filename) { _tmp21_ = res; #line 99 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp21_ != SQLITE_OK) { -#line 539 "DatabaseTable.c" +#line 554 "DatabaseTable.c" gint _tmp22_ = 0; #line 100 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp22_ = res; #line 100 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_warning ("Unable to disable synchronous mode", _tmp22_); -#line 545 "DatabaseTable.c" +#line 560 "DatabaseTable.c" } #line 65 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 549 "DatabaseTable.c" +#line 564 "DatabaseTable.c" } @@ -554,7 +569,7 @@ void database_table_terminate (void) { _sqlite3_close0 (database_table_db); #line 105 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_db = NULL; -#line 558 "DatabaseTable.c" +#line 573 "DatabaseTable.c" } @@ -575,7 +590,7 @@ void database_table_fatal (const gchar* op, gint res) { _tmp3_ = sqlite3_errmsg (_tmp2_); #line 110 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_error ("DatabaseTable.vala:110: %s: [%d] %s", _tmp0_, _tmp1_, _tmp3_); -#line 579 "DatabaseTable.c" +#line 594 "DatabaseTable.c" } @@ -596,7 +611,7 @@ void database_table_warning (const gchar* op, gint res) { _tmp3_ = sqlite3_errmsg (_tmp2_); #line 115 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_warning ("DatabaseTable.vala:115: %s: [%d] %s", _tmp0_, _tmp1_, _tmp3_); -#line 600 "DatabaseTable.c" +#line 615 "DatabaseTable.c" } @@ -615,7 +630,7 @@ void database_table_set_table_name (DatabaseTable* self, const gchar* table_name _g_free0 (self->table_name); #line 119 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" self->table_name = _tmp1_; -#line 619 "DatabaseTable.c" +#line 634 "DatabaseTable.c" } @@ -652,13 +667,13 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) case SQLITE_DONE: #line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_ROW: -#line 656 "DatabaseTable.c" +#line 671 "DatabaseTable.c" { #line 131 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); #line 131 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 662 "DatabaseTable.c" +#line 677 "DatabaseTable.c" } #line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_PERM: @@ -680,7 +695,7 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) case SQLITE_FORMAT: #line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_NOTADB: -#line 684 "DatabaseTable.c" +#line 699 "DatabaseTable.c" { const gchar* _tmp6_ = NULL; GError* _tmp7_ = NULL; @@ -698,7 +713,7 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) _g_free0 (msg); #line 143 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 702 "DatabaseTable.c" +#line 717 "DatabaseTable.c" } else { #line 143 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); @@ -708,12 +723,12 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) g_clear_error (&_inner_error_); #line 143 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 712 "DatabaseTable.c" +#line 727 "DatabaseTable.c" } } #line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_NOMEM: -#line 717 "DatabaseTable.c" +#line 732 "DatabaseTable.c" { const gchar* _tmp8_ = NULL; GError* _tmp9_ = NULL; @@ -731,7 +746,7 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) _g_free0 (msg); #line 146 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 735 "DatabaseTable.c" +#line 750 "DatabaseTable.c" } else { #line 146 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); @@ -741,7 +756,7 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) g_clear_error (&_inner_error_); #line 146 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 745 "DatabaseTable.c" +#line 760 "DatabaseTable.c" } } #line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" @@ -750,7 +765,7 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) case SQLITE_LOCKED: #line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_INTERRUPT: -#line 754 "DatabaseTable.c" +#line 769 "DatabaseTable.c" { const gchar* _tmp10_ = NULL; GError* _tmp11_ = NULL; @@ -768,7 +783,7 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) _g_free0 (msg); #line 151 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 772 "DatabaseTable.c" +#line 787 "DatabaseTable.c" } else { #line 151 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); @@ -778,7 +793,7 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) g_clear_error (&_inner_error_); #line 151 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 782 "DatabaseTable.c" +#line 797 "DatabaseTable.c" } } #line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" @@ -791,7 +806,7 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) case SQLITE_CONSTRAINT: #line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_RANGE: -#line 795 "DatabaseTable.c" +#line 810 "DatabaseTable.c" { const gchar* _tmp12_ = NULL; GError* _tmp13_ = NULL; @@ -809,7 +824,7 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) _g_free0 (msg); #line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 813 "DatabaseTable.c" +#line 828 "DatabaseTable.c" } else { #line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); @@ -819,14 +834,14 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) g_clear_error (&_inner_error_); #line 158 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 823 "DatabaseTable.c" +#line 838 "DatabaseTable.c" } } #line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_SCHEMA: #line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_MISMATCH: -#line 830 "DatabaseTable.c" +#line 845 "DatabaseTable.c" { const gchar* _tmp14_ = NULL; GError* _tmp15_ = NULL; @@ -844,7 +859,7 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) _g_free0 (msg); #line 162 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 848 "DatabaseTable.c" +#line 863 "DatabaseTable.c" } else { #line 162 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); @@ -854,7 +869,7 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) g_clear_error (&_inner_error_); #line 162 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 858 "DatabaseTable.c" +#line 873 "DatabaseTable.c" } } default: @@ -864,7 +879,7 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) case SQLITE_INTERNAL: #line 127 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" case SQLITE_MISUSE: -#line 868 "DatabaseTable.c" +#line 883 "DatabaseTable.c" { const gchar* _tmp16_ = NULL; GError* _tmp17_ = NULL; @@ -882,7 +897,7 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) _g_free0 (msg); #line 168 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 886 "DatabaseTable.c" +#line 901 "DatabaseTable.c" } else { #line 168 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); @@ -892,13 +907,13 @@ void database_table_throw_error (const gchar* method, gint res, GError** error) g_clear_error (&_inner_error_); #line 168 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 896 "DatabaseTable.c" +#line 911 "DatabaseTable.c" } } } #line 124 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (msg); -#line 902 "DatabaseTable.c" +#line 917 "DatabaseTable.c" } @@ -971,21 +986,21 @@ gboolean database_table_exists_by_id (DatabaseTable* self, gint64 id) { _tmp15_ = res; #line 181 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp15_ != SQLITE_ROW) { -#line 975 "DatabaseTable.c" +#line 990 "DatabaseTable.c" gint _tmp16_ = 0; #line 181 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp16_ = res; #line 181 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = _tmp16_ != SQLITE_DONE; -#line 981 "DatabaseTable.c" +#line 996 "DatabaseTable.c" } else { #line 181 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = FALSE; -#line 985 "DatabaseTable.c" +#line 1000 "DatabaseTable.c" } #line 181 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp14_) { -#line 989 "DatabaseTable.c" +#line 1004 "DatabaseTable.c" gint64 _tmp17_ = 0LL; gchar* _tmp18_ = NULL; gchar* _tmp19_ = NULL; @@ -1013,7 +1028,7 @@ gboolean database_table_exists_by_id (DatabaseTable* self, gint64 id) { _g_free0 (_tmp22_); #line 182 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp19_); -#line 1017 "DatabaseTable.c" +#line 1032 "DatabaseTable.c" } #line 184 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp24_ = res; @@ -1023,7 +1038,7 @@ gboolean database_table_exists_by_id (DatabaseTable* self, gint64 id) { _sqlite3_finalize0 (stmt); #line 184 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1027 "DatabaseTable.c" +#line 1042 "DatabaseTable.c" } @@ -1099,21 +1114,21 @@ gboolean database_table_select_by_id (DatabaseTable* self, gint64 id, const gcha _tmp15_ = res; #line 197 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp15_ != SQLITE_ROW) { -#line 1103 "DatabaseTable.c" +#line 1118 "DatabaseTable.c" gint _tmp16_ = 0; #line 197 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp16_ = res; #line 197 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = _tmp16_ != SQLITE_DONE; -#line 1109 "DatabaseTable.c" +#line 1124 "DatabaseTable.c" } else { #line 197 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp14_ = FALSE; -#line 1113 "DatabaseTable.c" +#line 1128 "DatabaseTable.c" } #line 197 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp14_) { -#line 1117 "DatabaseTable.c" +#line 1132 "DatabaseTable.c" gint64 _tmp17_ = 0LL; gchar* _tmp18_ = NULL; gchar* _tmp19_ = NULL; @@ -1144,7 +1159,7 @@ gboolean database_table_select_by_id (DatabaseTable* self, gint64 id, const gcha _g_free0 (_tmp23_); #line 198 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (_tmp19_); -#line 1148 "DatabaseTable.c" +#line 1163 "DatabaseTable.c" } #line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp25_ = res; @@ -1156,15 +1171,15 @@ gboolean database_table_select_by_id (DatabaseTable* self, gint64 id, const gcha if (stmt) { #line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" *stmt = _vala_stmt; -#line 1160 "DatabaseTable.c" +#line 1175 "DatabaseTable.c" } else { #line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (_vala_stmt); -#line 1164 "DatabaseTable.c" +#line 1179 "DatabaseTable.c" } #line 200 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1168 "DatabaseTable.c" +#line 1183 "DatabaseTable.c" } @@ -1224,11 +1239,11 @@ static void database_table_prepare_update_by_id (DatabaseTable* self, gint64 id, if (stmt) { #line 204 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" *stmt = _vala_stmt; -#line 1228 "DatabaseTable.c" +#line 1243 "DatabaseTable.c" } else { #line 204 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (_vala_stmt); -#line 1232 "DatabaseTable.c" +#line 1247 "DatabaseTable.c" } } @@ -1253,7 +1268,7 @@ static gboolean database_table_execute_update_by_id (DatabaseTable* self, sqlite _tmp2_ = res; #line 216 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp2_ != SQLITE_DONE) { -#line 1257 "DatabaseTable.c" +#line 1272 "DatabaseTable.c" gint _tmp3_ = 0; #line 217 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = res; @@ -1263,13 +1278,13 @@ static gboolean database_table_execute_update_by_id (DatabaseTable* self, sqlite result = FALSE; #line 219 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1267 "DatabaseTable.c" +#line 1282 "DatabaseTable.c" } #line 222 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = TRUE; #line 222 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1273 "DatabaseTable.c" +#line 1288 "DatabaseTable.c" } @@ -1321,7 +1336,7 @@ gboolean database_table_update_text_by_id (DatabaseTable* self, gint64 id, const _sqlite3_finalize0 (stmt); #line 232 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1325 "DatabaseTable.c" +#line 1340 "DatabaseTable.c" } @@ -1383,7 +1398,7 @@ void database_table_update_text_by_id_2 (DatabaseTable* self, gint64 id, const g _tmp11_ = res; #line 243 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp11_ != SQLITE_DONE) { -#line 1387 "DatabaseTable.c" +#line 1402 "DatabaseTable.c" const gchar* _tmp12_ = NULL; const gchar* _tmp13_ = NULL; gchar* _tmp14_ = NULL; @@ -1413,7 +1428,7 @@ void database_table_update_text_by_id_2 (DatabaseTable* self, gint64 id, const g _sqlite3_finalize0 (stmt); #line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1417 "DatabaseTable.c" +#line 1432 "DatabaseTable.c" } else { #line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); @@ -1423,13 +1438,13 @@ void database_table_update_text_by_id_2 (DatabaseTable* self, gint64 id, const g g_clear_error (&_inner_error_); #line 244 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1427 "DatabaseTable.c" +#line 1442 "DatabaseTable.c" } } } #line 235 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 1433 "DatabaseTable.c" +#line 1448 "DatabaseTable.c" } @@ -1473,7 +1488,7 @@ gboolean database_table_update_int_by_id (DatabaseTable* self, gint64 id, const _sqlite3_finalize0 (stmt); #line 254 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1477 "DatabaseTable.c" +#line 1492 "DatabaseTable.c" } @@ -1527,7 +1542,7 @@ void database_table_update_int_by_id_2 (DatabaseTable* self, gint64 id, const gc _tmp9_ = res; #line 265 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp9_ != SQLITE_DONE) { -#line 1531 "DatabaseTable.c" +#line 1546 "DatabaseTable.c" const gchar* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; gchar* _tmp12_ = NULL; @@ -1557,7 +1572,7 @@ void database_table_update_int_by_id_2 (DatabaseTable* self, gint64 id, const gc _sqlite3_finalize0 (stmt); #line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1561 "DatabaseTable.c" +#line 1576 "DatabaseTable.c" } else { #line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); @@ -1567,13 +1582,13 @@ void database_table_update_int_by_id_2 (DatabaseTable* self, gint64 id, const gc g_clear_error (&_inner_error_); #line 266 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1571 "DatabaseTable.c" +#line 1586 "DatabaseTable.c" } } } #line 257 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 1577 "DatabaseTable.c" +#line 1592 "DatabaseTable.c" } @@ -1617,7 +1632,7 @@ gboolean database_table_update_int64_by_id (DatabaseTable* self, gint64 id, cons _sqlite3_finalize0 (stmt); #line 276 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1621 "DatabaseTable.c" +#line 1636 "DatabaseTable.c" } @@ -1671,7 +1686,7 @@ void database_table_update_int64_by_id_2 (DatabaseTable* self, gint64 id, const _tmp9_ = res; #line 287 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp9_ != SQLITE_DONE) { -#line 1675 "DatabaseTable.c" +#line 1690 "DatabaseTable.c" const gchar* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; gchar* _tmp12_ = NULL; @@ -1701,7 +1716,7 @@ void database_table_update_int64_by_id_2 (DatabaseTable* self, gint64 id, const _sqlite3_finalize0 (stmt); #line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1705 "DatabaseTable.c" +#line 1720 "DatabaseTable.c" } else { #line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); @@ -1711,13 +1726,13 @@ void database_table_update_int64_by_id_2 (DatabaseTable* self, gint64 id, const g_clear_error (&_inner_error_); #line 288 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1715 "DatabaseTable.c" +#line 1730 "DatabaseTable.c" } } } #line 279 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 1721 "DatabaseTable.c" +#line 1736 "DatabaseTable.c" } @@ -1788,7 +1803,7 @@ void database_table_delete_by_id (DatabaseTable* self, gint64 id, GError** error _tmp14_ = res; #line 300 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp14_ != SQLITE_DONE) { -#line 1792 "DatabaseTable.c" +#line 1807 "DatabaseTable.c" const gchar* _tmp15_ = NULL; gchar* _tmp16_ = NULL; gchar* _tmp17_ = NULL; @@ -1815,7 +1830,7 @@ void database_table_delete_by_id (DatabaseTable* self, gint64 id, GError** error _sqlite3_finalize0 (stmt); #line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1819 "DatabaseTable.c" +#line 1834 "DatabaseTable.c" } else { #line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); @@ -1825,13 +1840,13 @@ void database_table_delete_by_id (DatabaseTable* self, gint64 id, GError** error g_clear_error (&_inner_error_); #line 301 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 1829 "DatabaseTable.c" +#line 1844 "DatabaseTable.c" } } } #line 291 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _sqlite3_finalize0 (stmt); -#line 1835 "DatabaseTable.c" +#line 1850 "DatabaseTable.c" } @@ -1875,20 +1890,20 @@ gboolean database_table_has_column (const gchar* table_name, const gchar* column _tmp7_ = res; #line 307 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp7_ == SQLITE_OK, "res == Sqlite.OK"); -#line 1879 "DatabaseTable.c" +#line 1894 "DatabaseTable.c" { gboolean _tmp8_ = FALSE; #line 309 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = TRUE; #line 309 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" while (TRUE) { -#line 1886 "DatabaseTable.c" +#line 1901 "DatabaseTable.c" sqlite3_stmt* _tmp9_ = NULL; gint _tmp10_ = 0; gint _tmp11_ = 0; #line 309 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (!_tmp8_) { -#line 1892 "DatabaseTable.c" +#line 1907 "DatabaseTable.c" } #line 309 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp8_ = FALSE; @@ -1904,14 +1919,14 @@ gboolean database_table_has_column (const gchar* table_name, const gchar* column if (_tmp11_ == SQLITE_DONE) { #line 312 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" break; -#line 1908 "DatabaseTable.c" +#line 1923 "DatabaseTable.c" } else { gint _tmp12_ = 0; #line 313 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp12_ = res; #line 313 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp12_ != SQLITE_ROW) { -#line 1915 "DatabaseTable.c" +#line 1930 "DatabaseTable.c" const gchar* _tmp13_ = NULL; gchar* _tmp14_ = NULL; gchar* _tmp15_ = NULL; @@ -1930,7 +1945,7 @@ gboolean database_table_has_column (const gchar* table_name, const gchar* column _g_free0 (_tmp15_); #line 316 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" break; -#line 1934 "DatabaseTable.c" +#line 1949 "DatabaseTable.c" } else { gchar* column = NULL; sqlite3_stmt* _tmp17_ = NULL; @@ -1950,7 +1965,7 @@ gboolean database_table_has_column (const gchar* table_name, const gchar* column _tmp21_ = column; #line 319 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp21_ != NULL) { -#line 1954 "DatabaseTable.c" +#line 1969 "DatabaseTable.c" const gchar* _tmp22_ = NULL; const gchar* _tmp23_ = NULL; #line 319 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" @@ -1959,11 +1974,11 @@ gboolean database_table_has_column (const gchar* table_name, const gchar* column _tmp23_ = column_name; #line 319 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp20_ = g_strcmp0 (_tmp22_, _tmp23_) == 0; -#line 1963 "DatabaseTable.c" +#line 1978 "DatabaseTable.c" } else { #line 319 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp20_ = FALSE; -#line 1967 "DatabaseTable.c" +#line 1982 "DatabaseTable.c" } #line 319 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp20_) { @@ -1975,11 +1990,11 @@ gboolean database_table_has_column (const gchar* table_name, const gchar* column _sqlite3_finalize0 (stmt); #line 320 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1979 "DatabaseTable.c" +#line 1994 "DatabaseTable.c" } #line 313 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (column); -#line 1983 "DatabaseTable.c" +#line 1998 "DatabaseTable.c" } } } @@ -1990,7 +2005,7 @@ gboolean database_table_has_column (const gchar* table_name, const gchar* column _sqlite3_finalize0 (stmt); #line 324 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 1994 "DatabaseTable.c" +#line 2009 "DatabaseTable.c" } @@ -2046,7 +2061,7 @@ gboolean database_table_has_table (const gchar* table_name) { _sqlite3_finalize0 (stmt); #line 334 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 2050 "DatabaseTable.c" +#line 2065 "DatabaseTable.c" } @@ -2111,7 +2126,7 @@ gboolean database_table_add_column (const gchar* table_name, const gchar* column _tmp12_ = res; #line 344 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp12_ != SQLITE_DONE) { -#line 2115 "DatabaseTable.c" +#line 2130 "DatabaseTable.c" const gchar* _tmp13_ = NULL; const gchar* _tmp14_ = NULL; const gchar* _tmp15_ = NULL; @@ -2138,7 +2153,7 @@ gboolean database_table_add_column (const gchar* table_name, const gchar* column _sqlite3_finalize0 (stmt); #line 348 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 2142 "DatabaseTable.c" +#line 2157 "DatabaseTable.c" } #line 351 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" result = TRUE; @@ -2146,7 +2161,7 @@ gboolean database_table_add_column (const gchar* table_name, const gchar* column _sqlite3_finalize0 (stmt); #line 351 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 2150 "DatabaseTable.c" +#line 2165 "DatabaseTable.c" } @@ -2176,7 +2191,7 @@ gboolean database_table_ensure_column (const gchar* table_name, const gchar* col if (!_tmp2_) { #line 359 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = TRUE; -#line 2180 "DatabaseTable.c" +#line 2195 "DatabaseTable.c" } else { const gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; @@ -2189,7 +2204,7 @@ gboolean database_table_ensure_column (const gchar* table_name, const gchar* col _tmp5_ = database_table_has_column (_tmp3_, _tmp4_); #line 359 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp0_ = _tmp5_; -#line 2193 "DatabaseTable.c" +#line 2208 "DatabaseTable.c" } #line 359 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp0_) { @@ -2197,7 +2212,7 @@ gboolean database_table_ensure_column (const gchar* table_name, const gchar* col result = TRUE; #line 360 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 2201 "DatabaseTable.c" +#line 2216 "DatabaseTable.c" } #line 362 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = upgrade_msg; @@ -2215,7 +2230,7 @@ gboolean database_table_ensure_column (const gchar* table_name, const gchar* col result = _tmp10_; #line 364 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 2219 "DatabaseTable.c" +#line 2234 "DatabaseTable.c" } @@ -2272,7 +2287,7 @@ gint database_table_get_row_count (DatabaseTable* self) { _tmp10_ = res; #line 373 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp10_ != SQLITE_ROW) { -#line 2276 "DatabaseTable.c" +#line 2291 "DatabaseTable.c" const gchar* _tmp11_ = NULL; gint _tmp12_ = 0; sqlite3* _tmp13_ = NULL; @@ -2293,7 +2308,7 @@ gint database_table_get_row_count (DatabaseTable* self) { _sqlite3_finalize0 (stmt); #line 376 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 2297 "DatabaseTable.c" +#line 2312 "DatabaseTable.c" } #line 379 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp15_ = stmt; @@ -2305,7 +2320,7 @@ gint database_table_get_row_count (DatabaseTable* self) { _sqlite3_finalize0 (stmt); #line 379 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return result; -#line 2309 "DatabaseTable.c" +#line 2324 "DatabaseTable.c" } @@ -2323,7 +2338,7 @@ void database_table_begin_transaction (void) { if (_tmp0_ != 0) { #line 385 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 2327 "DatabaseTable.c" +#line 2342 "DatabaseTable.c" } #line 387 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp1_ = database_table_db; @@ -2335,7 +2350,7 @@ void database_table_begin_transaction (void) { _tmp3_ = res; #line 388 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _vala_assert (_tmp3_ == SQLITE_OK, "res == Sqlite.OK"); -#line 2339 "DatabaseTable.c" +#line 2354 "DatabaseTable.c" } @@ -2362,7 +2377,7 @@ void database_table_commit_transaction (GError** error) { if (_tmp2_ != 0) { #line 395 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 2366 "DatabaseTable.c" +#line 2381 "DatabaseTable.c" } #line 397 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp3_ = database_table_db; @@ -2374,7 +2389,7 @@ void database_table_commit_transaction (GError** error) { _tmp5_ = res; #line 398 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (_tmp5_ != SQLITE_DONE) { -#line 2378 "DatabaseTable.c" +#line 2393 "DatabaseTable.c" gint _tmp6_ = 0; #line 399 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _tmp6_ = res; @@ -2388,7 +2403,7 @@ void database_table_commit_transaction (GError** error) { g_propagate_error (error, _inner_error_); #line 399 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 2392 "DatabaseTable.c" +#line 2407 "DatabaseTable.c" } else { #line 399 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -2396,7 +2411,7 @@ void database_table_commit_transaction (GError** error) { g_clear_error (&_inner_error_); #line 399 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return; -#line 2400 "DatabaseTable.c" +#line 2415 "DatabaseTable.c" } } } @@ -2409,14 +2424,14 @@ DatabaseTable* database_table_construct (GType object_type) { self = (DatabaseTable*) g_type_create_instance (object_type); #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return self; -#line 2413 "DatabaseTable.c" +#line 2428 "DatabaseTable.c" } static void value_database_table_init (GValue* value) { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" value->data[0].v_pointer = NULL; -#line 2420 "DatabaseTable.c" +#line 2435 "DatabaseTable.c" } @@ -2425,7 +2440,7 @@ static void value_database_table_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_unref (value->data[0].v_pointer); -#line 2429 "DatabaseTable.c" +#line 2444 "DatabaseTable.c" } } @@ -2435,11 +2450,11 @@ static void value_database_table_copy_value (const GValue* src_value, GValue* de if (src_value->data[0].v_pointer) { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" dest_value->data[0].v_pointer = database_table_ref (src_value->data[0].v_pointer); -#line 2439 "DatabaseTable.c" +#line 2454 "DatabaseTable.c" } else { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" dest_value->data[0].v_pointer = NULL; -#line 2443 "DatabaseTable.c" +#line 2458 "DatabaseTable.c" } } @@ -2447,37 +2462,37 @@ static void value_database_table_copy_value (const GValue* src_value, GValue* de static gpointer value_database_table_peek_pointer (const GValue* value) { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return value->data[0].v_pointer; -#line 2451 "DatabaseTable.c" +#line 2466 "DatabaseTable.c" } static gchar* value_database_table_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (collect_values[0].v_pointer) { -#line 2458 "DatabaseTable.c" +#line 2473 "DatabaseTable.c" DatabaseTable* object; object = collect_values[0].v_pointer; #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (object->parent_instance.g_class == NULL) { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 2465 "DatabaseTable.c" +#line 2480 "DatabaseTable.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 2469 "DatabaseTable.c" +#line 2484 "DatabaseTable.c" } #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" value->data[0].v_pointer = database_table_ref (object); -#line 2473 "DatabaseTable.c" +#line 2488 "DatabaseTable.c" } else { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" value->data[0].v_pointer = NULL; -#line 2477 "DatabaseTable.c" +#line 2492 "DatabaseTable.c" } #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return NULL; -#line 2481 "DatabaseTable.c" +#line 2496 "DatabaseTable.c" } @@ -2488,25 +2503,25 @@ static gchar* value_database_table_lcopy_value (const GValue* value, guint n_col if (!object_p) { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 2492 "DatabaseTable.c" +#line 2507 "DatabaseTable.c" } #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (!value->data[0].v_pointer) { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" *object_p = NULL; -#line 2498 "DatabaseTable.c" +#line 2513 "DatabaseTable.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" *object_p = value->data[0].v_pointer; -#line 2502 "DatabaseTable.c" +#line 2517 "DatabaseTable.c" } else { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" *object_p = database_table_ref (value->data[0].v_pointer); -#line 2506 "DatabaseTable.c" +#line 2521 "DatabaseTable.c" } #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return NULL; -#line 2510 "DatabaseTable.c" +#line 2525 "DatabaseTable.c" } @@ -2520,7 +2535,7 @@ GParamSpec* param_spec_database_table (const gchar* name, const gchar* nick, con G_PARAM_SPEC (spec)->value_type = object_type; #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return G_PARAM_SPEC (spec); -#line 2524 "DatabaseTable.c" +#line 2539 "DatabaseTable.c" } @@ -2529,7 +2544,7 @@ gpointer value_get_database_table (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_DATABASE_TABLE), NULL); #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return value->data[0].v_pointer; -#line 2533 "DatabaseTable.c" +#line 2548 "DatabaseTable.c" } @@ -2549,17 +2564,17 @@ void value_set_database_table (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_ref (value->data[0].v_pointer); -#line 2553 "DatabaseTable.c" +#line 2568 "DatabaseTable.c" } else { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" value->data[0].v_pointer = NULL; -#line 2557 "DatabaseTable.c" +#line 2572 "DatabaseTable.c" } #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (old) { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_unref (old); -#line 2563 "DatabaseTable.c" +#line 2578 "DatabaseTable.c" } } @@ -2578,17 +2593,17 @@ void value_take_database_table (GValue* value, gpointer v_object) { g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" value->data[0].v_pointer = v_object; -#line 2582 "DatabaseTable.c" +#line 2597 "DatabaseTable.c" } else { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" value->data[0].v_pointer = NULL; -#line 2586 "DatabaseTable.c" +#line 2601 "DatabaseTable.c" } #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" if (old) { #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" database_table_unref (old); -#line 2592 "DatabaseTable.c" +#line 2607 "DatabaseTable.c" } } @@ -2598,7 +2613,7 @@ static void database_table_class_init (DatabaseTableClass * klass) { database_table_parent_class = g_type_class_peek_parent (klass); #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" ((DatabaseTableClass *) klass)->finalize = database_table_finalize; -#line 2602 "DatabaseTable.c" +#line 2617 "DatabaseTable.c" } @@ -2607,7 +2622,7 @@ static void database_table_instance_init (DatabaseTable * self) { self->table_name = NULL; #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" self->ref_count = 1; -#line 2611 "DatabaseTable.c" +#line 2626 "DatabaseTable.c" } @@ -2619,7 +2634,7 @@ static void database_table_finalize (DatabaseTable* obj) { g_signal_handlers_destroy (self); #line 30 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" _g_free0 (self->table_name); -#line 2623 "DatabaseTable.c" +#line 2638 "DatabaseTable.c" } @@ -2644,7 +2659,7 @@ gpointer database_table_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" return instance; -#line 2648 "DatabaseTable.c" +#line 2663 "DatabaseTable.c" } @@ -2657,7 +2672,7 @@ void database_table_unref (gpointer instance) { DATABASE_TABLE_GET_CLASS (self)->finalize (self); #line 16 "/home/jens/Source/shotwell/src/db/DatabaseTable.vala" g_type_free_instance ((GTypeInstance *) self); -#line 2661 "DatabaseTable.c" +#line 2676 "DatabaseTable.c" } } diff --git a/src/db/DatabaseTable.vala b/src/db/DatabaseTable.vala index 4fc8853..5ec5be1 100644 --- a/src/db/DatabaseTable.vala +++ b/src/db/DatabaseTable.vala @@ -53,7 +53,7 @@ public abstract class DatabaseTable { unowned string? sql_debug = Environment.get_variable ("SHOTWELL_SQL_DEBUG"); - if (sql_debug != "") { + if (sql_debug != null && sql_debug != "") { db.trace (on_trace); } } diff --git a/src/direct/DirectPhoto.c b/src/direct/DirectPhoto.c index 5fe58c0..b80ec06 100644 --- a/src/direct/DirectPhoto.c +++ b/src/direct/DirectPhoto.c @@ -1258,7 +1258,7 @@ static void direct_photo_save_dims (DirectPhoto* self) { #line 59 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1261 "DirectPhoto.c" - goto __catch42_g_error; + goto __catch43_g_error; } #line 59 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala" _tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PHOTO, Photo)->backing_photo_row; @@ -1270,8 +1270,8 @@ static void direct_photo_save_dims (DirectPhoto* self) { _g_object_unref0 (_tmp0_); #line 1272 "DirectPhoto.c" } - goto __finally42; - __catch42_g_error: + goto __finally43; + __catch43_g_error: { GError* e = NULL; gchar* _tmp5_ = NULL; @@ -1292,7 +1292,7 @@ static void direct_photo_save_dims (DirectPhoto* self) { _g_error_free0 (e); #line 1294 "DirectPhoto.c" } - __finally42: + __finally43: #line 58 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 58 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala" @@ -1337,7 +1337,7 @@ ImportResult direct_photo_demand_load (DirectPhoto* self) { #line 75 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1340 "DirectPhoto.c" - goto __catch43_g_error; + goto __catch44_g_error; } #line 76 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala" _tmp2_ = reimport_state; @@ -1346,11 +1346,11 @@ ImportResult direct_photo_demand_load (DirectPhoto* self) { #line 76 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1349 "DirectPhoto.c" - goto __catch43_g_error; + goto __catch44_g_error; } } - goto __finally43; - __catch43_g_error: + goto __finally44; + __catch44_g_error: { GError* err = NULL; GError* _tmp3_ = NULL; @@ -1375,7 +1375,7 @@ ImportResult direct_photo_demand_load (DirectPhoto* self) { return result; #line 1377 "DirectPhoto.c" } - __finally43: + __finally44: #line 74 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 74 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala" @@ -2563,7 +2563,7 @@ gchar* direct_photo_source_collection_fetch (DirectPhotoSourceCollection* self, #line 289 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala" _photo_reimport_master_state_unref0 (reimport_state); #line 2566 "DirectPhoto.c" - goto __catch44_g_error; + goto __catch45_g_error; } #line 289 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala" if (_tmp12_) { @@ -2582,7 +2582,7 @@ gchar* direct_photo_source_collection_fetch (DirectPhotoSourceCollection* self, #line 290 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala" _photo_reimport_master_state_unref0 (reimport_state); #line 2585 "DirectPhoto.c" - goto __catch44_g_error; + goto __catch45_g_error; } #line 291 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala" _tmp18_ = should_restore_ori; @@ -2613,8 +2613,8 @@ gchar* direct_photo_source_collection_fetch (DirectPhotoSourceCollection* self, _photo_reimport_master_state_unref0 (reimport_state); #line 2615 "DirectPhoto.c" } - goto __finally44; - __catch44_g_error: + goto __finally45; + __catch45_g_error: { GError* err = NULL; GError* _tmp22_ = NULL; @@ -2638,7 +2638,7 @@ gchar* direct_photo_source_collection_fetch (DirectPhotoSourceCollection* self, _g_error_free0 (err); #line 2640 "DirectPhoto.c" } - __finally44: + __finally45: #line 278 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 278 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala" diff --git a/src/direct/DirectPhotoPage.c b/src/direct/DirectPhotoPage.c index d837f7d..1eea167 100644 --- a/src/direct/DirectPhotoPage.c +++ b/src/direct/DirectPhotoPage.c @@ -683,12 +683,12 @@ static void _direct_photo_page_on_save_as_gtk_action_callback (GtkAction* action static void _vala_array_add93 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void direct_photo_page_on_send_to (DirectPhotoPage* self); static void _direct_photo_page_on_send_to_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_SEND_TO_MENU _ ("Send _To...") +#define RESOURCES_SEND_TO_MENU _ ("Send _To…") static void _vala_array_add94 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_PRINT_LABEL _ ("_Print") static void direct_photo_page_on_print (DirectPhotoPage* self); static void _direct_photo_page_on_print_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_PRINT_MENU _ ("_Print...") +#define RESOURCES_PRINT_MENU _ ("_Print…") static void _vala_array_add95 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void _vala_array_add96 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void _vala_array_add97 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); @@ -726,13 +726,13 @@ static void _vala_array_add104 (GtkActionEntry** array, int* length, int* size, void editing_host_page_on_enhance (EditingHostPage* self); static void _editing_host_page_on_enhance_gtk_action_callback (GtkAction* action, gpointer self); #define RESOURCES_ENHANCE_MENU _ ("_Enhance") -#define RESOURCES_ENHANCE_TOOLTIP _ ("Automatically improve the photo's appearance") +#define RESOURCES_ENHANCE_TOOLTIP _ ("Automatically improve the photo’s appearance") static void _vala_array_add105 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_CROP "shotwell-crop" void editing_host_page_toggle_crop (EditingHostPage* self); static void _editing_host_page_toggle_crop_gtk_action_callback (GtkAction* action, gpointer self); #define RESOURCES_CROP_MENU _ ("_Crop") -#define RESOURCES_CROP_TOOLTIP _ ("Crop the photo's size") +#define RESOURCES_CROP_TOOLTIP _ ("Crop the photo’s size") static void _vala_array_add106 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_REFRESH_LABEL _ ("_Refresh") void editing_host_page_toggle_straighten (EditingHostPage* self); @@ -750,7 +750,7 @@ static void _vala_array_add108 (GtkActionEntry** array, int* length, int* size, void editing_host_page_toggle_adjust (EditingHostPage* self); static void _editing_host_page_toggle_adjust_gtk_action_callback (GtkAction* action, gpointer self); #define RESOURCES_ADJUST_MENU _ ("_Adjust") -#define RESOURCES_ADJUST_TOOLTIP _ ("Adjust the photo's color and tone") +#define RESOURCES_ADJUST_TOOLTIP _ ("Adjust the photo’s color and tone") static void _vala_array_add109 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_REVERT_LABEL _ ("Revert to Original") void editing_host_page_on_revert (EditingHostPage* self); @@ -759,7 +759,7 @@ static void _editing_host_page_on_revert_gtk_action_callback (GtkAction* action, static void _vala_array_add110 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); void editing_host_page_on_adjust_date_time (EditingHostPage* self); static void _editing_host_page_on_adjust_date_time_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_ADJUST_DATE_TIME_MENU _ ("_Adjust Date and Time...") +#define RESOURCES_ADJUST_DATE_TIME_MENU _ ("_Adjust Date and Time…") static void _vala_array_add111 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); void editing_host_page_on_set_background (EditingHostPage* self); static void _editing_host_page_on_set_background_gtk_action_callback (GtkAction* action, gpointer self); @@ -1931,7 +1931,7 @@ static GtkActionEntry* direct_photo_page_real_init_collect_action_entries (Page* #line 55 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala" save_as = _tmp11_; #line 57 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala" - _tmp12_ = _ ("Save _As..."); + _tmp12_ = _ ("Save _As…"); #line 57 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala" save_as.label = _tmp12_; #line 58 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala" @@ -4270,11 +4270,11 @@ static void direct_photo_page_save (DirectPhotoPage* self, GFile* dest, gint sca #line 467 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 4273 "DirectPhotoPage.c" - goto __catch45_g_error; + goto __catch46_g_error; } } - goto __finally45; - __catch45_g_error: + goto __finally46; + __catch46_g_error: { GError* err = NULL; const gchar* _tmp11_ = NULL; @@ -4317,7 +4317,7 @@ static void direct_photo_page_save (DirectPhotoPage* self, GFile* dest, gint sca return; #line 4319 "DirectPhotoPage.c" } - __finally45: + __finally46: #line 466 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 466 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala" diff --git a/src/direct/DirectPhotoPage.vala b/src/direct/DirectPhotoPage.vala index 3d23528..2a56887 100644 --- a/src/direct/DirectPhotoPage.vala +++ b/src/direct/DirectPhotoPage.vala @@ -54,7 +54,7 @@ public class DirectPhotoPage : EditingHostPage { Gtk.ActionEntry save_as = { "SaveAs", Resources.SAVE_AS_LABEL, TRANSLATABLE, "<Ctrl><Shift>S", TRANSLATABLE, on_save_as }; - save_as.label = _("Save _As..."); + save_as.label = _("Save _As…"); save_as.tooltip = _("Save photo with a different name"); actions += save_as; diff --git a/src/editing_tools/EditingTools.c b/src/editing_tools/EditingTools.c index 7c01aaa..31a2bf2 100644 --- a/src/editing_tools/EditingTools.c +++ b/src/editing_tools/EditingTools.c @@ -513,6 +513,16 @@ typedef struct _SaturationTransformationClass SaturationTransformationClass; typedef struct _ExposureTransformation ExposureTransformation; typedef struct _ExposureTransformationClass ExposureTransformationClass; + +#define TYPE_CONTRAST_TRANSFORMATION (contrast_transformation_get_type ()) +#define CONTRAST_TRANSFORMATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONTRAST_TRANSFORMATION, ContrastTransformation)) +#define CONTRAST_TRANSFORMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CONTRAST_TRANSFORMATION, ContrastTransformationClass)) +#define IS_CONTRAST_TRANSFORMATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONTRAST_TRANSFORMATION)) +#define IS_CONTRAST_TRANSFORMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CONTRAST_TRANSFORMATION)) +#define CONTRAST_TRANSFORMATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CONTRAST_TRANSFORMATION, ContrastTransformationClass)) + +typedef struct _ContrastTransformation ContrastTransformation; +typedef struct _ContrastTransformationClass ContrastTransformationClass; #define _pixel_transformation_unref0(var) ((var == NULL) ? NULL : (var = (pixel_transformation_unref (var), NULL))) #define EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND (editing_tools_adjust_tool_adjust_tool_command_get_type ()) @@ -885,6 +895,7 @@ struct _EditingToolsAdjustToolPrivate { gboolean disable_histogram_refresh; OneShotScheduler* temperature_scheduler; OneShotScheduler* tint_scheduler; + OneShotScheduler* contrast_scheduler; OneShotScheduler* saturation_scheduler; OneShotScheduler* exposure_scheduler; OneShotScheduler* shadows_scheduler; @@ -898,13 +909,15 @@ typedef enum { PIXEL_TRANSFORMATION_TYPE_TEMPERATURE, PIXEL_TRANSFORMATION_TYPE_TINT, PIXEL_TRANSFORMATION_TYPE_SATURATION, - PIXEL_TRANSFORMATION_TYPE_EXPOSURE + PIXEL_TRANSFORMATION_TYPE_EXPOSURE, + PIXEL_TRANSFORMATION_TYPE_CONTRAST } PixelTransformationType; struct _EditingToolsAdjustToolAdjustToolWindow { EditingToolsEditingToolWindow parent_instance; EditingToolsAdjustToolAdjustToolWindowPrivate * priv; GtkScale* exposure_slider; + GtkHScale* contrast_slider; GtkScale* saturation_slider; GtkScale* tint_slider; GtkScale* temperature_slider; @@ -1293,7 +1306,7 @@ void configuration_facade_set_last_crop_menu_choice (ConfigurationFacade* self, void configuration_facade_set_last_crop_width (ConfigurationFacade* self, gint choice); void configuration_facade_set_last_crop_height (ConfigurationFacade* self, gint choice); #define RESOURCES_CROP_LABEL _ ("Crop") -#define RESOURCES_CROP_TOOLTIP _ ("Crop the photo's size") +#define RESOURCES_CROP_TOOLTIP _ ("Crop the photo’s size") CropCommand* crop_command_new (Photo* photo, Box* crop, const gchar* name, const gchar* explanation); CropCommand* crop_command_construct (GType object_type, Photo* photo, Box* crop, const gchar* name, const gchar* explanation); GType page_command_get_type (void) G_GNUC_CONST; @@ -1480,6 +1493,8 @@ GType saturation_transformation_get_type (void) G_GNUC_CONST; gfloat saturation_transformation_get_parameter (SaturationTransformation* self); GType exposure_transformation_get_type (void) G_GNUC_CONST; gfloat exposure_transformation_get_parameter (ExposureTransformation* self); +GType contrast_transformation_get_type (void) G_GNUC_CONST; +gfloat contrast_transformation_get_parameter (ContrastTransformation* self); static void editing_tools_adjust_tool_bind_canvas_handlers (EditingToolsAdjustTool* self, EditingToolsPhotoCanvas* canvas); static void editing_tools_adjust_tool_bind_window_handlers (EditingToolsAdjustTool* self); static void editing_tools_adjust_tool_init_fp_pixel_cache (EditingToolsAdjustTool* self, GdkPixbuf* source); @@ -1502,7 +1517,7 @@ static EditingToolsAdjustToolAdjustResetCommand* editing_tools_adjust_tool_adjus static EditingToolsAdjustToolAdjustResetCommand* editing_tools_adjust_tool_adjust_reset_command_construct (GType object_type, EditingToolsAdjustTool* owner, PixelTransformationBundle* current); static void editing_tools_adjust_tool_on_ok (EditingToolsAdjustTool* self); #define RESOURCES_ADJUST_LABEL _ ("Adjust") -#define RESOURCES_ADJUST_TOOLTIP _ ("Adjust the photo's color and tone") +#define RESOURCES_ADJUST_TOOLTIP _ ("Adjust the photo’s color and tone") AdjustColorsSingleCommand* adjust_colors_single_command_new (Photo* photo, PixelTransformationBundle* transformations, const gchar* name, const gchar* explanation); AdjustColorsSingleCommand* adjust_colors_single_command_construct (GType object_type, Photo* photo, PixelTransformationBundle* transformations, const gchar* name, const gchar* explanation); GType adjust_colors_single_command_get_type (void) G_GNUC_CONST; @@ -1529,6 +1544,11 @@ static void editing_tools_adjust_tool_on_delayed_tint_adjustment (EditingToolsAd static void _editing_tools_adjust_tool_on_delayed_tint_adjustment_one_shot_callback (gpointer self); TintTransformation* tint_transformation_new (gfloat client_param); TintTransformation* tint_transformation_construct (GType object_type, gfloat client_param); +static void editing_tools_adjust_tool_on_contrast_adjustment (EditingToolsAdjustTool* self); +static void editing_tools_adjust_tool_on_delayed_contrast_adjustment (EditingToolsAdjustTool* self); +static void _editing_tools_adjust_tool_on_delayed_contrast_adjustment_one_shot_callback (gpointer self); +ContrastTransformation* contrast_transformation_new (gfloat client_parameter); +ContrastTransformation* contrast_transformation_construct (GType object_type, gfloat client_parameter); static void editing_tools_adjust_tool_on_saturation_adjustment (EditingToolsAdjustTool* self); static void editing_tools_adjust_tool_on_delayed_saturation_adjustment (EditingToolsAdjustTool* self); static void _editing_tools_adjust_tool_on_delayed_saturation_adjustment_one_shot_callback (gpointer self); @@ -1561,6 +1581,7 @@ static void _editing_tools_adjust_tool_on_canvas_resize_editing_tools_photo_canv static void _editing_tools_adjust_tool_on_ok_gtk_button_clicked (GtkButton* _sender, gpointer self); static void _editing_tools_adjust_tool_on_reset_gtk_button_clicked (GtkButton* _sender, gpointer self); static void _editing_tools_adjust_tool_on_exposure_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self); +static void _editing_tools_adjust_tool_on_contrast_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self); static void _editing_tools_adjust_tool_on_saturation_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self); static void _editing_tools_adjust_tool_on_tint_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self); static void _editing_tools_adjust_tool_on_temperature_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self); @@ -1580,6 +1601,8 @@ enum { }; #define EXPOSURE_TRANSFORMATION_MIN_PARAMETER (-16.0f) #define EXPOSURE_TRANSFORMATION_MAX_PARAMETER 16.0f +#define CONTRAST_TRANSFORMATION_MIN_PARAMETER (-16.0f) +#define CONTRAST_TRANSFORMATION_MAX_PARAMETER 16.0f #define SATURATION_TRANSFORMATION_MIN_PARAMETER (-16.0f) #define SATURATION_TRANSFORMATION_MAX_PARAMETER 16.0f #define TINT_TRANSFORMATION_MIN_PARAMETER (-16.0f) @@ -1631,7 +1654,7 @@ enum { EDITING_TOOLS_ADJUST_TOOL_ADJUST_ENHANCE_COMMAND_DUMMY_PROPERTY }; #define RESOURCES_ENHANCE_LABEL _ ("Enhance") -#define RESOURCES_ENHANCE_TOOLTIP _ ("Automatically improve the photo's appearance") +#define RESOURCES_ENHANCE_TOOLTIP _ ("Automatically improve the photo’s appearance") static void editing_tools_adjust_tool_adjust_enhance_command_real_execute (Command* base); PixelTransformationBundle* photo_get_enhance_transformations (Photo* self); static void editing_tools_adjust_tool_adjust_enhance_command_real_undo (Command* base); @@ -1660,7 +1683,7 @@ void editing_tools_terminate (void) { static void _suppress_warnings_glog_func (const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message, gpointer self) { #line 59 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" suppress_warnings (log_domain, log_levels, message); -#line 1664 "EditingTools.c" +#line 1687 "EditingTools.c" } @@ -1724,7 +1747,7 @@ EditingToolsEditingToolWindow* editing_tools_editing_tool_window_construct (GTyp _g_object_unref0 (outer_frame); #line 34 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self; -#line 1728 "EditingTools.c" +#line 1751 "EditingTools.c" } @@ -1742,7 +1765,7 @@ static void editing_tools_editing_tool_window_real_add (GtkContainer* base, GtkW _tmp1_ = widget; #line 67 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_container_get_type (), GtkContainer), _tmp1_); -#line 1746 "EditingTools.c" +#line 1769 "EditingTools.c" } @@ -1757,7 +1780,7 @@ gboolean editing_tools_editing_tool_window_has_user_moved (EditingToolsEditingTo result = _tmp0_; #line 71 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 1761 "EditingTools.c" +#line 1784 "EditingTools.c" } @@ -1785,7 +1808,7 @@ static gboolean editing_tools_editing_tool_window_real_key_press_event (GtkWidge result = TRUE; #line 76 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 1789 "EditingTools.c" +#line 1812 "EditingTools.c" } #line 78 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = app_window_get_instance (); @@ -1803,7 +1826,7 @@ static gboolean editing_tools_editing_tool_window_real_key_press_event (GtkWidge result = _tmp6_; #line 78 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 1807 "EditingTools.c" +#line 1830 "EditingTools.c" } @@ -1830,11 +1853,11 @@ static gboolean editing_tools_editing_tool_window_real_button_press_event (GtkWi _tmp1_ = _tmp0_->button; #line 83 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp1_ != ((guint) 1)) { -#line 1834 "EditingTools.c" +#line 1857 "EditingTools.c" gboolean _tmp2_ = FALSE; #line 84 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (GTK_WIDGET_CLASS (editing_tools_editing_tool_window_parent_class)->button_press_event != NULL) { -#line 1838 "EditingTools.c" +#line 1861 "EditingTools.c" GdkEventButton* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; #line 84 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -1843,17 +1866,17 @@ static gboolean editing_tools_editing_tool_window_real_button_press_event (GtkWi _tmp4_ = GTK_WIDGET_CLASS (editing_tools_editing_tool_window_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), gtk_widget_get_type (), GtkWidget), _tmp3_); #line 84 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = _tmp4_; -#line 1847 "EditingTools.c" +#line 1870 "EditingTools.c" } else { #line 84 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = TRUE; -#line 1851 "EditingTools.c" +#line 1874 "EditingTools.c" } #line 84 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = _tmp2_; #line 84 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 1857 "EditingTools.c" +#line 1880 "EditingTools.c" } #line 86 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = event; @@ -1879,7 +1902,7 @@ static gboolean editing_tools_editing_tool_window_real_button_press_event (GtkWi result = TRUE; #line 89 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 1883 "EditingTools.c" +#line 1906 "EditingTools.c" } @@ -1891,7 +1914,7 @@ static void editing_tools_editing_tool_window_real_realize (GtkWidget* base) { gtk_window_set_opacity (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), RESOURCES_TRANSIENT_WINDOW_OPACITY); #line 95 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" GTK_WIDGET_CLASS (editing_tools_editing_tool_window_parent_class)->realize (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), gtk_widget_get_type (), GtkWidget)); -#line 1895 "EditingTools.c" +#line 1918 "EditingTools.c" } @@ -1910,7 +1933,7 @@ static void editing_tools_editing_tool_window_class_init (EditingToolsEditingToo ((GtkWidgetClass *) klass)->realize = editing_tools_editing_tool_window_real_realize; #line 28 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (klass)->finalize = editing_tools_editing_tool_window_finalize; -#line 1914 "EditingTools.c" +#line 1937 "EditingTools.c" } @@ -1926,7 +1949,7 @@ static void editing_tools_editing_tool_window_instance_init (EditingToolsEditing self->priv->layout_frame = _tmp0_; #line 32 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->user_moved = FALSE; -#line 1930 "EditingTools.c" +#line 1953 "EditingTools.c" } @@ -1946,7 +1969,7 @@ static void editing_tools_editing_tool_window_finalize (GObject* obj) { _g_object_unref0 (self->priv->layout_frame); #line 28 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (editing_tools_editing_tool_window_parent_class)->finalize (obj); -#line 1950 "EditingTools.c" +#line 1973 "EditingTools.c" } @@ -1965,14 +1988,14 @@ GType editing_tools_editing_tool_window_get_type (void) { static gpointer _g_object_ref0 (gpointer self) { #line 114 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self ? g_object_ref (self) : NULL; -#line 1969 "EditingTools.c" +#line 1992 "EditingTools.c" } static gpointer _cairo_reference0 (gpointer self) { #line 117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self ? cairo_reference (self) : NULL; -#line 1976 "EditingTools.c" +#line 1999 "EditingTools.c" } @@ -2072,7 +2095,7 @@ EditingToolsPhotoCanvas* editing_tools_photo_canvas_construct (GType object_type self->priv->scaled = _tmp15_; #line 112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self; -#line 2076 "EditingTools.c" +#line 2099 "EditingTools.c" } @@ -2094,7 +2117,7 @@ void editing_tools_photo_canvas_unscaled_to_raw_rect (EditingToolsPhotoCanvas* s *result = _tmp2_; #line 130 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 2098 "EditingTools.c" +#line 2121 "EditingTools.c" } @@ -2174,7 +2197,7 @@ void editing_tools_photo_canvas_active_to_unscaled_point (EditingToolsPhotoCanva *result = _result_; #line 146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 2178 "EditingTools.c" +#line 2201 "EditingTools.c" } @@ -2306,7 +2329,7 @@ void editing_tools_photo_canvas_active_to_unscaled_rect (EditingToolsPhotoCanvas *result = unscaled_rect; #line 166 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 2310 "EditingTools.c" +#line 2333 "EditingTools.c" } @@ -2359,7 +2382,7 @@ void editing_tools_photo_canvas_user_to_active_point (EditingToolsPhotoCanvas* s *result = _result_; #line 176 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 2363 "EditingTools.c" +#line 2386 "EditingTools.c" } @@ -2491,7 +2514,7 @@ void editing_tools_photo_canvas_user_to_active_rect (EditingToolsPhotoCanvas* se *result = active_rect; #line 196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 2495 "EditingTools.c" +#line 2518 "EditingTools.c" } @@ -2509,7 +2532,7 @@ Photo* editing_tools_photo_canvas_get_photo (EditingToolsPhotoCanvas* self) { result = _tmp1_; #line 200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 2513 "EditingTools.c" +#line 2536 "EditingTools.c" } @@ -2527,7 +2550,7 @@ GtkWindow* editing_tools_photo_canvas_get_container (EditingToolsPhotoCanvas* se result = _tmp1_; #line 204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 2531 "EditingTools.c" +#line 2554 "EditingTools.c" } @@ -2545,7 +2568,7 @@ GdkWindow* editing_tools_photo_canvas_get_drawing_window (EditingToolsPhotoCanva result = _tmp1_; #line 208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 2549 "EditingTools.c" +#line 2572 "EditingTools.c" } @@ -2563,7 +2586,7 @@ cairo_t* editing_tools_photo_canvas_get_default_ctx (EditingToolsPhotoCanvas* se result = _tmp1_; #line 212 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 2567 "EditingTools.c" +#line 2590 "EditingTools.c" } @@ -2577,7 +2600,7 @@ void editing_tools_photo_canvas_get_surface_dim (EditingToolsPhotoCanvas* self, *result = _tmp0_; #line 216 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 2581 "EditingTools.c" +#line 2604 "EditingTools.c" } @@ -2594,7 +2617,7 @@ void editing_tools_photo_canvas_get_scaling (EditingToolsPhotoCanvas* self, Scal *result = _tmp1_; #line 220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 2598 "EditingTools.c" +#line 2621 "EditingTools.c" } @@ -2628,14 +2651,14 @@ void editing_tools_photo_canvas_set_surface (EditingToolsPhotoCanvas* self, cair _tmp4_ = *surface_dim; #line 227 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_emit_by_name (self, "new-surface", _tmp3_, &_tmp4_); -#line 2632 "EditingTools.c" +#line 2655 "EditingTools.c" } static gpointer _cairo_surface_reference0 (gpointer self) { #line 231 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self ? cairo_surface_reference (self) : NULL; -#line 2639 "EditingTools.c" +#line 2662 "EditingTools.c" } @@ -2653,7 +2676,7 @@ cairo_surface_t* editing_tools_photo_canvas_get_scaled_surface (EditingToolsPhot result = _tmp1_; #line 231 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 2657 "EditingTools.c" +#line 2680 "EditingTools.c" } @@ -2671,7 +2694,7 @@ GdkPixbuf* editing_tools_photo_canvas_get_scaled_pixbuf (EditingToolsPhotoCanvas result = _tmp1_; #line 235 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 2675 "EditingTools.c" +#line 2698 "EditingTools.c" } @@ -2685,7 +2708,7 @@ void editing_tools_photo_canvas_get_scaled_pixbuf_position (EditingToolsPhotoCan *result = _tmp0_; #line 239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 2689 "EditingTools.c" +#line 2712 "EditingTools.c" } @@ -2740,7 +2763,7 @@ void editing_tools_photo_canvas_resized_pixbuf (EditingToolsPhotoCanvas* self, D _tmp9_ = *scaled_position; #line 247 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_emit_by_name (self, "resized-scaled-pixbuf", &_tmp7_, _tmp8_, &_tmp9_); -#line 2744 "EditingTools.c" +#line 2767 "EditingTools.c" } @@ -2749,7 +2772,7 @@ static void editing_tools_photo_canvas_real_repaint (EditingToolsPhotoCanvas* se g_critical ("Type `%s' does not implement abstract method `editing_tools_photo_canvas_repaint'", g_type_name (G_TYPE_FROM_INSTANCE (self))); #line 250 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 2753 "EditingTools.c" +#line 2776 "EditingTools.c" } @@ -2758,7 +2781,7 @@ void editing_tools_photo_canvas_repaint (EditingToolsPhotoCanvas* self) { g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self)); #line 250 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" EDITING_TOOLS_PHOTO_CANVAS_GET_CLASS (self)->repaint (self); -#line 2762 "EditingTools.c" +#line 2785 "EditingTools.c" } @@ -2858,7 +2881,7 @@ void editing_tools_photo_canvas_paint_pixbuf (EditingToolsPhotoCanvas* self, Gdk _tmp24_ = self->priv->default_ctx; #line 271 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_restore (_tmp24_); -#line 2862 "EditingTools.c" +#line 2885 "EditingTools.c" } @@ -2901,7 +2924,7 @@ void editing_tools_photo_canvas_paint_pixbuf_area (EditingToolsPhotoCanvas* self _tmp2_ = gdk_pixbuf_get_has_alpha (_tmp1_); #line 276 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp2_) { -#line 2905 "EditingTools.c" +#line 2928 "EditingTools.c" cairo_t* _tmp3_ = NULL; cairo_t* _tmp4_ = NULL; GdkRectangle _tmp5_ = {0}; @@ -2947,7 +2970,7 @@ void editing_tools_photo_canvas_paint_pixbuf_area (EditingToolsPhotoCanvas* self _tmp15_ = self->priv->default_ctx; #line 281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_fill (_tmp15_); -#line 2951 "EditingTools.c" +#line 2974 "EditingTools.c" } #line 284 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp16_ = self->priv->default_ctx; @@ -2995,7 +3018,7 @@ void editing_tools_photo_canvas_paint_pixbuf_area (EditingToolsPhotoCanvas* self _tmp34_ = self->priv->default_ctx; #line 290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_restore (_tmp34_); -#line 2999 "EditingTools.c" +#line 3022 "EditingTools.c" } @@ -3029,20 +3052,20 @@ void editing_tools_photo_canvas_paint_surface (EditingToolsPhotoCanvas* self, ca _tmp1_ = over; #line 296 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp1_ == FALSE) { -#line 3033 "EditingTools.c" +#line 3056 "EditingTools.c" cairo_t* _tmp2_ = NULL; #line 297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = self->priv->default_ctx; #line 297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_set_operator (_tmp2_, CAIRO_OPERATOR_SOURCE); -#line 3039 "EditingTools.c" +#line 3062 "EditingTools.c" } else { cairo_t* _tmp3_ = NULL; #line 299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = self->priv->default_ctx; #line 299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_set_operator (_tmp3_, CAIRO_OPERATOR_OVER); -#line 3046 "EditingTools.c" +#line 3069 "EditingTools.c" } #line 301 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = self->priv->default_ctx; @@ -3084,7 +3107,7 @@ void editing_tools_photo_canvas_paint_surface (EditingToolsPhotoCanvas* self, ca _tmp18_ = self->priv->default_ctx; #line 305 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_restore (_tmp18_); -#line 3088 "EditingTools.c" +#line 3111 "EditingTools.c" } @@ -3142,20 +3165,20 @@ void editing_tools_photo_canvas_paint_surface_area (EditingToolsPhotoCanvas* sel _tmp1_ = over; #line 310 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp1_ == FALSE) { -#line 3146 "EditingTools.c" +#line 3169 "EditingTools.c" cairo_t* _tmp2_ = NULL; #line 311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = self->priv->default_ctx; #line 311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_set_operator (_tmp2_, CAIRO_OPERATOR_SOURCE); -#line 3152 "EditingTools.c" +#line 3175 "EditingTools.c" } else { cairo_t* _tmp3_ = NULL; #line 313 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = self->priv->default_ctx; #line 313 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_set_operator (_tmp3_, CAIRO_OPERATOR_OVER); -#line 3159 "EditingTools.c" +#line 3182 "EditingTools.c" } #line 315 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = self->priv->default_ctx; @@ -3245,7 +3268,7 @@ void editing_tools_photo_canvas_paint_surface_area (EditingToolsPhotoCanvas* sel _tmp40_ = self->priv->default_ctx; #line 326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_restore (_tmp40_); -#line 3249 "EditingTools.c" +#line 3272 "EditingTools.c" } @@ -3318,7 +3341,7 @@ void editing_tools_photo_canvas_draw_box (EditingToolsPhotoCanvas* self, cairo_t _tmp16_ = ctx; #line 335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_stroke (_tmp16_); -#line 3322 "EditingTools.c" +#line 3345 "EditingTools.c" } @@ -3359,7 +3382,7 @@ void editing_tools_photo_canvas_draw_text (EditingToolsPhotoCanvas* self, cairo_ _tmp0_ = use_scaled_pos; #line 339 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_) { -#line 3363 "EditingTools.c" +#line 3386 "EditingTools.c" gint _tmp1_ = 0; GdkRectangle _tmp2_ = {0}; gint _tmp3_ = 0; @@ -3382,7 +3405,7 @@ void editing_tools_photo_canvas_draw_text (EditingToolsPhotoCanvas* self, cairo_ _tmp6_ = _tmp5_.y; #line 341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" y = _tmp4_ + _tmp6_; -#line 3386 "EditingTools.c" +#line 3409 "EditingTools.c" } #line 344 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = ctx; @@ -3448,7 +3471,7 @@ void editing_tools_photo_canvas_draw_text (EditingToolsPhotoCanvas* self, cairo_ _tmp29_ = text; #line 357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_show_text (_tmp28_, _tmp29_); -#line 3452 "EditingTools.c" +#line 3475 "EditingTools.c" } @@ -3481,7 +3504,7 @@ void editing_tools_photo_canvas_draw_horizontal_line (EditingToolsPhotoCanvas* s _tmp0_ = use_scaled_pos; #line 372 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_) { -#line 3485 "EditingTools.c" +#line 3508 "EditingTools.c" gint _tmp1_ = 0; GdkRectangle _tmp2_ = {0}; gint _tmp3_ = 0; @@ -3504,7 +3527,7 @@ void editing_tools_photo_canvas_draw_horizontal_line (EditingToolsPhotoCanvas* s _tmp6_ = _tmp5_.y; #line 374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" y = _tmp4_ + _tmp6_; -#line 3508 "EditingTools.c" +#line 3531 "EditingTools.c" } #line 377 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = ctx; @@ -3528,7 +3551,7 @@ void editing_tools_photo_canvas_draw_horizontal_line (EditingToolsPhotoCanvas* s _tmp14_ = ctx; #line 379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_stroke (_tmp14_); -#line 3532 "EditingTools.c" +#line 3555 "EditingTools.c" } @@ -3561,7 +3584,7 @@ void editing_tools_photo_canvas_draw_vertical_line (EditingToolsPhotoCanvas* sel _tmp0_ = use_scaled_pos; #line 394 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_) { -#line 3565 "EditingTools.c" +#line 3588 "EditingTools.c" gint _tmp1_ = 0; GdkRectangle _tmp2_ = {0}; gint _tmp3_ = 0; @@ -3584,7 +3607,7 @@ void editing_tools_photo_canvas_draw_vertical_line (EditingToolsPhotoCanvas* sel _tmp6_ = _tmp5_.y; #line 396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" y = _tmp4_ + _tmp6_; -#line 3588 "EditingTools.c" +#line 3611 "EditingTools.c" } #line 399 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = ctx; @@ -3608,7 +3631,7 @@ void editing_tools_photo_canvas_draw_vertical_line (EditingToolsPhotoCanvas* sel _tmp14_ = ctx; #line 401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_stroke (_tmp14_); -#line 3612 "EditingTools.c" +#line 3635 "EditingTools.c" } @@ -3681,7 +3704,7 @@ void editing_tools_photo_canvas_erase_horizontal_line (EditingToolsPhotoCanvas* _tmp17_ = self->priv->default_ctx; #line 413 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_restore (_tmp17_); -#line 3685 "EditingTools.c" +#line 3708 "EditingTools.c" } @@ -3727,7 +3750,7 @@ void editing_tools_photo_canvas_draw_circle (EditingToolsPhotoCanvas* self, cair _tmp8_ = ctx; #line 422 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_stroke (_tmp8_); -#line 3731 "EditingTools.c" +#line 3754 "EditingTools.c" } @@ -3800,7 +3823,7 @@ void editing_tools_photo_canvas_erase_vertical_line (EditingToolsPhotoCanvas* se _tmp17_ = self->priv->default_ctx; #line 438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_restore (_tmp17_); -#line 3804 "EditingTools.c" +#line 3827 "EditingTools.c" } @@ -3877,7 +3900,7 @@ void editing_tools_photo_canvas_erase_box (EditingToolsPhotoCanvas* self, Box* b _tmp19_ = box_get_height (box); #line 446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_erase_vertical_line (self, _tmp16_, _tmp18_, _tmp19_); -#line 3881 "EditingTools.c" +#line 3904 "EditingTools.c" } @@ -3922,7 +3945,7 @@ void editing_tools_photo_canvas_invalidate_area (EditingToolsPhotoCanvas* self, _tmp8_ = rect; #line 454 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gdk_window_invalidate_rect (_tmp7_, &_tmp8_, FALSE); -#line 3926 "EditingTools.c" +#line 3949 "EditingTools.c" } @@ -3979,7 +4002,7 @@ static cairo_surface_t* editing_tools_photo_canvas_pixbuf_to_surface (EditingToo _cairo_destroy0 (ctx); #line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 3983 "EditingTools.c" +#line 4006 "EditingTools.c" } @@ -3998,19 +4021,19 @@ static void g_cclosure_user_marshal_VOID__POINTER_BOXED (GClosure * closure, GVa data1 = closure->data; #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" data2 = param_values->data[0].v_pointer; -#line 4002 "EditingTools.c" +#line 4025 "EditingTools.c" } else { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" data1 = param_values->data[0].v_pointer; #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" data2 = closure->data; -#line 4008 "EditingTools.c" +#line 4031 "EditingTools.c" } #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" callback = (GMarshalFunc_VOID__POINTER_BOXED) (marshal_data ? marshal_data : cc->callback); #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" callback (data1, g_value_get_pointer (param_values + 1), g_value_get_boxed (param_values + 2), data2); -#line 4014 "EditingTools.c" +#line 4037 "EditingTools.c" } @@ -4029,26 +4052,26 @@ static void g_cclosure_user_marshal_VOID__BOXED_OBJECT_BOXED (GClosure * closure data1 = closure->data; #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" data2 = param_values->data[0].v_pointer; -#line 4033 "EditingTools.c" +#line 4056 "EditingTools.c" } else { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" data1 = param_values->data[0].v_pointer; #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" data2 = closure->data; -#line 4039 "EditingTools.c" +#line 4062 "EditingTools.c" } #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" callback = (GMarshalFunc_VOID__BOXED_OBJECT_BOXED) (marshal_data ? marshal_data : cc->callback); #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" callback (data1, g_value_get_boxed (param_values + 1), g_value_get_object (param_values + 2), g_value_get_boxed (param_values + 3), data2); -#line 4045 "EditingTools.c" +#line 4068 "EditingTools.c" } static void editing_tools_value_photo_canvas_init (GValue* value) { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = NULL; -#line 4052 "EditingTools.c" +#line 4075 "EditingTools.c" } @@ -4057,7 +4080,7 @@ static void editing_tools_value_photo_canvas_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_unref (value->data[0].v_pointer); -#line 4061 "EditingTools.c" +#line 4084 "EditingTools.c" } } @@ -4067,11 +4090,11 @@ static void editing_tools_value_photo_canvas_copy_value (const GValue* src_value if (src_value->data[0].v_pointer) { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" dest_value->data[0].v_pointer = editing_tools_photo_canvas_ref (src_value->data[0].v_pointer); -#line 4071 "EditingTools.c" +#line 4094 "EditingTools.c" } else { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" dest_value->data[0].v_pointer = NULL; -#line 4075 "EditingTools.c" +#line 4098 "EditingTools.c" } } @@ -4079,37 +4102,37 @@ static void editing_tools_value_photo_canvas_copy_value (const GValue* src_value static gpointer editing_tools_value_photo_canvas_peek_pointer (const GValue* value) { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return value->data[0].v_pointer; -#line 4083 "EditingTools.c" +#line 4106 "EditingTools.c" } static gchar* editing_tools_value_photo_canvas_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (collect_values[0].v_pointer) { -#line 4090 "EditingTools.c" +#line 4113 "EditingTools.c" EditingToolsPhotoCanvas* object; object = collect_values[0].v_pointer; #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (object->parent_instance.g_class == NULL) { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 4097 "EditingTools.c" +#line 4120 "EditingTools.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 4101 "EditingTools.c" +#line 4124 "EditingTools.c" } #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = editing_tools_photo_canvas_ref (object); -#line 4105 "EditingTools.c" +#line 4128 "EditingTools.c" } else { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = NULL; -#line 4109 "EditingTools.c" +#line 4132 "EditingTools.c" } #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return NULL; -#line 4113 "EditingTools.c" +#line 4136 "EditingTools.c" } @@ -4120,25 +4143,25 @@ static gchar* editing_tools_value_photo_canvas_lcopy_value (const GValue* value, if (!object_p) { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 4124 "EditingTools.c" +#line 4147 "EditingTools.c" } #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!value->data[0].v_pointer) { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *object_p = NULL; -#line 4130 "EditingTools.c" +#line 4153 "EditingTools.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *object_p = value->data[0].v_pointer; -#line 4134 "EditingTools.c" +#line 4157 "EditingTools.c" } else { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *object_p = editing_tools_photo_canvas_ref (value->data[0].v_pointer); -#line 4138 "EditingTools.c" +#line 4161 "EditingTools.c" } #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return NULL; -#line 4142 "EditingTools.c" +#line 4165 "EditingTools.c" } @@ -4152,7 +4175,7 @@ GParamSpec* editing_tools_param_spec_photo_canvas (const gchar* name, const gcha G_PARAM_SPEC (spec)->value_type = object_type; #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return G_PARAM_SPEC (spec); -#line 4156 "EditingTools.c" +#line 4179 "EditingTools.c" } @@ -4161,7 +4184,7 @@ gpointer editing_tools_value_get_photo_canvas (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, EDITING_TOOLS_TYPE_PHOTO_CANVAS), NULL); #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return value->data[0].v_pointer; -#line 4165 "EditingTools.c" +#line 4188 "EditingTools.c" } @@ -4181,17 +4204,17 @@ void editing_tools_value_set_photo_canvas (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_ref (value->data[0].v_pointer); -#line 4185 "EditingTools.c" +#line 4208 "EditingTools.c" } else { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = NULL; -#line 4189 "EditingTools.c" +#line 4212 "EditingTools.c" } #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (old) { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_unref (old); -#line 4195 "EditingTools.c" +#line 4218 "EditingTools.c" } } @@ -4210,17 +4233,17 @@ void editing_tools_value_take_photo_canvas (GValue* value, gpointer v_object) { g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = v_object; -#line 4214 "EditingTools.c" +#line 4237 "EditingTools.c" } else { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = NULL; -#line 4218 "EditingTools.c" +#line 4241 "EditingTools.c" } #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (old) { #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_unref (old); -#line 4224 "EditingTools.c" +#line 4247 "EditingTools.c" } } @@ -4238,7 +4261,7 @@ static void editing_tools_photo_canvas_class_init (EditingToolsPhotoCanvasClass g_signal_new ("new_surface", EDITING_TOOLS_TYPE_PHOTO_CANVAS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__POINTER_BOXED, G_TYPE_NONE, 2, G_TYPE_POINTER, TYPE_DIMENSIONS); #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_new ("resized_scaled_pixbuf", EDITING_TOOLS_TYPE_PHOTO_CANVAS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__BOXED_OBJECT_BOXED, G_TYPE_NONE, 3, TYPE_DIMENSIONS, GDK_TYPE_PIXBUF, GDK_TYPE_RECTANGLE); -#line 4242 "EditingTools.c" +#line 4265 "EditingTools.c" } @@ -4247,7 +4270,7 @@ static void editing_tools_photo_canvas_instance_init (EditingToolsPhotoCanvas * self->priv = EDITING_TOOLS_PHOTO_CANVAS_GET_PRIVATE (self); #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->ref_count = 1; -#line 4251 "EditingTools.c" +#line 4274 "EditingTools.c" } @@ -4269,7 +4292,7 @@ static void editing_tools_photo_canvas_finalize (EditingToolsPhotoCanvas* obj) { _cairo_surface_destroy0 (self->priv->scaled); #line 109 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->priv->scaled_pixbuf); -#line 4273 "EditingTools.c" +#line 4296 "EditingTools.c" } @@ -4294,7 +4317,7 @@ gpointer editing_tools_photo_canvas_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return instance; -#line 4298 "EditingTools.c" +#line 4321 "EditingTools.c" } @@ -4307,7 +4330,7 @@ void editing_tools_photo_canvas_unref (gpointer instance) { EDITING_TOOLS_PHOTO_CANVAS_GET_CLASS (self)->finalize (self); #line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_type_free_instance ((GTypeInstance *) self); -#line 4311 "EditingTools.c" +#line 4334 "EditingTools.c" } } @@ -4330,14 +4353,14 @@ EditingToolsEditingTool* editing_tools_editing_tool_construct (GType object_type self->name = _tmp1_; #line 489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self; -#line 4334 "EditingTools.c" +#line 4357 "EditingTools.c" } static gpointer _editing_tools_photo_canvas_ref0 (gpointer self) { #line 502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self ? editing_tools_photo_canvas_ref (self) : NULL; -#line 4341 "EditingTools.c" +#line 4364 "EditingTools.c" } @@ -4346,7 +4369,7 @@ static gboolean _editing_tools_editing_tool_on_keypress_gtk_widget_key_press_eve result = editing_tools_editing_tool_on_keypress ((EditingToolsEditingTool*) self, event); #line 506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 4350 "EditingTools.c" +#line 4373 "EditingTools.c" } @@ -4385,17 +4408,17 @@ static void editing_tools_editing_tool_real_activate (EditingToolsEditingTool* s _tmp5_ = self->priv->tool_window; #line 505 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp5_ != NULL) { -#line 4389 "EditingTools.c" +#line 4412 "EditingTools.c" EditingToolsEditingToolWindow* _tmp6_ = NULL; #line 506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = self->priv->tool_window; #line 506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), "key-press-event", (GCallback) _editing_tools_editing_tool_on_keypress_gtk_widget_key_press_event, self); -#line 4395 "EditingTools.c" +#line 4418 "EditingTools.c" } #line 508 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_emit_by_name (self, "activated"); -#line 4399 "EditingTools.c" +#line 4422 "EditingTools.c" } @@ -4404,7 +4427,7 @@ void editing_tools_editing_tool_activate (EditingToolsEditingTool* self, Editing g_return_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self)); #line 497 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->activate (self, canvas); -#line 4408 "EditingTools.c" +#line 4431 "EditingTools.c" } @@ -4416,23 +4439,23 @@ static void editing_tools_editing_tool_real_deactivate (EditingToolsEditingTool* _tmp1_ = self->canvas; #line 514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp1_ == NULL) { -#line 4420 "EditingTools.c" +#line 4443 "EditingTools.c" EditingToolsEditingToolWindow* _tmp2_ = NULL; #line 514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = self->priv->tool_window; #line 514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = _tmp2_ == NULL; -#line 4426 "EditingTools.c" +#line 4449 "EditingTools.c" } else { #line 514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = FALSE; -#line 4430 "EditingTools.c" +#line 4453 "EditingTools.c" } #line 514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_) { #line 515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 4436 "EditingTools.c" +#line 4459 "EditingTools.c" } #line 517 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _editing_tools_photo_canvas_unref0 (self->canvas); @@ -4442,7 +4465,7 @@ static void editing_tools_editing_tool_real_deactivate (EditingToolsEditingTool* _tmp3_ = self->priv->tool_window; #line 519 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp3_ != NULL) { -#line 4446 "EditingTools.c" +#line 4469 "EditingTools.c" EditingToolsEditingToolWindow* _tmp4_ = NULL; guint _tmp5_ = 0U; #line 520 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -4455,11 +4478,11 @@ static void editing_tools_editing_tool_real_deactivate (EditingToolsEditingTool* _g_object_unref0 (self->priv->tool_window); #line 521 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->tool_window = NULL; -#line 4459 "EditingTools.c" +#line 4482 "EditingTools.c" } #line 524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_emit_by_name (self, "deactivated"); -#line 4463 "EditingTools.c" +#line 4486 "EditingTools.c" } @@ -4468,7 +4491,7 @@ void editing_tools_editing_tool_deactivate (EditingToolsEditingTool* self) { g_return_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self)); #line 512 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->deactivate (self); -#line 4472 "EditingTools.c" +#line 4495 "EditingTools.c" } @@ -4483,7 +4506,7 @@ gboolean editing_tools_editing_tool_is_activated (EditingToolsEditingTool* self) result = _tmp0_ != NULL; #line 528 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 4487 "EditingTools.c" +#line 4510 "EditingTools.c" } @@ -4493,7 +4516,7 @@ static EditingToolsEditingToolWindow* editing_tools_editing_tool_real_get_tool_w result = NULL; #line 532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 4497 "EditingTools.c" +#line 4520 "EditingTools.c" } @@ -4502,7 +4525,7 @@ EditingToolsEditingToolWindow* editing_tools_editing_tool_get_tool_window (Editi g_return_val_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self), NULL); #line 531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->get_tool_window (self); -#line 4506 "EditingTools.c" +#line 4529 "EditingTools.c" } @@ -4521,11 +4544,11 @@ static GdkPixbuf* editing_tools_editing_tool_real_get_display_pixbuf (EditingToo if (max_dim) { #line 550 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *max_dim = _vala_max_dim; -#line 4525 "EditingTools.c" +#line 4548 "EditingTools.c" } #line 550 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 4529 "EditingTools.c" +#line 4552 "EditingTools.c" } @@ -4534,7 +4557,7 @@ GdkPixbuf* editing_tools_editing_tool_get_display_pixbuf (EditingToolsEditingToo g_return_val_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self), NULL); #line 546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->get_display_pixbuf (self, scaling, photo, max_dim, error); -#line 4538 "EditingTools.c" +#line 4561 "EditingTools.c" } @@ -4547,7 +4570,7 @@ void editing_tools_editing_tool_on_left_click (EditingToolsEditingTool* self, gi g_return_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self)); #line 553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->on_left_click (self, x, y); -#line 4551 "EditingTools.c" +#line 4574 "EditingTools.c" } @@ -4560,7 +4583,7 @@ void editing_tools_editing_tool_on_left_released (EditingToolsEditingTool* self, g_return_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self)); #line 556 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->on_left_released (self, x, y); -#line 4564 "EditingTools.c" +#line 4587 "EditingTools.c" } @@ -4573,7 +4596,7 @@ void editing_tools_editing_tool_on_motion (EditingToolsEditingTool* self, gint x g_return_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self)); #line 559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->on_motion (self, x, y, mask); -#line 4577 "EditingTools.c" +#line 4600 "EditingTools.c" } @@ -4583,7 +4606,7 @@ static gboolean editing_tools_editing_tool_real_on_leave_notify_event (EditingTo result = FALSE; #line 563 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 4587 "EditingTools.c" +#line 4610 "EditingTools.c" } @@ -4592,7 +4615,7 @@ gboolean editing_tools_editing_tool_on_leave_notify_event (EditingToolsEditingTo g_return_val_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self), FALSE); #line 562 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->on_leave_notify_event (self); -#line 4596 "EditingTools.c" +#line 4619 "EditingTools.c" } @@ -4617,13 +4640,13 @@ static gboolean editing_tools_editing_tool_real_on_keypress (EditingToolsEditing result = TRUE; #line 571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 4621 "EditingTools.c" +#line 4644 "EditingTools.c" } #line 574 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = FALSE; #line 574 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 4627 "EditingTools.c" +#line 4650 "EditingTools.c" } @@ -4632,14 +4655,14 @@ gboolean editing_tools_editing_tool_on_keypress (EditingToolsEditingTool* self, g_return_val_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self), FALSE); #line 566 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->on_keypress (self, event); -#line 4636 "EditingTools.c" +#line 4659 "EditingTools.c" } static void editing_tools_editing_tool_real_paint (EditingToolsEditingTool* self, cairo_t* ctx) { #line 577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (ctx != NULL); -#line 4643 "EditingTools.c" +#line 4666 "EditingTools.c" } @@ -4648,7 +4671,7 @@ void editing_tools_editing_tool_paint (EditingToolsEditingTool* self, cairo_t* c g_return_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self)); #line 577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->paint (self, ctx); -#line 4652 "EditingTools.c" +#line 4675 "EditingTools.c" } @@ -4657,7 +4680,7 @@ void editing_tools_editing_tool_notify_cancel (EditingToolsEditingTool* self) { g_return_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self)); #line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_emit_by_name (self, "cancelled"); -#line 4661 "EditingTools.c" +#line 4684 "EditingTools.c" } @@ -4676,26 +4699,26 @@ static void g_cclosure_user_marshal_VOID__OBJECT_OBJECT_BOXED_BOOLEAN (GClosure data1 = closure->data; #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" data2 = param_values->data[0].v_pointer; -#line 4680 "EditingTools.c" +#line 4703 "EditingTools.c" } else { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" data1 = param_values->data[0].v_pointer; #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" data2 = closure->data; -#line 4686 "EditingTools.c" +#line 4709 "EditingTools.c" } #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" callback = (GMarshalFunc_VOID__OBJECT_OBJECT_BOXED_BOOLEAN) (marshal_data ? marshal_data : cc->callback); #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" callback (data1, g_value_get_object (param_values + 1), g_value_get_object (param_values + 2), g_value_get_boxed (param_values + 3), g_value_get_boolean (param_values + 4), data2); -#line 4692 "EditingTools.c" +#line 4715 "EditingTools.c" } static void editing_tools_value_editing_tool_init (GValue* value) { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = NULL; -#line 4699 "EditingTools.c" +#line 4722 "EditingTools.c" } @@ -4704,7 +4727,7 @@ static void editing_tools_value_editing_tool_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_editing_tool_unref (value->data[0].v_pointer); -#line 4708 "EditingTools.c" +#line 4731 "EditingTools.c" } } @@ -4714,11 +4737,11 @@ static void editing_tools_value_editing_tool_copy_value (const GValue* src_value if (src_value->data[0].v_pointer) { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" dest_value->data[0].v_pointer = editing_tools_editing_tool_ref (src_value->data[0].v_pointer); -#line 4718 "EditingTools.c" +#line 4741 "EditingTools.c" } else { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" dest_value->data[0].v_pointer = NULL; -#line 4722 "EditingTools.c" +#line 4745 "EditingTools.c" } } @@ -4726,37 +4749,37 @@ static void editing_tools_value_editing_tool_copy_value (const GValue* src_value static gpointer editing_tools_value_editing_tool_peek_pointer (const GValue* value) { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return value->data[0].v_pointer; -#line 4730 "EditingTools.c" +#line 4753 "EditingTools.c" } static gchar* editing_tools_value_editing_tool_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (collect_values[0].v_pointer) { -#line 4737 "EditingTools.c" +#line 4760 "EditingTools.c" EditingToolsEditingTool* object; object = collect_values[0].v_pointer; #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (object->parent_instance.g_class == NULL) { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 4744 "EditingTools.c" +#line 4767 "EditingTools.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 4748 "EditingTools.c" +#line 4771 "EditingTools.c" } #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = editing_tools_editing_tool_ref (object); -#line 4752 "EditingTools.c" +#line 4775 "EditingTools.c" } else { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = NULL; -#line 4756 "EditingTools.c" +#line 4779 "EditingTools.c" } #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return NULL; -#line 4760 "EditingTools.c" +#line 4783 "EditingTools.c" } @@ -4767,25 +4790,25 @@ static gchar* editing_tools_value_editing_tool_lcopy_value (const GValue* value, if (!object_p) { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 4771 "EditingTools.c" +#line 4794 "EditingTools.c" } #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!value->data[0].v_pointer) { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *object_p = NULL; -#line 4777 "EditingTools.c" +#line 4800 "EditingTools.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *object_p = value->data[0].v_pointer; -#line 4781 "EditingTools.c" +#line 4804 "EditingTools.c" } else { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *object_p = editing_tools_editing_tool_ref (value->data[0].v_pointer); -#line 4785 "EditingTools.c" +#line 4808 "EditingTools.c" } #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return NULL; -#line 4789 "EditingTools.c" +#line 4812 "EditingTools.c" } @@ -4799,7 +4822,7 @@ GParamSpec* editing_tools_param_spec_editing_tool (const gchar* name, const gcha G_PARAM_SPEC (spec)->value_type = object_type; #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return G_PARAM_SPEC (spec); -#line 4803 "EditingTools.c" +#line 4826 "EditingTools.c" } @@ -4808,7 +4831,7 @@ gpointer editing_tools_value_get_editing_tool (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, EDITING_TOOLS_TYPE_EDITING_TOOL), NULL); #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return value->data[0].v_pointer; -#line 4812 "EditingTools.c" +#line 4835 "EditingTools.c" } @@ -4828,17 +4851,17 @@ void editing_tools_value_set_editing_tool (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_editing_tool_ref (value->data[0].v_pointer); -#line 4832 "EditingTools.c" +#line 4855 "EditingTools.c" } else { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = NULL; -#line 4836 "EditingTools.c" +#line 4859 "EditingTools.c" } #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (old) { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_editing_tool_unref (old); -#line 4842 "EditingTools.c" +#line 4865 "EditingTools.c" } } @@ -4857,17 +4880,17 @@ void editing_tools_value_take_editing_tool (GValue* value, gpointer v_object) { g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = v_object; -#line 4861 "EditingTools.c" +#line 4884 "EditingTools.c" } else { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = NULL; -#line 4865 "EditingTools.c" +#line 4888 "EditingTools.c" } #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (old) { #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_editing_tool_unref (old); -#line 4871 "EditingTools.c" +#line 4894 "EditingTools.c" } } @@ -4909,7 +4932,7 @@ static void editing_tools_editing_tool_class_init (EditingToolsEditingToolClass g_signal_new ("cancelled", EDITING_TOOLS_TYPE_EDITING_TOOL, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_new ("aborted", EDITING_TOOLS_TYPE_EDITING_TOOL, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 4913 "EditingTools.c" +#line 4936 "EditingTools.c" } @@ -4922,7 +4945,7 @@ static void editing_tools_editing_tool_instance_init (EditingToolsEditingTool * self->priv->tool_window = NULL; #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->ref_count = 1; -#line 4926 "EditingTools.c" +#line 4949 "EditingTools.c" } @@ -4940,7 +4963,7 @@ static void editing_tools_editing_tool_finalize (EditingToolsEditingTool* obj) { _cairo_surface_destroy0 (self->surface); #line 473 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_free0 (self->name); -#line 4944 "EditingTools.c" +#line 4967 "EditingTools.c" } @@ -4965,7 +4988,7 @@ gpointer editing_tools_editing_tool_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return instance; -#line 4969 "EditingTools.c" +#line 4992 "EditingTools.c" } @@ -4978,7 +5001,7 @@ void editing_tools_editing_tool_unref (gpointer instance) { EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->finalize (self); #line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_type_free_instance ((GTypeInstance *) self); -#line 4982 "EditingTools.c" +#line 5005 "EditingTools.c" } } @@ -4990,17 +5013,17 @@ static EditingToolsCropToolReticleOrientation editing_tools_crop_tool_reticle_or if (self == EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_LANDSCAPE) { #line 636 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_PORTRAIT; -#line 4994 "EditingTools.c" +#line 5017 "EditingTools.c" } else { #line 637 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_LANDSCAPE; -#line 4998 "EditingTools.c" +#line 5021 "EditingTools.c" } #line 636 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = _tmp0_; #line 636 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 5004 "EditingTools.c" +#line 5027 "EditingTools.c" } @@ -5034,14 +5057,14 @@ static EditingToolsCropTool* editing_tools_crop_tool_construct (GType object_typ self = (EditingToolsCropTool*) editing_tools_editing_tool_construct (object_type, "CropTool"); #line 736 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self; -#line 5038 "EditingTools.c" +#line 5061 "EditingTools.c" } static EditingToolsCropTool* editing_tools_crop_tool_new (void) { #line 736 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return editing_tools_crop_tool_construct (EDITING_TOOLS_TYPE_CROP_TOOL); -#line 5045 "EditingTools.c" +#line 5068 "EditingTools.c" } @@ -5054,7 +5077,7 @@ EditingToolsCropTool* editing_tools_crop_tool_factory (void) { result = _tmp0_; #line 741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 5058 "EditingTools.c" +#line 5081 "EditingTools.c" } @@ -5085,7 +5108,7 @@ gboolean editing_tools_crop_tool_is_available (Photo* photo, Scaling* scaling) { _tmp5_ = _tmp4_.width; #line 747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp5_ > EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE) { -#line 5089 "EditingTools.c" +#line 5112 "EditingTools.c" Dimensions _tmp6_ = {0}; gint _tmp7_ = 0; #line 747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5094,17 +5117,17 @@ gboolean editing_tools_crop_tool_is_available (Photo* photo, Scaling* scaling) { _tmp7_ = _tmp6_.height; #line 747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = _tmp7_ > EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE; -#line 5098 "EditingTools.c" +#line 5121 "EditingTools.c" } else { #line 747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = FALSE; -#line 5102 "EditingTools.c" +#line 5125 "EditingTools.c" } #line 747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = _tmp3_; #line 747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 5108 "EditingTools.c" +#line 5131 "EditingTools.c" } @@ -5115,13 +5138,13 @@ static void _vala_array_add4 (EditingToolsCropToolConstraintDescription*** array *size = (*size) ? (2 * (*size)) : 4; #line 753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5119 "EditingTools.c" +#line 5142 "EditingTools.c" } #line 753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5125 "EditingTools.c" +#line 5148 "EditingTools.c" } @@ -5132,13 +5155,13 @@ static void _vala_array_add5 (EditingToolsCropToolConstraintDescription*** array *size = (*size) ? (2 * (*size)) : 4; #line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5136 "EditingTools.c" +#line 5159 "EditingTools.c" } #line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5142 "EditingTools.c" +#line 5165 "EditingTools.c" } @@ -5149,13 +5172,13 @@ static void _vala_array_add6 (EditingToolsCropToolConstraintDescription*** array *size = (*size) ? (2 * (*size)) : 4; #line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5153 "EditingTools.c" +#line 5176 "EditingTools.c" } #line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5159 "EditingTools.c" +#line 5182 "EditingTools.c" } @@ -5166,13 +5189,13 @@ static void _vala_array_add7 (EditingToolsCropToolConstraintDescription*** array *size = (*size) ? (2 * (*size)) : 4; #line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5170 "EditingTools.c" +#line 5193 "EditingTools.c" } #line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5176 "EditingTools.c" +#line 5199 "EditingTools.c" } @@ -5183,13 +5206,13 @@ static void _vala_array_add8 (EditingToolsCropToolConstraintDescription*** array *size = (*size) ? (2 * (*size)) : 4; #line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5187 "EditingTools.c" +#line 5210 "EditingTools.c" } #line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5193 "EditingTools.c" +#line 5216 "EditingTools.c" } @@ -5200,13 +5223,13 @@ static void _vala_array_add9 (EditingToolsCropToolConstraintDescription*** array *size = (*size) ? (2 * (*size)) : 4; #line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5204 "EditingTools.c" +#line 5227 "EditingTools.c" } #line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5210 "EditingTools.c" +#line 5233 "EditingTools.c" } @@ -5217,13 +5240,13 @@ static void _vala_array_add10 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5221 "EditingTools.c" +#line 5244 "EditingTools.c" } #line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5227 "EditingTools.c" +#line 5250 "EditingTools.c" } @@ -5234,13 +5257,13 @@ static void _vala_array_add11 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5238 "EditingTools.c" +#line 5261 "EditingTools.c" } #line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5244 "EditingTools.c" +#line 5267 "EditingTools.c" } @@ -5251,13 +5274,13 @@ static void _vala_array_add12 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5255 "EditingTools.c" +#line 5278 "EditingTools.c" } #line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5261 "EditingTools.c" +#line 5284 "EditingTools.c" } @@ -5268,13 +5291,13 @@ static void _vala_array_add13 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5272 "EditingTools.c" +#line 5295 "EditingTools.c" } #line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5278 "EditingTools.c" +#line 5301 "EditingTools.c" } @@ -5285,13 +5308,13 @@ static void _vala_array_add14 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5289 "EditingTools.c" +#line 5312 "EditingTools.c" } #line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5295 "EditingTools.c" +#line 5318 "EditingTools.c" } @@ -5302,13 +5325,13 @@ static void _vala_array_add15 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5306 "EditingTools.c" +#line 5329 "EditingTools.c" } #line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5312 "EditingTools.c" +#line 5335 "EditingTools.c" } @@ -5319,13 +5342,13 @@ static void _vala_array_add16 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5323 "EditingTools.c" +#line 5346 "EditingTools.c" } #line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5329 "EditingTools.c" +#line 5352 "EditingTools.c" } @@ -5336,13 +5359,13 @@ static void _vala_array_add17 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5340 "EditingTools.c" +#line 5363 "EditingTools.c" } #line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5346 "EditingTools.c" +#line 5369 "EditingTools.c" } @@ -5353,13 +5376,13 @@ static void _vala_array_add18 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5357 "EditingTools.c" +#line 5380 "EditingTools.c" } #line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5363 "EditingTools.c" +#line 5386 "EditingTools.c" } @@ -5370,13 +5393,13 @@ static void _vala_array_add19 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5374 "EditingTools.c" +#line 5397 "EditingTools.c" } #line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5380 "EditingTools.c" +#line 5403 "EditingTools.c" } @@ -5387,13 +5410,13 @@ static void _vala_array_add20 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5391 "EditingTools.c" +#line 5414 "EditingTools.c" } #line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5397 "EditingTools.c" +#line 5420 "EditingTools.c" } @@ -5404,13 +5427,13 @@ static void _vala_array_add21 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5408 "EditingTools.c" +#line 5431 "EditingTools.c" } #line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5414 "EditingTools.c" +#line 5437 "EditingTools.c" } @@ -5421,13 +5444,13 @@ static void _vala_array_add22 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5425 "EditingTools.c" +#line 5448 "EditingTools.c" } #line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5431 "EditingTools.c" +#line 5454 "EditingTools.c" } @@ -5438,13 +5461,13 @@ static void _vala_array_add23 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5442 "EditingTools.c" +#line 5465 "EditingTools.c" } #line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5448 "EditingTools.c" +#line 5471 "EditingTools.c" } @@ -5455,13 +5478,13 @@ static void _vala_array_add24 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5459 "EditingTools.c" +#line 5482 "EditingTools.c" } #line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5465 "EditingTools.c" +#line 5488 "EditingTools.c" } @@ -5472,13 +5495,13 @@ static void _vala_array_add25 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5476 "EditingTools.c" +#line 5499 "EditingTools.c" } #line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5482 "EditingTools.c" +#line 5505 "EditingTools.c" } @@ -5489,13 +5512,13 @@ static void _vala_array_add26 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5493 "EditingTools.c" +#line 5516 "EditingTools.c" } #line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5499 "EditingTools.c" +#line 5522 "EditingTools.c" } @@ -5506,13 +5529,13 @@ static void _vala_array_add27 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5510 "EditingTools.c" +#line 5533 "EditingTools.c" } #line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5516 "EditingTools.c" +#line 5539 "EditingTools.c" } @@ -5523,13 +5546,13 @@ static void _vala_array_add28 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5527 "EditingTools.c" +#line 5550 "EditingTools.c" } #line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5533 "EditingTools.c" +#line 5556 "EditingTools.c" } @@ -5540,13 +5563,13 @@ static void _vala_array_add29 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5544 "EditingTools.c" +#line 5567 "EditingTools.c" } #line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5550 "EditingTools.c" +#line 5573 "EditingTools.c" } @@ -5557,13 +5580,13 @@ static void _vala_array_add30 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5561 "EditingTools.c" +#line 5584 "EditingTools.c" } #line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5567 "EditingTools.c" +#line 5590 "EditingTools.c" } @@ -5574,13 +5597,13 @@ static void _vala_array_add31 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5578 "EditingTools.c" +#line 5601 "EditingTools.c" } #line 780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5584 "EditingTools.c" +#line 5607 "EditingTools.c" } @@ -5591,13 +5614,13 @@ static void _vala_array_add32 (EditingToolsCropToolConstraintDescription*** arra *size = (*size) ? (2 * (*size)) : 4; #line 781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1); -#line 5595 "EditingTools.c" +#line 5618 "EditingTools.c" } #line 781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[(*length)++] = value; #line 781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*array)[*length] = NULL; -#line 5601 "EditingTools.c" +#line 5624 "EditingTools.c" } @@ -5788,7 +5811,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp16__length1 = _result__length1; #line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp17_ = _ ("SD Video (4 : 3)"); + _tmp17_ = _ ("SD Video (4 ∶ 3)"); #line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp18_ = editing_tools_crop_tool_constraint_description_new (_tmp17_, 4, 3, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5798,7 +5821,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp19__length1 = _result__length1; #line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp20_ = _ ("HD Video (16 : 9)"); + _tmp20_ = _ ("HD Video (16 ∶ 9)"); #line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp21_ = editing_tools_crop_tool_constraint_description_new (_tmp20_, 16, 9, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5818,7 +5841,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp25__length1 = _result__length1; #line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp26_ = _ ("Wallet (2 x 3 in.)"); + _tmp26_ = _ ("Wallet (2 × 3 in.)"); #line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp27_ = editing_tools_crop_tool_constraint_description_new (_tmp26_, 3, 2, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5828,7 +5851,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp28__length1 = _result__length1; #line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp29_ = _ ("Notecard (3 x 5 in.)"); + _tmp29_ = _ ("Notecard (3 × 5 in.)"); #line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp30_ = editing_tools_crop_tool_constraint_description_new (_tmp29_, 5, 3, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5838,7 +5861,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp31__length1 = _result__length1; #line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp32_ = _ ("4 x 6 in."); + _tmp32_ = _ ("4 × 6 in."); #line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp33_ = editing_tools_crop_tool_constraint_description_new (_tmp32_, 6, 4, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5848,7 +5871,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp34__length1 = _result__length1; #line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp35_ = _ ("5 x 7 in."); + _tmp35_ = _ ("5 × 7 in."); #line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp36_ = editing_tools_crop_tool_constraint_description_new (_tmp35_, 7, 5, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5858,7 +5881,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp37__length1 = _result__length1; #line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp38_ = _ ("8 x 10 in."); + _tmp38_ = _ ("8 × 10 in."); #line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp39_ = editing_tools_crop_tool_constraint_description_new (_tmp38_, 10, 8, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5868,7 +5891,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp40__length1 = _result__length1; #line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp41_ = _ ("Letter (8.5 x 11 in.)"); + _tmp41_ = _ ("Letter (8.5 × 11 in.)"); #line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp42_ = editing_tools_crop_tool_constraint_description_new (_tmp41_, 85, 110, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5878,7 +5901,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp43__length1 = _result__length1; #line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp44_ = _ ("11 x 14 in."); + _tmp44_ = _ ("11 × 14 in."); #line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp45_ = editing_tools_crop_tool_constraint_description_new (_tmp44_, 14, 11, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5888,7 +5911,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp46__length1 = _result__length1; #line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp47_ = _ ("Tabloid (11 x 17 in.)"); + _tmp47_ = _ ("Tabloid (11 × 17 in.)"); #line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp48_ = editing_tools_crop_tool_constraint_description_new (_tmp47_, 17, 11, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5898,7 +5921,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp49__length1 = _result__length1; #line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp50_ = _ ("16 x 20 in."); + _tmp50_ = _ ("16 × 20 in."); #line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp51_ = editing_tools_crop_tool_constraint_description_new (_tmp50_, 20, 16, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5918,7 +5941,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp55__length1 = _result__length1; #line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp56_ = _ ("Metric Wallet (9 x 13 cm)"); + _tmp56_ = _ ("Metric Wallet (9 × 13 cm)"); #line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp57_ = editing_tools_crop_tool_constraint_description_new (_tmp56_, 13, 9, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5928,7 +5951,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp58__length1 = _result__length1; #line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp59_ = _ ("Postcard (10 x 15 cm)"); + _tmp59_ = _ ("Postcard (10 × 15 cm)"); #line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp60_ = editing_tools_crop_tool_constraint_description_new (_tmp59_, 15, 10, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5938,7 +5961,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp61__length1 = _result__length1; #line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp62_ = _ ("13 x 18 cm"); + _tmp62_ = _ ("13 × 18 cm"); #line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp63_ = editing_tools_crop_tool_constraint_description_new (_tmp62_, 18, 13, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5948,7 +5971,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp64__length1 = _result__length1; #line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp65_ = _ ("18 x 24 cm"); + _tmp65_ = _ ("18 × 24 cm"); #line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp66_ = editing_tools_crop_tool_constraint_description_new (_tmp65_, 24, 18, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5958,7 +5981,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp67__length1 = _result__length1; #line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp68_ = _ ("A4 (210 x 297 mm)"); + _tmp68_ = _ ("A4 (210 × 297 mm)"); #line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp69_ = editing_tools_crop_tool_constraint_description_new (_tmp68_, 210, 297, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5968,7 +5991,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp70__length1 = _result__length1; #line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp71_ = _ ("20 x 30 cm"); + _tmp71_ = _ ("20 × 30 cm"); #line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp72_ = editing_tools_crop_tool_constraint_description_new (_tmp71_, 30, 20, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5978,7 +6001,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp73__length1 = _result__length1; #line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp74_ = _ ("24 x 40 cm"); + _tmp74_ = _ ("24 × 40 cm"); #line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp75_ = editing_tools_crop_tool_constraint_description_new (_tmp74_, 40, 24, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5988,7 +6011,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp76__length1 = _result__length1; #line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp77_ = _ ("30 x 40 cm"); + _tmp77_ = _ ("30 × 40 cm"); #line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp78_ = editing_tools_crop_tool_constraint_description_new (_tmp77_, 40, 30, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -5998,7 +6021,7 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat #line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp79__length1 = _result__length1; #line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp80_ = _ ("A3 (297 x 420 mm)"); + _tmp80_ = _ ("A3 (297 × 420 mm)"); #line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp81_ = editing_tools_crop_tool_constraint_description_new (_tmp80_, 420, 297, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS); #line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -6031,20 +6054,20 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat if (result_length1) { #line 783 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *result_length1 = _tmp88__length1; -#line 6035 "EditingTools.c" +#line 6058 "EditingTools.c" } #line 783 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = _tmp88_; #line 783 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 6041 "EditingTools.c" +#line 6064 "EditingTools.c" } static gpointer _editing_tools_crop_tool_constraint_description_ref0 (gpointer self) { #line 790 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self ? editing_tools_crop_tool_constraint_description_ref (self) : NULL; -#line 6048 "EditingTools.c" +#line 6071 "EditingTools.c" } @@ -6063,7 +6086,7 @@ static GtkListStore* editing_tools_crop_tool_create_constraint_list (EditingTool _tmp1_ = constraint_data; #line 790 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1__length1 = constraint_data_length1; -#line 6067 "EditingTools.c" +#line 6090 "EditingTools.c" { EditingToolsCropToolConstraintDescription** constraint_collection = NULL; gint constraint_collection_length1 = 0; @@ -6075,14 +6098,14 @@ static GtkListStore* editing_tools_crop_tool_create_constraint_list (EditingTool constraint_collection_length1 = _tmp1__length1; #line 790 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" for (constraint_it = 0; constraint_it < _tmp1__length1; constraint_it = constraint_it + 1) { -#line 6079 "EditingTools.c" +#line 6102 "EditingTools.c" EditingToolsCropToolConstraintDescription* _tmp2_ = NULL; EditingToolsCropToolConstraintDescription* constraint = NULL; #line 790 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = _editing_tools_crop_tool_constraint_description_ref0 (constraint_collection[constraint_it]); #line 790 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" constraint = _tmp2_; -#line 6086 "EditingTools.c" +#line 6109 "EditingTools.c" { GtkListStore* _tmp3_ = NULL; GtkTreeIter _tmp4_ = {0}; @@ -6115,7 +6138,7 @@ static GtkListStore* editing_tools_crop_tool_create_constraint_list (EditingTool G_IS_VALUE (&_tmp9_) ? (g_value_unset (&_tmp9_), NULL) : NULL; #line 790 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _editing_tools_crop_tool_constraint_description_unref0 (constraint); -#line 6119 "EditingTools.c" +#line 6142 "EditingTools.c" } } } @@ -6123,7 +6146,7 @@ static GtkListStore* editing_tools_crop_tool_create_constraint_list (EditingTool result = _result_; #line 795 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 6127 "EditingTools.c" +#line 6150 "EditingTools.c" } @@ -6149,7 +6172,7 @@ static void editing_tools_crop_tool_update_pivot_button_state (EditingToolsCropT gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), _tmp4_); #line 799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _editing_tools_crop_tool_constraint_description_unref0 (_tmp3_); -#line 6153 "EditingTools.c" +#line 6176 "EditingTools.c" } @@ -6189,7 +6212,7 @@ static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_get_se _tmp7_ = _tmp6_->aspect_ratio; #line 806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp7_ == EDITING_TOOLS_CROP_TOOL_ORIGINAL_ASPECT_RATIO) { -#line 6193 "EditingTools.c" +#line 6216 "EditingTools.c" EditingToolsCropToolConstraintDescription* _tmp8_ = NULL; EditingToolsPhotoCanvas* _tmp9_ = NULL; GdkRectangle _tmp10_ = {0}; @@ -6218,7 +6241,7 @@ static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_get_se _tmp15_ = _tmp14_.height; #line 808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp12_->basis_height = _tmp15_; -#line 6222 "EditingTools.c" +#line 6245 "EditingTools.c" } else { EditingToolsCropToolConstraintDescription* _tmp16_ = NULL; gfloat _tmp17_ = 0.0F; @@ -6228,7 +6251,7 @@ static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_get_se _tmp17_ = _tmp16_->aspect_ratio; #line 809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp17_ == EDITING_TOOLS_CROP_TOOL_SCREEN_ASPECT_RATIO) { -#line 6232 "EditingTools.c" +#line 6255 "EditingTools.c" GdkScreen* screen = NULL; GdkScreen* _tmp18_ = NULL; GdkScreen* _tmp19_ = NULL; @@ -6262,14 +6285,14 @@ static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_get_se _tmp23_->basis_height = _tmp25_; #line 809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (screen); -#line 6266 "EditingTools.c" +#line 6289 "EditingTools.c" } } #line 815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = _result_; #line 815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 6273 "EditingTools.c" +#line 6296 "EditingTools.c" } @@ -6305,7 +6328,7 @@ static gboolean editing_tools_crop_tool_on_width_entry_focus_out (EditingToolsCr result = _tmp5_; #line 820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 6309 "EditingTools.c" +#line 6332 "EditingTools.c" } @@ -6341,7 +6364,7 @@ static gboolean editing_tools_crop_tool_on_height_entry_focus_out (EditingToolsC result = _tmp5_; #line 825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 6345 "EditingTools.c" +#line 6368 "EditingTools.c" } @@ -6411,7 +6434,7 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC _tmp10_ = width; #line 832 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp10_ < 1) { -#line 6415 "EditingTools.c" +#line 6438 "EditingTools.c" EditingToolsCropToolCropToolWindow* _tmp11_ = NULL; GtkEntry* _tmp12_ = NULL; gint _tmp13_ = 0; @@ -6433,13 +6456,13 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC gtk_entry_set_text (_tmp12_, _tmp15_); #line 834 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_free0 (_tmp15_); -#line 6437 "EditingTools.c" +#line 6460 "EditingTools.c" } #line 837 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp16_ = height; #line 837 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp16_ < 1) { -#line 6443 "EditingTools.c" +#line 6466 "EditingTools.c" EditingToolsCropToolCropToolWindow* _tmp17_ = NULL; GtkEntry* _tmp18_ = NULL; gint _tmp19_ = 0; @@ -6461,7 +6484,7 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC gtk_entry_set_text (_tmp18_, _tmp21_); #line 839 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_free0 (_tmp21_); -#line 6465 "EditingTools.c" +#line 6488 "EditingTools.c" } #line 842 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp23_ = width; @@ -6469,7 +6492,7 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC _tmp24_ = self->priv->custom_width; #line 842 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp23_ == _tmp24_) { -#line 6473 "EditingTools.c" +#line 6496 "EditingTools.c" gint _tmp25_ = 0; gint _tmp26_ = 0; #line 842 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -6478,11 +6501,11 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC _tmp26_ = self->priv->custom_height; #line 842 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp22_ = _tmp25_ == _tmp26_; -#line 6482 "EditingTools.c" +#line 6505 "EditingTools.c" } else { #line 842 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp22_ = FALSE; -#line 6486 "EditingTools.c" +#line 6509 "EditingTools.c" } #line 842 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp22_) { @@ -6490,7 +6513,7 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC result = FALSE; #line 843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 6494 "EditingTools.c" +#line 6517 "EditingTools.c" } #line 845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp27_ = width; @@ -6502,7 +6525,7 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC _tmp29_ = self->priv->custom_aspect_ratio; #line 847 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp29_ < EDITING_TOOLS_CROP_TOOL_MIN_ASPECT_RATIO) { -#line 6506 "EditingTools.c" +#line 6529 "EditingTools.c" EditingToolsCropToolCropToolWindow* _tmp30_ = NULL; GtkEntry* _tmp31_ = NULL; EditingToolsCropToolCropToolWindow* _tmp32_ = NULL; @@ -6517,7 +6540,7 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC _tmp33_ = _tmp32_->custom_height_entry; #line 848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp31_ == _tmp33_) { -#line 6521 "EditingTools.c" +#line 6544 "EditingTools.c" gint _tmp34_ = 0; EditingToolsCropToolCropToolWindow* _tmp35_ = NULL; GtkEntry* _tmp36_ = NULL; @@ -6542,7 +6565,7 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC gtk_entry_set_text (_tmp36_, _tmp39_); #line 850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_free0 (_tmp39_); -#line 6546 "EditingTools.c" +#line 6569 "EditingTools.c" } else { gint _tmp40_ = 0; EditingToolsCropToolCropToolWindow* _tmp41_ = NULL; @@ -6568,7 +6591,7 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC gtk_entry_set_text (_tmp42_, _tmp45_); #line 853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_free0 (_tmp45_); -#line 6572 "EditingTools.c" +#line 6595 "EditingTools.c" } } else { gfloat _tmp46_ = 0.0F; @@ -6576,7 +6599,7 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC _tmp46_ = self->priv->custom_aspect_ratio; #line 855 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp46_ > EDITING_TOOLS_CROP_TOOL_MAX_ASPECT_RATIO) { -#line 6580 "EditingTools.c" +#line 6603 "EditingTools.c" EditingToolsCropToolCropToolWindow* _tmp47_ = NULL; GtkEntry* _tmp48_ = NULL; EditingToolsCropToolCropToolWindow* _tmp49_ = NULL; @@ -6591,7 +6614,7 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC _tmp50_ = _tmp49_->custom_height_entry; #line 856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp48_ == _tmp50_) { -#line 6595 "EditingTools.c" +#line 6618 "EditingTools.c" gint _tmp51_ = 0; EditingToolsCropToolCropToolWindow* _tmp52_ = NULL; GtkEntry* _tmp53_ = NULL; @@ -6616,7 +6639,7 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC gtk_entry_set_text (_tmp53_, _tmp56_); #line 858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_free0 (_tmp56_); -#line 6620 "EditingTools.c" +#line 6643 "EditingTools.c" } else { gint _tmp57_ = 0; EditingToolsCropToolCropToolWindow* _tmp58_ = NULL; @@ -6642,7 +6665,7 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC gtk_entry_set_text (_tmp59_, _tmp62_); #line 861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_free0 (_tmp62_); -#line 6646 "EditingTools.c" +#line 6669 "EditingTools.c" } } } @@ -6688,7 +6711,7 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC result = FALSE; #line 877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 6692 "EditingTools.c" +#line 6715 "EditingTools.c" } @@ -6711,7 +6734,7 @@ static void editing_tools_crop_tool_on_width_insert_text (EditingToolsCropTool* _tmp3_ = length; #line 881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_on_entry_insert_text (self, _tmp1_, _tmp2_, _tmp3_, position); -#line 6715 "EditingTools.c" +#line 6738 "EditingTools.c" } @@ -6734,7 +6757,7 @@ static void editing_tools_crop_tool_on_height_insert_text (EditingToolsCropTool* _tmp3_ = length; #line 885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_on_entry_insert_text (self, _tmp1_, _tmp2_, _tmp3_, position); -#line 6738 "EditingTools.c" +#line 6761 "EditingTools.c" } @@ -6752,7 +6775,7 @@ static gchar string_get (const gchar* self, glong index) { result = _tmp1_; #line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 6756 "EditingTools.c" +#line 6779 "EditingTools.c" } @@ -6777,7 +6800,7 @@ static void editing_tools_crop_tool_on_entry_insert_text (EditingToolsCropTool* if (_tmp0_) { #line 890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 6781 "EditingTools.c" +#line 6804 "EditingTools.c" } #line 892 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->entry_insert_in_progress = TRUE; @@ -6785,7 +6808,7 @@ static void editing_tools_crop_tool_on_entry_insert_text (EditingToolsCropTool* _tmp1_ = length; #line 894 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp1_ == -1) { -#line 6789 "EditingTools.c" +#line 6812 "EditingTools.c" const gchar* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; @@ -6797,25 +6820,25 @@ static void editing_tools_crop_tool_on_entry_insert_text (EditingToolsCropTool* _tmp4_ = _tmp3_; #line 895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" length = (gint) _tmp4_; -#line 6801 "EditingTools.c" +#line 6824 "EditingTools.c" } #line 898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = g_strdup (""); #line 898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" new_text = _tmp5_; -#line 6807 "EditingTools.c" +#line 6830 "EditingTools.c" { gint ctr = 0; #line 899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ctr = 0; -#line 6812 "EditingTools.c" +#line 6835 "EditingTools.c" { gboolean _tmp6_ = FALSE; #line 899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = TRUE; #line 899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" while (TRUE) { -#line 6819 "EditingTools.c" +#line 6842 "EditingTools.c" gint _tmp8_ = 0; gint _tmp9_ = 0; const gchar* _tmp10_ = NULL; @@ -6824,13 +6847,13 @@ static void editing_tools_crop_tool_on_entry_insert_text (EditingToolsCropTool* gboolean _tmp13_ = FALSE; #line 899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!_tmp6_) { -#line 6828 "EditingTools.c" +#line 6851 "EditingTools.c" gint _tmp7_ = 0; #line 899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = ctr; #line 899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ctr = _tmp7_ + 1; -#line 6834 "EditingTools.c" +#line 6857 "EditingTools.c" } #line 899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = FALSE; @@ -6842,7 +6865,7 @@ static void editing_tools_crop_tool_on_entry_insert_text (EditingToolsCropTool* if (!(_tmp8_ < _tmp9_)) { #line 899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 6846 "EditingTools.c" +#line 6869 "EditingTools.c" } #line 900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = text; @@ -6854,7 +6877,7 @@ static void editing_tools_crop_tool_on_entry_insert_text (EditingToolsCropTool* _tmp13_ = g_ascii_isdigit (_tmp12_); #line 900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp13_) { -#line 6858 "EditingTools.c" +#line 6881 "EditingTools.c" const gchar* _tmp14_ = NULL; const gchar* _tmp15_ = NULL; gint _tmp16_ = 0; @@ -6882,7 +6905,7 @@ static void editing_tools_crop_tool_on_entry_insert_text (EditingToolsCropTool* new_text = _tmp20_; #line 901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_free0 (_tmp19_); -#line 6886 "EditingTools.c" +#line 6909 "EditingTools.c" } } } @@ -6895,7 +6918,7 @@ static void editing_tools_crop_tool_on_entry_insert_text (EditingToolsCropTool* _tmp23_ = _tmp22_; #line 905 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp23_ > 0) { -#line 6899 "EditingTools.c" +#line 6922 "EditingTools.c" GtkEntry* _tmp24_ = NULL; const gchar* _tmp25_ = NULL; const gchar* _tmp26_ = NULL; @@ -6913,7 +6936,7 @@ static void editing_tools_crop_tool_on_entry_insert_text (EditingToolsCropTool* _tmp28_ = _tmp27_; #line 906 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_editable_insert_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GTK_TYPE_EDITABLE, GtkEditable), _tmp25_, (gint) _tmp28_, position); -#line 6917 "EditingTools.c" +#line 6940 "EditingTools.c" } #line 908 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp29_ = sender; @@ -6923,7 +6946,7 @@ static void editing_tools_crop_tool_on_entry_insert_text (EditingToolsCropTool* self->priv->entry_insert_in_progress = FALSE; #line 888 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_free0 (new_text); -#line 6927 "EditingTools.c" +#line 6950 "EditingTools.c" } @@ -6954,7 +6977,7 @@ static gfloat editing_tools_crop_tool_get_constraint_aspect_ratio (EditingToolsC _tmp4_ = _result_; #line 916 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp4_ == EDITING_TOOLS_CROP_TOOL_ORIGINAL_ASPECT_RATIO) { -#line 6958 "EditingTools.c" +#line 6981 "EditingTools.c" EditingToolsPhotoCanvas* _tmp5_ = NULL; GdkRectangle _tmp6_ = {0}; gint _tmp7_ = 0; @@ -6975,14 +6998,14 @@ static gfloat editing_tools_crop_tool_get_constraint_aspect_ratio (EditingToolsC _tmp10_ = _tmp9_.height; #line 917 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _result_ = ((gfloat) _tmp7_) / ((gfloat) _tmp10_); -#line 6979 "EditingTools.c" +#line 7002 "EditingTools.c" } else { gfloat _tmp11_ = 0.0F; #line 919 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = _result_; #line 919 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp11_ == EDITING_TOOLS_CROP_TOOL_SCREEN_ASPECT_RATIO) { -#line 6986 "EditingTools.c" +#line 7009 "EditingTools.c" GdkScreen* screen = NULL; GdkScreen* _tmp12_ = NULL; GdkScreen* _tmp13_ = NULL; @@ -7008,20 +7031,20 @@ static gfloat editing_tools_crop_tool_get_constraint_aspect_ratio (EditingToolsC _result_ = ((gfloat) _tmp15_) / ((gfloat) _tmp17_); #line 919 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (screen); -#line 7012 "EditingTools.c" +#line 7035 "EditingTools.c" } else { gfloat _tmp18_ = 0.0F; #line 922 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp18_ = _result_; #line 922 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp18_ == EDITING_TOOLS_CROP_TOOL_CUSTOM_ASPECT_RATIO) { -#line 7019 "EditingTools.c" +#line 7042 "EditingTools.c" gfloat _tmp19_ = 0.0F; #line 923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp19_ = self->priv->custom_aspect_ratio; #line 923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _result_ = _tmp19_; -#line 7025 "EditingTools.c" +#line 7048 "EditingTools.c" } } } @@ -7029,19 +7052,19 @@ static gfloat editing_tools_crop_tool_get_constraint_aspect_ratio (EditingToolsC _tmp20_ = self->priv->reticle_orientation; #line 925 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp20_ == EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_PORTRAIT) { -#line 7033 "EditingTools.c" +#line 7056 "EditingTools.c" gfloat _tmp21_ = 0.0F; #line 926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp21_ = _result_; #line 926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _result_ = 1.0f / _tmp21_; -#line 7039 "EditingTools.c" +#line 7062 "EditingTools.c" } #line 928 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = _result_; #line 928 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 7045 "EditingTools.c" +#line 7068 "EditingTools.c" } @@ -7068,7 +7091,7 @@ static gfloat editing_tools_crop_tool_get_constraint_aspect_ratio_for_constraint _tmp2_ = _result_; #line 934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp2_ == EDITING_TOOLS_CROP_TOOL_ORIGINAL_ASPECT_RATIO) { -#line 7072 "EditingTools.c" +#line 7095 "EditingTools.c" Dimensions orig_dim = {0}; Photo* _tmp3_ = NULL; Dimensions _tmp4_ = {0}; @@ -7092,14 +7115,14 @@ static gfloat editing_tools_crop_tool_get_constraint_aspect_ratio_for_constraint _tmp8_ = _tmp7_.height; #line 936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _result_ = ((gfloat) _tmp6_) / ((gfloat) _tmp8_); -#line 7096 "EditingTools.c" +#line 7119 "EditingTools.c" } else { gfloat _tmp9_ = 0.0F; #line 937 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = _result_; #line 937 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp9_ == EDITING_TOOLS_CROP_TOOL_SCREEN_ASPECT_RATIO) { -#line 7103 "EditingTools.c" +#line 7126 "EditingTools.c" GdkScreen* screen = NULL; GdkScreen* _tmp10_ = NULL; GdkScreen* _tmp11_ = NULL; @@ -7125,20 +7148,20 @@ static gfloat editing_tools_crop_tool_get_constraint_aspect_ratio_for_constraint _result_ = ((gfloat) _tmp13_) / ((gfloat) _tmp15_); #line 937 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (screen); -#line 7129 "EditingTools.c" +#line 7152 "EditingTools.c" } else { gfloat _tmp16_ = 0.0F; #line 940 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp16_ = _result_; #line 940 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp16_ == EDITING_TOOLS_CROP_TOOL_CUSTOM_ASPECT_RATIO) { -#line 7136 "EditingTools.c" +#line 7159 "EditingTools.c" gfloat _tmp17_ = 0.0F; #line 941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp17_ = self->priv->custom_aspect_ratio; #line 941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _result_ = _tmp17_; -#line 7142 "EditingTools.c" +#line 7165 "EditingTools.c" } } } @@ -7146,19 +7169,19 @@ static gfloat editing_tools_crop_tool_get_constraint_aspect_ratio_for_constraint _tmp18_ = self->priv->reticle_orientation; #line 943 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp18_ == EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_PORTRAIT) { -#line 7150 "EditingTools.c" +#line 7173 "EditingTools.c" gfloat _tmp19_ = 0.0F; #line 944 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp19_ = _result_; #line 944 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _result_ = 1.0f / _tmp19_; -#line 7156 "EditingTools.c" +#line 7179 "EditingTools.c" } #line 946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = _result_; #line 946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 7162 "EditingTools.c" +#line 7185 "EditingTools.c" } @@ -7187,7 +7210,7 @@ static void editing_tools_crop_tool_constraint_changed (EditingToolsCropTool* se if (_tmp2_ == EDITING_TOOLS_CROP_TOOL_CUSTOM_ASPECT_RATIO) { #line 953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_set_custom_constraint_mode (self); -#line 7191 "EditingTools.c" +#line 7214 "EditingTools.c" } else { EditingToolsCropToolConstraintDescription* _tmp3_ = NULL; gfloat _tmp4_ = 0.0F; @@ -7199,7 +7222,7 @@ static void editing_tools_crop_tool_constraint_changed (EditingToolsCropTool* se _tmp4_ = _tmp3_->aspect_ratio; #line 957 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp4_ != EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) { -#line 7203 "EditingTools.c" +#line 7226 "EditingTools.c" ConfigFacade* _tmp5_ = NULL; ConfigFacade* _tmp6_ = NULL; gint _tmp7_ = 0; @@ -7234,7 +7257,7 @@ static void editing_tools_crop_tool_constraint_changed (EditingToolsCropTool* se _tmp12_ = self->priv->custom_init_height; #line 963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->custom_aspect_ratio = ((gfloat) _tmp11_) / ((gfloat) _tmp12_); -#line 7238 "EditingTools.c" +#line 7261 "EditingTools.c" } } #line 967 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -7253,7 +7276,7 @@ static void editing_tools_crop_tool_constraint_changed (EditingToolsCropTool* se if (_tmp16_) { #line 970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->reticle_orientation = EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_LANDSCAPE; -#line 7257 "EditingTools.c" +#line 7280 "EditingTools.c" } #line 972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp17_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self); @@ -7261,7 +7284,7 @@ static void editing_tools_crop_tool_constraint_changed (EditingToolsCropTool* se _tmp18_ = self->priv->pre_aspect_ratio; #line 972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp17_ != _tmp18_) { -#line 7265 "EditingTools.c" +#line 7288 "EditingTools.c" Box new_crop = {0}; Box _tmp19_ = {0}; Box _tmp20_ = {0}; @@ -7299,11 +7322,11 @@ static void editing_tools_crop_tool_constraint_changed (EditingToolsCropTool* se _tmp26_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self); #line 980 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->pre_aspect_ratio = _tmp26_; -#line 7303 "EditingTools.c" +#line 7326 "EditingTools.c" } #line 950 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _editing_tools_crop_tool_constraint_description_unref0 (selected_constraint); -#line 7307 "EditingTools.c" +#line 7330 "EditingTools.c" } @@ -7360,7 +7383,7 @@ static void editing_tools_crop_tool_set_custom_constraint_mode (EditingToolsCrop if (_tmp0_ == EDITING_TOOLS_CROP_TOOL_CONSTRAINT_MODE_CUSTOM) { #line 986 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 7364 "EditingTools.c" +#line 7387 "EditingTools.c" } #line 988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = self->priv->crop_tool_window; @@ -7370,7 +7393,7 @@ static void editing_tools_crop_tool_set_custom_constraint_mode (EditingToolsCrop if (_tmp3_ == -1) { #line 988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = TRUE; -#line 7374 "EditingTools.c" +#line 7397 "EditingTools.c" } else { EditingToolsCropToolCropToolWindow* _tmp4_ = NULL; gint _tmp5_ = 0; @@ -7380,11 +7403,11 @@ static void editing_tools_crop_tool_set_custom_constraint_mode (EditingToolsCrop _tmp5_ = _tmp4_->normal_height; #line 988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _tmp5_ == -1; -#line 7384 "EditingTools.c" +#line 7407 "EditingTools.c" } #line 988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp1_) { -#line 7388 "EditingTools.c" +#line 7411 "EditingTools.c" EditingToolsCropToolCropToolWindow* _tmp6_ = NULL; EditingToolsCropToolCropToolWindow* _tmp7_ = NULL; EditingToolsCropToolCropToolWindow* _tmp8_ = NULL; @@ -7402,7 +7425,7 @@ static void editing_tools_crop_tool_set_custom_constraint_mode (EditingToolsCrop _tmp7_->normal_width = _tmp9_; #line 989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_->normal_height = _tmp10_; -#line 7406 "EditingTools.c" +#line 7429 "EditingTools.c" } #line 992 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = self->priv->crop_tool_window; @@ -7498,7 +7521,7 @@ static void editing_tools_crop_tool_set_custom_constraint_mode (EditingToolsCrop _tmp47_ = self->priv->reticle_orientation; #line 1003 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp47_ == EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_LANDSCAPE) { -#line 7502 "EditingTools.c" +#line 7525 "EditingTools.c" EditingToolsCropToolCropToolWindow* _tmp48_ = NULL; GtkEntry* _tmp49_ = NULL; gint _tmp50_ = 0; @@ -7537,7 +7560,7 @@ static void editing_tools_crop_tool_set_custom_constraint_mode (EditingToolsCrop gtk_entry_set_text (_tmp54_, _tmp57_); #line 1005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_free0 (_tmp57_); -#line 7541 "EditingTools.c" +#line 7564 "EditingTools.c" } else { EditingToolsCropToolCropToolWindow* _tmp58_ = NULL; GtkEntry* _tmp59_ = NULL; @@ -7577,7 +7600,7 @@ static void editing_tools_crop_tool_set_custom_constraint_mode (EditingToolsCrop gtk_entry_set_text (_tmp64_, _tmp67_); #line 1008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_free0 (_tmp67_); -#line 7581 "EditingTools.c" +#line 7604 "EditingTools.c" } #line 1010 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp68_ = self->priv->custom_init_width; @@ -7591,7 +7614,7 @@ static void editing_tools_crop_tool_set_custom_constraint_mode (EditingToolsCrop gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp70_, gtk_widget_get_type (), GtkWidget)); #line 1014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->constraint_mode = EDITING_TOOLS_CROP_TOOL_CONSTRAINT_MODE_CUSTOM; -#line 7595 "EditingTools.c" +#line 7618 "EditingTools.c" } @@ -7647,7 +7670,7 @@ static void editing_tools_crop_tool_set_normal_constraint_mode (EditingToolsCrop if (_tmp0_ == EDITING_TOOLS_CROP_TOOL_CONSTRAINT_MODE_NORMAL) { #line 1019 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 7651 "EditingTools.c" +#line 7674 "EditingTools.c" } #line 1021 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = self->priv->crop_tool_window; @@ -7757,7 +7780,7 @@ static void editing_tools_crop_tool_set_normal_constraint_mode (EditingToolsCrop gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_widget_get_type (), GtkWidget)); #line 1037 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->constraint_mode = EDITING_TOOLS_CROP_TOOL_CONSTRAINT_MODE_NORMAL; -#line 7761 "EditingTools.c" +#line 7784 "EditingTools.c" } @@ -7804,7 +7827,7 @@ static void editing_tools_crop_tool_constrain_crop (EditingToolsCropTool* self, _tmp1_ = user_aspect_ratio; #line 1042 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp1_ == EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) { -#line 7808 "EditingTools.c" +#line 7831 "EditingTools.c" Box _tmp2_ = {0}; #line 1043 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = *crop; @@ -7812,7 +7835,7 @@ static void editing_tools_crop_tool_constrain_crop (EditingToolsCropTool* self, *result = _tmp2_; #line 1043 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 7816 "EditingTools.c" +#line 7839 "EditingTools.c" } #line 1046 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = box_get_width (crop); @@ -7876,7 +7899,7 @@ static void editing_tools_crop_tool_constrain_crop (EditingToolsCropTool* self, _tmp25_ = user_aspect_ratio; #line 1057 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (((gfloat) _tmp23_) >= (_tmp24_ * _tmp25_)) { -#line 7880 "EditingTools.c" +#line 7903 "EditingTools.c" gint _tmp26_ = 0; gfloat _tmp27_ = 0.0F; #line 1058 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -7885,7 +7908,7 @@ static void editing_tools_crop_tool_constrain_crop (EditingToolsCropTool* self, _tmp27_ = user_aspect_ratio; #line 1058 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" box_adjust_width (crop, (gint) (_tmp26_ * _tmp27_)); -#line 7889 "EditingTools.c" +#line 7912 "EditingTools.c" } else { gint _tmp28_ = 0; gfloat _tmp29_ = 0.0F; @@ -7895,7 +7918,7 @@ static void editing_tools_crop_tool_constrain_crop (EditingToolsCropTool* self, _tmp29_ = user_aspect_ratio; #line 1060 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" box_adjust_height (crop, (gint) (_tmp28_ / _tmp29_)); -#line 7899 "EditingTools.c" +#line 7922 "EditingTools.c" } #line 1062 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp30_ = *crop; @@ -7903,7 +7926,7 @@ static void editing_tools_crop_tool_constrain_crop (EditingToolsCropTool* self, *result = _tmp30_; #line 1062 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 7907 "EditingTools.c" +#line 7930 "EditingTools.c" } @@ -7938,7 +7961,7 @@ static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_get_la _tmp5__length1 = self->priv->constraints_length1; #line 1068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp4_ < _tmp5__length1) { -#line 7942 "EditingTools.c" +#line 7965 "EditingTools.c" EditingToolsCropToolConstraintDescription** _tmp6_ = NULL; gint _tmp6__length1 = 0; gint _tmp7_ = 0; @@ -7953,11 +7976,11 @@ static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_get_la _tmp8_ = _tmp6_[_tmp7_]; #line 1068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = _tmp8_; -#line 7957 "EditingTools.c" +#line 7980 "EditingTools.c" } else { #line 1068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = NULL; -#line 7961 "EditingTools.c" +#line 7984 "EditingTools.c" } #line 1068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = _editing_tools_crop_tool_constraint_description_ref0 (_tmp3_); @@ -7967,11 +7990,11 @@ static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_get_la if (index) { #line 1068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *index = _vala_index; -#line 7971 "EditingTools.c" +#line 7994 "EditingTools.c" } #line 1068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 7975 "EditingTools.c" +#line 7998 "EditingTools.c" } @@ -8082,7 +8105,7 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base _cairo_surface_destroy0 (self->priv->crop_surface); #line 1077 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->crop_surface = NULL; -#line 8086 "EditingTools.c" +#line 8109 "EditingTools.c" } #line 1079 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = canvas; @@ -8154,7 +8177,7 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base _g_object_unref0 (_tmp27_); #line 1092 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp29_) { -#line 8158 "EditingTools.c" +#line 8181 "EditingTools.c" gint index = 0; EditingToolsCropToolConstraintDescription* desc = NULL; gint _tmp30_ = 0; @@ -8171,7 +8194,7 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base _tmp33_ = desc; #line 1095 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp33_ != NULL) { -#line 8175 "EditingTools.c" +#line 8198 "EditingTools.c" EditingToolsCropToolConstraintDescription* _tmp34_ = NULL; gboolean _tmp35_ = FALSE; #line 1095 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -8180,15 +8203,15 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base _tmp35_ = editing_tools_crop_tool_constraint_description_is_separator (_tmp34_); #line 1095 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp32_ = !_tmp35_; -#line 8184 "EditingTools.c" +#line 8207 "EditingTools.c" } else { #line 1095 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp32_ = FALSE; -#line 8188 "EditingTools.c" +#line 8211 "EditingTools.c" } #line 1095 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp32_) { -#line 8192 "EditingTools.c" +#line 8215 "EditingTools.c" EditingToolsCropToolCropToolWindow* _tmp36_ = NULL; GtkComboBox* _tmp37_ = NULL; gint _tmp38_ = 0; @@ -8200,11 +8223,11 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base _tmp38_ = index; #line 1096 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_combo_box_set_active (_tmp37_, _tmp38_); -#line 8204 "EditingTools.c" +#line 8227 "EditingTools.c" } #line 1092 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _editing_tools_crop_tool_constraint_description_unref0 (desc); -#line 8208 "EditingTools.c" +#line 8231 "EditingTools.c" } else { Photo* photo = NULL; EditingToolsPhotoCanvas* _tmp39_ = NULL; @@ -8239,19 +8262,19 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base _tmp46_ = _tmp45_.height; #line 1102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ratio = ((gfloat) _tmp44_) / ((gfloat) _tmp46_); -#line 8243 "EditingTools.c" +#line 8266 "EditingTools.c" { gint index = 0; #line 1103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" index = 1; -#line 8248 "EditingTools.c" +#line 8271 "EditingTools.c" { gboolean _tmp47_ = FALSE; #line 1103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp47_ = TRUE; #line 1103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" while (TRUE) { -#line 8255 "EditingTools.c" +#line 8278 "EditingTools.c" gint _tmp49_ = 0; EditingToolsCropToolConstraintDescription** _tmp50_ = NULL; gint _tmp50__length1 = 0; @@ -8265,13 +8288,13 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base gdouble _tmp57_ = 0.0; #line 1103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!_tmp47_) { -#line 8269 "EditingTools.c" +#line 8292 "EditingTools.c" gint _tmp48_ = 0; #line 1103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp48_ = index; #line 1103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" index = _tmp48_ + 1; -#line 8275 "EditingTools.c" +#line 8298 "EditingTools.c" } #line 1103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp47_ = FALSE; @@ -8285,7 +8308,7 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base if (!(_tmp49_ < _tmp50__length1)) { #line 1103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 8289 "EditingTools.c" +#line 8312 "EditingTools.c" } #line 1104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp51_ = ratio; @@ -8305,7 +8328,7 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base _tmp57_ = fabs ((gdouble) (_tmp51_ - _tmp56_)); #line 1104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp57_ < 0.005) { -#line 8309 "EditingTools.c" +#line 8332 "EditingTools.c" EditingToolsCropToolCropToolWindow* _tmp58_ = NULL; GtkComboBox* _tmp59_ = NULL; gint _tmp60_ = 0; @@ -8317,14 +8340,14 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base _tmp60_ = index; #line 1105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_combo_box_set_active (_tmp59_, _tmp60_); -#line 8321 "EditingTools.c" +#line 8344 "EditingTools.c" } } } } #line 1092 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (photo); -#line 8328 "EditingTools.c" +#line 8351 "EditingTools.c" } #line 1110 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_update_pivot_button_state (self); @@ -8362,7 +8385,7 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base _g_object_unref0 (_tmp68_); #line 1119 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp71_) { -#line 8366 "EditingTools.c" +#line 8389 "EditingTools.c" gint xofs = 0; Dimensions _tmp72_ = {0}; gint _tmp73_ = 0; @@ -8407,7 +8430,7 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base _tmp83_ = yofs; #line 1125 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" box_init (&crop, _tmp76_, _tmp77_, _tmp79_ - _tmp80_, _tmp82_ - _tmp83_); -#line 8411 "EditingTools.c" +#line 8434 "EditingTools.c" } #line 1130 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp84_ = uncropped_dim; @@ -8479,7 +8502,7 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base _g_object_unref0 (_tmp103_); #line 1148 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp105_) { -#line 8483 "EditingTools.c" +#line 8506 "EditingTools.c" EditingToolsCropToolConstraintDescription* desc = NULL; EditingToolsCropToolConstraintDescription* _tmp106_ = NULL; gboolean _tmp107_ = FALSE; @@ -8493,7 +8516,7 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base _tmp109_ = desc; #line 1150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp109_ != NULL) { -#line 8497 "EditingTools.c" +#line 8520 "EditingTools.c" EditingToolsCropToolConstraintDescription* _tmp110_ = NULL; gboolean _tmp111_ = FALSE; #line 1150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -8502,15 +8525,15 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base _tmp111_ = editing_tools_crop_tool_constraint_description_is_separator (_tmp110_); #line 1150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp108_ = !_tmp111_; -#line 8506 "EditingTools.c" +#line 8529 "EditingTools.c" } else { #line 1150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp108_ = FALSE; -#line 8510 "EditingTools.c" +#line 8533 "EditingTools.c" } #line 1150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp108_) { -#line 8514 "EditingTools.c" +#line 8537 "EditingTools.c" EditingToolsCropToolConstraintDescription* _tmp112_ = NULL; gfloat _tmp113_ = 0.0F; #line 1150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -8519,21 +8542,21 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base _tmp113_ = _tmp112_->aspect_ratio; #line 1150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp107_ = _tmp113_ == EDITING_TOOLS_CROP_TOOL_CUSTOM_ASPECT_RATIO; -#line 8523 "EditingTools.c" +#line 8546 "EditingTools.c" } else { #line 1150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp107_ = FALSE; -#line 8527 "EditingTools.c" +#line 8550 "EditingTools.c" } #line 1150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp107_) { #line 1151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_set_custom_constraint_mode (self); -#line 8533 "EditingTools.c" +#line 8556 "EditingTools.c" } #line 1148 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _editing_tools_crop_tool_constraint_description_unref0 (desc); -#line 8537 "EditingTools.c" +#line 8560 "EditingTools.c" } #line 1158 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp114_ = self->priv->scaled_crop; @@ -8565,21 +8588,21 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base self->priv->pre_aspect_ratio = _tmp121_; #line 1071 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _cairo_destroy0 (ctx); -#line 8569 "EditingTools.c" +#line 8592 "EditingTools.c" } static void _editing_tools_crop_tool_prepare_ctx_editing_tools_photo_canvas_new_surface (EditingToolsPhotoCanvas* _sender, cairo_t* ctx, Dimensions* dim, gpointer self) { #line 1169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_prepare_ctx ((EditingToolsCropTool*) self, ctx, dim); -#line 8576 "EditingTools.c" +#line 8599 "EditingTools.c" } static void _editing_tools_crop_tool_on_resized_pixbuf_editing_tools_photo_canvas_resized_scaled_pixbuf (EditingToolsPhotoCanvas* _sender, Dimensions* old_dim, GdkPixbuf* scaled, GdkRectangle* scaled_position, gpointer self) { #line 1170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_on_resized_pixbuf ((EditingToolsCropTool*) self, old_dim, scaled, scaled_position); -#line 8583 "EditingTools.c" +#line 8606 "EditingTools.c" } @@ -8598,7 +8621,7 @@ static void editing_tools_crop_tool_bind_canvas_handlers (EditingToolsCropTool* _tmp1_ = canvas; #line 1170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (_tmp1_, "resized-scaled-pixbuf", (GCallback) _editing_tools_crop_tool_on_resized_pixbuf_editing_tools_photo_canvas_resized_scaled_pixbuf, self); -#line 8602 "EditingTools.c" +#line 8625 "EditingTools.c" } @@ -8623,35 +8646,35 @@ static void editing_tools_crop_tool_unbind_canvas_handlers (EditingToolsCropTool g_signal_parse_name ("resized-scaled-pixbuf", EDITING_TOOLS_TYPE_PHOTO_CANVAS, &_tmp3_, NULL, FALSE); #line 1175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _editing_tools_crop_tool_on_resized_pixbuf_editing_tools_photo_canvas_resized_scaled_pixbuf, self); -#line 8627 "EditingTools.c" +#line 8650 "EditingTools.c" } static void _editing_tools_crop_tool_on_crop_ok_gtk_button_clicked (GtkButton* _sender, gpointer self) { #line 1180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_on_crop_ok ((EditingToolsCropTool*) self); -#line 8634 "EditingTools.c" +#line 8657 "EditingTools.c" } static void _editing_tools_editing_tool_notify_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self) { #line 1181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_editing_tool_notify_cancel ((EditingToolsEditingTool*) self); -#line 8641 "EditingTools.c" +#line 8664 "EditingTools.c" } static void _editing_tools_crop_tool_constraint_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { #line 1182 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_constraint_changed ((EditingToolsCropTool*) self); -#line 8648 "EditingTools.c" +#line 8671 "EditingTools.c" } static void _editing_tools_crop_tool_on_pivot_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) { #line 1183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_on_pivot_button_clicked ((EditingToolsCropTool*) self); -#line 8655 "EditingTools.c" +#line 8678 "EditingTools.c" } @@ -8660,7 +8683,7 @@ static gboolean _editing_tools_crop_tool_on_width_entry_focus_out_gtk_widget_foc result = editing_tools_crop_tool_on_width_entry_focus_out ((EditingToolsCropTool*) self, event); #line 1186 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 8664 "EditingTools.c" +#line 8687 "EditingTools.c" } @@ -8669,21 +8692,21 @@ static gboolean _editing_tools_crop_tool_on_height_entry_focus_out_gtk_widget_fo result = editing_tools_crop_tool_on_height_entry_focus_out ((EditingToolsCropTool*) self, event); #line 1187 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 8673 "EditingTools.c" +#line 8696 "EditingTools.c" } static void _editing_tools_crop_tool_on_width_insert_text_gtk_editable_insert_text (GtkEditable* _sender, const gchar* new_text, gint new_text_length, gint* position, gpointer self) { #line 1188 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_on_width_insert_text ((EditingToolsCropTool*) self, new_text, new_text_length, position); -#line 8680 "EditingTools.c" +#line 8703 "EditingTools.c" } static void _editing_tools_crop_tool_on_height_insert_text_gtk_editable_insert_text (GtkEditable* _sender, const gchar* new_text, gint new_text_length, gint* position, gpointer self) { #line 1189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_on_height_insert_text ((EditingToolsCropTool*) self, new_text, new_text_length, position); -#line 8687 "EditingTools.c" +#line 8710 "EditingTools.c" } @@ -8759,7 +8782,7 @@ static void editing_tools_crop_tool_bind_window_handlers (EditingToolsCropTool* _tmp16_ = _tmp15_->custom_height_entry; #line 1189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GTK_TYPE_EDITABLE, GtkEditable), "insert-text", (GCallback) _editing_tools_crop_tool_on_height_insert_text_gtk_editable_insert_text, self); -#line 8763 "EditingTools.c" +#line 8786 "EditingTools.c" } @@ -8851,7 +8874,7 @@ static void editing_tools_crop_tool_unbind_window_handlers (EditingToolsCropTool g_signal_parse_name ("insert-text", GTK_TYPE_EDITABLE, &_tmp22_, NULL, FALSE); #line 1202 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, GTK_TYPE_EDITABLE, GtkEditable), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp22_, 0, NULL, (GCallback) _editing_tools_crop_tool_on_width_insert_text_gtk_editable_insert_text, self); -#line 8855 "EditingTools.c" +#line 8878 "EditingTools.c" } @@ -8879,7 +8902,7 @@ static gboolean editing_tools_crop_tool_real_on_keypress (EditingToolsEditingToo if (g_strcmp0 (_tmp4_, "KP_Enter") == 0) { #line 1206 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = TRUE; -#line 8883 "EditingTools.c" +#line 8906 "EditingTools.c" } else { GdkEventKey* _tmp5_ = NULL; guint _tmp6_ = 0U; @@ -8892,13 +8915,13 @@ static gboolean editing_tools_crop_tool_real_on_keypress (EditingToolsEditingToo _tmp7_ = gdk_keyval_name (_tmp6_); #line 1207 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = g_strcmp0 (_tmp7_, "Enter") == 0; -#line 8896 "EditingTools.c" +#line 8919 "EditingTools.c" } #line 1206 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp1_) { #line 1206 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = TRUE; -#line 8902 "EditingTools.c" +#line 8925 "EditingTools.c" } else { GdkEventKey* _tmp8_ = NULL; guint _tmp9_ = 0U; @@ -8911,7 +8934,7 @@ static gboolean editing_tools_crop_tool_real_on_keypress (EditingToolsEditingToo _tmp10_ = gdk_keyval_name (_tmp9_); #line 1208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = g_strcmp0 (_tmp10_, "Return") == 0; -#line 8915 "EditingTools.c" +#line 8938 "EditingTools.c" } #line 1206 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_) { @@ -8921,7 +8944,7 @@ static gboolean editing_tools_crop_tool_real_on_keypress (EditingToolsEditingToo result = TRUE; #line 1210 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 8925 "EditingTools.c" +#line 8948 "EditingTools.c" } #line 1213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = event; @@ -8931,7 +8954,7 @@ static gboolean editing_tools_crop_tool_real_on_keypress (EditingToolsEditingToo result = _tmp12_; #line 1213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 8935 "EditingTools.c" +#line 8958 "EditingTools.c" } @@ -8956,7 +8979,7 @@ static void editing_tools_crop_tool_on_pivot_button_clicked (EditingToolsCropToo _editing_tools_crop_tool_constraint_description_unref0 (_tmp1_); #line 1217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp3_) { -#line 8960 "EditingTools.c" +#line 8983 "EditingTools.c" gchar* width_text = NULL; EditingToolsCropToolCropToolWindow* _tmp4_ = NULL; GtkEntry* _tmp5_ = NULL; @@ -9029,7 +9052,7 @@ static void editing_tools_crop_tool_on_pivot_button_clicked (EditingToolsCropToo _g_free0 (height_text); #line 1217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_free0 (width_text); -#line 9033 "EditingTools.c" +#line 9056 "EditingTools.c" } #line 1227 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp21_ = self->priv->reticle_orientation; @@ -9039,7 +9062,7 @@ static void editing_tools_crop_tool_on_pivot_button_clicked (EditingToolsCropToo self->priv->reticle_orientation = _tmp22_; #line 1228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_constraint_changed (self); -#line 9043 "EditingTools.c" +#line 9066 "EditingTools.c" } @@ -9054,19 +9077,19 @@ static void editing_tools_crop_tool_real_deactivate (EditingToolsEditingTool* ba _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; #line 1232 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_ != NULL) { -#line 9058 "EditingTools.c" +#line 9081 "EditingTools.c" EditingToolsPhotoCanvas* _tmp1_ = NULL; #line 1233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; #line 1233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_unbind_canvas_handlers (self, _tmp1_); -#line 9064 "EditingTools.c" +#line 9087 "EditingTools.c" } #line 1235 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = self->priv->crop_tool_window; #line 1235 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp2_ != NULL) { -#line 9070 "EditingTools.c" +#line 9093 "EditingTools.c" EditingToolsCropToolCropToolWindow* _tmp3_ = NULL; EditingToolsCropToolCropToolWindow* _tmp4_ = NULL; #line 1236 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -9083,13 +9106,13 @@ static void editing_tools_crop_tool_real_deactivate (EditingToolsEditingTool* ba _g_object_unref0 (self->priv->crop_tool_window); #line 1239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->crop_tool_window = NULL; -#line 9087 "EditingTools.c" +#line 9110 "EditingTools.c" } #line 1243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; #line 1243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp5_ != NULL) { -#line 9093 "EditingTools.c" +#line 9116 "EditingTools.c" EditingToolsPhotoCanvas* _tmp6_ = NULL; GdkWindow* _tmp7_ = NULL; GdkWindow* _tmp8_ = NULL; @@ -9111,7 +9134,7 @@ static void editing_tools_crop_tool_real_deactivate (EditingToolsEditingTool* ba _g_object_unref0 (_tmp10_); #line 1244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp8_); -#line 9115 "EditingTools.c" +#line 9138 "EditingTools.c" } #line 1246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _cairo_surface_destroy0 (self->priv->crop_surface); @@ -9119,7 +9142,7 @@ static void editing_tools_crop_tool_real_deactivate (EditingToolsEditingTool* ba self->priv->crop_surface = NULL; #line 1248 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_crop_tool_parent_class)->deactivate (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)); -#line 9123 "EditingTools.c" +#line 9146 "EditingTools.c" } @@ -9138,7 +9161,7 @@ static EditingToolsEditingToolWindow* editing_tools_crop_tool_real_get_tool_wind result = _tmp1_; #line 1252 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 9142 "EditingTools.c" +#line 9165 "EditingTools.c" } @@ -9180,7 +9203,7 @@ static GdkPixbuf* editing_tools_crop_tool_real_get_display_pixbuf (EditingToolsE g_propagate_error (error, _inner_error_); #line 1259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return NULL; -#line 9184 "EditingTools.c" +#line 9207 "EditingTools.c" } #line 1259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = _tmp2_; @@ -9194,11 +9217,11 @@ static GdkPixbuf* editing_tools_crop_tool_real_get_display_pixbuf (EditingToolsE if (max_dim) { #line 1259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *max_dim = _vala_max_dim; -#line 9198 "EditingTools.c" +#line 9221 "EditingTools.c" } #line 1259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 9202 "EditingTools.c" +#line 9225 "EditingTools.c" } @@ -9296,7 +9319,7 @@ static void editing_tools_crop_tool_prepare_ctx (EditingToolsCropTool* self, cai _tmp18_ = self->priv->text_ctx; #line 1276 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_select_font_face (_tmp18_, "Sans", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL); -#line 9300 "EditingTools.c" +#line 9323 "EditingTools.c" } @@ -9380,7 +9403,7 @@ static void editing_tools_crop_tool_on_resized_pixbuf (EditingToolsCropTool* sel _cairo_surface_destroy0 (self->priv->crop_surface); #line 1289 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->crop_surface = NULL; -#line 9384 "EditingTools.c" +#line 9407 "EditingTools.c" } #line 1291 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp14_ = scaled; @@ -9412,7 +9435,7 @@ static void editing_tools_crop_tool_on_resized_pixbuf (EditingToolsCropTool* sel cairo_paint (ctx); #line 1279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _cairo_destroy0 (ctx); -#line 9416 "EditingTools.c" +#line 9439 "EditingTools.c" } @@ -9495,7 +9518,7 @@ static void editing_tools_crop_tool_real_on_left_click (EditingToolsEditingTool* _tmp18_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; #line 1310 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_repaint (_tmp18_); -#line 9499 "EditingTools.c" +#line 9522 "EditingTools.c" } @@ -9513,7 +9536,7 @@ static void editing_tools_crop_tool_real_on_left_released (EditingToolsEditingTo if (_tmp0_ == BOX_LOCATION_OUTSIDE) { #line 1316 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 9517 "EditingTools.c" +#line 9540 "EditingTools.c" } #line 1319 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->in_manipulation = BOX_LOCATION_OUTSIDE; @@ -9531,7 +9554,7 @@ static void editing_tools_crop_tool_real_on_left_released (EditingToolsEditingTo _tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; #line 1326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_repaint (_tmp3_); -#line 9535 "EditingTools.c" +#line 9558 "EditingTools.c" } @@ -9547,7 +9570,7 @@ static void editing_tools_crop_tool_real_on_motion (EditingToolsEditingTool* bas _tmp0_ = self->priv->in_manipulation; #line 1332 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_ != BOX_LOCATION_OUTSIDE) { -#line 9551 "EditingTools.c" +#line 9574 "EditingTools.c" gint _tmp1_ = 0; gint _tmp2_ = 0; #line 1333 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -9556,7 +9579,7 @@ static void editing_tools_crop_tool_real_on_motion (EditingToolsEditingTool* bas _tmp2_ = y; #line 1333 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_on_canvas_manipulation (self, _tmp1_, _tmp2_); -#line 9560 "EditingTools.c" +#line 9583 "EditingTools.c" } #line 1335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = x; @@ -9568,7 +9591,7 @@ static void editing_tools_crop_tool_real_on_motion (EditingToolsEditingTool* bas _tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; #line 1336 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_repaint (_tmp5_); -#line 9572 "EditingTools.c" +#line 9595 "EditingTools.c" } @@ -9692,7 +9715,7 @@ static void editing_tools_crop_tool_real_paint (EditingToolsEditingTool* base, c editing_tools_crop_tool_paint_crop_tool (self, &_tmp24_); #line 1339 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _cairo_destroy0 (ctx); -#line 9696 "EditingTools.c" +#line 9719 "EditingTools.c" } @@ -9843,7 +9866,7 @@ static void editing_tools_crop_tool_on_crop_ok (EditingToolsCropTool* self) { _g_object_unref0 (_tmp33_); #line 1365 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (cropped); -#line 9847 "EditingTools.c" +#line 9870 "EditingTools.c" } @@ -9895,99 +9918,99 @@ static void editing_tools_crop_tool_update_cursor (EditingToolsCropTool* self, g switch (_tmp9_) { #line 1395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_LEFT_SIDE: -#line 9899 "EditingTools.c" +#line 9922 "EditingTools.c" { #line 1397 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cursor_type = GDK_LEFT_SIDE; #line 1398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 9905 "EditingTools.c" +#line 9928 "EditingTools.c" } #line 1395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_TOP_SIDE: -#line 9909 "EditingTools.c" +#line 9932 "EditingTools.c" { #line 1401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cursor_type = GDK_TOP_SIDE; #line 1402 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 9915 "EditingTools.c" +#line 9938 "EditingTools.c" } #line 1395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_RIGHT_SIDE: -#line 9919 "EditingTools.c" +#line 9942 "EditingTools.c" { #line 1405 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cursor_type = GDK_RIGHT_SIDE; #line 1406 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 9925 "EditingTools.c" +#line 9948 "EditingTools.c" } #line 1395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_BOTTOM_SIDE: -#line 9929 "EditingTools.c" +#line 9952 "EditingTools.c" { #line 1409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cursor_type = GDK_BOTTOM_SIDE; #line 1410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 9935 "EditingTools.c" +#line 9958 "EditingTools.c" } #line 1395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_TOP_LEFT: -#line 9939 "EditingTools.c" +#line 9962 "EditingTools.c" { #line 1413 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cursor_type = GDK_TOP_LEFT_CORNER; #line 1414 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 9945 "EditingTools.c" +#line 9968 "EditingTools.c" } #line 1395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_BOTTOM_LEFT: -#line 9949 "EditingTools.c" +#line 9972 "EditingTools.c" { #line 1417 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cursor_type = GDK_BOTTOM_LEFT_CORNER; #line 1418 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 9955 "EditingTools.c" +#line 9978 "EditingTools.c" } #line 1395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_TOP_RIGHT: -#line 9959 "EditingTools.c" +#line 9982 "EditingTools.c" { #line 1421 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cursor_type = GDK_TOP_RIGHT_CORNER; #line 1422 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 9965 "EditingTools.c" +#line 9988 "EditingTools.c" } #line 1395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_BOTTOM_RIGHT: -#line 9969 "EditingTools.c" +#line 9992 "EditingTools.c" { #line 1425 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cursor_type = GDK_BOTTOM_RIGHT_CORNER; #line 1426 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 9975 "EditingTools.c" +#line 9998 "EditingTools.c" } #line 1395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_INSIDE: -#line 9979 "EditingTools.c" +#line 10002 "EditingTools.c" { #line 1429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cursor_type = GDK_FLEUR; #line 1430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 9985 "EditingTools.c" +#line 10008 "EditingTools.c" } default: { #line 1434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 9991 "EditingTools.c" +#line 10014 "EditingTools.c" } } #line 1437 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -9996,7 +10019,7 @@ static void editing_tools_crop_tool_update_cursor (EditingToolsCropTool* self, g _tmp11_ = self->priv->current_cursor_type; #line 1437 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp10_ != _tmp11_) { -#line 10000 "EditingTools.c" +#line 10023 "EditingTools.c" GdkCursor* cursor = NULL; GdkCursorType _tmp12_ = 0; GdkCursor* _tmp13_ = NULL; @@ -10029,7 +10052,7 @@ static void editing_tools_crop_tool_update_cursor (EditingToolsCropTool* self, g self->priv->current_cursor_type = _tmp18_; #line 1437 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (cursor); -#line 10033 "EditingTools.c" +#line 10056 "EditingTools.c" } } @@ -10069,7 +10092,7 @@ static gint editing_tools_crop_tool_eval_radial_line (EditingToolsCropTool* self result = (gint) ((decision_slope * _tmp6_) + decision_intercept); #line 1449 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 10073 "EditingTools.c" +#line 10096 "EditingTools.c" } @@ -10186,7 +10209,7 @@ static void editing_tools_crop_tool_get_photo_dimensions (EditingToolsCropTool* *result = _tmp28_; #line 1463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 10190 "EditingTools.c" +#line 10213 "EditingTools.c" } @@ -10195,47 +10218,47 @@ static gboolean _box_equal (const Box* s1, const Box* s2) { if (s1 == s2) { #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return TRUE; -#line 10199 "EditingTools.c" +#line 10222 "EditingTools.c" } #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (s1 == NULL) { #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return FALSE; -#line 10205 "EditingTools.c" +#line 10228 "EditingTools.c" } #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (s2 == NULL) { #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return FALSE; -#line 10211 "EditingTools.c" +#line 10234 "EditingTools.c" } #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (s1->left != s2->left) { #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return FALSE; -#line 10217 "EditingTools.c" +#line 10240 "EditingTools.c" } #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (s1->top != s2->top) { #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return FALSE; -#line 10223 "EditingTools.c" +#line 10246 "EditingTools.c" } #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (s1->right != s2->right) { #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return FALSE; -#line 10229 "EditingTools.c" +#line 10252 "EditingTools.c" } #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (s1->bottom != s2->bottom) { #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return FALSE; -#line 10235 "EditingTools.c" +#line 10258 "EditingTools.c" } #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return TRUE; -#line 10239 "EditingTools.c" +#line 10262 "EditingTools.c" } @@ -10311,7 +10334,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop if (_tmp5_ < 0) { #line 1474 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" x = 0; -#line 10315 "EditingTools.c" +#line 10338 "EditingTools.c" } else { gint _tmp6_ = 0; GdkRectangle _tmp7_ = {0}; @@ -10324,7 +10347,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp8_ = _tmp7_.width; #line 1475 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp6_ >= _tmp8_) { -#line 10328 "EditingTools.c" +#line 10351 "EditingTools.c" GdkRectangle _tmp9_ = {0}; gint _tmp10_ = 0; #line 1476 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -10333,7 +10356,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp10_ = _tmp9_.width; #line 1476 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" x = _tmp10_ - 1; -#line 10337 "EditingTools.c" +#line 10360 "EditingTools.c" } } #line 1478 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -10350,7 +10373,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop if (_tmp14_ < 0) { #line 1480 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" y = 0; -#line 10354 "EditingTools.c" +#line 10377 "EditingTools.c" } else { gint _tmp15_ = 0; GdkRectangle _tmp16_ = {0}; @@ -10363,7 +10386,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp17_ = _tmp16_.height; #line 1481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp15_ >= _tmp17_) { -#line 10367 "EditingTools.c" +#line 10390 "EditingTools.c" GdkRectangle _tmp18_ = {0}; gint _tmp19_ = 0; #line 1482 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -10372,7 +10395,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp19_ = _tmp18_.height; #line 1482 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" y = _tmp19_ - 1; -#line 10376 "EditingTools.c" +#line 10399 "EditingTools.c" } } #line 1486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -10417,7 +10440,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop switch (_tmp32_) { #line 1495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_LEFT_SIDE: -#line 10421 "EditingTools.c" +#line 10444 "EditingTools.c" { gint _tmp33_ = 0; gfloat _tmp34_ = 0.0F; @@ -10429,7 +10452,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp34_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self); #line 1498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp34_ != EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) { -#line 10433 "EditingTools.c" +#line 10456 "EditingTools.c" gfloat new_height = 0.0F; gint _tmp35_ = 0; gint _tmp36_ = 0; @@ -10450,15 +10473,15 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp39_ = new_height; #line 1500 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" bottom = _tmp38_ + ((gint) _tmp39_); -#line 10454 "EditingTools.c" +#line 10477 "EditingTools.c" } #line 1502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 10458 "EditingTools.c" +#line 10481 "EditingTools.c" } #line 1495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_TOP_SIDE: -#line 10462 "EditingTools.c" +#line 10485 "EditingTools.c" { gint _tmp40_ = 0; gfloat _tmp41_ = 0.0F; @@ -10470,7 +10493,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp41_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self); #line 1506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp41_ != EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) { -#line 10474 "EditingTools.c" +#line 10497 "EditingTools.c" gfloat new_width = 0.0F; gint _tmp42_ = 0; gint _tmp43_ = 0; @@ -10491,15 +10514,15 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp46_ = new_width; #line 1508 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" right = _tmp45_ + ((gint) _tmp46_); -#line 10495 "EditingTools.c" +#line 10518 "EditingTools.c" } #line 1510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 10499 "EditingTools.c" +#line 10522 "EditingTools.c" } #line 1495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_RIGHT_SIDE: -#line 10503 "EditingTools.c" +#line 10526 "EditingTools.c" { gint _tmp47_ = 0; gfloat _tmp48_ = 0.0F; @@ -10511,7 +10534,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp48_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self); #line 1514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp48_ != EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) { -#line 10515 "EditingTools.c" +#line 10538 "EditingTools.c" gfloat new_height = 0.0F; gint _tmp49_ = 0; gint _tmp50_ = 0; @@ -10532,15 +10555,15 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp53_ = new_height; #line 1516 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" bottom = _tmp52_ + ((gint) _tmp53_); -#line 10536 "EditingTools.c" +#line 10559 "EditingTools.c" } #line 1518 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 10540 "EditingTools.c" +#line 10563 "EditingTools.c" } #line 1495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_BOTTOM_SIDE: -#line 10544 "EditingTools.c" +#line 10567 "EditingTools.c" { gint _tmp54_ = 0; gfloat _tmp55_ = 0.0F; @@ -10552,7 +10575,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp55_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self); #line 1522 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp55_ != EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) { -#line 10556 "EditingTools.c" +#line 10579 "EditingTools.c" gfloat new_width = 0.0F; gint _tmp56_ = 0; gint _tmp57_ = 0; @@ -10573,22 +10596,22 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp60_ = new_width; #line 1524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" right = _tmp59_ + ((gint) _tmp60_); -#line 10577 "EditingTools.c" +#line 10600 "EditingTools.c" } #line 1526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 10581 "EditingTools.c" +#line 10604 "EditingTools.c" } #line 1495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_TOP_LEFT: -#line 10585 "EditingTools.c" +#line 10608 "EditingTools.c" { gfloat _tmp61_ = 0.0F; #line 1529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp61_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self); #line 1529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp61_ == EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) { -#line 10592 "EditingTools.c" +#line 10615 "EditingTools.c" gint _tmp62_ = 0; gint _tmp63_ = 0; #line 1530 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -10599,7 +10622,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp63_ = x; #line 1531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" left = _tmp63_; -#line 10603 "EditingTools.c" +#line 10626 "EditingTools.c" } else { gint _tmp64_ = 0; gint _tmp65_ = 0; @@ -10624,7 +10647,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp70_ = editing_tools_crop_tool_eval_radial_line (self, (gdouble) _tmp65_, (gdouble) _tmp66_, (gdouble) _tmp67_, (gdouble) _tmp68_, (gdouble) _tmp69_); #line 1533 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp64_ < _tmp70_) { -#line 10628 "EditingTools.c" +#line 10651 "EditingTools.c" gint _tmp71_ = 0; gfloat new_width = 0.0F; gint _tmp72_ = 0; @@ -10650,7 +10673,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp76_ = new_width; #line 1536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" left = _tmp75_ - ((gint) _tmp76_); -#line 10654 "EditingTools.c" +#line 10677 "EditingTools.c" } else { gint _tmp77_ = 0; gfloat new_height = 0.0F; @@ -10677,23 +10700,23 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp82_ = new_height; #line 1540 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" top = _tmp81_ - ((gint) _tmp82_); -#line 10681 "EditingTools.c" +#line 10704 "EditingTools.c" } } #line 1543 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 10686 "EditingTools.c" +#line 10709 "EditingTools.c" } #line 1495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_BOTTOM_LEFT: -#line 10690 "EditingTools.c" +#line 10713 "EditingTools.c" { gfloat _tmp83_ = 0.0F; #line 1546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp83_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self); #line 1546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp83_ == EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) { -#line 10697 "EditingTools.c" +#line 10720 "EditingTools.c" gint _tmp84_ = 0; gint _tmp85_ = 0; #line 1547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -10704,7 +10727,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp85_ = x; #line 1548 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" left = _tmp85_; -#line 10708 "EditingTools.c" +#line 10731 "EditingTools.c" } else { gint _tmp86_ = 0; gint _tmp87_ = 0; @@ -10729,7 +10752,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp92_ = editing_tools_crop_tool_eval_radial_line (self, (gdouble) _tmp87_, (gdouble) _tmp88_, (gdouble) _tmp89_, (gdouble) _tmp90_, (gdouble) _tmp91_); #line 1550 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp86_ < _tmp92_) { -#line 10733 "EditingTools.c" +#line 10756 "EditingTools.c" gint _tmp93_ = 0; gfloat new_height = 0.0F; gint _tmp94_ = 0; @@ -10755,7 +10778,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp98_ = new_height; #line 1553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" bottom = _tmp97_ + ((gint) _tmp98_); -#line 10759 "EditingTools.c" +#line 10782 "EditingTools.c" } else { gint _tmp99_ = 0; gfloat new_width = 0.0F; @@ -10782,23 +10805,23 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp104_ = new_width; #line 1557 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" left = _tmp103_ - ((gint) _tmp104_); -#line 10786 "EditingTools.c" +#line 10809 "EditingTools.c" } } #line 1560 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 10791 "EditingTools.c" +#line 10814 "EditingTools.c" } #line 1495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_TOP_RIGHT: -#line 10795 "EditingTools.c" +#line 10818 "EditingTools.c" { gfloat _tmp105_ = 0.0F; #line 1563 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp105_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self); #line 1563 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp105_ == EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) { -#line 10802 "EditingTools.c" +#line 10825 "EditingTools.c" gint _tmp106_ = 0; gint _tmp107_ = 0; #line 1564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -10809,7 +10832,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp107_ = x; #line 1565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" right = _tmp107_; -#line 10813 "EditingTools.c" +#line 10836 "EditingTools.c" } else { gint _tmp108_ = 0; gint _tmp109_ = 0; @@ -10834,7 +10857,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp114_ = editing_tools_crop_tool_eval_radial_line (self, (gdouble) _tmp109_, (gdouble) _tmp110_, (gdouble) _tmp111_, (gdouble) _tmp112_, (gdouble) _tmp113_); #line 1567 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp108_ < _tmp114_) { -#line 10838 "EditingTools.c" +#line 10861 "EditingTools.c" gint _tmp115_ = 0; gfloat new_width = 0.0F; gint _tmp116_ = 0; @@ -10860,7 +10883,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp120_ = new_width; #line 1570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" right = _tmp119_ + ((gint) _tmp120_); -#line 10864 "EditingTools.c" +#line 10887 "EditingTools.c" } else { gint _tmp121_ = 0; gfloat new_height = 0.0F; @@ -10887,23 +10910,23 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp126_ = new_height; #line 1574 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" top = _tmp125_ - ((gint) _tmp126_); -#line 10891 "EditingTools.c" +#line 10914 "EditingTools.c" } } #line 1577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 10896 "EditingTools.c" +#line 10919 "EditingTools.c" } #line 1495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_BOTTOM_RIGHT: -#line 10900 "EditingTools.c" +#line 10923 "EditingTools.c" { gfloat _tmp127_ = 0.0F; #line 1580 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp127_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self); #line 1580 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp127_ == EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) { -#line 10907 "EditingTools.c" +#line 10930 "EditingTools.c" gint _tmp128_ = 0; gint _tmp129_ = 0; #line 1581 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -10914,7 +10937,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp129_ = x; #line 1582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" right = _tmp129_; -#line 10918 "EditingTools.c" +#line 10941 "EditingTools.c" } else { gint _tmp130_ = 0; gint _tmp131_ = 0; @@ -10939,7 +10962,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp136_ = editing_tools_crop_tool_eval_radial_line (self, (gdouble) _tmp131_, (gdouble) _tmp132_, (gdouble) _tmp133_, (gdouble) _tmp134_, (gdouble) _tmp135_); #line 1584 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp130_ < _tmp136_) { -#line 10943 "EditingTools.c" +#line 10966 "EditingTools.c" gint _tmp137_ = 0; gfloat new_height = 0.0F; gint _tmp138_ = 0; @@ -10965,7 +10988,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp142_ = new_height; #line 1587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" bottom = _tmp141_ + ((gint) _tmp142_); -#line 10969 "EditingTools.c" +#line 10992 "EditingTools.c" } else { gint _tmp143_ = 0; gfloat new_width = 0.0F; @@ -10992,16 +11015,16 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp148_ = new_width; #line 1591 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" right = _tmp147_ + ((gint) _tmp148_); -#line 10996 "EditingTools.c" +#line 11019 "EditingTools.c" } } #line 1594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 11001 "EditingTools.c" +#line 11024 "EditingTools.c" } #line 1495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_INSIDE: -#line 11005 "EditingTools.c" +#line 11028 "EditingTools.c" { gint _tmp149_ = 0; gint _tmp150_ = 0; @@ -11115,7 +11138,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop if (_tmp169_ < 0) { #line 1616 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" left = 0; -#line 11119 "EditingTools.c" +#line 11142 "EditingTools.c" } #line 1618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp170_ = top; @@ -11123,7 +11146,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop if (_tmp170_ < 0) { #line 1619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" top = 0; -#line 11127 "EditingTools.c" +#line 11150 "EditingTools.c" } #line 1621 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp171_ = right; @@ -11133,7 +11156,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp173_ = _tmp172_.width; #line 1621 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp171_ >= _tmp173_) { -#line 11137 "EditingTools.c" +#line 11160 "EditingTools.c" GdkRectangle _tmp174_ = {0}; gint _tmp175_ = 0; #line 1622 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -11142,7 +11165,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp175_ = _tmp174_.width; #line 1622 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" right = _tmp175_ - 1; -#line 11146 "EditingTools.c" +#line 11169 "EditingTools.c" } #line 1624 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp176_ = bottom; @@ -11152,7 +11175,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp178_ = _tmp177_.height; #line 1624 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp176_ >= _tmp178_) { -#line 11156 "EditingTools.c" +#line 11179 "EditingTools.c" GdkRectangle _tmp179_ = {0}; gint _tmp180_ = 0; #line 1625 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -11161,7 +11184,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp180_ = _tmp179_.height; #line 1625 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" bottom = _tmp180_ - 1; -#line 11165 "EditingTools.c" +#line 11188 "EditingTools.c" } #line 1627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp181_ = right; @@ -11181,13 +11204,13 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp186_ = width; #line 1631 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp185_ != _tmp186_) { -#line 11185 "EditingTools.c" +#line 11208 "EditingTools.c" gint _tmp187_ = 0; #line 1632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp187_ = delta_x; #line 1632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp187_ < 0) { -#line 11191 "EditingTools.c" +#line 11214 "EditingTools.c" gint _tmp188_ = 0; gint _tmp189_ = 0; #line 1633 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -11196,7 +11219,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp189_ = width; #line 1633 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" right = (_tmp188_ + _tmp189_) - 1; -#line 11200 "EditingTools.c" +#line 11223 "EditingTools.c" } else { gint _tmp190_ = 0; gint _tmp191_ = 0; @@ -11206,7 +11229,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp191_ = width; #line 1635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" left = (_tmp190_ - _tmp191_) + 1; -#line 11210 "EditingTools.c" +#line 11233 "EditingTools.c" } } #line 1638 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -11215,13 +11238,13 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp193_ = height; #line 1638 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp192_ != _tmp193_) { -#line 11219 "EditingTools.c" +#line 11242 "EditingTools.c" gint _tmp194_ = 0; #line 1639 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp194_ = delta_y; #line 1639 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp194_ < 0) { -#line 11225 "EditingTools.c" +#line 11248 "EditingTools.c" gint _tmp195_ = 0; gint _tmp196_ = 0; #line 1640 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -11230,7 +11253,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp196_ = height; #line 1640 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" bottom = (_tmp195_ + _tmp196_) - 1; -#line 11234 "EditingTools.c" +#line 11257 "EditingTools.c" } else { gint _tmp197_ = 0; gint _tmp198_ = 0; @@ -11240,12 +11263,12 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp198_ = height; #line 1642 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" top = (_tmp197_ - _tmp198_) + 1; -#line 11244 "EditingTools.c" +#line 11267 "EditingTools.c" } } #line 1644 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 11249 "EditingTools.c" +#line 11272 "EditingTools.c" } default: { @@ -11253,7 +11276,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop result = FALSE; #line 1648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 11257 "EditingTools.c" +#line 11280 "EditingTools.c" } } #line 1658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -11288,7 +11311,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp208_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self); #line 1666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp208_ == EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) { -#line 11292 "EditingTools.c" +#line 11315 "EditingTools.c" gint _tmp209_ = 0; gint _tmp210_ = 0; gint _tmp211_ = 0; @@ -11329,24 +11352,24 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop case BOX_LOCATION_TOP_LEFT: #line 1670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_BOTTOM_LEFT: -#line 11333 "EditingTools.c" +#line 11356 "EditingTools.c" { gint _tmp214_ = 0; #line 1674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp214_ = width; #line 1674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp214_ < EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE) { -#line 11340 "EditingTools.c" +#line 11363 "EditingTools.c" gint _tmp215_ = 0; #line 1675 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp215_ = right; #line 1675 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" left = _tmp215_ - EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE; -#line 11346 "EditingTools.c" +#line 11369 "EditingTools.c" } #line 1676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 11350 "EditingTools.c" +#line 11373 "EditingTools.c" } #line 1670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_RIGHT_SIDE: @@ -11354,30 +11377,30 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop case BOX_LOCATION_TOP_RIGHT: #line 1670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_BOTTOM_RIGHT: -#line 11358 "EditingTools.c" +#line 11381 "EditingTools.c" { gint _tmp216_ = 0; #line 1681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp216_ = width; #line 1681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp216_ < EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE) { -#line 11365 "EditingTools.c" +#line 11388 "EditingTools.c" gint _tmp217_ = 0; #line 1682 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp217_ = left; #line 1682 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" right = _tmp217_ + EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE; -#line 11371 "EditingTools.c" +#line 11394 "EditingTools.c" } #line 1683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 11375 "EditingTools.c" +#line 11398 "EditingTools.c" } default: { #line 1686 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 11381 "EditingTools.c" +#line 11404 "EditingTools.c" } } #line 1689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -11390,24 +11413,24 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop case BOX_LOCATION_TOP_LEFT: #line 1689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_TOP_RIGHT: -#line 11394 "EditingTools.c" +#line 11417 "EditingTools.c" { gint _tmp219_ = 0; #line 1693 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp219_ = height; #line 1693 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp219_ < EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE) { -#line 11401 "EditingTools.c" +#line 11424 "EditingTools.c" gint _tmp220_ = 0; #line 1694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp220_ = bottom; #line 1694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" top = _tmp220_ - EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE; -#line 11407 "EditingTools.c" +#line 11430 "EditingTools.c" } #line 1695 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 11411 "EditingTools.c" +#line 11434 "EditingTools.c" } #line 1689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_BOTTOM_SIDE: @@ -11415,30 +11438,30 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop case BOX_LOCATION_BOTTOM_LEFT: #line 1689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case BOX_LOCATION_BOTTOM_RIGHT: -#line 11419 "EditingTools.c" +#line 11442 "EditingTools.c" { gint _tmp221_ = 0; #line 1700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp221_ = height; #line 1700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp221_ < EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE) { -#line 11426 "EditingTools.c" +#line 11449 "EditingTools.c" gint _tmp222_ = 0; #line 1701 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp222_ = top; #line 1701 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" bottom = _tmp222_ + EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE; -#line 11432 "EditingTools.c" +#line 11455 "EditingTools.c" } #line 1702 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 11436 "EditingTools.c" +#line 11459 "EditingTools.c" } default: { #line 1705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 11442 "EditingTools.c" +#line 11465 "EditingTools.c" } } #line 1711 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -11467,7 +11490,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop clamp_inside_rotated_image (&_tmp227_, _tmp229_, _tmp231_, _tmp232_, _tmp233_ == BOX_LOCATION_INSIDE, &_tmp234_); #line 1711 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" new_crop = _tmp234_; -#line 11471 "EditingTools.c" +#line 11494 "EditingTools.c" } else { gint _tmp235_ = 0; gint _tmp236_ = 0; @@ -11522,57 +11545,57 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop if (_box_equal (&_tmp249_, &_tmp250_) != TRUE) { #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp248_ = TRUE; -#line 11526 "EditingTools.c" +#line 11549 "EditingTools.c" } else { gint _tmp251_ = 0; #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp251_ = width; #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp248_ = _tmp251_ < EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE; -#line 11533 "EditingTools.c" +#line 11556 "EditingTools.c" } #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp248_) { #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp247_ = TRUE; -#line 11539 "EditingTools.c" +#line 11562 "EditingTools.c" } else { gint _tmp252_ = 0; #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp252_ = height; #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp247_ = _tmp252_ < EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE; -#line 11546 "EditingTools.c" +#line 11569 "EditingTools.c" } #line 1725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp247_) { -#line 11550 "EditingTools.c" +#line 11573 "EditingTools.c" Box _tmp253_ = {0}; #line 1726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp253_ = self->priv->scaled_crop; #line 1726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" new_crop = _tmp253_; -#line 11556 "EditingTools.c" +#line 11579 "EditingTools.c" } } #line 1730 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp254_ = self->priv->in_manipulation; #line 1730 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp254_ != BOX_LOCATION_INSIDE) { -#line 11563 "EditingTools.c" +#line 11586 "EditingTools.c" Box _tmp255_ = {0}; #line 1731 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp255_ = new_crop; #line 1731 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_crop_resized (self, &_tmp255_); -#line 11569 "EditingTools.c" +#line 11592 "EditingTools.c" } else { Box _tmp256_ = {0}; #line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp256_ = new_crop; #line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_crop_moved (self, &_tmp256_); -#line 11576 "EditingTools.c" +#line 11599 "EditingTools.c" } #line 1736 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp257_ = new_crop; @@ -11582,7 +11605,7 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp258_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self); #line 1738 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp258_ == EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) { -#line 11586 "EditingTools.c" +#line 11609 "EditingTools.c" gint _tmp259_ = 0; gint _tmp260_ = 0; gint _tmp261_ = 0; @@ -11601,13 +11624,13 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop _tmp262_ = self->priv->custom_init_height; #line 1741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->custom_aspect_ratio = ((gfloat) _tmp261_) / ((gfloat) _tmp262_); -#line 11605 "EditingTools.c" +#line 11628 "EditingTools.c" } #line 1744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = FALSE; #line 1744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 11611 "EditingTools.c" +#line 11634 "EditingTools.c" } @@ -11647,7 +11670,7 @@ static void editing_tools_crop_tool_crop_resized (EditingToolsCropTool* self, Bo if (_tmp1_) { #line 1750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 11651 "EditingTools.c" +#line 11674 "EditingTools.c" } #line 1753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; @@ -11679,18 +11702,18 @@ static void editing_tools_crop_tool_crop_resized (EditingToolsCropTool* self, Bo if (_tmp12_ == BOX_COMPLEMENTS_HORIZONTAL) { #line 1765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = TRUE; -#line 11683 "EditingTools.c" +#line 11706 "EditingTools.c" } else { BoxComplements _tmp13_ = 0; #line 1765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp13_ = complements; #line 1765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = _tmp13_ == BOX_COMPLEMENTS_BOTH; -#line 11690 "EditingTools.c" +#line 11713 "EditingTools.c" } #line 1765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp11_) { -#line 11694 "EditingTools.c" +#line 11717 "EditingTools.c" gdouble _tmp14_ = 0.0; gboolean _tmp15_ = FALSE; Box _tmp16_ = {0}; @@ -11700,17 +11723,17 @@ static void editing_tools_crop_tool_crop_resized (EditingToolsCropTool* self, Bo if (_tmp15_) { #line 1766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp14_ = 0.0; -#line 11704 "EditingTools.c" +#line 11727 "EditingTools.c" } else { #line 1766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp14_ = 0.5; -#line 11708 "EditingTools.c" +#line 11731 "EditingTools.c" } #line 1766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp16_ = horizontal; #line 1766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_set_area_alpha (self, &_tmp16_, _tmp14_); -#line 11714 "EditingTools.c" +#line 11737 "EditingTools.c" } #line 1768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp18_ = complements; @@ -11718,18 +11741,18 @@ static void editing_tools_crop_tool_crop_resized (EditingToolsCropTool* self, Bo if (_tmp18_ == BOX_COMPLEMENTS_VERTICAL) { #line 1768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp17_ = TRUE; -#line 11722 "EditingTools.c" +#line 11745 "EditingTools.c" } else { BoxComplements _tmp19_ = 0; #line 1768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp19_ = complements; #line 1768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp17_ = _tmp19_ == BOX_COMPLEMENTS_BOTH; -#line 11729 "EditingTools.c" +#line 11752 "EditingTools.c" } #line 1768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp17_) { -#line 11733 "EditingTools.c" +#line 11756 "EditingTools.c" gdouble _tmp20_ = 0.0; gboolean _tmp21_ = FALSE; Box _tmp22_ = {0}; @@ -11739,17 +11762,17 @@ static void editing_tools_crop_tool_crop_resized (EditingToolsCropTool* self, Bo if (_tmp21_) { #line 1769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp20_ = 0.0; -#line 11743 "EditingTools.c" +#line 11766 "EditingTools.c" } else { #line 1769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp20_ = 0.5; -#line 11747 "EditingTools.c" +#line 11770 "EditingTools.c" } #line 1769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp22_ = vertical; #line 1769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_set_area_alpha (self, &_tmp22_, _tmp20_); -#line 11753 "EditingTools.c" +#line 11776 "EditingTools.c" } #line 1771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp23_ = *new_crop; @@ -11761,7 +11784,7 @@ static void editing_tools_crop_tool_crop_resized (EditingToolsCropTool* self, Bo _tmp25_ = *new_crop; #line 1772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_invalidate_area (_tmp24_, &_tmp25_); -#line 11765 "EditingTools.c" +#line 11788 "EditingTools.c" } @@ -11787,7 +11810,7 @@ static void editing_tools_crop_tool_crop_moved (EditingToolsCropTool* self, Box* if (_tmp1_) { #line 1778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 11791 "EditingTools.c" +#line 11814 "EditingTools.c" } #line 1781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; @@ -11813,7 +11836,7 @@ static void editing_tools_crop_tool_crop_moved (EditingToolsCropTool* self, Box* _tmp8_ = *new_crop; #line 1789 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_invalidate_area (_tmp7_, &_tmp8_); -#line 11817 "EditingTools.c" +#line 11840 "EditingTools.c" } @@ -11873,7 +11896,7 @@ static void editing_tools_crop_tool_set_area_alpha (EditingToolsCropTool* self, editing_tools_photo_canvas_paint_surface_area (_tmp9_, _tmp10_, &_tmp11_, TRUE); #line 1792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _cairo_destroy0 (ctx); -#line 11877 "EditingTools.c" +#line 11900 "EditingTools.c" } @@ -11896,7 +11919,7 @@ static void editing_tools_crop_tool_paint_crop_tool (EditingToolsCropTool* self, _tmp0_ = self->priv->in_manipulation; #line 1803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_ != BOX_LOCATION_OUTSIDE) { -#line 11900 "EditingTools.c" +#line 11923 "EditingTools.c" gint one_third_x = 0; gint _tmp1_ = 0; gint one_third_y = 0; @@ -12127,7 +12150,7 @@ static void editing_tools_crop_tool_paint_crop_tool (EditingToolsCropTool* self, editing_tools_photo_canvas_draw_text (_tmp60_, _tmp61_, _tmp62_, _tmp63_, _tmp64_, TRUE); #line 1803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_free0 (text); -#line 12131 "EditingTools.c" +#line 12154 "EditingTools.c" } #line 1825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp65_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; @@ -12153,7 +12176,7 @@ static void editing_tools_crop_tool_paint_crop_tool (EditingToolsCropTool* self, box_get_reduced (crop, 2, &_tmp73_); #line 1827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_draw_box (_tmp71_, _tmp72_, &_tmp73_); -#line 12157 "EditingTools.c" +#line 12180 "EditingTools.c" } @@ -12189,7 +12212,7 @@ static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_constr _tmp4_ = new_aspect_ratio; #line 619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp4_ == EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS) { -#line 12193 "EditingTools.c" +#line 12216 "EditingTools.c" gint _tmp5_ = 0; gint _tmp6_ = 0; #line 620 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -12198,14 +12221,14 @@ static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_constr _tmp6_ = self->basis_height; #line 620 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->aspect_ratio = ((gfloat) _tmp5_) / ((gfloat) _tmp6_); -#line 12202 "EditingTools.c" +#line 12225 "EditingTools.c" } else { gfloat _tmp7_ = 0.0F; #line 622 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = new_aspect_ratio; #line 622 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->aspect_ratio = _tmp7_; -#line 12209 "EditingTools.c" +#line 12232 "EditingTools.c" } #line 623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = new_pivotable; @@ -12213,14 +12236,14 @@ static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_constr self->is_pivotable = _tmp8_; #line 614 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self; -#line 12217 "EditingTools.c" +#line 12240 "EditingTools.c" } static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_constraint_description_new (const gchar* new_name, gint new_basis_width, gint new_basis_height, gboolean new_pivotable, gfloat new_aspect_ratio) { #line 614 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return editing_tools_crop_tool_constraint_description_construct (EDITING_TOOLS_CROP_TOOL_TYPE_CONSTRAINT_DESCRIPTION, new_name, new_basis_width, new_basis_height, new_pivotable, new_aspect_ratio); -#line 12224 "EditingTools.c" +#line 12247 "EditingTools.c" } @@ -12234,30 +12257,30 @@ static gboolean editing_tools_crop_tool_constraint_description_is_separator (Edi _tmp1_ = self->is_pivotable; #line 627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!_tmp1_) { -#line 12238 "EditingTools.c" +#line 12261 "EditingTools.c" gfloat _tmp2_ = 0.0F; #line 627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = self->aspect_ratio; #line 627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = _tmp2_ == EDITING_TOOLS_CROP_TOOL_SEPARATOR; -#line 12244 "EditingTools.c" +#line 12267 "EditingTools.c" } else { #line 627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = FALSE; -#line 12248 "EditingTools.c" +#line 12271 "EditingTools.c" } #line 627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = _tmp0_; #line 627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 12254 "EditingTools.c" +#line 12277 "EditingTools.c" } static void editing_tools_crop_tool_value_constraint_description_init (GValue* value) { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = NULL; -#line 12261 "EditingTools.c" +#line 12284 "EditingTools.c" } @@ -12266,7 +12289,7 @@ static void editing_tools_crop_tool_value_constraint_description_free_value (GVa if (value->data[0].v_pointer) { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_constraint_description_unref (value->data[0].v_pointer); -#line 12270 "EditingTools.c" +#line 12293 "EditingTools.c" } } @@ -12276,11 +12299,11 @@ static void editing_tools_crop_tool_value_constraint_description_copy_value (con if (src_value->data[0].v_pointer) { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" dest_value->data[0].v_pointer = editing_tools_crop_tool_constraint_description_ref (src_value->data[0].v_pointer); -#line 12280 "EditingTools.c" +#line 12303 "EditingTools.c" } else { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" dest_value->data[0].v_pointer = NULL; -#line 12284 "EditingTools.c" +#line 12307 "EditingTools.c" } } @@ -12288,37 +12311,37 @@ static void editing_tools_crop_tool_value_constraint_description_copy_value (con static gpointer editing_tools_crop_tool_value_constraint_description_peek_pointer (const GValue* value) { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return value->data[0].v_pointer; -#line 12292 "EditingTools.c" +#line 12315 "EditingTools.c" } static gchar* editing_tools_crop_tool_value_constraint_description_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (collect_values[0].v_pointer) { -#line 12299 "EditingTools.c" +#line 12322 "EditingTools.c" EditingToolsCropToolConstraintDescription* object; object = collect_values[0].v_pointer; #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (object->parent_instance.g_class == NULL) { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 12306 "EditingTools.c" +#line 12329 "EditingTools.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 12310 "EditingTools.c" +#line 12333 "EditingTools.c" } #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = editing_tools_crop_tool_constraint_description_ref (object); -#line 12314 "EditingTools.c" +#line 12337 "EditingTools.c" } else { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = NULL; -#line 12318 "EditingTools.c" +#line 12341 "EditingTools.c" } #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return NULL; -#line 12322 "EditingTools.c" +#line 12345 "EditingTools.c" } @@ -12329,25 +12352,25 @@ static gchar* editing_tools_crop_tool_value_constraint_description_lcopy_value ( if (!object_p) { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 12333 "EditingTools.c" +#line 12356 "EditingTools.c" } #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!value->data[0].v_pointer) { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *object_p = NULL; -#line 12339 "EditingTools.c" +#line 12362 "EditingTools.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *object_p = value->data[0].v_pointer; -#line 12343 "EditingTools.c" +#line 12366 "EditingTools.c" } else { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *object_p = editing_tools_crop_tool_constraint_description_ref (value->data[0].v_pointer); -#line 12347 "EditingTools.c" +#line 12370 "EditingTools.c" } #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return NULL; -#line 12351 "EditingTools.c" +#line 12374 "EditingTools.c" } @@ -12361,7 +12384,7 @@ static GParamSpec* editing_tools_crop_tool_param_spec_constraint_description (co G_PARAM_SPEC (spec)->value_type = object_type; #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return G_PARAM_SPEC (spec); -#line 12365 "EditingTools.c" +#line 12388 "EditingTools.c" } @@ -12370,7 +12393,7 @@ static gpointer editing_tools_crop_tool_value_get_constraint_description (const g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, EDITING_TOOLS_CROP_TOOL_TYPE_CONSTRAINT_DESCRIPTION), NULL); #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return value->data[0].v_pointer; -#line 12374 "EditingTools.c" +#line 12397 "EditingTools.c" } @@ -12390,17 +12413,17 @@ static void editing_tools_crop_tool_value_set_constraint_description (GValue* va value->data[0].v_pointer = v_object; #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_constraint_description_ref (value->data[0].v_pointer); -#line 12394 "EditingTools.c" +#line 12417 "EditingTools.c" } else { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = NULL; -#line 12398 "EditingTools.c" +#line 12421 "EditingTools.c" } #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (old) { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_constraint_description_unref (old); -#line 12404 "EditingTools.c" +#line 12427 "EditingTools.c" } } @@ -12419,17 +12442,17 @@ static void editing_tools_crop_tool_value_take_constraint_description (GValue* v g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = v_object; -#line 12423 "EditingTools.c" +#line 12446 "EditingTools.c" } else { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" value->data[0].v_pointer = NULL; -#line 12427 "EditingTools.c" +#line 12450 "EditingTools.c" } #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (old) { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_crop_tool_constraint_description_unref (old); -#line 12433 "EditingTools.c" +#line 12456 "EditingTools.c" } } @@ -12439,14 +12462,14 @@ static void editing_tools_crop_tool_constraint_description_class_init (EditingTo editing_tools_crop_tool_constraint_description_parent_class = g_type_class_peek_parent (klass); #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ((EditingToolsCropToolConstraintDescriptionClass *) klass)->finalize = editing_tools_crop_tool_constraint_description_finalize; -#line 12443 "EditingTools.c" +#line 12466 "EditingTools.c" } static void editing_tools_crop_tool_constraint_description_instance_init (EditingToolsCropToolConstraintDescription * self) { #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->ref_count = 1; -#line 12450 "EditingTools.c" +#line 12473 "EditingTools.c" } @@ -12458,7 +12481,7 @@ static void editing_tools_crop_tool_constraint_description_finalize (EditingTool g_signal_handlers_destroy (self); #line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_free0 (self->name); -#line 12462 "EditingTools.c" +#line 12485 "EditingTools.c" } @@ -12483,7 +12506,7 @@ static gpointer editing_tools_crop_tool_constraint_description_ref (gpointer ins g_atomic_int_inc (&self->ref_count); #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return instance; -#line 12487 "EditingTools.c" +#line 12510 "EditingTools.c" } @@ -12496,7 +12519,7 @@ static void editing_tools_crop_tool_constraint_description_unref (gpointer insta EDITING_TOOLS_CROP_TOOL_CONSTRAINT_DESCRIPTION_GET_CLASS (self)->finalize (self); #line 607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_type_free_instance ((GTypeInstance *) self); -#line 12500 "EditingTools.c" +#line 12523 "EditingTools.c" } } @@ -12506,7 +12529,7 @@ static gboolean _editing_tools_crop_tool_crop_tool_window_constraint_combo_separ result = editing_tools_crop_tool_crop_tool_window_constraint_combo_separator_func (model, iter); #line 675 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 12510 "EditingTools.c" +#line 12533 "EditingTools.c" } @@ -12697,14 +12720,14 @@ static EditingToolsCropToolCropToolWindow* editing_tools_crop_tool_crop_tool_win _g_object_unref0 (combo_text_renderer); #line 662 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self; -#line 12701 "EditingTools.c" +#line 12724 "EditingTools.c" } static EditingToolsCropToolCropToolWindow* editing_tools_crop_tool_crop_tool_window_new (GtkWindow* container) { #line 662 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return editing_tools_crop_tool_crop_tool_window_construct (EDITING_TOOLS_CROP_TOOL_TYPE_CROP_TOOL_WINDOW, container); -#line 12708 "EditingTools.c" +#line 12731 "EditingTools.c" } @@ -12745,7 +12768,7 @@ static gboolean editing_tools_crop_tool_crop_tool_window_constraint_combo_separa G_IS_VALUE (&val) ? (g_value_unset (&val), NULL) : NULL; #line 704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 12749 "EditingTools.c" +#line 12772 "EditingTools.c" } @@ -12754,7 +12777,7 @@ static void editing_tools_crop_tool_crop_tool_window_class_init (EditingToolsCro editing_tools_crop_tool_crop_tool_window_parent_class = g_type_class_peek_parent (klass); #line 646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (klass)->finalize = editing_tools_crop_tool_crop_tool_window_finalize; -#line 12758 "EditingTools.c" +#line 12781 "EditingTools.c" } @@ -12811,7 +12834,7 @@ static void editing_tools_crop_tool_crop_tool_window_instance_init (EditingTools self->normal_width = -1; #line 660 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->normal_height = -1; -#line 12815 "EditingTools.c" +#line 12838 "EditingTools.c" } @@ -12841,7 +12864,7 @@ static void editing_tools_crop_tool_crop_tool_window_finalize (GObject* obj) { _g_object_unref0 (self->layout); #line 646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (editing_tools_crop_tool_crop_tool_window_parent_class)->finalize (obj); -#line 12845 "EditingTools.c" +#line 12868 "EditingTools.c" } @@ -12882,7 +12905,7 @@ static void editing_tools_crop_tool_class_init (EditingToolsCropToolClass * klas ((EditingToolsEditingToolClass *) klass)->on_motion = editing_tools_crop_tool_real_on_motion; #line 586 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ((EditingToolsEditingToolClass *) klass)->paint = editing_tools_crop_tool_real_paint; -#line 12886 "EditingTools.c" +#line 12909 "EditingTools.c" } @@ -12954,7 +12977,7 @@ static void editing_tools_crop_tool_instance_init (EditingToolsCropTool * self) self->priv->custom_init_height = -1; #line 734 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->pre_aspect_ratio = EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO; -#line 12958 "EditingTools.c" +#line 12981 "EditingTools.c" } @@ -12980,7 +13003,7 @@ static void editing_tools_crop_tool_finalize (EditingToolsEditingTool* obj) { _g_object_unref0 (self->priv->constraint_list); #line 586 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_crop_tool_parent_class)->finalize (obj); -#line 12984 "EditingTools.c" +#line 13007 "EditingTools.c" } @@ -13009,7 +13032,7 @@ static void editing_tools_redeye_instance_init (EditingToolsRedeyeInstance *self (*self).center = _tmp0_; #line 1843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" (*self).radius = EDITING_TOOLS_REDEYE_INSTANCE_DEFAULT_RADIUS; -#line 13013 "EditingTools.c" +#line 13036 "EditingTools.c" } @@ -13073,7 +13096,7 @@ void editing_tools_redeye_instance_to_bounds_rect (EditingToolsRedeyeInstance* i *result = _result_; #line 1853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 13077 "EditingTools.c" +#line 13100 "EditingTools.c" } @@ -13135,7 +13158,7 @@ void editing_tools_redeye_instance_from_bounds_rect (GdkRectangle* rect, Editing *result = _result_; #line 1864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 13139 "EditingTools.c" +#line 13162 "EditingTools.c" } @@ -13147,14 +13170,14 @@ EditingToolsRedeyeInstance* editing_tools_redeye_instance_dup (const EditingTool memcpy (dup, self, sizeof (EditingToolsRedeyeInstance)); #line 1832 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return dup; -#line 13151 "EditingTools.c" +#line 13174 "EditingTools.c" } void editing_tools_redeye_instance_free (EditingToolsRedeyeInstance* self) { #line 1832 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_free (self); -#line 13158 "EditingTools.c" +#line 13181 "EditingTools.c" } @@ -13175,14 +13198,14 @@ static EditingToolsRedeyeTool* editing_tools_redeye_tool_construct (GType object self = (EditingToolsRedeyeTool*) editing_tools_editing_tool_construct (object_type, "RedeyeTool"); #line 1915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self; -#line 13179 "EditingTools.c" +#line 13202 "EditingTools.c" } static EditingToolsRedeyeTool* editing_tools_redeye_tool_new (void) { #line 1915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return editing_tools_redeye_tool_construct (EDITING_TOOLS_TYPE_REDEYE_TOOL); -#line 13186 "EditingTools.c" +#line 13209 "EditingTools.c" } @@ -13195,7 +13218,7 @@ EditingToolsRedeyeTool* editing_tools_redeye_tool_factory (void) { result = _tmp0_; #line 1920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 13199 "EditingTools.c" +#line 13222 "EditingTools.c" } @@ -13226,7 +13249,7 @@ gboolean editing_tools_redeye_tool_is_available (Photo* photo, Scaling* scaling) _tmp5_ = _tmp4_.width; #line 1926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp5_ >= (EDITING_TOOLS_REDEYE_INSTANCE_MAX_RADIUS * 2)) { -#line 13230 "EditingTools.c" +#line 13253 "EditingTools.c" Dimensions _tmp6_ = {0}; gint _tmp7_ = 0; #line 1927 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -13235,17 +13258,17 @@ gboolean editing_tools_redeye_tool_is_available (Photo* photo, Scaling* scaling) _tmp7_ = _tmp6_.height; #line 1927 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = _tmp7_ >= (EDITING_TOOLS_REDEYE_INSTANCE_MAX_RADIUS * 2); -#line 13239 "EditingTools.c" +#line 13262 "EditingTools.c" } else { #line 1926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = FALSE; -#line 13243 "EditingTools.c" +#line 13266 "EditingTools.c" } #line 1926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = _tmp3_; #line 1926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 13249 "EditingTools.c" +#line 13272 "EditingTools.c" } @@ -13322,7 +13345,7 @@ static void editing_tools_redeye_tool_new_interaction_instance (EditingToolsRede *result = _result_; #line 1941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 13326 "EditingTools.c" +#line 13349 "EditingTools.c" } @@ -13379,7 +13402,7 @@ static void editing_tools_redeye_tool_prepare_ctx (EditingToolsRedeyeTool* self, _tmp9_ = self->priv->thin_white_ctx; #line 1951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cairo_set_line_width (_tmp9_, (gdouble) 1); -#line 13383 "EditingTools.c" +#line 13406 "EditingTools.c" } @@ -13452,7 +13475,7 @@ static void editing_tools_redeye_tool_draw_redeye_instance (EditingToolsRedeyeTo _tmp19_ = _tmp18_.radius; #line 1957 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_draw_circle (_tmp10_, _tmp11_, _tmp14_, _tmp17_, _tmp19_); -#line 13456 "EditingTools.c" +#line 13479 "EditingTools.c" } @@ -13480,7 +13503,7 @@ static gboolean editing_tools_redeye_tool_on_size_slider_adjust (EditingToolsRed result = FALSE; #line 1967 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 13484 "EditingTools.c" +#line 13507 "EditingTools.c" } @@ -13641,7 +13664,7 @@ static void editing_tools_redeye_tool_on_apply (EditingToolsRedeyeTool* self) { _command_manager_unref0 (_tmp37_); #line 1970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (command); -#line 13645 "EditingTools.c" +#line 13668 "EditingTools.c" } @@ -13676,7 +13699,7 @@ static void editing_tools_redeye_tool_on_photos_altered (EditingToolsRedeyeTool* if (_tmp5_) { #line 2003 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 13680 "EditingTools.c" +#line 13703 "EditingTools.c" } { GdkPixbuf* _tmp6_ = NULL; @@ -13708,7 +13731,7 @@ static void editing_tools_redeye_tool_on_photos_altered (EditingToolsRedeyeTool* _tmp6_ = _tmp13_; #line 2006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 13712 "EditingTools.c" +#line 13735 "EditingTools.c" goto __catch20_g_error; } #line 2006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -13721,7 +13744,7 @@ static void editing_tools_redeye_tool_on_photos_altered (EditingToolsRedeyeTool* self->priv->current_pixbuf = _tmp14_; #line 2005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp6_); -#line 13725 "EditingTools.c" +#line 13748 "EditingTools.c" } goto __finally20; __catch20_g_error: @@ -13745,7 +13768,7 @@ static void editing_tools_redeye_tool_on_photos_altered (EditingToolsRedeyeTool* _g_error_free0 (err); #line 2011 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 13749 "EditingTools.c" +#line 13772 "EditingTools.c" } __finally20: #line 2005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -13756,13 +13779,13 @@ static void editing_tools_redeye_tool_on_photos_altered (EditingToolsRedeyeTool* g_clear_error (&_inner_error_); #line 2005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 13760 "EditingTools.c" +#line 13783 "EditingTools.c" } #line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp17_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; #line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_repaint (_tmp17_); -#line 13766 "EditingTools.c" +#line 13789 "EditingTools.c" } @@ -13788,7 +13811,7 @@ static void editing_tools_redeye_tool_on_close (EditingToolsRedeyeTool* self) { g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), "applied", NULL, _tmp0_, &_tmp4_, FALSE); #line 2018 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp3_); -#line 13792 "EditingTools.c" +#line 13815 "EditingTools.c" } @@ -13894,14 +13917,14 @@ static void editing_tools_redeye_tool_on_canvas_resize (EditingToolsRedeyeTool* _g_object_unref0 (self->priv->current_pixbuf); #line 2043 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->current_pixbuf = NULL; -#line 13898 "EditingTools.c" +#line 13921 "EditingTools.c" } static void _editing_tools_redeye_tool_on_photos_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) { #line 2066 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_redeye_tool_on_photos_altered ((EditingToolsRedeyeTool*) self, items); -#line 13905 "EditingTools.c" +#line 13928 "EditingTools.c" } @@ -14037,13 +14060,13 @@ static void editing_tools_redeye_tool_real_activate (EditingToolsEditingTool* ba _tmp27_ = owner; #line 2065 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp27_ != NULL) { -#line 14041 "EditingTools.c" +#line 14064 "EditingTools.c" DataCollection* _tmp28_ = NULL; #line 2066 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp28_ = owner; #line 2066 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (_tmp28_, "items-altered", (GCallback) _editing_tools_redeye_tool_on_photos_altered_data_collection_items_altered, self); -#line 14047 "EditingTools.c" +#line 14070 "EditingTools.c" } #line 2068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp29_ = canvas; @@ -14051,7 +14074,7 @@ static void editing_tools_redeye_tool_real_activate (EditingToolsEditingTool* ba EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_redeye_tool_parent_class)->activate (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), _tmp29_); #line 2046 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _data_collection_unref0 (owner); -#line 14055 "EditingTools.c" +#line 14078 "EditingTools.c" } @@ -14065,7 +14088,7 @@ static void editing_tools_redeye_tool_real_deactivate (EditingToolsEditingTool* _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; #line 2072 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_ != NULL) { -#line 14069 "EditingTools.c" +#line 14092 "EditingTools.c" DataCollection* owner = NULL; EditingToolsPhotoCanvas* _tmp1_ = NULL; Photo* _tmp2_ = NULL; @@ -14092,7 +14115,7 @@ static void editing_tools_redeye_tool_real_deactivate (EditingToolsEditingTool* _tmp6_ = owner; #line 2074 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp6_ != NULL) { -#line 14096 "EditingTools.c" +#line 14119 "EditingTools.c" DataCollection* _tmp7_ = NULL; guint _tmp8_ = 0U; #line 2075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -14101,7 +14124,7 @@ static void editing_tools_redeye_tool_real_deactivate (EditingToolsEditingTool* g_signal_parse_name ("items-altered", TYPE_DATA_COLLECTION, &_tmp8_, NULL, FALSE); #line 2075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (_tmp7_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp8_, 0, NULL, (GCallback) _editing_tools_redeye_tool_on_photos_altered_data_collection_items_altered, self); -#line 14105 "EditingTools.c" +#line 14128 "EditingTools.c" } #line 2077 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; @@ -14109,13 +14132,13 @@ static void editing_tools_redeye_tool_real_deactivate (EditingToolsEditingTool* editing_tools_redeye_tool_unbind_canvas_handlers (self, _tmp9_); #line 2072 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _data_collection_unref0 (owner); -#line 14113 "EditingTools.c" +#line 14136 "EditingTools.c" } #line 2080 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = self->priv->redeye_tool_window; #line 2080 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp10_ != NULL) { -#line 14119 "EditingTools.c" +#line 14142 "EditingTools.c" EditingToolsRedeyeToolRedeyeToolWindow* _tmp11_ = NULL; EditingToolsRedeyeToolRedeyeToolWindow* _tmp12_ = NULL; #line 2081 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -14132,25 +14155,25 @@ static void editing_tools_redeye_tool_real_deactivate (EditingToolsEditingTool* _g_object_unref0 (self->priv->redeye_tool_window); #line 2084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->redeye_tool_window = NULL; -#line 14136 "EditingTools.c" +#line 14159 "EditingTools.c" } #line 2087 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_redeye_tool_parent_class)->deactivate (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)); -#line 14140 "EditingTools.c" +#line 14163 "EditingTools.c" } static void _editing_tools_redeye_tool_prepare_ctx_editing_tools_photo_canvas_new_surface (EditingToolsPhotoCanvas* _sender, cairo_t* ctx, Dimensions* dim, gpointer self) { #line 2091 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_redeye_tool_prepare_ctx ((EditingToolsRedeyeTool*) self, ctx, dim); -#line 14147 "EditingTools.c" +#line 14170 "EditingTools.c" } static void _editing_tools_redeye_tool_on_canvas_resize_editing_tools_photo_canvas_resized_scaled_pixbuf (EditingToolsPhotoCanvas* _sender, Dimensions* old_dim, GdkPixbuf* scaled, GdkRectangle* scaled_position, gpointer self) { #line 2092 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_redeye_tool_on_canvas_resize ((EditingToolsRedeyeTool*) self); -#line 14154 "EditingTools.c" +#line 14177 "EditingTools.c" } @@ -14169,7 +14192,7 @@ static void editing_tools_redeye_tool_bind_canvas_handlers (EditingToolsRedeyeTo _tmp1_ = canvas; #line 2092 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (_tmp1_, "resized-scaled-pixbuf", (GCallback) _editing_tools_redeye_tool_on_canvas_resize_editing_tools_photo_canvas_resized_scaled_pixbuf, self); -#line 14173 "EditingTools.c" +#line 14196 "EditingTools.c" } @@ -14194,21 +14217,21 @@ static void editing_tools_redeye_tool_unbind_canvas_handlers (EditingToolsRedeye g_signal_parse_name ("resized-scaled-pixbuf", EDITING_TOOLS_TYPE_PHOTO_CANVAS, &_tmp3_, NULL, FALSE); #line 2097 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _editing_tools_redeye_tool_on_canvas_resize_editing_tools_photo_canvas_resized_scaled_pixbuf, self); -#line 14198 "EditingTools.c" +#line 14221 "EditingTools.c" } static void _editing_tools_redeye_tool_on_apply_gtk_button_clicked (GtkButton* _sender, gpointer self) { #line 2101 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_redeye_tool_on_apply ((EditingToolsRedeyeTool*) self); -#line 14205 "EditingTools.c" +#line 14228 "EditingTools.c" } static void _editing_tools_redeye_tool_on_close_gtk_button_clicked (GtkButton* _sender, gpointer self) { #line 2102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_redeye_tool_on_close ((EditingToolsRedeyeTool*) self); -#line 14212 "EditingTools.c" +#line 14235 "EditingTools.c" } @@ -14217,7 +14240,7 @@ static gboolean _editing_tools_redeye_tool_on_size_slider_adjust_gtk_range_chang result = editing_tools_redeye_tool_on_size_slider_adjust ((EditingToolsRedeyeTool*) self, scroll); #line 2103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 14221 "EditingTools.c" +#line 14244 "EditingTools.c" } @@ -14248,7 +14271,7 @@ static void editing_tools_redeye_tool_bind_window_handlers (EditingToolsRedeyeTo _tmp5_ = _tmp4_->slider; #line 2103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_range_get_type (), GtkRange), "change-value", (GCallback) _editing_tools_redeye_tool_on_size_slider_adjust_gtk_range_change_value, self); -#line 14252 "EditingTools.c" +#line 14275 "EditingTools.c" } @@ -14288,7 +14311,7 @@ static void editing_tools_redeye_tool_unbind_window_handlers (EditingToolsRedeye g_signal_parse_name ("change-value", gtk_range_get_type (), &_tmp8_, NULL, FALSE); #line 2109 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp8_, 0, NULL, (GCallback) _editing_tools_redeye_tool_on_size_slider_adjust_gtk_range_change_value, self); -#line 14292 "EditingTools.c" +#line 14315 "EditingTools.c" } @@ -14307,7 +14330,7 @@ static EditingToolsEditingToolWindow* editing_tools_redeye_tool_real_get_tool_wi result = _tmp1_; #line 2113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 14311 "EditingTools.c" +#line 14334 "EditingTools.c" } @@ -14331,7 +14354,7 @@ static void editing_tools_redeye_tool_real_paint (EditingToolsEditingTool* base, _tmp1_ = self->priv->current_pixbuf; #line 2117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp1_ != NULL) { -#line 14335 "EditingTools.c" +#line 14358 "EditingTools.c" GdkPixbuf* _tmp2_ = NULL; GdkPixbuf* _tmp3_ = NULL; #line 2117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -14342,7 +14365,7 @@ static void editing_tools_redeye_tool_real_paint (EditingToolsEditingTool* base, _g_object_unref0 (_tmp0_); #line 2117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = _tmp3_; -#line 14346 "EditingTools.c" +#line 14369 "EditingTools.c" } else { EditingToolsPhotoCanvas* _tmp4_ = NULL; GdkPixbuf* _tmp5_ = NULL; @@ -14354,7 +14377,7 @@ static void editing_tools_redeye_tool_real_paint (EditingToolsEditingTool* base, _g_object_unref0 (_tmp0_); #line 2117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = _tmp5_; -#line 14358 "EditingTools.c" +#line 14381 "EditingTools.c" } #line 2117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; @@ -14380,7 +14403,7 @@ static void editing_tools_redeye_tool_real_paint (EditingToolsEditingTool* base, editing_tools_redeye_tool_draw_redeye_instance (self, &_tmp12_); #line 2116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp0_); -#line 14384 "EditingTools.c" +#line 14407 "EditingTools.c" } @@ -14411,7 +14434,7 @@ static void editing_tools_redeye_tool_real_on_left_click (EditingToolsEditingToo _tmp5_ = coord_in_rectangle (_tmp2_, _tmp3_, &_tmp4_); #line 2131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp5_) { -#line 14415 "EditingTools.c" +#line 14438 "EditingTools.c" gint _tmp6_ = 0; gint _tmp7_ = 0; EditingToolsRedeyeInstance _tmp8_ = {0}; @@ -14432,7 +14455,7 @@ static void editing_tools_redeye_tool_real_on_left_click (EditingToolsEditingToo _tmp9_ = _tmp8_.center; #line 2135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->reticle_move_anchor = _tmp9_; -#line 14436 "EditingTools.c" +#line 14459 "EditingTools.c" } } @@ -14443,7 +14466,7 @@ static void editing_tools_redeye_tool_real_on_left_released (EditingToolsEditing self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_REDEYE_TOOL, EditingToolsRedeyeTool); #line 2140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->is_reticle_move_in_progress = FALSE; -#line 14447 "EditingTools.c" +#line 14470 "EditingTools.c" } @@ -14456,7 +14479,7 @@ static void editing_tools_redeye_tool_real_on_motion (EditingToolsEditingTool* b _tmp0_ = self->priv->is_reticle_move_in_progress; #line 2144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_) { -#line 14460 "EditingTools.c" +#line 14483 "EditingTools.c" GdkRectangle active_region_rect = {0}; EditingToolsPhotoCanvas* _tmp1_ = NULL; GdkRectangle _tmp2_ = {0}; @@ -14629,7 +14652,7 @@ static void editing_tools_redeye_tool_real_on_motion (EditingToolsEditingTool* b _tmp47_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; #line 2175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_repaint (_tmp47_); -#line 14633 "EditingTools.c" +#line 14656 "EditingTools.c" } else { GdkRectangle bounds = {0}; EditingToolsRedeyeInstance _tmp48_ = {0}; @@ -14654,7 +14677,7 @@ static void editing_tools_redeye_tool_real_on_motion (EditingToolsEditingTool* b _tmp53_ = coord_in_rectangle (_tmp50_, _tmp51_, &_tmp52_); #line 2180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp53_) { -#line 14658 "EditingTools.c" +#line 14681 "EditingTools.c" EditingToolsPhotoCanvas* _tmp54_ = NULL; GdkWindow* _tmp55_ = NULL; GdkWindow* _tmp56_ = NULL; @@ -14671,7 +14694,7 @@ static void editing_tools_redeye_tool_real_on_motion (EditingToolsEditingTool* b gdk_window_set_cursor (_tmp56_, _tmp57_); #line 2181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp56_); -#line 14675 "EditingTools.c" +#line 14698 "EditingTools.c" } else { EditingToolsPhotoCanvas* _tmp58_ = NULL; GdkWindow* _tmp59_ = NULL; @@ -14689,7 +14712,7 @@ static void editing_tools_redeye_tool_real_on_motion (EditingToolsEditingTool* b gdk_window_set_cursor (_tmp60_, _tmp61_); #line 2183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp60_); -#line 14693 "EditingTools.c" +#line 14716 "EditingTools.c" } } } @@ -14719,7 +14742,7 @@ static gboolean editing_tools_redeye_tool_real_on_keypress (EditingToolsEditingT if (g_strcmp0 (_tmp4_, "KP_Enter") == 0) { #line 2189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = TRUE; -#line 14723 "EditingTools.c" +#line 14746 "EditingTools.c" } else { GdkEventKey* _tmp5_ = NULL; guint _tmp6_ = 0U; @@ -14732,13 +14755,13 @@ static gboolean editing_tools_redeye_tool_real_on_keypress (EditingToolsEditingT _tmp7_ = gdk_keyval_name (_tmp6_); #line 2190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = g_strcmp0 (_tmp7_, "Enter") == 0; -#line 14736 "EditingTools.c" +#line 14759 "EditingTools.c" } #line 2189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp1_) { #line 2189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = TRUE; -#line 14742 "EditingTools.c" +#line 14765 "EditingTools.c" } else { GdkEventKey* _tmp8_ = NULL; guint _tmp9_ = 0U; @@ -14751,7 +14774,7 @@ static gboolean editing_tools_redeye_tool_real_on_keypress (EditingToolsEditingT _tmp10_ = gdk_keyval_name (_tmp9_); #line 2191 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = g_strcmp0 (_tmp10_, "Return") == 0; -#line 14755 "EditingTools.c" +#line 14778 "EditingTools.c" } #line 2189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_) { @@ -14761,7 +14784,7 @@ static gboolean editing_tools_redeye_tool_real_on_keypress (EditingToolsEditingT result = TRUE; #line 2193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 14765 "EditingTools.c" +#line 14788 "EditingTools.c" } #line 2196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = event; @@ -14771,7 +14794,7 @@ static gboolean editing_tools_redeye_tool_real_on_keypress (EditingToolsEditingT result = _tmp12_; #line 2196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 14775 "EditingTools.c" +#line 14798 "EditingTools.c" } @@ -14854,14 +14877,14 @@ static EditingToolsRedeyeToolRedeyeToolWindow* editing_tools_redeye_tool_redeye_ _g_object_unref0 (layout); #line 1881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self; -#line 14858 "EditingTools.c" +#line 14881 "EditingTools.c" } static EditingToolsRedeyeToolRedeyeToolWindow* editing_tools_redeye_tool_redeye_tool_window_new (GtkWindow* container) { #line 1881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return editing_tools_redeye_tool_redeye_tool_window_construct (EDITING_TOOLS_REDEYE_TOOL_TYPE_REDEYE_TOOL_WINDOW, container); -#line 14865 "EditingTools.c" +#line 14888 "EditingTools.c" } @@ -14872,7 +14895,7 @@ static void editing_tools_redeye_tool_redeye_tool_window_class_init (EditingTool g_type_class_add_private (klass, sizeof (EditingToolsRedeyeToolRedeyeToolWindowPrivate)); #line 1869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (klass)->finalize = editing_tools_redeye_tool_redeye_tool_window_finalize; -#line 14876 "EditingTools.c" +#line 14899 "EditingTools.c" } @@ -14910,7 +14933,7 @@ static void editing_tools_redeye_tool_redeye_tool_window_instance_init (EditingT g_object_ref_sink (_tmp4_); #line 1878 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->slider = _tmp4_; -#line 14914 "EditingTools.c" +#line 14937 "EditingTools.c" } @@ -14928,7 +14951,7 @@ static void editing_tools_redeye_tool_redeye_tool_window_finalize (GObject* obj) _g_object_unref0 (self->slider); #line 1869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (editing_tools_redeye_tool_redeye_tool_window_parent_class)->finalize (obj); -#line 14932 "EditingTools.c" +#line 14955 "EditingTools.c" } @@ -14967,7 +14990,7 @@ static void editing_tools_redeye_tool_class_init (EditingToolsRedeyeToolClass * ((EditingToolsEditingToolClass *) klass)->on_motion = editing_tools_redeye_tool_real_on_motion; #line 1868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ((EditingToolsEditingToolClass *) klass)->on_keypress = editing_tools_redeye_tool_real_on_keypress; -#line 14971 "EditingTools.c" +#line 14994 "EditingTools.c" } @@ -14984,7 +15007,7 @@ static void editing_tools_redeye_tool_instance_init (EditingToolsRedeyeTool * se self->priv->is_reticle_move_in_progress = FALSE; #line 1913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->current_pixbuf = NULL; -#line 14988 "EditingTools.c" +#line 15011 "EditingTools.c" } @@ -15006,7 +15029,7 @@ static void editing_tools_redeye_tool_finalize (EditingToolsEditingTool* obj) { _g_object_unref0 (self->priv->current_pixbuf); #line 1868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_redeye_tool_parent_class)->finalize (obj); -#line 15010 "EditingTools.c" +#line 15033 "EditingTools.c" } @@ -15024,52 +15047,52 @@ GType editing_tools_redeye_tool_get_type (void) { static EditingToolsAdjustTool* editing_tools_adjust_tool_construct (GType object_type) { EditingToolsAdjustTool* self = NULL; -#line 2491 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = (EditingToolsAdjustTool*) editing_tools_editing_tool_construct (object_type, "AdjustTool"); -#line 2490 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self; -#line 15032 "EditingTools.c" +#line 15055 "EditingTools.c" } static EditingToolsAdjustTool* editing_tools_adjust_tool_new (void) { -#line 2490 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return editing_tools_adjust_tool_construct (EDITING_TOOLS_TYPE_ADJUST_TOOL); -#line 15039 "EditingTools.c" +#line 15062 "EditingTools.c" } EditingToolsAdjustTool* editing_tools_adjust_tool_factory (void) { EditingToolsAdjustTool* result = NULL; EditingToolsAdjustTool* _tmp0_ = NULL; -#line 2495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = editing_tools_adjust_tool_new (); -#line 2495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = _tmp0_; -#line 2495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 15052 "EditingTools.c" +#line 15075 "EditingTools.c" } gboolean editing_tools_adjust_tool_is_available (Photo* photo, Scaling* scaling) { gboolean result = FALSE; -#line 2498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (IS_PHOTO (photo), FALSE); -#line 2498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (scaling != NULL, FALSE); -#line 2499 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2511 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = TRUE; -#line 2499 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2511 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 15066 "EditingTools.c" +#line 15089 "EditingTools.c" } static void _editing_tools_adjust_tool_on_photos_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) { -#line 2582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_photos_altered ((EditingToolsAdjustTool*) self, items); -#line 15073 "EditingTools.c" +#line 15096 "EditingTools.c" } @@ -15152,458 +15175,491 @@ static void editing_tools_adjust_tool_real_activate (EditingToolsEditingTool* ba GtkScale* _tmp66_ = NULL; ExposureTransformation* _tmp67_ = NULL; gfloat _tmp68_ = 0.0F; - EditingToolsPhotoCanvas* _tmp69_ = NULL; - EditingToolsPhotoCanvas* _tmp70_ = NULL; - GdkPixbuf* _tmp71_ = NULL; - GdkPixbuf* _tmp72_ = NULL; - GdkPixbuf* _tmp73_ = NULL; - EditingToolsPhotoCanvas* _tmp74_ = NULL; - GdkPixbuf* _tmp75_ = NULL; - GdkPixbuf* _tmp76_ = NULL; - gboolean _tmp77_ = FALSE; - GdkPixbuf* _tmp78_ = NULL; - gint _tmp79_ = 0; - gint _tmp80_ = 0; - gboolean _tmp84_ = FALSE; + ContrastTransformation* contrast_trans = NULL; + PixelTransformationBundle* _tmp69_ = NULL; + PixelTransformation* _tmp70_ = NULL; + PixelTransformer* _tmp71_ = NULL; + ContrastTransformation* _tmp72_ = NULL; + EditingToolsAdjustToolAdjustToolWindow* _tmp73_ = NULL; + GtkHScale* _tmp74_ = NULL; + ContrastTransformation* _tmp75_ = NULL; + gfloat _tmp76_ = 0.0F; + EditingToolsPhotoCanvas* _tmp77_ = NULL; + EditingToolsPhotoCanvas* _tmp78_ = NULL; + GdkPixbuf* _tmp79_ = NULL; + GdkPixbuf* _tmp80_ = NULL; + GdkPixbuf* _tmp81_ = NULL; + EditingToolsPhotoCanvas* _tmp82_ = NULL; + GdkPixbuf* _tmp83_ = NULL; + GdkPixbuf* _tmp84_ = NULL; gboolean _tmp85_ = FALSE; GdkPixbuf* _tmp86_ = NULL; gint _tmp87_ = 0; gint _tmp88_ = 0; - GdkPixbuf* _tmp89_ = NULL; - gint _tmp90_ = 0; - gint _tmp91_ = 0; - GdkPixbuf* _tmp108_ = NULL; - GdkPixbuf* _tmp109_ = NULL; + gboolean _tmp92_ = FALSE; + gboolean _tmp93_ = FALSE; + GdkPixbuf* _tmp94_ = NULL; + gint _tmp95_ = 0; + gint _tmp96_ = 0; + GdkPixbuf* _tmp97_ = NULL; + gint _tmp98_ = 0; + gint _tmp99_ = 0; + GdkPixbuf* _tmp116_ = NULL; + GdkPixbuf* _tmp117_ = NULL; DataCollection* owner = NULL; - EditingToolsPhotoCanvas* _tmp110_ = NULL; - Photo* _tmp111_ = NULL; - Photo* _tmp112_ = NULL; - DataCollection* _tmp113_ = NULL; - DataCollection* _tmp114_ = NULL; - DataCollection* _tmp115_ = NULL; - EditingToolsPhotoCanvas* _tmp117_ = NULL; -#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + EditingToolsPhotoCanvas* _tmp118_ = NULL; + Photo* _tmp119_ = NULL; + Photo* _tmp120_ = NULL; + DataCollection* _tmp121_ = NULL; + DataCollection* _tmp122_ = NULL; + DataCollection* _tmp123_ = NULL; + EditingToolsPhotoCanvas* _tmp125_ = NULL; +#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_ADJUST_TOOL, EditingToolsAdjustTool); -#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (canvas)); -#line 2503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = canvas; -#line 2503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = editing_tools_photo_canvas_get_container (_tmp0_); -#line 2503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = _tmp1_; -#line 2503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = editing_tools_adjust_tool_adjust_tool_window_new (_tmp2_); -#line 2503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_object_ref_sink (_tmp3_); -#line 2503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->priv->adjust_tool_window); -#line 2503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->adjust_tool_window = _tmp3_; -#line 2503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp2_); -#line 2505 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2517 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = canvas; -#line 2505 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2517 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = editing_tools_photo_canvas_get_photo (_tmp4_); -#line 2505 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2517 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" photo = _tmp5_; -#line 2506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2518 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = photo; -#line 2506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2518 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = photo_get_color_adjustments (_tmp6_); -#line 2506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2518 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_bundle_unref0 (self->priv->transformations); -#line 2506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2518 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->transformations = _tmp7_; -#line 2507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2519 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = self->priv->transformations; -#line 2507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2519 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = pixel_transformation_bundle_generate_transformer (_tmp8_); -#line 2507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2519 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformer_unref0 (self->priv->transformer); -#line 2507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2519 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->transformer = _tmp9_; -#line 2510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2522 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = pixel_transformer_new (); -#line 2510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2522 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformer_unref0 (self->priv->histogram_transformer); -#line 2510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2522 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->histogram_transformer = _tmp10_; -#line 2513 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2525 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = self->priv->transformations; -#line 2513 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2525 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp12_ = pixel_transformation_bundle_get_transformation (_tmp11_, PIXEL_TRANSFORMATION_TYPE_TONE_EXPANSION); -#line 2513 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2525 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" expansion_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformation); -#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp13_ = self->priv->adjust_tool_window; -#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp14_ = _tmp13_->histogram_manipulator; -#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp15_ = expansion_trans; -#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp16_ = expansion_transformation_get_black_point (_tmp15_); -#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" rgb_histogram_manipulator_set_left_nub_position (_tmp14_, _tmp16_); -#line 2517 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp17_ = self->priv->adjust_tool_window; -#line 2517 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp18_ = _tmp17_->histogram_manipulator; -#line 2517 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp19_ = expansion_trans; -#line 2517 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp20_ = expansion_transformation_get_white_point (_tmp19_); -#line 2517 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" rgb_histogram_manipulator_set_right_nub_position (_tmp18_, _tmp20_); -#line 2521 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2533 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp21_ = self->priv->transformations; -#line 2521 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2533 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp22_ = pixel_transformation_bundle_get_transformation (_tmp21_, PIXEL_TRANSFORMATION_TYPE_SHADOWS); -#line 2521 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2533 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" shadows_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_SHADOW_DETAIL_TRANSFORMATION, ShadowDetailTransformation); -#line 2523 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2535 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp23_ = self->priv->histogram_transformer; -#line 2523 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2535 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp24_ = shadows_trans; -#line 2523 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2535 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" pixel_transformer_attach_transformation (_tmp23_, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 2524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp25_ = self->priv->adjust_tool_window; -#line 2524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp26_ = _tmp25_->shadows_slider; -#line 2524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp27_ = shadows_trans; -#line 2524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp28_ = shadow_detail_transformation_get_parameter (_tmp27_); -#line 2524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_range_get_type (), GtkRange), (gdouble) _tmp28_); -#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp29_ = self->priv->transformations; -#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp30_ = pixel_transformation_bundle_get_transformation (_tmp29_, PIXEL_TRANSFORMATION_TYPE_HIGHLIGHTS); -#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" highlights_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, HighlightDetailTransformation); -#line 2529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp31_ = self->priv->histogram_transformer; -#line 2529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp32_ = highlights_trans; -#line 2529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" pixel_transformer_attach_transformation (_tmp31_, G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 2530 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp33_ = self->priv->adjust_tool_window; -#line 2530 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp34_ = _tmp33_->highlights_slider; -#line 2530 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp35_ = highlights_trans; -#line 2530 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp36_ = highlight_detail_transformation_get_parameter (_tmp35_); -#line 2530 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_range_get_type (), GtkRange), (gdouble) _tmp36_); -#line 2533 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2545 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp37_ = self->priv->transformations; -#line 2533 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2545 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp38_ = pixel_transformation_bundle_get_transformation (_tmp37_, PIXEL_TRANSFORMATION_TYPE_TEMPERATURE); -#line 2533 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2545 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" temp_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, TYPE_TEMPERATURE_TRANSFORMATION, TemperatureTransformation); -#line 2535 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp39_ = self->priv->histogram_transformer; -#line 2535 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp40_ = temp_trans; -#line 2535 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" pixel_transformer_attach_transformation (_tmp39_, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 2536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2548 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp41_ = self->priv->adjust_tool_window; -#line 2536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2548 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp42_ = _tmp41_->temperature_slider; -#line 2536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2548 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp43_ = temp_trans; -#line 2536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2548 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp44_ = temperature_transformation_get_parameter (_tmp43_); -#line 2536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2548 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_range_get_type (), GtkRange), (gdouble) _tmp44_); -#line 2538 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2550 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp45_ = self->priv->transformations; -#line 2538 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2550 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp46_ = pixel_transformation_bundle_get_transformation (_tmp45_, PIXEL_TRANSFORMATION_TYPE_TINT); -#line 2538 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2550 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" tint_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, TYPE_TINT_TRANSFORMATION, TintTransformation); -#line 2540 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2552 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp47_ = self->priv->histogram_transformer; -#line 2540 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2552 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp48_ = tint_trans; -#line 2540 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2552 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" pixel_transformer_attach_transformation (_tmp47_, G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 2541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp49_ = self->priv->adjust_tool_window; -#line 2541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp50_ = _tmp49_->tint_slider; -#line 2541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp51_ = tint_trans; -#line 2541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp52_ = tint_transformation_get_parameter (_tmp51_); -#line 2541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_range_get_type (), GtkRange), (gdouble) _tmp52_); -#line 2544 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2556 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp53_ = self->priv->transformations; -#line 2544 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2556 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp54_ = pixel_transformation_bundle_get_transformation (_tmp53_, PIXEL_TRANSFORMATION_TYPE_SATURATION); -#line 2544 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2556 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" sat_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, TYPE_SATURATION_TRANSFORMATION, SaturationTransformation); -#line 2546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp55_ = self->priv->histogram_transformer; -#line 2546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp56_ = sat_trans; -#line 2546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" pixel_transformer_attach_transformation (_tmp55_, G_TYPE_CHECK_INSTANCE_CAST (_tmp56_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 2547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp57_ = self->priv->adjust_tool_window; -#line 2547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp58_ = _tmp57_->saturation_slider; -#line 2547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp59_ = sat_trans; -#line 2547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp60_ = saturation_transformation_get_parameter (_tmp59_); -#line 2547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, gtk_range_get_type (), GtkRange), (gdouble) _tmp60_); -#line 2550 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2562 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp61_ = self->priv->transformations; -#line 2550 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2562 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp62_ = pixel_transformation_bundle_get_transformation (_tmp61_, PIXEL_TRANSFORMATION_TYPE_EXPOSURE); -#line 2550 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2562 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" exposure_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, TYPE_EXPOSURE_TRANSFORMATION, ExposureTransformation); -#line 2552 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp63_ = self->priv->histogram_transformer; -#line 2552 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp64_ = exposure_trans; -#line 2552 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" pixel_transformer_attach_transformation (_tmp63_, G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); -#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp65_ = self->priv->adjust_tool_window; -#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp66_ = _tmp65_->exposure_slider; -#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp67_ = exposure_trans; -#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp68_ = exposure_transformation_get_parameter (_tmp67_); -#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp66_, gtk_range_get_type (), GtkRange), (gdouble) _tmp68_); -#line 2555 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp69_ = canvas; -#line 2555 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - editing_tools_adjust_tool_bind_canvas_handlers (self, _tmp69_); -#line 2556 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - editing_tools_adjust_tool_bind_window_handlers (self); -#line 2558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp70_ = canvas; -#line 2558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp71_ = editing_tools_photo_canvas_get_scaled_pixbuf (_tmp70_); -#line 2558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp72_ = _tmp71_; -#line 2558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp73_ = gdk_pixbuf_copy (_tmp72_); -#line 2558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _g_object_unref0 (self->priv->draw_to_pixbuf); -#line 2558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - self->priv->draw_to_pixbuf = _tmp73_; -#line 2558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _g_object_unref0 (_tmp72_); -#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp74_ = canvas; -#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp75_ = editing_tools_photo_canvas_get_scaled_pixbuf (_tmp74_); -#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp76_ = _tmp75_; -#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - editing_tools_adjust_tool_init_fp_pixel_cache (self, _tmp76_); -#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _g_object_unref0 (_tmp76_); -#line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp78_ = self->priv->draw_to_pixbuf; -#line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp79_ = gdk_pixbuf_get_width (_tmp78_); -#line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp80_ = _tmp79_; -#line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - if (_tmp80_ == 1) { -#line 15430 "EditingTools.c" - GdkPixbuf* _tmp81_ = NULL; - gint _tmp82_ = 0; - gint _tmp83_ = 0; -#line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp81_ = self->priv->draw_to_pixbuf; #line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp82_ = gdk_pixbuf_get_height (_tmp81_); + _tmp65_ = self->priv->adjust_tool_window; #line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp83_ = _tmp82_; + _tmp66_ = _tmp65_->exposure_slider; #line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp77_ = _tmp83_ == 1; -#line 15442 "EditingTools.c" - } else { + _tmp67_ = exposure_trans; #line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp77_ = FALSE; -#line 15446 "EditingTools.c" - } + _tmp68_ = exposure_transformation_get_parameter (_tmp67_); #line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - if (_tmp77_) { -#line 2566 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - self->priv->disable_histogram_refresh = TRUE; -#line 15452 "EditingTools.c" - } -#line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp86_ = self->priv->draw_to_pixbuf; -#line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp87_ = gdk_pixbuf_get_width (_tmp86_); -#line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp88_ = _tmp87_; -#line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp89_ = self->priv->draw_to_pixbuf; -#line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp90_ = gdk_pixbuf_get_height (_tmp89_); -#line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp91_ = _tmp90_; + gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp66_, gtk_range_get_type (), GtkRange), (gdouble) _tmp68_); +#line 2568 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp69_ = self->priv->transformations; +#line 2568 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp70_ = pixel_transformation_bundle_get_transformation (_tmp69_, PIXEL_TRANSFORMATION_TYPE_CONTRAST); +#line 2568 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + contrast_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp70_, TYPE_CONTRAST_TRANSFORMATION, ContrastTransformation); +#line 2570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp71_ = self->priv->histogram_transformer; +#line 2570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp72_ = contrast_trans; +#line 2570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + pixel_transformer_attach_transformation (_tmp71_, G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation)); #line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - if ((_tmp88_ * _tmp91_) > 8192) { -#line 15468 "EditingTools.c" - GdkPixbuf* _tmp92_ = NULL; - gint _tmp93_ = 0; - gint _tmp94_ = 0; + _tmp73_ = self->priv->adjust_tool_window; #line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp92_ = self->priv->draw_to_pixbuf; + _tmp74_ = _tmp73_->contrast_slider; #line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp93_ = gdk_pixbuf_get_width (_tmp92_); + _tmp75_ = contrast_trans; #line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp94_ = _tmp93_; + _tmp76_ = contrast_transformation_get_parameter (_tmp75_); #line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp85_ = _tmp94_ > 1; -#line 15480 "EditingTools.c" + gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, gtk_range_get_type (), GtkRange), (gdouble) _tmp76_); +#line 2573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp77_ = canvas; +#line 2573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + editing_tools_adjust_tool_bind_canvas_handlers (self, _tmp77_); +#line 2574 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + editing_tools_adjust_tool_bind_window_handlers (self); +#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp78_ = canvas; +#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp79_ = editing_tools_photo_canvas_get_scaled_pixbuf (_tmp78_); +#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp80_ = _tmp79_; +#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp81_ = gdk_pixbuf_copy (_tmp80_); +#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _g_object_unref0 (self->priv->draw_to_pixbuf); +#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self->priv->draw_to_pixbuf = _tmp81_; +#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _g_object_unref0 (_tmp80_); +#line 2577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp82_ = canvas; +#line 2577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp83_ = editing_tools_photo_canvas_get_scaled_pixbuf (_tmp82_); +#line 2577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp84_ = _tmp83_; +#line 2577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + editing_tools_adjust_tool_init_fp_pixel_cache (self, _tmp84_); +#line 2577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _g_object_unref0 (_tmp84_); +#line 2583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp86_ = self->priv->draw_to_pixbuf; +#line 2583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp87_ = gdk_pixbuf_get_width (_tmp86_); +#line 2583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp88_ = _tmp87_; +#line 2583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + if (_tmp88_ == 1) { +#line 15484 "EditingTools.c" + GdkPixbuf* _tmp89_ = NULL; + gint _tmp90_ = 0; + gint _tmp91_ = 0; +#line 2583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp89_ = self->priv->draw_to_pixbuf; +#line 2583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp90_ = gdk_pixbuf_get_height (_tmp89_); +#line 2583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp91_ = _tmp90_; +#line 2583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp85_ = _tmp91_ == 1; +#line 15496 "EditingTools.c" } else { -#line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp85_ = FALSE; -#line 15484 "EditingTools.c" +#line 15500 "EditingTools.c" } -#line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp85_) { -#line 15488 "EditingTools.c" - GdkPixbuf* _tmp95_ = NULL; - gint _tmp96_ = 0; - gint _tmp97_ = 0; -#line 2572 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp95_ = self->priv->draw_to_pixbuf; -#line 2572 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp96_ = gdk_pixbuf_get_height (_tmp95_); -#line 2572 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp97_ = _tmp96_; -#line 2572 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp84_ = _tmp97_ > 1; -#line 15500 "EditingTools.c" - } else { -#line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp84_ = FALSE; -#line 15504 "EditingTools.c" +#line 2584 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self->priv->disable_histogram_refresh = TRUE; +#line 15506 "EditingTools.c" } -#line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - if (_tmp84_) { -#line 15508 "EditingTools.c" - GdkPixbuf* _tmp98_ = NULL; - GdkPixbuf* _tmp99_ = NULL; - gint _tmp100_ = 0; +#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp94_ = self->priv->draw_to_pixbuf; +#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp95_ = gdk_pixbuf_get_width (_tmp94_); +#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp96_ = _tmp95_; +#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp97_ = self->priv->draw_to_pixbuf; +#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp98_ = gdk_pixbuf_get_height (_tmp97_); +#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp99_ = _tmp98_; +#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + if ((_tmp96_ * _tmp99_) > 8192) { +#line 15522 "EditingTools.c" + GdkPixbuf* _tmp100_ = NULL; gint _tmp101_ = 0; - GdkPixbuf* _tmp102_ = NULL; - gint _tmp103_ = 0; + gint _tmp102_ = 0; +#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp100_ = self->priv->draw_to_pixbuf; +#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp101_ = gdk_pixbuf_get_width (_tmp100_); +#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp102_ = _tmp101_; +#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp93_ = _tmp102_ > 1; +#line 15534 "EditingTools.c" + } else { +#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp93_ = FALSE; +#line 15538 "EditingTools.c" + } +#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + if (_tmp93_) { +#line 15542 "EditingTools.c" + GdkPixbuf* _tmp103_ = NULL; gint _tmp104_ = 0; - GdkPixbuf* _tmp105_ = NULL; -#line 2573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp98_ = self->priv->draw_to_pixbuf; -#line 2573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp99_ = self->priv->draw_to_pixbuf; -#line 2573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp100_ = gdk_pixbuf_get_width (_tmp99_); -#line 2573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp101_ = _tmp100_; -#line 2573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp102_ = self->priv->draw_to_pixbuf; -#line 2573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp103_ = gdk_pixbuf_get_height (_tmp102_); -#line 2573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp104_ = _tmp103_; -#line 2573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp105_ = gdk_pixbuf_scale_simple (_tmp98_, _tmp101_ / 2, _tmp104_ / 2, GDK_INTERP_HYPER); -#line 2573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _g_object_unref0 (self->priv->histogram_pixbuf); -#line 2573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - self->priv->histogram_pixbuf = _tmp105_; -#line 15537 "EditingTools.c" + gint _tmp105_ = 0; +#line 2590 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp103_ = self->priv->draw_to_pixbuf; +#line 2590 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp104_ = gdk_pixbuf_get_height (_tmp103_); +#line 2590 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp105_ = _tmp104_; +#line 2590 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp92_ = _tmp105_ > 1; +#line 15554 "EditingTools.c" } else { +#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp92_ = FALSE; +#line 15558 "EditingTools.c" + } +#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + if (_tmp92_) { +#line 15562 "EditingTools.c" GdkPixbuf* _tmp106_ = NULL; GdkPixbuf* _tmp107_ = NULL; -#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gint _tmp108_ = 0; + gint _tmp109_ = 0; + GdkPixbuf* _tmp110_ = NULL; + gint _tmp111_ = 0; + gint _tmp112_ = 0; + GdkPixbuf* _tmp113_ = NULL; +#line 2591 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp106_ = self->priv->draw_to_pixbuf; -#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp107_ = gdk_pixbuf_copy (_tmp106_); -#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2591 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp107_ = self->priv->draw_to_pixbuf; +#line 2591 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp108_ = gdk_pixbuf_get_width (_tmp107_); +#line 2591 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp109_ = _tmp108_; +#line 2591 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp110_ = self->priv->draw_to_pixbuf; +#line 2591 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp111_ = gdk_pixbuf_get_height (_tmp110_); +#line 2591 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp112_ = _tmp111_; +#line 2591 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp113_ = gdk_pixbuf_scale_simple (_tmp106_, _tmp109_ / 2, _tmp112_ / 2, GDK_INTERP_HYPER); +#line 2591 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->priv->histogram_pixbuf); -#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - self->priv->histogram_pixbuf = _tmp107_; -#line 15549 "EditingTools.c" +#line 2591 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self->priv->histogram_pixbuf = _tmp113_; +#line 15591 "EditingTools.c" + } else { + GdkPixbuf* _tmp114_ = NULL; + GdkPixbuf* _tmp115_ = NULL; +#line 2594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp114_ = self->priv->draw_to_pixbuf; +#line 2594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp115_ = gdk_pixbuf_copy (_tmp114_); +#line 2594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _g_object_unref0 (self->priv->histogram_pixbuf); +#line 2594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self->priv->histogram_pixbuf = _tmp115_; +#line 15603 "EditingTools.c" } -#line 2578 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp108_ = self->priv->histogram_pixbuf; -#line 2578 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp109_ = gdk_pixbuf_copy (_tmp108_); -#line 2578 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2596 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp116_ = self->priv->histogram_pixbuf; +#line 2596 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp117_ = gdk_pixbuf_copy (_tmp116_); +#line 2596 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->priv->virgin_histogram_pixbuf); -#line 2578 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - self->priv->virgin_histogram_pixbuf = _tmp109_; -#line 2580 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp110_ = canvas; -#line 2580 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp111_ = editing_tools_photo_canvas_get_photo (_tmp110_); -#line 2580 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp112_ = _tmp111_; -#line 2580 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp113_ = data_object_get_membership (G_TYPE_CHECK_INSTANCE_CAST (_tmp112_, TYPE_DATA_OBJECT, DataObject)); -#line 2580 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp114_ = _tmp113_; -#line 2580 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _g_object_unref0 (_tmp112_); -#line 2580 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - owner = _tmp114_; -#line 2581 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp115_ = owner; -#line 2581 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - if (_tmp115_ != NULL) { -#line 15577 "EditingTools.c" - DataCollection* _tmp116_ = NULL; -#line 2582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp116_ = owner; -#line 2582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_connect (_tmp116_, "items-altered", (GCallback) _editing_tools_adjust_tool_on_photos_altered_data_collection_items_altered, self); -#line 15583 "EditingTools.c" +#line 2596 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self->priv->virgin_histogram_pixbuf = _tmp117_; +#line 2598 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp118_ = canvas; +#line 2598 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp119_ = editing_tools_photo_canvas_get_photo (_tmp118_); +#line 2598 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp120_ = _tmp119_; +#line 2598 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp121_ = data_object_get_membership (G_TYPE_CHECK_INSTANCE_CAST (_tmp120_, TYPE_DATA_OBJECT, DataObject)); +#line 2598 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp122_ = _tmp121_; +#line 2598 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _g_object_unref0 (_tmp120_); +#line 2598 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + owner = _tmp122_; +#line 2599 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp123_ = owner; +#line 2599 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + if (_tmp123_ != NULL) { +#line 15631 "EditingTools.c" + DataCollection* _tmp124_ = NULL; +#line 2600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp124_ = owner; +#line 2600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_connect (_tmp124_, "items-altered", (GCallback) _editing_tools_adjust_tool_on_photos_altered_data_collection_items_altered, self); +#line 15637 "EditingTools.c" } -#line 2584 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp117_ = canvas; -#line 2584 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_adjust_tool_parent_class)->activate (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), _tmp117_); -#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2602 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp125_ = canvas; +#line 2602 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_adjust_tool_parent_class)->activate (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), _tmp125_); +#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _data_collection_unref0 (owner); -#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _pixel_transformation_unref0 (contrast_trans); +#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (exposure_trans); -#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (sat_trans); -#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (tint_trans); -#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (temp_trans); -#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (highlights_trans); -#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (shadows_trans); -#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (expansion_trans); -#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (photo); -#line 15607 "EditingTools.c" +#line 15663 "EditingTools.c" } @@ -15612,17 +15668,17 @@ static EditingToolsEditingToolWindow* editing_tools_adjust_tool_real_get_tool_wi EditingToolsEditingToolWindow* result = NULL; EditingToolsAdjustToolAdjustToolWindow* _tmp0_ = NULL; EditingToolsEditingToolWindow* _tmp1_ = NULL; -#line 2587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2605 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_ADJUST_TOOL, EditingToolsAdjustTool); -#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->adjust_tool_window; -#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, EDITING_TOOLS_TYPE_EDITING_TOOL_WINDOW, EditingToolsEditingToolWindow)); -#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = _tmp1_; -#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 15626 "EditingTools.c" +#line 15682 "EditingTools.c" } @@ -15630,13 +15686,13 @@ static void editing_tools_adjust_tool_real_deactivate (EditingToolsEditingTool* EditingToolsAdjustTool * self; EditingToolsPhotoCanvas* _tmp0_ = NULL; EditingToolsAdjustToolAdjustToolWindow* _tmp10_ = NULL; -#line 2591 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2609 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_ADJUST_TOOL, EditingToolsAdjustTool); -#line 2592 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2592 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_ != NULL) { -#line 15640 "EditingTools.c" +#line 15696 "EditingTools.c" DataCollection* owner = NULL; EditingToolsPhotoCanvas* _tmp1_ = NULL; Photo* _tmp2_ = NULL; @@ -15645,81 +15701,81 @@ static void editing_tools_adjust_tool_real_deactivate (EditingToolsEditingTool* DataCollection* _tmp5_ = NULL; DataCollection* _tmp6_ = NULL; EditingToolsPhotoCanvas* _tmp9_ = NULL; -#line 2593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2611 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2611 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = editing_tools_photo_canvas_get_photo (_tmp1_); -#line 2593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2611 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = _tmp2_; -#line 2593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2611 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = data_object_get_membership (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_OBJECT, DataObject)); -#line 2593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2611 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = _tmp4_; -#line 2593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2611 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp3_); -#line 2593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2611 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" owner = _tmp5_; -#line 2594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2612 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = owner; -#line 2594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2612 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp6_ != NULL) { -#line 15667 "EditingTools.c" +#line 15723 "EditingTools.c" DataCollection* _tmp7_ = NULL; guint _tmp8_ = 0U; -#line 2595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2613 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = owner; -#line 2595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2613 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("items-altered", TYPE_DATA_COLLECTION, &_tmp8_, NULL, FALSE); -#line 2595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2613 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (_tmp7_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp8_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_photos_altered_data_collection_items_altered, self); -#line 15676 "EditingTools.c" +#line 15732 "EditingTools.c" } -#line 2597 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2597 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_unbind_canvas_handlers (self, _tmp9_); -#line 2592 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _data_collection_unref0 (owner); -#line 15684 "EditingTools.c" +#line 15740 "EditingTools.c" } -#line 2600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = self->priv->adjust_tool_window; -#line 2600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp10_ != NULL) { -#line 15690 "EditingTools.c" +#line 15746 "EditingTools.c" EditingToolsAdjustToolAdjustToolWindow* _tmp11_ = NULL; EditingToolsAdjustToolAdjustToolWindow* _tmp12_ = NULL; -#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_unbind_window_handlers (self); -#line 2602 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2620 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = self->priv->adjust_tool_window; -#line 2602 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2620 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget)); -#line 2603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2621 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp12_ = self->priv->adjust_tool_window; -#line 2603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2621 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget)); -#line 2604 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2622 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->priv->adjust_tool_window); -#line 2604 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2622 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->adjust_tool_window = NULL; -#line 15707 "EditingTools.c" +#line 15763 "EditingTools.c" } -#line 2607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2625 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->priv->draw_to_pixbuf); -#line 2607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2625 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->draw_to_pixbuf = NULL; -#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2626 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->fp_pixel_cache = (g_free (self->priv->fp_pixel_cache), NULL); -#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2626 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->fp_pixel_cache = NULL; -#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2626 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->fp_pixel_cache_length1 = 0; -#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2626 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->_fp_pixel_cache_size_ = self->priv->fp_pixel_cache_length1; -#line 2610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_adjust_tool_parent_class)->deactivate (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)); -#line 15723 "EditingTools.c" +#line 15779 "EditingTools.c" } @@ -15728,61 +15784,61 @@ static void editing_tools_adjust_tool_real_paint (EditingToolsEditingTool* base, gboolean _tmp0_ = FALSE; EditingToolsPhotoCanvas* _tmp10_ = NULL; GdkPixbuf* _tmp11_ = NULL; -#line 2613 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2631 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_ADJUST_TOOL, EditingToolsAdjustTool); -#line 2613 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2631 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (ctx != NULL); -#line 2614 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->suppress_effect_redraw; -#line 2614 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!_tmp0_) { -#line 15740 "EditingTools.c" +#line 15796 "EditingTools.c" PixelTransformer* _tmp1_ = NULL; GdkPixbuf* _tmp2_ = NULL; PixelTransformer* _tmp3_ = NULL; GdkPixbuf* _tmp4_ = NULL; GdkPixbuf* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; -#line 2615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2633 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = self->priv->transformer; -#line 2615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2633 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = self->priv->draw_to_pixbuf; -#line 2615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2633 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" pixel_transformer_transform_from_fp (_tmp1_, &self->priv->fp_pixel_cache, &self->priv->fp_pixel_cache_length1, _tmp2_); -#line 2616 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2634 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = self->priv->histogram_transformer; -#line 2616 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2634 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = self->priv->virgin_histogram_pixbuf; -#line 2616 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2634 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = self->priv->histogram_pixbuf; -#line 2616 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2634 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" pixel_transformer_transform_to_other_pixbuf (_tmp3_, _tmp4_, _tmp5_, NULL); -#line 2618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2636 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = self->priv->disable_histogram_refresh; -#line 2618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2636 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!_tmp6_) { -#line 15765 "EditingTools.c" +#line 15821 "EditingTools.c" EditingToolsAdjustToolAdjustToolWindow* _tmp7_ = NULL; RGBHistogramManipulator* _tmp8_ = NULL; GdkPixbuf* _tmp9_ = NULL; -#line 2619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2637 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = self->priv->adjust_tool_window; -#line 2619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2637 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = _tmp7_->histogram_manipulator; -#line 2619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2637 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = self->priv->histogram_pixbuf; -#line 2619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2637 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" rgb_histogram_manipulator_update_histogram (_tmp8_, _tmp9_); -#line 15777 "EditingTools.c" +#line 15833 "EditingTools.c" } } -#line 2622 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2640 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2622 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2640 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = self->priv->draw_to_pixbuf; -#line 2622 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2640 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_paint_pixbuf (_tmp10_, _tmp11_); -#line 15786 "EditingTools.c" +#line 15842 "EditingTools.c" } @@ -15800,71 +15856,71 @@ static GdkPixbuf* editing_tools_adjust_tool_real_get_display_pixbuf (EditingTool GdkPixbuf* _tmp7_ = NULL; GdkPixbuf* _tmp8_ = NULL; GError * _inner_error_ = NULL; -#line 2625 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_ADJUST_TOOL, EditingToolsAdjustTool); -#line 2625 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (scaling != NULL, NULL); -#line 2625 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (IS_PHOTO (photo), NULL); -#line 2627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2645 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = photo; -#line 2627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2645 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = photo_has_color_adjustments (_tmp0_); -#line 2627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2645 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!_tmp1_) { -#line 2628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" dimensions_init (&_vala_max_dim, 0, 0); -#line 2630 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = NULL; -#line 2630 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (max_dim) { -#line 2630 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *max_dim = _vala_max_dim; -#line 15824 "EditingTools.c" +#line 15880 "EditingTools.c" } -#line 2630 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 15828 "EditingTools.c" +#line 15884 "EditingTools.c" } -#line 2633 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = photo; -#line 2633 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_NONE, &_tmp3_); -#line 2633 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _vala_max_dim = _tmp3_; -#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = photo; -#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = *scaling; -#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = photo_get_pixbuf_with_options (_tmp5_, &_tmp6_, PHOTO_EXCEPTION_ADJUST, BACKING_FETCH_MODE_BASELINE, &_inner_error_); -#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = _tmp7_; -#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_propagate_error (error, _inner_error_); -#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return NULL; -#line 15850 "EditingTools.c" +#line 15906 "EditingTools.c" } -#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = _tmp4_; -#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = NULL; -#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = _tmp8_; -#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp4_); -#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (max_dim) { -#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" *max_dim = _vala_max_dim; -#line 15864 "EditingTools.c" +#line 15920 "EditingTools.c" } -#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 15868 "EditingTools.c" +#line 15924 "EditingTools.c" } @@ -15874,25 +15930,25 @@ static void editing_tools_adjust_tool_on_reset (EditingToolsAdjustTool* self) { EditingToolsAdjustToolAdjustResetCommand* _tmp1_ = NULL; CommandManager* _tmp2_ = NULL; CommandManager* _tmp3_ = NULL; -#line 2638 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2656 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2639 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2657 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->transformations; -#line 2639 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2657 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = editing_tools_adjust_tool_adjust_reset_command_new (self, _tmp0_); -#line 2639 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2657 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" command = _tmp1_; -#line 2640 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = app_window_get_command_manager (); -#line 2640 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = _tmp2_; -#line 2640 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" command_manager_execute (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (command, TYPE_COMMAND, Command)); -#line 2640 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _command_manager_unref0 (_tmp3_); -#line 2638 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2656 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (command); -#line 15896 "EditingTools.c" +#line 15952 "EditingTools.c" } @@ -15910,58 +15966,58 @@ static void editing_tools_adjust_tool_on_ok (EditingToolsAdjustTool* self) { Photo* _tmp10_ = NULL; Photo* _tmp11_ = NULL; Dimensions _tmp12_ = {0}; -#line 2643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2661 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2644 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2662 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->suppress_effect_redraw = TRUE; -#line 2646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2664 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = editing_tools_editing_tool_get_tool_window (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)); -#line 2646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2664 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _tmp0_; -#line 2646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2664 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget)); -#line 2646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2664 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp1_); -#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = editing_tools_photo_canvas_get_photo (_tmp2_); -#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = _tmp3_; -#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = self->priv->transformations; -#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = adjust_colors_single_command_new (_tmp4_, _tmp5_, RESOURCES_ADJUST_LABEL, RESOURCES_ADJUST_TOOLTIP); -#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = _tmp6_; -#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = self->priv->draw_to_pixbuf; -#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = editing_tools_photo_canvas_get_photo (_tmp9_); -#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = _tmp10_; -#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_NONE, &_tmp12_); -#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), "applied", G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_COMMAND, Command), _tmp8_, &_tmp12_, FALSE); -#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp11_); -#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp7_); -#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp4_); -#line 15956 "EditingTools.c" +#line 16012 "EditingTools.c" } static void editing_tools_adjust_tool_update_transformations (EditingToolsAdjustTool* self, PixelTransformationBundle* new_transformations) { -#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2671 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2671 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (new_transformations)); -#line 15965 "EditingTools.c" +#line 16021 "EditingTools.c" { GeeIterator* _transformation_it = NULL; PixelTransformationBundle* _tmp0_ = NULL; @@ -15969,56 +16025,56 @@ static void editing_tools_adjust_tool_update_transformations (EditingToolsAdjust GeeIterable* _tmp2_ = NULL; GeeIterator* _tmp3_ = NULL; GeeIterator* _tmp4_ = NULL; -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = new_transformations; -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = pixel_transformation_bundle_get_transformations (_tmp0_); -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = _tmp1_; -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = gee_iterable_iterator (_tmp2_); -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = _tmp3_; -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp2_); -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _transformation_it = _tmp4_; -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" while (TRUE) { -#line 15989 "EditingTools.c" +#line 16045 "EditingTools.c" GeeIterator* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; PixelTransformation* transformation = NULL; GeeIterator* _tmp7_ = NULL; gpointer _tmp8_ = NULL; PixelTransformation* _tmp9_ = NULL; -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = _transformation_it; -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = gee_iterator_next (_tmp5_); -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!_tmp6_) { -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 16004 "EditingTools.c" +#line 16060 "EditingTools.c" } -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = _transformation_it; -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = gee_iterator_get (_tmp7_); -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" transformation = (PixelTransformation*) _tmp8_; -#line 2655 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = transformation; -#line 2655 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_update_transformation (self, _tmp9_); -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (transformation); -#line 16018 "EditingTools.c" +#line 16074 "EditingTools.c" } -#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_transformation_it); -#line 16022 "EditingTools.c" +#line 16078 "EditingTools.c" } } @@ -16036,57 +16092,57 @@ static void editing_tools_adjust_tool_update_transformation (EditingToolsAdjustT PixelTransformationType _tmp8_ = 0; PixelTransformationBundle* _tmp12_ = NULL; PixelTransformation* _tmp13_ = NULL; -#line 2658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION (new_transformation)); -#line 2659 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2677 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->transformations; -#line 2659 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2677 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = new_transformation; -#line 2659 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2677 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = pixel_transformation_get_transformation_type (_tmp1_); -#line 2659 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2677 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = pixel_transformation_bundle_get_transformation (_tmp0_, _tmp2_); -#line 2659 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2677 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" old_transformation = _tmp3_; -#line 2662 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2680 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = self->priv->transformer; -#line 2662 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2680 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = old_transformation; -#line 2662 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2680 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = new_transformation; -#line 2662 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2680 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" pixel_transformer_replace_transformation (_tmp4_, _tmp5_, _tmp6_); -#line 2663 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = new_transformation; -#line 2663 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = pixel_transformation_get_transformation_type (_tmp7_); -#line 2663 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp8_ != PIXEL_TRANSFORMATION_TYPE_TONE_EXPANSION) { -#line 16068 "EditingTools.c" +#line 16124 "EditingTools.c" PixelTransformer* _tmp9_ = NULL; PixelTransformation* _tmp10_ = NULL; PixelTransformation* _tmp11_ = NULL; -#line 2664 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2682 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = self->priv->histogram_transformer; -#line 2664 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2682 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = old_transformation; -#line 2664 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2682 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = new_transformation; -#line 2664 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2682 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" pixel_transformer_replace_transformation (_tmp9_, _tmp10_, _tmp11_); -#line 16080 "EditingTools.c" +#line 16136 "EditingTools.c" } -#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp12_ = self->priv->transformations; -#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp13_ = new_transformation; -#line 2666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" pixel_transformation_bundle_set (_tmp12_, _tmp13_); -#line 2658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (old_transformation); -#line 16090 "EditingTools.c" +#line 16146 "EditingTools.c" } @@ -16102,77 +16158,77 @@ static void editing_tools_adjust_tool_slider_updated (EditingToolsAdjustTool* se EditingToolsAdjustToolSliderAdjustmentCommand* _tmp6_ = NULL; CommandManager* _tmp7_ = NULL; CommandManager* _tmp8_ = NULL; -#line 2669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2687 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2687 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION (new_transformation)); -#line 2669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2687 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (name != NULL); -#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->transformations; -#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = new_transformation; -#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = pixel_transformation_get_transformation_type (_tmp1_); -#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = pixel_transformation_bundle_get_transformation (_tmp0_, _tmp2_); -#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" old_transformation = _tmp3_; -#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2690 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = new_transformation; -#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2690 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = name; -#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2690 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = editing_tools_adjust_tool_slider_adjustment_command_new (self, old_transformation, _tmp4_, _tmp5_); -#line 2672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2690 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" command = _tmp6_; -#line 2674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = app_window_get_command_manager (); -#line 2674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = _tmp7_; -#line 2674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" command_manager_execute (_tmp8_, G_TYPE_CHECK_INSTANCE_CAST (command, TYPE_COMMAND, Command)); -#line 2674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _command_manager_unref0 (_tmp8_); -#line 2669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2687 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (command); -#line 2669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2687 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (old_transformation); -#line 16142 "EditingTools.c" +#line 16198 "EditingTools.c" } static void _editing_tools_adjust_tool_on_delayed_temperature_adjustment_one_shot_callback (gpointer self) { -#line 2679 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_delayed_temperature_adjustment ((EditingToolsAdjustTool*) self); -#line 16149 "EditingTools.c" +#line 16205 "EditingTools.c" } static void editing_tools_adjust_tool_on_temperature_adjustment (EditingToolsAdjustTool* self) { OneShotScheduler* _tmp0_ = NULL; OneShotScheduler* _tmp2_ = NULL; -#line 2677 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2695 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2696 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->temperature_scheduler; -#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2696 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_ == NULL) { -#line 16162 "EditingTools.c" +#line 16218 "EditingTools.c" OneShotScheduler* _tmp1_ = NULL; -#line 2679 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = one_shot_scheduler_new ("temperature", _editing_tools_adjust_tool_on_delayed_temperature_adjustment_one_shot_callback, self); -#line 2679 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _one_shot_scheduler_unref0 (self->priv->temperature_scheduler); -#line 2679 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->temperature_scheduler = _tmp1_; -#line 16170 "EditingTools.c" +#line 16226 "EditingTools.c" } -#line 2681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2699 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = self->priv->temperature_scheduler; -#line 2681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2699 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" one_shot_scheduler_after_timeout (_tmp2_, EDITING_TOOLS_ADJUST_TOOL_SLIDER_DELAY_MSEC, TRUE); -#line 16176 "EditingTools.c" +#line 16232 "EditingTools.c" } @@ -16183,59 +16239,59 @@ static void editing_tools_adjust_tool_on_delayed_temperature_adjustment (Editing gdouble _tmp2_ = 0.0; TemperatureTransformation* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2702 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2685 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2703 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->adjust_tool_window; -#line 2685 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2703 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _tmp0_->temperature_slider; -#line 2685 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2703 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange)); -#line 2685 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2703 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = temperature_transformation_new ((gfloat) _tmp2_); -#line 2685 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2703 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" new_temp_trans = _tmp3_; -#line 2687 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = _ ("Temperature"); -#line 2687 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_temp_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp4_); -#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2702 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (new_temp_trans); -#line 16205 "EditingTools.c" +#line 16261 "EditingTools.c" } static void _editing_tools_adjust_tool_on_delayed_tint_adjustment_one_shot_callback (gpointer self) { -#line 2692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2710 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_delayed_tint_adjustment ((EditingToolsAdjustTool*) self); -#line 16212 "EditingTools.c" +#line 16268 "EditingTools.c" } static void editing_tools_adjust_tool_on_tint_adjustment (EditingToolsAdjustTool* self) { OneShotScheduler* _tmp0_ = NULL; OneShotScheduler* _tmp2_ = NULL; -#line 2690 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2708 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2691 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->tint_scheduler; -#line 2691 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_ == NULL) { -#line 16225 "EditingTools.c" +#line 16281 "EditingTools.c" OneShotScheduler* _tmp1_ = NULL; -#line 2692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2710 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = one_shot_scheduler_new ("tint", _editing_tools_adjust_tool_on_delayed_tint_adjustment_one_shot_callback, self); -#line 2692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2710 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _one_shot_scheduler_unref0 (self->priv->tint_scheduler); -#line 2692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2710 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->tint_scheduler = _tmp1_; -#line 16233 "EditingTools.c" +#line 16289 "EditingTools.c" } -#line 2694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2711 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = self->priv->tint_scheduler; -#line 2694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2711 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" one_shot_scheduler_after_timeout (_tmp2_, EDITING_TOOLS_ADJUST_TOOL_SLIDER_DELAY_MSEC, TRUE); -#line 16239 "EditingTools.c" +#line 16295 "EditingTools.c" } @@ -16246,59 +16302,122 @@ static void editing_tools_adjust_tool_on_delayed_tint_adjustment (EditingToolsAd gdouble _tmp2_ = 0.0; TintTransformation* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 2697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2715 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->adjust_tool_window; -#line 2698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2715 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _tmp0_->tint_slider; -#line 2698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2715 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange)); -#line 2698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2715 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = tint_transformation_new ((gfloat) _tmp2_); -#line 2698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2715 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" new_tint_trans = _tmp3_; -#line 2700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2717 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = _ ("Tint"); -#line 2700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2717 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_tint_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp4_); -#line 2697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (new_tint_trans); -#line 16268 "EditingTools.c" +#line 16324 "EditingTools.c" +} + + +static void _editing_tools_adjust_tool_on_delayed_contrast_adjustment_one_shot_callback (gpointer self) { +#line 2722 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + editing_tools_adjust_tool_on_delayed_contrast_adjustment ((EditingToolsAdjustTool*) self); +#line 16331 "EditingTools.c" +} + + +static void editing_tools_adjust_tool_on_contrast_adjustment (EditingToolsAdjustTool* self) { + OneShotScheduler* _tmp0_ = NULL; + OneShotScheduler* _tmp2_ = NULL; +#line 2720 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); +#line 2721 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp0_ = self->priv->contrast_scheduler; +#line 2721 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + if (_tmp0_ == NULL) { +#line 16344 "EditingTools.c" + OneShotScheduler* _tmp1_ = NULL; +#line 2722 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp1_ = one_shot_scheduler_new ("contrast", _editing_tools_adjust_tool_on_delayed_contrast_adjustment_one_shot_callback, self); +#line 2722 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _one_shot_scheduler_unref0 (self->priv->contrast_scheduler); +#line 2722 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self->priv->contrast_scheduler = _tmp1_; +#line 16352 "EditingTools.c" + } +#line 2723 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp2_ = self->priv->contrast_scheduler; +#line 2723 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + one_shot_scheduler_after_timeout (_tmp2_, EDITING_TOOLS_ADJUST_TOOL_SLIDER_DELAY_MSEC, TRUE); +#line 16358 "EditingTools.c" +} + + +static void editing_tools_adjust_tool_on_delayed_contrast_adjustment (EditingToolsAdjustTool* self) { + ContrastTransformation* new_exp_trans = NULL; + EditingToolsAdjustToolAdjustToolWindow* _tmp0_ = NULL; + GtkHScale* _tmp1_ = NULL; + gdouble _tmp2_ = 0.0; + ContrastTransformation* _tmp3_ = NULL; + const gchar* _tmp4_ = NULL; +#line 2726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); +#line 2727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp0_ = self->priv->adjust_tool_window; +#line 2727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp1_ = _tmp0_->contrast_slider; +#line 2727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp2_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange)); +#line 2727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp3_ = contrast_transformation_new ((gfloat) _tmp2_); +#line 2727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + new_exp_trans = _tmp3_; +#line 2729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp4_ = _ ("Contrast"); +#line 2729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_exp_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp4_); +#line 2726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _pixel_transformation_unref0 (new_exp_trans); +#line 16387 "EditingTools.c" } static void _editing_tools_adjust_tool_on_delayed_saturation_adjustment_one_shot_callback (gpointer self) { -#line 2705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2735 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_delayed_saturation_adjustment ((EditingToolsAdjustTool*) self); -#line 16275 "EditingTools.c" +#line 16394 "EditingTools.c" } static void editing_tools_adjust_tool_on_saturation_adjustment (EditingToolsAdjustTool* self) { OneShotScheduler* _tmp0_ = NULL; OneShotScheduler* _tmp2_ = NULL; -#line 2703 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2734 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->saturation_scheduler; -#line 2704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2734 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_ == NULL) { -#line 16288 "EditingTools.c" +#line 16407 "EditingTools.c" OneShotScheduler* _tmp1_ = NULL; -#line 2705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2735 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = one_shot_scheduler_new ("saturation", _editing_tools_adjust_tool_on_delayed_saturation_adjustment_one_shot_callback, self); -#line 2705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2735 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _one_shot_scheduler_unref0 (self->priv->saturation_scheduler); -#line 2705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2735 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->saturation_scheduler = _tmp1_; -#line 16296 "EditingTools.c" +#line 16415 "EditingTools.c" } -#line 2707 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2737 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = self->priv->saturation_scheduler; -#line 2707 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2737 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" one_shot_scheduler_after_timeout (_tmp2_, EDITING_TOOLS_ADJUST_TOOL_SLIDER_DELAY_MSEC, TRUE); -#line 16302 "EditingTools.c" +#line 16421 "EditingTools.c" } @@ -16309,59 +16428,59 @@ static void editing_tools_adjust_tool_on_delayed_saturation_adjustment (EditingT gdouble _tmp2_ = 0.0; SaturationTransformation* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 2710 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2740 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2711 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->adjust_tool_window; -#line 2711 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _tmp0_->saturation_slider; -#line 2711 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange)); -#line 2711 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = saturation_transformation_new ((gfloat) _tmp2_); -#line 2711 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" new_sat_trans = _tmp3_; -#line 2713 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = _ ("Saturation"); -#line 2713 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_sat_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp4_); -#line 2710 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2740 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (new_sat_trans); -#line 16331 "EditingTools.c" +#line 16450 "EditingTools.c" } static void _editing_tools_adjust_tool_on_delayed_exposure_adjustment_one_shot_callback (gpointer self) { -#line 2718 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2748 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_delayed_exposure_adjustment ((EditingToolsAdjustTool*) self); -#line 16338 "EditingTools.c" +#line 16457 "EditingTools.c" } static void editing_tools_adjust_tool_on_exposure_adjustment (EditingToolsAdjustTool* self) { OneShotScheduler* _tmp0_ = NULL; OneShotScheduler* _tmp2_ = NULL; -#line 2716 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2746 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2717 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->exposure_scheduler; -#line 2717 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_ == NULL) { -#line 16351 "EditingTools.c" +#line 16470 "EditingTools.c" OneShotScheduler* _tmp1_ = NULL; -#line 2718 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2748 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = one_shot_scheduler_new ("exposure", _editing_tools_adjust_tool_on_delayed_exposure_adjustment_one_shot_callback, self); -#line 2718 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2748 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _one_shot_scheduler_unref0 (self->priv->exposure_scheduler); -#line 2718 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2748 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->exposure_scheduler = _tmp1_; -#line 16359 "EditingTools.c" +#line 16478 "EditingTools.c" } -#line 2720 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = self->priv->exposure_scheduler; -#line 2720 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" one_shot_scheduler_after_timeout (_tmp2_, EDITING_TOOLS_ADJUST_TOOL_SLIDER_DELAY_MSEC, TRUE); -#line 16365 "EditingTools.c" +#line 16484 "EditingTools.c" } @@ -16372,59 +16491,59 @@ static void editing_tools_adjust_tool_on_delayed_exposure_adjustment (EditingToo gdouble _tmp2_ = 0.0; ExposureTransformation* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 2723 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2724 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->adjust_tool_window; -#line 2724 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _tmp0_->exposure_slider; -#line 2724 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange)); -#line 2724 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = exposure_transformation_new ((gfloat) _tmp2_); -#line 2724 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" new_exp_trans = _tmp3_; -#line 2726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = _ ("Exposure"); -#line 2726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_exp_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp4_); -#line 2723 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (new_exp_trans); -#line 16394 "EditingTools.c" +#line 16513 "EditingTools.c" } static void _editing_tools_adjust_tool_on_delayed_shadows_adjustment_one_shot_callback (gpointer self) { -#line 2731 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_delayed_shadows_adjustment ((EditingToolsAdjustTool*) self); -#line 16401 "EditingTools.c" +#line 16520 "EditingTools.c" } static void editing_tools_adjust_tool_on_shadows_adjustment (EditingToolsAdjustTool* self) { OneShotScheduler* _tmp0_ = NULL; OneShotScheduler* _tmp2_ = NULL; -#line 2729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2730 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->shadows_scheduler; -#line 2730 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_ == NULL) { -#line 16414 "EditingTools.c" +#line 16533 "EditingTools.c" OneShotScheduler* _tmp1_ = NULL; -#line 2731 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = one_shot_scheduler_new ("shadows", _editing_tools_adjust_tool_on_delayed_shadows_adjustment_one_shot_callback, self); -#line 2731 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _one_shot_scheduler_unref0 (self->priv->shadows_scheduler); -#line 2731 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->shadows_scheduler = _tmp1_; -#line 16422 "EditingTools.c" +#line 16541 "EditingTools.c" } -#line 2733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = self->priv->shadows_scheduler; -#line 2733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" one_shot_scheduler_after_timeout (_tmp2_, EDITING_TOOLS_ADJUST_TOOL_SLIDER_DELAY_MSEC, TRUE); -#line 16428 "EditingTools.c" +#line 16547 "EditingTools.c" } @@ -16435,59 +16554,59 @@ static void editing_tools_adjust_tool_on_delayed_shadows_adjustment (EditingTool gdouble _tmp2_ = 0.0; ShadowDetailTransformation* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 2736 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2737 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->adjust_tool_window; -#line 2737 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _tmp0_->shadows_slider; -#line 2737 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange)); -#line 2737 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = shadow_detail_transformation_new ((gfloat) _tmp2_); -#line 2737 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" new_shadows_trans = _tmp3_; -#line 2739 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = _ ("Shadows"); -#line 2739 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_shadows_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp4_); -#line 2736 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (new_shadows_trans); -#line 16457 "EditingTools.c" +#line 16576 "EditingTools.c" } static void _editing_tools_adjust_tool_on_delayed_highlights_adjustment_one_shot_callback (gpointer self) { -#line 2744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_delayed_highlights_adjustment ((EditingToolsAdjustTool*) self); -#line 16464 "EditingTools.c" +#line 16583 "EditingTools.c" } static void editing_tools_adjust_tool_on_highlights_adjustment (EditingToolsAdjustTool* self) { OneShotScheduler* _tmp0_ = NULL; OneShotScheduler* _tmp2_ = NULL; -#line 2742 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->highlights_scheduler; -#line 2743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_ == NULL) { -#line 16477 "EditingTools.c" +#line 16596 "EditingTools.c" OneShotScheduler* _tmp1_ = NULL; -#line 2744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = one_shot_scheduler_new ("highlights", _editing_tools_adjust_tool_on_delayed_highlights_adjustment_one_shot_callback, self); -#line 2744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _one_shot_scheduler_unref0 (self->priv->highlights_scheduler); -#line 2744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->highlights_scheduler = _tmp1_; -#line 16485 "EditingTools.c" +#line 16604 "EditingTools.c" } -#line 2746 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = self->priv->highlights_scheduler; -#line 2746 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" one_shot_scheduler_after_timeout (_tmp2_, EDITING_TOOLS_ADJUST_TOOL_SLIDER_DELAY_MSEC, TRUE); -#line 16491 "EditingTools.c" +#line 16610 "EditingTools.c" } @@ -16498,25 +16617,25 @@ static void editing_tools_adjust_tool_on_delayed_highlights_adjustment (EditingT gdouble _tmp2_ = 0.0; HighlightDetailTransformation* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 2749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->adjust_tool_window; -#line 2750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _tmp0_->highlights_slider; -#line 2750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange)); -#line 2750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = highlight_detail_transformation_new ((gfloat) _tmp2_); -#line 2750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" new_highlights_trans = _tmp3_; -#line 2752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2782 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = _ ("Highlights"); -#line 2752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2782 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_highlights_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp4_); -#line 2749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (new_highlights_trans); -#line 16520 "EditingTools.c" +#line 16639 "EditingTools.c" } @@ -16532,35 +16651,35 @@ static void editing_tools_adjust_tool_on_histogram_constraint (EditingToolsAdjus ExpansionTransformation* new_exp_trans = NULL; ExpansionTransformation* _tmp6_ = NULL; const gchar* _tmp7_ = NULL; -#line 2755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2785 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->adjust_tool_window; -#line 2756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _tmp0_->histogram_manipulator; -#line 2756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = rgb_histogram_manipulator_get_left_nub_position (_tmp1_); -#line 2756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" expansion_black_point = _tmp2_; -#line 2758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = self->priv->adjust_tool_window; -#line 2758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = _tmp3_->histogram_manipulator; -#line 2758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = rgb_histogram_manipulator_get_right_nub_position (_tmp4_); -#line 2758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" expansion_white_point = _tmp5_; -#line 2760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2790 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = expansion_transformation_new_from_extrema (expansion_black_point, expansion_white_point); -#line 2760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2790 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" new_exp_trans = _tmp6_; -#line 2762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = _ ("Contrast Expansion"); -#line 2762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_exp_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp7_); -#line 2755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2785 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (new_exp_trans); -#line 16564 "EditingTools.c" +#line 16683 "EditingTools.c" } @@ -16572,33 +16691,33 @@ static void editing_tools_adjust_tool_on_canvas_resize (EditingToolsAdjustTool* EditingToolsPhotoCanvas* _tmp4_ = NULL; GdkPixbuf* _tmp5_ = NULL; GdkPixbuf* _tmp6_ = NULL; -#line 2765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2795 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = editing_tools_photo_canvas_get_scaled_pixbuf (_tmp0_); -#line 2766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = _tmp1_; -#line 2766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = gdk_pixbuf_copy (_tmp2_); -#line 2766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->priv->draw_to_pixbuf); -#line 2766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->draw_to_pixbuf = _tmp3_; -#line 2766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp2_); -#line 2767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = editing_tools_photo_canvas_get_scaled_pixbuf (_tmp4_); -#line 2767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = _tmp5_; -#line 2767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_init_fp_pixel_cache (self, _tmp6_); -#line 2767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp6_); -#line 16602 "EditingTools.c" +#line 16721 "EditingTools.c" } @@ -16611,192 +16730,199 @@ static gboolean editing_tools_adjust_tool_on_hscale_reset (EditingToolsAdjustToo gboolean _tmp3_ = FALSE; GdkEventButton* _tmp4_ = NULL; guint _tmp5_ = 0U; -#line 2770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self), FALSE); -#line 2770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE); -#line 2770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 2771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2801 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = widget; -#line 2771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2801 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_scale_get_type (), GtkScale)); -#line 2771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2801 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" source = _tmp1_; -#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = event; -#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = _tmp4_->button; -#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp5_ == ((guint) 1)) { -#line 16633 "EditingTools.c" +#line 16752 "EditingTools.c" GdkEventButton* _tmp6_ = NULL; GdkEventType _tmp7_ = 0; -#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = event; -#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = _tmp6_->type; -#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = _tmp7_ == GDK_BUTTON_PRESS; -#line 16642 "EditingTools.c" +#line 16761 "EditingTools.c" } else { -#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = FALSE; -#line 16646 "EditingTools.c" +#line 16765 "EditingTools.c" } -#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp3_) { -#line 16650 "EditingTools.c" +#line 16769 "EditingTools.c" GdkEventButton* _tmp8_ = NULL; GdkModifierType _tmp9_ = 0; gboolean _tmp10_ = FALSE; -#line 2774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = event; -#line 2774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = _tmp8_->state; -#line 2774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = has_only_key_modifier (_tmp9_, GDK_CONTROL_MASK); -#line 2774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = _tmp10_; -#line 16662 "EditingTools.c" +#line 16781 "EditingTools.c" } else { -#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = FALSE; -#line 16666 "EditingTools.c" +#line 16785 "EditingTools.c" } -#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp2_) { -#line 16670 "EditingTools.c" +#line 16789 "EditingTools.c" GtkScale* _tmp11_ = NULL; -#line 2776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = source; -#line 2776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_range_get_type (), GtkRange), (gdouble) 0); -#line 2778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = TRUE; -#line 2778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (source); -#line 2778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 16682 "EditingTools.c" +#line 16801 "EditingTools.c" } -#line 2781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = FALSE; -#line 2781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (source); -#line 2781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 16690 "EditingTools.c" +#line 16809 "EditingTools.c" } static void _editing_tools_adjust_tool_on_canvas_resize_editing_tools_photo_canvas_resized_scaled_pixbuf (EditingToolsPhotoCanvas* _sender, Dimensions* old_dim, GdkPixbuf* scaled, GdkRectangle* scaled_position, gpointer self) { -#line 2785 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_canvas_resize ((EditingToolsAdjustTool*) self); -#line 16697 "EditingTools.c" +#line 16816 "EditingTools.c" } static void editing_tools_adjust_tool_bind_canvas_handlers (EditingToolsAdjustTool* self, EditingToolsPhotoCanvas* canvas) { EditingToolsPhotoCanvas* _tmp0_ = NULL; -#line 2784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (canvas)); -#line 2785 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = canvas; -#line 2785 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (_tmp0_, "resized-scaled-pixbuf", (GCallback) _editing_tools_adjust_tool_on_canvas_resize_editing_tools_photo_canvas_resized_scaled_pixbuf, self); -#line 16711 "EditingTools.c" +#line 16830 "EditingTools.c" } static void editing_tools_adjust_tool_unbind_canvas_handlers (EditingToolsAdjustTool* self, EditingToolsPhotoCanvas* canvas) { EditingToolsPhotoCanvas* _tmp0_ = NULL; guint _tmp1_ = 0U; -#line 2788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (canvas)); -#line 2789 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = canvas; -#line 2789 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("resized-scaled-pixbuf", EDITING_TOOLS_TYPE_PHOTO_CANVAS, &_tmp1_, NULL, FALSE); -#line 2789 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_canvas_resize_editing_tools_photo_canvas_resized_scaled_pixbuf, self); -#line 16728 "EditingTools.c" +#line 16847 "EditingTools.c" } static void _editing_tools_adjust_tool_on_ok_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 2793 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_ok ((EditingToolsAdjustTool*) self); -#line 16735 "EditingTools.c" +#line 16854 "EditingTools.c" } static void _editing_tools_adjust_tool_on_reset_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 2794 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_reset ((EditingToolsAdjustTool*) self); -#line 16742 "EditingTools.c" +#line 16861 "EditingTools.c" } static void _editing_tools_adjust_tool_on_exposure_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self) { -#line 2796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_exposure_adjustment ((EditingToolsAdjustTool*) self); -#line 16749 "EditingTools.c" +#line 16868 "EditingTools.c" +} + + +static void _editing_tools_adjust_tool_on_contrast_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self) { +#line 2827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + editing_tools_adjust_tool_on_contrast_adjustment ((EditingToolsAdjustTool*) self); +#line 16875 "EditingTools.c" } static void _editing_tools_adjust_tool_on_saturation_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self) { -#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_saturation_adjustment ((EditingToolsAdjustTool*) self); -#line 16756 "EditingTools.c" +#line 16882 "EditingTools.c" } static void _editing_tools_adjust_tool_on_tint_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self) { -#line 2798 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_tint_adjustment ((EditingToolsAdjustTool*) self); -#line 16763 "EditingTools.c" +#line 16889 "EditingTools.c" } static void _editing_tools_adjust_tool_on_temperature_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self) { -#line 2799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_temperature_adjustment ((EditingToolsAdjustTool*) self); -#line 16770 "EditingTools.c" +#line 16896 "EditingTools.c" } static void _editing_tools_adjust_tool_on_shadows_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self) { -#line 2800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2831 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_shadows_adjustment ((EditingToolsAdjustTool*) self); -#line 16777 "EditingTools.c" +#line 16903 "EditingTools.c" } static void _editing_tools_adjust_tool_on_highlights_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self) { -#line 2801 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2832 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_highlights_adjustment ((EditingToolsAdjustTool*) self); -#line 16784 "EditingTools.c" +#line 16910 "EditingTools.c" } static void _editing_tools_adjust_tool_on_histogram_constraint_rgb_histogram_manipulator_nub_position_changed (RGBHistogramManipulator* _sender, gpointer self) { -#line 2802 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_histogram_constraint ((EditingToolsAdjustTool*) self); -#line 16791 "EditingTools.c" +#line 16917 "EditingTools.c" } static gboolean _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self) { gboolean result; result = editing_tools_adjust_tool_on_hscale_reset ((EditingToolsAdjustTool*) self, _sender, event); -#line 2804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 16800 "EditingTools.c" +#line 16926 "EditingTools.c" } @@ -16810,7 +16936,7 @@ static void editing_tools_adjust_tool_bind_window_handlers (EditingToolsAdjustTo EditingToolsAdjustToolAdjustToolWindow* _tmp6_ = NULL; GtkScale* _tmp7_ = NULL; EditingToolsAdjustToolAdjustToolWindow* _tmp8_ = NULL; - GtkScale* _tmp9_ = NULL; + GtkHScale* _tmp9_ = NULL; EditingToolsAdjustToolAdjustToolWindow* _tmp10_ = NULL; GtkScale* _tmp11_ = NULL; EditingToolsAdjustToolAdjustToolWindow* _tmp12_ = NULL; @@ -16820,118 +16946,134 @@ static void editing_tools_adjust_tool_bind_window_handlers (EditingToolsAdjustTo EditingToolsAdjustToolAdjustToolWindow* _tmp16_ = NULL; GtkScale* _tmp17_ = NULL; EditingToolsAdjustToolAdjustToolWindow* _tmp18_ = NULL; - RGBHistogramManipulator* _tmp19_ = NULL; + GtkScale* _tmp19_ = NULL; EditingToolsAdjustToolAdjustToolWindow* _tmp20_ = NULL; - GtkScale* _tmp21_ = NULL; + RGBHistogramManipulator* _tmp21_ = NULL; EditingToolsAdjustToolAdjustToolWindow* _tmp22_ = NULL; GtkScale* _tmp23_ = NULL; EditingToolsAdjustToolAdjustToolWindow* _tmp24_ = NULL; GtkScale* _tmp25_ = NULL; EditingToolsAdjustToolAdjustToolWindow* _tmp26_ = NULL; - GtkScale* _tmp27_ = NULL; + GtkHScale* _tmp27_ = NULL; EditingToolsAdjustToolAdjustToolWindow* _tmp28_ = NULL; GtkScale* _tmp29_ = NULL; EditingToolsAdjustToolAdjustToolWindow* _tmp30_ = NULL; GtkScale* _tmp31_ = NULL; -#line 2792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + EditingToolsAdjustToolAdjustToolWindow* _tmp32_ = NULL; + GtkScale* _tmp33_ = NULL; + EditingToolsAdjustToolAdjustToolWindow* _tmp34_ = NULL; + GtkScale* _tmp35_ = NULL; +#line 2822 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2793 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->adjust_tool_window; -#line 2793 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _tmp0_->ok_button; -#line 2793 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (_tmp1_, "clicked", (GCallback) _editing_tools_adjust_tool_on_ok_gtk_button_clicked, self); -#line 2794 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = self->priv->adjust_tool_window; -#line 2794 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = _tmp2_->reset_button; -#line 2794 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (_tmp3_, "clicked", (GCallback) _editing_tools_adjust_tool_on_reset_gtk_button_clicked, self); -#line 2795 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = self->priv->adjust_tool_window; -#line 2795 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = _tmp4_->cancel_button; -#line 2795 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (_tmp5_, "clicked", (GCallback) _editing_tools_editing_tool_notify_cancel_gtk_button_clicked, G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)); -#line 2796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = self->priv->adjust_tool_window; -#line 2796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = _tmp6_->exposure_slider; -#line 2796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_exposure_adjustment_gtk_range_value_changed, self); -#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = self->priv->adjust_tool_window; -#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp9_ = _tmp8_->saturation_slider; -#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_saturation_adjustment_gtk_range_value_changed, self); -#line 2798 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp9_ = _tmp8_->contrast_slider; +#line 2827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_contrast_adjustment_gtk_range_value_changed, self); +#line 2828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = self->priv->adjust_tool_window; -#line 2798 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp11_ = _tmp10_->tint_slider; -#line 2798 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_tint_adjustment_gtk_range_value_changed, self); -#line 2799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp11_ = _tmp10_->saturation_slider; +#line 2828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_saturation_adjustment_gtk_range_value_changed, self); +#line 2829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp12_ = self->priv->adjust_tool_window; -#line 2799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp13_ = _tmp12_->temperature_slider; -#line 2799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_temperature_adjustment_gtk_range_value_changed, self); -#line 2800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp13_ = _tmp12_->tint_slider; +#line 2829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_tint_adjustment_gtk_range_value_changed, self); +#line 2830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp14_ = self->priv->adjust_tool_window; -#line 2800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp15_ = _tmp14_->shadows_slider; -#line 2800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_shadows_adjustment_gtk_range_value_changed, self); -#line 2801 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp15_ = _tmp14_->temperature_slider; +#line 2830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_temperature_adjustment_gtk_range_value_changed, self); +#line 2831 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp16_ = self->priv->adjust_tool_window; -#line 2801 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp17_ = _tmp16_->highlights_slider; -#line 2801 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_highlights_adjustment_gtk_range_value_changed, self); -#line 2802 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2831 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp17_ = _tmp16_->shadows_slider; +#line 2831 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_shadows_adjustment_gtk_range_value_changed, self); +#line 2832 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp18_ = self->priv->adjust_tool_window; -#line 2802 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp19_ = _tmp18_->histogram_manipulator; -#line 2802 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_connect (_tmp19_, "nub-position-changed", (GCallback) _editing_tools_adjust_tool_on_histogram_constraint_rgb_histogram_manipulator_nub_position_changed, self); -#line 2804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2832 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp19_ = _tmp18_->highlights_slider; +#line 2832 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_highlights_adjustment_gtk_range_value_changed, self); +#line 2833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp20_ = self->priv->adjust_tool_window; -#line 2804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp21_ = _tmp20_->saturation_slider; -#line 2804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); -#line 2805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp21_ = _tmp20_->histogram_manipulator; +#line 2833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_connect (_tmp21_, "nub-position-changed", (GCallback) _editing_tools_adjust_tool_on_histogram_constraint_rgb_histogram_manipulator_nub_position_changed, self); +#line 2835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp22_ = self->priv->adjust_tool_window; -#line 2805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp23_ = _tmp22_->exposure_slider; -#line 2805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp23_ = _tmp22_->saturation_slider; +#line 2835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); -#line 2806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2836 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp24_ = self->priv->adjust_tool_window; -#line 2806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp25_ = _tmp24_->tint_slider; -#line 2806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2836 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp25_ = _tmp24_->exposure_slider; +#line 2836 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); -#line 2807 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2837 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp26_ = self->priv->adjust_tool_window; -#line 2807 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp27_ = _tmp26_->temperature_slider; -#line 2807 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2837 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp27_ = _tmp26_->contrast_slider; +#line 2837 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); -#line 2808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp28_ = self->priv->adjust_tool_window; -#line 2808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp29_ = _tmp28_->shadows_slider; -#line 2808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp29_ = _tmp28_->tint_slider; +#line 2838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); -#line 2809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2839 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp30_ = self->priv->adjust_tool_window; -#line 2809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp31_ = _tmp30_->highlights_slider; -#line 2809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2839 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp31_ = _tmp30_->temperature_slider; +#line 2839 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); -#line 16935 "EditingTools.c" +#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp32_ = self->priv->adjust_tool_window; +#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp33_ = _tmp32_->shadows_slider; +#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); +#line 2841 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp34_ = self->priv->adjust_tool_window; +#line 2841 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp35_ = _tmp34_->highlights_slider; +#line 2841 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); +#line 17077 "EditingTools.c" } @@ -16949,7 +17091,7 @@ static void editing_tools_adjust_tool_unbind_window_handlers (EditingToolsAdjust GtkScale* _tmp10_ = NULL; guint _tmp11_ = 0U; EditingToolsAdjustToolAdjustToolWindow* _tmp12_ = NULL; - GtkScale* _tmp13_ = NULL; + GtkHScale* _tmp13_ = NULL; guint _tmp14_ = 0U; EditingToolsAdjustToolAdjustToolWindow* _tmp15_ = NULL; GtkScale* _tmp16_ = NULL; @@ -16964,10 +17106,10 @@ static void editing_tools_adjust_tool_unbind_window_handlers (EditingToolsAdjust GtkScale* _tmp25_ = NULL; guint _tmp26_ = 0U; EditingToolsAdjustToolAdjustToolWindow* _tmp27_ = NULL; - RGBHistogramManipulator* _tmp28_ = NULL; + GtkScale* _tmp28_ = NULL; guint _tmp29_ = 0U; EditingToolsAdjustToolAdjustToolWindow* _tmp30_ = NULL; - GtkScale* _tmp31_ = NULL; + RGBHistogramManipulator* _tmp31_ = NULL; guint _tmp32_ = 0U; EditingToolsAdjustToolAdjustToolWindow* _tmp33_ = NULL; GtkScale* _tmp34_ = NULL; @@ -16976,7 +17118,7 @@ static void editing_tools_adjust_tool_unbind_window_handlers (EditingToolsAdjust GtkScale* _tmp37_ = NULL; guint _tmp38_ = 0U; EditingToolsAdjustToolAdjustToolWindow* _tmp39_ = NULL; - GtkScale* _tmp40_ = NULL; + GtkHScale* _tmp40_ = NULL; guint _tmp41_ = 0U; EditingToolsAdjustToolAdjustToolWindow* _tmp42_ = NULL; GtkScale* _tmp43_ = NULL; @@ -16984,137 +17126,159 @@ static void editing_tools_adjust_tool_unbind_window_handlers (EditingToolsAdjust EditingToolsAdjustToolAdjustToolWindow* _tmp45_ = NULL; GtkScale* _tmp46_ = NULL; guint _tmp47_ = 0U; -#line 2812 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + EditingToolsAdjustToolAdjustToolWindow* _tmp48_ = NULL; + GtkScale* _tmp49_ = NULL; + guint _tmp50_ = 0U; + EditingToolsAdjustToolAdjustToolWindow* _tmp51_ = NULL; + GtkScale* _tmp52_ = NULL; + guint _tmp53_ = 0U; +#line 2844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->adjust_tool_window; -#line 2813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _tmp0_->ok_button; -#line 2813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("clicked", gtk_button_get_type (), &_tmp2_, NULL, FALSE); -#line 2813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (_tmp1_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_ok_gtk_button_clicked, self); -#line 2814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = self->priv->adjust_tool_window; -#line 2814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = _tmp3_->reset_button; -#line 2814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("clicked", gtk_button_get_type (), &_tmp5_, NULL, FALSE); -#line 2814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_reset_gtk_button_clicked, self); -#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2847 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = self->priv->adjust_tool_window; -#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2847 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = _tmp6_->cancel_button; -#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2847 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("clicked", gtk_button_get_type (), &_tmp8_, NULL, FALSE); -#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2847 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (_tmp7_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp8_, 0, NULL, (GCallback) _editing_tools_editing_tool_notify_cancel_gtk_button_clicked, G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)); -#line 2816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = self->priv->adjust_tool_window; -#line 2816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = _tmp9_->exposure_slider; -#line 2816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("value-changed", gtk_range_get_type (), &_tmp11_, NULL, FALSE); -#line 2816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_exposure_adjustment_gtk_range_value_changed, self); -#line 2817 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp12_ = self->priv->adjust_tool_window; -#line 2817 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp13_ = _tmp12_->saturation_slider; -#line 2817 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp13_ = _tmp12_->contrast_slider; +#line 2849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("value-changed", gtk_range_get_type (), &_tmp14_, NULL, FALSE); -#line 2817 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp14_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_saturation_adjustment_gtk_range_value_changed, self); -#line 2818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp14_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_contrast_adjustment_gtk_range_value_changed, self); +#line 2850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp15_ = self->priv->adjust_tool_window; -#line 2818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp16_ = _tmp15_->tint_slider; -#line 2818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp16_ = _tmp15_->saturation_slider; +#line 2850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("value-changed", gtk_range_get_type (), &_tmp17_, NULL, FALSE); -#line 2818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp17_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_tint_adjustment_gtk_range_value_changed, self); -#line 2819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp17_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_saturation_adjustment_gtk_range_value_changed, self); +#line 2851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp18_ = self->priv->adjust_tool_window; -#line 2819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp19_ = _tmp18_->temperature_slider; -#line 2819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp19_ = _tmp18_->tint_slider; +#line 2851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("value-changed", gtk_range_get_type (), &_tmp20_, NULL, FALSE); -#line 2819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp20_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_temperature_adjustment_gtk_range_value_changed, self); -#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp20_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_tint_adjustment_gtk_range_value_changed, self); +#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp21_ = self->priv->adjust_tool_window; -#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp22_ = _tmp21_->shadows_slider; -#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp22_ = _tmp21_->temperature_slider; +#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("value-changed", gtk_range_get_type (), &_tmp23_, NULL, FALSE); -#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp23_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_shadows_adjustment_gtk_range_value_changed, self); -#line 2821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp23_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_temperature_adjustment_gtk_range_value_changed, self); +#line 2853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp24_ = self->priv->adjust_tool_window; -#line 2821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp25_ = _tmp24_->highlights_slider; -#line 2821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp25_ = _tmp24_->shadows_slider; +#line 2853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("value-changed", gtk_range_get_type (), &_tmp26_, NULL, FALSE); -#line 2821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp26_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_highlights_adjustment_gtk_range_value_changed, self); -#line 2822 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp26_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_shadows_adjustment_gtk_range_value_changed, self); +#line 2854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp27_ = self->priv->adjust_tool_window; -#line 2822 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp28_ = _tmp27_->histogram_manipulator; -#line 2822 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_parse_name ("nub-position-changed", TYPE_RGB_HISTOGRAM_MANIPULATOR, &_tmp29_, NULL, FALSE); -#line 2822 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_handlers_disconnect_matched (_tmp28_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp29_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_histogram_constraint_rgb_histogram_manipulator_nub_position_changed, self); -#line 2824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp28_ = _tmp27_->highlights_slider; +#line 2854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_parse_name ("value-changed", gtk_range_get_type (), &_tmp29_, NULL, FALSE); +#line 2854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp29_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_highlights_adjustment_gtk_range_value_changed, self); +#line 2855 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp30_ = self->priv->adjust_tool_window; -#line 2824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp31_ = _tmp30_->saturation_slider; -#line 2824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp32_, NULL, FALSE); -#line 2824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp32_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); -#line 2825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2855 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp31_ = _tmp30_->histogram_manipulator; +#line 2855 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_parse_name ("nub-position-changed", TYPE_RGB_HISTOGRAM_MANIPULATOR, &_tmp32_, NULL, FALSE); +#line 2855 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_handlers_disconnect_matched (_tmp31_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp32_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_histogram_constraint_rgb_histogram_manipulator_nub_position_changed, self); +#line 2857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp33_ = self->priv->adjust_tool_window; -#line 2825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp34_ = _tmp33_->exposure_slider; -#line 2825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp34_ = _tmp33_->saturation_slider; +#line 2857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp35_, NULL, FALSE); -#line 2825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp35_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); -#line 2826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp36_ = self->priv->adjust_tool_window; -#line 2826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp37_ = _tmp36_->tint_slider; -#line 2826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp37_ = _tmp36_->exposure_slider; +#line 2858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp38_, NULL, FALSE); -#line 2826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp38_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); -#line 2827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp39_ = self->priv->adjust_tool_window; -#line 2827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp40_ = _tmp39_->temperature_slider; -#line 2827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp40_ = _tmp39_->contrast_slider; +#line 2859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp41_, NULL, FALSE); -#line 2827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp41_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); -#line 2828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2860 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp42_ = self->priv->adjust_tool_window; -#line 2828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp43_ = _tmp42_->shadows_slider; -#line 2828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2860 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp43_ = _tmp42_->tint_slider; +#line 2860 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp44_, NULL, FALSE); -#line 2828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2860 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp44_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); -#line 2829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp45_ = self->priv->adjust_tool_window; -#line 2829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp46_ = _tmp45_->highlights_slider; -#line 2829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp46_ = _tmp45_->temperature_slider; +#line 2861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp47_, NULL, FALSE); -#line 2829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp47_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); -#line 17118 "EditingTools.c" +#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp48_ = self->priv->adjust_tool_window; +#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp49_ = _tmp48_->shadows_slider; +#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp50_, NULL, FALSE); +#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp50_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); +#line 2863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp51_ = self->priv->adjust_tool_window; +#line 2863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp52_ = _tmp51_->highlights_slider; +#line 2863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp53_, NULL, FALSE); +#line 2863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp53_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self); +#line 17282 "EditingTools.c" } @@ -17128,37 +17292,37 @@ gboolean editing_tools_adjust_tool_enhance (EditingToolsAdjustTool* self) { EditingToolsAdjustToolAdjustEnhanceCommand* _tmp4_ = NULL; CommandManager* _tmp5_ = NULL; CommandManager* _tmp6_ = NULL; -#line 2832 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self), FALSE); -#line 2833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = editing_tools_photo_canvas_get_photo (_tmp0_); -#line 2833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = _tmp1_; -#line 2833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = editing_tools_adjust_tool_adjust_enhance_command_new (self, _tmp2_); -#line 2833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = _tmp3_; -#line 2833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp2_); -#line 2833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" command = _tmp4_; -#line 2834 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = app_window_get_command_manager (); -#line 2834 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = _tmp5_; -#line 2834 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" command_manager_execute (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (command, TYPE_COMMAND, Command)); -#line 2834 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _command_manager_unref0 (_tmp6_); -#line 2836 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = TRUE; -#line 2836 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (command); -#line 2836 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 17162 "EditingTools.c" +#line 17326 "EditingTools.c" } @@ -17176,68 +17340,68 @@ static void editing_tools_adjust_tool_on_photos_altered (EditingToolsAdjustTool* PixelTransformationBundle* _tmp9_ = NULL; PixelTransformationBundle* _tmp10_ = NULL; PixelTransformationBundle* _tmp11_ = NULL; -#line 2839 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2873 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2839 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2873 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (GEE_IS_MAP (map)); -#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = map; -#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = editing_tools_photo_canvas_get_photo (_tmp1_); -#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = _tmp2_; -#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = gee_map_has_key (_tmp0_, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_OBJECT, DataObject)); -#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = !_tmp4_; -#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp3_); -#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp5_) { -#line 2841 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return; -#line 17202 "EditingTools.c" +#line 17366 "EditingTools.c" } -#line 2843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = editing_tools_photo_canvas_get_photo (_tmp6_); -#line 2843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = _tmp7_; -#line 2843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = photo_get_color_adjustments (_tmp8_); -#line 2843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = _tmp9_; -#line 2843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp8_); -#line 2843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" adjustments = _tmp10_; -#line 2844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2878 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = adjustments; -#line 2844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2878 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_set_adjustments (self, _tmp11_); -#line 2839 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2873 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_bundle_unref0 (adjustments); -#line 17224 "EditingTools.c" +#line 17388 "EditingTools.c" } static void editing_tools_adjust_tool_set_adjustments (EditingToolsAdjustTool* self, PixelTransformationBundle* new_adjustments) { PixelTransformationBundle* _tmp0_ = NULL; EditingToolsPhotoCanvas* _tmp11_ = NULL; -#line 2847 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2847 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (new_adjustments)); -#line 2848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2882 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_unbind_window_handlers (self); -#line 2850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = new_adjustments; -#line 2850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_update_transformations (self, _tmp0_); -#line 17241 "EditingTools.c" +#line 17405 "EditingTools.c" { GeeIterator* _adjustment_it = NULL; PixelTransformationBundle* _tmp1_ = NULL; @@ -17245,106 +17409,106 @@ static void editing_tools_adjust_tool_set_adjustments (EditingToolsAdjustTool* s GeeIterable* _tmp3_ = NULL; GeeIterator* _tmp4_ = NULL; GeeIterator* _tmp5_ = NULL; -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = new_adjustments; -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = pixel_transformation_bundle_get_transformations (_tmp1_); -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = _tmp2_; -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = gee_iterable_iterator (_tmp3_); -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = _tmp4_; -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp3_); -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _adjustment_it = _tmp5_; -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" while (TRUE) { -#line 17265 "EditingTools.c" +#line 17429 "EditingTools.c" GeeIterator* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; PixelTransformation* adjustment = NULL; GeeIterator* _tmp8_ = NULL; gpointer _tmp9_ = NULL; PixelTransformation* _tmp10_ = NULL; -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = _adjustment_it; -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = gee_iterator_next (_tmp6_); -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!_tmp7_) { -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 17280 "EditingTools.c" +#line 17444 "EditingTools.c" } -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = _adjustment_it; -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = gee_iterator_get (_tmp8_); -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" adjustment = (PixelTransformation*) _tmp9_; -#line 2853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2887 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = adjustment; -#line 2853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2887 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_update_slider (self, _tmp10_); -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (adjustment); -#line 17294 "EditingTools.c" +#line 17458 "EditingTools.c" } -#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_adjustment_it); -#line 17298 "EditingTools.c" +#line 17462 "EditingTools.c" } -#line 2855 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_bind_window_handlers (self); -#line 2856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_repaint (_tmp11_); -#line 17306 "EditingTools.c" +#line 17470 "EditingTools.c" } static gpointer _pixel_transformation_ref0 (gpointer self) { -#line 2864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self ? pixel_transformation_ref (self) : NULL; -#line 17313 "EditingTools.c" +#line 17477 "EditingTools.c" } static void editing_tools_adjust_tool_update_slider (EditingToolsAdjustTool* self, PixelTransformation* transformation) { PixelTransformation* _tmp0_ = NULL; PixelTransformationType _tmp1_ = 0; -#line 2861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (IS_PIXEL_TRANSFORMATION (transformation)); -#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = transformation; -#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = pixel_transformation_get_transformation_type (_tmp0_); -#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" switch (_tmp1_) { -#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case PIXEL_TRANSFORMATION_TYPE_TONE_EXPANSION: -#line 17332 "EditingTools.c" +#line 17496 "EditingTools.c" { ExpansionTransformation* expansion = NULL; PixelTransformation* _tmp2_ = NULL; ExpansionTransformation* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 2864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = transformation; -#line 2864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = _pixel_transformation_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformation)); -#line 2864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" expansion = _tmp3_; -#line 2866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = self->priv->disable_histogram_refresh; -#line 2866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!_tmp4_) { -#line 17348 "EditingTools.c" +#line 17512 "EditingTools.c" EditingToolsAdjustToolAdjustToolWindow* _tmp5_ = NULL; RGBHistogramManipulator* _tmp6_ = NULL; ExpansionTransformation* _tmp7_ = NULL; @@ -17353,177 +17517,199 @@ static void editing_tools_adjust_tool_update_slider (EditingToolsAdjustTool* sel RGBHistogramManipulator* _tmp10_ = NULL; ExpansionTransformation* _tmp11_ = NULL; gint _tmp12_ = 0; -#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = self->priv->adjust_tool_window; -#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = _tmp5_->histogram_manipulator; -#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = expansion; -#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = expansion_transformation_get_black_point (_tmp7_); -#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" rgb_histogram_manipulator_set_left_nub_position (_tmp6_, _tmp8_); -#line 2869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = self->priv->adjust_tool_window; -#line 2869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = _tmp9_->histogram_manipulator; -#line 2869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = expansion; -#line 2869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp12_ = expansion_transformation_get_white_point (_tmp11_); -#line 2869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" rgb_histogram_manipulator_set_right_nub_position (_tmp10_, _tmp12_); -#line 17377 "EditingTools.c" +#line 17541 "EditingTools.c" } -#line 2872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2906 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (expansion); -#line 2872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2906 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 17383 "EditingTools.c" +#line 17547 "EditingTools.c" } -#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" case PIXEL_TRANSFORMATION_TYPE_SHADOWS: -#line 17387 "EditingTools.c" +#line 17551 "EditingTools.c" { EditingToolsAdjustToolAdjustToolWindow* _tmp13_ = NULL; GtkScale* _tmp14_ = NULL; PixelTransformation* _tmp15_ = NULL; gfloat _tmp16_ = 0.0F; -#line 2875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2909 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp13_ = self->priv->adjust_tool_window; -#line 2875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2909 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp14_ = _tmp13_->shadows_slider; -#line 2875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2909 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp15_ = transformation; -#line 2875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2909 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp16_ = shadow_detail_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_SHADOW_DETAIL_TRANSFORMATION, ShadowDetailTransformation)); -#line 2875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2909 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_range_get_type (), GtkRange), (gdouble) _tmp16_); -#line 2877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2911 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 17405 "EditingTools.c" +#line 17569 "EditingTools.c" } -#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - case PIXEL_TRANSFORMATION_TYPE_HIGHLIGHTS: -#line 17409 "EditingTools.c" +#line 2896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + case PIXEL_TRANSFORMATION_TYPE_CONTRAST: +#line 17573 "EditingTools.c" { EditingToolsAdjustToolAdjustToolWindow* _tmp17_ = NULL; - GtkScale* _tmp18_ = NULL; + GtkHScale* _tmp18_ = NULL; PixelTransformation* _tmp19_ = NULL; gfloat _tmp20_ = 0.0F; -#line 2880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2914 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp17_ = self->priv->adjust_tool_window; -#line 2880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp18_ = _tmp17_->highlights_slider; -#line 2880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2914 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp18_ = _tmp17_->contrast_slider; +#line 2914 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp19_ = transformation; -#line 2880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp20_ = highlight_detail_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, HighlightDetailTransformation)); -#line 2880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2914 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp20_ = contrast_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_CONTRAST_TRANSFORMATION, ContrastTransformation)); +#line 2914 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_range_get_type (), GtkRange), (gdouble) _tmp20_); -#line 2882 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2916 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 17427 "EditingTools.c" +#line 17591 "EditingTools.c" } -#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - case PIXEL_TRANSFORMATION_TYPE_EXPOSURE: -#line 17431 "EditingTools.c" +#line 2896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + case PIXEL_TRANSFORMATION_TYPE_HIGHLIGHTS: +#line 17595 "EditingTools.c" { EditingToolsAdjustToolAdjustToolWindow* _tmp21_ = NULL; GtkScale* _tmp22_ = NULL; PixelTransformation* _tmp23_ = NULL; gfloat _tmp24_ = 0.0F; -#line 2885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2919 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp21_ = self->priv->adjust_tool_window; -#line 2885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp22_ = _tmp21_->exposure_slider; -#line 2885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2919 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp22_ = _tmp21_->highlights_slider; +#line 2919 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp23_ = transformation; -#line 2885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp24_ = exposure_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_EXPOSURE_TRANSFORMATION, ExposureTransformation)); -#line 2885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2919 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp24_ = highlight_detail_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, HighlightDetailTransformation)); +#line 2919 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_range_get_type (), GtkRange), (gdouble) _tmp24_); -#line 2887 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 17449 "EditingTools.c" +#line 17613 "EditingTools.c" } -#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - case PIXEL_TRANSFORMATION_TYPE_SATURATION: -#line 17453 "EditingTools.c" +#line 2896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + case PIXEL_TRANSFORMATION_TYPE_EXPOSURE: +#line 17617 "EditingTools.c" { EditingToolsAdjustToolAdjustToolWindow* _tmp25_ = NULL; GtkScale* _tmp26_ = NULL; PixelTransformation* _tmp27_ = NULL; gfloat _tmp28_ = 0.0F; -#line 2890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp25_ = self->priv->adjust_tool_window; -#line 2890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp26_ = _tmp25_->saturation_slider; -#line 2890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp26_ = _tmp25_->exposure_slider; +#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp27_ = transformation; -#line 2890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp28_ = saturation_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, TYPE_SATURATION_TRANSFORMATION, SaturationTransformation)); -#line 2890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp28_ = exposure_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, TYPE_EXPOSURE_TRANSFORMATION, ExposureTransformation)); +#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_range_get_type (), GtkRange), (gdouble) _tmp28_); -#line 2892 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 17471 "EditingTools.c" +#line 17635 "EditingTools.c" } -#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - case PIXEL_TRANSFORMATION_TYPE_TINT: -#line 17475 "EditingTools.c" +#line 2896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + case PIXEL_TRANSFORMATION_TYPE_SATURATION: +#line 17639 "EditingTools.c" { EditingToolsAdjustToolAdjustToolWindow* _tmp29_ = NULL; GtkScale* _tmp30_ = NULL; PixelTransformation* _tmp31_ = NULL; gfloat _tmp32_ = 0.0F; -#line 2895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2929 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp29_ = self->priv->adjust_tool_window; -#line 2895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp30_ = _tmp29_->tint_slider; -#line 2895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2929 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp30_ = _tmp29_->saturation_slider; +#line 2929 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp31_ = transformation; -#line 2895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp32_ = tint_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, TYPE_TINT_TRANSFORMATION, TintTransformation)); -#line 2895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2929 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp32_ = saturation_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, TYPE_SATURATION_TRANSFORMATION, SaturationTransformation)); +#line 2929 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_range_get_type (), GtkRange), (gdouble) _tmp32_); -#line 2897 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 17493 "EditingTools.c" +#line 17657 "EditingTools.c" } -#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - case PIXEL_TRANSFORMATION_TYPE_TEMPERATURE: -#line 17497 "EditingTools.c" +#line 2896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + case PIXEL_TRANSFORMATION_TYPE_TINT: +#line 17661 "EditingTools.c" { EditingToolsAdjustToolAdjustToolWindow* _tmp33_ = NULL; GtkScale* _tmp34_ = NULL; PixelTransformation* _tmp35_ = NULL; gfloat _tmp36_ = 0.0F; -#line 2900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp33_ = self->priv->adjust_tool_window; -#line 2900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp34_ = _tmp33_->temperature_slider; -#line 2900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp34_ = _tmp33_->tint_slider; +#line 2934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp35_ = transformation; -#line 2900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp36_ = temperature_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_TEMPERATURE_TRANSFORMATION, TemperatureTransformation)); -#line 2900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp36_ = tint_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_TINT_TRANSFORMATION, TintTransformation)); +#line 2934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_range_get_type (), GtkRange), (gdouble) _tmp36_); -#line 2902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + break; +#line 17679 "EditingTools.c" + } +#line 2896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + case PIXEL_TRANSFORMATION_TYPE_TEMPERATURE: +#line 17683 "EditingTools.c" + { + EditingToolsAdjustToolAdjustToolWindow* _tmp37_ = NULL; + GtkScale* _tmp38_ = NULL; + PixelTransformation* _tmp39_ = NULL; + gfloat _tmp40_ = 0.0F; +#line 2939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp37_ = self->priv->adjust_tool_window; +#line 2939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp38_ = _tmp37_->temperature_slider; +#line 2939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp39_ = transformation; +#line 2939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp40_ = temperature_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_TEMPERATURE_TRANSFORMATION, TemperatureTransformation)); +#line 2939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, gtk_range_get_type (), GtkRange), (gdouble) _tmp40_); +#line 2941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 17515 "EditingTools.c" +#line 17701 "EditingTools.c" } default: { - PixelTransformation* _tmp37_ = NULL; - PixelTransformationType _tmp38_ = 0; -#line 2905 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp37_ = transformation; -#line 2905 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp38_ = pixel_transformation_get_transformation_type (_tmp37_); -#line 2905 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_error ("EditingTools.vala:2905: Unknown adjustment: %d", (gint) _tmp38_); -#line 17527 "EditingTools.c" + PixelTransformation* _tmp41_ = NULL; + PixelTransformationType _tmp42_ = 0; +#line 2944 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp41_ = transformation; +#line 2944 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp42_ = pixel_transformation_get_transformation_type (_tmp41_); +#line 2944 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_error ("EditingTools.vala:2944: Unknown adjustment: %d", (gint) _tmp42_); +#line 17713 "EditingTools.c" } } } @@ -17552,75 +17738,75 @@ static void editing_tools_adjust_tool_init_fp_pixel_cache (EditingToolsAdjustToo gfloat* _tmp12_ = NULL; gint cache_pixel_index = 0; gfloat INV_255 = 0.0F; -#line 2909 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2948 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self)); -#line 2909 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2948 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (GDK_IS_PIXBUF (source)); -#line 2910 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2949 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = source; -#line 2910 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2949 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = gdk_pixbuf_get_width (_tmp0_); -#line 2910 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2949 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" source_width = _tmp1_; -#line 2911 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2950 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = source; -#line 2911 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2950 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = gdk_pixbuf_get_height (_tmp2_); -#line 2911 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2950 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" source_height = _tmp3_; -#line 2912 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = source; -#line 2912 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = gdk_pixbuf_get_n_channels (_tmp4_); -#line 2912 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" source_num_channels = _tmp5_; -#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2952 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = source; -#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2952 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = gdk_pixbuf_get_rowstride (_tmp6_); -#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2952 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" source_rowstride = _tmp7_; -#line 2914 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = source; -#line 2914 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = gdk_pixbuf_get_pixels (_tmp8_); -#line 2914 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" source_pixels = _tmp9_; -#line 2914 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" source_pixels_length1 = -1; -#line 2914 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _source_pixels_size_ = source_pixels_length1; -#line 2916 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2955 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = source_width; -#line 2916 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2955 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = source_height; -#line 2916 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2955 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp12_ = g_new0 (gfloat, (3 * _tmp10_) * _tmp11_); -#line 2916 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2955 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->fp_pixel_cache = (g_free (self->priv->fp_pixel_cache), NULL); -#line 2916 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2955 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->fp_pixel_cache = _tmp12_; -#line 2916 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2955 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->fp_pixel_cache_length1 = (3 * _tmp10_) * _tmp11_; -#line 2916 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2955 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->_fp_pixel_cache_size_ = self->priv->fp_pixel_cache_length1; -#line 2917 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2956 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cache_pixel_index = 0; -#line 2918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2957 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" INV_255 = 1.0f / 255.0f; -#line 17612 "EditingTools.c" +#line 17798 "EditingTools.c" { gint j = 0; -#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" j = 0; -#line 17617 "EditingTools.c" +#line 17803 "EditingTools.c" { gboolean _tmp13_ = FALSE; -#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp13_ = TRUE; -#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" while (TRUE) { -#line 17624 "EditingTools.c" +#line 17810 "EditingTools.c" gint _tmp15_ = 0; gint _tmp16_ = 0; gint row_start_index = 0; @@ -17630,58 +17816,58 @@ static void editing_tools_adjust_tool_init_fp_pixel_cache (EditingToolsAdjustToo gint _tmp19_ = 0; gint _tmp20_ = 0; gint _tmp21_ = 0; -#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!_tmp13_) { -#line 17636 "EditingTools.c" +#line 17822 "EditingTools.c" gint _tmp14_ = 0; -#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp14_ = j; -#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" j = _tmp14_ + 1; -#line 17642 "EditingTools.c" +#line 17828 "EditingTools.c" } -#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp13_ = FALSE; -#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp15_ = j; -#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp16_ = source_height; -#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!(_tmp15_ < _tmp16_)) { -#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 17654 "EditingTools.c" +#line 17840 "EditingTools.c" } -#line 2921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp17_ = j; -#line 2921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp18_ = source_rowstride; -#line 2921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" row_start_index = _tmp17_ * _tmp18_; -#line 2922 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2961 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp19_ = row_start_index; -#line 2922 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2961 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp20_ = source_width; -#line 2922 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2961 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp21_ = source_num_channels; -#line 2922 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2961 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" row_end_index = _tmp19_ + (_tmp20_ * _tmp21_); -#line 17670 "EditingTools.c" +#line 17856 "EditingTools.c" { gint i = 0; gint _tmp22_ = 0; -#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp22_ = row_start_index; -#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" i = _tmp22_; -#line 17678 "EditingTools.c" +#line 17864 "EditingTools.c" { gboolean _tmp23_ = FALSE; -#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp23_ = TRUE; -#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" while (TRUE) { -#line 17685 "EditingTools.c" +#line 17871 "EditingTools.c" gint _tmp26_ = 0; gint _tmp27_ = 0; gfloat* _tmp28_ = NULL; @@ -17711,98 +17897,98 @@ static void editing_tools_adjust_tool_init_fp_pixel_cache (EditingToolsAdjustToo guchar _tmp46_ = '\0'; gfloat _tmp47_ = 0.0F; gfloat _tmp48_ = 0.0F; -#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!_tmp23_) { -#line 17717 "EditingTools.c" +#line 17903 "EditingTools.c" gint _tmp24_ = 0; gint _tmp25_ = 0; -#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp24_ = i; -#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp25_ = source_num_channels; -#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" i = _tmp24_ + _tmp25_; -#line 17726 "EditingTools.c" +#line 17912 "EditingTools.c" } -#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp23_ = FALSE; -#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp26_ = i; -#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp27_ = row_end_index; -#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (!(_tmp26_ < _tmp27_)) { -#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" break; -#line 17738 "EditingTools.c" +#line 17924 "EditingTools.c" } -#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp28_ = self->priv->fp_pixel_cache; -#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp28__length1 = self->priv->fp_pixel_cache_length1; -#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp29_ = cache_pixel_index; -#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cache_pixel_index = _tmp29_ + 1; -#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp30_ = source_pixels; -#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp30__length1 = source_pixels_length1; -#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp31_ = i; -#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp32_ = _tmp30_[_tmp31_]; -#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp33_ = INV_255; -#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp28_[_tmp29_] = ((gfloat) _tmp32_) * _tmp33_; -#line 2924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp34_ = _tmp28_[_tmp29_]; -#line 2925 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp35_ = self->priv->fp_pixel_cache; -#line 2925 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp35__length1 = self->priv->fp_pixel_cache_length1; -#line 2925 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp36_ = cache_pixel_index; -#line 2925 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cache_pixel_index = _tmp36_ + 1; -#line 2925 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp37_ = source_pixels; -#line 2925 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp37__length1 = source_pixels_length1; -#line 2925 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp38_ = i; -#line 2925 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp39_ = _tmp37_[_tmp38_ + 1]; -#line 2925 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp40_ = INV_255; -#line 2925 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp35_[_tmp36_] = ((gfloat) _tmp39_) * _tmp40_; -#line 2925 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp41_ = _tmp35_[_tmp36_]; -#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp42_ = self->priv->fp_pixel_cache; -#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp42__length1 = self->priv->fp_pixel_cache_length1; -#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp43_ = cache_pixel_index; -#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" cache_pixel_index = _tmp43_ + 1; -#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp44_ = source_pixels; -#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp44__length1 = source_pixels_length1; -#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp45_ = i; -#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp46_ = _tmp44_[_tmp45_ + 2]; -#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp47_ = INV_255; -#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp42_[_tmp43_] = ((gfloat) _tmp46_) * _tmp47_; -#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp48_ = _tmp42_[_tmp43_]; -#line 17806 "EditingTools.c" +#line 17992 "EditingTools.c" } } } @@ -17822,73 +18008,73 @@ static gboolean editing_tools_adjust_tool_real_on_keypress (EditingToolsEditingT const gchar* _tmp4_ = NULL; GdkEventKey* _tmp11_ = NULL; gboolean _tmp12_ = FALSE; -#line 2931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_ADJUST_TOOL, EditingToolsAdjustTool); -#line 2931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 2932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = event; -#line 2932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = _tmp2_->keyval; -#line 2932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = gdk_keyval_name (_tmp3_); -#line 2932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (g_strcmp0 (_tmp4_, "KP_Enter") == 0) { -#line 2932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = TRUE; -#line 17840 "EditingTools.c" +#line 18026 "EditingTools.c" } else { GdkEventKey* _tmp5_ = NULL; guint _tmp6_ = 0U; const gchar* _tmp7_ = NULL; -#line 2933 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = event; -#line 2933 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = _tmp5_->keyval; -#line 2933 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = gdk_keyval_name (_tmp6_); -#line 2933 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = g_strcmp0 (_tmp7_, "Enter") == 0; -#line 17853 "EditingTools.c" +#line 18039 "EditingTools.c" } -#line 2932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp1_) { -#line 2932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = TRUE; -#line 17859 "EditingTools.c" +#line 18045 "EditingTools.c" } else { GdkEventKey* _tmp8_ = NULL; guint _tmp9_ = 0U; const gchar* _tmp10_ = NULL; -#line 2934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = event; -#line 2934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = _tmp8_->keyval; -#line 2934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = gdk_keyval_name (_tmp9_); -#line 2934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = g_strcmp0 (_tmp10_, "Return") == 0; -#line 17872 "EditingTools.c" +#line 18058 "EditingTools.c" } -#line 2932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_) { -#line 2935 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_on_ok (self); -#line 2936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2975 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = TRUE; -#line 2936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2975 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 17882 "EditingTools.c" +#line 18068 "EditingTools.c" } -#line 2939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2978 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = event; -#line 2939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2978 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp12_ = EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_adjust_tool_parent_class)->on_keypress (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), _tmp11_); -#line 2939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2978 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = _tmp12_; -#line 2939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2978 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 17892 "EditingTools.c" +#line 18078 "EditingTools.c" } @@ -17904,314 +18090,351 @@ static EditingToolsAdjustToolAdjustToolWindow* editing_tools_adjust_tool_adjust_ GtkScale* _tmp5_ = NULL; GtkScale* _tmp6_ = NULL; GtkScale* _tmp7_ = NULL; - GtkLabel* saturation_label = NULL; + GtkLabel* contrast_label = NULL; const gchar* _tmp8_ = NULL; GtkLabel* _tmp9_ = NULL; - GtkScale* _tmp10_ = NULL; - GtkScale* _tmp11_ = NULL; - GtkScale* _tmp12_ = NULL; - GtkScale* _tmp13_ = NULL; - GtkLabel* tint_label = NULL; + GtkHScale* _tmp10_ = NULL; + GtkHScale* _tmp11_ = NULL; + GtkHScale* _tmp12_ = NULL; + GtkHScale* _tmp13_ = NULL; + GtkLabel* saturation_label = NULL; const gchar* _tmp14_ = NULL; GtkLabel* _tmp15_ = NULL; GtkScale* _tmp16_ = NULL; GtkScale* _tmp17_ = NULL; GtkScale* _tmp18_ = NULL; GtkScale* _tmp19_ = NULL; - GtkLabel* temperature_label = NULL; + GtkLabel* tint_label = NULL; const gchar* _tmp20_ = NULL; GtkLabel* _tmp21_ = NULL; GtkScale* _tmp22_ = NULL; GtkScale* _tmp23_ = NULL; GtkScale* _tmp24_ = NULL; GtkScale* _tmp25_ = NULL; - GtkLabel* shadows_label = NULL; + GtkLabel* temperature_label = NULL; const gchar* _tmp26_ = NULL; GtkLabel* _tmp27_ = NULL; GtkScale* _tmp28_ = NULL; GtkScale* _tmp29_ = NULL; GtkScale* _tmp30_ = NULL; GtkScale* _tmp31_ = NULL; - GtkLabel* highlights_label = NULL; + GtkLabel* shadows_label = NULL; const gchar* _tmp32_ = NULL; GtkLabel* _tmp33_ = NULL; GtkScale* _tmp34_ = NULL; GtkScale* _tmp35_ = NULL; GtkScale* _tmp36_ = NULL; + GtkScale* _tmp37_ = NULL; + GtkLabel* highlights_label = NULL; + const gchar* _tmp38_ = NULL; + GtkLabel* _tmp39_ = NULL; + GtkScale* _tmp40_ = NULL; + GtkScale* _tmp41_ = NULL; + GtkScale* _tmp42_ = NULL; GtkBox* button_layouter = NULL; - GtkBox* _tmp37_ = NULL; - GtkButton* _tmp38_ = NULL; - GtkButton* _tmp39_ = NULL; - GtkButton* _tmp40_ = NULL; + GtkBox* _tmp43_ = NULL; + GtkButton* _tmp44_ = NULL; + GtkButton* _tmp45_ = NULL; + GtkButton* _tmp46_ = NULL; GtkAlignment* histogram_aligner = NULL; - GtkAlignment* _tmp41_ = NULL; - RGBHistogramManipulator* _tmp42_ = NULL; + GtkAlignment* _tmp47_ = NULL; + RGBHistogramManipulator* _tmp48_ = NULL; GtkBox* pane_layouter = NULL; - GtkBox* _tmp43_ = NULL; -#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + GtkBox* _tmp49_ = NULL; +#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (GTK_IS_WINDOW (container), NULL); -#line 2231 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2234 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = container; -#line 2231 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2234 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = (EditingToolsAdjustToolAdjustToolWindow*) editing_tools_editing_tool_window_construct (object_type, _tmp0_); -#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2236 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = (GtkGrid*) gtk_grid_new (); -#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2236 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_object_ref_sink (_tmp1_); -#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2236 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" slider_organizer = _tmp1_; -#line 2234 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_grid_set_column_homogeneous (slider_organizer, FALSE); -#line 2235 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2238 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_grid_set_row_spacing (slider_organizer, (guint) 12); -#line 2236 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_grid_set_column_spacing (slider_organizer, (guint) 12); -#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_widget_set_margin_left (G_TYPE_CHECK_INSTANCE_CAST (slider_organizer, gtk_widget_get_type (), GtkWidget), 12); -#line 2238 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2241 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_widget_set_margin_bottom (G_TYPE_CHECK_INSTANCE_CAST (slider_organizer, gtk_widget_get_type (), GtkWidget), 12); -#line 2240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = _ ("Exposure:"); -#line 2240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp2_); -#line 2240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_object_ref_sink (_tmp3_); -#line 2240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" exposure_label = _tmp3_; -#line 2241 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (exposure_label, gtk_misc_get_type (), GtkMisc), 0.0f, 0.5f); -#line 2242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2245 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (exposure_label, gtk_widget_get_type (), GtkWidget), 0, 0, 1, 1); -#line 2243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = self->exposure_slider; -#line 2243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), 1, 0, 1, 1); -#line 2244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2247 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = self->exposure_slider; -#line 2244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2247 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1); -#line 2245 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2248 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = self->exposure_slider; -#line 2245 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2248 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_scale_set_draw_value (_tmp6_, FALSE); -#line 2246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2249 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = self->exposure_slider; -#line 2246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2249 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_widget_set_margin_right (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), 0); -#line 2248 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp8_ = _ ("Saturation:"); -#line 2248 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2251 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp8_ = _ ("Contrast:"); +#line 2251 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp8_); -#line 2248 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_object_ref_sink (_tmp9_); -#line 2248 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - saturation_label = _tmp9_; -#line 2249 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (saturation_label, gtk_misc_get_type (), GtkMisc), 0.0f, 0.5f); -#line 2250 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (saturation_label, gtk_widget_get_type (), GtkWidget), 0, 1, 1, 1); #line 2251 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp10_ = self->saturation_slider; + g_object_ref_sink (_tmp9_); #line 2251 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), 1, 1, 1, 1); -#line 2252 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp11_ = self->saturation_slider; + contrast_label = _tmp9_; #line 2252 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1); -#line 2253 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp12_ = self->saturation_slider; + gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (contrast_label, gtk_misc_get_type (), GtkMisc), 0.0f, 0.5f); #line 2253 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_scale_set_draw_value (_tmp12_, FALSE); + gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (contrast_label, gtk_widget_get_type (), GtkWidget), 0, 1, 1, 1); #line 2254 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp13_ = self->saturation_slider; + _tmp10_ = self->contrast_slider; #line 2254 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_widget_set_margin_right (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget), 0); -#line 2256 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp14_ = _ ("Tint:"); -#line 2256 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp15_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp14_); + gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), 1, 1, 1, 1); +#line 2255 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp11_ = self->contrast_slider; +#line 2255 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1); #line 2256 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_object_ref_sink (_tmp15_); + _tmp12_ = self->contrast_slider; #line 2256 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - tint_label = _tmp15_; + gtk_scale_set_draw_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_scale_get_type (), GtkScale), FALSE); #line 2257 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (tint_label, gtk_misc_get_type (), GtkMisc), 0.0f, 0.5f); -#line 2258 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (tint_label, gtk_widget_get_type (), GtkWidget), 0, 2, 1, 1); + _tmp13_ = self->contrast_slider; +#line 2257 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_widget_set_margin_right (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget), 0); #line 2259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp16_ = self->tint_slider; + _tmp14_ = _ ("Saturation:"); #line 2259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_widget_get_type (), GtkWidget), 1, 2, 1, 1); -#line 2260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp17_ = self->tint_slider; + _tmp15_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp14_); +#line 2259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_object_ref_sink (_tmp15_); +#line 2259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + saturation_label = _tmp15_; #line 2260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1); -#line 2261 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp18_ = self->tint_slider; + gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (saturation_label, gtk_misc_get_type (), GtkMisc), 0.0f, 0.5f); #line 2261 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_scale_set_draw_value (_tmp18_, FALSE); + gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (saturation_label, gtk_widget_get_type (), GtkWidget), 0, 2, 1, 1); #line 2262 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp19_ = self->tint_slider; + _tmp16_ = self->saturation_slider; #line 2262 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_widget_set_margin_right (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget), 0); + gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_widget_get_type (), GtkWidget), 1, 2, 1, 1); +#line 2263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp17_ = self->saturation_slider; +#line 2263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1); #line 2264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp20_ = _ ("Temperature:"); + _tmp18_ = self->saturation_slider; #line 2264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_scale_set_draw_value (_tmp18_, FALSE); +#line 2265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp19_ = self->saturation_slider; +#line 2265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_widget_set_margin_right (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget), 0); +#line 2267 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp20_ = _ ("Tint:"); +#line 2267 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp21_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp20_); -#line 2264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2267 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_object_ref_sink (_tmp21_); -#line 2264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - temperature_label = _tmp21_; -#line 2266 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (temperature_label, gtk_misc_get_type (), GtkMisc), 0.0f, 0.5f); #line 2267 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (temperature_label, gtk_widget_get_type (), GtkWidget), 0, 3, 1, 1); + tint_label = _tmp21_; #line 2268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp22_ = self->temperature_slider; -#line 2268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_widget_get_type (), GtkWidget), 1, 3, 1, 1); -#line 2269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp23_ = self->temperature_slider; + gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (tint_label, gtk_misc_get_type (), GtkMisc), 0.0f, 0.5f); #line 2269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1); + gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (tint_label, gtk_widget_get_type (), GtkWidget), 0, 3, 1, 1); #line 2270 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp24_ = self->temperature_slider; + _tmp22_ = self->tint_slider; #line 2270 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_scale_set_draw_value (_tmp24_, FALSE); + gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_widget_get_type (), GtkWidget), 1, 3, 1, 1); #line 2271 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp25_ = self->temperature_slider; + _tmp23_ = self->tint_slider; #line 2271 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_widget_set_margin_right (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_widget_get_type (), GtkWidget), 0); + gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1); +#line 2272 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp24_ = self->tint_slider; +#line 2272 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_scale_set_draw_value (_tmp24_, FALSE); #line 2273 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp26_ = _ ("Shadows:"); + _tmp25_ = self->tint_slider; #line 2273 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_widget_set_margin_right (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_widget_get_type (), GtkWidget), 0); +#line 2275 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp26_ = _ ("Temperature:"); +#line 2275 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp27_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp26_); -#line 2273 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2275 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_object_ref_sink (_tmp27_); -#line 2273 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - shadows_label = _tmp27_; -#line 2274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (shadows_label, gtk_misc_get_type (), GtkMisc), 0.0f, 0.5f); #line 2275 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (shadows_label, gtk_widget_get_type (), GtkWidget), 0, 4, 1, 1); -#line 2276 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp28_ = self->shadows_slider; -#line 2276 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_widget_get_type (), GtkWidget), 1, 4, 1, 1); + temperature_label = _tmp27_; #line 2277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp29_ = self->shadows_slider; -#line 2277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1); -#line 2278 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp30_ = self->shadows_slider; + gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (temperature_label, gtk_misc_get_type (), GtkMisc), 0.0f, 0.5f); #line 2278 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_scale_set_draw_value (_tmp30_, FALSE); + gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (temperature_label, gtk_widget_get_type (), GtkWidget), 0, 4, 1, 1); #line 2279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp31_ = self->shadows_slider; + _tmp28_ = self->temperature_slider; #line 2279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_widget_set_margin_right (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_widget_get_type (), GtkWidget), 0); -#line 2281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp32_ = _ ("Highlights:"); + gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_widget_get_type (), GtkWidget), 1, 4, 1, 1); +#line 2280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp29_ = self->temperature_slider; +#line 2280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1); #line 2281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp33_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp32_); + _tmp30_ = self->temperature_slider; #line 2281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_object_ref_sink (_tmp33_); -#line 2281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - highlights_label = _tmp33_; + gtk_scale_set_draw_value (_tmp30_, FALSE); #line 2282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (highlights_label, gtk_misc_get_type (), GtkMisc), 0.0f, 0.5f); -#line 2283 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (highlights_label, gtk_widget_get_type (), GtkWidget), 0, 5, 1, 1); + _tmp31_ = self->temperature_slider; +#line 2282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_widget_set_margin_right (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_widget_get_type (), GtkWidget), 0); #line 2284 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp34_ = self->highlights_slider; + _tmp32_ = _ ("Shadows:"); #line 2284 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_widget_get_type (), GtkWidget), 1, 5, 1, 1); -#line 2285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp35_ = self->highlights_slider; + _tmp33_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp32_); +#line 2284 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_object_ref_sink (_tmp33_); +#line 2284 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + shadows_label = _tmp33_; #line 2285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1); -#line 2286 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp36_ = self->highlights_slider; + gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (shadows_label, gtk_misc_get_type (), GtkMisc), 0.0f, 0.5f); #line 2286 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_scale_set_draw_value (_tmp36_, FALSE); -#line 2288 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp37_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8); + gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (shadows_label, gtk_widget_get_type (), GtkWidget), 0, 5, 1, 1); +#line 2287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp34_ = self->shadows_slider; +#line 2287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_widget_get_type (), GtkWidget), 1, 5, 1, 1); #line 2288 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_object_ref_sink (_tmp37_); + _tmp35_ = self->shadows_slider; #line 2288 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - button_layouter = _tmp37_; + gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1); #line 2289 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_box_set_homogeneous (button_layouter, TRUE); + _tmp36_ = self->shadows_slider; +#line 2289 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_scale_set_draw_value (_tmp36_, FALSE); #line 2290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp38_ = self->cancel_button; + _tmp37_ = self->shadows_slider; #line 2290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_box_pack_start (button_layouter, G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 1); -#line 2291 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp39_ = self->reset_button; -#line 2291 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_box_pack_start (button_layouter, G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 1); + gtk_widget_set_margin_right (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, gtk_widget_get_type (), GtkWidget), 0); #line 2292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp40_ = self->ok_button; + _tmp38_ = _ ("Highlights:"); #line 2292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_box_pack_start (button_layouter, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 1); -#line 2294 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp41_ = (GtkAlignment*) gtk_alignment_new (0.0f, 0.0f, 0.0f, 0.0f); -#line 2294 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_object_ref_sink (_tmp41_); + _tmp39_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp38_); +#line 2292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_object_ref_sink (_tmp39_); +#line 2292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + highlights_label = _tmp39_; +#line 2293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_misc_set_alignment (G_TYPE_CHECK_INSTANCE_CAST (highlights_label, gtk_misc_get_type (), GtkMisc), 0.0f, 0.5f); #line 2294 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - histogram_aligner = _tmp41_; + gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (highlights_label, gtk_widget_get_type (), GtkWidget), 0, 6, 1, 1); #line 2295 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp42_ = self->histogram_manipulator; + _tmp40_ = self->highlights_slider; #line 2295 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (histogram_aligner, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_widget_get_type (), GtkWidget)); + gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_widget_get_type (), GtkWidget), 1, 6, 1, 1); #line 2296 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_alignment_set_padding (histogram_aligner, (guint) 12, (guint) 8, (guint) 12, (guint) 12); -#line 2298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp43_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 8); -#line 2298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp41_ = self->highlights_slider; +#line 2296 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1); +#line 2297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp42_ = self->highlights_slider; +#line 2297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_scale_set_draw_value (_tmp42_, FALSE); +#line 2299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp43_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8); +#line 2299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_object_ref_sink (_tmp43_); -#line 2298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - pane_layouter = _tmp43_; #line 2299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (pane_layouter, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (histogram_aligner, gtk_widget_get_type (), GtkWidget)); + button_layouter = _tmp43_; #line 2300 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (pane_layouter, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (slider_organizer, gtk_widget_get_type (), GtkWidget)); + gtk_box_set_homogeneous (button_layouter, TRUE); #line 2301 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (pane_layouter, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (button_layouter, gtk_widget_get_type (), GtkWidget)); + _tmp44_ = self->cancel_button; +#line 2301 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_box_pack_start (button_layouter, G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 1); #line 2302 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp45_ = self->reset_button; +#line 2302 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_box_pack_start (button_layouter, G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 1); +#line 2303 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp46_ = self->ok_button; +#line 2303 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_box_pack_start (button_layouter, G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 1); +#line 2305 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp47_ = (GtkAlignment*) gtk_alignment_new (0.0f, 0.0f, 0.0f, 0.0f); +#line 2305 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_object_ref_sink (_tmp47_); +#line 2305 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + histogram_aligner = _tmp47_; +#line 2306 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp48_ = self->histogram_manipulator; +#line 2306 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (histogram_aligner, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_widget_get_type (), GtkWidget)); +#line 2307 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_alignment_set_padding (histogram_aligner, (guint) 12, (guint) 8, (guint) 12, (guint) 12); +#line 2309 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp49_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 8); +#line 2309 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_object_ref_sink (_tmp49_); +#line 2309 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + pane_layouter = _tmp49_; +#line 2310 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (pane_layouter, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (histogram_aligner, gtk_widget_get_type (), GtkWidget)); +#line 2311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (pane_layouter, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (slider_organizer, gtk_widget_get_type (), GtkWidget)); +#line 2312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (pane_layouter, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (button_layouter, gtk_widget_get_type (), GtkWidget)); +#line 2313 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_box_set_child_packing (pane_layouter, G_TYPE_CHECK_INSTANCE_CAST (histogram_aligner, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0, GTK_PACK_START); -#line 2304 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2315 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (pane_layouter, gtk_widget_get_type (), GtkWidget)); -#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (pane_layouter); -#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (histogram_aligner); -#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (button_layouter); -#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (highlights_label); -#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (shadows_label); -#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (temperature_label); -#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (tint_label); -#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (saturation_label); -#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _g_object_unref0 (contrast_label); +#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (exposure_label); -#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (slider_organizer); -#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self; -#line 18208 "EditingTools.c" +#line 18431 "EditingTools.c" } static EditingToolsAdjustToolAdjustToolWindow* editing_tools_adjust_tool_adjust_tool_window_new (GtkWindow* container) { -#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return editing_tools_adjust_tool_adjust_tool_window_construct (EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_WINDOW, container); -#line 18215 "EditingTools.c" +#line 18438 "EditingTools.c" } @@ -18220,22 +18443,23 @@ static void editing_tools_adjust_tool_adjust_tool_window_class_init (EditingTool editing_tools_adjust_tool_adjust_tool_window_parent_class = g_type_class_peek_parent (klass); #line 2204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (klass)->finalize = editing_tools_adjust_tool_adjust_tool_window_finalize; -#line 18224 "EditingTools.c" +#line 18447 "EditingTools.c" } static void editing_tools_adjust_tool_adjust_tool_window_instance_init (EditingToolsAdjustToolAdjustToolWindow * self) { GtkScale* _tmp0_ = NULL; - GtkScale* _tmp1_ = NULL; + GtkHScale* _tmp1_ = NULL; GtkScale* _tmp2_ = NULL; GtkScale* _tmp3_ = NULL; GtkScale* _tmp4_ = NULL; GtkScale* _tmp5_ = NULL; - GtkButton* _tmp6_ = NULL; - const gchar* _tmp7_ = NULL; - GtkButton* _tmp8_ = NULL; + GtkScale* _tmp6_ = NULL; + GtkButton* _tmp7_ = NULL; + const gchar* _tmp8_ = NULL; GtkButton* _tmp9_ = NULL; - RGBHistogramManipulator* _tmp10_ = NULL; + GtkButton* _tmp10_ = NULL; + RGBHistogramManipulator* _tmp11_ = NULL; #line 2205 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) EXPOSURE_TRANSFORMATION_MIN_PARAMETER, (gdouble) EXPOSURE_TRANSFORMATION_MAX_PARAMETER, 1.0); #line 2205 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" @@ -18243,62 +18467,68 @@ static void editing_tools_adjust_tool_adjust_tool_window_instance_init (EditingT #line 2205 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->exposure_slider = _tmp0_; #line 2208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp1_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) SATURATION_TRANSFORMATION_MIN_PARAMETER, (gdouble) SATURATION_TRANSFORMATION_MAX_PARAMETER, 1.0); + _tmp1_ = (GtkHScale*) gtk_hscale_new_with_range ((gdouble) CONTRAST_TRANSFORMATION_MIN_PARAMETER, (gdouble) CONTRAST_TRANSFORMATION_MAX_PARAMETER, 1.0); #line 2208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_object_ref_sink (_tmp1_); #line 2208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - self->saturation_slider = _tmp1_; + self->contrast_slider = _tmp1_; #line 2211 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp2_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) TINT_TRANSFORMATION_MIN_PARAMETER, (gdouble) TINT_TRANSFORMATION_MAX_PARAMETER, 1.0); + _tmp2_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) SATURATION_TRANSFORMATION_MIN_PARAMETER, (gdouble) SATURATION_TRANSFORMATION_MAX_PARAMETER, 1.0); #line 2211 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_object_ref_sink (_tmp2_); #line 2211 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - self->tint_slider = _tmp2_; -#line 2213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp3_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) TEMPERATURE_TRANSFORMATION_MIN_PARAMETER, (gdouble) TEMPERATURE_TRANSFORMATION_MAX_PARAMETER, 1.0); -#line 2213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self->saturation_slider = _tmp2_; +#line 2214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp3_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) TINT_TRANSFORMATION_MIN_PARAMETER, (gdouble) TINT_TRANSFORMATION_MAX_PARAMETER, 1.0); +#line 2214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_object_ref_sink (_tmp3_); -#line 2213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - self->temperature_slider = _tmp3_; -#line 2217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp4_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) SHADOW_DETAIL_TRANSFORMATION_MIN_PARAMETER, (gdouble) SHADOW_DETAIL_TRANSFORMATION_MAX_PARAMETER, 1.0); -#line 2217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self->tint_slider = _tmp3_; +#line 2216 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp4_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) TEMPERATURE_TRANSFORMATION_MIN_PARAMETER, (gdouble) TEMPERATURE_TRANSFORMATION_MAX_PARAMETER, 1.0); +#line 2216 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_object_ref_sink (_tmp4_); -#line 2217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - self->shadows_slider = _tmp4_; -#line 2221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp5_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) HIGHLIGHT_DETAIL_TRANSFORMATION_MIN_PARAMETER, (gdouble) HIGHLIGHT_DETAIL_TRANSFORMATION_MAX_PARAMETER, 1.0); -#line 2221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2216 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self->temperature_slider = _tmp4_; +#line 2220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp5_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) SHADOW_DETAIL_TRANSFORMATION_MIN_PARAMETER, (gdouble) SHADOW_DETAIL_TRANSFORMATION_MAX_PARAMETER, 1.0); +#line 2220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_object_ref_sink (_tmp5_); -#line 2221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - self->highlights_slider = _tmp5_; -#line 2225 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp6_ = (GtkButton*) gtk_button_new_with_mnemonic (RESOURCES_OK_LABEL); -#line 2225 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self->shadows_slider = _tmp5_; +#line 2224 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp6_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) HIGHLIGHT_DETAIL_TRANSFORMATION_MIN_PARAMETER, (gdouble) HIGHLIGHT_DETAIL_TRANSFORMATION_MAX_PARAMETER, 1.0); +#line 2224 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_object_ref_sink (_tmp6_); -#line 2225 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - self->ok_button = _tmp6_; -#line 2226 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp7_ = _ ("_Reset"); -#line 2226 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp8_ = (GtkButton*) gtk_button_new_with_mnemonic (_tmp7_); -#line 2226 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_object_ref_sink (_tmp8_); -#line 2226 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - self->reset_button = _tmp8_; -#line 2227 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp9_ = (GtkButton*) gtk_button_new_with_mnemonic (RESOURCES_CANCEL_LABEL); -#line 2227 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_object_ref_sink (_tmp9_); -#line 2227 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - self->cancel_button = _tmp9_; +#line 2224 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self->highlights_slider = _tmp6_; #line 2228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _tmp10_ = rgb_histogram_manipulator_new (); + _tmp7_ = (GtkButton*) gtk_button_new_with_mnemonic (RESOURCES_OK_LABEL); #line 2228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - g_object_ref_sink (_tmp10_); + g_object_ref_sink (_tmp7_); #line 2228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - self->histogram_manipulator = _tmp10_; -#line 18302 "EditingTools.c" + self->ok_button = _tmp7_; +#line 2229 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp8_ = _ ("_Reset"); +#line 2229 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp9_ = (GtkButton*) gtk_button_new_with_mnemonic (_tmp8_); +#line 2229 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_object_ref_sink (_tmp9_); +#line 2229 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self->reset_button = _tmp9_; +#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp10_ = (GtkButton*) gtk_button_new_with_mnemonic (RESOURCES_CANCEL_LABEL); +#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_object_ref_sink (_tmp10_); +#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self->cancel_button = _tmp10_; +#line 2231 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _tmp11_ = rgb_histogram_manipulator_new (); +#line 2231 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + g_object_ref_sink (_tmp11_); +#line 2231 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self->histogram_manipulator = _tmp11_; +#line 18532 "EditingTools.c" } @@ -18309,26 +18539,28 @@ static void editing_tools_adjust_tool_adjust_tool_window_finalize (GObject* obj) #line 2205 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->exposure_slider); #line 2208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - _g_object_unref0 (self->saturation_slider); + _g_object_unref0 (self->contrast_slider); #line 2211 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _g_object_unref0 (self->saturation_slider); +#line 2214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->tint_slider); -#line 2213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2216 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->temperature_slider); -#line 2217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->shadows_slider); -#line 2221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2224 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->highlights_slider); -#line 2225 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->ok_button); -#line 2226 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2229 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->reset_button); -#line 2227 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->cancel_button); -#line 2228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2231 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->histogram_manipulator); #line 2204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (editing_tools_adjust_tool_adjust_tool_window_parent_class)->finalize (obj); -#line 18332 "EditingTools.c" +#line 18564 "EditingTools.c" } @@ -18345,9 +18577,9 @@ static GType editing_tools_adjust_tool_adjust_tool_window_get_type (void) { static void _editing_tools_adjust_tool_adjust_tool_command_on_owner_deactivated_editing_tools_editing_tool_deactivated (EditingToolsEditingTool* _sender, gpointer self) { -#line 2320 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2331 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_adjust_tool_command_on_owner_deactivated ((EditingToolsAdjustToolAdjustToolCommand*) self); -#line 18351 "EditingTools.c" +#line 18583 "EditingTools.c" } @@ -18357,55 +18589,55 @@ static EditingToolsAdjustToolAdjustToolCommand* editing_tools_adjust_tool_adjust const gchar* _tmp1_ = NULL; EditingToolsAdjustTool* _tmp2_ = NULL; EditingToolsAdjustTool* _tmp3_ = NULL; -#line 2311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (owner), NULL); -#line 2311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (name != NULL, NULL); -#line 2311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (explanation != NULL, NULL); -#line 2312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = name; -#line 2312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = explanation; -#line 2312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = (EditingToolsAdjustToolAdjustToolCommand*) command_construct (object_type, _tmp0_, _tmp1_); -#line 2314 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2325 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = owner; -#line 2314 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2325 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->owner = _tmp2_; -#line 2315 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = owner; -#line 2315 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), "deactivated", (GCallback) _editing_tools_adjust_tool_adjust_tool_command_on_owner_deactivated_editing_tools_editing_tool_deactivated, self, 0); -#line 2311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self; -#line 18383 "EditingTools.c" +#line 18615 "EditingTools.c" } static void editing_tools_adjust_tool_adjust_tool_command_on_owner_deactivated (EditingToolsAdjustToolAdjustToolCommand* self) { CommandManager* _tmp0_ = NULL; CommandManager* _tmp1_ = NULL; -#line 2323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2334 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_if_fail (EDITING_TOOLS_ADJUST_TOOL_IS_ADJUST_TOOL_COMMAND (self)); -#line 2326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = app_window_get_command_manager (); -#line 2326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _tmp0_; -#line 2326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" command_manager_reset (_tmp1_); -#line 2326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _command_manager_unref0 (_tmp1_); -#line 18400 "EditingTools.c" +#line 18632 "EditingTools.c" } static void editing_tools_adjust_tool_adjust_tool_command_class_init (EditingToolsAdjustToolAdjustToolCommandClass * klass) { -#line 2308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2319 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_adjust_tool_command_parent_class = g_type_class_peek_parent (klass); -#line 2308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2319 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (klass)->finalize = editing_tools_adjust_tool_adjust_tool_command_finalize; -#line 18409 "EditingTools.c" +#line 18641 "EditingTools.c" } @@ -18416,26 +18648,26 @@ static void editing_tools_adjust_tool_adjust_tool_command_instance_init (Editing static void editing_tools_adjust_tool_adjust_tool_command_finalize (GObject* obj) { EditingToolsAdjustToolAdjustToolCommand * self; EditingToolsAdjustTool* _tmp0_ = NULL; -#line 2308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand); #line 2319 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand); +#line 2330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->owner; -#line 2319 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_ != NULL) { -#line 18426 "EditingTools.c" +#line 18658 "EditingTools.c" EditingToolsAdjustTool* _tmp1_ = NULL; guint _tmp2_ = 0U; -#line 2320 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2331 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = self->owner; -#line 2320 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2331 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_parse_name ("deactivated", EDITING_TOOLS_TYPE_EDITING_TOOL, &_tmp2_, NULL, FALSE); -#line 2320 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2331 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _editing_tools_adjust_tool_adjust_tool_command_on_owner_deactivated_editing_tools_editing_tool_deactivated, self); -#line 18435 "EditingTools.c" +#line 18667 "EditingTools.c" } -#line 2308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2319 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (editing_tools_adjust_tool_adjust_tool_command_parent_class)->finalize (obj); -#line 18439 "EditingTools.c" +#line 18671 "EditingTools.c" } @@ -18460,46 +18692,46 @@ static EditingToolsAdjustToolAdjustResetCommand* editing_tools_adjust_tool_adjus PixelTransformationBundle* _tmp4_ = NULL; PixelTransformationBundle* _tmp5_ = NULL; PixelTransformationBundle* _tmp6_ = NULL; -#line 2334 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2345 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (owner), NULL); -#line 2334 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2345 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (current), NULL); -#line 2335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = owner; -#line 2335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _ ("Reset Colors"); -#line 2335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = _ ("Reset all color adjustments to original"); -#line 2335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = (EditingToolsAdjustToolAdjustResetCommand*) editing_tools_adjust_tool_adjust_tool_command_construct (object_type, _tmp0_, _tmp1_, _tmp2_); -#line 2337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = current; -#line 2337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = pixel_transformation_bundle_copy (_tmp3_); -#line 2337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_bundle_unref0 (self->priv->original); -#line 2337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->original = _tmp4_; -#line 2338 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2349 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = pixel_transformation_bundle_new (); -#line 2338 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2349 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_bundle_unref0 (self->priv->reset); -#line 2338 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2349 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->reset = _tmp5_; -#line 2339 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2350 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = self->priv->reset; -#line 2339 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2350 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" pixel_transformation_bundle_set_to_identity (_tmp6_); -#line 2334 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2345 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self; -#line 18496 "EditingTools.c" +#line 18728 "EditingTools.c" } static EditingToolsAdjustToolAdjustResetCommand* editing_tools_adjust_tool_adjust_reset_command_new (EditingToolsAdjustTool* owner, PixelTransformationBundle* current) { -#line 2334 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2345 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return editing_tools_adjust_tool_adjust_reset_command_construct (EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_RESET_COMMAND, owner, current); -#line 18503 "EditingTools.c" +#line 18735 "EditingTools.c" } @@ -18507,15 +18739,15 @@ static void editing_tools_adjust_tool_adjust_reset_command_real_execute (Command EditingToolsAdjustToolAdjustResetCommand * self; EditingToolsAdjustTool* _tmp0_ = NULL; PixelTransformationBundle* _tmp1_ = NULL; -#line 2342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_RESET_COMMAND, EditingToolsAdjustToolAdjustResetCommand); -#line 2343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2354 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2354 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = self->priv->reset; -#line 2343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2354 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_set_adjustments (_tmp0_, _tmp1_); -#line 18519 "EditingTools.c" +#line 18751 "EditingTools.c" } @@ -18523,15 +18755,15 @@ static void editing_tools_adjust_tool_adjust_reset_command_real_undo (Command* b EditingToolsAdjustToolAdjustResetCommand * self; EditingToolsAdjustTool* _tmp0_ = NULL; PixelTransformationBundle* _tmp1_ = NULL; -#line 2346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_RESET_COMMAND, EditingToolsAdjustToolAdjustResetCommand); -#line 2347 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2347 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = self->priv->original; -#line 2347 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_set_adjustments (_tmp0_, _tmp1_); -#line 18535 "EditingTools.c" +#line 18767 "EditingTools.c" } @@ -18545,89 +18777,89 @@ static gboolean editing_tools_adjust_tool_adjust_reset_command_real_compress (Co EditingToolsAdjustToolAdjustResetCommand* _tmp3_ = NULL; EditingToolsAdjustTool* _tmp4_ = NULL; EditingToolsAdjustTool* _tmp5_ = NULL; -#line 2350 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2361 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_RESET_COMMAND, EditingToolsAdjustToolAdjustResetCommand); -#line 2350 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2361 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (IS_COMMAND (command), FALSE); -#line 2351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = command; -#line 2351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_RESET_COMMAND) ? ((EditingToolsAdjustToolAdjustResetCommand*) _tmp0_) : NULL); -#line 2351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" reset_command = _tmp1_; -#line 2352 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = reset_command; -#line 2352 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp2_ == NULL) { -#line 2353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2364 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = FALSE; -#line 2353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2364 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (reset_command); -#line 2353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2364 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 18569 "EditingTools.c" +#line 18801 "EditingTools.c" } -#line 2355 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2366 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = reset_command; -#line 2355 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2366 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2355 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2366 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2355 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2366 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp4_ != _tmp5_) { -#line 2356 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2367 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = FALSE; -#line 2356 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2367 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (reset_command); -#line 2356 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2367 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 18585 "EditingTools.c" +#line 18817 "EditingTools.c" } -#line 2359 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = TRUE; -#line 2359 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (reset_command); -#line 2359 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 18593 "EditingTools.c" +#line 18825 "EditingTools.c" } static void editing_tools_adjust_tool_adjust_reset_command_class_init (EditingToolsAdjustToolAdjustResetCommandClass * klass) { -#line 2330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_adjust_reset_command_parent_class = g_type_class_peek_parent (klass); -#line 2330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_type_class_add_private (klass, sizeof (EditingToolsAdjustToolAdjustResetCommandPrivate)); -#line 2330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ((CommandClass *) klass)->execute = editing_tools_adjust_tool_adjust_reset_command_real_execute; -#line 2330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ((CommandClass *) klass)->undo = editing_tools_adjust_tool_adjust_reset_command_real_undo; -#line 2330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ((CommandClass *) klass)->compress = editing_tools_adjust_tool_adjust_reset_command_real_compress; -#line 2330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (klass)->finalize = editing_tools_adjust_tool_adjust_reset_command_finalize; -#line 18610 "EditingTools.c" +#line 18842 "EditingTools.c" } static void editing_tools_adjust_tool_adjust_reset_command_instance_init (EditingToolsAdjustToolAdjustResetCommand * self) { -#line 2330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv = EDITING_TOOLS_ADJUST_TOOL_ADJUST_RESET_COMMAND_GET_PRIVATE (self); -#line 18617 "EditingTools.c" +#line 18849 "EditingTools.c" } static void editing_tools_adjust_tool_adjust_reset_command_finalize (GObject* obj) { EditingToolsAdjustToolAdjustResetCommand * self; -#line 2330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_RESET_COMMAND, EditingToolsAdjustToolAdjustResetCommand); -#line 2331 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_bundle_unref0 (self->priv->original); -#line 2332 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_bundle_unref0 (self->priv->reset); -#line 2330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (editing_tools_adjust_tool_adjust_reset_command_parent_class)->finalize (obj); -#line 18631 "EditingTools.c" +#line 18863 "EditingTools.c" } @@ -18657,62 +18889,62 @@ static EditingToolsAdjustToolSliderAdjustmentCommand* editing_tools_adjust_tool_ PixelTransformation* _tmp9_ = NULL; PixelTransformationType _tmp10_ = 0; PixelTransformationType _tmp11_ = 0; -#line 2368 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (owner), NULL); -#line 2368 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION (old_transformation), NULL); -#line 2368 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (IS_PIXEL_TRANSFORMATION (new_transformation), NULL); -#line 2368 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (name != NULL, NULL); -#line 2370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = owner; -#line 2370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = name; -#line 2370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = name; -#line 2370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = (EditingToolsAdjustToolSliderAdjustmentCommand*) editing_tools_adjust_tool_adjust_tool_command_construct (object_type, _tmp0_, _tmp1_, _tmp2_); -#line 2372 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2383 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = old_transformation; -#line 2372 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2383 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = _pixel_transformation_ref0 (_tmp3_); -#line 2372 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2383 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (self->priv->old_transformation); -#line 2372 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2383 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->old_transformation = _tmp4_; -#line 2373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2384 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = new_transformation; -#line 2373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2384 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = _pixel_transformation_ref0 (_tmp5_); -#line 2373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2384 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (self->priv->new_transformation); -#line 2373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2384 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->new_transformation = _tmp6_; -#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2385 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = old_transformation; -#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2385 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = pixel_transformation_get_transformation_type (_tmp7_); -#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2385 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->transformation_type = _tmp8_; -#line 2375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = new_transformation; -#line 2375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = pixel_transformation_get_transformation_type (_tmp9_); -#line 2375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = self->priv->transformation_type; -#line 2375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _vala_assert (_tmp10_ == _tmp11_, "new_transformation.get_transformation_type() == transformation_type"); -#line 2368 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self; -#line 18709 "EditingTools.c" +#line 18941 "EditingTools.c" } static EditingToolsAdjustToolSliderAdjustmentCommand* editing_tools_adjust_tool_slider_adjustment_command_new (EditingToolsAdjustTool* owner, PixelTransformation* old_transformation, PixelTransformation* new_transformation, const gchar* name) { -#line 2368 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return editing_tools_adjust_tool_slider_adjustment_command_construct (EDITING_TOOLS_ADJUST_TOOL_TYPE_SLIDER_ADJUSTMENT_COMMAND, owner, old_transformation, new_transformation, name); -#line 18716 "EditingTools.c" +#line 18948 "EditingTools.c" } @@ -18722,21 +18954,21 @@ static void editing_tools_adjust_tool_slider_adjustment_command_real_execute (Co PixelTransformation* _tmp1_ = NULL; EditingToolsAdjustTool* _tmp2_ = NULL; EditingToolsPhotoCanvas* _tmp3_ = NULL; -#line 2378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2389 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_SLIDER_ADJUSTMENT_COMMAND, EditingToolsAdjustToolSliderAdjustmentCommand); -#line 2380 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2380 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = self->priv->new_transformation; -#line 2380 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_update_transformation (_tmp0_, _tmp1_); -#line 2381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2392 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2392 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2392 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_repaint (_tmp3_); -#line 18740 "EditingTools.c" +#line 18972 "EditingTools.c" } @@ -18750,35 +18982,35 @@ static void editing_tools_adjust_tool_slider_adjustment_command_real_undo (Comma EditingToolsAdjustTool* _tmp5_ = NULL; EditingToolsAdjustTool* _tmp6_ = NULL; EditingToolsPhotoCanvas* _tmp7_ = NULL; -#line 2384 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_SLIDER_ADJUSTMENT_COMMAND, EditingToolsAdjustToolSliderAdjustmentCommand); -#line 2385 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2385 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = self->priv->old_transformation; -#line 2385 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_update_transformation (_tmp0_, _tmp1_); -#line 2387 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2387 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_unbind_window_handlers (_tmp2_); -#line 2388 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2399 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2388 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2399 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = self->priv->old_transformation; -#line 2388 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2399 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_update_slider (_tmp3_, _tmp4_); -#line 2389 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2400 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2389 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2400 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_bind_window_handlers (_tmp5_); -#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2402 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2402 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2402 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_repaint (_tmp7_); -#line 18782 "EditingTools.c" +#line 19014 "EditingTools.c" } @@ -18792,35 +19024,35 @@ static void editing_tools_adjust_tool_slider_adjustment_command_real_redo (Comma EditingToolsAdjustTool* _tmp5_ = NULL; EditingToolsAdjustTool* _tmp6_ = NULL; EditingToolsPhotoCanvas* _tmp7_ = NULL; -#line 2394 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2405 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_SLIDER_ADJUSTMENT_COMMAND, EditingToolsAdjustToolSliderAdjustmentCommand); -#line 2395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2406 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2406 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = self->priv->new_transformation; -#line 2395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2406 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_update_transformation (_tmp0_, _tmp1_); -#line 2397 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2408 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2397 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2408 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_unbind_window_handlers (_tmp2_); -#line 2398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = self->priv->new_transformation; -#line 2398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_update_slider (_tmp3_, _tmp4_); -#line 2399 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2399 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_bind_window_handlers (_tmp5_); -#line 2401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2412 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2412 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2412 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_photo_canvas_repaint (_tmp7_); -#line 18824 "EditingTools.c" +#line 19056 "EditingTools.c" } @@ -18841,121 +19073,121 @@ static gboolean editing_tools_adjust_tool_slider_adjustment_command_real_compres EditingToolsAdjustToolSliderAdjustmentCommand* _tmp10_ = NULL; PixelTransformation* _tmp11_ = NULL; PixelTransformation* _tmp12_ = NULL; -#line 2404 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2415 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_SLIDER_ADJUSTMENT_COMMAND, EditingToolsAdjustToolSliderAdjustmentCommand); -#line 2404 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2415 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (IS_COMMAND (command), FALSE); -#line 2405 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2416 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = command; -#line 2405 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2416 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, EDITING_TOOLS_ADJUST_TOOL_TYPE_SLIDER_ADJUSTMENT_COMMAND) ? ((EditingToolsAdjustToolSliderAdjustmentCommand*) _tmp0_) : NULL); -#line 2405 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2416 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" slider_adjustment = _tmp1_; -#line 2406 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2417 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = slider_adjustment; -#line 2406 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2417 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp2_ == NULL) { -#line 2407 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2418 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = FALSE; -#line 2407 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2418 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (slider_adjustment); -#line 2407 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2418 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 18865 "EditingTools.c" +#line 19097 "EditingTools.c" } -#line 2410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2421 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = slider_adjustment; -#line 2410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2421 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2421 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2421 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp4_ != _tmp5_) { -#line 2411 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2422 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = FALSE; -#line 2411 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2422 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (slider_adjustment); -#line 2411 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2422 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 18881 "EditingTools.c" +#line 19113 "EditingTools.c" } -#line 2414 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2425 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = slider_adjustment; -#line 2414 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2425 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = _tmp6_->priv->transformation_type; -#line 2414 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2425 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = self->priv->transformation_type; -#line 2414 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2425 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp7_ != _tmp8_) { -#line 2415 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2426 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = FALSE; -#line 2415 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2426 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (slider_adjustment); -#line 2415 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2426 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 18897 "EditingTools.c" +#line 19129 "EditingTools.c" } -#line 2418 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = slider_adjustment; -#line 2418 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" command_execute (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_COMMAND, Command)); -#line 2421 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2432 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = slider_adjustment; -#line 2421 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2432 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = _tmp10_->priv->new_transformation; -#line 2421 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2432 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp12_ = _pixel_transformation_ref0 (_tmp11_); -#line 2421 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2432 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (self->priv->new_transformation); -#line 2421 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2432 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->new_transformation = _tmp12_; -#line 2423 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = TRUE; -#line 2423 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (slider_adjustment); -#line 2423 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 18919 "EditingTools.c" +#line 19151 "EditingTools.c" } static void editing_tools_adjust_tool_slider_adjustment_command_class_init (EditingToolsAdjustToolSliderAdjustmentCommandClass * klass) { -#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_slider_adjustment_command_parent_class = g_type_class_peek_parent (klass); -#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_type_class_add_private (klass, sizeof (EditingToolsAdjustToolSliderAdjustmentCommandPrivate)); -#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ((CommandClass *) klass)->execute = editing_tools_adjust_tool_slider_adjustment_command_real_execute; -#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ((CommandClass *) klass)->undo = editing_tools_adjust_tool_slider_adjustment_command_real_undo; -#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ((CommandClass *) klass)->redo = editing_tools_adjust_tool_slider_adjustment_command_real_redo; -#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ((CommandClass *) klass)->compress = editing_tools_adjust_tool_slider_adjustment_command_real_compress; -#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (klass)->finalize = editing_tools_adjust_tool_slider_adjustment_command_finalize; -#line 18938 "EditingTools.c" +#line 19170 "EditingTools.c" } static void editing_tools_adjust_tool_slider_adjustment_command_instance_init (EditingToolsAdjustToolSliderAdjustmentCommand * self) { -#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv = EDITING_TOOLS_ADJUST_TOOL_SLIDER_ADJUSTMENT_COMMAND_GET_PRIVATE (self); -#line 18945 "EditingTools.c" +#line 19177 "EditingTools.c" } static void editing_tools_adjust_tool_slider_adjustment_command_finalize (GObject* obj) { EditingToolsAdjustToolSliderAdjustmentCommand * self; -#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_ADJUST_TOOL_TYPE_SLIDER_ADJUSTMENT_COMMAND, EditingToolsAdjustToolSliderAdjustmentCommand); -#line 2365 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2376 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (self->priv->new_transformation); -#line 2366 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2377 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_unref0 (self->priv->old_transformation); -#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (editing_tools_adjust_tool_slider_adjustment_command_parent_class)->finalize (obj); -#line 18959 "EditingTools.c" +#line 19191 "EditingTools.c" } @@ -18978,40 +19210,40 @@ static EditingToolsAdjustToolAdjustEnhanceCommand* editing_tools_adjust_tool_adj Photo* _tmp2_ = NULL; Photo* _tmp3_ = NULL; PixelTransformationBundle* _tmp4_ = NULL; -#line 2432 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (owner), NULL); -#line 2432 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (IS_PHOTO (photo), NULL); -#line 2433 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = owner; -#line 2433 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = (EditingToolsAdjustToolAdjustEnhanceCommand*) editing_tools_adjust_tool_adjust_tool_command_construct (object_type, _tmp0_, RESOURCES_ENHANCE_LABEL, RESOURCES_ENHANCE_TOOLTIP); -#line 2435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = photo; -#line 2435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = _g_object_ref0 (_tmp1_); -#line 2435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->priv->photo); -#line 2435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->photo = _tmp2_; -#line 2436 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = photo; -#line 2436 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = photo_get_color_adjustments (_tmp3_); -#line 2436 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_bundle_unref0 (self->priv->original); -#line 2436 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->original = _tmp4_; -#line 2432 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return self; -#line 19008 "EditingTools.c" +#line 19240 "EditingTools.c" } static EditingToolsAdjustToolAdjustEnhanceCommand* editing_tools_adjust_tool_adjust_enhance_command_new (EditingToolsAdjustTool* owner, Photo* photo) { -#line 2432 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return editing_tools_adjust_tool_adjust_enhance_command_construct (EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_ENHANCE_COMMAND, owner, photo); -#line 19015 "EditingTools.c" +#line 19247 "EditingTools.c" } @@ -19020,32 +19252,32 @@ static void editing_tools_adjust_tool_adjust_enhance_command_real_execute (Comma PixelTransformationBundle* _tmp0_ = NULL; EditingToolsAdjustTool* _tmp3_ = NULL; PixelTransformationBundle* _tmp4_ = NULL; -#line 2439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_ENHANCE_COMMAND, EditingToolsAdjustToolAdjustEnhanceCommand); -#line 2440 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2451 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = self->priv->enhanced; -#line 2440 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2451 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp0_ == NULL) { -#line 19030 "EditingTools.c" +#line 19262 "EditingTools.c" Photo* _tmp1_ = NULL; PixelTransformationBundle* _tmp2_ = NULL; -#line 2441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = self->priv->photo; -#line 2441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = photo_get_enhance_transformations (_tmp1_); -#line 2441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_bundle_unref0 (self->priv->enhanced); -#line 2441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->enhanced = _tmp2_; -#line 19041 "EditingTools.c" +#line 19273 "EditingTools.c" } -#line 2443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2454 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2454 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = self->priv->enhanced; -#line 2443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2454 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_set_adjustments (_tmp3_, _tmp4_); -#line 19049 "EditingTools.c" +#line 19281 "EditingTools.c" } @@ -19053,15 +19285,15 @@ static void editing_tools_adjust_tool_adjust_enhance_command_real_undo (Command* EditingToolsAdjustToolAdjustEnhanceCommand * self; EditingToolsAdjustTool* _tmp0_ = NULL; PixelTransformationBundle* _tmp1_ = NULL; -#line 2446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2457 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_ENHANCE_COMMAND, EditingToolsAdjustToolAdjustEnhanceCommand); -#line 2447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = self->priv->original; -#line 2447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_set_adjustments (_tmp0_, _tmp1_); -#line 19065 "EditingTools.c" +#line 19297 "EditingTools.c" } @@ -19079,21 +19311,21 @@ static gboolean editing_tools_adjust_tool_adjust_enhance_command_real_compress ( EditingToolsAdjustToolAdjustEnhanceCommand* _tmp15_ = NULL; EditingToolsAdjustTool* _tmp16_ = NULL; EditingToolsAdjustTool* _tmp17_ = NULL; -#line 2450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2461 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_ENHANCE_COMMAND, EditingToolsAdjustToolAdjustEnhanceCommand); -#line 2450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2461 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_return_val_if_fail (IS_COMMAND (command), FALSE); -#line 2452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp0_ = command; -#line 2452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_ENHANCE_SINGLE_COMMAND) ? ((EnhanceSingleCommand*) _tmp0_) : NULL); -#line 2452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" enhance_single = _tmp1_; -#line 2453 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp2_ = enhance_single; -#line 2453 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp2_ != NULL) { -#line 19097 "EditingTools.c" +#line 19329 "EditingTools.c" Photo* photo = NULL; EnhanceSingleCommand* _tmp3_ = NULL; DataSource* _tmp4_ = NULL; @@ -19104,127 +19336,127 @@ static gboolean editing_tools_adjust_tool_adjust_enhance_command_real_compress ( Photo* _tmp9_ = NULL; gboolean _tmp10_ = FALSE; gboolean _tmp11_ = FALSE; -#line 2454 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2465 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp3_ = enhance_single; -#line 2454 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2465 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp4_ = single_data_source_command_get_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_SINGLE_DATA_SOURCE_COMMAND, SingleDataSourceCommand)); -#line 2454 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2465 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" photo = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_PHOTO, Photo); -#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp5_ = photo; -#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas; -#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp8_ = editing_tools_photo_canvas_get_photo (_tmp7_); -#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp9_ = _tmp8_; -#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp10_ = data_source_equals (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_SOURCE, DataSource), G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_DATA_SOURCE, DataSource)); -#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp11_ = _tmp10_; -#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (_tmp9_); -#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = _tmp11_; -#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (photo); -#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (enhance_single); -#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 19138 "EditingTools.c" +#line 19370 "EditingTools.c" } -#line 2461 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2472 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp12_ = command; -#line 2461 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2472 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp13_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp12_, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_ENHANCE_COMMAND) ? ((EditingToolsAdjustToolAdjustEnhanceCommand*) _tmp12_) : NULL); -#line 2461 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2472 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" enhance_command = _tmp13_; -#line 2462 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2473 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp14_ = enhance_command; -#line 2462 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2473 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp14_ == NULL) { -#line 2463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2474 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = FALSE; -#line 2463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2474 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (enhance_command); -#line 2463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2474 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (enhance_single); -#line 2463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2474 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 19158 "EditingTools.c" +#line 19390 "EditingTools.c" } -#line 2465 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2476 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp15_ = enhance_command; -#line 2465 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2476 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp16_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2465 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2476 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _tmp17_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner; -#line 2465 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2476 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" if (_tmp16_ != _tmp17_) { -#line 2466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2477 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = FALSE; -#line 2466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2477 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (enhance_command); -#line 2466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2477 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (enhance_single); -#line 2466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2477 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 19176 "EditingTools.c" +#line 19408 "EditingTools.c" } -#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2480 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" result = TRUE; -#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2480 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (enhance_command); -#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2480 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (enhance_single); -#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2480 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" return result; -#line 19186 "EditingTools.c" +#line 19418 "EditingTools.c" } static void editing_tools_adjust_tool_adjust_enhance_command_class_init (EditingToolsAdjustToolAdjustEnhanceCommandClass * klass) { -#line 2427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" editing_tools_adjust_tool_adjust_enhance_command_parent_class = g_type_class_peek_parent (klass); -#line 2427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" g_type_class_add_private (klass, sizeof (EditingToolsAdjustToolAdjustEnhanceCommandPrivate)); -#line 2427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ((CommandClass *) klass)->execute = editing_tools_adjust_tool_adjust_enhance_command_real_execute; -#line 2427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ((CommandClass *) klass)->undo = editing_tools_adjust_tool_adjust_enhance_command_real_undo; -#line 2427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ((CommandClass *) klass)->compress = editing_tools_adjust_tool_adjust_enhance_command_real_compress; -#line 2427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (klass)->finalize = editing_tools_adjust_tool_adjust_enhance_command_finalize; -#line 19203 "EditingTools.c" +#line 19435 "EditingTools.c" } static void editing_tools_adjust_tool_adjust_enhance_command_instance_init (EditingToolsAdjustToolAdjustEnhanceCommand * self) { -#line 2427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv = EDITING_TOOLS_ADJUST_TOOL_ADJUST_ENHANCE_COMMAND_GET_PRIVATE (self); -#line 2430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->enhanced = NULL; -#line 19212 "EditingTools.c" +#line 19444 "EditingTools.c" } static void editing_tools_adjust_tool_adjust_enhance_command_finalize (GObject* obj) { EditingToolsAdjustToolAdjustEnhanceCommand * self; -#line 2427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_ENHANCE_COMMAND, EditingToolsAdjustToolAdjustEnhanceCommand); -#line 2428 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->priv->photo); -#line 2429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2440 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_bundle_unref0 (self->priv->original); -#line 2430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_bundle_unref0 (self->priv->enhanced); -#line 2427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" G_OBJECT_CLASS (editing_tools_adjust_tool_adjust_enhance_command_parent_class)->finalize (obj); -#line 19228 "EditingTools.c" +#line 19460 "EditingTools.c" } @@ -19259,50 +19491,52 @@ static void editing_tools_adjust_tool_class_init (EditingToolsAdjustToolClass * ((EditingToolsEditingToolClass *) klass)->get_display_pixbuf = editing_tools_adjust_tool_real_get_display_pixbuf; #line 2200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" ((EditingToolsEditingToolClass *) klass)->on_keypress = editing_tools_adjust_tool_real_on_keypress; -#line 19263 "EditingTools.c" +#line 19495 "EditingTools.c" } static void editing_tools_adjust_tool_instance_init (EditingToolsAdjustTool * self) { #line 2200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv = EDITING_TOOLS_ADJUST_TOOL_GET_PRIVATE (self); -#line 2473 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2484 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->adjust_tool_window = NULL; -#line 2474 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2485 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->suppress_effect_redraw = FALSE; -#line 2475 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->draw_to_pixbuf = NULL; -#line 2476 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2487 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->histogram_pixbuf = NULL; -#line 2477 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2488 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->virgin_histogram_pixbuf = NULL; -#line 2478 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->transformer = NULL; -#line 2479 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2490 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->histogram_transformer = NULL; -#line 2480 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2491 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->transformations = NULL; -#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2492 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->fp_pixel_cache = NULL; -#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2492 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->fp_pixel_cache_length1 = 0; -#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2492 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->_fp_pixel_cache_size_ = self->priv->fp_pixel_cache_length1; -#line 2482 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2493 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->disable_histogram_refresh = FALSE; -#line 2483 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2494 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->temperature_scheduler = NULL; -#line 2484 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->tint_scheduler = NULL; -#line 2485 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2496 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + self->priv->contrast_scheduler = NULL; +#line 2497 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->saturation_scheduler = NULL; -#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->exposure_scheduler = NULL; -#line 2487 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2499 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->shadows_scheduler = NULL; -#line 2488 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2500 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->highlights_scheduler = NULL; -#line 19306 "EditingTools.c" +#line 19540 "EditingTools.c" } @@ -19310,37 +19544,39 @@ static void editing_tools_adjust_tool_finalize (EditingToolsEditingTool* obj) { EditingToolsAdjustTool * self; #line 2200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_TYPE_ADJUST_TOOL, EditingToolsAdjustTool); -#line 2473 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2484 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->priv->adjust_tool_window); -#line 2475 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->priv->draw_to_pixbuf); -#line 2476 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2487 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->priv->histogram_pixbuf); -#line 2477 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2488 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _g_object_unref0 (self->priv->virgin_histogram_pixbuf); -#line 2478 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformer_unref0 (self->priv->transformer); -#line 2479 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2490 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformer_unref0 (self->priv->histogram_transformer); -#line 2480 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2491 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _pixel_transformation_bundle_unref0 (self->priv->transformations); -#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2492 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" self->priv->fp_pixel_cache = (g_free (self->priv->fp_pixel_cache), NULL); -#line 2483 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2494 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _one_shot_scheduler_unref0 (self->priv->temperature_scheduler); -#line 2484 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _one_shot_scheduler_unref0 (self->priv->tint_scheduler); -#line 2485 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2496 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" + _one_shot_scheduler_unref0 (self->priv->contrast_scheduler); +#line 2497 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _one_shot_scheduler_unref0 (self->priv->saturation_scheduler); -#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _one_shot_scheduler_unref0 (self->priv->exposure_scheduler); -#line 2487 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2499 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _one_shot_scheduler_unref0 (self->priv->shadows_scheduler); -#line 2488 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" +#line 2500 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" _one_shot_scheduler_unref0 (self->priv->highlights_scheduler); #line 2200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala" EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_adjust_tool_parent_class)->finalize (obj); -#line 19344 "EditingTools.c" +#line 19580 "EditingTools.c" } diff --git a/src/editing_tools/EditingTools.vala b/src/editing_tools/EditingTools.vala index c61a38c..b2ba172 100644 --- a/src/editing_tools/EditingTools.vala +++ b/src/editing_tools/EditingTools.vala @@ -755,28 +755,28 @@ public class CropTool : EditingTool { result += new ConstraintDescription(_("Screen"), 0, 0, true, SCREEN_ASPECT_RATIO); result += new ConstraintDescription(_("Original Size"), 0, 0, true, ORIGINAL_ASPECT_RATIO); result += new ConstraintDescription(_("-"), 0, 0, false, SEPARATOR); - result += new ConstraintDescription(_("SD Video (4 : 3)"), 4, 3, true); - result += new ConstraintDescription(_("HD Video (16 : 9)"), 16, 9, true); + result += new ConstraintDescription(_("SD Video (4 ∶ 3)"), 4, 3, true); + result += new ConstraintDescription(_("HD Video (16 ∶ 9)"), 16, 9, true); result += new ConstraintDescription(_("-"), 0, 0, false, SEPARATOR); - result += new ConstraintDescription(_("Wallet (2 x 3 in.)"), 3, 2, true); - result += new ConstraintDescription(_("Notecard (3 x 5 in.)"), 5, 3, true); - result += new ConstraintDescription(_("4 x 6 in."), 6, 4, true); - result += new ConstraintDescription(_("5 x 7 in."), 7, 5, true); - result += new ConstraintDescription(_("8 x 10 in."), 10, 8, true); - result += new ConstraintDescription(_("Letter (8.5 x 11 in.)"), 85, 110, true); - result += new ConstraintDescription(_("11 x 14 in."), 14, 11, true); - result += new ConstraintDescription(_("Tabloid (11 x 17 in.)"), 17, 11, true); - result += new ConstraintDescription(_("16 x 20 in."), 20, 16, true); + result += new ConstraintDescription(_("Wallet (2 × 3 in.)"), 3, 2, true); + result += new ConstraintDescription(_("Notecard (3 × 5 in.)"), 5, 3, true); + result += new ConstraintDescription(_("4 × 6 in."), 6, 4, true); + result += new ConstraintDescription(_("5 × 7 in."), 7, 5, true); + result += new ConstraintDescription(_("8 × 10 in."), 10, 8, true); + result += new ConstraintDescription(_("Letter (8.5 × 11 in.)"), 85, 110, true); + result += new ConstraintDescription(_("11 × 14 in."), 14, 11, true); + result += new ConstraintDescription(_("Tabloid (11 × 17 in.)"), 17, 11, true); + result += new ConstraintDescription(_("16 × 20 in."), 20, 16, true); result += new ConstraintDescription(_("-"), 0, 0, false, SEPARATOR); - result += new ConstraintDescription(_("Metric Wallet (9 x 13 cm)"), 13, 9, true); - result += new ConstraintDescription(_("Postcard (10 x 15 cm)"), 15, 10, true); - result += new ConstraintDescription(_("13 x 18 cm"), 18, 13, true); - result += new ConstraintDescription(_("18 x 24 cm"), 24, 18, true); - result += new ConstraintDescription(_("A4 (210 x 297 mm)"), 210, 297, true); - result += new ConstraintDescription(_("20 x 30 cm"), 30, 20, true); - result += new ConstraintDescription(_("24 x 40 cm"), 40, 24, true); - result += new ConstraintDescription(_("30 x 40 cm"), 40, 30, true); - result += new ConstraintDescription(_("A3 (297 x 420 mm)"), 420, 297, true); + result += new ConstraintDescription(_("Metric Wallet (9 × 13 cm)"), 13, 9, true); + result += new ConstraintDescription(_("Postcard (10 × 15 cm)"), 15, 10, true); + result += new ConstraintDescription(_("13 × 18 cm"), 18, 13, true); + result += new ConstraintDescription(_("18 × 24 cm"), 24, 18, true); + result += new ConstraintDescription(_("A4 (210 × 297 mm)"), 210, 297, true); + result += new ConstraintDescription(_("20 × 30 cm"), 30, 20, true); + result += new ConstraintDescription(_("24 × 40 cm"), 40, 24, true); + result += new ConstraintDescription(_("30 × 40 cm"), 40, 30, true); + result += new ConstraintDescription(_("A3 (297 × 420 mm)"), 420, 297, true); result += new ConstraintDescription(_("-"), 0, 0, false, SEPARATOR); result += new ConstraintDescription(_("Custom"), 0, 0, true, CUSTOM_ASPECT_RATIO); @@ -2205,6 +2205,9 @@ public class AdjustTool : EditingTool { public Gtk.Scale exposure_slider = new Gtk.Scale.with_range(Gtk.Orientation.HORIZONTAL, ExposureTransformation.MIN_PARAMETER, ExposureTransformation.MAX_PARAMETER, 1.0); + public Gtk.HScale contrast_slider = new Gtk.HScale.with_range( + ContrastTransformation.MIN_PARAMETER, ContrastTransformation.MAX_PARAMETER, + 1.0); public Gtk.Scale saturation_slider = new Gtk.Scale.with_range(Gtk.Orientation.HORIZONTAL, SaturationTransformation.MIN_PARAMETER, SaturationTransformation.MAX_PARAMETER, 1.0); @@ -2244,19 +2247,27 @@ public class AdjustTool : EditingTool { exposure_slider.set_size_request(SLIDER_WIDTH, -1); exposure_slider.set_draw_value(false); exposure_slider.set_margin_right(0); - + + Gtk.Label contrast_label = new Gtk.Label.with_mnemonic(_("Contrast:")); + contrast_label.set_alignment(0.0f, 0.5f); + slider_organizer.attach(contrast_label, 0, 1, 1, 1); + slider_organizer.attach(contrast_slider, 1, 1, 1, 1); + contrast_slider.set_size_request(SLIDER_WIDTH, -1); + contrast_slider.set_draw_value(false); + contrast_slider.set_margin_right(0); + Gtk.Label saturation_label = new Gtk.Label.with_mnemonic(_("Saturation:")); saturation_label.set_alignment(0.0f, 0.5f); - slider_organizer.attach(saturation_label, 0, 1, 1, 1); - slider_organizer.attach(saturation_slider, 1, 1, 1, 1); + slider_organizer.attach(saturation_label, 0, 2, 1, 1); + slider_organizer.attach(saturation_slider, 1, 2, 1, 1); saturation_slider.set_size_request(SLIDER_WIDTH, -1); saturation_slider.set_draw_value(false); saturation_slider.set_margin_right(0); Gtk.Label tint_label = new Gtk.Label.with_mnemonic(_("Tint:")); tint_label.set_alignment(0.0f, 0.5f); - slider_organizer.attach(tint_label, 0, 2, 1, 1); - slider_organizer.attach(tint_slider, 1, 2, 1, 1); + slider_organizer.attach(tint_label, 0, 3, 1, 1); + slider_organizer.attach(tint_slider, 1, 3, 1, 1); tint_slider.set_size_request(SLIDER_WIDTH, -1); tint_slider.set_draw_value(false); tint_slider.set_margin_right(0); @@ -2264,24 +2275,24 @@ public class AdjustTool : EditingTool { Gtk.Label temperature_label = new Gtk.Label.with_mnemonic(_("Temperature:")); temperature_label.set_alignment(0.0f, 0.5f); - slider_organizer.attach(temperature_label, 0, 3, 1, 1); - slider_organizer.attach(temperature_slider, 1, 3, 1, 1); + slider_organizer.attach(temperature_label, 0, 4, 1, 1); + slider_organizer.attach(temperature_slider, 1, 4, 1, 1); temperature_slider.set_size_request(SLIDER_WIDTH, -1); temperature_slider.set_draw_value(false); temperature_slider.set_margin_right(0); Gtk.Label shadows_label = new Gtk.Label.with_mnemonic(_("Shadows:")); shadows_label.set_alignment(0.0f, 0.5f); - slider_organizer.attach(shadows_label, 0, 4, 1, 1); - slider_organizer.attach(shadows_slider, 1, 4, 1, 1); + slider_organizer.attach(shadows_label, 0, 5, 1, 1); + slider_organizer.attach(shadows_slider, 1, 5, 1, 1); shadows_slider.set_size_request(SLIDER_WIDTH, -1); shadows_slider.set_draw_value(false); shadows_slider.set_margin_right(0); Gtk.Label highlights_label = new Gtk.Label.with_mnemonic(_("Highlights:")); highlights_label.set_alignment(0.0f, 0.5f); - slider_organizer.attach(highlights_label, 0, 5, 1, 1); - slider_organizer.attach(highlights_slider, 1, 5, 1, 1); + slider_organizer.attach(highlights_label, 0, 6, 1, 1); + slider_organizer.attach(highlights_slider, 1, 6, 1, 1); highlights_slider.set_size_request(SLIDER_WIDTH, -1); highlights_slider.set_draw_value(false); @@ -2482,6 +2493,7 @@ public class AdjustTool : EditingTool { private bool disable_histogram_refresh = false; private OneShotScheduler? temperature_scheduler = null; private OneShotScheduler? tint_scheduler = null; + private OneShotScheduler? contrast_scheduler = null; private OneShotScheduler? saturation_scheduler = null; private OneShotScheduler? exposure_scheduler = null; private OneShotScheduler? shadows_scheduler = null; @@ -2552,6 +2564,12 @@ public class AdjustTool : EditingTool { histogram_transformer.attach_transformation(exposure_trans); adjust_tool_window.exposure_slider.set_value(exposure_trans.get_parameter()); + /* set up contrast */ + ContrastTransformation contrast_trans = (ContrastTransformation) + transformations.get_transformation(PixelTransformationType.CONTRAST); + histogram_transformer.attach_transformation(contrast_trans); + adjust_tool_window.contrast_slider.set_value(contrast_trans.get_parameter()); + bind_canvas_handlers(canvas); bind_window_handlers(); @@ -2690,7 +2708,6 @@ public class AdjustTool : EditingTool { private void on_tint_adjustment() { if (tint_scheduler == null) tint_scheduler = new OneShotScheduler("tint", on_delayed_tint_adjustment); - tint_scheduler.after_timeout(SLIDER_DELAY_MSEC, true); } @@ -2700,6 +2717,19 @@ public class AdjustTool : EditingTool { slider_updated(new_tint_trans, _("Tint")); } + private void on_contrast_adjustment() { + if (this.contrast_scheduler == null) + this.contrast_scheduler = new OneShotScheduler("contrast", on_delayed_contrast_adjustment); + this.contrast_scheduler.after_timeout(SLIDER_DELAY_MSEC, true); + } + + private void on_delayed_contrast_adjustment() { + ContrastTransformation new_exp_trans = new ContrastTransformation( + (float) adjust_tool_window.contrast_slider.get_value()); + slider_updated(new_exp_trans, _("Contrast")); + } + + private void on_saturation_adjustment() { if (saturation_scheduler == null) saturation_scheduler = new OneShotScheduler("saturation", on_delayed_saturation_adjustment); @@ -2794,6 +2824,7 @@ public class AdjustTool : EditingTool { adjust_tool_window.reset_button.clicked.connect(on_reset); adjust_tool_window.cancel_button.clicked.connect(notify_cancel); adjust_tool_window.exposure_slider.value_changed.connect(on_exposure_adjustment); + adjust_tool_window.contrast_slider.value_changed.connect(on_contrast_adjustment); adjust_tool_window.saturation_slider.value_changed.connect(on_saturation_adjustment); adjust_tool_window.tint_slider.value_changed.connect(on_tint_adjustment); adjust_tool_window.temperature_slider.value_changed.connect(on_temperature_adjustment); @@ -2803,6 +2834,7 @@ public class AdjustTool : EditingTool { adjust_tool_window.saturation_slider.button_press_event.connect(on_hscale_reset); adjust_tool_window.exposure_slider.button_press_event.connect(on_hscale_reset); + adjust_tool_window.contrast_slider.button_press_event.connect(on_hscale_reset); adjust_tool_window.tint_slider.button_press_event.connect(on_hscale_reset); adjust_tool_window.temperature_slider.button_press_event.connect(on_hscale_reset); adjust_tool_window.shadows_slider.button_press_event.connect(on_hscale_reset); @@ -2814,6 +2846,7 @@ public class AdjustTool : EditingTool { adjust_tool_window.reset_button.clicked.disconnect(on_reset); adjust_tool_window.cancel_button.clicked.disconnect(notify_cancel); adjust_tool_window.exposure_slider.value_changed.disconnect(on_exposure_adjustment); + adjust_tool_window.contrast_slider.value_changed.disconnect(on_contrast_adjustment); adjust_tool_window.saturation_slider.value_changed.disconnect(on_saturation_adjustment); adjust_tool_window.tint_slider.value_changed.disconnect(on_tint_adjustment); adjust_tool_window.temperature_slider.value_changed.disconnect(on_temperature_adjustment); @@ -2823,6 +2856,7 @@ public class AdjustTool : EditingTool { adjust_tool_window.saturation_slider.button_press_event.disconnect(on_hscale_reset); adjust_tool_window.exposure_slider.button_press_event.disconnect(on_hscale_reset); + adjust_tool_window.contrast_slider.button_press_event.disconnect(on_hscale_reset); adjust_tool_window.tint_slider.button_press_event.disconnect(on_hscale_reset); adjust_tool_window.temperature_slider.button_press_event.disconnect(on_hscale_reset); adjust_tool_window.shadows_slider.button_press_event.disconnect(on_hscale_reset); @@ -2876,6 +2910,11 @@ public class AdjustTool : EditingTool { ((ShadowDetailTransformation) transformation).get_parameter()); break; + case PixelTransformationType.CONTRAST: + adjust_tool_window.contrast_slider.set_value( + ((ContrastTransformation) transformation).get_parameter()); + break; + case PixelTransformationType.HIGHLIGHTS: adjust_tool_window.highlights_slider.set_value( ((HighlightDetailTransformation) transformation).get_parameter()); diff --git a/src/events/EventDirectoryItem.c b/src/events/EventDirectoryItem.c index 5f70718..c15f5e7 100644 --- a/src/events/EventDirectoryItem.c +++ b/src/events/EventDirectoryItem.c @@ -1155,7 +1155,7 @@ static void event_directory_item_real_exposed (CheckerboardItem* base) { #line 107 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1158 "EventDirectoryItem.c" - goto __catch49_g_error; + goto __catch50_g_error; } #line 107 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" checkerboard_item_set_image (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), _tmp1_); @@ -1163,8 +1163,8 @@ static void event_directory_item_real_exposed (CheckerboardItem* base) { _g_object_unref0 (_tmp1_); #line 1165 "EventDirectoryItem.c" } - goto __finally49; - __catch49_g_error: + goto __finally50; + __catch50_g_error: { GError* err = NULL; Event* _tmp8_ = NULL; @@ -1194,7 +1194,7 @@ static void event_directory_item_real_exposed (CheckerboardItem* base) { _g_error_free0 (err); #line 1196 "EventDirectoryItem.c" } - __finally49: + __finally50: #line 106 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 106 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" @@ -1321,7 +1321,7 @@ static void event_directory_item_real_thumbnail_altered (ThumbnailView* base) { #line 140 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1324 "EventDirectoryItem.c" - goto __catch50_g_error; + goto __catch51_g_error; } #line 140 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" checkerboard_item_set_image (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), _tmp5_); @@ -1329,8 +1329,8 @@ static void event_directory_item_real_thumbnail_altered (ThumbnailView* base) { _g_object_unref0 (_tmp5_); #line 1331 "EventDirectoryItem.c" } - goto __finally50; - __catch50_g_error: + goto __finally51; + __catch51_g_error: { GError* err = NULL; Event* _tmp9_ = NULL; @@ -1360,7 +1360,7 @@ static void event_directory_item_real_thumbnail_altered (ThumbnailView* base) { _g_error_free0 (err); #line 1362 "EventDirectoryItem.c" } - __finally50: + __finally51: #line 139 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 139 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" diff --git a/src/events/EventPage.c b/src/events/EventPage.c index 492b7a6..0c1e86a 100644 --- a/src/events/EventPage.c +++ b/src/events/EventPage.c @@ -836,9 +836,9 @@ static void _event_page_on_make_primary_gtk_action_callback (GtkAction* action, static void _vala_array_add130 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); static void event_page_on_rename (EventPage* self); static void _event_page_on_rename_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_RENAME_EVENT_MENU _ ("Re_name Event...") +#define RESOURCES_RENAME_EVENT_MENU _ ("Re_name Event…") static void _vala_array_add131 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); -#define RESOURCES_EDIT_EVENT_COMMENT_MENU _ ("Edit Event _Comment...") +#define RESOURCES_EDIT_EVENT_COMMENT_MENU _ ("Edit Event _Comment…") void media_page_on_edit_comment (MediaPage* self); static void _media_page_on_edit_comment_gtk_action_callback (GtkAction* action, gpointer self); static void _vala_array_add132 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); diff --git a/src/events/EventsDirectoryPage.c b/src/events/EventsDirectoryPage.c index f4f08e0..a009036 100644 --- a/src/events/EventsDirectoryPage.c +++ b/src/events/EventsDirectoryPage.c @@ -992,14 +992,14 @@ GtkActionEntry* page_init_collect_action_entries (Page* self, int* result_length #define TRANSLATABLE "translatable" static void events_directory_page_on_rename (EventsDirectoryPage* self); static void _events_directory_page_on_rename_gtk_action_callback (GtkAction* action, gpointer self); -#define RESOURCES_RENAME_EVENT_MENU _ ("Re_name Event...") +#define RESOURCES_RENAME_EVENT_MENU _ ("Re_name Event…") static void _vala_array_add126 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_MERGE_TOOLTIP _ ("Combine events into a single event") static void events_directory_page_on_merge (EventsDirectoryPage* self); static void _events_directory_page_on_merge_gtk_action_callback (GtkAction* action, gpointer self); #define RESOURCES_MERGE_MENU _ ("_Merge Events") static void _vala_array_add127 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); -#define RESOURCES_EDIT_COMMENT_MENU _ ("Edit _Comment...") +#define RESOURCES_EDIT_COMMENT_MENU _ ("Edit _Comment…") void events_directory_page_on_edit_comment (EventsDirectoryPage* self); static void _events_directory_page_on_edit_comment_gtk_action_callback (GtkAction* action, gpointer self); static void _vala_array_add128 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); diff --git a/src/folders/Branch.c b/src/folders/Branch.c index 469846b..3cb5c74 100644 --- a/src/folders/Branch.c +++ b/src/folders/Branch.c @@ -558,7 +558,7 @@ static void _vala_folders_sidebar_entry_set_property (GObject * object, guint pr static void _folders_branch_on_media_contents_altered_data_collection_contents_altered (DataCollection* _sender, GeeIterable* added, GeeIterable* removed, gpointer self) { -#line 28 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 31 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_branch_on_media_contents_altered ((FoldersBranch*) self, added, removed); #line 564 "Branch.c" } @@ -602,16 +602,16 @@ FoldersBranch* folders_branch_construct (GType object_type) { #line 13 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp1_ = _tmp0_; #line 13 "/home/jens/Source/shotwell/src/folders/Branch.vala" - self = (FoldersBranch*) sidebar_branch_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, SIDEBAR_TYPE_ENTRY, SidebarEntry), SIDEBAR_BRANCH_OPTIONS_STARTUP_OPEN_GROUPING, _folders_branch_comparator_gcompare_func, NULL); + self = (FoldersBranch*) sidebar_branch_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, SIDEBAR_TYPE_ENTRY, SidebarEntry), SIDEBAR_BRANCH_OPTIONS_STARTUP_OPEN_GROUPING | SIDEBAR_BRANCH_OPTIONS_HIDE_IF_EMPTY, _folders_branch_comparator_gcompare_func, NULL); #line 13 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (_tmp1_); -#line 15 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 18 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp2_ = g_get_home_dir (); -#line 15 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 18 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp3_ = g_file_new_for_path (_tmp2_); -#line 15 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 18 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (self->priv->home_dir); -#line 15 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 18 "/home/jens/Source/shotwell/src/folders/Branch.vala" self->priv->home_dir = _tmp3_; #line 617 "Branch.c" { @@ -622,25 +622,25 @@ FoldersBranch* folders_branch_construct (GType object_type) { GeeCollection* _tmp7_ = NULL; GeeIterator* _tmp8_ = NULL; GeeIterator* _tmp9_ = NULL; -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp4_ = media_collection_registry_get_instance (); -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp5_ = _tmp4_; -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp6_ = media_collection_registry_get_all (_tmp5_); -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp7_ = _tmp6_; -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp8_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp9_ = _tmp8_; -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (_tmp7_); -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" _media_collection_registry_unref0 (_tmp5_); -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" _sources_it = _tmp9_; -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" while (TRUE) { #line 646 "Branch.c" GeeIterator* _tmp10_ = NULL; @@ -652,41 +652,41 @@ FoldersBranch* folders_branch_construct (GType object_type) { GeeCollection* _tmp15_ = NULL; GeeCollection* _tmp16_ = NULL; MediaSourceCollection* _tmp17_ = NULL; -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp10_ = _sources_it; -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp11_ = gee_iterator_next (_tmp10_); -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (!_tmp11_) { -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; #line 664 "Branch.c" } -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp12_ = _sources_it; -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp13_ = gee_iterator_get (_tmp12_); -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" sources = (MediaSourceCollection*) _tmp13_; -#line 19 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 22 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp14_ = sources; -#line 19 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 22 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp15_ = data_collection_get_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_COLLECTION, DataCollection)); -#line 19 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 22 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp16_ = _tmp15_; -#line 19 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 22 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_branch_on_media_contents_altered (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_ITERABLE, GeeIterable), NULL); -#line 19 "/home/jens/Source/shotwell/src/folders/Branch.vala" - _g_object_unref0 (_tmp16_); #line 22 "/home/jens/Source/shotwell/src/folders/Branch.vala" + _g_object_unref0 (_tmp16_); +#line 25 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp17_ = sources; -#line 22 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 25 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_DATA_COLLECTION, DataCollection), "contents-altered", (GCallback) _folders_branch_on_media_contents_altered_data_collection_contents_altered, self, 0); -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" _data_collection_unref0 (sources); #line 688 "Branch.c" } -#line 17 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 20 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (_sources_it); #line 692 "Branch.c" } @@ -717,43 +717,43 @@ static gint folders_branch_comparator (SidebarEntry* a, SidebarEntry* b) { const gchar* _tmp8_ = NULL; gint _tmp9_ = 0; gint _tmp10_ = 0; -#line 31 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 34 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_val_if_fail (SIDEBAR_IS_ENTRY (a), 0); -#line 31 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 34 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_val_if_fail (SIDEBAR_IS_ENTRY (b), 0); -#line 32 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 35 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = a; -#line 32 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 35 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp1_ = b; -#line 32 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 35 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp0_ == _tmp1_) { -#line 33 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 36 "/home/jens/Source/shotwell/src/folders/Branch.vala" result = 0; -#line 33 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 36 "/home/jens/Source/shotwell/src/folders/Branch.vala" return result; #line 735 "Branch.c" } -#line 35 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 38 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp2_ = g_strcmp0; -#line 35 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 38 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp3_ = a; -#line 35 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 38 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp4_ = folders_sidebar_entry_get_collation (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, FOLDERS_TYPE_SIDEBAR_ENTRY, FoldersSidebarEntry)); -#line 35 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 38 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp5_ = _tmp4_; -#line 35 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 38 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp6_ = b; -#line 35 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 38 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp7_ = folders_sidebar_entry_get_collation (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, FOLDERS_TYPE_SIDEBAR_ENTRY, FoldersSidebarEntry)); -#line 35 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 38 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp8_ = _tmp7_; -#line 35 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 38 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp9_ = _tmp2_ (_tmp5_, _tmp8_); -#line 35 "/home/jens/Source/shotwell/src/folders/Branch.vala" - coll_key_equality = _tmp9_; #line 38 "/home/jens/Source/shotwell/src/folders/Branch.vala" + coll_key_equality = _tmp9_; +#line 41 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp10_ = coll_key_equality; -#line 38 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 41 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp10_ == 0) { #line 759 "Branch.c" GCompareFunc _tmp11_ = NULL; @@ -765,37 +765,37 @@ static gint folders_branch_comparator (SidebarEntry* a, SidebarEntry* b) { gchar* _tmp17_ = NULL; gint _tmp18_ = 0; gint _tmp19_ = 0; -#line 41 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 44 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp11_ = g_strcmp0; -#line 41 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 44 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp12_ = a; -#line 41 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 44 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp13_ = sidebar_simple_page_entry_get_sidebar_name (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, FOLDERS_TYPE_SIDEBAR_ENTRY, FoldersSidebarEntry), SIDEBAR_TYPE_SIMPLE_PAGE_ENTRY, SidebarSimplePageEntry)); -#line 41 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 44 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp14_ = _tmp13_; -#line 41 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 44 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp15_ = b; -#line 41 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 44 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp16_ = sidebar_simple_page_entry_get_sidebar_name (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, FOLDERS_TYPE_SIDEBAR_ENTRY, FoldersSidebarEntry), SIDEBAR_TYPE_SIMPLE_PAGE_ENTRY, SidebarSimplePageEntry)); -#line 41 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 44 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp17_ = _tmp16_; -#line 41 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 44 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp18_ = _tmp11_ (_tmp14_, _tmp17_); -#line 41 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 44 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp19_ = _tmp18_; -#line 41 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 44 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_free0 (_tmp17_); -#line 41 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 44 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_free0 (_tmp14_); -#line 41 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 44 "/home/jens/Source/shotwell/src/folders/Branch.vala" result = _tmp19_; -#line 41 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 44 "/home/jens/Source/shotwell/src/folders/Branch.vala" return result; #line 795 "Branch.c" } -#line 45 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 48 "/home/jens/Source/shotwell/src/folders/Branch.vala" result = coll_key_equality; -#line 45 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 48 "/home/jens/Source/shotwell/src/folders/Branch.vala" return result; #line 801 "Branch.c" } @@ -804,28 +804,28 @@ static gint folders_branch_comparator (SidebarEntry* a, SidebarEntry* b) { static void folders_branch_on_master_source_replaced (FoldersBranch* self, MediaSource* media_source, GFile* old_file, GFile* new_file) { GFile* _tmp0_ = NULL; MediaSource* _tmp1_ = NULL; -#line 48 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 51 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_if_fail (FOLDERS_IS_BRANCH (self)); -#line 48 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 51 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_if_fail (IS_MEDIA_SOURCE (media_source)); -#line 48 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 51 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_if_fail (G_IS_FILE (old_file)); -#line 48 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 51 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_if_fail (G_IS_FILE (new_file)); -#line 49 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 52 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = old_file; -#line 49 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 52 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_branch_remove_entry (self, _tmp0_); -#line 50 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 53 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp1_ = media_source; -#line 50 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 53 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_branch_add_entry (self, _tmp1_); #line 824 "Branch.c" } static void _folders_branch_on_master_source_replaced_media_source_master_replaced (MediaSource* _sender, GFile* old_file, GFile* new_file, gpointer self) { -#line 57 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 60 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_branch_on_master_source_replaced ((FoldersBranch*) self, _sender, old_file, new_file); #line 831 "Branch.c" } @@ -834,28 +834,28 @@ static void _folders_branch_on_master_source_replaced_media_source_master_replac static void folders_branch_on_media_contents_altered (FoldersBranch* self, GeeIterable* added, GeeIterable* removed) { GeeIterable* _tmp0_ = NULL; GeeIterable* _tmp9_ = NULL; -#line 53 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 56 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_if_fail (FOLDERS_IS_BRANCH (self)); -#line 53 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 56 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_if_fail ((added == NULL) || GEE_IS_ITERABLE (added)); -#line 53 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 56 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_if_fail ((removed == NULL) || GEE_IS_ITERABLE (removed)); -#line 54 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 57 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = added; -#line 54 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 57 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp0_ != NULL) { #line 848 "Branch.c" { GeeIterator* _object_it = NULL; GeeIterable* _tmp1_ = NULL; GeeIterator* _tmp2_ = NULL; -#line 55 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 58 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp1_ = added; -#line 55 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 58 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp2_ = gee_iterable_iterator (_tmp1_); -#line 55 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 58 "/home/jens/Source/shotwell/src/folders/Branch.vala" _object_it = _tmp2_; -#line 55 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 58 "/home/jens/Source/shotwell/src/folders/Branch.vala" while (TRUE) { #line 861 "Branch.c" GeeIterator* _tmp3_ = NULL; @@ -865,55 +865,55 @@ static void folders_branch_on_media_contents_altered (FoldersBranch* self, GeeIt gpointer _tmp6_ = NULL; DataObject* _tmp7_ = NULL; DataObject* _tmp8_ = NULL; -#line 55 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 58 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp3_ = _object_it; -#line 55 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 58 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp4_ = gee_iterator_next (_tmp3_); -#line 55 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 58 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (!_tmp4_) { -#line 55 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 58 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; #line 877 "Branch.c" } -#line 55 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 58 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp5_ = _object_it; -#line 55 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 58 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp6_ = gee_iterator_get (_tmp5_); -#line 55 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 58 "/home/jens/Source/shotwell/src/folders/Branch.vala" object = (DataObject*) _tmp6_; -#line 56 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 59 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp7_ = object; -#line 56 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 59 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_branch_add_entry (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_MEDIA_SOURCE, MediaSource)); -#line 57 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 60 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp8_ = object; -#line 57 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 60 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_MEDIA_SOURCE, MediaSource), "master-replaced", (GCallback) _folders_branch_on_master_source_replaced_media_source_master_replaced, self, 0); -#line 55 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 58 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (object); #line 895 "Branch.c" } -#line 55 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 58 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (_object_it); #line 899 "Branch.c" } } -#line 61 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 64 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp9_ = removed; -#line 61 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 64 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp9_ != NULL) { #line 906 "Branch.c" { GeeIterator* _object_it = NULL; GeeIterable* _tmp10_ = NULL; GeeIterator* _tmp11_ = NULL; -#line 62 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 65 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp10_ = removed; -#line 62 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 65 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp11_ = gee_iterable_iterator (_tmp10_); -#line 62 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 65 "/home/jens/Source/shotwell/src/folders/Branch.vala" _object_it = _tmp11_; -#line 62 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 65 "/home/jens/Source/shotwell/src/folders/Branch.vala" while (TRUE) { #line 919 "Branch.c" GeeIterator* _tmp12_ = NULL; @@ -926,43 +926,43 @@ static void folders_branch_on_media_contents_altered (FoldersBranch* self, GeeIt GFile* _tmp18_ = NULL; DataObject* _tmp19_ = NULL; guint _tmp20_ = 0U; -#line 62 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 65 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp12_ = _object_it; -#line 62 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 65 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp13_ = gee_iterator_next (_tmp12_); -#line 62 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 65 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (!_tmp13_) { -#line 62 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 65 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; #line 938 "Branch.c" } -#line 62 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 65 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp14_ = _object_it; -#line 62 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 65 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp15_ = gee_iterator_get (_tmp14_); -#line 62 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 65 "/home/jens/Source/shotwell/src/folders/Branch.vala" object = (DataObject*) _tmp15_; -#line 63 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 66 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp16_ = object; -#line 63 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 66 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp17_ = media_source_get_file (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_MEDIA_SOURCE, MediaSource)); -#line 63 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 66 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp18_ = _tmp17_; -#line 63 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 66 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_branch_remove_entry (self, _tmp18_); -#line 63 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 66 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (_tmp18_); -#line 64 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 67 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp19_ = object; -#line 64 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 67 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_signal_parse_name ("master-replaced", TYPE_MEDIA_SOURCE, &_tmp20_, NULL, FALSE); -#line 64 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 67 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_MEDIA_SOURCE, MediaSource), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp20_, 0, NULL, (GCallback) _folders_branch_on_master_source_replaced_media_source_master_replaced, self); -#line 62 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 65 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (object); #line 964 "Branch.c" } -#line 62 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 65 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (_object_it); #line 968 "Branch.c" } @@ -971,7 +971,7 @@ static void folders_branch_on_media_contents_altered (FoldersBranch* self, GeeIt static gpointer _g_object_ref0 (gpointer self) { -#line 93 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 96 "/home/jens/Source/shotwell/src/folders/Branch.vala" return self ? g_object_ref (self) : NULL; #line 977 "Branch.c" } @@ -987,27 +987,27 @@ static void folders_branch_add_entry (FoldersBranch* self, MediaSource* media) { GFile* _tmp3_ = NULL; GFile* _tmp4_ = NULL; FoldersSidebarEntry* parent_entry = NULL; -#line 69 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 72 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_if_fail (FOLDERS_IS_BRANCH (self)); -#line 69 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 72 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_if_fail (IS_MEDIA_SOURCE (media)); -#line 70 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 73 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = media; -#line 70 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 73 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp1_ = media_source_get_file (_tmp0_); -#line 70 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 73 "/home/jens/Source/shotwell/src/folders/Branch.vala" file = _tmp1_; -#line 72 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 75 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp2_ = gee_array_list_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL); -#line 72 "/home/jens/Source/shotwell/src/folders/Branch.vala" - elements = _tmp2_; #line 75 "/home/jens/Source/shotwell/src/folders/Branch.vala" + elements = _tmp2_; +#line 78 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp3_ = file; -#line 75 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 78 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp4_ = g_file_get_parent (_tmp3_); -#line 75 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 78 "/home/jens/Source/shotwell/src/folders/Branch.vala" parent = _tmp4_; -#line 76 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 79 "/home/jens/Source/shotwell/src/folders/Branch.vala" while (TRUE) { #line 1013 "Branch.c" GFile* _tmp5_ = NULL; @@ -1021,51 +1021,51 @@ static void folders_branch_add_entry (FoldersBranch* self, MediaSource* media) { GFile* _tmp13_ = NULL; GFile* _tmp14_ = NULL; GFile* _tmp15_ = NULL; -#line 76 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 79 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp5_ = parent; -#line 76 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 79 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (!(_tmp5_ != NULL)) { -#line 76 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 79 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; #line 1031 "Branch.c" } -#line 78 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 81 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp6_ = parent; -#line 78 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 81 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp7_ = self->priv->home_dir; -#line 78 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 81 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp8_ = g_file_get_parent (_tmp7_); -#line 78 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 81 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp9_ = _tmp8_; -#line 78 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 81 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp10_ = g_file_equal (_tmp6_, _tmp9_); -#line 78 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 81 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp11_ = _tmp10_; -#line 78 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 81 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (_tmp9_); -#line 78 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 81 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp11_) { -#line 79 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 82 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; #line 1051 "Branch.c" } -#line 81 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 84 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp12_ = elements; -#line 81 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 84 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp13_ = parent; -#line 81 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 84 "/home/jens/Source/shotwell/src/folders/Branch.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp13_); -#line 83 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 86 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp14_ = parent; -#line 83 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 86 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp15_ = g_file_get_parent (_tmp14_); -#line 83 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 86 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (parent); -#line 83 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 86 "/home/jens/Source/shotwell/src/folders/Branch.vala" parent = _tmp15_; #line 1067 "Branch.c" } -#line 88 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 91 "/home/jens/Source/shotwell/src/folders/Branch.vala" parent_entry = NULL; #line 1071 "Branch.c" { @@ -1073,20 +1073,20 @@ static void folders_branch_add_entry (FoldersBranch* self, MediaSource* media) { GeeArrayList* _tmp16_ = NULL; gint _tmp17_ = 0; gint _tmp18_ = 0; -#line 89 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 92 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp16_ = elements; -#line 89 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 92 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp17_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 89 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 92 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp18_ = _tmp17_; -#line 89 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 92 "/home/jens/Source/shotwell/src/folders/Branch.vala" ctr = _tmp18_ - 1; #line 1085 "Branch.c" { gboolean _tmp19_ = FALSE; -#line 89 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 92 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp19_ = TRUE; -#line 89 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 92 "/home/jens/Source/shotwell/src/folders/Branch.vala" while (TRUE) { #line 1092 "Branch.c" gint _tmp21_ = 0; @@ -1102,53 +1102,53 @@ static void folders_branch_add_entry (FoldersBranch* self, MediaSource* media) { gpointer _tmp29_ = NULL; FoldersSidebarEntry* _tmp30_ = NULL; gint _tmp42_ = 0; -#line 89 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 92 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (!_tmp19_) { #line 1108 "Branch.c" gint _tmp20_ = 0; -#line 89 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 92 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp20_ = ctr; -#line 89 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 92 "/home/jens/Source/shotwell/src/folders/Branch.vala" ctr = _tmp20_ - 1; #line 1114 "Branch.c" } -#line 89 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 92 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp19_ = FALSE; -#line 89 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 92 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp21_ = ctr; -#line 89 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 92 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (!(_tmp21_ >= 0)) { -#line 89 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 92 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; #line 1124 "Branch.c" } -#line 90 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 93 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp22_ = elements; -#line 90 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 93 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp23_ = ctr; -#line 90 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 93 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp24_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp23_); -#line 90 "/home/jens/Source/shotwell/src/folders/Branch.vala" - parent_dir = (GFile*) _tmp24_; #line 93 "/home/jens/Source/shotwell/src/folders/Branch.vala" + parent_dir = (GFile*) _tmp24_; +#line 96 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp25_ = parent_entry; -#line 93 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 96 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp26_ = _g_object_ref0 (_tmp25_); -#line 93 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 96 "/home/jens/Source/shotwell/src/folders/Branch.vala" old_parent_entry = _tmp26_; -#line 95 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 98 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp27_ = self->priv->entries; -#line 95 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 98 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp28_ = parent_dir; -#line 95 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 98 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp29_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp28_); -#line 95 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 98 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (parent_entry); -#line 95 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 98 "/home/jens/Source/shotwell/src/folders/Branch.vala" parent_entry = (FoldersSidebarEntry*) _tmp29_; -#line 96 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 99 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp30_ = parent_entry; -#line 96 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 99 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp30_ == NULL) { #line 1154 "Branch.c" GFile* _tmp31_ = NULL; @@ -1159,89 +1159,89 @@ static void folders_branch_add_entry (FoldersBranch* self, MediaSource* media) { SidebarEntry* _tmp36_ = NULL; FoldersSidebarEntry* _tmp37_ = NULL; FoldersSidebarEntry* _tmp41_ = NULL; -#line 97 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 100 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp31_ = parent_dir; -#line 97 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 100 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp32_ = folders_sidebar_entry_new (_tmp31_); -#line 97 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 100 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (parent_entry); -#line 97 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 100 "/home/jens/Source/shotwell/src/folders/Branch.vala" parent_entry = _tmp32_; -#line 98 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 101 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp33_ = self->priv->entries; -#line 98 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 101 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp34_ = parent_dir; -#line 98 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 101 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp35_ = parent_entry; -#line 98 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 101 "/home/jens/Source/shotwell/src/folders/Branch.vala" gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp34_, _tmp35_); -#line 100 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 103 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp37_ = old_parent_entry; -#line 100 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 103 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp37_ == NULL) { #line 1183 "Branch.c" SidebarEntry* _tmp38_ = NULL; -#line 100 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 103 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp38_ = sidebar_branch_get_root (G_TYPE_CHECK_INSTANCE_CAST (self, SIDEBAR_TYPE_BRANCH, SidebarBranch)); -#line 100 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 103 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (_tmp36_); -#line 100 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 103 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp36_ = _tmp38_; #line 1191 "Branch.c" } else { FoldersSidebarEntry* _tmp39_ = NULL; SidebarEntry* _tmp40_ = NULL; -#line 100 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 103 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp39_ = old_parent_entry; -#line 100 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 103 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp40_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, SIDEBAR_TYPE_ENTRY, SidebarEntry)); -#line 100 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 103 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (_tmp36_); -#line 100 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 103 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp36_ = _tmp40_; #line 1203 "Branch.c" } -#line 100 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 103 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp41_ = parent_entry; -#line 100 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 103 "/home/jens/Source/shotwell/src/folders/Branch.vala" sidebar_branch_graft (G_TYPE_CHECK_INSTANCE_CAST (self, SIDEBAR_TYPE_BRANCH, SidebarBranch), _tmp36_, G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, SIDEBAR_TYPE_ENTRY, SidebarEntry), NULL); -#line 96 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 99 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (_tmp36_); #line 1211 "Branch.c" } -#line 104 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 107 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp42_ = ctr; -#line 104 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 107 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp42_ == 0) { #line 1217 "Branch.c" FoldersSidebarEntry* _tmp43_ = NULL; gint _tmp44_ = 0; gint _tmp45_ = 0; -#line 105 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 108 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp43_ = parent_entry; -#line 105 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 108 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp44_ = folders_sidebar_entry_get_count (_tmp43_); -#line 105 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 108 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp45_ = _tmp44_; -#line 105 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 108 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_sidebar_entry_set_count (_tmp43_, _tmp45_ + 1); #line 1229 "Branch.c" } -#line 89 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 92 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (old_parent_entry); -#line 89 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 92 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (parent_dir); #line 1235 "Branch.c" } } } -#line 69 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 72 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (parent_entry); -#line 69 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 72 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (parent); -#line 69 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 72 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (elements); -#line 69 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 72 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (file); #line 1247 "Branch.c" } @@ -1269,94 +1269,94 @@ static void folders_branch_remove_entry (FoldersBranch* self, GFile* file) { FoldersSidebarEntry* _tmp18_ = NULL; FoldersSidebarEntry* _tmp19_ = NULL; FoldersSidebarEntry* _tmp40_ = NULL; -#line 109 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 112 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_if_fail (FOLDERS_IS_BRANCH (self)); -#line 109 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 112 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_if_fail (G_IS_FILE (file)); -#line 110 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 113 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = self->priv->entries; -#line 110 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 113 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp1_ = file; -#line 110 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 113 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp2_ = g_file_get_parent (_tmp1_); -#line 110 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 113 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp3_ = _tmp2_; -#line 110 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 113 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp4_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp3_); -#line 110 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 113 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp5_ = (FoldersSidebarEntry*) _tmp4_; -#line 110 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 113 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (_tmp3_); -#line 110 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 113 "/home/jens/Source/shotwell/src/folders/Branch.vala" folder_entry = _tmp5_; -#line 111 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 114 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp6_ = folder_entry; -#line 111 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 114 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp6_ == NULL) { -#line 112 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 115 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (folder_entry); -#line 112 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 115 "/home/jens/Source/shotwell/src/folders/Branch.vala" return; #line 1301 "Branch.c" } -#line 114 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 117 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp7_ = folder_entry; -#line 114 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 117 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp8_ = folders_sidebar_entry_get_count (_tmp7_); -#line 114 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 117 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp9_ = _tmp8_; -#line 114 "/home/jens/Source/shotwell/src/folders/Branch.vala" - _vala_assert (_tmp9_ > 0, "folder_entry.count > 0"); #line 117 "/home/jens/Source/shotwell/src/folders/Branch.vala" + _vala_assert (_tmp9_ > 0, "folder_entry.count > 0"); +#line 120 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp11_ = folder_entry; -#line 117 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 120 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp12_ = folder_entry; -#line 117 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 120 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp13_ = folders_sidebar_entry_get_count (_tmp12_); -#line 117 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 120 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp14_ = _tmp13_; -#line 117 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 120 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_sidebar_entry_set_count (_tmp12_, _tmp14_ - 1); -#line 117 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 120 "/home/jens/Source/shotwell/src/folders/Branch.vala" if ((_tmp14_ - 1) > 0) { -#line 117 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 120 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp10_ = TRUE; #line 1325 "Branch.c" } else { FoldersSidebarEntry* _tmp15_ = NULL; gint _tmp16_ = 0; -#line 117 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 120 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp15_ = folder_entry; -#line 117 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 120 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp16_ = sidebar_branch_get_child_count (G_TYPE_CHECK_INSTANCE_CAST (self, SIDEBAR_TYPE_BRANCH, SidebarBranch), G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, SIDEBAR_TYPE_ENTRY, SidebarEntry)); -#line 117 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 120 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp10_ = _tmp16_ > 0; #line 1335 "Branch.c" } -#line 117 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 120 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp10_) { -#line 118 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 121 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (folder_entry); -#line 118 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 121 "/home/jens/Source/shotwell/src/folders/Branch.vala" return; #line 1343 "Branch.c" } -#line 121 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 124 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp17_ = folder_entry; -#line 121 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 124 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp18_ = _g_object_ref0 (_tmp17_); -#line 121 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 124 "/home/jens/Source/shotwell/src/folders/Branch.vala" prune_point = _tmp18_; -#line 122 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 125 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp19_ = prune_point; -#line 122 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 125 "/home/jens/Source/shotwell/src/folders/Branch.vala" _vala_assert (_tmp19_ != NULL, "prune_point != null"); #line 1355 "Branch.c" { gboolean _tmp20_ = FALSE; -#line 124 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 127 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp20_ = TRUE; -#line 124 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 127 "/home/jens/Source/shotwell/src/folders/Branch.vala" while (TRUE) { #line 1362 "Branch.c" gboolean removed = FALSE; @@ -1375,107 +1375,107 @@ static void folders_branch_remove_entry (FoldersBranch* self, GFile* file) { FoldersSidebarEntry* _tmp32_ = NULL; FoldersSidebarEntry* _tmp38_ = NULL; FoldersSidebarEntry* _tmp39_ = NULL; -#line 124 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 127 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (!_tmp20_) { #line 1381 "Branch.c" } -#line 124 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 127 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp20_ = FALSE; -#line 125 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 128 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp21_ = self->priv->entries; -#line 125 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 128 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp22_ = prune_point; -#line 125 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 128 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp23_ = folders_sidebar_entry_get_dir (_tmp22_); -#line 125 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 128 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp24_ = _tmp23_; -#line 125 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 128 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp25_ = gee_abstract_map_unset (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp24_, NULL); -#line 125 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 128 "/home/jens/Source/shotwell/src/folders/Branch.vala" removed = _tmp25_; -#line 126 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 129 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp26_ = removed; -#line 126 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 129 "/home/jens/Source/shotwell/src/folders/Branch.vala" _vala_assert (_tmp26_, "removed"); -#line 128 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 131 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp27_ = prune_point; -#line 128 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 131 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp28_ = sidebar_branch_get_parent (G_TYPE_CHECK_INSTANCE_CAST (self, SIDEBAR_TYPE_BRANCH, SidebarBranch), G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, SIDEBAR_TYPE_ENTRY, SidebarEntry)); -#line 128 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 131 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp29_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp28_, FOLDERS_TYPE_SIDEBAR_ENTRY) ? ((FoldersSidebarEntry*) _tmp28_) : NULL; -#line 128 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 131 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp29_ == NULL) { -#line 128 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 131 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (_tmp28_); #line 1411 "Branch.c" } -#line 128 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 131 "/home/jens/Source/shotwell/src/folders/Branch.vala" parent = _tmp29_; -#line 129 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp32_ = parent; -#line 129 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp32_ == NULL) { -#line 129 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp31_ = TRUE; #line 1421 "Branch.c" } else { FoldersSidebarEntry* _tmp33_ = NULL; gint _tmp34_ = 0; gint _tmp35_ = 0; -#line 129 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp33_ = parent; -#line 129 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp34_ = folders_sidebar_entry_get_count (_tmp33_); -#line 129 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp35_ = _tmp34_; -#line 129 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp31_ = _tmp35_ != 0; #line 1434 "Branch.c" } -#line 129 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp31_) { -#line 129 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp30_ = TRUE; #line 1440 "Branch.c" } else { FoldersSidebarEntry* _tmp36_ = NULL; gint _tmp37_ = 0; -#line 129 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp36_ = parent; -#line 129 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp37_ = sidebar_branch_get_child_count (G_TYPE_CHECK_INSTANCE_CAST (self, SIDEBAR_TYPE_BRANCH, SidebarBranch), G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, SIDEBAR_TYPE_ENTRY, SidebarEntry)); -#line 129 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp30_ = _tmp37_ > 1; #line 1450 "Branch.c" } -#line 129 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp30_) { -#line 130 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 133 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (parent); -#line 130 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 133 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; #line 1458 "Branch.c" } -#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 135 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp38_ = parent; -#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 135 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp39_ = _g_object_ref0 (_tmp38_); -#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 135 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (prune_point); -#line 132 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 135 "/home/jens/Source/shotwell/src/folders/Branch.vala" prune_point = _tmp39_; -#line 124 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 127 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (parent); #line 1470 "Branch.c" } } -#line 135 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 138 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp40_ = prune_point; -#line 135 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 138 "/home/jens/Source/shotwell/src/folders/Branch.vala" sidebar_branch_prune (G_TYPE_CHECK_INSTANCE_CAST (self, SIDEBAR_TYPE_BRANCH, SidebarBranch), G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, SIDEBAR_TYPE_ENTRY, SidebarEntry)); -#line 109 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 112 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (prune_point); -#line 109 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 112 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (folder_entry); #line 1481 "Branch.c" } @@ -1517,25 +1517,25 @@ static void folders_branch_finalize (GObject* obj) { GeeCollection* _tmp3_ = NULL; GeeIterator* _tmp4_ = NULL; GeeIterator* _tmp5_ = NULL; -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = media_collection_registry_get_instance (); -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp1_ = _tmp0_; -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp2_ = media_collection_registry_get_all (_tmp1_); -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp3_ = _tmp2_; -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp5_ = _tmp4_; -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (_tmp3_); -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" _media_collection_registry_unref0 (_tmp1_); -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" _sources_it = _tmp5_; -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" while (TRUE) { #line 1541 "Branch.c" GeeIterator* _tmp6_ = NULL; @@ -1545,33 +1545,33 @@ static void folders_branch_finalize (GObject* obj) { gpointer _tmp9_ = NULL; MediaSourceCollection* _tmp10_ = NULL; guint _tmp11_ = 0U; -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp6_ = _sources_it; -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp7_ = gee_iterator_next (_tmp6_); -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (!_tmp7_) { -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; #line 1557 "Branch.c" } -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp8_ = _sources_it; -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp9_ = gee_iterator_get (_tmp8_); -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" sources = (MediaSourceCollection*) _tmp9_; -#line 28 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 31 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp10_ = sources; -#line 28 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 31 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_signal_parse_name ("contents-altered", TYPE_DATA_COLLECTION, &_tmp11_, NULL, FALSE); -#line 28 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 31 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_COLLECTION, DataCollection), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _folders_branch_on_media_contents_altered_data_collection_contents_altered, self); -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" _data_collection_unref0 (sources); #line 1573 "Branch.c" } -#line 27 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 30 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (_sources_it); #line 1577 "Branch.c" } @@ -1600,25 +1600,25 @@ GType folders_branch_get_type (void) { FoldersRoot* folders_root_construct (GType object_type) { FoldersRoot * self = NULL; const gchar* _tmp0_ = NULL; -#line 141 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 144 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = _ ("Folders"); -#line 141 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 144 "/home/jens/Source/shotwell/src/folders/Branch.vala" self = (FoldersRoot*) sidebar_header_construct (object_type, _tmp0_, TRUE); -#line 140 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 143 "/home/jens/Source/shotwell/src/folders/Branch.vala" return self; #line 1610 "Branch.c" } FoldersRoot* folders_root_new (void) { -#line 140 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 143 "/home/jens/Source/shotwell/src/folders/Branch.vala" return folders_root_construct (FOLDERS_TYPE_ROOT); #line 1617 "Branch.c" } static void folders_root_class_init (FoldersRootClass * klass) { -#line 139 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 142 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_root_parent_class = g_type_class_peek_parent (klass); #line 1624 "Branch.c" } @@ -1648,38 +1648,38 @@ FoldersSidebarEntry* folders_sidebar_entry_construct (GType object_type, GFile* gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 166 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 169 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_val_if_fail (G_IS_FILE (dir), NULL); -#line 166 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 169 "/home/jens/Source/shotwell/src/folders/Branch.vala" self = (FoldersSidebarEntry*) sidebar_simple_page_entry_construct (object_type); -#line 167 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 170 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = dir; -#line 167 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 170 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_sidebar_entry_set_dir (self, _tmp0_); -#line 168 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 171 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp1_ = dir; -#line 168 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 171 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp2_ = g_file_get_path (_tmp1_); -#line 168 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 171 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp3_ = _tmp2_; -#line 168 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 171 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp4_ = g_utf8_collate_key_for_filename (_tmp3_, (gssize) -1); -#line 168 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 171 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp5_ = _tmp4_; -#line 168 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 171 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_sidebar_entry_set_collation (self, _tmp5_); -#line 168 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 171 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_free0 (_tmp5_); -#line 168 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 171 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_free0 (_tmp3_); -#line 166 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 169 "/home/jens/Source/shotwell/src/folders/Branch.vala" return self; #line 1678 "Branch.c" } FoldersSidebarEntry* folders_sidebar_entry_new (GFile* dir) { -#line 166 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 169 "/home/jens/Source/shotwell/src/folders/Branch.vala" return folders_sidebar_entry_construct (FOLDERS_TYPE_SIDEBAR_ENTRY, dir); #line 1685 "Branch.c" } @@ -1690,15 +1690,15 @@ static gchar* folders_sidebar_entry_real_get_sidebar_name (SidebarSimplePageEntr gchar* result = NULL; GFile* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 171 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 174 "/home/jens/Source/shotwell/src/folders/Branch.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, FOLDERS_TYPE_SIDEBAR_ENTRY, FoldersSidebarEntry); -#line 172 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 175 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = self->priv->_dir; -#line 172 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 175 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp1_ = g_file_get_basename (_tmp0_); -#line 172 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 175 "/home/jens/Source/shotwell/src/folders/Branch.vala" result = _tmp1_; -#line 172 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 175 "/home/jens/Source/shotwell/src/folders/Branch.vala" return result; #line 1704 "Branch.c" } @@ -1711,34 +1711,34 @@ static gchar* folders_sidebar_entry_real_get_sidebar_icon (SidebarSimplePageEntr gint _tmp1_ = 0; gint _tmp2_ = 0; gchar* _tmp5_ = NULL; -#line 175 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 178 "/home/jens/Source/shotwell/src/folders/Branch.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, FOLDERS_TYPE_SIDEBAR_ENTRY, FoldersSidebarEntry); -#line 176 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 179 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp1_ = folders_sidebar_entry_get_count (self); -#line 176 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 179 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp2_ = _tmp1_; -#line 176 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 179 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp2_ == 0) { #line 1723 "Branch.c" const gchar* _tmp3_ = NULL; -#line 176 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 179 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp3_ = folders_icon; -#line 176 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 179 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = _tmp3_; #line 1729 "Branch.c" } else { const gchar* _tmp4_ = NULL; -#line 176 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 179 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp4_ = folders_have_photos_icon; -#line 176 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 179 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = _tmp4_; #line 1736 "Branch.c" } -#line 176 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 179 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp5_ = g_strdup (_tmp0_); -#line 176 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 179 "/home/jens/Source/shotwell/src/folders/Branch.vala" result = _tmp5_; -#line 176 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 179 "/home/jens/Source/shotwell/src/folders/Branch.vala" return result; #line 1744 "Branch.c" } @@ -1749,15 +1749,15 @@ static gchar* folders_sidebar_entry_real_to_string (SidebarSimplePageEntry* base gchar* result = NULL; GFile* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 179 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 182 "/home/jens/Source/shotwell/src/folders/Branch.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, FOLDERS_TYPE_SIDEBAR_ENTRY, FoldersSidebarEntry); -#line 180 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 183 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = self->priv->_dir; -#line 180 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 183 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp1_ = g_file_get_path (_tmp0_); -#line 180 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 183 "/home/jens/Source/shotwell/src/folders/Branch.vala" result = _tmp1_; -#line 180 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 183 "/home/jens/Source/shotwell/src/folders/Branch.vala" return result; #line 1763 "Branch.c" } @@ -1766,11 +1766,11 @@ static gchar* folders_sidebar_entry_real_to_string (SidebarSimplePageEntry* base static gboolean folders_sidebar_entry_real_expand_on_select (SidebarExpandableEntry* base) { FoldersSidebarEntry * self; gboolean result = FALSE; -#line 183 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 186 "/home/jens/Source/shotwell/src/folders/Branch.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, FOLDERS_TYPE_SIDEBAR_ENTRY, FoldersSidebarEntry); -#line 184 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 187 "/home/jens/Source/shotwell/src/folders/Branch.vala" result = TRUE; -#line 184 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 187 "/home/jens/Source/shotwell/src/folders/Branch.vala" return result; #line 1776 "Branch.c" } @@ -1781,17 +1781,17 @@ static Page* folders_sidebar_entry_real_create_page (SidebarSimplePageEntry* bas Page* result = NULL; GFile* _tmp0_ = NULL; FoldersPage* _tmp1_ = NULL; -#line 187 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 190 "/home/jens/Source/shotwell/src/folders/Branch.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, FOLDERS_TYPE_SIDEBAR_ENTRY, FoldersSidebarEntry); -#line 188 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 191 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = self->priv->_dir; -#line 188 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 191 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp1_ = folders_page_new (_tmp0_); -#line 188 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 191 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_object_ref_sink (_tmp1_); -#line 188 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 191 "/home/jens/Source/shotwell/src/folders/Branch.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PAGE, Page); -#line 188 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 191 "/home/jens/Source/shotwell/src/folders/Branch.vala" return result; #line 1797 "Branch.c" } @@ -1800,13 +1800,13 @@ static Page* folders_sidebar_entry_real_create_page (SidebarSimplePageEntry* bas GFile* folders_sidebar_entry_get_dir (FoldersSidebarEntry* self) { GFile* result; GFile* _tmp0_ = NULL; -#line 146 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 149 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_val_if_fail (FOLDERS_IS_SIDEBAR_ENTRY (self), NULL); -#line 146 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 149 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = self->priv->_dir; -#line 146 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 149 "/home/jens/Source/shotwell/src/folders/Branch.vala" result = _tmp0_; -#line 146 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 149 "/home/jens/Source/shotwell/src/folders/Branch.vala" return result; #line 1812 "Branch.c" } @@ -1815,17 +1815,17 @@ GFile* folders_sidebar_entry_get_dir (FoldersSidebarEntry* self) { static void folders_sidebar_entry_set_dir (FoldersSidebarEntry* self, GFile* value) { GFile* _tmp0_ = NULL; GFile* _tmp1_ = NULL; -#line 146 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 149 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_if_fail (FOLDERS_IS_SIDEBAR_ENTRY (self)); -#line 146 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 149 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = value; -#line 146 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 149 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 146 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 149 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (self->priv->_dir); -#line 146 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 149 "/home/jens/Source/shotwell/src/folders/Branch.vala" self->priv->_dir = _tmp1_; -#line 146 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 149 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_object_notify ((GObject *) self, "dir"); #line 1831 "Branch.c" } @@ -1834,13 +1834,13 @@ static void folders_sidebar_entry_set_dir (FoldersSidebarEntry* self, GFile* val const gchar* folders_sidebar_entry_get_collation (FoldersSidebarEntry* self) { const gchar* result; const gchar* _tmp0_ = NULL; -#line 147 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 150 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_val_if_fail (FOLDERS_IS_SIDEBAR_ENTRY (self), NULL); -#line 147 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 150 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = self->priv->_collation; -#line 147 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 150 "/home/jens/Source/shotwell/src/folders/Branch.vala" result = _tmp0_; -#line 147 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 150 "/home/jens/Source/shotwell/src/folders/Branch.vala" return result; #line 1846 "Branch.c" } @@ -1849,17 +1849,17 @@ const gchar* folders_sidebar_entry_get_collation (FoldersSidebarEntry* self) { static void folders_sidebar_entry_set_collation (FoldersSidebarEntry* self, const gchar* value) { const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 147 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 150 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_if_fail (FOLDERS_IS_SIDEBAR_ENTRY (self)); -#line 147 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 150 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = value; -#line 147 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 150 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp1_ = g_strdup (_tmp0_); -#line 147 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 150 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_free0 (self->priv->_collation); -#line 147 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 150 "/home/jens/Source/shotwell/src/folders/Branch.vala" self->priv->_collation = _tmp1_; -#line 147 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 150 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_object_notify ((GObject *) self, "collation"); #line 1865 "Branch.c" } @@ -1868,13 +1868,13 @@ static void folders_sidebar_entry_set_collation (FoldersSidebarEntry* self, cons gint folders_sidebar_entry_get_count (FoldersSidebarEntry* self) { gint result; gint _tmp0_ = 0; -#line 151 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 154 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_val_if_fail (FOLDERS_IS_SIDEBAR_ENTRY (self), 0); -#line 152 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 155 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = self->priv->_count; -#line 152 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 155 "/home/jens/Source/shotwell/src/folders/Branch.vala" result = _tmp0_; -#line 152 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 155 "/home/jens/Source/shotwell/src/folders/Branch.vala" return result; #line 1880 "Branch.c" } @@ -1887,123 +1887,123 @@ void folders_sidebar_entry_set_count (FoldersSidebarEntry* self, gint value) { gboolean _tmp2_ = FALSE; gboolean _tmp3_ = FALSE; gint _tmp4_ = 0; -#line 155 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 158 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_return_if_fail (FOLDERS_IS_SIDEBAR_ENTRY (self)); -#line 156 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 159 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp0_ = self->priv->_count; -#line 156 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 159 "/home/jens/Source/shotwell/src/folders/Branch.vala" prev_count = _tmp0_; -#line 157 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 160 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp1_ = value; -#line 157 "/home/jens/Source/shotwell/src/folders/Branch.vala" - self->priv->_count = _tmp1_; #line 160 "/home/jens/Source/shotwell/src/folders/Branch.vala" + self->priv->_count = _tmp1_; +#line 163 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp4_ = prev_count; -#line 160 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 163 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp4_ == 0) { #line 1905 "Branch.c" gint _tmp5_ = 0; -#line 160 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 163 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp5_ = self->priv->_count; -#line 160 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 163 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp3_ = _tmp5_ == 1; #line 1911 "Branch.c" } else { -#line 160 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 163 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp3_ = FALSE; #line 1915 "Branch.c" } -#line 160 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 163 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp3_) { -#line 160 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 163 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp2_ = TRUE; #line 1921 "Branch.c" } else { gboolean _tmp6_ = FALSE; gint _tmp7_ = 0; -#line 160 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 163 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp7_ = prev_count; -#line 160 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 163 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp7_ == 1) { #line 1929 "Branch.c" gint _tmp8_ = 0; -#line 160 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 163 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp8_ = self->priv->_count; -#line 160 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 163 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp6_ = _tmp8_ == 0; #line 1935 "Branch.c" } else { -#line 160 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 163 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp6_ = FALSE; #line 1939 "Branch.c" } -#line 160 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 163 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp2_ = _tmp6_; #line 1943 "Branch.c" } -#line 160 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 163 "/home/jens/Source/shotwell/src/folders/Branch.vala" if (_tmp2_) { #line 1947 "Branch.c" gchar* _tmp9_ = NULL; gchar* _tmp10_ = NULL; -#line 161 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 164 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp9_ = sidebar_simple_page_entry_get_sidebar_icon (G_TYPE_CHECK_INSTANCE_CAST (self, SIDEBAR_TYPE_SIMPLE_PAGE_ENTRY, SidebarSimplePageEntry)); -#line 161 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 164 "/home/jens/Source/shotwell/src/folders/Branch.vala" _tmp10_ = _tmp9_; -#line 161 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 164 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, SIDEBAR_TYPE_ENTRY, SidebarEntry), "sidebar-icon-changed", _tmp10_); -#line 161 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 164 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_free0 (_tmp10_); #line 1958 "Branch.c" } -#line 155 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 158 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_object_notify ((GObject *) self, "count"); #line 1962 "Branch.c" } static void folders_sidebar_entry_class_init (FoldersSidebarEntryClass * klass) { -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_sidebar_entry_parent_class = g_type_class_peek_parent (klass); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_type_class_add_private (klass, sizeof (FoldersSidebarEntryPrivate)); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" ((SidebarSimplePageEntryClass *) klass)->get_sidebar_name = folders_sidebar_entry_real_get_sidebar_name; -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" ((SidebarSimplePageEntryClass *) klass)->get_sidebar_icon = folders_sidebar_entry_real_get_sidebar_icon; -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" ((SidebarSimplePageEntryClass *) klass)->to_string = folders_sidebar_entry_real_to_string; -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" ((SidebarSimplePageEntryClass *) klass)->create_page = folders_sidebar_entry_real_create_page; -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" G_OBJECT_CLASS (klass)->get_property = _vala_folders_sidebar_entry_get_property; -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" G_OBJECT_CLASS (klass)->set_property = _vala_folders_sidebar_entry_set_property; -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" G_OBJECT_CLASS (klass)->finalize = folders_sidebar_entry_finalize; -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_object_class_install_property (G_OBJECT_CLASS (klass), FOLDERS_SIDEBAR_ENTRY_DIR, g_param_spec_object ("dir", "dir", "dir", G_TYPE_FILE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_object_class_install_property (G_OBJECT_CLASS (klass), FOLDERS_SIDEBAR_ENTRY_COLLATION, g_param_spec_string ("collation", "collation", "collation", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_object_class_install_property (G_OBJECT_CLASS (klass), FOLDERS_SIDEBAR_ENTRY_COUNT, g_param_spec_int ("count", "count", "count", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); #line 1991 "Branch.c" } static void folders_sidebar_entry_sidebar_expandable_entry_interface_init (SidebarExpandableEntryIface * iface) { -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_sidebar_entry_sidebar_expandable_entry_parent_iface = g_type_interface_peek_parent (iface); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" iface->expand_on_select = (gboolean (*)(SidebarExpandableEntry*)) folders_sidebar_entry_real_expand_on_select; #line 2000 "Branch.c" } static void folders_sidebar_entry_instance_init (FoldersSidebarEntry * self) { -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" self->priv = FOLDERS_SIDEBAR_ENTRY_GET_PRIVATE (self); -#line 149 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 152 "/home/jens/Source/shotwell/src/folders/Branch.vala" self->priv->_count = 0; #line 2009 "Branch.c" } @@ -2011,13 +2011,13 @@ static void folders_sidebar_entry_instance_init (FoldersSidebarEntry * self) { static void folders_sidebar_entry_finalize (GObject* obj) { FoldersSidebarEntry * self; -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, FOLDERS_TYPE_SIDEBAR_ENTRY, FoldersSidebarEntry); -#line 146 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 149 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_object_unref0 (self->priv->_dir); -#line 147 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 150 "/home/jens/Source/shotwell/src/folders/Branch.vala" _g_free0 (self->priv->_collation); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" G_OBJECT_CLASS (folders_sidebar_entry_parent_class)->finalize (obj); #line 2023 "Branch.c" } @@ -2040,31 +2040,31 @@ GType folders_sidebar_entry_get_type (void) { static void _vala_folders_sidebar_entry_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { FoldersSidebarEntry * self; self = G_TYPE_CHECK_INSTANCE_CAST (object, FOLDERS_TYPE_SIDEBAR_ENTRY, FoldersSidebarEntry); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" switch (property_id) { -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" case FOLDERS_SIDEBAR_ENTRY_DIR: -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_value_set_object (value, folders_sidebar_entry_get_dir (self)); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" case FOLDERS_SIDEBAR_ENTRY_COLLATION: -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_value_set_string (value, folders_sidebar_entry_get_collation (self)); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" case FOLDERS_SIDEBAR_ENTRY_COUNT: -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" g_value_set_int (value, folders_sidebar_entry_get_count (self)); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; #line 2064 "Branch.c" default: -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; #line 2070 "Branch.c" } @@ -2074,31 +2074,31 @@ static void _vala_folders_sidebar_entry_get_property (GObject * object, guint pr static void _vala_folders_sidebar_entry_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { FoldersSidebarEntry * self; self = G_TYPE_CHECK_INSTANCE_CAST (object, FOLDERS_TYPE_SIDEBAR_ENTRY, FoldersSidebarEntry); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" switch (property_id) { -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" case FOLDERS_SIDEBAR_ENTRY_DIR: -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_sidebar_entry_set_dir (self, g_value_get_object (value)); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" case FOLDERS_SIDEBAR_ENTRY_COLLATION: -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_sidebar_entry_set_collation (self, g_value_get_string (value)); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" case FOLDERS_SIDEBAR_ENTRY_COUNT: -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" folders_sidebar_entry_set_count (self, g_value_get_int (value)); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; #line 2098 "Branch.c" default: -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); -#line 145 "/home/jens/Source/shotwell/src/folders/Branch.vala" +#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala" break; #line 2104 "Branch.c" } diff --git a/src/folders/Branch.vala b/src/folders/Branch.vala index 38b8c80..d14a148 100644 --- a/src/folders/Branch.vala +++ b/src/folders/Branch.vala @@ -10,7 +10,10 @@ public class Folders.Branch : Sidebar.Branch { private File home_dir; public class Branch() { - base (new Folders.Root(), Sidebar.Branch.Options.STARTUP_OPEN_GROUPING, comparator); + base (new Folders.Root(), + Sidebar.Branch.Options.STARTUP_OPEN_GROUPING + | Sidebar.Branch.Options.HIDE_IF_EMPTY, + comparator); home_dir = File.new_for_path(Environment.get_home_dir()); diff --git a/src/library/ImportQueuePage.c b/src/library/ImportQueuePage.c index 2fba690..112dd16 100644 --- a/src/library/ImportQueuePage.c +++ b/src/library/ImportQueuePage.c @@ -462,7 +462,7 @@ GType batch_import_get_type (void) G_GNUC_CONST; enum { IMPORT_QUEUE_PAGE_DUMMY_PROPERTY }; -#define IMPORT_QUEUE_PAGE_NAME _ ("Importing...") +#define IMPORT_QUEUE_PAGE_NAME _ ("Importing…") ImportQueuePage* import_queue_page_new (void); ImportQueuePage* import_queue_page_construct (GType object_type); SinglePhotoPage* single_photo_page_construct (GType object_type, const gchar* page_name, gboolean scale_up_to_viewport); @@ -1101,7 +1101,7 @@ static void import_queue_page_on_preparing (ImportQueuePage* self) { #line 124 "/home/jens/Source/shotwell/src/library/ImportQueuePage.vala" _tmp0_ = self->priv->progress_bar; #line 124 "/home/jens/Source/shotwell/src/library/ImportQueuePage.vala" - _tmp1_ = _ ("Preparing to import..."); + _tmp1_ = _ ("Preparing to import…"); #line 124 "/home/jens/Source/shotwell/src/library/ImportQueuePage.vala" gtk_progress_bar_set_text (_tmp0_, _tmp1_); #line 125 "/home/jens/Source/shotwell/src/library/ImportQueuePage.vala" diff --git a/src/library/ImportQueuePage.vala b/src/library/ImportQueuePage.vala index f19f947..b5a5eb6 100644 --- a/src/library/ImportQueuePage.vala +++ b/src/library/ImportQueuePage.vala @@ -5,7 +5,7 @@ */ public class ImportQueuePage : SinglePhotoPage { - public const string NAME = _("Importing..."); + public const string NAME = _("Importing…"); private Gee.ArrayList<BatchImport> queue = new Gee.ArrayList<BatchImport>(); private Gee.HashSet<BatchImport> cancel_unallowed = new Gee.HashSet<BatchImport>(); @@ -121,7 +121,7 @@ public class ImportQueuePage : SinglePhotoPage { } private void on_preparing() { - progress_bar.set_text(_("Preparing to import...")); + progress_bar.set_text(_("Preparing to import…")); progress_bar.pulse(); } diff --git a/src/library/ImportQueueSidebarEntry.c b/src/library/ImportQueueSidebarEntry.c index 5ce68ec..c218235 100644 --- a/src/library/ImportQueueSidebarEntry.c +++ b/src/library/ImportQueueSidebarEntry.c @@ -213,7 +213,7 @@ static void library_import_queue_sidebar_entry_on_destroying_page (LibraryImport static void _library_import_queue_sidebar_entry_on_destroying_page_sidebar_page_representative_destroying_page (SidebarPageRepresentative* _sender, Page* page, gpointer self); void library_hideable_page_entry_set_visible (LibraryHideablePageEntry* self, gboolean value); static gchar* library_import_queue_sidebar_entry_real_get_sidebar_name (SidebarSimplePageEntry* base); -#define IMPORT_QUEUE_PAGE_NAME _ ("Importing...") +#define IMPORT_QUEUE_PAGE_NAME _ ("Importing…") static gchar* library_import_queue_sidebar_entry_real_get_sidebar_icon (SidebarSimplePageEntry* base); #define RESOURCES_ICON_IMPORTING "go-down" static Page* library_import_queue_sidebar_entry_real_create_page (SidebarSimplePageEntry* base); diff --git a/src/library/LibraryWindow.c b/src/library/LibraryWindow.c index 2ef18d9..5a491c5 100644 --- a/src/library/LibraryWindow.c +++ b/src/library/LibraryWindow.c @@ -2078,14 +2078,14 @@ LibraryWindow* library_window_construct (GType object_type, ProgressMonitor prog #line 181 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" _g_object_unref0 (ui_file); #line 2081 "LibraryWindow.c" - goto __catch38_g_error; + goto __catch39_g_error; } #line 179 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" _g_object_unref0 (ui_file); #line 2086 "LibraryWindow.c" } - goto __finally38; - __catch38_g_error: + goto __finally39; + __catch39_g_error: { GError* e = NULL; const gchar* _tmp27_ = NULL; @@ -2101,7 +2101,7 @@ LibraryWindow* library_window_construct (GType object_type, ProgressMonitor prog _g_error_free0 (e); #line 2103 "LibraryWindow.c" } - __finally38: + __finally39: #line 179 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 179 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" @@ -2936,7 +2936,7 @@ static GtkActionEntry* library_window_create_common_actions (LibraryWindow* self #line 283 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" import = _tmp1_; #line 285 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" - _tmp2_ = _ ("_Import From Folder..."); + _tmp2_ = _ ("_Import From Folder…"); #line 285 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" import.label = _tmp2_; #line 286 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" @@ -2966,7 +2966,7 @@ static GtkActionEntry* library_window_create_common_actions (LibraryWindow* self #line 289 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" import_from_external = _tmp6_; #line 293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" - _tmp7_ = _ ("Import From _Application..."); + _tmp7_ = _ ("Import From _Application…"); #line 293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" import_from_external.label = _tmp7_; #line 294 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" @@ -3152,7 +3152,7 @@ static GtkActionEntry* library_window_create_common_actions (LibraryWindow* self #line 327 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" new_search = _tmp34_; #line 329 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" - _tmp35_ = _ ("Ne_w Saved Search..."); + _tmp35_ = _ ("Ne_w Saved Search…"); #line 329 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" new_search.label = _tmp35_; #line 330 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" @@ -5932,7 +5932,7 @@ static void library_window_on_empty_trash (LibraryWindow* self) { #line 726 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" _tmp7_ = _ ("Empty Trash"); #line 726 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" - _tmp8_ = _ ("Emptying Trash..."); + _tmp8_ = _ ("Emptying Trash…"); #line 726 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" remove_from_app (G_TYPE_CHECK_INSTANCE_CAST (to_remove, GEE_TYPE_COLLECTION, GeeCollection), _tmp7_, _tmp8_); #line 728 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" @@ -7949,7 +7949,7 @@ static void library_window_on_camera_added (LibraryWindow* self, DiscoveredCamer #line 1088 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 7951 "LibraryWindow.c" - goto __catch39_g_error; + goto __catch40_g_error; } #line 1088 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" _tmp12_ = _tmp9_; @@ -7963,8 +7963,8 @@ static void library_window_on_camera_added (LibraryWindow* self, DiscoveredCamer _g_object_unref0 (_tmp9_); #line 7964 "LibraryWindow.c" } - goto __finally39; - __catch39_g_error: + goto __finally40; + __catch40_g_error: { GError* err = NULL; #line 1087 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" @@ -7975,7 +7975,7 @@ static void library_window_on_camera_added (LibraryWindow* self, DiscoveredCamer _g_error_free0 (err); #line 7976 "LibraryWindow.c" } - __finally39: + __finally40: #line 1087 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1087 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" @@ -8624,7 +8624,7 @@ static void library_window_on_library_monitor_discovery_started (LibraryWindow* #line 1246 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" g_return_if_fail (IS_LIBRARY_WINDOW (self)); #line 1247 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" - _tmp0_ = _ ("Updating library..."); + _tmp0_ = _ ("Updating library…"); #line 1247 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" library_window_start_pulse_background_progress_bar (self, _tmp0_, LIBRARY_WINDOW_STARTUP_SCAN_PROGRESS_PRIORITY); #line 8630 "LibraryWindow.c" @@ -8656,7 +8656,7 @@ static void library_window_on_library_monitor_auto_update_progress (LibraryWindo gint _tmp2_ = 0; gint _tmp3_ = 0; #line 1258 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" - _tmp1_ = _ ("Updating library..."); + _tmp1_ = _ ("Updating library…"); #line 1258 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" _tmp2_ = completed_files; #line 1258 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" @@ -8673,7 +8673,7 @@ static void library_window_on_library_monitor_auto_import_preparing (LibraryWind #line 1263 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" g_return_if_fail (IS_LIBRARY_WINDOW (self)); #line 1264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" - _tmp0_ = _ ("Preparing to auto-import photos..."); + _tmp0_ = _ ("Preparing to auto-import photos…"); #line 1264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" library_window_start_pulse_background_progress_bar (self, _tmp0_, LIBRARY_WINDOW_REALTIME_IMPORT_PROGRESS_PRIORITY); #line 8679 "LibraryWindow.c" @@ -8687,7 +8687,7 @@ static void library_window_on_library_monitor_auto_import_progress (LibraryWindo #line 1268 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" g_return_if_fail (IS_LIBRARY_WINDOW (self)); #line 1269 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" - _tmp0_ = _ ("Auto-importing photos..."); + _tmp0_ = _ ("Auto-importing photos…"); #line 1269 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" _tmp1_ = completed_bytes; #line 1269 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" @@ -8714,7 +8714,7 @@ static void library_window_on_metadata_writer_progress (LibraryWindow* self, gui guint _tmp2_ = 0U; guint _tmp3_ = 0U; #line 1277 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" - _tmp1_ = _ ("Writing metadata to files..."); + _tmp1_ = _ ("Writing metadata to files…"); #line 1277 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" _tmp2_ = completed; #line 1277 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" @@ -9989,7 +9989,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 9991 "LibraryWindow.c" - goto __catch41_g_regex_error; + goto __catch42_g_regex_error; } #line 1382 "/usr/share/vala-0.34/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); @@ -10014,7 +10014,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 10016 "LibraryWindow.c" - goto __catch41_g_regex_error; + goto __catch42_g_regex_error; } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); @@ -10040,8 +10040,8 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* return result; #line 10041 "LibraryWindow.c" } - goto __finally41; - __catch41_g_regex_error: + goto __finally42; + __catch42_g_regex_error: { GError* e = NULL; #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -10054,7 +10054,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_error_free0 (e); #line 10055 "LibraryWindow.c" } - __finally41: + __finally42: #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -10128,7 +10128,7 @@ void library_window_mounted_camera_shell_notification (LibraryWindow* self, cons #line 1535 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 10130 "LibraryWindow.c" - goto __catch40_g_error; + goto __catch41_g_error; } #line 1535 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" _tmp9_ = _tmp6_; @@ -10142,8 +10142,8 @@ void library_window_mounted_camera_shell_notification (LibraryWindow* self, cons _g_object_unref0 (_tmp6_); #line 10143 "LibraryWindow.c" } - goto __finally40; - __catch40_g_error: + goto __finally41; + __catch41_g_error: { GError* err = NULL; GError* _tmp10_ = NULL; @@ -10168,7 +10168,7 @@ void library_window_mounted_camera_shell_notification (LibraryWindow* self, cons return; #line 10169 "LibraryWindow.c" } - __finally40: + __finally41: #line 1534 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1534 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala" diff --git a/src/library/LibraryWindow.vala b/src/library/LibraryWindow.vala index 19f819b..b464f11 100644 --- a/src/library/LibraryWindow.vala +++ b/src/library/LibraryWindow.vala @@ -282,7 +282,7 @@ public class LibraryWindow : AppWindow { Gtk.ActionEntry import = { "CommonFileImport", Resources.IMPORT, TRANSLATABLE, "<Ctrl>I", TRANSLATABLE, on_file_import }; - import.label = _("_Import From Folder..."); + import.label = _("_Import From Folder…"); import.tooltip = _("Import photos from disk to library"); actions += import; @@ -290,7 +290,7 @@ public class LibraryWindow : AppWindow { "ExternalLibraryImport", Resources.IMPORT, TRANSLATABLE, null, TRANSLATABLE, on_external_library_import }; - import_from_external.label = _("Import From _Application..."); + import_from_external.label = _("Import From _Application…"); actions += import_from_external; Gtk.ActionEntry sort = { "CommonSortEvents", null, TRANSLATABLE, null, null, null }; @@ -326,7 +326,7 @@ public class LibraryWindow : AppWindow { Gtk.ActionEntry new_search = { "CommonNewSearch", null, TRANSLATABLE, "<Ctrl>S", null, on_new_search }; - new_search.label = _("Ne_w Saved Search..."); + new_search.label = _("Ne_w Saved Search…"); actions += new_search; // top-level menus @@ -723,7 +723,7 @@ public class LibraryWindow : AppWindow { to_remove.add_all(LibraryPhoto.global.get_trashcan_contents()); to_remove.add_all(Video.global.get_trashcan_contents()); - remove_from_app(to_remove, _("Empty Trash"), _("Emptying Trash...")); + remove_from_app(to_remove, _("Empty Trash"), _("Emptying Trash…")); AppWindow.get_command_manager().reset(); } @@ -1244,7 +1244,7 @@ public class LibraryWindow : AppWindow { } private void on_library_monitor_discovery_started() { - start_pulse_background_progress_bar(_("Updating library..."), STARTUP_SCAN_PROGRESS_PRIORITY); + start_pulse_background_progress_bar(_("Updating library…"), STARTUP_SCAN_PROGRESS_PRIORITY); } private void on_library_monitor_discovery_completed() { @@ -1255,18 +1255,18 @@ public class LibraryWindow : AppWindow { if (total_files < MIN_PROGRESS_BAR_FILES) clear_background_progress_bar(REALTIME_UPDATE_PROGRESS_PRIORITY); else { - update_background_progress_bar(_("Updating library..."), REALTIME_UPDATE_PROGRESS_PRIORITY, + update_background_progress_bar(_("Updating library…"), REALTIME_UPDATE_PROGRESS_PRIORITY, completed_files, total_files); } } private void on_library_monitor_auto_import_preparing() { - start_pulse_background_progress_bar(_("Preparing to auto-import photos..."), + start_pulse_background_progress_bar(_("Preparing to auto-import photos…"), REALTIME_IMPORT_PROGRESS_PRIORITY); } private void on_library_monitor_auto_import_progress(uint64 completed_bytes, uint64 total_bytes) { - update_background_progress_bar(_("Auto-importing photos..."), + update_background_progress_bar(_("Auto-importing photos…"), REALTIME_IMPORT_PROGRESS_PRIORITY, completed_bytes, total_bytes); } @@ -1274,7 +1274,7 @@ public class LibraryWindow : AppWindow { if (total < MIN_PROGRESS_BAR_FILES) clear_background_progress_bar(METADATA_WRITER_PROGRESS_PRIORITY); else { - update_background_progress_bar(_("Writing metadata to files..."), + update_background_progress_bar(_("Writing metadata to files…"), METADATA_WRITER_PROGRESS_PRIORITY, completed, total); } } diff --git a/src/library/OfflinePage.c b/src/library/OfflinePage.c index dacbda6..ec05a96 100644 --- a/src/library/OfflinePage.c +++ b/src/library/OfflinePage.c @@ -1415,7 +1415,7 @@ static void offline_page_on_remove_from_library (OfflinePage* self) { #line 106 "/home/jens/Source/shotwell/src/library/OfflinePage.vala" _tmp20_ = _tmp19_; #line 106 "/home/jens/Source/shotwell/src/library/OfflinePage.vala" - _tmp21_ = _ ("Deleting..."); + _tmp21_ = _ ("Deleting…"); #line 106 "/home/jens/Source/shotwell/src/library/OfflinePage.vala" _tmp22_ = progress_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_window_get_type (), GtkWindow), _tmp21_, NULL); #line 106 "/home/jens/Source/shotwell/src/library/OfflinePage.vala" diff --git a/src/library/OfflinePage.vala b/src/library/OfflinePage.vala index 771a1fd..899dc53 100644 --- a/src/library/OfflinePage.vala +++ b/src/library/OfflinePage.vala @@ -103,7 +103,7 @@ public class OfflinePage : CheckerboardPage { ProgressDialog progress = null; if (sources.size >= 20) - progress = new ProgressDialog(AppWindow.get_instance(), _("Deleting...")); + progress = new ProgressDialog(AppWindow.get_instance(), _("Deleting…")); Gee.ArrayList<LibraryPhoto> photos = new Gee.ArrayList<LibraryPhoto>(); Gee.ArrayList<Video> videos = new Gee.ArrayList<Video>(); @@ -835,11 +835,11 @@ void library_exec (gchar** mounts, int mounts_length1) { #line 35 "/home/jens/Source/shotwell/src/main.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 838 "main.c" - goto __catch206_g_error; + goto __catch219_g_error; } } - goto __finally206; - __catch206_g_error: + goto __finally219; + __catch219_g_error: { GError* err = NULL; GError* _tmp7_ = NULL; @@ -860,7 +860,7 @@ void library_exec (gchar** mounts, int mounts_length1) { return; #line 862 "main.c" } - __finally206: + __finally219: #line 34 "/home/jens/Source/shotwell/src/main.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 34 "/home/jens/Source/shotwell/src/main.vala" @@ -872,7 +872,7 @@ void library_exec (gchar** mounts, int mounts_length1) { #line 873 "main.c" } #line 43 "/home/jens/Source/shotwell/src/main.vala" - g_message ("main.vala:43: Verifying database ..."); + g_message ("main.vala:43: Verifying database…"); #line 44 "/home/jens/Source/shotwell/src/main.vala" errormsg = NULL; #line 47 "/home/jens/Source/shotwell/src/main.vala" @@ -906,9 +906,9 @@ void library_exec (gchar** mounts, int mounts_length1) { gint _tmp15_ = 0; gchar* _tmp16_ = NULL; #line 54 "/home/jens/Source/shotwell/src/main.vala" - _tmp13_ = _ ("Your photo library is not compatible with this version of Shotwell. I" \ -"t appears it was created by Shotwell %s (schema %d). This version is " \ -"%s (schema %d). Please use the latest version of Shotwell."); + _tmp13_ = _ ("Your photo library is not compatible with this version of Shotwell. It" \ +" appears it was created by Shotwell %s (schema %d). This version is %s" \ +" (schema %d). Please use the latest version of Shotwell."); #line 54 "/home/jens/Source/shotwell/src/main.vala" _tmp14_ = app_version; #line 54 "/home/jens/Source/shotwell/src/main.vala" @@ -933,8 +933,8 @@ void library_exec (gchar** mounts, int mounts_length1) { gchar* _tmp20_ = NULL; #line 59 "/home/jens/Source/shotwell/src/main.vala" _tmp17_ = _ ("Shotwell was unable to upgrade your photo library from version %s (sch" \ -"ema %d) to %s (schema %d). For more information please check the Shot" \ -"well Wiki at %s"); +"ema %d) to %s (schema %d). For more information please check the Shotw" \ +"ell Wiki at %s"); #line 59 "/home/jens/Source/shotwell/src/main.vala" _tmp18_ = app_version; #line 59 "/home/jens/Source/shotwell/src/main.vala" @@ -962,10 +962,10 @@ void library_exec (gchar** mounts, int mounts_length1) { gchar* _tmp27_ = NULL; gchar* _tmp28_ = NULL; #line 65 "/home/jens/Source/shotwell/src/main.vala" - _tmp21_ = _ ("Your photo library is not compatible with this version of Shotwell. I" \ -"t appears it was created by Shotwell %s (schema %d). This version is " \ -"%s (schema %d). Please clear your library by deleting %s and re-impor" \ -"t your photos."); + _tmp21_ = _ ("Your photo library is not compatible with this version of Shotwell. It" \ +" appears it was created by Shotwell %s (schema %d). This version is %s" \ +" (schema %d). Please clear your library by deleting %s and re-import y" \ +"our photos."); #line 65 "/home/jens/Source/shotwell/src/main.vala" _tmp22_ = app_version; #line 65 "/home/jens/Source/shotwell/src/main.vala" @@ -999,7 +999,7 @@ void library_exec (gchar** mounts, int mounts_length1) { GEnumValue* _tmp31_; gchar* _tmp32_ = NULL; #line 71 "/home/jens/Source/shotwell/src/main.vala" - _tmp29_ = _ ("Unknown error attempting to verify Shotwell's database: %s"); + _tmp29_ = _ ("Unknown error attempting to verify Shotwell’s database: %s"); #line 71 "/home/jens/Source/shotwell/src/main.vala" _tmp30_ = _result_; #line 72 "/home/jens/Source/shotwell/src/main.vala" @@ -1218,7 +1218,7 @@ void library_exec (gchar** mounts, int mounts_length1) { #line 109 "/home/jens/Source/shotwell/src/main.vala" _g_free0 (icon_path); #line 1214 "main.c" - goto __catch207_g_error; + goto __catch220_g_error; } #line 109 "/home/jens/Source/shotwell/src/main.vala" _tmp72_ = progress_dialog; @@ -1230,8 +1230,8 @@ void library_exec (gchar** mounts, int mounts_length1) { _g_free0 (icon_path); #line 1225 "main.c" } - goto __finally207; - __catch207_g_error: + goto __finally220; + __catch220_g_error: { GError* err = NULL; GError* _tmp73_ = NULL; @@ -1251,7 +1251,7 @@ void library_exec (gchar** mounts, int mounts_length1) { _g_error_free0 (err); #line 1245 "main.c" } - __finally207: + __finally220: #line 107 "/home/jens/Source/shotwell/src/main.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 107 "/home/jens/Source/shotwell/src/main.vala" @@ -1927,11 +1927,11 @@ void editing_exec (const gchar* filename) { #line 253 "/home/jens/Source/shotwell/src/main.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1922 "main.c" - goto __catch208_g_error; + goto __catch221_g_error; } } - goto __finally208; - __catch208_g_error: + goto __finally221; + __catch221_g_error: { GError* err = NULL; GError* _tmp3_ = NULL; @@ -1954,7 +1954,7 @@ void editing_exec (const gchar* filename) { return; #line 1948 "main.c" } - __finally208: + __finally221: #line 252 "/home/jens/Source/shotwell/src/main.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 252 "/home/jens/Source/shotwell/src/main.vala" @@ -2174,7 +2174,7 @@ GOptionEntry* commandline_options_get_options (int* result_length1) { #line 2167 "main.c" } #line 293 "/home/jens/Source/shotwell/src/main.vala" - _tmp4_ = _ ("Path to Shotwell's private data"); + _tmp4_ = _ ("Path to Shotwell’s private data"); #line 293 "/home/jens/Source/shotwell/src/main.vala" _tmp5_ = _ ("DIRECTORY"); #line 293 "/home/jens/Source/shotwell/src/main.vala" @@ -2228,7 +2228,7 @@ GOptionEntry* commandline_options_get_options (int* result_length1) { #line 299 "/home/jens/Source/shotwell/src/main.vala" _vala_array_add153 (&commandline_options_entries, &commandline_options_entries_length1, &_commandline_options_entries_size_, &_tmp12_); #line 301 "/home/jens/Source/shotwell/src/main.vala" - _tmp13_ = _ ("Don't display startup progress meter"); + _tmp13_ = _ ("Don’t display startup progress meter"); #line 301 "/home/jens/Source/shotwell/src/main.vala" _tmp14_.long_name = "no-startup-progress"; #line 301 "/home/jens/Source/shotwell/src/main.vala" @@ -2254,7 +2254,7 @@ GOptionEntry* commandline_options_get_options (int* result_length1) { #line 303 "/home/jens/Source/shotwell/src/main.vala" _vala_array_add154 (&commandline_options_entries, &commandline_options_entries_length1, &_commandline_options_entries_size_, &_tmp16_); #line 305 "/home/jens/Source/shotwell/src/main.vala" - _tmp17_ = _ ("Show the application's version"); + _tmp17_ = _ ("Show the application’s version"); #line 305 "/home/jens/Source/shotwell/src/main.vala" _tmp18_.long_name = "version"; #line 305 "/home/jens/Source/shotwell/src/main.vala" @@ -2468,11 +2468,11 @@ void _vala_main (gchar** args, int args_length1) { #line 338 "/home/jens/Source/shotwell/src/main.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 2463 "main.c" - goto __catch209_g_error; + goto __catch222_g_error; } } - goto __finally209; - __catch209_g_error: + goto __finally222; + __catch222_g_error: { GError* e = NULL; GError* _tmp15_ = NULL; @@ -2500,7 +2500,7 @@ void _vala_main (gchar** args, int args_length1) { #line 341 "/home/jens/Source/shotwell/src/main.vala" _g_free0 (_tmp18_); #line 342 "/home/jens/Source/shotwell/src/main.vala" - _tmp19_ = _ ("Run '%s --help' to see a full list of available command line options.\n"); + _tmp19_ = _ ("Run “%s --help” to see a full list of available command line options.\n"); #line 342 "/home/jens/Source/shotwell/src/main.vala" _tmp20_ = args; #line 342 "/home/jens/Source/shotwell/src/main.vala" @@ -2517,7 +2517,7 @@ void _vala_main (gchar** args, int args_length1) { return; #line 2511 "main.c" } - __finally209: + __finally222: #line 337 "/home/jens/Source/shotwell/src/main.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 337 "/home/jens/Source/shotwell/src/main.vala" @@ -2926,7 +2926,7 @@ void _vala_main (gchar** args, int args_length1) { #line 442 "/home/jens/Source/shotwell/src/main.vala" _g_object_unref0 (src); #line 2921 "main.c" - goto __catch210_g_error; + goto __catch223_g_error; } #line 439 "/home/jens/Source/shotwell/src/main.vala" _g_object_unref0 (dest); @@ -2934,8 +2934,8 @@ void _vala_main (gchar** args, int args_length1) { _g_object_unref0 (src); #line 2928 "main.c" } - goto __finally210; - __catch210_g_error: + goto __finally223; + __catch223_g_error: { GError* _error_ = NULL; GError* _tmp85_ = NULL; @@ -2954,7 +2954,7 @@ void _vala_main (gchar** args, int args_length1) { _g_error_free0 (_error_); #line 2948 "main.c" } - __finally210: + __finally223: #line 439 "/home/jens/Source/shotwell/src/main.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 439 "/home/jens/Source/shotwell/src/main.vala" diff --git a/src/main.vala b/src/main.vala index bbd3317..6941734 100644 --- a/src/main.vala +++ b/src/main.vala @@ -40,7 +40,7 @@ void library_exec(string[] mounts) { } // validate the databases prior to using them - message("Verifying database ..."); + message("Verifying database…"); string errormsg = null; string app_version; int schema_version; @@ -51,24 +51,24 @@ void library_exec(string[] mounts) { break; case Db.VerifyResult.FUTURE_VERSION: - errormsg = _("Your photo library is not compatible with this version of Shotwell. It appears it was created by Shotwell %s (schema %d). This version is %s (schema %d). Please use the latest version of Shotwell.").printf( + errormsg = _("Your photo library is not compatible with this version of Shotwell. It appears it was created by Shotwell %s (schema %d). This version is %s (schema %d). Please use the latest version of Shotwell.").printf( app_version, schema_version, Resources.APP_VERSION, DatabaseTable.SCHEMA_VERSION); break; case Db.VerifyResult.UPGRADE_ERROR: - errormsg = _("Shotwell was unable to upgrade your photo library from version %s (schema %d) to %s (schema %d). For more information please check the Shotwell Wiki at %s").printf( + errormsg = _("Shotwell was unable to upgrade your photo library from version %s (schema %d) to %s (schema %d). For more information please check the Shotwell Wiki at %s").printf( app_version, schema_version, Resources.APP_VERSION, DatabaseTable.SCHEMA_VERSION, Resources.HOME_URL); break; case Db.VerifyResult.NO_UPGRADE_AVAILABLE: - errormsg = _("Your photo library is not compatible with this version of Shotwell. It appears it was created by Shotwell %s (schema %d). This version is %s (schema %d). Please clear your library by deleting %s and re-import your photos.").printf( + errormsg = _("Your photo library is not compatible with this version of Shotwell. It appears it was created by Shotwell %s (schema %d). This version is %s (schema %d). Please clear your library by deleting %s and re-import your photos.").printf( app_version, schema_version, Resources.APP_VERSION, DatabaseTable.SCHEMA_VERSION, AppDirs.get_data_dir().get_path()); break; default: - errormsg = _("Unknown error attempting to verify Shotwell's database: %s").printf( + errormsg = _("Unknown error attempting to verify Shotwell’s database: %s").printf( result.to_string()); break; } @@ -291,7 +291,7 @@ public OptionEntry[] get_options() { return entries; OptionEntry datadir = { "datadir", 'd', 0, OptionArg.FILENAME, &data_dir, - _("Path to Shotwell's private data"), _("DIRECTORY") }; + _("Path to Shotwell’s private data"), _("DIRECTORY") }; entries += datadir; OptionEntry no_monitoring = { "no-runtime-monitoring", 0, 0, OptionArg.NONE, &no_runtime_monitoring, @@ -299,11 +299,11 @@ public OptionEntry[] get_options() { entries += no_monitoring; OptionEntry no_startup = { "no-startup-progress", 0, 0, OptionArg.NONE, &no_startup_progress, - _("Don't display startup progress meter"), null }; + _("Don’t display startup progress meter"), null }; entries += no_startup; OptionEntry version = { "version", 'V', 0, OptionArg.NONE, &show_version, - _("Show the application's version"), null }; + _("Show the application’s version"), null }; entries += version; OptionEntry terminator = { null, 0, 0, 0, null, null, null }; @@ -339,7 +339,7 @@ void main(string[] args) { Resources.APP_GETTEXT_PACKAGE); } catch (Error e) { print(e.message + "\n"); - print(_("Run '%s --help' to see a full list of available command line options.\n"), args[0]); + print(_("Run “%s --help” to see a full list of available command line options.\n"), args[0]); AppDirs.terminate(); return; } diff --git a/src/photos/GRaw.c b/src/photos/GRaw.c index 1ee0beb..7aae9d7 100644 --- a/src/photos/GRaw.c +++ b/src/photos/GRaw.c @@ -510,7 +510,7 @@ GRawProcessedImage* graw_processed_image_construct_from_thumb (GType object_type #line 129 "/home/jens/Source/shotwell/src/photos/GRaw.vala" _g_bytes_unref0 (bytes); #line 513 "GRaw.c" - goto __catch26_g_error; + goto __catch27_g_error; } #line 129 "/home/jens/Source/shotwell/src/photos/GRaw.vala" _tmp13_ = _tmp7_; @@ -526,8 +526,8 @@ GRawProcessedImage* graw_processed_image_construct_from_thumb (GType object_type _g_bytes_unref0 (bytes); #line 528 "GRaw.c" } - goto __finally26; - __catch26_g_error: + goto __finally27; + __catch27_g_error: { GError* err = NULL; GError* _tmp14_ = NULL; @@ -548,9 +548,9 @@ GRawProcessedImage* graw_processed_image_construct_from_thumb (GType object_type #line 132 "/home/jens/Source/shotwell/src/photos/GRaw.vala" _g_error_free0 (err); #line 551 "GRaw.c" - goto __finally26; + goto __finally27; } - __finally26: + __finally27: #line 127 "/home/jens/Source/shotwell/src/photos/GRaw.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 127 "/home/jens/Source/shotwell/src/photos/GRaw.vala" diff --git a/src/photos/GdkSupport.c b/src/photos/GdkSupport.c index 6c66a3d..08ee515 100644 --- a/src/photos/GdkSupport.c +++ b/src/photos/GdkSupport.c @@ -628,11 +628,11 @@ static DetectedPhotoInformation* gdk_sniffer_real_sniff (PhotoFileSniffer* base, #line 51 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 631 "GdkSupport.c" - goto __catch27_g_error; + goto __catch28_g_error; } } - goto __finally27; - __catch27_g_error: + goto __finally28; + __catch28_g_error: { GError* err = NULL; DetectedPhotoInformation* _tmp11_ = NULL; @@ -650,7 +650,7 @@ static DetectedPhotoInformation* gdk_sniffer_real_sniff (PhotoFileSniffer* base, _g_error_free0 (err); #line 652 "GdkSupport.c" } - __finally27: + __finally28: #line 50 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 50 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala" @@ -1084,11 +1084,11 @@ static DetectedPhotoInformation* gdk_sniffer_real_sniff (PhotoFileSniffer* base, #line 95 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1087 "GdkSupport.c" - goto __catch28_g_error; + goto __catch29_g_error; } } - goto __finally28; - __catch28_g_error: + goto __finally29; + __catch29_g_error: { GError* err = NULL; #line 94 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala" @@ -1099,7 +1099,7 @@ static DetectedPhotoInformation* gdk_sniffer_real_sniff (PhotoFileSniffer* base, _g_error_free0 (err); #line 1101 "GdkSupport.c" } - __finally28: + __finally29: #line 94 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 94 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala" diff --git a/src/photos/PhotoMetadata.c b/src/photos/PhotoMetadata.c index e2a44b3..f546f8f 100644 --- a/src/photos/PhotoMetadata.c +++ b/src/photos/PhotoMetadata.c @@ -27,11 +27,11 @@ #include <glib-object.h> #include <stdlib.h> #include <string.h> +#include <gee.h> #include <gdk-pixbuf/gdk-pixbuf.h> #include <gio/gio.h> #include <gexiv2/gexiv2.h> #include <libexif/exif-data.h> -#include <gee.h> #include <libexif/exif-mem.h> #include <float.h> #include <math.h> @@ -40,6 +40,45 @@ #define TYPE_METADATA_DOMAIN (metadata_domain_get_type ()) +#define TYPE_KEYWORD_TRANSFORMER (keyword_transformer_get_type ()) +#define KEYWORD_TRANSFORMER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_KEYWORD_TRANSFORMER, KeywordTransformer)) +#define KEYWORD_TRANSFORMER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_KEYWORD_TRANSFORMER, KeywordTransformerClass)) +#define IS_KEYWORD_TRANSFORMER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_KEYWORD_TRANSFORMER)) +#define IS_KEYWORD_TRANSFORMER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_KEYWORD_TRANSFORMER)) +#define KEYWORD_TRANSFORMER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_KEYWORD_TRANSFORMER, KeywordTransformerClass)) + +typedef struct _KeywordTransformer KeywordTransformer; +typedef struct _KeywordTransformerClass KeywordTransformerClass; +typedef struct _KeywordTransformerPrivate KeywordTransformerPrivate; +typedef struct _ParamSpecKeywordTransformer ParamSpecKeywordTransformer; + +#define TYPE_NULL_KEYWORD_TRANSFORMER (null_keyword_transformer_get_type ()) +#define NULL_KEYWORD_TRANSFORMER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_NULL_KEYWORD_TRANSFORMER, NullKeywordTransformer)) +#define NULL_KEYWORD_TRANSFORMER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_NULL_KEYWORD_TRANSFORMER, NullKeywordTransformerClass)) +#define IS_NULL_KEYWORD_TRANSFORMER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_NULL_KEYWORD_TRANSFORMER)) +#define IS_NULL_KEYWORD_TRANSFORMER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_NULL_KEYWORD_TRANSFORMER)) +#define NULL_KEYWORD_TRANSFORMER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_NULL_KEYWORD_TRANSFORMER, NullKeywordTransformerClass)) + +typedef struct _NullKeywordTransformer NullKeywordTransformer; +typedef struct _NullKeywordTransformerClass NullKeywordTransformerClass; +typedef struct _NullKeywordTransformerPrivate NullKeywordTransformerPrivate; +#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) + +#define TYPE_ACD_SEE_KEYWORD_TRANSFORMER (acd_see_keyword_transformer_get_type ()) +#define ACD_SEE_KEYWORD_TRANSFORMER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ACD_SEE_KEYWORD_TRANSFORMER, ACDSeeKeywordTransformer)) +#define ACD_SEE_KEYWORD_TRANSFORMER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ACD_SEE_KEYWORD_TRANSFORMER, ACDSeeKeywordTransformerClass)) +#define IS_ACD_SEE_KEYWORD_TRANSFORMER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ACD_SEE_KEYWORD_TRANSFORMER)) +#define IS_ACD_SEE_KEYWORD_TRANSFORMER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ACD_SEE_KEYWORD_TRANSFORMER)) +#define ACD_SEE_KEYWORD_TRANSFORMER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ACD_SEE_KEYWORD_TRANSFORMER, ACDSeeKeywordTransformerClass)) + +typedef struct _ACDSeeKeywordTransformer ACDSeeKeywordTransformer; +typedef struct _ACDSeeKeywordTransformerClass ACDSeeKeywordTransformerClass; +typedef struct _ACDSeeKeywordTransformerPrivate ACDSeeKeywordTransformerPrivate; +#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) +#define _g_markup_parse_context_unref0(var) ((var == NULL) ? NULL : (var = (g_markup_parse_context_unref (var), NULL))) +#define _g_free0(var) (var = (g_free (var), NULL)) +#define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL))) + #define TYPE_HIERARCHICAL_KEYWORD_FIELD (hierarchical_keyword_field_get_type ()) #define HIERARCHICAL_KEYWORD_FIELD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_HIERARCHICAL_KEYWORD_FIELD, HierarchicalKeywordField)) #define HIERARCHICAL_KEYWORD_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_HIERARCHICAL_KEYWORD_FIELD, HierarchicalKeywordFieldClass)) @@ -50,7 +89,7 @@ typedef struct _HierarchicalKeywordField HierarchicalKeywordField; typedef struct _HierarchicalKeywordFieldClass HierarchicalKeywordFieldClass; typedef struct _HierarchicalKeywordFieldPrivate HierarchicalKeywordFieldPrivate; -#define _g_free0(var) (var = (g_free (var), NULL)) +#define _keyword_transformer_unref0(var) ((var == NULL) ? NULL : (var = (keyword_transformer_unref (var), NULL))) typedef struct _ParamSpecHierarchicalKeywordField ParamSpecHierarchicalKeywordField; #define TYPE_PHOTO_PREVIEW (photo_preview_get_type ()) @@ -66,8 +105,6 @@ typedef struct _PhotoPreviewPrivate PhotoPreviewPrivate; #define TYPE_DIMENSIONS (dimensions_get_type ()) typedef struct _Dimensions Dimensions; -#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) -#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) typedef struct _ParamSpecPhotoPreview ParamSpecPhotoPreview; #define TYPE_MEDIA_METADATA (media_metadata_get_type ()) @@ -157,6 +194,48 @@ typedef enum { METADATA_DOMAIN_IPTC } MetadataDomain; +struct _KeywordTransformer { + GTypeInstance parent_instance; + volatile int ref_count; + KeywordTransformerPrivate * priv; +}; + +struct _KeywordTransformerClass { + GTypeClass parent_class; + void (*finalize) (KeywordTransformer *self); + GeeList* (*transform) (KeywordTransformer* self, const gchar* input, GError** error); +}; + +struct _ParamSpecKeywordTransformer { + GParamSpec parent_instance; +}; + +struct _NullKeywordTransformer { + KeywordTransformer parent_instance; + NullKeywordTransformerPrivate * priv; +}; + +struct _NullKeywordTransformerClass { + KeywordTransformerClass parent_class; +}; + +struct _ACDSeeKeywordTransformer { + KeywordTransformer parent_instance; + ACDSeeKeywordTransformerPrivate * priv; +}; + +struct _ACDSeeKeywordTransformerClass { + KeywordTransformerClass parent_class; +}; + +struct _ACDSeeKeywordTransformerPrivate { + GMarkupParser parser; + GError* error; + GeeArrayQueue* stack; + GeeArrayList* result; + gboolean assigned; +}; + struct _HierarchicalKeywordField { GTypeInstance parent_instance; volatile int ref_count; @@ -165,6 +244,7 @@ struct _HierarchicalKeywordField { gchar* path_separator; gboolean wants_leading_separator; gboolean is_writeable; + KeywordTransformer* transformer; }; struct _HierarchicalKeywordFieldClass { @@ -328,6 +408,9 @@ struct _PhotoMetadataInternalPhotoPreviewClass { }; +static gpointer keyword_transformer_parent_class = NULL; +static gpointer null_keyword_transformer_parent_class = NULL; +static gpointer acd_see_keyword_transformer_parent_class = NULL; static gpointer hierarchical_keyword_field_parent_class = NULL; static gpointer photo_preview_parent_class = NULL; static gpointer photo_metadata_parent_class = NULL; @@ -360,6 +443,11 @@ static gint photo_metadata_STANDARD_TITLE_TAGS_length1; static gchar** photo_metadata_STANDARD_TITLE_TAGS = NULL; static gint photo_metadata_STANDARD_TITLE_TAGS_length1 = 0; static gint _photo_metadata_STANDARD_TITLE_TAGS_size_ = 0; +static gchar** photo_metadata_COMMENT_TAGS; +static gint photo_metadata_COMMENT_TAGS_length1; +static gchar** photo_metadata_COMMENT_TAGS = NULL; +static gint photo_metadata_COMMENT_TAGS_length1 = 0; +static gint _photo_metadata_COMMENT_TAGS_size_ = 0; static gchar** photo_metadata_KEYWORD_TAGS; static gint photo_metadata_KEYWORD_TAGS_length1; static gchar** photo_metadata_KEYWORD_TAGS = NULL; @@ -383,6 +471,44 @@ static gint _photo_metadata_RATING_TAGS_size_ = 0; static gpointer photo_metadata_internal_photo_preview_parent_class = NULL; GType metadata_domain_get_type (void) G_GNUC_CONST; +gpointer keyword_transformer_ref (gpointer instance); +void keyword_transformer_unref (gpointer instance); +GParamSpec* param_spec_keyword_transformer (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags); +void value_set_keyword_transformer (GValue* value, gpointer v_object); +void value_take_keyword_transformer (GValue* value, gpointer v_object); +gpointer value_get_keyword_transformer (const GValue* value); +GType keyword_transformer_get_type (void) G_GNUC_CONST; +enum { + KEYWORD_TRANSFORMER_DUMMY_PROPERTY +}; +GeeList* keyword_transformer_transform (KeywordTransformer* self, const gchar* input, GError** error); +static GeeList* keyword_transformer_real_transform (KeywordTransformer* self, const gchar* input, GError** error); +KeywordTransformer* keyword_transformer_construct (GType object_type); +static void keyword_transformer_finalize (KeywordTransformer* obj); +GType null_keyword_transformer_get_type (void) G_GNUC_CONST; +enum { + NULL_KEYWORD_TRANSFORMER_DUMMY_PROPERTY +}; +static GeeList* null_keyword_transformer_real_transform (KeywordTransformer* base, const gchar* input, GError** error); +NullKeywordTransformer* null_keyword_transformer_new (void); +NullKeywordTransformer* null_keyword_transformer_construct (GType object_type); +GType acd_see_keyword_transformer_get_type (void) G_GNUC_CONST; +#define ACD_SEE_KEYWORD_TRANSFORMER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_ACD_SEE_KEYWORD_TRANSFORMER, ACDSeeKeywordTransformerPrivate)) +enum { + ACD_SEE_KEYWORD_TRANSFORMER_DUMMY_PROPERTY +}; +ACDSeeKeywordTransformer* acd_see_keyword_transformer_new (void); +ACDSeeKeywordTransformer* acd_see_keyword_transformer_construct (GType object_type); +static void acd_see_keyword_transformer_on_start (ACDSeeKeywordTransformer* self, GMarkupParseContext* ctx, const gchar* name, gchar** attribute_names, gchar** attribute_values, GError** error); +static void _acd_see_keyword_transformer_on_start_gmarkup_parser_start_element_func (GMarkupParseContext* context, const gchar* element_name, gchar** attribute_names, gchar** attribute_values, gpointer self, GError** error); +static void acd_see_keyword_transformer_on_end (ACDSeeKeywordTransformer* self, GMarkupParseContext* ctx, const gchar* name, GError** error); +static void _acd_see_keyword_transformer_on_end_gmarkup_parser_end_element_func (GMarkupParseContext* context, const gchar* element_name, gpointer self, GError** error); +static void acd_see_keyword_transformer_on_text (ACDSeeKeywordTransformer* self, GMarkupParseContext* ctx, const gchar* text, GError** error); +static void _acd_see_keyword_transformer_on_text_gmarkup_parser_text_func (GMarkupParseContext* context, const gchar* text, gsize text_len, gpointer self, GError** error); +static void acd_see_keyword_transformer_on_error (ACDSeeKeywordTransformer* self, GMarkupParseContext* ctx, GError* _error_); +static void _acd_see_keyword_transformer_on_error_gmarkup_parser_error_func (GMarkupParseContext* context, GError* _error_, gpointer self); +static GeeList* acd_see_keyword_transformer_real_transform (KeywordTransformer* base, const gchar* input, GError** error); +static void acd_see_keyword_transformer_finalize (KeywordTransformer* obj); gpointer hierarchical_keyword_field_ref (gpointer instance); void hierarchical_keyword_field_unref (gpointer instance); GParamSpec* param_spec_hierarchical_keyword_field (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags); @@ -393,8 +519,8 @@ GType hierarchical_keyword_field_get_type (void) G_GNUC_CONST; enum { HIERARCHICAL_KEYWORD_FIELD_DUMMY_PROPERTY }; -HierarchicalKeywordField* hierarchical_keyword_field_new (const gchar* field_name, const gchar* path_separator, gboolean wants_leading_separator, gboolean is_writeable); -HierarchicalKeywordField* hierarchical_keyword_field_construct (GType object_type, const gchar* field_name, const gchar* path_separator, gboolean wants_leading_separator, gboolean is_writeable); +HierarchicalKeywordField* hierarchical_keyword_field_new (const gchar* field_name, const gchar* path_separator, gboolean wants_leading_separator, gboolean is_writeable, KeywordTransformer* transformer); +HierarchicalKeywordField* hierarchical_keyword_field_construct (GType object_type, const gchar* field_name, const gchar* path_separator, gboolean wants_leading_separator, gboolean is_writeable, KeywordTransformer* transformer); static void hierarchical_keyword_field_finalize (HierarchicalKeywordField* obj); gpointer photo_preview_ref (gpointer instance); void photo_preview_unref (gpointer instance); @@ -554,7 +680,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base); gboolean is_string_empty (const gchar* s); void photo_metadata_set_title (PhotoMetadata* self, const gchar* title, PhotoMetadataSetOption option); static gchar* photo_metadata_real_get_comment (MediaMetadata* base); -void photo_metadata_set_comment (PhotoMetadata* self, const gchar* comment); +void photo_metadata_set_comment (PhotoMetadata* self, const gchar* comment, PhotoMetadataSetOption option); GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compare_func, void* compare_func_target, GDestroyNotify compare_func_target_destroy_notify); gchar* hierarchical_tag_utilities_make_flat_tag_safe (const gchar* in_tag); gpointer hierarchical_tag_index_ref (gpointer instance); @@ -630,7 +756,787 @@ GType metadata_domain_get_type (void) { } -HierarchicalKeywordField* hierarchical_keyword_field_construct (GType object_type, const gchar* field_name, const gchar* path_separator, gboolean wants_leading_separator, gboolean is_writeable) { +static GeeList* keyword_transformer_real_transform (KeywordTransformer* self, const gchar* input, GError** error) { +#line 32 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_critical ("Type `%s' does not implement abstract method `keyword_transformer_transform'", g_type_name (G_TYPE_FROM_INSTANCE (self))); +#line 32 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return NULL; +#line 765 "PhotoMetadata.c" +} + + +GeeList* keyword_transformer_transform (KeywordTransformer* self, const gchar* input, GError** error) { +#line 32 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_val_if_fail (IS_KEYWORD_TRANSFORMER (self), NULL); +#line 32 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return KEYWORD_TRANSFORMER_GET_CLASS (self)->transform (self, input, error); +#line 774 "PhotoMetadata.c" +} + + +KeywordTransformer* keyword_transformer_construct (GType object_type) { + KeywordTransformer* self = NULL; +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self = (KeywordTransformer*) g_type_create_instance (object_type); +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return self; +#line 784 "PhotoMetadata.c" +} + + +static void value_keyword_transformer_init (GValue* value) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + value->data[0].v_pointer = NULL; +#line 791 "PhotoMetadata.c" +} + + +static void value_keyword_transformer_free_value (GValue* value) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (value->data[0].v_pointer) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + keyword_transformer_unref (value->data[0].v_pointer); +#line 800 "PhotoMetadata.c" + } +} + + +static void value_keyword_transformer_copy_value (const GValue* src_value, GValue* dest_value) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (src_value->data[0].v_pointer) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + dest_value->data[0].v_pointer = keyword_transformer_ref (src_value->data[0].v_pointer); +#line 810 "PhotoMetadata.c" + } else { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + dest_value->data[0].v_pointer = NULL; +#line 814 "PhotoMetadata.c" + } +} + + +static gpointer value_keyword_transformer_peek_pointer (const GValue* value) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return value->data[0].v_pointer; +#line 822 "PhotoMetadata.c" +} + + +static gchar* value_keyword_transformer_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (collect_values[0].v_pointer) { +#line 829 "PhotoMetadata.c" + KeywordTransformer* object; + object = collect_values[0].v_pointer; +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (object->parent_instance.g_class == NULL) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); +#line 836 "PhotoMetadata.c" + } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); +#line 840 "PhotoMetadata.c" + } +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + value->data[0].v_pointer = keyword_transformer_ref (object); +#line 844 "PhotoMetadata.c" + } else { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + value->data[0].v_pointer = NULL; +#line 848 "PhotoMetadata.c" + } +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return NULL; +#line 852 "PhotoMetadata.c" +} + + +static gchar* value_keyword_transformer_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { + KeywordTransformer** object_p; + object_p = collect_values[0].v_pointer; +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (!object_p) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); +#line 863 "PhotoMetadata.c" + } +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (!value->data[0].v_pointer) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + *object_p = NULL; +#line 869 "PhotoMetadata.c" + } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + *object_p = value->data[0].v_pointer; +#line 873 "PhotoMetadata.c" + } else { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + *object_p = keyword_transformer_ref (value->data[0].v_pointer); +#line 877 "PhotoMetadata.c" + } +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return NULL; +#line 881 "PhotoMetadata.c" +} + + +GParamSpec* param_spec_keyword_transformer (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { + ParamSpecKeywordTransformer* spec; +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_val_if_fail (g_type_is_a (object_type, TYPE_KEYWORD_TRANSFORMER), NULL); +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + G_PARAM_SPEC (spec)->value_type = object_type; +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return G_PARAM_SPEC (spec); +#line 895 "PhotoMetadata.c" +} + + +gpointer value_get_keyword_transformer (const GValue* value) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_KEYWORD_TRANSFORMER), NULL); +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return value->data[0].v_pointer; +#line 904 "PhotoMetadata.c" +} + + +void value_set_keyword_transformer (GValue* value, gpointer v_object) { + KeywordTransformer* old; +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_KEYWORD_TRANSFORMER)); +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + old = value->data[0].v_pointer; +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (v_object) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_KEYWORD_TRANSFORMER)); +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + value->data[0].v_pointer = v_object; +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + keyword_transformer_ref (value->data[0].v_pointer); +#line 924 "PhotoMetadata.c" + } else { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + value->data[0].v_pointer = NULL; +#line 928 "PhotoMetadata.c" + } +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (old) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + keyword_transformer_unref (old); +#line 934 "PhotoMetadata.c" + } +} + + +void value_take_keyword_transformer (GValue* value, gpointer v_object) { + KeywordTransformer* old; +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_KEYWORD_TRANSFORMER)); +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + old = value->data[0].v_pointer; +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (v_object) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_KEYWORD_TRANSFORMER)); +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + value->data[0].v_pointer = v_object; +#line 953 "PhotoMetadata.c" + } else { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + value->data[0].v_pointer = NULL; +#line 957 "PhotoMetadata.c" + } +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (old) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + keyword_transformer_unref (old); +#line 963 "PhotoMetadata.c" + } +} + + +static void keyword_transformer_class_init (KeywordTransformerClass * klass) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + keyword_transformer_parent_class = g_type_class_peek_parent (klass); +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + ((KeywordTransformerClass *) klass)->finalize = keyword_transformer_finalize; +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + ((KeywordTransformerClass *) klass)->transform = keyword_transformer_real_transform; +#line 975 "PhotoMetadata.c" +} + + +static void keyword_transformer_instance_init (KeywordTransformer * self) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self->ref_count = 1; +#line 982 "PhotoMetadata.c" +} + + +static void keyword_transformer_finalize (KeywordTransformer* obj) { + KeywordTransformer * self; +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_KEYWORD_TRANSFORMER, KeywordTransformer); +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_signal_handlers_destroy (self); +#line 992 "PhotoMetadata.c" +} + + +GType keyword_transformer_get_type (void) { + static volatile gsize keyword_transformer_type_id__volatile = 0; + if (g_once_init_enter (&keyword_transformer_type_id__volatile)) { + static const GTypeValueTable g_define_type_value_table = { value_keyword_transformer_init, value_keyword_transformer_free_value, value_keyword_transformer_copy_value, value_keyword_transformer_peek_pointer, "p", value_keyword_transformer_collect_value, "p", value_keyword_transformer_lcopy_value }; + static const GTypeInfo g_define_type_info = { sizeof (KeywordTransformerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) keyword_transformer_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (KeywordTransformer), 0, (GInstanceInitFunc) keyword_transformer_instance_init, &g_define_type_value_table }; + static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) }; + GType keyword_transformer_type_id; + keyword_transformer_type_id = g_type_register_fundamental (g_type_fundamental_next (), "KeywordTransformer", &g_define_type_info, &g_define_type_fundamental_info, G_TYPE_FLAG_ABSTRACT); + g_once_init_leave (&keyword_transformer_type_id__volatile, keyword_transformer_type_id); + } + return keyword_transformer_type_id__volatile; +} + + +gpointer keyword_transformer_ref (gpointer instance) { + KeywordTransformer* self; + self = instance; +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_atomic_int_inc (&self->ref_count); +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return instance; +#line 1017 "PhotoMetadata.c" +} + + +void keyword_transformer_unref (gpointer instance) { + KeywordTransformer* self; + self = instance; +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (g_atomic_int_dec_and_test (&self->ref_count)) { +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + KEYWORD_TRANSFORMER_GET_CLASS (self)->finalize (self); +#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_type_free_instance ((GTypeInstance *) self); +#line 1030 "PhotoMetadata.c" + } +} + + +static GeeList* null_keyword_transformer_real_transform (KeywordTransformer* base, const gchar* input, GError** error) { + NullKeywordTransformer * self; + GeeList* result = NULL; + GeeArrayList* _result_ = NULL; + GeeArrayList* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; +#line 36 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_NULL_KEYWORD_TRANSFORMER, NullKeywordTransformer); +#line 36 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_val_if_fail (input != NULL, NULL); +#line 37 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp0_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL); +#line 37 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _result_ = _tmp0_; +#line 38 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp1_ = input; +#line 38 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_result_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp1_); +#line 40 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + result = G_TYPE_CHECK_INSTANCE_CAST (_result_, GEE_TYPE_LIST, GeeList); +#line 40 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return result; +#line 1057 "PhotoMetadata.c" +} + + +NullKeywordTransformer* null_keyword_transformer_construct (GType object_type) { + NullKeywordTransformer* self = NULL; +#line 35 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self = (NullKeywordTransformer*) keyword_transformer_construct (object_type); +#line 35 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return self; +#line 1067 "PhotoMetadata.c" +} + + +NullKeywordTransformer* null_keyword_transformer_new (void) { +#line 35 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return null_keyword_transformer_construct (TYPE_NULL_KEYWORD_TRANSFORMER); +#line 1074 "PhotoMetadata.c" +} + + +static void null_keyword_transformer_class_init (NullKeywordTransformerClass * klass) { +#line 35 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + null_keyword_transformer_parent_class = g_type_class_peek_parent (klass); +#line 35 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + ((KeywordTransformerClass *) klass)->transform = null_keyword_transformer_real_transform; +#line 1083 "PhotoMetadata.c" +} + + +static void null_keyword_transformer_instance_init (NullKeywordTransformer * self) { +} + + +GType null_keyword_transformer_get_type (void) { + static volatile gsize null_keyword_transformer_type_id__volatile = 0; + if (g_once_init_enter (&null_keyword_transformer_type_id__volatile)) { + static const GTypeInfo g_define_type_info = { sizeof (NullKeywordTransformerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) null_keyword_transformer_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (NullKeywordTransformer), 0, (GInstanceInitFunc) null_keyword_transformer_instance_init, NULL }; + GType null_keyword_transformer_type_id; + null_keyword_transformer_type_id = g_type_register_static (TYPE_KEYWORD_TRANSFORMER, "NullKeywordTransformer", &g_define_type_info, 0); + g_once_init_leave (&null_keyword_transformer_type_id__volatile, null_keyword_transformer_type_id); + } + return null_keyword_transformer_type_id__volatile; +} + + +static void _acd_see_keyword_transformer_on_start_gmarkup_parser_start_element_func (GMarkupParseContext* context, const gchar* element_name, gchar** attribute_names, gchar** attribute_values, gpointer self, GError** error) { +#line 64 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + acd_see_keyword_transformer_on_start ((ACDSeeKeywordTransformer*) self, context, element_name, attribute_names, attribute_values, error); +#line 1106 "PhotoMetadata.c" +} + + +static void _acd_see_keyword_transformer_on_end_gmarkup_parser_end_element_func (GMarkupParseContext* context, const gchar* element_name, gpointer self, GError** error) { +#line 65 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + acd_see_keyword_transformer_on_end ((ACDSeeKeywordTransformer*) self, context, element_name, error); +#line 1113 "PhotoMetadata.c" +} + + +static void _acd_see_keyword_transformer_on_text_gmarkup_parser_text_func (GMarkupParseContext* context, const gchar* text, gsize text_len, gpointer self, GError** error) { +#line 66 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + acd_see_keyword_transformer_on_text ((ACDSeeKeywordTransformer*) self, context, text, error); +#line 1120 "PhotoMetadata.c" +} + + +static void _acd_see_keyword_transformer_on_error_gmarkup_parser_error_func (GMarkupParseContext* context, GError* _error_, gpointer self) { +#line 67 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + acd_see_keyword_transformer_on_error ((ACDSeeKeywordTransformer*) self, context, _error_); +#line 1127 "PhotoMetadata.c" +} + + +ACDSeeKeywordTransformer* acd_see_keyword_transformer_construct (GType object_type) { + ACDSeeKeywordTransformer* self = NULL; + GeeArrayList* _tmp0_ = NULL; + GeeArrayQueue* _tmp1_ = NULL; +#line 62 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self = (ACDSeeKeywordTransformer*) keyword_transformer_construct (object_type); +#line 63 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + memset (&self->priv->parser, 0, sizeof (GMarkupParser)); +#line 64 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self->priv->parser.start_element = _acd_see_keyword_transformer_on_start_gmarkup_parser_start_element_func; +#line 65 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self->priv->parser.end_element = _acd_see_keyword_transformer_on_end_gmarkup_parser_end_element_func; +#line 66 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self->priv->parser.text = _acd_see_keyword_transformer_on_text_gmarkup_parser_text_func; +#line 67 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self->priv->parser.error = _acd_see_keyword_transformer_on_error_gmarkup_parser_error_func; +#line 68 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp0_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL); +#line 68 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_object_unref0 (self->priv->result); +#line 68 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self->priv->result = _tmp0_; +#line 69 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp1_ = gee_array_queue_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL); +#line 69 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_object_unref0 (self->priv->stack); +#line 69 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self->priv->stack = _tmp1_; +#line 62 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return self; +#line 1161 "PhotoMetadata.c" +} + + +ACDSeeKeywordTransformer* acd_see_keyword_transformer_new (void) { +#line 62 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return acd_see_keyword_transformer_construct (TYPE_ACD_SEE_KEYWORD_TRANSFORMER); +#line 1168 "PhotoMetadata.c" +} + + +static gpointer _g_object_ref0 (gpointer self) { +#line 77 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return self ? g_object_ref (self) : NULL; +#line 1175 "PhotoMetadata.c" +} + + +static GeeList* acd_see_keyword_transformer_real_transform (KeywordTransformer* base, const gchar* input, GError** error) { + ACDSeeKeywordTransformer * self; + GeeList* result = NULL; + GMarkupParseContext* ctx = NULL; + GMarkupParser _tmp0_ = {0}; + GMarkupParseContext* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + const gchar* _tmp3_ = NULL; + gint _tmp4_ = 0; + gint _tmp5_ = 0; + GeeArrayList* _tmp6_ = NULL; + GeeList* _tmp7_ = NULL; + GError * _inner_error_ = NULL; +#line 72 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_ACD_SEE_KEYWORD_TRANSFORMER, ACDSeeKeywordTransformer); +#line 72 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_val_if_fail (input != NULL, NULL); +#line 73 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp0_ = self->priv->parser; +#line 73 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp1_ = g_markup_parse_context_new (&_tmp0_, 0, self, NULL); +#line 73 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + ctx = _tmp1_; +#line 75 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp2_ = input; +#line 75 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp3_ = input; +#line 75 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp4_ = strlen (_tmp3_); +#line 75 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp5_ = _tmp4_; +#line 75 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_markup_parse_context_parse (ctx, _tmp2_, (gssize) _tmp5_, &_inner_error_); +#line 75 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 75 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_propagate_error (error, _inner_error_); +#line 75 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_markup_parse_context_unref0 (ctx); +#line 75 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return NULL; +#line 1220 "PhotoMetadata.c" + } +#line 77 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp6_ = self->priv->result; +#line 77 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_LIST, GeeList)); +#line 77 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + result = _tmp7_; +#line 77 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_markup_parse_context_unref0 (ctx); +#line 77 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return result; +#line 1232 "PhotoMetadata.c" +} + + +static void acd_see_keyword_transformer_on_start (ACDSeeKeywordTransformer* self, GMarkupParseContext* ctx, const gchar* name, gchar** attribute_names, gchar** attribute_values, GError** error) { + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + gchar** _tmp3_ = NULL; + gint _tmp3__length1 = 0; + gchar** _tmp4_ = NULL; + gint _tmp4__length1 = 0; + GError * _inner_error_ = NULL; +#line 80 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (IS_ACD_SEE_KEYWORD_TRANSFORMER (self)); +#line 80 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (ctx != NULL); +#line 80 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (name != NULL); +#line 88 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self->priv->assigned = FALSE; +#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp0_ = name; +#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (g_strcmp0 (_tmp0_, "Categories") == 0) { +#line 90 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return; +#line 1259 "PhotoMetadata.c" + } +#line 93 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp1_ = name; +#line 93 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (g_strcmp0 (_tmp1_, "Category") != 0) { +#line 94 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return; +#line 1267 "PhotoMetadata.c" + } +#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp2_ = name; +#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp3_ = attribute_names; +#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp3__length1 = _vala_array_length (attribute_names); +#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp4_ = attribute_values; +#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp4__length1 = _vala_array_length (attribute_values); +#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_markup_collect_attributes (_tmp2_, _tmp3_, _tmp4_, &_inner_error_, G_MARKUP_COLLECT_BOOLEAN, "Assigned", &self->priv->assigned, G_MARKUP_COLLECT_INVALID); +#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (_inner_error_->domain == G_MARKUP_ERROR) { +#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_propagate_error (error, _inner_error_); +#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return; +#line 1289 "PhotoMetadata.c" + } else { +#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_clear_error (&_inner_error_); +#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return; +#line 1297 "PhotoMetadata.c" + } + } +} + + +static void acd_see_keyword_transformer_on_end (ACDSeeKeywordTransformer* self, GMarkupParseContext* ctx, const gchar* name, GError** error) { + const gchar* _tmp0_ = NULL; +#line 104 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (IS_ACD_SEE_KEYWORD_TRANSFORMER (self)); +#line 104 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (ctx != NULL); +#line 104 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (name != NULL); +#line 106 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp0_ = name; +#line 106 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (g_strcmp0 (_tmp0_, "Category") == 0) { +#line 1315 "PhotoMetadata.c" + GeeArrayQueue* _tmp1_ = NULL; + gpointer _tmp2_ = NULL; + gchar* _tmp3_ = NULL; +#line 107 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp1_ = self->priv->stack; +#line 107 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp2_ = gee_deque_poll_tail (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_DEQUE, GeeDeque)); +#line 107 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp3_ = (gchar*) _tmp2_; +#line 107 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_free0 (_tmp3_); +#line 1327 "PhotoMetadata.c" + } +} + + +static void acd_see_keyword_transformer_on_text (ACDSeeKeywordTransformer* self, GMarkupParseContext* ctx, const gchar* text, GError** error) { + const gchar* _tmp0_ = NULL; + GeeArrayQueue* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; +#line 111 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (IS_ACD_SEE_KEYWORD_TRANSFORMER (self)); +#line 111 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (ctx != NULL); +#line 111 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (text != NULL); +#line 113 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp0_ = text; +#line 113 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (g_strcmp0 (_tmp0_, "") == 0) { +#line 114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return; +#line 1349 "PhotoMetadata.c" + } +#line 117 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp1_ = self->priv->stack; +#line 117 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp2_ = text; +#line 117 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + gee_deque_offer_tail (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_DEQUE, GeeDeque), _tmp2_); +#line 118 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp3_ = self->priv->assigned; +#line 118 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (_tmp3_) { +#line 1361 "PhotoMetadata.c" + GString* builder = NULL; + GString* _tmp4_ = NULL; + GString* _tmp13_ = NULL; + gssize _tmp14_ = 0L; + GeeArrayList* _tmp18_ = NULL; + GString* _tmp19_ = NULL; + const gchar* _tmp20_ = NULL; +#line 119 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp4_ = g_string_new (""); +#line 119 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + builder = _tmp4_; +#line 1373 "PhotoMetadata.c" + { + GeeIterator* _f_it = NULL; + GeeArrayQueue* _tmp5_ = NULL; + GeeIterator* _tmp6_ = NULL; +#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp5_ = self->priv->stack; +#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp6_ = gee_abstract_collection_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection)); +#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _f_it = _tmp6_; +#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + while (TRUE) { +#line 1386 "PhotoMetadata.c" + GeeIterator* _tmp7_ = NULL; + gboolean _tmp8_ = FALSE; + gchar* f = NULL; + GeeIterator* _tmp9_ = NULL; + gpointer _tmp10_ = NULL; + GString* _tmp11_ = NULL; + const gchar* _tmp12_ = NULL; +#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp7_ = _f_it; +#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp8_ = gee_iterator_next (_tmp7_); +#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (!_tmp8_) { +#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + break; +#line 1402 "PhotoMetadata.c" + } +#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp9_ = _f_it; +#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp10_ = gee_iterator_get (_tmp9_); +#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + f = (gchar*) _tmp10_; +#line 121 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp11_ = builder; +#line 121 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp12_ = f; +#line 121 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_string_append_printf (_tmp11_, "%s|", _tmp12_); +#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_free0 (f); +#line 1418 "PhotoMetadata.c" + } +#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_object_unref0 (_f_it); +#line 1422 "PhotoMetadata.c" + } +#line 123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp13_ = builder; +#line 123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp14_ = _tmp13_->len; +#line 123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (_tmp14_ > ((gssize) 0)) { +#line 1430 "PhotoMetadata.c" + GString* _tmp15_ = NULL; + GString* _tmp16_ = NULL; + gssize _tmp17_ = 0L; +#line 124 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp15_ = builder; +#line 124 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp16_ = builder; +#line 124 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp17_ = _tmp16_->len; +#line 124 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_string_truncate (_tmp15_, (gsize) (_tmp17_ - 1)); +#line 1442 "PhotoMetadata.c" + } +#line 126 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp18_ = self->priv->result; +#line 126 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp19_ = builder; +#line 126 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp20_ = _tmp19_->str; +#line 126 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp20_); +#line 118 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_string_free0 (builder); +#line 1454 "PhotoMetadata.c" + } +} + + +static gpointer _g_error_copy0 (gpointer self) { +#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return self ? g_error_copy (self) : NULL; +#line 1462 "PhotoMetadata.c" +} + + +static void acd_see_keyword_transformer_on_error (ACDSeeKeywordTransformer* self, GMarkupParseContext* ctx, GError* _error_) { + GError* _tmp0_ = NULL; + GError* _tmp1_ = NULL; +#line 130 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (IS_ACD_SEE_KEYWORD_TRANSFORMER (self)); +#line 130 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_if_fail (ctx != NULL); +#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp0_ = _error_; +#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp1_ = _g_error_copy0 (_tmp0_); +#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_error_free0 (self->priv->error); +#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self->priv->error = _tmp1_; +#line 1481 "PhotoMetadata.c" +} + + +static void acd_see_keyword_transformer_class_init (ACDSeeKeywordTransformerClass * klass) { +#line 55 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + acd_see_keyword_transformer_parent_class = g_type_class_peek_parent (klass); +#line 55 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + ((KeywordTransformerClass *) klass)->finalize = acd_see_keyword_transformer_finalize; +#line 55 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_type_class_add_private (klass, sizeof (ACDSeeKeywordTransformerPrivate)); +#line 55 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + ((KeywordTransformerClass *) klass)->transform = acd_see_keyword_transformer_real_transform; +#line 1494 "PhotoMetadata.c" +} + + +static void acd_see_keyword_transformer_instance_init (ACDSeeKeywordTransformer * self) { +#line 55 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self->priv = ACD_SEE_KEYWORD_TRANSFORMER_GET_PRIVATE (self); +#line 1501 "PhotoMetadata.c" +} + + +static void acd_see_keyword_transformer_finalize (KeywordTransformer* obj) { + ACDSeeKeywordTransformer * self; +#line 55 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_ACD_SEE_KEYWORD_TRANSFORMER, ACDSeeKeywordTransformer); +#line 57 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_error_free0 (self->priv->error); +#line 58 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_object_unref0 (self->priv->stack); +#line 59 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_object_unref0 (self->priv->result); +#line 55 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + KEYWORD_TRANSFORMER_CLASS (acd_see_keyword_transformer_parent_class)->finalize (obj); +#line 1517 "PhotoMetadata.c" +} + + +GType acd_see_keyword_transformer_get_type (void) { + static volatile gsize acd_see_keyword_transformer_type_id__volatile = 0; + if (g_once_init_enter (&acd_see_keyword_transformer_type_id__volatile)) { + static const GTypeInfo g_define_type_info = { sizeof (ACDSeeKeywordTransformerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) acd_see_keyword_transformer_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ACDSeeKeywordTransformer), 0, (GInstanceInitFunc) acd_see_keyword_transformer_instance_init, NULL }; + GType acd_see_keyword_transformer_type_id; + acd_see_keyword_transformer_type_id = g_type_register_static (TYPE_KEYWORD_TRANSFORMER, "ACDSeeKeywordTransformer", &g_define_type_info, 0); + g_once_init_leave (&acd_see_keyword_transformer_type_id__volatile, acd_see_keyword_transformer_type_id); + } + return acd_see_keyword_transformer_type_id__volatile; +} + + +static gpointer _keyword_transformer_ref0 (gpointer self) { +#line 154 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return self ? keyword_transformer_ref (self) : NULL; +#line 1536 "PhotoMetadata.c" +} + + +HierarchicalKeywordField* hierarchical_keyword_field_construct (GType object_type, const gchar* field_name, const gchar* path_separator, gboolean wants_leading_separator, gboolean is_writeable, KeywordTransformer* transformer) { HierarchicalKeywordField* self = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; @@ -638,256 +1544,270 @@ HierarchicalKeywordField* hierarchical_keyword_field_construct (GType object_typ gchar* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; gboolean _tmp5_ = FALSE; -#line 37 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + KeywordTransformer* _tmp6_ = NULL; + KeywordTransformer* _tmp7_ = NULL; +#line 144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (field_name != NULL, NULL); -#line 37 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (path_separator != NULL, NULL); -#line 37 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_return_val_if_fail (IS_KEYWORD_TRANSFORMER (transformer), NULL); +#line 144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = (HierarchicalKeywordField*) g_type_create_instance (object_type); -#line 39 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = field_name; -#line 39 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup (_tmp0_); -#line 39 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->field_name); -#line 39 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->field_name = _tmp1_; -#line 40 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = path_separator; -#line 40 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = g_strdup (_tmp2_); -#line 40 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->path_separator); -#line 40 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->path_separator = _tmp3_; -#line 41 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 152 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = wants_leading_separator; -#line 41 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 152 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->wants_leading_separator = _tmp4_; -#line 42 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 153 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = is_writeable; -#line 42 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 153 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->is_writeable = _tmp5_; -#line 37 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 154 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp6_ = transformer; +#line 154 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp7_ = _keyword_transformer_ref0 (_tmp6_); +#line 154 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _keyword_transformer_unref0 (self->transformer); +#line 154 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + self->transformer = _tmp7_; +#line 144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self; -#line 674 "PhotoMetadata.c" +#line 1592 "PhotoMetadata.c" } -HierarchicalKeywordField* hierarchical_keyword_field_new (const gchar* field_name, const gchar* path_separator, gboolean wants_leading_separator, gboolean is_writeable) { -#line 37 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - return hierarchical_keyword_field_construct (TYPE_HIERARCHICAL_KEYWORD_FIELD, field_name, path_separator, wants_leading_separator, is_writeable); -#line 681 "PhotoMetadata.c" +HierarchicalKeywordField* hierarchical_keyword_field_new (const gchar* field_name, const gchar* path_separator, gboolean wants_leading_separator, gboolean is_writeable, KeywordTransformer* transformer) { +#line 144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return hierarchical_keyword_field_construct (TYPE_HIERARCHICAL_KEYWORD_FIELD, field_name, path_separator, wants_leading_separator, is_writeable, transformer); +#line 1599 "PhotoMetadata.c" } static void value_hierarchical_keyword_field_init (GValue* value) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 688 "PhotoMetadata.c" +#line 1606 "PhotoMetadata.c" } static void value_hierarchical_keyword_field_free_value (GValue* value) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (value->data[0].v_pointer) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" hierarchical_keyword_field_unref (value->data[0].v_pointer); -#line 697 "PhotoMetadata.c" +#line 1615 "PhotoMetadata.c" } } static void value_hierarchical_keyword_field_copy_value (const GValue* src_value, GValue* dest_value) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (src_value->data[0].v_pointer) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" dest_value->data[0].v_pointer = hierarchical_keyword_field_ref (src_value->data[0].v_pointer); -#line 707 "PhotoMetadata.c" +#line 1625 "PhotoMetadata.c" } else { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" dest_value->data[0].v_pointer = NULL; -#line 711 "PhotoMetadata.c" +#line 1629 "PhotoMetadata.c" } } static gpointer value_hierarchical_keyword_field_peek_pointer (const GValue* value) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return value->data[0].v_pointer; -#line 719 "PhotoMetadata.c" +#line 1637 "PhotoMetadata.c" } static gchar* value_hierarchical_keyword_field_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (collect_values[0].v_pointer) { -#line 726 "PhotoMetadata.c" +#line 1644 "PhotoMetadata.c" HierarchicalKeywordField* object; object = collect_values[0].v_pointer; -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (object->parent_instance.g_class == NULL) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 733 "PhotoMetadata.c" +#line 1651 "PhotoMetadata.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 737 "PhotoMetadata.c" +#line 1655 "PhotoMetadata.c" } -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = hierarchical_keyword_field_ref (object); -#line 741 "PhotoMetadata.c" +#line 1659 "PhotoMetadata.c" } else { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 745 "PhotoMetadata.c" +#line 1663 "PhotoMetadata.c" } -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return NULL; -#line 749 "PhotoMetadata.c" +#line 1667 "PhotoMetadata.c" } static gchar* value_hierarchical_keyword_field_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { HierarchicalKeywordField** object_p; object_p = collect_values[0].v_pointer; -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!object_p) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 760 "PhotoMetadata.c" +#line 1678 "PhotoMetadata.c" } -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!value->data[0].v_pointer) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *object_p = NULL; -#line 766 "PhotoMetadata.c" +#line 1684 "PhotoMetadata.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *object_p = value->data[0].v_pointer; -#line 770 "PhotoMetadata.c" +#line 1688 "PhotoMetadata.c" } else { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *object_p = hierarchical_keyword_field_ref (value->data[0].v_pointer); -#line 774 "PhotoMetadata.c" +#line 1692 "PhotoMetadata.c" } -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return NULL; -#line 778 "PhotoMetadata.c" +#line 1696 "PhotoMetadata.c" } GParamSpec* param_spec_hierarchical_keyword_field (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecHierarchicalKeywordField* spec; -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (g_type_is_a (object_type, TYPE_HIERARCHICAL_KEYWORD_FIELD), NULL); -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return G_PARAM_SPEC (spec); -#line 792 "PhotoMetadata.c" +#line 1710 "PhotoMetadata.c" } gpointer value_get_hierarchical_keyword_field (const GValue* value) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_HIERARCHICAL_KEYWORD_FIELD), NULL); -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return value->data[0].v_pointer; -#line 801 "PhotoMetadata.c" +#line 1719 "PhotoMetadata.c" } void value_set_hierarchical_keyword_field (GValue* value, gpointer v_object) { HierarchicalKeywordField* old; -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_HIERARCHICAL_KEYWORD_FIELD)); -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" old = value->data[0].v_pointer; -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (v_object) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_HIERARCHICAL_KEYWORD_FIELD)); -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = v_object; -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" hierarchical_keyword_field_ref (value->data[0].v_pointer); -#line 821 "PhotoMetadata.c" +#line 1739 "PhotoMetadata.c" } else { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 825 "PhotoMetadata.c" +#line 1743 "PhotoMetadata.c" } -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (old) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" hierarchical_keyword_field_unref (old); -#line 831 "PhotoMetadata.c" +#line 1749 "PhotoMetadata.c" } } void value_take_hierarchical_keyword_field (GValue* value, gpointer v_object) { HierarchicalKeywordField* old; -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_HIERARCHICAL_KEYWORD_FIELD)); -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" old = value->data[0].v_pointer; -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (v_object) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_HIERARCHICAL_KEYWORD_FIELD)); -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = v_object; -#line 850 "PhotoMetadata.c" +#line 1768 "PhotoMetadata.c" } else { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 854 "PhotoMetadata.c" +#line 1772 "PhotoMetadata.c" } -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (old) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" hierarchical_keyword_field_unref (old); -#line 860 "PhotoMetadata.c" +#line 1778 "PhotoMetadata.c" } } static void hierarchical_keyword_field_class_init (HierarchicalKeywordFieldClass * klass) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" hierarchical_keyword_field_parent_class = g_type_class_peek_parent (klass); -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ((HierarchicalKeywordFieldClass *) klass)->finalize = hierarchical_keyword_field_finalize; -#line 870 "PhotoMetadata.c" +#line 1788 "PhotoMetadata.c" } static void hierarchical_keyword_field_instance_init (HierarchicalKeywordField * self) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->ref_count = 1; -#line 877 "PhotoMetadata.c" +#line 1795 "PhotoMetadata.c" } static void hierarchical_keyword_field_finalize (HierarchicalKeywordField* obj) { HierarchicalKeywordField * self; -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_HIERARCHICAL_KEYWORD_FIELD, HierarchicalKeywordField); -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_signal_handlers_destroy (self); -#line 32 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 138 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->field_name); -#line 33 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 139 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->path_separator); -#line 891 "PhotoMetadata.c" +#line 142 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _keyword_transformer_unref0 (self->transformer); +#line 1811 "PhotoMetadata.c" } @@ -908,24 +1828,24 @@ GType hierarchical_keyword_field_get_type (void) { gpointer hierarchical_keyword_field_ref (gpointer instance) { HierarchicalKeywordField* self; self = instance; -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_atomic_int_inc (&self->ref_count); -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return instance; -#line 916 "PhotoMetadata.c" +#line 1836 "PhotoMetadata.c" } void hierarchical_keyword_field_unref (gpointer instance) { HierarchicalKeywordField* self; self = instance; -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" HIERARCHICAL_KEYWORD_FIELD_GET_CLASS (self)->finalize (self); -#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_type_free_instance ((GTypeInstance *) self); -#line 929 "PhotoMetadata.c" +#line 1849 "PhotoMetadata.c" } } @@ -940,51 +1860,51 @@ PhotoPreview* photo_preview_construct (GType object_type, const gchar* name, Dim gchar* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; -#line 53 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (name != NULL, NULL); -#line 53 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (dimensions != NULL, NULL); -#line 53 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (mime_type != NULL, NULL); -#line 53 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (extension != NULL, NULL); -#line 53 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = (PhotoPreview*) g_type_create_instance (object_type); -#line 54 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = name; -#line 54 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup (_tmp0_); -#line 54 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->priv->name); -#line 54 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->name = _tmp1_; -#line 55 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 167 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = *dimensions; -#line 55 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 167 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->dimensions = _tmp2_; -#line 56 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 168 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = size; -#line 56 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 168 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->size = _tmp3_; -#line 57 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 169 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = mime_type; -#line 57 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 169 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = g_strdup (_tmp4_); -#line 57 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 169 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->priv->mime_type); -#line 57 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 169 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->mime_type = _tmp5_; -#line 58 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 170 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = extension; -#line 58 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 170 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = g_strdup (_tmp6_); -#line 58 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 170 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->priv->extension); -#line 58 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 170 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->extension = _tmp7_; -#line 53 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self; -#line 988 "PhotoMetadata.c" +#line 1908 "PhotoMetadata.c" } @@ -992,46 +1912,46 @@ gchar* photo_preview_get_name (PhotoPreview* self) { gchar* result = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 61 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_PREVIEW (self), NULL); -#line 62 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 174 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->name; -#line 62 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 174 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup (_tmp0_); -#line 62 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 174 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp1_; -#line 62 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 174 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1006 "PhotoMetadata.c" +#line 1926 "PhotoMetadata.c" } void photo_preview_get_pixel_dimensions (PhotoPreview* self, Dimensions* result) { Dimensions _tmp0_ = {0}; -#line 65 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 177 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_PREVIEW (self)); -#line 66 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->dimensions; -#line 66 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *result = _tmp0_; -#line 66 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 1020 "PhotoMetadata.c" +#line 1940 "PhotoMetadata.c" } guint32 photo_preview_get_size (PhotoPreview* self) { guint32 result = 0U; guint32 _tmp0_ = 0U; -#line 69 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 181 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_PREVIEW (self), 0U); -#line 70 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 182 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->size; -#line 70 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 182 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp0_; -#line 70 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 182 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1035 "PhotoMetadata.c" +#line 1955 "PhotoMetadata.c" } @@ -1039,17 +1959,17 @@ gchar* photo_preview_get_mime_type (PhotoPreview* self) { gchar* result = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 73 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 185 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_PREVIEW (self), NULL); -#line 74 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 186 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->mime_type; -#line 74 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 186 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup (_tmp0_); -#line 74 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 186 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp1_; -#line 74 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 186 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1053 "PhotoMetadata.c" +#line 1973 "PhotoMetadata.c" } @@ -1057,42 +1977,42 @@ gchar* photo_preview_get_extension (PhotoPreview* self) { gchar* result = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 77 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 189 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_PREVIEW (self), NULL); -#line 78 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 190 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->extension; -#line 78 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 190 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup (_tmp0_); -#line 78 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 190 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp1_; -#line 78 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 190 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1071 "PhotoMetadata.c" +#line 1991 "PhotoMetadata.c" } static guint8* photo_preview_real_flatten (PhotoPreview* self, int* result_length1, GError** error) { -#line 81 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 193 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_critical ("Type `%s' does not implement abstract method `photo_preview_flatten'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 81 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 193 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return NULL; -#line 1080 "PhotoMetadata.c" +#line 2000 "PhotoMetadata.c" } guint8* photo_preview_flatten (PhotoPreview* self, int* result_length1, GError** error) { -#line 81 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 193 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_PREVIEW (self), NULL); -#line 81 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 193 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return PHOTO_PREVIEW_GET_CLASS (self)->flatten (self, result_length1, error); -#line 1089 "PhotoMetadata.c" +#line 2009 "PhotoMetadata.c" } static guint8* _vala_array_dup4 (guint8* self, int length) { -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return g_memdup (self, length * sizeof (guint8)); -#line 1096 "PhotoMetadata.c" +#line 2016 "PhotoMetadata.c" } @@ -1104,21 +2024,21 @@ static GdkPixbuf* photo_preview_real_get_pixbuf (PhotoPreview* self, GError** er gint flattened_length1 = 0; gint _flattened_size_ = 0; GError * _inner_error_ = NULL; -#line 84 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 196 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_preview_flatten (self, &_tmp0_, &_inner_error_); -#line 84 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 196 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" flattened = _tmp1_; -#line 84 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 196 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" flattened_length1 = _tmp0_; -#line 84 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 196 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _flattened_size_ = flattened_length1; -#line 84 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 196 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 84 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 196 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_propagate_error (error, _inner_error_); -#line 84 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 196 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return NULL; -#line 1122 "PhotoMetadata.c" +#line 2042 "PhotoMetadata.c" } { GdkPixbuf* _tmp2_ = NULL; @@ -1129,40 +2049,40 @@ static GdkPixbuf* photo_preview_real_get_pixbuf (PhotoPreview* self, GError** er GdkPixbuf* _tmp6_ = NULL; GdkPixbuf* _tmp7_ = NULL; GdkPixbuf* _tmp8_ = NULL; -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = (flattened != NULL) ? _vala_array_dup4 (flattened, flattened_length1) : ((gpointer) flattened); -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3__length1 = flattened_length1; -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = (GMemoryInputStream*) g_memory_input_stream_new_from_data (_tmp3_, _tmp3__length1, NULL); -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _tmp4_; -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = gdk_pixbuf_new_from_stream (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, g_input_stream_get_type (), GInputStream), NULL, &_inner_error_); -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = _tmp6_; -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_tmp5_); -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = _tmp7_; -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1151 "PhotoMetadata.c" +#line 2071 "PhotoMetadata.c" goto __catch23_g_error; } -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = _tmp2_; -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = NULL; -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp8_; -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_tmp2_); -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" flattened = (g_free (flattened), NULL); -#line 89 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1166 "PhotoMetadata.c" +#line 2086 "PhotoMetadata.c" } goto __finally23; __catch23_g_error: @@ -1171,265 +2091,265 @@ static GdkPixbuf* photo_preview_real_get_pixbuf (PhotoPreview* self, GError** er const gchar* _tmp9_ = NULL; GError* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; -#line 88 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 200 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" err = _inner_error_; -#line 88 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 200 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _inner_error_ = NULL; -#line 92 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 204 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = self->priv->name; -#line 92 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 204 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = err; -#line 92 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 204 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = _tmp10_->message; -#line 92 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - g_warning ("PhotoMetadata.vala:92: Unable to decode thumbnail for %s: %s", _tmp9_, _tmp11_); -#line 94 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 204 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_warning ("PhotoMetadata.vala:204: Unable to decode thumbnail for %s: %s", _tmp9_, _tmp11_); +#line 206 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 94 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 206 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_error_free0 (err); -#line 94 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 206 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" flattened = (g_free (flattened), NULL); -#line 94 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 206 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1195 "PhotoMetadata.c" +#line 2115 "PhotoMetadata.c" } __finally23: -#line 88 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 200 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_propagate_error (error, _inner_error_); -#line 88 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 200 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" flattened = (g_free (flattened), NULL); -#line 88 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 200 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return NULL; -#line 1204 "PhotoMetadata.c" +#line 2124 "PhotoMetadata.c" } GdkPixbuf* photo_preview_get_pixbuf (PhotoPreview* self, GError** error) { -#line 83 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 195 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_PREVIEW (self), NULL); -#line 83 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 195 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return PHOTO_PREVIEW_GET_CLASS (self)->get_pixbuf (self, error); -#line 1213 "PhotoMetadata.c" +#line 2133 "PhotoMetadata.c" } static void value_photo_preview_init (GValue* value) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 1220 "PhotoMetadata.c" +#line 2140 "PhotoMetadata.c" } static void value_photo_preview_free_value (GValue* value) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (value->data[0].v_pointer) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_preview_unref (value->data[0].v_pointer); -#line 1229 "PhotoMetadata.c" +#line 2149 "PhotoMetadata.c" } } static void value_photo_preview_copy_value (const GValue* src_value, GValue* dest_value) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (src_value->data[0].v_pointer) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" dest_value->data[0].v_pointer = photo_preview_ref (src_value->data[0].v_pointer); -#line 1239 "PhotoMetadata.c" +#line 2159 "PhotoMetadata.c" } else { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" dest_value->data[0].v_pointer = NULL; -#line 1243 "PhotoMetadata.c" +#line 2163 "PhotoMetadata.c" } } static gpointer value_photo_preview_peek_pointer (const GValue* value) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return value->data[0].v_pointer; -#line 1251 "PhotoMetadata.c" +#line 2171 "PhotoMetadata.c" } static gchar* value_photo_preview_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (collect_values[0].v_pointer) { -#line 1258 "PhotoMetadata.c" +#line 2178 "PhotoMetadata.c" PhotoPreview* object; object = collect_values[0].v_pointer; -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (object->parent_instance.g_class == NULL) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1265 "PhotoMetadata.c" +#line 2185 "PhotoMetadata.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 1269 "PhotoMetadata.c" +#line 2189 "PhotoMetadata.c" } -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = photo_preview_ref (object); -#line 1273 "PhotoMetadata.c" +#line 2193 "PhotoMetadata.c" } else { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 1277 "PhotoMetadata.c" +#line 2197 "PhotoMetadata.c" } -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return NULL; -#line 1281 "PhotoMetadata.c" +#line 2201 "PhotoMetadata.c" } static gchar* value_photo_preview_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { PhotoPreview** object_p; object_p = collect_values[0].v_pointer; -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!object_p) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 1292 "PhotoMetadata.c" +#line 2212 "PhotoMetadata.c" } -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!value->data[0].v_pointer) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *object_p = NULL; -#line 1298 "PhotoMetadata.c" +#line 2218 "PhotoMetadata.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *object_p = value->data[0].v_pointer; -#line 1302 "PhotoMetadata.c" +#line 2222 "PhotoMetadata.c" } else { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *object_p = photo_preview_ref (value->data[0].v_pointer); -#line 1306 "PhotoMetadata.c" +#line 2226 "PhotoMetadata.c" } -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return NULL; -#line 1310 "PhotoMetadata.c" +#line 2230 "PhotoMetadata.c" } GParamSpec* param_spec_photo_preview (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecPhotoPreview* spec; -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (g_type_is_a (object_type, TYPE_PHOTO_PREVIEW), NULL); -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return G_PARAM_SPEC (spec); -#line 1324 "PhotoMetadata.c" +#line 2244 "PhotoMetadata.c" } gpointer value_get_photo_preview (const GValue* value) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PHOTO_PREVIEW), NULL); -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return value->data[0].v_pointer; -#line 1333 "PhotoMetadata.c" +#line 2253 "PhotoMetadata.c" } void value_set_photo_preview (GValue* value, gpointer v_object) { PhotoPreview* old; -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PHOTO_PREVIEW)); -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" old = value->data[0].v_pointer; -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (v_object) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PHOTO_PREVIEW)); -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = v_object; -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_preview_ref (value->data[0].v_pointer); -#line 1353 "PhotoMetadata.c" +#line 2273 "PhotoMetadata.c" } else { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 1357 "PhotoMetadata.c" +#line 2277 "PhotoMetadata.c" } -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (old) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_preview_unref (old); -#line 1363 "PhotoMetadata.c" +#line 2283 "PhotoMetadata.c" } } void value_take_photo_preview (GValue* value, gpointer v_object) { PhotoPreview* old; -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PHOTO_PREVIEW)); -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" old = value->data[0].v_pointer; -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (v_object) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PHOTO_PREVIEW)); -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = v_object; -#line 1382 "PhotoMetadata.c" +#line 2302 "PhotoMetadata.c" } else { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value->data[0].v_pointer = NULL; -#line 1386 "PhotoMetadata.c" +#line 2306 "PhotoMetadata.c" } -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (old) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_preview_unref (old); -#line 1392 "PhotoMetadata.c" +#line 2312 "PhotoMetadata.c" } } static void photo_preview_class_init (PhotoPreviewClass * klass) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_preview_parent_class = g_type_class_peek_parent (klass); -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ((PhotoPreviewClass *) klass)->finalize = photo_preview_finalize; -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_type_class_add_private (klass, sizeof (PhotoPreviewPrivate)); -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ((PhotoPreviewClass *) klass)->flatten = photo_preview_real_flatten; -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ((PhotoPreviewClass *) klass)->get_pixbuf = photo_preview_real_get_pixbuf; -#line 1408 "PhotoMetadata.c" +#line 2328 "PhotoMetadata.c" } static void photo_preview_instance_init (PhotoPreview * self) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv = PHOTO_PREVIEW_GET_PRIVATE (self); -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->ref_count = 1; -#line 1417 "PhotoMetadata.c" +#line 2337 "PhotoMetadata.c" } static void photo_preview_finalize (PhotoPreview* obj) { PhotoPreview * self; -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PHOTO_PREVIEW, PhotoPreview); -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_signal_handlers_destroy (self); -#line 47 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 159 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->priv->name); -#line 50 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 162 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->priv->mime_type); -#line 51 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 163 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->priv->extension); -#line 1433 "PhotoMetadata.c" +#line 2353 "PhotoMetadata.c" } @@ -1450,24 +2370,24 @@ GType photo_preview_get_type (void) { gpointer photo_preview_ref (gpointer instance) { PhotoPreview* self; self = instance; -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_atomic_int_inc (&self->ref_count); -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return instance; -#line 1458 "PhotoMetadata.c" +#line 2378 "PhotoMetadata.c" } void photo_preview_unref (gpointer instance) { PhotoPreview* self; self = instance; -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" PHOTO_PREVIEW_GET_CLASS (self)->finalize (self); -#line 46 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_type_free_instance ((GTypeInstance *) self); -#line 1471 "PhotoMetadata.c" +#line 2391 "PhotoMetadata.c" } } @@ -1486,18 +2406,18 @@ GType photo_metadata_set_option_get_type (void) { PhotoMetadata* photo_metadata_construct (GType object_type) { PhotoMetadata* self = NULL; -#line 139 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = (PhotoMetadata*) media_metadata_construct (object_type); -#line 139 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self; -#line 1494 "PhotoMetadata.c" +#line 2414 "PhotoMetadata.c" } PhotoMetadata* photo_metadata_new (void) { -#line 139 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return photo_metadata_construct (TYPE_PHOTO_METADATA); -#line 1501 "PhotoMetadata.c" +#line 2421 "PhotoMetadata.c" } @@ -1515,63 +2435,63 @@ static void photo_metadata_real_read_from_file (MediaMetadata* base, GFile* file GFile* _tmp9_ = NULL; gchar* _tmp10_ = NULL; GError * _inner_error_ = NULL; -#line 142 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 254 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO_METADATA, PhotoMetadata); -#line 142 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 254 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (G_IS_FILE (file)); -#line 143 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 255 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = gexiv2_metadata_new (); -#line 143 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 255 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (self->priv->exiv2); -#line 143 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 255 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->exiv2 = _tmp0_; -#line 144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 256 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _exif_data_unref0 (self->priv->exif); -#line 144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 256 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->exif = NULL; -#line 146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = self->priv->exiv2; -#line 146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = file; -#line 146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = g_file_get_path (_tmp2_); -#line 146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = _tmp3_; -#line 146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gexiv2_metadata_open_path (_tmp1_, _tmp4_, &_inner_error_); -#line 146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp4_); -#line 146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_propagate_error (error, _inner_error_); -#line 146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 1551 "PhotoMetadata.c" +#line 2471 "PhotoMetadata.c" } -#line 147 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 259 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = file; -#line 147 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 259 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = g_file_get_path (_tmp5_); -#line 147 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 259 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = _tmp6_; -#line 147 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 259 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = exif_data_new_from_file (_tmp7_); -#line 147 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 259 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _exif_data_unref0 (self->priv->exif); -#line 147 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 259 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->exif = _tmp8_; -#line 147 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 259 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp7_); -#line 148 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 260 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = file; -#line 148 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 260 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = g_file_get_basename (_tmp9_); -#line 148 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 260 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->priv->source_name); -#line 148 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 260 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->source_name = _tmp10_; -#line 1575 "PhotoMetadata.c" +#line 2495 "PhotoMetadata.c" } @@ -1581,29 +2501,29 @@ void photo_metadata_write_to_file (PhotoMetadata* self, GFile* file, GError** er gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; GError * _inner_error_ = NULL; -#line 151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (G_IS_FILE (file)); -#line 152 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 264 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 152 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 264 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = file; -#line 152 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 264 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = g_file_get_path (_tmp1_); -#line 152 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 264 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp2_; -#line 152 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 264 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gexiv2_metadata_save_file (_tmp0_, _tmp3_, &_inner_error_); -#line 152 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 264 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp3_); -#line 152 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 264 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 152 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 264 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_propagate_error (error, _inner_error_); -#line 152 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 264 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 1607 "PhotoMetadata.c" +#line 2527 "PhotoMetadata.c" } } @@ -1625,80 +2545,80 @@ void photo_metadata_read_from_buffer (PhotoMetadata* self, guint8* buffer, int b gint _tmp11_ = 0; gchar* _tmp12_ = NULL; GError * _inner_error_ = NULL; -#line 155 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 267 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 156 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 268 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = length; -#line 156 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 268 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ <= 0) { -#line 1635 "PhotoMetadata.c" +#line 2555 "PhotoMetadata.c" guint8* _tmp1_ = NULL; gint _tmp1__length1 = 0; -#line 157 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 269 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = buffer; -#line 157 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 269 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1__length1 = buffer_length1; -#line 157 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 269 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" length = _tmp1__length1; -#line 1644 "PhotoMetadata.c" +#line 2564 "PhotoMetadata.c" } -#line 159 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = buffer; -#line 159 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2__length1 = buffer_length1; -#line 159 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = length; -#line 159 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_assert (_tmp2__length1 >= _tmp3_, "buffer.length >= length"); -#line 161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 273 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = gexiv2_metadata_new (); -#line 161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 273 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (self->priv->exiv2); -#line 161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 273 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->exiv2 = _tmp4_; -#line 162 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 274 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _exif_data_unref0 (self->priv->exif); -#line 162 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 274 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->exif = NULL; -#line 164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 276 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = self->priv->exiv2; -#line 164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 276 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = buffer; -#line 164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 276 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6__length1 = buffer_length1; -#line 164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 276 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = length; -#line 164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 276 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gexiv2_metadata_open_buf (_tmp5_, _tmp6_, (glong) _tmp7_, &_inner_error_); -#line 164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 276 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 276 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_propagate_error (error, _inner_error_); -#line 164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 276 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 1680 "PhotoMetadata.c" +#line 2600 "PhotoMetadata.c" } -#line 165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = buffer; -#line 165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8__length1 = buffer_length1; -#line 165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = length; -#line 165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = exif_data_new_from_data (_tmp8_, (gsize) _tmp9_); -#line 165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _exif_data_unref0 (self->priv->exif); -#line 165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->exif = _tmp10_; -#line 166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 278 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = length; -#line 166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 278 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = g_strdup_printf ("<memory buffer %d bytes>", _tmp11_); -#line 166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 278 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->priv->source_name); -#line 166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 278 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->source_name = _tmp12_; -#line 1702 "PhotoMetadata.c" +#line 2622 "PhotoMetadata.c" } @@ -1719,80 +2639,80 @@ void photo_metadata_read_from_app1_segment (PhotoMetadata* self, guint8* buffer, gint _tmp11_ = 0; gchar* _tmp12_ = NULL; GError * _inner_error_ = NULL; -#line 169 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 281 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 170 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 282 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = length; -#line 170 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 282 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ <= 0) { -#line 1729 "PhotoMetadata.c" +#line 2649 "PhotoMetadata.c" guint8* _tmp1_ = NULL; gint _tmp1__length1 = 0; -#line 171 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = buffer; -#line 171 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1__length1 = buffer_length1; -#line 171 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" length = _tmp1__length1; -#line 1738 "PhotoMetadata.c" +#line 2658 "PhotoMetadata.c" } -#line 173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = buffer; -#line 173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2__length1 = buffer_length1; -#line 173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = length; -#line 173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_assert (_tmp2__length1 >= _tmp3_, "buffer.length >= length"); -#line 175 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = gexiv2_metadata_new (); -#line 175 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (self->priv->exiv2); -#line 175 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->exiv2 = _tmp4_; -#line 176 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 288 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _exif_data_unref0 (self->priv->exif); -#line 176 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 288 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->exif = NULL; -#line 178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = self->priv->exiv2; -#line 178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = buffer; -#line 178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6__length1 = buffer_length1; -#line 178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = length; -#line 178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gexiv2_metadata_from_app1_segment (_tmp5_, _tmp6_, (glong) _tmp7_, &_inner_error_); -#line 178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_propagate_error (error, _inner_error_); -#line 178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 1774 "PhotoMetadata.c" +#line 2694 "PhotoMetadata.c" } -#line 179 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 291 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = buffer; -#line 179 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 291 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8__length1 = buffer_length1; -#line 179 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 291 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = length; -#line 179 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 291 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = exif_data_new_from_data (_tmp8_, (gsize) _tmp9_); -#line 179 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 291 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _exif_data_unref0 (self->priv->exif); -#line 179 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 291 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->exif = _tmp10_; -#line 180 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 292 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = length; -#line 180 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 292 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = g_strdup_printf ("<app1 segment %d bytes>", _tmp11_); -#line 180 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 292 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->priv->source_name); -#line 180 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 292 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->source_name = _tmp12_; -#line 1796 "PhotoMetadata.c" +#line 2716 "PhotoMetadata.c" } @@ -1804,119 +2724,119 @@ MetadataDomain photo_metadata_get_tag_domain (const gchar* tag) { gboolean _tmp3_ = FALSE; const gchar* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; -#line 183 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 295 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (tag != NULL, 0); -#line 184 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 296 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tag; -#line 184 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 296 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = gexiv2_metadata_is_exif_tag (_tmp0_); -#line 184 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 296 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp1_) { -#line 185 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 297 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = METADATA_DOMAIN_EXIF; -#line 185 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 297 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1820 "PhotoMetadata.c" +#line 2740 "PhotoMetadata.c" } -#line 187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = tag; -#line 187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = gexiv2_metadata_is_xmp_tag (_tmp2_); -#line 187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp3_) { -#line 188 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 300 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = METADATA_DOMAIN_XMP; -#line 188 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 300 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1832 "PhotoMetadata.c" +#line 2752 "PhotoMetadata.c" } -#line 190 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = tag; -#line 190 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = gexiv2_metadata_is_iptc_tag (_tmp4_); -#line 190 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp5_) { -#line 191 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = METADATA_DOMAIN_IPTC; -#line 191 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1844 "PhotoMetadata.c" +#line 2764 "PhotoMetadata.c" } -#line 193 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = METADATA_DOMAIN_UNKNOWN; -#line 193 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1850 "PhotoMetadata.c" +#line 2770 "PhotoMetadata.c" } gboolean photo_metadata_has_domain (PhotoMetadata* self, MetadataDomain domain) { gboolean result = FALSE; MetadataDomain _tmp0_ = 0; -#line 196 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 308 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 197 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = domain; -#line 197 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" switch (_tmp0_) { -#line 197 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_EXIF: -#line 1865 "PhotoMetadata.c" +#line 2785 "PhotoMetadata.c" { GExiv2Metadata* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 199 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 311 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = self->priv->exiv2; -#line 199 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 311 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = gexiv2_metadata_has_exif (_tmp1_); -#line 199 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 311 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp2_; -#line 199 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 311 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1877 "PhotoMetadata.c" +#line 2797 "PhotoMetadata.c" } -#line 197 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_XMP: -#line 1881 "PhotoMetadata.c" +#line 2801 "PhotoMetadata.c" { GExiv2Metadata* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 202 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 314 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = self->priv->exiv2; -#line 202 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 314 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = gexiv2_metadata_has_xmp (_tmp3_); -#line 202 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 314 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp4_; -#line 202 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 314 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1893 "PhotoMetadata.c" +#line 2813 "PhotoMetadata.c" } -#line 197 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_IPTC: -#line 1897 "PhotoMetadata.c" +#line 2817 "PhotoMetadata.c" { GExiv2Metadata* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; -#line 205 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 317 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = self->priv->exiv2; -#line 205 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 317 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = gexiv2_metadata_has_iptc (_tmp5_); -#line 205 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 317 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp6_; -#line 205 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 317 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1909 "PhotoMetadata.c" +#line 2829 "PhotoMetadata.c" } default: -#line 197 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_UNKNOWN: -#line 1914 "PhotoMetadata.c" +#line 2834 "PhotoMetadata.c" { -#line 209 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 321 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = FALSE; -#line 209 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 321 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1920 "PhotoMetadata.c" +#line 2840 "PhotoMetadata.c" } } } @@ -1925,115 +2845,115 @@ gboolean photo_metadata_has_domain (PhotoMetadata* self, MetadataDomain domain) gboolean photo_metadata_has_exif (PhotoMetadata* self) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 213 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 325 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 214 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 326 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_has_domain (self, METADATA_DOMAIN_EXIF); -#line 214 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 326 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp0_; -#line 214 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 326 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1937 "PhotoMetadata.c" +#line 2857 "PhotoMetadata.c" } gboolean photo_metadata_has_xmp (PhotoMetadata* self) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 217 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 329 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 218 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 330 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_has_domain (self, METADATA_DOMAIN_XMP); -#line 218 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 330 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp0_; -#line 218 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 330 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1952 "PhotoMetadata.c" +#line 2872 "PhotoMetadata.c" } gboolean photo_metadata_has_iptc (PhotoMetadata* self) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 221 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 333 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 222 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 334 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_has_domain (self, METADATA_DOMAIN_IPTC); -#line 222 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 334 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp0_; -#line 222 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 334 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1967 "PhotoMetadata.c" +#line 2887 "PhotoMetadata.c" } gboolean photo_metadata_can_write_to_domain (PhotoMetadata* self, MetadataDomain domain) { gboolean result = FALSE; MetadataDomain _tmp0_ = 0; -#line 225 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 337 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 338 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = domain; -#line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 338 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" switch (_tmp0_) { -#line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 338 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_EXIF: -#line 1982 "PhotoMetadata.c" +#line 2902 "PhotoMetadata.c" { GExiv2Metadata* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 340 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = self->priv->exiv2; -#line 228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 340 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = gexiv2_metadata_get_supports_exif (_tmp1_); -#line 228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 340 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp2_; -#line 228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 340 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 1994 "PhotoMetadata.c" +#line 2914 "PhotoMetadata.c" } -#line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 338 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_XMP: -#line 1998 "PhotoMetadata.c" +#line 2918 "PhotoMetadata.c" { GExiv2Metadata* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 231 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 343 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = self->priv->exiv2; -#line 231 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 343 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = gexiv2_metadata_get_supports_xmp (_tmp3_); -#line 231 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 343 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp4_; -#line 231 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 343 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2010 "PhotoMetadata.c" +#line 2930 "PhotoMetadata.c" } -#line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 338 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_IPTC: -#line 2014 "PhotoMetadata.c" +#line 2934 "PhotoMetadata.c" { GExiv2Metadata* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; -#line 234 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 346 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = self->priv->exiv2; -#line 234 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 346 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = gexiv2_metadata_get_supports_iptc (_tmp5_); -#line 234 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 346 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp6_; -#line 234 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 346 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2026 "PhotoMetadata.c" +#line 2946 "PhotoMetadata.c" } default: -#line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 338 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_UNKNOWN: -#line 2031 "PhotoMetadata.c" +#line 2951 "PhotoMetadata.c" { -#line 238 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 350 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = FALSE; -#line 238 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 350 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2037 "PhotoMetadata.c" +#line 2957 "PhotoMetadata.c" } } } @@ -2042,45 +2962,45 @@ gboolean photo_metadata_can_write_to_domain (PhotoMetadata* self, MetadataDomain gboolean photo_metadata_can_write_exif (PhotoMetadata* self) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 242 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 354 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 355 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_can_write_to_domain (self, METADATA_DOMAIN_EXIF); -#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 355 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp0_; -#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 355 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2054 "PhotoMetadata.c" +#line 2974 "PhotoMetadata.c" } gboolean photo_metadata_can_write_xmp (PhotoMetadata* self) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 246 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 358 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 247 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 359 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_can_write_to_domain (self, METADATA_DOMAIN_XMP); -#line 247 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 359 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp0_; -#line 247 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 359 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2069 "PhotoMetadata.c" +#line 2989 "PhotoMetadata.c" } gboolean photo_metadata_can_write_iptc (PhotoMetadata* self) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 250 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 362 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 363 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_can_write_to_domain (self, METADATA_DOMAIN_IPTC); -#line 251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 363 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp0_; -#line 251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 363 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2084 "PhotoMetadata.c" +#line 3004 "PhotoMetadata.c" } @@ -2089,21 +3009,21 @@ gboolean photo_metadata_has_tag (PhotoMetadata* self, const gchar* tag) { GExiv2Metadata* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 254 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 366 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 254 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 366 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (tag != NULL, FALSE); -#line 255 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 367 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 255 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 367 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = tag; -#line 255 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 367 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = gexiv2_metadata_has_tag (_tmp0_, _tmp1_); -#line 255 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 367 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp2_; -#line 255 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 367 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2107 "PhotoMetadata.c" +#line 3027 "PhotoMetadata.c" } @@ -2111,69 +3031,69 @@ static GeeSet* photo_metadata_create_string_set (PhotoMetadata* self, GCompareDa GeeSet* result = NULL; GCompareDataFunc _tmp0_ = NULL; void* _tmp0__target = NULL; -#line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 370 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 260 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = compare_func; -#line 260 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__target = compare_func_target; -#line 260 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ == NULL) { -#line 2123 "PhotoMetadata.c" +#line 3043 "PhotoMetadata.c" GeeHashSet* _tmp1_ = NULL; -#line 261 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 373 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL); -#line 261 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 373 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_SET, GeeSet); -#line 261 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 373 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (compare_func_target_destroy_notify == NULL) ? NULL : (compare_func_target_destroy_notify (compare_func_target), NULL); -#line 261 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 373 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func = NULL; -#line 261 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 373 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target = NULL; -#line 261 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 373 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target_destroy_notify = NULL; -#line 261 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 373 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2139 "PhotoMetadata.c" +#line 3059 "PhotoMetadata.c" } else { GCompareDataFunc _tmp2_ = NULL; void* _tmp2__target = NULL; GDestroyNotify _tmp2__target_destroy_notify = NULL; GeeTreeSet* _tmp3_ = NULL; -#line 263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 375 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = compare_func; -#line 263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 375 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2__target = compare_func_target; -#line 263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 375 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2__target_destroy_notify = compare_func_target_destroy_notify; -#line 263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 375 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target_destroy_notify = NULL; -#line 263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 375 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = gee_tree_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, _tmp2_, _tmp2__target, _tmp2__target_destroy_notify); -#line 263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 375 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_SET, GeeSet); -#line 263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 375 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (compare_func_target_destroy_notify == NULL) ? NULL : (compare_func_target_destroy_notify (compare_func_target), NULL); -#line 263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 375 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func = NULL; -#line 263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 375 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target = NULL; -#line 263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 375 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target_destroy_notify = NULL; -#line 263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 375 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2167 "PhotoMetadata.c" +#line 3087 "PhotoMetadata.c" } -#line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 370 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (compare_func_target_destroy_notify == NULL) ? NULL : (compare_func_target_destroy_notify (compare_func_target), NULL); -#line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 370 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func = NULL; -#line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 370 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target = NULL; -#line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 370 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target_destroy_notify = NULL; -#line 2177 "PhotoMetadata.c" +#line 3097 "PhotoMetadata.c" } @@ -2193,203 +3113,196 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma GeeSet* _tmp14_ = NULL; gchar** _tmp15_ = NULL; gint _tmp15__length1 = 0; -#line 266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 378 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 268 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 380 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tags = NULL; -#line 268 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 380 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tags_length1 = 0; -#line 268 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 380 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tags_size_ = tags_length1; -#line 269 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 381 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = domain; -#line 269 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 381 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" switch (_tmp0_) { -#line 269 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 381 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_EXIF: -#line 2211 "PhotoMetadata.c" +#line 3131 "PhotoMetadata.c" { GExiv2Metadata* _tmp1_ = NULL; gchar** _tmp2_ = NULL; gchar** _tmp3_ = NULL; -#line 271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 383 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = self->priv->exiv2; -#line 271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 383 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp2_ = gexiv2_metadata_get_exif_tags (_tmp1_); -#line 271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 383 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tags = (_vala_array_free (tags, tags_length1, (GDestroyNotify) g_free), NULL); -#line 271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 383 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tags = _tmp3_; -#line 271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 383 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tags_length1 = _vala_array_length (_tmp2_); -#line 271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 383 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tags_size_ = tags_length1; -#line 272 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 384 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 2230 "PhotoMetadata.c" +#line 3150 "PhotoMetadata.c" } -#line 269 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 381 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_XMP: -#line 2234 "PhotoMetadata.c" +#line 3154 "PhotoMetadata.c" { GExiv2Metadata* _tmp4_ = NULL; gchar** _tmp5_ = NULL; gchar** _tmp6_ = NULL; -#line 275 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 387 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = self->priv->exiv2; -#line 275 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 387 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = _tmp5_ = gexiv2_metadata_get_xmp_tags (_tmp4_); -#line 275 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 387 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tags = (_vala_array_free (tags, tags_length1, (GDestroyNotify) g_free), NULL); -#line 275 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 387 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tags = _tmp6_; -#line 275 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 387 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tags_length1 = _vala_array_length (_tmp5_); -#line 275 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 387 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tags_size_ = tags_length1; -#line 276 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 388 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 2253 "PhotoMetadata.c" +#line 3173 "PhotoMetadata.c" } -#line 269 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 381 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_IPTC: -#line 2257 "PhotoMetadata.c" +#line 3177 "PhotoMetadata.c" { GExiv2Metadata* _tmp7_ = NULL; gchar** _tmp8_ = NULL; gchar** _tmp9_ = NULL; -#line 279 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 391 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = self->priv->exiv2; -#line 279 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 391 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = _tmp8_ = gexiv2_metadata_get_iptc_tags (_tmp7_); -#line 279 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 391 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tags = (_vala_array_free (tags, tags_length1, (GDestroyNotify) g_free), NULL); -#line 279 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 391 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tags = _tmp9_; -#line 279 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 391 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tags_length1 = _vala_array_length (_tmp8_); -#line 279 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 391 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tags_size_ = tags_length1; -#line 280 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 392 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 2276 "PhotoMetadata.c" +#line 3196 "PhotoMetadata.c" } default: -#line 269 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 381 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 2281 "PhotoMetadata.c" +#line 3201 "PhotoMetadata.c" } -#line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 395 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = tags; -#line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 395 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11__length1 = tags_length1; -#line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 395 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp11_ == NULL) { -#line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 395 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = TRUE; -#line 2291 "PhotoMetadata.c" +#line 3211 "PhotoMetadata.c" } else { gchar** _tmp12_ = NULL; gint _tmp12__length1 = 0; -#line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 395 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = tags; -#line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 395 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12__length1 = tags_length1; -#line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 395 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = _tmp12__length1 == 0; -#line 2301 "PhotoMetadata.c" +#line 3221 "PhotoMetadata.c" } -#line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 395 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp10_) { -#line 284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 396 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 396 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tags = (_vala_array_free (tags, tags_length1, (GDestroyNotify) g_free), NULL); -#line 284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 396 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (compare_func_target_destroy_notify == NULL) ? NULL : (compare_func_target_destroy_notify (compare_func_target), NULL); -#line 284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 396 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func = NULL; -#line 284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 396 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target = NULL; -#line 284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 396 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target_destroy_notify = NULL; -#line 284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 396 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2319 "PhotoMetadata.c" +#line 3239 "PhotoMetadata.c" } -#line 286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 398 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = compare_func; -#line 286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 398 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13__target = compare_func_target; -#line 286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 398 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13__target_destroy_notify = compare_func_target_destroy_notify; -#line 286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 398 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target_destroy_notify = NULL; -#line 286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 398 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = photo_metadata_create_string_set (self, _tmp13_, _tmp13__target, _tmp13__target_destroy_notify); -#line 286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 398 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" collection = G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_COLLECTION, GeeCollection); -#line 287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = tags; -#line 287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15__length1 = tags_length1; -#line 2337 "PhotoMetadata.c" +#line 3257 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; gint _tag_collection_size_ = 0; gint tag_it = 0; -#line 287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection = _tmp15_; -#line 287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection_length1 = _tmp15__length1; -#line 287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp15__length1; tag_it = tag_it + 1) { -#line 2349 "PhotoMetadata.c" +#line 3269 "PhotoMetadata.c" gchar* _tmp16_ = NULL; gchar* tag = NULL; -#line 287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = g_strdup (tag_collection[tag_it]); -#line 287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag = _tmp16_; -#line 2356 "PhotoMetadata.c" +#line 3276 "PhotoMetadata.c" { GeeCollection* _tmp17_ = NULL; const gchar* _tmp18_ = NULL; -#line 288 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 400 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ = collection; -#line 288 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 400 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = tag; -#line 288 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 400 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gee_collection_add (_tmp17_, _tmp18_); -#line 287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 2368 "PhotoMetadata.c" +#line 3288 "PhotoMetadata.c" } } } -#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 402 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = collection; -#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 402 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tags = (_vala_array_free (tags, tags_length1, (GDestroyNotify) g_free), NULL); -#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 402 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (compare_func_target_destroy_notify == NULL) ? NULL : (compare_func_target_destroy_notify (compare_func_target), NULL); -#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 402 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func = NULL; -#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 402 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target = NULL; -#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 402 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target_destroy_notify = NULL; -#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 402 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2386 "PhotoMetadata.c" -} - - -static gpointer _g_object_ref0 (gpointer self) { -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - return self ? g_object_ref (self) : NULL; -#line 2393 "PhotoMetadata.c" +#line 3306 "PhotoMetadata.c" } @@ -2417,180 +3330,180 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun gint _tmp28_ = 0; gint _tmp29_ = 0; GeeCollection* _tmp31_ = NULL; -#line 293 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 405 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 295 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = compare_func; -#line 295 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__target = compare_func_target; -#line 295 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__target_destroy_notify = compare_func_target_destroy_notify; -#line 295 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target_destroy_notify = NULL; -#line 295 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_create_string_set (self, _tmp0_, _tmp0__target, _tmp0__target_destroy_notify); -#line 295 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" all_tags = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection); -#line 297 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 409 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = photo_metadata_get_tags (self, METADATA_DOMAIN_EXIF, NULL, NULL, NULL); -#line 297 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 409 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" exif_tags = _tmp2_; -#line 298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 410 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = exif_tags; -#line 298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 410 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_ != NULL) { -#line 2443 "PhotoMetadata.c" +#line 3356 "PhotoMetadata.c" GeeCollection* _tmp5_ = NULL; gint _tmp6_ = 0; gint _tmp7_ = 0; -#line 298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 410 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = exif_tags; -#line 298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 410 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = gee_collection_get_size (_tmp5_); -#line 298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 410 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = _tmp6_; -#line 298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 410 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp7_ > 0; -#line 2455 "PhotoMetadata.c" +#line 3368 "PhotoMetadata.c" } else { -#line 298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 410 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = FALSE; -#line 2459 "PhotoMetadata.c" +#line 3372 "PhotoMetadata.c" } -#line 298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 410 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp3_) { -#line 2463 "PhotoMetadata.c" +#line 3376 "PhotoMetadata.c" GeeCollection* _tmp8_ = NULL; GeeCollection* _tmp9_ = NULL; -#line 299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 411 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = all_tags; -#line 299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 411 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = exif_tags; -#line 299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 411 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gee_collection_add_all (_tmp8_, _tmp9_); -#line 2472 "PhotoMetadata.c" +#line 3385 "PhotoMetadata.c" } -#line 301 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 413 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = photo_metadata_get_tags (self, METADATA_DOMAIN_XMP, NULL, NULL, NULL); -#line 301 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 413 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" xmp_tags = _tmp10_; -#line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = xmp_tags; -#line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp12_ != NULL) { -#line 2482 "PhotoMetadata.c" +#line 3395 "PhotoMetadata.c" GeeCollection* _tmp13_ = NULL; gint _tmp14_ = 0; gint _tmp15_ = 0; -#line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = xmp_tags; -#line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = gee_collection_get_size (_tmp13_); -#line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = _tmp14_; -#line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = _tmp15_ > 0; -#line 2494 "PhotoMetadata.c" +#line 3407 "PhotoMetadata.c" } else { -#line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = FALSE; -#line 2498 "PhotoMetadata.c" +#line 3411 "PhotoMetadata.c" } -#line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp11_) { -#line 2502 "PhotoMetadata.c" +#line 3415 "PhotoMetadata.c" GeeCollection* _tmp16_ = NULL; GeeCollection* _tmp17_ = NULL; -#line 303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 415 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = all_tags; -#line 303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 415 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ = xmp_tags; -#line 303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 415 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gee_collection_add_all (_tmp16_, _tmp17_); -#line 2511 "PhotoMetadata.c" +#line 3424 "PhotoMetadata.c" } -#line 305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 417 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = photo_metadata_get_tags (self, METADATA_DOMAIN_IPTC, NULL, NULL, NULL); -#line 305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 417 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" iptc_tags = _tmp18_; -#line 306 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp20_ = iptc_tags; -#line 306 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp20_ != NULL) { -#line 2521 "PhotoMetadata.c" +#line 3434 "PhotoMetadata.c" GeeCollection* _tmp21_ = NULL; gint _tmp22_ = 0; gint _tmp23_ = 0; -#line 306 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp21_ = iptc_tags; -#line 306 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp22_ = gee_collection_get_size (_tmp21_); -#line 306 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp23_ = _tmp22_; -#line 306 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = _tmp23_ > 0; -#line 2533 "PhotoMetadata.c" +#line 3446 "PhotoMetadata.c" } else { -#line 306 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = FALSE; -#line 2537 "PhotoMetadata.c" +#line 3450 "PhotoMetadata.c" } -#line 306 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp19_) { -#line 2541 "PhotoMetadata.c" +#line 3454 "PhotoMetadata.c" GeeCollection* _tmp24_ = NULL; GeeCollection* _tmp25_ = NULL; -#line 307 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 419 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp24_ = all_tags; -#line 307 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 419 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp25_ = iptc_tags; -#line 307 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 419 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gee_collection_add_all (_tmp24_, _tmp25_); -#line 2550 "PhotoMetadata.c" +#line 3463 "PhotoMetadata.c" } -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp27_ = all_tags; -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp28_ = gee_collection_get_size (_tmp27_); -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp29_ = _tmp28_; -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp29_ > 0) { -#line 2560 "PhotoMetadata.c" +#line 3473 "PhotoMetadata.c" GeeCollection* _tmp30_ = NULL; -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp30_ = all_tags; -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp26_ = _tmp30_; -#line 2566 "PhotoMetadata.c" +#line 3479 "PhotoMetadata.c" } else { -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp26_ = NULL; -#line 2570 "PhotoMetadata.c" +#line 3483 "PhotoMetadata.c" } -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp31_ = _g_object_ref0 (_tmp26_); -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp31_; -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (iptc_tags); -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (xmp_tags); -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (exif_tags); -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (all_tags); -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (compare_func_target_destroy_notify == NULL) ? NULL : (compare_func_target_destroy_notify (compare_func_target), NULL); -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func = NULL; -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target = NULL; -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target_destroy_notify = NULL; -#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2594 "PhotoMetadata.c" +#line 3507 "PhotoMetadata.c" } @@ -2599,21 +3512,21 @@ gchar* photo_metadata_get_tag_label (PhotoMetadata* self, const gchar* tag) { const gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; -#line 312 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 424 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 312 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 424 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (tag != NULL, NULL); -#line 313 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 425 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tag; -#line 313 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 425 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = gexiv2_metadata_get_tag_label (_tmp0_); -#line 313 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 425 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = g_strdup (_tmp1_); -#line 313 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 425 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp2_; -#line 313 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 425 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2617 "PhotoMetadata.c" +#line 3530 "PhotoMetadata.c" } @@ -2622,21 +3535,21 @@ gchar* photo_metadata_get_tag_description (PhotoMetadata* self, const gchar* tag const gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; -#line 316 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 316 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (tag != NULL, NULL); -#line 317 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tag; -#line 317 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = gexiv2_metadata_get_tag_description (_tmp0_); -#line 317 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = g_strdup (_tmp1_); -#line 317 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp2_; -#line 317 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2640 "PhotoMetadata.c" +#line 3553 "PhotoMetadata.c" } @@ -2649,31 +3562,31 @@ gchar* photo_metadata_get_string (PhotoMetadata* self, const gchar* tag, Prepare PrepareInputTextOptions _tmp4_ = 0; gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 320 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 432 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 320 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 432 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (tag != NULL, NULL); -#line 321 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 321 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = tag; -#line 321 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = gexiv2_metadata_get_tag_string (_tmp0_, _tmp1_); -#line 321 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp2_; -#line 321 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = options; -#line 321 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = prepare_input_text (_tmp3_, _tmp4_, DEFAULT_USER_TEXT_INPUT_LENGTH); -#line 321 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = _tmp5_; -#line 321 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp3_); -#line 321 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp6_; -#line 321 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2677 "PhotoMetadata.c" +#line 3590 "PhotoMetadata.c" } @@ -2686,31 +3599,31 @@ gchar* photo_metadata_get_string_interpreted (PhotoMetadata* self, const gchar* PrepareInputTextOptions _tmp4_ = 0; gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 324 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 436 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 324 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 436 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (tag != NULL, NULL); -#line 325 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 325 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = tag; -#line 325 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = gexiv2_metadata_get_tag_interpreted_string (_tmp0_, _tmp1_); -#line 325 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp2_; -#line 325 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = options; -#line 325 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = prepare_input_text (_tmp3_, _tmp4_, DEFAULT_USER_TEXT_INPUT_LENGTH); -#line 325 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = _tmp5_; -#line 325 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp3_); -#line 325 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp6_; -#line 325 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2714 "PhotoMetadata.c" +#line 3627 "PhotoMetadata.c" } @@ -2718,68 +3631,68 @@ gchar* photo_metadata_get_first_string (PhotoMetadata* self, gchar** tags, int t gchar* result = NULL; gchar** _tmp0_ = NULL; gint _tmp0__length1 = 0; -#line 328 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 440 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 329 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 441 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tags; -#line 329 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 441 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 2728 "PhotoMetadata.c" +#line 3641 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; gint _tag_collection_size_ = 0; gint tag_it = 0; -#line 329 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 441 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection = _tmp0_; -#line 329 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 441 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection_length1 = _tmp0__length1; -#line 329 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 441 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 2740 "PhotoMetadata.c" +#line 3653 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; -#line 329 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 441 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup (tag_collection[tag_it]); -#line 329 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 441 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag = _tmp1_; -#line 2747 "PhotoMetadata.c" +#line 3660 "PhotoMetadata.c" { gchar* value = NULL; const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 330 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 442 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = tag; -#line 330 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 442 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = photo_metadata_get_string (self, _tmp2_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 330 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 442 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value = _tmp3_; -#line 331 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 443 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = value; -#line 331 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 443 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_ != NULL) { -#line 332 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 444 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = value; -#line 332 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 444 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 332 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 444 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2769 "PhotoMetadata.c" +#line 3682 "PhotoMetadata.c" } -#line 329 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 441 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (value); -#line 329 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 441 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 2775 "PhotoMetadata.c" +#line 3688 "PhotoMetadata.c" } } } -#line 335 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 447 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 335 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 447 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2783 "PhotoMetadata.c" +#line 3696 "PhotoMetadata.c" } @@ -2787,68 +3700,68 @@ gchar* photo_metadata_get_first_string_interpreted (PhotoMetadata* self, gchar** gchar* result = NULL; gchar** _tmp0_ = NULL; gint _tmp0__length1 = 0; -#line 338 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 450 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 339 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tags; -#line 339 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 2797 "PhotoMetadata.c" +#line 3710 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; gint _tag_collection_size_ = 0; gint tag_it = 0; -#line 339 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection = _tmp0_; -#line 339 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection_length1 = _tmp0__length1; -#line 339 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 2809 "PhotoMetadata.c" +#line 3722 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; -#line 339 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup (tag_collection[tag_it]); -#line 339 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag = _tmp1_; -#line 2816 "PhotoMetadata.c" +#line 3729 "PhotoMetadata.c" { gchar* value = NULL; const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; -#line 340 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 452 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = tag; -#line 340 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 452 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = photo_metadata_get_string_interpreted (self, _tmp2_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 340 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 452 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value = _tmp3_; -#line 341 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 453 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = value; -#line 341 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 453 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_ != NULL) { -#line 342 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 454 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = value; -#line 342 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 454 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 342 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 454 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2838 "PhotoMetadata.c" +#line 3751 "PhotoMetadata.c" } -#line 339 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (value); -#line 339 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 2844 "PhotoMetadata.c" +#line 3757 "PhotoMetadata.c" } } } -#line 345 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 457 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 345 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 457 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2852 "PhotoMetadata.c" +#line 3765 "PhotoMetadata.c" } @@ -2875,180 +3788,180 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t gint _tmp24_ = 0; gint _tmp25_ = 0; GeeList* _tmp27_ = NULL; -#line 354 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 466 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 354 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 466 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (tag != NULL, NULL); -#line 355 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 467 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 355 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 467 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = tag; -#line 355 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 467 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp2_ = gexiv2_metadata_get_tag_multiple (_tmp0_, _tmp1_); -#line 355 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 467 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" values = _tmp3_; -#line 355 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 467 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" values_length1 = _vala_array_length (_tmp2_); -#line 355 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 467 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _values_size_ = values_length1; -#line 356 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = values; -#line 356 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5__length1 = values_length1; -#line 356 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp5_ == NULL) { -#line 356 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = TRUE; -#line 2903 "PhotoMetadata.c" +#line 3816 "PhotoMetadata.c" } else { gchar** _tmp6_ = NULL; gint _tmp6__length1 = 0; -#line 356 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = values; -#line 356 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6__length1 = values_length1; -#line 356 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = _tmp6__length1 == 0; -#line 2913 "PhotoMetadata.c" +#line 3826 "PhotoMetadata.c" } -#line 356 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_) { -#line 357 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 469 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 357 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 469 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL); -#line 357 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 469 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 2923 "PhotoMetadata.c" +#line 3836 "PhotoMetadata.c" } -#line 359 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 471 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL); -#line 359 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 471 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" list = G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_LIST, GeeList); -#line 361 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 473 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL); -#line 361 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 473 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" collection = _tmp8_; -#line 362 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = values; -#line 362 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9__length1 = values_length1; -#line 2937 "PhotoMetadata.c" +#line 3850 "PhotoMetadata.c" { gchar** value_collection = NULL; gint value_collection_length1 = 0; gint _value_collection_size_ = 0; gint value_it = 0; -#line 362 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value_collection = _tmp9_; -#line 362 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value_collection_length1 = _tmp9__length1; -#line 362 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (value_it = 0; value_it < _tmp9__length1; value_it = value_it + 1) { -#line 2949 "PhotoMetadata.c" +#line 3862 "PhotoMetadata.c" gchar* _tmp10_ = NULL; gchar* value = NULL; -#line 362 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = g_strdup (value_collection[value_it]); -#line 362 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value = _tmp10_; -#line 2956 "PhotoMetadata.c" +#line 3869 "PhotoMetadata.c" { gchar* prepped = NULL; const gchar* _tmp11_ = NULL; gchar* _tmp12_ = NULL; gboolean _tmp13_ = FALSE; const gchar* _tmp14_ = NULL; -#line 363 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 475 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = value; -#line 363 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 475 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = prepare_input_text (_tmp11_, PHOTO_METADATA_PREPARE_STRING_OPTIONS, DEFAULT_USER_TEXT_INPUT_LENGTH); -#line 363 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 475 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" prepped = _tmp12_; -#line 366 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 478 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = prepped; -#line 366 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 478 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp14_ != NULL) { -#line 2973 "PhotoMetadata.c" +#line 3886 "PhotoMetadata.c" GeeHashSet* _tmp15_ = NULL; const gchar* _tmp16_ = NULL; gboolean _tmp17_ = FALSE; -#line 366 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 478 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = collection; -#line 366 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 478 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = prepped; -#line 366 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 478 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ = gee_abstract_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp16_); -#line 366 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 478 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = !_tmp17_; -#line 2985 "PhotoMetadata.c" +#line 3898 "PhotoMetadata.c" } else { -#line 366 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 478 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = FALSE; -#line 2989 "PhotoMetadata.c" +#line 3902 "PhotoMetadata.c" } -#line 366 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 478 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp13_) { -#line 2993 "PhotoMetadata.c" +#line 3906 "PhotoMetadata.c" GeeList* _tmp18_ = NULL; const gchar* _tmp19_ = NULL; GeeHashSet* _tmp20_ = NULL; const gchar* _tmp21_ = NULL; -#line 367 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 479 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = list; -#line 367 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 479 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = prepped; -#line 367 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 479 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection), _tmp19_); -#line 368 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 480 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp20_ = collection; -#line 368 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 480 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp21_ = prepped; -#line 368 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 480 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp21_); -#line 3010 "PhotoMetadata.c" +#line 3923 "PhotoMetadata.c" } -#line 362 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (prepped); -#line 362 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (value); -#line 3016 "PhotoMetadata.c" +#line 3929 "PhotoMetadata.c" } } } -#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp23_ = list; -#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp24_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp25_ = _tmp24_; -#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp25_ > 0) { -#line 3028 "PhotoMetadata.c" +#line 3941 "PhotoMetadata.c" GeeList* _tmp26_ = NULL; -#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp26_ = list; -#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp22_ = _tmp26_; -#line 3034 "PhotoMetadata.c" +#line 3947 "PhotoMetadata.c" } else { -#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp22_ = NULL; -#line 3038 "PhotoMetadata.c" +#line 3951 "PhotoMetadata.c" } -#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp27_ = _g_object_ref0 (_tmp22_); -#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp27_; -#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (collection); -#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (list); -#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL); -#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 3052 "PhotoMetadata.c" +#line 3965 "PhotoMetadata.c" } @@ -3056,89 +3969,89 @@ GeeList* photo_metadata_get_first_string_multiple (PhotoMetadata* self, gchar** GeeList* result = NULL; gchar** _tmp0_ = NULL; gint _tmp0__length1 = 0; -#line 381 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 493 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 382 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 494 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tags; -#line 382 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 494 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 3066 "PhotoMetadata.c" +#line 3979 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; gint _tag_collection_size_ = 0; gint tag_it = 0; -#line 382 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 494 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection = _tmp0_; -#line 382 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 494 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection_length1 = _tmp0__length1; -#line 382 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 494 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 3078 "PhotoMetadata.c" +#line 3991 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; -#line 382 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 494 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup (tag_collection[tag_it]); -#line 382 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 494 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag = _tmp1_; -#line 3085 "PhotoMetadata.c" +#line 3998 "PhotoMetadata.c" { GeeList* values = NULL; const gchar* _tmp2_ = NULL; GeeList* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; GeeList* _tmp5_ = NULL; -#line 383 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 495 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = tag; -#line 383 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 495 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = photo_metadata_get_string_multiple (self, _tmp2_); -#line 383 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 495 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" values = _tmp3_; -#line 384 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 496 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = values; -#line 384 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 496 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp5_ != NULL) { -#line 3102 "PhotoMetadata.c" +#line 4015 "PhotoMetadata.c" GeeList* _tmp6_ = NULL; gint _tmp7_ = 0; gint _tmp8_ = 0; -#line 384 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 496 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = values; -#line 384 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 496 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 384 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 496 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = _tmp7_; -#line 384 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 496 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = _tmp8_ > 0; -#line 3114 "PhotoMetadata.c" +#line 4027 "PhotoMetadata.c" } else { -#line 384 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 496 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = FALSE; -#line 3118 "PhotoMetadata.c" +#line 4031 "PhotoMetadata.c" } -#line 384 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 496 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_) { -#line 385 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 497 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = values; -#line 385 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 497 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 385 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 497 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 3128 "PhotoMetadata.c" +#line 4041 "PhotoMetadata.c" } -#line 382 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 494 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (values); -#line 382 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 494 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 3134 "PhotoMetadata.c" +#line 4047 "PhotoMetadata.c" } } } -#line 388 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 500 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 388 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 500 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 3142 "PhotoMetadata.c" +#line 4055 "PhotoMetadata.c" } @@ -3152,67 +4065,67 @@ void photo_metadata_set_string (PhotoMetadata* self, const gchar* tag, const gch const gchar* _tmp7_ = NULL; const gchar* _tmp8_ = NULL; gboolean _tmp9_ = FALSE; -#line 391 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 503 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 391 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 503 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (tag != NULL); -#line 391 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 503 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (value != NULL); -#line 392 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 504 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = value; -#line 392 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 504 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = options; -#line 392 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 504 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = prepare_input_text (_tmp0_, _tmp1_, DEFAULT_USER_TEXT_INPUT_LENGTH); -#line 392 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 504 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" prepped = _tmp2_; -#line 393 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 505 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = prepped; -#line 393 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 505 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp3_ == NULL) { -#line 3174 "PhotoMetadata.c" +#line 4087 "PhotoMetadata.c" const gchar* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; -#line 394 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 506 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = tag; -#line 394 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 506 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = value; -#line 394 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - g_warning ("PhotoMetadata.vala:394: Not setting tag %s to string %s: invalid UTF-8", _tmp4_, _tmp5_); -#line 396 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 506 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_warning ("PhotoMetadata.vala:506: Not setting tag %s to string %s: invalid UTF-8", _tmp4_, _tmp5_); +#line 508 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (prepped); -#line 396 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 508 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 3187 "PhotoMetadata.c" +#line 4100 "PhotoMetadata.c" } -#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 511 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = self->priv->exiv2; -#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 511 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = tag; -#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 511 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = prepped; -#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 511 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = gexiv2_metadata_set_tag_string (_tmp6_, _tmp7_, _tmp8_); -#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 511 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp9_) { -#line 3199 "PhotoMetadata.c" +#line 4112 "PhotoMetadata.c" const gchar* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; const gchar* _tmp12_ = NULL; -#line 400 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 512 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = tag; -#line 400 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 512 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = value; -#line 400 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 512 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = self->priv->source_name; -#line 400 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - g_warning ("PhotoMetadata.vala:400: Unable to set tag %s to string %s from source " \ +#line 512 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_warning ("PhotoMetadata.vala:512: Unable to set tag %s to string %s from source " \ "%s", _tmp10_, _tmp11_, _tmp12_); -#line 3211 "PhotoMetadata.c" +#line 4124 "PhotoMetadata.c" } -#line 391 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 503 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (prepped); -#line 3215 "PhotoMetadata.c" +#line 4128 "PhotoMetadata.c" } @@ -3223,118 +4136,118 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i gboolean _tmp9_ = FALSE; gboolean _tmp10_ = FALSE; PhotoMetadataSetOption _tmp11_ = 0; -#line 405 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 517 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 406 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" written = FALSE; -#line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tags; -#line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 3234 "PhotoMetadata.c" +#line 4147 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; gint _tag_collection_size_ = 0; gint tag_it = 0; -#line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection = _tmp0_; -#line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection_length1 = _tmp0__length1; -#line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 3246 "PhotoMetadata.c" +#line 4159 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; -#line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup (tag_collection[tag_it]); -#line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag = _tmp1_; -#line 3253 "PhotoMetadata.c" +#line 4166 "PhotoMetadata.c" { gboolean _tmp2_ = FALSE; PhotoMetadataSetOption _tmp3_ = 0; -#line 408 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 520 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = option; -#line 408 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 520 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp3_ == PHOTO_METADATA_SET_OPTION_ALL_DOMAINS) { -#line 408 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 520 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = TRUE; -#line 3263 "PhotoMetadata.c" +#line 4176 "PhotoMetadata.c" } else { const gchar* _tmp4_ = NULL; MetadataDomain _tmp5_ = 0; gboolean _tmp6_ = FALSE; -#line 408 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 520 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = tag; -#line 408 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 520 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = photo_metadata_get_tag_domain (_tmp4_); -#line 408 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 520 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = photo_metadata_has_domain (self, _tmp5_); -#line 408 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 520 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = _tmp6_; -#line 3276 "PhotoMetadata.c" +#line 4189 "PhotoMetadata.c" } -#line 408 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 520 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp2_) { -#line 3280 "PhotoMetadata.c" +#line 4193 "PhotoMetadata.c" PhotoMetadataSetGenericValue _tmp7_ = NULL; void* _tmp7__target = NULL; const gchar* _tmp8_ = NULL; -#line 409 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 521 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = setter; -#line 409 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 521 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7__target = setter_target; -#line 409 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 521 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = tag; -#line 409 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 521 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ (_tmp8_, _tmp7__target); -#line 410 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 522 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" written = TRUE; -#line 3294 "PhotoMetadata.c" +#line 4207 "PhotoMetadata.c" } -#line 407 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 3298 "PhotoMetadata.c" +#line 4211 "PhotoMetadata.c" } } } -#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = option; -#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp11_ == PHOTO_METADATA_SET_OPTION_AT_LEAST_DEFAULT_DOMAIN) { -#line 3306 "PhotoMetadata.c" +#line 4219 "PhotoMetadata.c" gboolean _tmp12_ = FALSE; -#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = written; -#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = !_tmp12_; -#line 3312 "PhotoMetadata.c" +#line 4225 "PhotoMetadata.c" } else { -#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = FALSE; -#line 3316 "PhotoMetadata.c" +#line 4229 "PhotoMetadata.c" } -#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp10_) { -#line 3320 "PhotoMetadata.c" +#line 4233 "PhotoMetadata.c" gchar** _tmp13_ = NULL; gint _tmp13__length1 = 0; -#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = tags; -#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13__length1 = tags_length1; -#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = _tmp13__length1 > 0; -#line 3329 "PhotoMetadata.c" +#line 4242 "PhotoMetadata.c" } else { -#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = FALSE; -#line 3333 "PhotoMetadata.c" +#line 4246 "PhotoMetadata.c" } -#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp9_) { -#line 3337 "PhotoMetadata.c" +#line 4250 "PhotoMetadata.c" MetadataDomain default_domain = 0; gchar** _tmp14_ = NULL; gint _tmp14__length1 = 0; @@ -3345,41 +4258,41 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i gchar** _tmp18_ = NULL; gint _tmp18__length1 = 0; const gchar* _tmp19_ = NULL; -#line 415 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 527 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = tags; -#line 415 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 527 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14__length1 = tags_length1; -#line 415 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 527 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = _tmp14_[0]; -#line 415 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 527 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = photo_metadata_get_tag_domain (_tmp15_); -#line 415 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 527 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" default_domain = _tmp16_; -#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ = setter; -#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17__target = setter_target; -#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = tags; -#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18__length1 = tags_length1; -#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = _tmp18_[0]; -#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ (_tmp19_, _tmp17__target); -#line 3370 "PhotoMetadata.c" +#line 4283 "PhotoMetadata.c" { gint ctr = 0; -#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ctr = 1; -#line 3375 "PhotoMetadata.c" +#line 4288 "PhotoMetadata.c" { gboolean _tmp20_ = FALSE; -#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp20_ = TRUE; -#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 3382 "PhotoMetadata.c" +#line 4295 "PhotoMetadata.c" gint _tmp22_ = 0; gchar** _tmp23_ = NULL; gint _tmp23__length1 = 0; @@ -3389,66 +4302,66 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i const gchar* _tmp26_ = NULL; MetadataDomain _tmp27_ = 0; MetadataDomain _tmp28_ = 0; -#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp20_) { -#line 3394 "PhotoMetadata.c" +#line 4307 "PhotoMetadata.c" gint _tmp21_ = 0; -#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp21_ = ctr; -#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ctr = _tmp21_ + 1; -#line 3400 "PhotoMetadata.c" +#line 4313 "PhotoMetadata.c" } -#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp20_ = FALSE; -#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp22_ = ctr; -#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp23_ = tags; -#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp23__length1 = tags_length1; -#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!(_tmp22_ < _tmp23__length1)) { -#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 3414 "PhotoMetadata.c" +#line 4327 "PhotoMetadata.c" } -#line 422 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 534 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp24_ = tags; -#line 422 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 534 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp24__length1 = tags_length1; -#line 422 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 534 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp25_ = ctr; -#line 422 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 534 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp26_ = _tmp24_[_tmp25_]; -#line 422 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 534 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp27_ = photo_metadata_get_tag_domain (_tmp26_); -#line 422 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 534 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp28_ = default_domain; -#line 422 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 534 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp27_ == _tmp28_) { -#line 3430 "PhotoMetadata.c" +#line 4343 "PhotoMetadata.c" PhotoMetadataSetGenericValue _tmp29_ = NULL; void* _tmp29__target = NULL; gchar** _tmp30_ = NULL; gint _tmp30__length1 = 0; gint _tmp31_ = 0; const gchar* _tmp32_ = NULL; -#line 423 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 535 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp29_ = setter; -#line 423 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 535 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp29__target = setter_target; -#line 423 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 535 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp30_ = tags; -#line 423 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 535 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp30__length1 = tags_length1; -#line 423 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 535 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp31_ = ctr; -#line 423 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 535 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp32_ = _tmp30_[_tmp31_]; -#line 423 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 535 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp29_ (_tmp32_, _tmp29__target); -#line 3451 "PhotoMetadata.c" +#line 4364 "PhotoMetadata.c" } } } @@ -3458,30 +4371,30 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i static Block1Data* block1_data_ref (Block1Data* _data1_) { -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_atomic_int_inc (&_data1_->_ref_count_); -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return _data1_; -#line 3465 "PhotoMetadata.c" +#line 4378 "PhotoMetadata.c" } static void block1_data_unref (void * _userdata_) { Block1Data* _data1_; _data1_ = (Block1Data*) _userdata_; -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) { -#line 3474 "PhotoMetadata.c" +#line 4387 "PhotoMetadata.c" PhotoMetadata* self; -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = _data1_->self; -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_data1_->value); -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _media_metadata_unref0 (self); -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_slice_free (Block1Data, _data1_); -#line 3484 "PhotoMetadata.c" +#line 4397 "PhotoMetadata.c" } } @@ -3490,24 +4403,24 @@ static void __lambda5_ (Block1Data* _data1_, const gchar* tag) { PhotoMetadata* self; const gchar* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 541 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = _data1_->self; -#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 541 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (tag != NULL); -#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 541 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tag; -#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 541 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = _data1_->value; -#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 541 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string (self, _tmp0_, _tmp1_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 3503 "PhotoMetadata.c" +#line 4416 "PhotoMetadata.c" } static void ___lambda5__photo_metadata_set_generic_value (const gchar* tag, gpointer self) { -#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 541 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" __lambda5_ (self, tag); -#line 3510 "PhotoMetadata.c" +#line 4423 "PhotoMetadata.c" } @@ -3518,71 +4431,71 @@ void photo_metadata_set_all_string (PhotoMetadata* self, gchar** tags, int tags_ gchar** _tmp2_ = NULL; gint _tmp2__length1 = 0; PhotoMetadataSetOption _tmp3_ = 0; -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (value != NULL); -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data1_ = g_slice_new0 (Block1Data); -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data1_->_ref_count_ = 1; -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data1_->self = media_metadata_ref (self); -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = value; -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup (_tmp0_); -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_data1_->value); -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data1_->value = _tmp1_; -#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 541 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = tags; -#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 541 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2__length1 = tags_length1; -#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 541 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = option; -#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 541 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_generic (self, _tmp2_, _tmp2__length1, _tmp3_, ___lambda5__photo_metadata_set_generic_value, _data1_); -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" block1_data_unref (_data1_); -#line 428 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data1_ = NULL; -#line 3551 "PhotoMetadata.c" +#line 4464 "PhotoMetadata.c" } static void _vala_array_add45 (gchar*** array, int* length, int* size, gchar* value) { -#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if ((*length) == (*size)) { -#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 3562 "PhotoMetadata.c" +#line 4475 "PhotoMetadata.c" } -#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (*array)[(*length)++] = value; -#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (*array)[*length] = NULL; -#line 3568 "PhotoMetadata.c" +#line 4481 "PhotoMetadata.c" } static void _vala_array_add46 (gchar*** array, int* length, int* size, gchar* value) { -#line 449 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if ((*length) == (*size)) { -#line 449 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *size = (*size) ? (2 * (*size)) : 4; -#line 449 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *array = g_renew (gchar*, *array, (*size) + 1); -#line 3579 "PhotoMetadata.c" +#line 4492 "PhotoMetadata.c" } -#line 449 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (*array)[(*length)++] = value; -#line 449 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (*array)[*length] = NULL; -#line 3585 "PhotoMetadata.c" +#line 4498 "PhotoMetadata.c" } @@ -3600,34 +4513,34 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag, gchar** _tmp19_ = NULL; gint _tmp19__length1 = 0; gboolean _tmp20_ = FALSE; -#line 432 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 544 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 432 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 544 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (tag != NULL); -#line 432 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 544 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (GEE_IS_COLLECTION (collection)); -#line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 545 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = g_new0 (gchar*, 0 + 1); -#line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 545 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" values = _tmp0_; -#line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 545 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" values_length1 = 0; -#line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 545 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _values_size_ = values_length1; -#line 3617 "PhotoMetadata.c" +#line 4530 "PhotoMetadata.c" { GeeIterator* _value_it = NULL; GeeCollection* _tmp1_ = NULL; GeeIterator* _tmp2_ = NULL; -#line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = collection; -#line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _value_it = _tmp2_; -#line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 3630 "PhotoMetadata.c" +#line 4543 "PhotoMetadata.c" GeeIterator* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; gchar* value = NULL; @@ -3637,148 +4550,148 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag, const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; const gchar* _tmp9_ = NULL; -#line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _value_it; -#line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = gee_iterator_next (_tmp3_); -#line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp4_) { -#line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 3648 "PhotoMetadata.c" +#line 4561 "PhotoMetadata.c" } -#line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _value_it; -#line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = gee_iterator_get (_tmp5_); -#line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value = (gchar*) _tmp6_; -#line 435 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 547 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = value; -#line 435 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 547 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = prepare_input_text (_tmp7_, PHOTO_METADATA_PREPARE_STRING_OPTIONS, -1); -#line 435 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 547 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" prepped = _tmp8_; -#line 436 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 548 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = prepped; -#line 436 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 548 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp9_ != NULL) { -#line 3666 "PhotoMetadata.c" +#line 4579 "PhotoMetadata.c" gchar** _tmp10_ = NULL; gint _tmp10__length1 = 0; const gchar* _tmp11_ = NULL; gchar* _tmp12_ = NULL; -#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = values; -#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10__length1 = values_length1; -#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = prepped; -#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = g_strdup (_tmp11_); -#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_array_add45 (&values, &values_length1, &_values_size_, _tmp12_); -#line 3681 "PhotoMetadata.c" +#line 4594 "PhotoMetadata.c" } else { const gchar* _tmp13_ = NULL; const gchar* _tmp14_ = NULL; -#line 439 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 551 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = value; -#line 439 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 551 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = tag; -#line 439 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - g_warning ("PhotoMetadata.vala:439: Unable to set string %s to %s: invalid UTF-8", _tmp13_, _tmp14_); -#line 3691 "PhotoMetadata.c" +#line 551 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_warning ("PhotoMetadata.vala:551: Unable to set string %s to %s: invalid UTF-8", _tmp13_, _tmp14_); +#line 4604 "PhotoMetadata.c" } -#line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (prepped); -#line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (value); -#line 3697 "PhotoMetadata.c" +#line 4610 "PhotoMetadata.c" } -#line 434 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_value_it); -#line 3701 "PhotoMetadata.c" +#line 4614 "PhotoMetadata.c" } -#line 442 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 554 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = values; -#line 442 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 554 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15__length1 = values_length1; -#line 442 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 554 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp15__length1 == 0) { -#line 443 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 555 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL); -#line 443 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 555 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 3713 "PhotoMetadata.c" +#line 4626 "PhotoMetadata.c" } -#line 449 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = values; -#line 449 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16__length1 = values_length1; -#line 449 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_array_add46 (&values, &values_length1, &_values_size_, NULL); -#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 563 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ = self->priv->exiv2; -#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 563 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = tag; -#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 563 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = values; -#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 563 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19__length1 = values_length1; -#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 563 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp20_ = gexiv2_metadata_set_tag_multiple (_tmp17_, _tmp18_, _tmp19_); -#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 563 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp20_) { -#line 3733 "PhotoMetadata.c" +#line 4646 "PhotoMetadata.c" gchar** _tmp21_ = NULL; gint _tmp21__length1 = 0; const gchar* _tmp22_ = NULL; const gchar* _tmp23_ = NULL; -#line 452 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 564 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp21_ = values; -#line 452 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 564 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp21__length1 = values_length1; -#line 452 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 564 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp22_ = tag; -#line 452 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 564 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp23_ = self->priv->source_name; -#line 452 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - g_warning ("PhotoMetadata.vala:452: Unable to set %d strings to tag %s from source" \ +#line 564 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_warning ("PhotoMetadata.vala:564: Unable to set %d strings to tag %s from source" \ " %s", _tmp21__length1, _tmp22_, _tmp23_); -#line 3748 "PhotoMetadata.c" +#line 4661 "PhotoMetadata.c" } -#line 432 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 544 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL); -#line 3752 "PhotoMetadata.c" +#line 4665 "PhotoMetadata.c" } static Block2Data* block2_data_ref (Block2Data* _data2_) { -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_atomic_int_inc (&_data2_->_ref_count_); -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return _data2_; -#line 3761 "PhotoMetadata.c" +#line 4674 "PhotoMetadata.c" } static void block2_data_unref (void * _userdata_) { Block2Data* _data2_; _data2_ = (Block2Data*) _userdata_; -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) { -#line 3770 "PhotoMetadata.c" +#line 4683 "PhotoMetadata.c" PhotoMetadata* self; -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = _data2_->self; -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_data2_->values); -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _media_metadata_unref0 (self); -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_slice_free (Block2Data, _data2_); -#line 3780 "PhotoMetadata.c" +#line 4693 "PhotoMetadata.c" } } @@ -3787,24 +4700,24 @@ static void __lambda6_ (Block2Data* _data2_, const gchar* tag) { PhotoMetadata* self; const gchar* _tmp0_ = NULL; GeeCollection* _tmp1_ = NULL; -#line 456 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 568 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = _data2_->self; -#line 456 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 568 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (tag != NULL); -#line 456 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 568 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tag; -#line 456 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 568 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = _data2_->values; -#line 456 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 568 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string_multiple (self, _tmp0_, _tmp1_); -#line 3799 "PhotoMetadata.c" +#line 4712 "PhotoMetadata.c" } static void ___lambda6__photo_metadata_set_generic_value (const gchar* tag, gpointer self) { -#line 456 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 568 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" __lambda6_ (self, tag); -#line 3806 "PhotoMetadata.c" +#line 4719 "PhotoMetadata.c" } @@ -3815,37 +4728,37 @@ void photo_metadata_set_all_string_multiple (PhotoMetadata* self, gchar** tags, gchar** _tmp2_ = NULL; gint _tmp2__length1 = 0; PhotoMetadataSetOption _tmp3_ = 0; -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (GEE_IS_COLLECTION (values)); -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data2_ = g_slice_new0 (Block2Data); -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data2_->_ref_count_ = 1; -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data2_->self = media_metadata_ref (self); -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = values; -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_data2_->values); -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data2_->values = _tmp1_; -#line 456 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 568 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = tags; -#line 456 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 568 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2__length1 = tags_length1; -#line 456 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 568 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = option; -#line 456 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 568 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_generic (self, _tmp2_, _tmp2__length1, _tmp3_, ___lambda6__photo_metadata_set_generic_value, _data2_); -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" block2_data_unref (_data2_); -#line 455 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data2_ = NULL; -#line 3847 "PhotoMetadata.c" +#line 4760 "PhotoMetadata.c" } @@ -3857,49 +4770,49 @@ gboolean photo_metadata_get_long (PhotoMetadata* self, const gchar* tag, glong* GExiv2Metadata* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; glong _tmp4_ = 0L; -#line 459 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 571 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 459 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 571 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (tag != NULL, FALSE); -#line 460 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 572 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tag; -#line 460 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 572 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_has_tag (self, _tmp0_); -#line 460 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 572 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp1_) { -#line 461 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 573 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_value = (glong) 0; -#line 463 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 575 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = FALSE; -#line 463 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 575 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (value) { -#line 463 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 575 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *value = _vala_value; -#line 3877 "PhotoMetadata.c" +#line 4790 "PhotoMetadata.c" } -#line 463 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 575 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 3881 "PhotoMetadata.c" +#line 4794 "PhotoMetadata.c" } -#line 466 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = self->priv->exiv2; -#line 466 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = tag; -#line 466 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = gexiv2_metadata_get_tag_long (_tmp2_, _tmp3_); -#line 466 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_value = _tmp4_; -#line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 580 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = TRUE; -#line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 580 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (value) { -#line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 580 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *value = _vala_value; -#line 3897 "PhotoMetadata.c" +#line 4810 "PhotoMetadata.c" } -#line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 580 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 3901 "PhotoMetadata.c" +#line 4814 "PhotoMetadata.c" } @@ -3908,77 +4821,77 @@ gboolean photo_metadata_get_first_long (PhotoMetadata* self, gchar** tags, int t gboolean result = FALSE; gchar** _tmp0_ = NULL; gint _tmp0__length1 = 0; -#line 471 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 583 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 472 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tags; -#line 472 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 3916 "PhotoMetadata.c" +#line 4829 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; gint _tag_collection_size_ = 0; gint tag_it = 0; -#line 472 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection = _tmp0_; -#line 472 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection_length1 = _tmp0__length1; -#line 472 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 3928 "PhotoMetadata.c" +#line 4841 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; -#line 472 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup (tag_collection[tag_it]); -#line 472 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag = _tmp1_; -#line 3935 "PhotoMetadata.c" +#line 4848 "PhotoMetadata.c" { const gchar* _tmp2_ = NULL; glong _tmp3_ = 0L; gboolean _tmp4_ = FALSE; -#line 473 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 585 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = tag; -#line 473 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 585 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = photo_metadata_get_long (self, _tmp2_, &_tmp3_); -#line 473 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 585 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_value = _tmp3_; -#line 473 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 585 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_) { -#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 586 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = TRUE; -#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 586 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 586 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (value) { -#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 586 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *value = _vala_value; -#line 3956 "PhotoMetadata.c" +#line 4869 "PhotoMetadata.c" } -#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 586 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 3960 "PhotoMetadata.c" +#line 4873 "PhotoMetadata.c" } -#line 472 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 3964 "PhotoMetadata.c" +#line 4877 "PhotoMetadata.c" } } } -#line 477 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 589 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_value = (glong) 0; -#line 479 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 591 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = FALSE; -#line 479 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 591 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (value) { -#line 479 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 591 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *value = _vala_value; -#line 3976 "PhotoMetadata.c" +#line 4889 "PhotoMetadata.c" } -#line 479 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 591 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 3980 "PhotoMetadata.c" +#line 4893 "PhotoMetadata.c" } @@ -3987,61 +4900,61 @@ void photo_metadata_set_long (PhotoMetadata* self, const gchar* tag, glong value const gchar* _tmp1_ = NULL; glong _tmp2_ = 0L; gboolean _tmp3_ = FALSE; -#line 482 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 594 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 482 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 594 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (tag != NULL); -#line 483 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 595 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 483 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 595 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = tag; -#line 483 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 595 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = value; -#line 483 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 595 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = gexiv2_metadata_set_tag_long (_tmp0_, _tmp1_, _tmp2_); -#line 483 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 595 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp3_) { -#line 4003 "PhotoMetadata.c" +#line 4916 "PhotoMetadata.c" const gchar* _tmp4_ = NULL; glong _tmp5_ = 0L; const gchar* _tmp6_ = NULL; -#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 596 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = tag; -#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 596 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = value; -#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 596 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = self->priv->source_name; -#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - g_warning ("PhotoMetadata.vala:484: Unable to set tag %s to long %ld from source %" \ +#line 596 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_warning ("PhotoMetadata.vala:596: Unable to set tag %s to long %ld from source %" \ "s", _tmp4_, _tmp5_, _tmp6_); -#line 4015 "PhotoMetadata.c" +#line 4928 "PhotoMetadata.c" } } static Block3Data* block3_data_ref (Block3Data* _data3_) { -#line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_atomic_int_inc (&_data3_->_ref_count_); -#line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return _data3_; -#line 4025 "PhotoMetadata.c" +#line 4938 "PhotoMetadata.c" } static void block3_data_unref (void * _userdata_) { Block3Data* _data3_; _data3_ = (Block3Data*) _userdata_; -#line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) { -#line 4034 "PhotoMetadata.c" +#line 4947 "PhotoMetadata.c" PhotoMetadata* self; -#line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = _data3_->self; -#line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _media_metadata_unref0 (self); -#line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_slice_free (Block3Data, _data3_); -#line 4042 "PhotoMetadata.c" +#line 4955 "PhotoMetadata.c" } } @@ -4050,24 +4963,24 @@ static void __lambda7_ (Block3Data* _data3_, const gchar* tag) { PhotoMetadata* self; const gchar* _tmp0_ = NULL; glong _tmp1_ = 0L; -#line 488 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 600 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = _data3_->self; -#line 488 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 600 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (tag != NULL); -#line 488 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 600 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tag; -#line 488 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 600 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = _data3_->value; -#line 488 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 600 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_long (self, _tmp0_, _tmp1_); -#line 4061 "PhotoMetadata.c" +#line 4974 "PhotoMetadata.c" } static void ___lambda7__photo_metadata_set_generic_value (const gchar* tag, gpointer self) { -#line 488 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 600 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" __lambda7_ (self, tag); -#line 4068 "PhotoMetadata.c" +#line 4981 "PhotoMetadata.c" } @@ -4077,31 +4990,31 @@ void photo_metadata_set_all_long (PhotoMetadata* self, gchar** tags, int tags_le gchar** _tmp1_ = NULL; gint _tmp1__length1 = 0; PhotoMetadataSetOption _tmp2_ = 0; -#line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data3_ = g_slice_new0 (Block3Data); -#line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data3_->_ref_count_ = 1; -#line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data3_->self = media_metadata_ref (self); -#line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = value; -#line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data3_->value = _tmp0_; -#line 488 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 600 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = tags; -#line 488 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 600 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1__length1 = tags_length1; -#line 488 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 600 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = option; -#line 488 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 600 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_generic (self, _tmp1_, _tmp1__length1, _tmp2_, ___lambda7__photo_metadata_set_generic_value, _data3_); -#line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" block3_data_unref (_data3_); -#line 487 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data3_ = NULL; -#line 4102 "PhotoMetadata.c" +#line 5015 "PhotoMetadata.c" } @@ -4116,35 +5029,35 @@ gboolean photo_metadata_get_rational (PhotoMetadata* self, const gchar* tag, Met gint _tmp2_ = 0; gint _tmp3_ = 0; gboolean _tmp4_ = FALSE; -#line 491 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 603 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 491 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 603 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (tag != NULL, FALSE); -#line 493 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 605 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 493 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 605 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = tag; -#line 493 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 605 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = gexiv2_metadata_get_exif_tag_rational (_tmp0_, _tmp1_, &_tmp2_, &_tmp3_); -#line 493 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 605 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" numerator = _tmp2_; -#line 493 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 605 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" denominator = _tmp3_; -#line 493 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 605 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _result_ = _tmp4_; -#line 495 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 607 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" metadata_rational_init (&_vala_rational, numerator, denominator); -#line 497 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 609 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _result_; -#line 497 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 609 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (rational) { -#line 497 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 609 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *rational = _vala_rational; -#line 4141 "PhotoMetadata.c" +#line 5054 "PhotoMetadata.c" } -#line 497 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 609 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4145 "PhotoMetadata.c" +#line 5058 "PhotoMetadata.c" } @@ -4153,77 +5066,77 @@ gboolean photo_metadata_get_first_rational (PhotoMetadata* self, gchar** tags, i gboolean result = FALSE; gchar** _tmp0_ = NULL; gint _tmp0__length1 = 0; -#line 500 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 612 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 501 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 613 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tags; -#line 501 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 613 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 4160 "PhotoMetadata.c" +#line 5073 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; gint _tag_collection_size_ = 0; gint tag_it = 0; -#line 501 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 613 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection = _tmp0_; -#line 501 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 613 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection_length1 = _tmp0__length1; -#line 501 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 613 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 4172 "PhotoMetadata.c" +#line 5085 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; -#line 501 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 613 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup (tag_collection[tag_it]); -#line 501 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 613 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag = _tmp1_; -#line 4179 "PhotoMetadata.c" +#line 5092 "PhotoMetadata.c" { const gchar* _tmp2_ = NULL; MetadataRational _tmp3_ = {0}; gboolean _tmp4_ = FALSE; -#line 502 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 614 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = tag; -#line 502 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 614 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = photo_metadata_get_rational (self, _tmp2_, &_tmp3_); -#line 502 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 614 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_rational = _tmp3_; -#line 502 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 614 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_) { -#line 503 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 615 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = TRUE; -#line 503 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 615 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 503 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 615 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (rational) { -#line 503 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 615 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *rational = _vala_rational; -#line 4200 "PhotoMetadata.c" +#line 5113 "PhotoMetadata.c" } -#line 503 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 615 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4204 "PhotoMetadata.c" +#line 5117 "PhotoMetadata.c" } -#line 501 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 613 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 4208 "PhotoMetadata.c" +#line 5121 "PhotoMetadata.c" } } } -#line 506 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" metadata_rational_init (&_vala_rational, 0, 0); -#line 508 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 620 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = FALSE; -#line 508 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 620 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (rational) { -#line 508 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 620 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *rational = _vala_rational; -#line 4220 "PhotoMetadata.c" +#line 5133 "PhotoMetadata.c" } -#line 508 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 620 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4224 "PhotoMetadata.c" +#line 5137 "PhotoMetadata.c" } @@ -4235,74 +5148,74 @@ void photo_metadata_set_rational (PhotoMetadata* self, const gchar* tag, Metadat MetadataRational _tmp4_ = {0}; gint _tmp5_ = 0; gboolean _tmp6_ = FALSE; -#line 511 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 623 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 511 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 623 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (tag != NULL); -#line 511 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 623 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (rational != NULL); -#line 512 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 512 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = tag; -#line 512 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = *rational; -#line 512 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp2_.numerator; -#line 512 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = *rational; -#line 512 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _tmp4_.denominator; -#line 512 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = gexiv2_metadata_set_exif_tag_rational (_tmp0_, _tmp1_, _tmp3_, _tmp5_); -#line 512 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp6_) { -#line 4258 "PhotoMetadata.c" +#line 5171 "PhotoMetadata.c" const gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; const gchar* _tmp10_ = NULL; -#line 513 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 625 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = tag; -#line 513 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 625 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = metadata_rational_to_string (rational); -#line 513 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 625 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = _tmp8_; -#line 513 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 625 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = self->priv->source_name; -#line 513 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - g_warning ("PhotoMetadata.vala:513: Unable to set tag %s to rational %s from sourc" \ +#line 625 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_warning ("PhotoMetadata.vala:625: Unable to set tag %s to rational %s from sourc" \ "e %s", _tmp7_, _tmp9_, _tmp10_); -#line 513 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 625 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp9_); -#line 4275 "PhotoMetadata.c" +#line 5188 "PhotoMetadata.c" } } static Block4Data* block4_data_ref (Block4Data* _data4_) { -#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_atomic_int_inc (&_data4_->_ref_count_); -#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return _data4_; -#line 4285 "PhotoMetadata.c" +#line 5198 "PhotoMetadata.c" } static void block4_data_unref (void * _userdata_) { Block4Data* _data4_; _data4_ = (Block4Data*) _userdata_; -#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) { -#line 4294 "PhotoMetadata.c" +#line 5207 "PhotoMetadata.c" PhotoMetadata* self; -#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = _data4_->self; -#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _media_metadata_unref0 (self); -#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_slice_free (Block4Data, _data4_); -#line 4302 "PhotoMetadata.c" +#line 5215 "PhotoMetadata.c" } } @@ -4311,24 +5224,24 @@ static void __lambda8_ (Block4Data* _data4_, const gchar* tag) { PhotoMetadata* self; const gchar* _tmp0_ = NULL; MetadataRational _tmp1_ = {0}; -#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 631 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = _data4_->self; -#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 631 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (tag != NULL); -#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 631 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tag; -#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 631 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = _data4_->rational; -#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 631 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_rational (self, _tmp0_, &_tmp1_); -#line 4321 "PhotoMetadata.c" +#line 5234 "PhotoMetadata.c" } static void ___lambda8__photo_metadata_set_generic_value (const gchar* tag, gpointer self) { -#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 631 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" __lambda8_ (self, tag); -#line 4328 "PhotoMetadata.c" +#line 5241 "PhotoMetadata.c" } @@ -4338,33 +5251,33 @@ void photo_metadata_set_all_rational (PhotoMetadata* self, gchar** tags, int tag gchar** _tmp1_ = NULL; gint _tmp1__length1 = 0; PhotoMetadataSetOption _tmp2_ = 0; -#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (rational != NULL); -#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data4_ = g_slice_new0 (Block4Data); -#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data4_->_ref_count_ = 1; -#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data4_->self = media_metadata_ref (self); -#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = *rational; -#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data4_->rational = _tmp0_; -#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 631 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = tags; -#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 631 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1__length1 = tags_length1; -#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 631 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = option; -#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 631 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_generic (self, _tmp1_, _tmp1__length1, _tmp2_, ___lambda8__photo_metadata_set_generic_value, _data4_); -#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" block4_data_unref (_data4_); -#line 518 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data4_ = NULL; -#line 4364 "PhotoMetadata.c" +#line 5277 "PhotoMetadata.c" } @@ -4375,115 +5288,115 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar gchar* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; GError * _inner_error_ = NULL; -#line 522 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 634 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 522 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 634 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (tag != NULL, NULL); -#line 523 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 635 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tag; -#line 523 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 635 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_get_string (self, _tmp0_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 523 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 635 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" value = _tmp1_; -#line 524 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 636 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = value; -#line 524 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 636 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp2_ == NULL) { -#line 525 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 637 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 525 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 637 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (value); -#line 525 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 637 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4395 "PhotoMetadata.c" +#line 5308 "PhotoMetadata.c" } { const gchar* _tmp3_ = NULL; MetadataDomain _tmp4_ = 0; -#line 528 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 640 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = tag; -#line 528 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 640 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = photo_metadata_get_tag_domain (_tmp3_); -#line 528 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 640 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" switch (_tmp4_) { -#line 528 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 640 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_XMP: -#line 4408 "PhotoMetadata.c" +#line 5321 "PhotoMetadata.c" { MetadataDateTime* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; MetadataDateTime* _tmp7_ = NULL; MetadataDateTime* _tmp8_ = NULL; -#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 642 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = value; -#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 642 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = metadata_date_time_new_from_xmp (_tmp6_, &_inner_error_); -#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 642 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _tmp7_; -#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 642 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4422 "PhotoMetadata.c" +#line 5335 "PhotoMetadata.c" goto __catch24_g_error; } -#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 642 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = _tmp5_; -#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 642 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = NULL; -#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 642 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp8_; -#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 642 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _metadata_date_time_unref0 (_tmp5_); -#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 642 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (value); -#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 642 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4437 "PhotoMetadata.c" +#line 5350 "PhotoMetadata.c" } -#line 528 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 640 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_IPTC: -#line 4441 "PhotoMetadata.c" +#line 5354 "PhotoMetadata.c" { -#line 535 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 647 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 535 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 647 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (value); -#line 535 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 647 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4449 "PhotoMetadata.c" +#line 5362 "PhotoMetadata.c" } default: -#line 528 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 640 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_EXIF: -#line 4454 "PhotoMetadata.c" +#line 5367 "PhotoMetadata.c" { MetadataDateTime* _tmp9_ = NULL; const gchar* _tmp10_ = NULL; MetadataDateTime* _tmp11_ = NULL; MetadataDateTime* _tmp12_ = NULL; -#line 539 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = value; -#line 539 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = metadata_date_time_new_from_exif (_tmp10_, &_inner_error_); -#line 539 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = _tmp11_; -#line 539 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4468 "PhotoMetadata.c" +#line 5381 "PhotoMetadata.c" goto __catch24_g_error; } -#line 539 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = _tmp9_; -#line 539 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = NULL; -#line 539 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp12_; -#line 539 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _metadata_date_time_unref0 (_tmp9_); -#line 539 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (value); -#line 539 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4483 "PhotoMetadata.c" +#line 5396 "PhotoMetadata.c" } } } @@ -4495,40 +5408,40 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar const gchar* _tmp14_ = NULL; GError* _tmp15_ = NULL; const gchar* _tmp16_ = NULL; -#line 527 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 639 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" err = _inner_error_; -#line 527 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 639 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _inner_error_ = NULL; -#line 542 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 654 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = tag; -#line 542 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 654 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = self->priv->source_name; -#line 542 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 654 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = err; -#line 542 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 654 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = _tmp15_->message; -#line 542 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - g_warning ("PhotoMetadata.vala:542: Unable to read date/time %s from source %s: %s", _tmp13_, _tmp14_, _tmp16_); -#line 544 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 654 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_warning ("PhotoMetadata.vala:654: Unable to read date/time %s from source %s: %s", _tmp13_, _tmp14_, _tmp16_); +#line 656 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 544 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 656 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_error_free0 (err); -#line 544 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 656 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (value); -#line 544 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 656 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4517 "PhotoMetadata.c" +#line 5430 "PhotoMetadata.c" } __finally24: -#line 527 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 639 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (value); -#line 527 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 639 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 527 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 639 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_clear_error (&_inner_error_); -#line 527 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 639 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return NULL; -#line 4528 "PhotoMetadata.c" +#line 5441 "PhotoMetadata.c" } @@ -4536,197 +5449,197 @@ MetadataDateTime* photo_metadata_get_first_date_time (PhotoMetadata* self, gchar MetadataDateTime* result = NULL; gchar** _tmp0_ = NULL; gint _tmp0__length1 = 0; -#line 548 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 660 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tags; -#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 4542 "PhotoMetadata.c" +#line 5455 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; gint _tag_collection_size_ = 0; gint tag_it = 0; -#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection = _tmp0_; -#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection_length1 = _tmp0__length1; -#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 4554 "PhotoMetadata.c" +#line 5467 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; -#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup (tag_collection[tag_it]); -#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag = _tmp1_; -#line 4561 "PhotoMetadata.c" +#line 5474 "PhotoMetadata.c" { MetadataDateTime* date_time = NULL; const gchar* _tmp2_ = NULL; MetadataDateTime* _tmp3_ = NULL; MetadataDateTime* _tmp4_ = NULL; -#line 550 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 662 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = tag; -#line 550 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 662 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = photo_metadata_get_date_time (self, _tmp2_); -#line 550 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 662 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" date_time = _tmp3_; -#line 551 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 663 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = date_time; -#line 551 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 663 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_ != NULL) { -#line 552 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 664 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = date_time; -#line 552 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 664 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 552 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 664 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4583 "PhotoMetadata.c" +#line 5496 "PhotoMetadata.c" } -#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _metadata_date_time_unref0 (date_time); -#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 4589 "PhotoMetadata.c" +#line 5502 "PhotoMetadata.c" } } } -#line 555 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 667 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 555 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 667 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4597 "PhotoMetadata.c" +#line 5510 "PhotoMetadata.c" } void photo_metadata_set_date_time (PhotoMetadata* self, const gchar* tag, MetadataDateTime* date_time) { const gchar* _tmp0_ = NULL; MetadataDomain _tmp1_ = 0; -#line 558 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 670 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 558 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 670 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (tag != NULL); -#line 558 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 670 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_METADATA_DATE_TIME (date_time)); -#line 559 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 671 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tag; -#line 559 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 671 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_get_tag_domain (_tmp0_); -#line 559 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 671 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" switch (_tmp1_) { -#line 559 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 671 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_EXIF: -#line 4618 "PhotoMetadata.c" +#line 5531 "PhotoMetadata.c" { const gchar* _tmp2_ = NULL; MetadataDateTime* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; -#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 673 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = tag; -#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 673 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = date_time; -#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 673 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = metadata_date_time_get_exif_label (_tmp3_); -#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 673 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _tmp4_; -#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 673 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string (self, _tmp2_, _tmp5_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 673 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp5_); -#line 562 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 674 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 4638 "PhotoMetadata.c" +#line 5551 "PhotoMetadata.c" } -#line 559 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 671 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_XMP: -#line 4642 "PhotoMetadata.c" +#line 5555 "PhotoMetadata.c" { const gchar* _tmp6_ = NULL; MetadataDateTime* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 565 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 677 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = tag; -#line 565 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 677 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = date_time; -#line 565 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 677 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = metadata_date_time_get_xmp_label (_tmp7_); -#line 565 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 677 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = _tmp8_; -#line 565 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 677 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string (self, _tmp6_, _tmp9_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 565 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 677 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp9_); -#line 566 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 678 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 4662 "PhotoMetadata.c" +#line 5575 "PhotoMetadata.c" } default: -#line 559 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 671 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_IPTC: -#line 4667 "PhotoMetadata.c" +#line 5580 "PhotoMetadata.c" { const gchar* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; const gchar* _tmp12_ = NULL; MetadataDomain _tmp13_ = 0; GEnumValue* _tmp14_; -#line 571 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 683 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = tag; -#line 571 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 683 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = self->priv->source_name; -#line 571 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 683 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = tag; -#line 571 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 683 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = photo_metadata_get_tag_domain (_tmp12_); -#line 572 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 684 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = g_enum_get_value (g_type_class_ref (TYPE_METADATA_DOMAIN), _tmp13_); -#line 571 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - g_warning ("PhotoMetadata.vala:571: Cannot set date/time for %s from source %s: un" \ +#line 683 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_warning ("PhotoMetadata.vala:683: Cannot set date/time for %s from source %s: un" \ "supported metadata domain %s", _tmp10_, _tmp11_, (_tmp14_ != NULL) ? _tmp14_->value_name : NULL); -#line 573 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 685 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 4688 "PhotoMetadata.c" +#line 5601 "PhotoMetadata.c" } } } static gpointer _metadata_date_time_ref0 (gpointer self) { -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self ? metadata_date_time_ref (self) : NULL; -#line 4697 "PhotoMetadata.c" +#line 5610 "PhotoMetadata.c" } static Block5Data* block5_data_ref (Block5Data* _data5_) { -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_atomic_int_inc (&_data5_->_ref_count_); -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return _data5_; -#line 4706 "PhotoMetadata.c" +#line 5619 "PhotoMetadata.c" } static void block5_data_unref (void * _userdata_) { Block5Data* _data5_; _data5_ = (Block5Data*) _userdata_; -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (g_atomic_int_dec_and_test (&_data5_->_ref_count_)) { -#line 4715 "PhotoMetadata.c" +#line 5628 "PhotoMetadata.c" PhotoMetadata* self; -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = _data5_->self; -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _metadata_date_time_unref0 (_data5_->date_time); -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _media_metadata_unref0 (self); -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_slice_free (Block5Data, _data5_); -#line 4725 "PhotoMetadata.c" +#line 5638 "PhotoMetadata.c" } } @@ -4735,24 +5648,24 @@ static void __lambda9_ (Block5Data* _data5_, const gchar* tag) { PhotoMetadata* self; const gchar* _tmp0_ = NULL; MetadataDateTime* _tmp1_ = NULL; -#line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 690 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = _data5_->self; -#line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 690 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (tag != NULL); -#line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 690 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tag; -#line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 690 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = _data5_->date_time; -#line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 690 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_date_time (self, _tmp0_, _tmp1_); -#line 4744 "PhotoMetadata.c" +#line 5657 "PhotoMetadata.c" } static void ___lambda9__photo_metadata_set_generic_value (const gchar* tag, gpointer self) { -#line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 690 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" __lambda9_ (self, tag); -#line 4751 "PhotoMetadata.c" +#line 5664 "PhotoMetadata.c" } @@ -4763,37 +5676,37 @@ void photo_metadata_set_all_date_time (PhotoMetadata* self, gchar** tags, int ta gchar** _tmp2_ = NULL; gint _tmp2__length1 = 0; PhotoMetadataSetOption _tmp3_ = 0; -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_METADATA_DATE_TIME (date_time)); -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data5_ = g_slice_new0 (Block5Data); -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data5_->_ref_count_ = 1; -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data5_->self = media_metadata_ref (self); -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = date_time; -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = _metadata_date_time_ref0 (_tmp0_); -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _metadata_date_time_unref0 (_data5_->date_time); -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data5_->date_time = _tmp1_; -#line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 690 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = tags; -#line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 690 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2__length1 = tags_length1; -#line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 690 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = option; -#line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 690 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_generic (self, _tmp2_, _tmp2__length1, _tmp3_, ___lambda9__photo_metadata_set_generic_value, _data5_); -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" block5_data_unref (_data5_); -#line 577 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _data5_ = NULL; -#line 4792 "PhotoMetadata.c" +#line 5705 "PhotoMetadata.c" } @@ -4821,93 +5734,93 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ guint _tmp24_ = 0U; guint8* _tmp25_ = NULL; gint _tmp25__length1 = 0; -#line 582 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 694 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 583 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 695 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exif; -#line 583 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 695 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ == NULL) { -#line 4826 "PhotoMetadata.c" +#line 5739 "PhotoMetadata.c" guint8* _tmp1_ = NULL; gint _tmp1__length1 = 0; -#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 696 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = NULL; -#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 696 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1__length1 = 0; -#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 696 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (result_length1) { -#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 696 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *result_length1 = _tmp1__length1; -#line 4837 "PhotoMetadata.c" +#line 5750 "PhotoMetadata.c" } -#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 696 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp1_; -#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 696 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4843 "PhotoMetadata.c" +#line 5756 "PhotoMetadata.c" } -#line 588 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 700 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = self->priv->exif; -#line 588 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 700 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp2_->data; -#line 588 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 700 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" thumbnail = _tmp3_; -#line 589 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 701 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = self->priv->exif; -#line 589 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 701 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _tmp4_->size; -#line 589 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 701 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" thumbnail_size = _tmp5_; -#line 590 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 702 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = include_preview; -#line 590 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 702 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp6_) { -#line 4861 "PhotoMetadata.c" +#line 5774 "PhotoMetadata.c" ExifData* _tmp7_ = NULL; ExifData* _tmp8_ = NULL; -#line 591 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 703 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = self->priv->exif; -#line 591 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 703 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_->data = NULL; -#line 592 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 704 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = self->priv->exif; -#line 592 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 704 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_->size = (guint) 0; -#line 4872 "PhotoMetadata.c" +#line 5785 "PhotoMetadata.c" } -#line 595 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 707 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" flattened = NULL; -#line 595 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 707 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" flattened_length1 = 0; -#line 595 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 707 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _flattened_size_ = flattened_length1; -#line 598 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 710 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" saved_data = NULL; -#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 711 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" saved_size = (guint) 0; -#line 600 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 712 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = self->priv->exif; -#line 600 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 712 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" exif_data_save_data (_tmp9_, &saved_data, &saved_size); -#line 601 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = saved_size; -#line 601 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp11_ > ((guint) 0)) { -#line 4892 "PhotoMetadata.c" +#line 5805 "PhotoMetadata.c" guchar* _tmp12_ = NULL; -#line 601 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = saved_data; -#line 601 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = _tmp12_ != NULL; -#line 4898 "PhotoMetadata.c" +#line 5811 "PhotoMetadata.c" } else { -#line 601 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = FALSE; -#line 4902 "PhotoMetadata.c" +#line 5815 "PhotoMetadata.c" } -#line 601 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp10_) { -#line 4906 "PhotoMetadata.c" +#line 5819 "PhotoMetadata.c" guint _tmp13_ = 0U; guint8* _tmp14_ = NULL; guint8* _tmp15_ = NULL; @@ -4917,74 +5830,74 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ ExifMem* _tmp18_ = NULL; ExifMem* _tmp19_ = NULL; guchar* _tmp20_ = NULL; -#line 602 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 714 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = saved_size; -#line 602 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 714 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = g_new0 (guint8, _tmp13_); -#line 602 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 714 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" flattened = (g_free (flattened), NULL); -#line 602 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 714 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" flattened = _tmp14_; -#line 602 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 714 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" flattened_length1 = _tmp13_; -#line 602 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 714 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _flattened_size_ = flattened_length1; -#line 603 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 715 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = flattened; -#line 603 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 715 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15__length1 = flattened_length1; -#line 603 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 715 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = saved_data; -#line 603 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 715 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ = saved_size; -#line 603 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 715 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" memcpy (_tmp15_, _tmp16_, (gsize) _tmp17_); -#line 605 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 717 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = exif_mem_new_default (); -#line 605 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 717 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = _tmp18_; -#line 605 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 717 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp20_ = saved_data; -#line 605 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 717 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" exif_mem_free (_tmp19_, _tmp20_); -#line 605 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 717 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _exif_mem_unref0 (_tmp19_); -#line 4948 "PhotoMetadata.c" +#line 5861 "PhotoMetadata.c" } -#line 609 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 721 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp21_ = self->priv->exif; -#line 609 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 721 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp22_ = thumbnail; -#line 609 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 721 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp21_->data = _tmp22_; -#line 610 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 722 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp23_ = self->priv->exif; -#line 610 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 722 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp24_ = thumbnail_size; -#line 610 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 722 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp23_->size = _tmp24_; -#line 612 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 724 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp25_ = flattened; -#line 612 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 724 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp25__length1 = flattened_length1; -#line 612 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 724 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (result_length1) { -#line 612 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 724 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *result_length1 = _tmp25__length1; -#line 4970 "PhotoMetadata.c" +#line 5883 "PhotoMetadata.c" } -#line 612 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 724 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp25_; -#line 612 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 724 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 4976 "PhotoMetadata.c" +#line 5889 "PhotoMetadata.c" } static guint8* _vala_array_dup5 (guint8* self, int length) { -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return g_memdup (self, length * sizeof (guint8)); -#line 4983 "PhotoMetadata.c" +#line 5896 "PhotoMetadata.c" } @@ -5004,66 +5917,66 @@ guint8* photo_metadata_flatten_exif_preview (PhotoMetadata* self, int* result_le gint _tmp6__length1 = 0; guint8* _tmp7_ = NULL; gint _tmp7__length1 = 0; -#line 616 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 728 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = self->priv->exiv2; -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = gexiv2_metadata_get_exif_thumbnail (_tmp1_, &_tmp2_, &_tmp3_); -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" buffer = (g_free (buffer), NULL); -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" buffer = _tmp2_; -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" buffer_length1 = _tmp3_; -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _buffer_size_ = buffer_length1; -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_) { -#line 5019 "PhotoMetadata.c" +#line 5932 "PhotoMetadata.c" guchar* _tmp5_ = NULL; gint _tmp5__length1 = 0; -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = buffer; -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5__length1 = buffer_length1; -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = _tmp5_; -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = _tmp5__length1; -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" __tmp0__size_ = _tmp0__length1; -#line 5032 "PhotoMetadata.c" +#line 5945 "PhotoMetadata.c" } else { -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = NULL; -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = 0; -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" __tmp0__size_ = _tmp0__length1; -#line 5040 "PhotoMetadata.c" +#line 5953 "PhotoMetadata.c" } -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = (_tmp0_ != NULL) ? _vala_array_dup5 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_); -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6__length1 = _tmp0__length1; -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = _tmp6_; -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7__length1 = _tmp6__length1; -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (result_length1) { -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *result_length1 = _tmp7__length1; -#line 5054 "PhotoMetadata.c" +#line 5967 "PhotoMetadata.c" } -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp7_; -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" buffer = (g_free (buffer), NULL); -#line 618 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5062 "PhotoMetadata.c" +#line 5975 "PhotoMetadata.c" } @@ -5078,44 +5991,44 @@ guint photo_metadata_get_preview_count (PhotoMetadata* self) { gint _tmp3_ = 0; GExiv2PreviewProperties** _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 621 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 733 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), 0U); -#line 622 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 734 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 622 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 734 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = _tmp1_ = gexiv2_metadata_get_preview_properties (_tmp0_); -#line 622 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 734 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" props = _tmp2_; -#line 622 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 734 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" props_length1 = _vala_array_length (_tmp1_); -#line 622 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 734 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _props_size_ = props_length1; -#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 736 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = props; -#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 736 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4__length1 = props_length1; -#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 736 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_ != NULL) { -#line 5095 "PhotoMetadata.c" +#line 6008 "PhotoMetadata.c" GExiv2PreviewProperties** _tmp5_ = NULL; gint _tmp5__length1 = 0; -#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 736 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = props; -#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 736 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5__length1 = props_length1; -#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 736 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp5__length1; -#line 5104 "PhotoMetadata.c" +#line 6017 "PhotoMetadata.c" } else { -#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 736 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = 0; -#line 5108 "PhotoMetadata.c" +#line 6021 "PhotoMetadata.c" } -#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 736 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = (guint) _tmp3_; -#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 736 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5114 "PhotoMetadata.c" +#line 6027 "PhotoMetadata.c" } @@ -5137,112 +6050,112 @@ PhotoPreview* photo_metadata_get_preview (PhotoMetadata* self, guint number) { guint _tmp10_ = 0U; GExiv2PreviewProperties* _tmp11_ = NULL; PhotoMetadataInternalPhotoPreview* _tmp12_ = NULL; -#line 628 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 740 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 629 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 741 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 629 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 741 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = _tmp1_ = gexiv2_metadata_get_preview_properties (_tmp0_); -#line 629 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 741 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" props = _tmp2_; -#line 629 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 741 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" props_length1 = _vala_array_length (_tmp1_); -#line 629 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 741 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _props_size_ = props_length1; -#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 742 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = props; -#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 742 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4__length1 = props_length1; -#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 742 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_ == NULL) { -#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 742 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = TRUE; -#line 5156 "PhotoMetadata.c" +#line 6069 "PhotoMetadata.c" } else { GExiv2PreviewProperties** _tmp5_ = NULL; gint _tmp5__length1 = 0; guint _tmp6_ = 0U; -#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 742 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = props; -#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 742 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5__length1 = props_length1; -#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 742 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = number; -#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 742 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = ((guint) _tmp5__length1) <= _tmp6_; -#line 5169 "PhotoMetadata.c" +#line 6082 "PhotoMetadata.c" } -#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 742 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp3_) { -#line 631 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 743 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 631 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 743 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5177 "PhotoMetadata.c" +#line 6090 "PhotoMetadata.c" } -#line 633 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = self->priv->source_name; -#line 633 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = number; -#line 633 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = props; -#line 633 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9__length1 = props_length1; -#line 633 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = number; -#line 633 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = _tmp9_[_tmp10_]; -#line 633 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = photo_metadata_internal_photo_preview_new (self, _tmp7_, _tmp8_, _tmp11_); -#line 633 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_PHOTO_PREVIEW, PhotoPreview); -#line 633 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5197 "PhotoMetadata.c" +#line 6110 "PhotoMetadata.c" } void photo_metadata_remove_exif_thumbnail (PhotoMetadata* self) { GExiv2Metadata* _tmp0_ = NULL; ExifData* _tmp1_ = NULL; -#line 636 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 748 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 637 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 749 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 637 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 749 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gexiv2_metadata_erase_exif_thumbnail (_tmp0_); -#line 638 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 750 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = self->priv->exif; -#line 638 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 750 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp1_ != NULL) { -#line 5214 "PhotoMetadata.c" +#line 6127 "PhotoMetadata.c" ExifMem* _tmp2_ = NULL; ExifMem* _tmp3_ = NULL; ExifData* _tmp4_ = NULL; guchar* _tmp5_ = NULL; ExifData* _tmp6_ = NULL; ExifData* _tmp7_ = NULL; -#line 639 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 751 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = exif_mem_new_default (); -#line 639 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 751 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp2_; -#line 639 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 751 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = self->priv->exif; -#line 639 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 751 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _tmp4_->data; -#line 639 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 751 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" exif_mem_free (_tmp3_, _tmp5_); -#line 639 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 751 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _exif_mem_unref0 (_tmp3_); -#line 640 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 752 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = self->priv->exif; -#line 640 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 752 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_->data = NULL; -#line 641 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 753 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = self->priv->exif; -#line 641 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 753 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_->size = (guint) 0; -#line 5241 "PhotoMetadata.c" +#line 6154 "PhotoMetadata.c" } } @@ -5250,58 +6163,58 @@ void photo_metadata_remove_exif_thumbnail (PhotoMetadata* self) { void photo_metadata_remove_tag (PhotoMetadata* self, const gchar* tag) { GExiv2Metadata* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; -#line 645 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 757 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 645 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 757 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (tag != NULL); -#line 646 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 758 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 646 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 758 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = tag; -#line 646 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 758 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gexiv2_metadata_clear_tag (_tmp0_, _tmp1_); -#line 5259 "PhotoMetadata.c" +#line 6172 "PhotoMetadata.c" } void photo_metadata_remove_tags (PhotoMetadata* self, gchar** tags, int tags_length1) { gchar** _tmp0_ = NULL; gint _tmp0__length1 = 0; -#line 649 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 761 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 650 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 762 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = tags; -#line 650 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 762 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = tags_length1; -#line 5272 "PhotoMetadata.c" +#line 6185 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; gint _tag_collection_size_ = 0; gint tag_it = 0; -#line 650 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 762 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection = _tmp0_; -#line 650 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 762 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection_length1 = _tmp0__length1; -#line 650 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 762 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 5284 "PhotoMetadata.c" +#line 6197 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; -#line 650 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 762 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup (tag_collection[tag_it]); -#line 650 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 762 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag = _tmp1_; -#line 5291 "PhotoMetadata.c" +#line 6204 "PhotoMetadata.c" { const gchar* _tmp2_ = NULL; -#line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 763 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = tag; -#line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 763 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tag (self, _tmp2_); -#line 650 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 762 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 5300 "PhotoMetadata.c" +#line 6213 "PhotoMetadata.c" } } } @@ -5310,68 +6223,68 @@ void photo_metadata_remove_tags (PhotoMetadata* self, gchar** tags, int tags_len void photo_metadata_clear_domain (PhotoMetadata* self, MetadataDomain domain) { MetadataDomain _tmp0_ = 0; -#line 654 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 766 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 655 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 767 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = domain; -#line 655 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 767 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" switch (_tmp0_) { -#line 655 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 767 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_EXIF: -#line 5317 "PhotoMetadata.c" +#line 6230 "PhotoMetadata.c" { GExiv2Metadata* _tmp1_ = NULL; -#line 657 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 769 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = self->priv->exiv2; -#line 657 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 769 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gexiv2_metadata_clear_exif (_tmp1_); -#line 658 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 770 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 5326 "PhotoMetadata.c" +#line 6239 "PhotoMetadata.c" } -#line 655 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 767 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_XMP: -#line 5330 "PhotoMetadata.c" +#line 6243 "PhotoMetadata.c" { GExiv2Metadata* _tmp2_ = NULL; -#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 773 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = self->priv->exiv2; -#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 773 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gexiv2_metadata_clear_xmp (_tmp2_); -#line 662 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 774 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 5339 "PhotoMetadata.c" +#line 6252 "PhotoMetadata.c" } -#line 655 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 767 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" case METADATA_DOMAIN_IPTC: -#line 5343 "PhotoMetadata.c" +#line 6256 "PhotoMetadata.c" { GExiv2Metadata* _tmp3_ = NULL; -#line 665 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 777 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = self->priv->exiv2; -#line 665 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 777 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gexiv2_metadata_clear_iptc (_tmp3_); -#line 666 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 778 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 5352 "PhotoMetadata.c" +#line 6265 "PhotoMetadata.c" } default: -#line 655 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 767 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 5357 "PhotoMetadata.c" +#line 6270 "PhotoMetadata.c" } } void photo_metadata_clear (PhotoMetadata* self) { GExiv2Metadata* _tmp0_ = NULL; -#line 670 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 782 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 671 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 783 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 671 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 783 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gexiv2_metadata_clear (_tmp0_); -#line 5370 "PhotoMetadata.c" +#line 6283 "PhotoMetadata.c" } @@ -5380,58 +6293,58 @@ MetadataDateTime* photo_metadata_get_modification_date_time (PhotoMetadata* self gchar** _tmp0_ = NULL; gint _tmp0__length1 = 0; MetadataDateTime* _tmp1_ = NULL; -#line 680 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 793 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 681 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 794 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_DATE_TIME_TAGS; -#line 681 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 794 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = photo_metadata_DATE_TIME_TAGS_length1; -#line 681 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 794 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_get_first_date_time (self, _tmp0_, _tmp0__length1); -#line 681 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 794 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp1_; -#line 681 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 794 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5391 "PhotoMetadata.c" +#line 6304 "PhotoMetadata.c" } void photo_metadata_set_modification_date_time (PhotoMetadata* self, MetadataDateTime* date_time, PhotoMetadataSetOption option) { MetadataDateTime* _tmp0_ = NULL; -#line 684 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 797 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 684 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 797 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail ((date_time == NULL) || IS_METADATA_DATE_TIME (date_time)); -#line 686 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 799 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = date_time; -#line 686 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 799 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ != NULL) { -#line 5405 "PhotoMetadata.c" +#line 6318 "PhotoMetadata.c" gchar** _tmp1_ = NULL; gint _tmp1__length1 = 0; MetadataDateTime* _tmp2_ = NULL; PhotoMetadataSetOption _tmp3_ = 0; -#line 687 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 800 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_DATE_TIME_TAGS; -#line 687 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 800 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1__length1 = photo_metadata_DATE_TIME_TAGS_length1; -#line 687 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 800 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = date_time; -#line 687 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 800 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = option; -#line 687 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 800 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_date_time (self, _tmp1_, _tmp1__length1, _tmp2_, _tmp3_); -#line 5420 "PhotoMetadata.c" +#line 6333 "PhotoMetadata.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 802 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = photo_metadata_DATE_TIME_TAGS; -#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 802 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4__length1 = photo_metadata_DATE_TIME_TAGS_length1; -#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 802 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tags (self, _tmp4_, _tmp4__length1); -#line 5430 "PhotoMetadata.c" +#line 6343 "PhotoMetadata.c" } } @@ -5441,58 +6354,58 @@ MetadataDateTime* photo_metadata_get_exposure_date_time (PhotoMetadata* self) { gchar** _tmp0_ = NULL; gint _tmp0__length1 = 0; MetadataDateTime* _tmp1_ = NULL; -#line 701 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 814 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 702 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 815 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_EXPOSURE_DATE_TIME_TAGS; -#line 702 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 815 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = photo_metadata_EXPOSURE_DATE_TIME_TAGS_length1; -#line 702 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 815 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_get_first_date_time (self, _tmp0_, _tmp0__length1); -#line 702 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 815 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp1_; -#line 702 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 815 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5452 "PhotoMetadata.c" +#line 6365 "PhotoMetadata.c" } void photo_metadata_set_exposure_date_time (PhotoMetadata* self, MetadataDateTime* date_time, PhotoMetadataSetOption option) { MetadataDateTime* _tmp0_ = NULL; -#line 705 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 818 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 705 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 818 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail ((date_time == NULL) || IS_METADATA_DATE_TIME (date_time)); -#line 707 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 820 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = date_time; -#line 707 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 820 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ != NULL) { -#line 5466 "PhotoMetadata.c" +#line 6379 "PhotoMetadata.c" gchar** _tmp1_ = NULL; gint _tmp1__length1 = 0; MetadataDateTime* _tmp2_ = NULL; PhotoMetadataSetOption _tmp3_ = 0; -#line 708 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 821 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_EXPOSURE_DATE_TIME_TAGS; -#line 708 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 821 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1__length1 = photo_metadata_EXPOSURE_DATE_TIME_TAGS_length1; -#line 708 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 821 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = date_time; -#line 708 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 821 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = option; -#line 708 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 821 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_date_time (self, _tmp1_, _tmp1__length1, _tmp2_, _tmp3_); -#line 5481 "PhotoMetadata.c" +#line 6394 "PhotoMetadata.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 710 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 823 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = photo_metadata_EXPOSURE_DATE_TIME_TAGS; -#line 710 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 823 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4__length1 = photo_metadata_EXPOSURE_DATE_TIME_TAGS_length1; -#line 710 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 823 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tags (self, _tmp4_, _tmp4__length1); -#line 5491 "PhotoMetadata.c" +#line 6404 "PhotoMetadata.c" } } @@ -5502,58 +6415,58 @@ MetadataDateTime* photo_metadata_get_digitized_date_time (PhotoMetadata* self) { gchar** _tmp0_ = NULL; gint _tmp0__length1 = 0; MetadataDateTime* _tmp1_ = NULL; -#line 718 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 831 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 719 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 832 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_DIGITIZED_DATE_TIME_TAGS; -#line 719 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 832 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = photo_metadata_DIGITIZED_DATE_TIME_TAGS_length1; -#line 719 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 832 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_get_first_date_time (self, _tmp0_, _tmp0__length1); -#line 719 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 832 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp1_; -#line 719 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 832 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5513 "PhotoMetadata.c" +#line 6426 "PhotoMetadata.c" } void photo_metadata_set_digitized_date_time (PhotoMetadata* self, MetadataDateTime* date_time, PhotoMetadataSetOption option) { MetadataDateTime* _tmp0_ = NULL; -#line 722 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 835 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 722 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 835 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail ((date_time == NULL) || IS_METADATA_DATE_TIME (date_time)); -#line 724 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 837 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = date_time; -#line 724 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 837 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ != NULL) { -#line 5527 "PhotoMetadata.c" +#line 6440 "PhotoMetadata.c" gchar** _tmp1_ = NULL; gint _tmp1__length1 = 0; MetadataDateTime* _tmp2_ = NULL; PhotoMetadataSetOption _tmp3_ = 0; -#line 725 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 838 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_DIGITIZED_DATE_TIME_TAGS; -#line 725 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 838 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1__length1 = photo_metadata_DIGITIZED_DATE_TIME_TAGS_length1; -#line 725 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 838 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = date_time; -#line 725 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 838 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = option; -#line 725 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 838 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_date_time (self, _tmp1_, _tmp1__length1, _tmp2_, _tmp3_); -#line 5542 "PhotoMetadata.c" +#line 6455 "PhotoMetadata.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; -#line 727 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 840 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = photo_metadata_DIGITIZED_DATE_TIME_TAGS; -#line 727 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 840 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4__length1 = photo_metadata_DIGITIZED_DATE_TIME_TAGS_length1; -#line 727 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 840 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tags (self, _tmp4_, _tmp4__length1); -#line 5552 "PhotoMetadata.c" +#line 6465 "PhotoMetadata.c" } } @@ -5564,38 +6477,38 @@ static MetadataDateTime* photo_metadata_real_get_creation_date_time (MediaMetada MetadataDateTime* creation = NULL; MetadataDateTime* _tmp0_ = NULL; MetadataDateTime* _tmp1_ = NULL; -#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 843 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO_METADATA, PhotoMetadata); -#line 731 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 844 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_get_exposure_date_time (self); -#line 731 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 844 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" creation = _tmp0_; -#line 732 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 845 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = creation; -#line 732 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 845 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp1_ == NULL) { -#line 5573 "PhotoMetadata.c" +#line 6486 "PhotoMetadata.c" MetadataDateTime* _tmp2_ = NULL; -#line 733 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 846 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = photo_metadata_get_digitized_date_time (self); -#line 733 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 846 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _metadata_date_time_unref0 (creation); -#line 733 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 846 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" creation = _tmp2_; -#line 5581 "PhotoMetadata.c" +#line 6494 "PhotoMetadata.c" } -#line 735 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 848 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = creation; -#line 735 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 848 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5587 "PhotoMetadata.c" +#line 6500 "PhotoMetadata.c" } static gpointer _dimensions_dup0 (gpointer self) { -#line 766 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 879 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self ? dimensions_dup (self) : NULL; -#line 5594 "PhotoMetadata.c" +#line 6507 "PhotoMetadata.c" } @@ -5605,31 +6518,31 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) { gint _tmp0__length1 = 0; gchar** _tmp1_ = NULL; gint _tmp1__length1 = 0; -#line 752 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 865 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 754 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 867 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_WIDTH_TAGS; -#line 754 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 867 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = photo_metadata_WIDTH_TAGS_length1; -#line 754 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 867 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_HEIGHT_TAGS; -#line 754 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 867 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1__length1 = photo_metadata_HEIGHT_TAGS_length1; -#line 754 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 867 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_assert (_tmp0__length1 == _tmp1__length1, "WIDTH_TAGS.length == HEIGHT_TAGS.length"); -#line 5616 "PhotoMetadata.c" +#line 6529 "PhotoMetadata.c" { gint ctr = 0; -#line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ctr = 0; -#line 5621 "PhotoMetadata.c" +#line 6534 "PhotoMetadata.c" { gboolean _tmp2_ = FALSE; -#line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = TRUE; -#line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 5628 "PhotoMetadata.c" +#line 6541 "PhotoMetadata.c" gint _tmp4_ = 0; gchar** _tmp5_ = NULL; gint _tmp5__length1 = 0; @@ -5651,99 +6564,99 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) { glong _tmp17_ = 0L; Dimensions _tmp18_ = {0}; Dimensions* _tmp19_ = NULL; -#line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp2_) { -#line 5652 "PhotoMetadata.c" +#line 6565 "PhotoMetadata.c" gint _tmp3_ = 0; -#line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = ctr; -#line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ctr = _tmp3_ + 1; -#line 5658 "PhotoMetadata.c" +#line 6571 "PhotoMetadata.c" } -#line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = FALSE; -#line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = ctr; -#line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = photo_metadata_WIDTH_TAGS; -#line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5__length1 = photo_metadata_WIDTH_TAGS_length1; -#line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!(_tmp4_ < _tmp5__length1)) { -#line 755 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 5672 "PhotoMetadata.c" +#line 6585 "PhotoMetadata.c" } -#line 759 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 872 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = photo_metadata_WIDTH_TAGS; -#line 759 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 872 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6__length1 = photo_metadata_WIDTH_TAGS_length1; -#line 759 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 872 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = ctr; -#line 759 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 872 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = _tmp6_[_tmp7_]; -#line 759 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 872 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = photo_metadata_get_long (self, _tmp8_, &_tmp9_); -#line 759 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 872 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" width = _tmp9_; -#line 759 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 872 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp10_) { -#line 760 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 873 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" continue; -#line 5690 "PhotoMetadata.c" +#line 6603 "PhotoMetadata.c" } -#line 763 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = photo_metadata_HEIGHT_TAGS; -#line 763 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11__length1 = photo_metadata_HEIGHT_TAGS_length1; -#line 763 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = ctr; -#line 763 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = _tmp11_[_tmp12_]; -#line 763 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = photo_metadata_get_long (self, _tmp13_, &_tmp14_); -#line 763 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" height = _tmp14_; -#line 763 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp15_) { -#line 764 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 877 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" continue; -#line 5708 "PhotoMetadata.c" +#line 6621 "PhotoMetadata.c" } -#line 766 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 879 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = width; -#line 766 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 879 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ = height; -#line 766 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 879 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" dimensions_init (&_tmp18_, (gint) _tmp16_, (gint) _tmp17_); -#line 766 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 879 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = _dimensions_dup0 (&_tmp18_); -#line 766 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 879 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp19_; -#line 766 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 879 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5722 "PhotoMetadata.c" +#line 6635 "PhotoMetadata.c" } } } -#line 769 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 882 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 769 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 882 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 5730 "PhotoMetadata.c" +#line 6643 "PhotoMetadata.c" } void photo_metadata_set_pixel_dimensions (PhotoMetadata* self, Dimensions* dim, PhotoMetadataSetOption option) { Dimensions* _tmp0_ = NULL; -#line 772 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 773 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 886 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = dim; -#line 773 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 886 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp0_ != NULL) { -#line 5742 "PhotoMetadata.c" +#line 6655 "PhotoMetadata.c" gchar** _tmp1_ = NULL; gint _tmp1__length1 = 0; Dimensions* _tmp2_ = NULL; @@ -5754,49 +6667,49 @@ void photo_metadata_set_pixel_dimensions (PhotoMetadata* self, Dimensions* dim, Dimensions* _tmp6_ = NULL; gint _tmp7_ = 0; PhotoMetadataSetOption _tmp8_ = 0; -#line 774 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 887 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_WIDTH_TAGS; -#line 774 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 887 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1__length1 = photo_metadata_WIDTH_TAGS_length1; -#line 774 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 887 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = dim; -#line 774 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 887 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = (*_tmp2_).width; -#line 774 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 887 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = option; -#line 774 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 887 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_long (self, _tmp1_, _tmp1__length1, (glong) _tmp3_, _tmp4_); -#line 775 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 888 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = photo_metadata_HEIGHT_TAGS; -#line 775 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 888 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5__length1 = photo_metadata_HEIGHT_TAGS_length1; -#line 775 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 888 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = dim; -#line 775 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 888 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = (*_tmp6_).height; -#line 775 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 888 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = option; -#line 775 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 888 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_long (self, _tmp5_, _tmp5__length1, (glong) _tmp7_, _tmp8_); -#line 5777 "PhotoMetadata.c" +#line 6690 "PhotoMetadata.c" } else { gchar** _tmp9_ = NULL; gint _tmp9__length1 = 0; gchar** _tmp10_ = NULL; gint _tmp10__length1 = 0; -#line 777 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 890 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = photo_metadata_WIDTH_TAGS; -#line 777 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 890 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9__length1 = photo_metadata_WIDTH_TAGS_length1; -#line 777 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 890 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tags (self, _tmp9_, _tmp9__length1); -#line 778 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 891 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = photo_metadata_HEIGHT_TAGS; -#line 778 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 891 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10__length1 = photo_metadata_HEIGHT_TAGS_length1; -#line 778 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 891 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tags (self, _tmp10_, _tmp10__length1); -#line 5795 "PhotoMetadata.c" +#line 6708 "PhotoMetadata.c" } } @@ -5820,7 +6733,7 @@ static gchar* string_strip (const gchar* self) { result = _result_; #line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 5819 "PhotoMetadata.c" +#line 6732 "PhotoMetadata.c" } @@ -5840,7 +6753,7 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { result = _tmp1_ != NULL; #line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 5839 "PhotoMetadata.c" +#line 6752 "PhotoMetadata.c" } @@ -5863,226 +6776,226 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) { const gchar* _tmp21_ = NULL; gboolean _tmp22_ = FALSE; gchar* _tmp28_ = NULL; -#line 811 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 925 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO_METADATA, PhotoMetadata); -#line 819 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 933 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_has_tag (self, PHOTO_METADATA_IPHOTO_TITLE_TAG); -#line 819 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 933 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp1_) { -#line 5868 "PhotoMetadata.c" +#line 6781 "PhotoMetadata.c" GeeList* _tmp2_ = NULL; -#line 820 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 934 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = photo_metadata_get_string_multiple (self, PHOTO_METADATA_IPHOTO_TITLE_TAG); -#line 820 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 934 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_tmp0_); -#line 820 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 934 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = _tmp2_; -#line 5876 "PhotoMetadata.c" +#line 6789 "PhotoMetadata.c" } else { gchar** _tmp3_ = NULL; gint _tmp3__length1 = 0; GeeList* _tmp4_ = NULL; -#line 821 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 935 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = photo_metadata_STANDARD_TITLE_TAGS; -#line 821 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 935 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3__length1 = photo_metadata_STANDARD_TITLE_TAGS_length1; -#line 821 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 935 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = photo_metadata_get_first_string_multiple (self, _tmp3_, _tmp3__length1); -#line 821 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 935 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_tmp0_); -#line 821 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 935 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = _tmp4_; -#line 5891 "PhotoMetadata.c" +#line 6804 "PhotoMetadata.c" } -#line 819 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 933 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _g_object_ref0 (_tmp0_); -#line 819 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 933 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" titles = _tmp5_; -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = titles; -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp8_ != NULL) { -#line 5901 "PhotoMetadata.c" +#line 6814 "PhotoMetadata.c" GeeList* _tmp9_ = NULL; gint _tmp10_ = 0; gint _tmp11_ = 0; -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = titles; -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = _tmp10_; -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = _tmp11_ > 0; -#line 5913 "PhotoMetadata.c" +#line 6826 "PhotoMetadata.c" } else { -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = FALSE; -#line 5917 "PhotoMetadata.c" +#line 6830 "PhotoMetadata.c" } -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp7_) { -#line 5921 "PhotoMetadata.c" +#line 6834 "PhotoMetadata.c" GeeList* _tmp12_ = NULL; gpointer _tmp13_ = NULL; -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = titles; -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = gee_list_get (_tmp12_, 0); -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp6_); -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = (gchar*) _tmp13_; -#line 5932 "PhotoMetadata.c" +#line 6845 "PhotoMetadata.c" } else { -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp6_); -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = NULL; -#line 5938 "PhotoMetadata.c" +#line 6851 "PhotoMetadata.c" } -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = g_strdup (_tmp6_); -#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" title = _tmp14_; -#line 829 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = title; -#line 829 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp15_ != NULL) { -#line 5948 "PhotoMetadata.c" +#line 6861 "PhotoMetadata.c" const gchar* _tmp16_ = NULL; gchar* _tmp17_ = NULL; -#line 830 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 944 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = title; -#line 830 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 944 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ = string_strip (_tmp16_); -#line 830 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 944 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (title); -#line 830 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 944 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" title = _tmp17_; -#line 5959 "PhotoMetadata.c" +#line 6872 "PhotoMetadata.c" } -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp21_ = title; -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp22_ = is_string_empty (_tmp21_); -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp22_) { -#line 5967 "PhotoMetadata.c" +#line 6880 "PhotoMetadata.c" const gchar* _tmp23_ = NULL; gboolean _tmp24_ = FALSE; -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp23_ = title; -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp24_ = string_contains (_tmp23_, "\n"); -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp20_ = !_tmp24_; -#line 5976 "PhotoMetadata.c" +#line 6889 "PhotoMetadata.c" } else { -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp20_ = FALSE; -#line 5980 "PhotoMetadata.c" +#line 6893 "PhotoMetadata.c" } -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp20_) { -#line 5984 "PhotoMetadata.c" +#line 6897 "PhotoMetadata.c" const gchar* _tmp25_ = NULL; gboolean _tmp26_ = FALSE; -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp25_ = title; -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp26_ = string_contains (_tmp25_, "\r"); -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = !_tmp26_; -#line 5993 "PhotoMetadata.c" +#line 6906 "PhotoMetadata.c" } else { -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = FALSE; -#line 5997 "PhotoMetadata.c" +#line 6910 "PhotoMetadata.c" } -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp19_) { -#line 6001 "PhotoMetadata.c" +#line 6914 "PhotoMetadata.c" const gchar* _tmp27_ = NULL; -#line 834 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 948 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp27_ = title; -#line 834 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 948 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = _tmp27_; -#line 6007 "PhotoMetadata.c" +#line 6920 "PhotoMetadata.c" } else { -#line 834 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 948 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = NULL; -#line 6011 "PhotoMetadata.c" +#line 6924 "PhotoMetadata.c" } -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp28_ = g_strdup (_tmp18_); -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp28_; -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (title); -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp6_); -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (titles); -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_tmp0_); -#line 833 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 6027 "PhotoMetadata.c" +#line 6940 "PhotoMetadata.c" } void photo_metadata_set_title (PhotoMetadata* self, const gchar* title, PhotoMetadataSetOption option) { const gchar* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; -#line 837 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 951 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 838 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 952 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = title; -#line 838 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 952 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = is_string_empty (_tmp0_); -#line 838 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 952 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp1_) { -#line 6042 "PhotoMetadata.c" +#line 6955 "PhotoMetadata.c" gboolean _tmp2_ = FALSE; -#line 839 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 953 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = photo_metadata_has_tag (self, PHOTO_METADATA_IPHOTO_TITLE_TAG); -#line 839 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 953 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp2_) { -#line 6048 "PhotoMetadata.c" +#line 6961 "PhotoMetadata.c" const gchar* _tmp3_ = NULL; -#line 840 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 954 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = title; -#line 840 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 954 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string (self, PHOTO_METADATA_IPHOTO_TITLE_TAG, _tmp3_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 6054 "PhotoMetadata.c" +#line 6967 "PhotoMetadata.c" } else { gchar** _tmp4_ = NULL; gint _tmp4__length1 = 0; const gchar* _tmp5_ = NULL; PhotoMetadataSetOption _tmp6_ = 0; -#line 842 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 956 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = photo_metadata_STANDARD_TITLE_TAGS; -#line 842 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 956 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4__length1 = photo_metadata_STANDARD_TITLE_TAGS_length1; -#line 842 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 956 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = title; -#line 842 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 956 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = option; -#line 842 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 956 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_string (self, _tmp4_, _tmp4__length1, _tmp5_, _tmp6_); -#line 6070 "PhotoMetadata.c" +#line 6983 "PhotoMetadata.c" } } else { gchar** _tmp7_ = NULL; gint _tmp7__length1 = 0; -#line 844 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = photo_metadata_STANDARD_TITLE_TAGS; -#line 844 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7__length1 = photo_metadata_STANDARD_TITLE_TAGS_length1; -#line 844 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tags (self, _tmp7_, _tmp7__length1); -#line 6081 "PhotoMetadata.c" +#line 6994 "PhotoMetadata.c" } } @@ -6090,41 +7003,62 @@ void photo_metadata_set_title (PhotoMetadata* self, const gchar* title, PhotoMet static gchar* photo_metadata_real_get_comment (MediaMetadata* base) { PhotoMetadata * self; gchar* result = NULL; - gchar* _tmp0_ = NULL; -#line 848 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + gchar** _tmp0_ = NULL; + gint _tmp0__length1 = 0; + gchar* _tmp1_ = NULL; +#line 967 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PHOTO_METADATA, PhotoMetadata); -#line 849 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp0_ = photo_metadata_get_string_interpreted (self, "Exif.Photo.UserComment", PREPARE_INPUT_TEXT_OPTIONS_DEFAULT & (~PREPARE_INPUT_TEXT_OPTIONS_STRIP_CRLF)); -#line 849 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - result = _tmp0_; -#line 849 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 968 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp0_ = photo_metadata_COMMENT_TAGS; +#line 968 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp0__length1 = photo_metadata_COMMENT_TAGS_length1; +#line 968 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp1_ = photo_metadata_get_first_string_interpreted (self, _tmp0_, _tmp0__length1); +#line 968 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + result = _tmp1_; +#line 968 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 6098 "PhotoMetadata.c" +#line 7017 "PhotoMetadata.c" } -void photo_metadata_set_comment (PhotoMetadata* self, const gchar* comment) { +void photo_metadata_set_comment (PhotoMetadata* self, const gchar* comment, PhotoMetadataSetOption option) { const gchar* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; -#line 852 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 853 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 973 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = comment; -#line 853 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 973 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = is_string_empty (_tmp0_); -#line 853 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 973 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp1_) { -#line 6113 "PhotoMetadata.c" - const gchar* _tmp2_ = NULL; -#line 854 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp2_ = comment; -#line 854 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_set_string (self, "Exif.Photo.UserComment", _tmp2_, PREPARE_INPUT_TEXT_OPTIONS_DEFAULT & (~PREPARE_INPUT_TEXT_OPTIONS_STRIP_CRLF)); -#line 6119 "PhotoMetadata.c" +#line 7032 "PhotoMetadata.c" + gchar** _tmp2_ = NULL; + gint _tmp2__length1 = 0; + const gchar* _tmp3_ = NULL; + PhotoMetadataSetOption _tmp4_ = 0; +#line 974 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp2_ = photo_metadata_COMMENT_TAGS; +#line 974 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp2__length1 = photo_metadata_COMMENT_TAGS_length1; +#line 974 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp3_ = comment; +#line 974 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp4_ = option; +#line 974 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_set_all_string (self, _tmp2_, _tmp2__length1, _tmp3_, _tmp4_); +#line 7047 "PhotoMetadata.c" } else { -#line 856 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_remove_tag (self, "Exif.Photo.UserComment"); -#line 6123 "PhotoMetadata.c" + gchar** _tmp5_ = NULL; + gint _tmp5__length1 = 0; +#line 976 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp5_ = photo_metadata_COMMENT_TAGS; +#line 976 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp5__length1 = photo_metadata_COMMENT_TAGS_length1; +#line 976 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_remove_tags (self, _tmp5_, _tmp5__length1); +#line 7057 "PhotoMetadata.c" } } @@ -6138,110 +7072,110 @@ GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compa gboolean _tmp23_ = FALSE; GeeSet* _tmp24_ = NULL; GeeSet* _tmp29_ = NULL; -#line 872 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 996 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 873 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 997 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" keywords = NULL; -#line 874 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_KEYWORD_TAGS; -#line 874 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = photo_metadata_KEYWORD_TAGS_length1; -#line 6145 "PhotoMetadata.c" +#line 7079 "PhotoMetadata.c" { gchar** tag_collection = NULL; gint tag_collection_length1 = 0; gint _tag_collection_size_ = 0; gint tag_it = 0; -#line 874 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection = _tmp0_; -#line 874 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag_collection_length1 = _tmp0__length1; -#line 874 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) { -#line 6157 "PhotoMetadata.c" +#line 7091 "PhotoMetadata.c" gchar* _tmp1_ = NULL; gchar* tag = NULL; -#line 874 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup (tag_collection[tag_it]); -#line 874 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" tag = _tmp1_; -#line 6164 "PhotoMetadata.c" +#line 7098 "PhotoMetadata.c" { GeeCollection* values = NULL; const gchar* _tmp2_ = NULL; GeeList* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; GeeCollection* _tmp5_ = NULL; -#line 875 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 999 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = tag; -#line 875 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 999 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = photo_metadata_get_string_multiple (self, _tmp2_); -#line 875 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 999 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" values = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection); -#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = values; -#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp5_ != NULL) { -#line 6181 "PhotoMetadata.c" +#line 7115 "PhotoMetadata.c" GeeCollection* _tmp6_ = NULL; gint _tmp7_ = 0; gint _tmp8_ = 0; -#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = values; -#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = gee_collection_get_size (_tmp6_); -#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = _tmp7_; -#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = _tmp8_ > 0; -#line 6193 "PhotoMetadata.c" +#line 7127 "PhotoMetadata.c" } else { -#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = FALSE; -#line 6197 "PhotoMetadata.c" +#line 7131 "PhotoMetadata.c" } -#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_) { -#line 6201 "PhotoMetadata.c" +#line 7135 "PhotoMetadata.c" GeeSet* _tmp9_ = NULL; -#line 877 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1001 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = keywords; -#line 877 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1001 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp9_ == NULL) { -#line 6207 "PhotoMetadata.c" +#line 7141 "PhotoMetadata.c" GCompareDataFunc _tmp10_ = NULL; void* _tmp10__target = NULL; GDestroyNotify _tmp10__target_destroy_notify = NULL; GeeSet* _tmp11_ = NULL; -#line 878 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = compare_func; -#line 878 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10__target = compare_func_target; -#line 878 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10__target_destroy_notify = compare_func_target_destroy_notify; -#line 878 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target_destroy_notify = NULL; -#line 878 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = photo_metadata_create_string_set (self, _tmp10_, _tmp10__target, _tmp10__target_destroy_notify); -#line 878 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (keywords); -#line 878 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" keywords = _tmp11_; -#line 6226 "PhotoMetadata.c" +#line 7160 "PhotoMetadata.c" } { GeeIterator* _current_value_it = NULL; GeeCollection* _tmp12_ = NULL; GeeIterator* _tmp13_ = NULL; -#line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = values; -#line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _current_value_it = _tmp13_; -#line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 6240 "PhotoMetadata.c" +#line 7174 "PhotoMetadata.c" GeeIterator* _tmp14_ = NULL; gboolean _tmp15_ = FALSE; gchar* current_value = NULL; @@ -6251,111 +7185,111 @@ GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compa const gchar* _tmp19_ = NULL; gchar* _tmp20_ = NULL; gchar* _tmp21_ = NULL; -#line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = _current_value_it; -#line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = gee_iterator_next (_tmp14_); -#line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp15_) { -#line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 6258 "PhotoMetadata.c" +#line 7192 "PhotoMetadata.c" } -#line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = _current_value_it; -#line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ = gee_iterator_get (_tmp16_); -#line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" current_value = (gchar*) _tmp17_; -#line 881 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = keywords; -#line 881 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = current_value; -#line 881 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp20_ = hierarchical_tag_utilities_make_flat_tag_safe (_tmp19_); -#line 881 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp21_ = _tmp20_; -#line 881 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection), _tmp21_); -#line 881 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp21_); -#line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (current_value); -#line 6280 "PhotoMetadata.c" +#line 7214 "PhotoMetadata.c" } -#line 880 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_current_value_it); -#line 6284 "PhotoMetadata.c" +#line 7218 "PhotoMetadata.c" } } -#line 874 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (values); -#line 874 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (tag); -#line 6291 "PhotoMetadata.c" +#line 7225 "PhotoMetadata.c" } } } -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp24_ = keywords; -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp24_ != NULL) { -#line 6299 "PhotoMetadata.c" +#line 7233 "PhotoMetadata.c" GeeSet* _tmp25_ = NULL; gint _tmp26_ = 0; gint _tmp27_ = 0; -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp25_ = keywords; -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp26_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp27_ = _tmp26_; -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp23_ = _tmp27_ > 0; -#line 6311 "PhotoMetadata.c" +#line 7245 "PhotoMetadata.c" } else { -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp23_ = FALSE; -#line 6315 "PhotoMetadata.c" +#line 7249 "PhotoMetadata.c" } -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp23_) { -#line 6319 "PhotoMetadata.c" +#line 7253 "PhotoMetadata.c" GeeSet* _tmp28_ = NULL; -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp28_ = keywords; -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp22_ = _tmp28_; -#line 6325 "PhotoMetadata.c" +#line 7259 "PhotoMetadata.c" } else { -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp22_ = NULL; -#line 6329 "PhotoMetadata.c" +#line 7263 "PhotoMetadata.c" } -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp29_ = _g_object_ref0 (_tmp22_); -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp29_; -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (keywords); -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" (compare_func_target_destroy_notify == NULL) ? NULL : (compare_func_target_destroy_notify (compare_func_target), NULL); -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func = NULL; -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target = NULL; -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" compare_func_target_destroy_notify = NULL; -#line 885 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 6347 "PhotoMetadata.c" +#line 7281 "PhotoMetadata.c" } static gpointer _hierarchical_keyword_field_ref0 (gpointer self) { -#line 889 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self ? hierarchical_keyword_field_ref (self) : NULL; -#line 6354 "PhotoMetadata.c" +#line 7288 "PhotoMetadata.c" } @@ -6368,7 +7302,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_return_val_if_fail (old != NULL, NULL); #line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (replacement != NULL, NULL); -#line 6367 "PhotoMetadata.c" +#line 7301 "PhotoMetadata.c" { GRegex* regex = NULL; const gchar* _tmp0_ = NULL; @@ -6399,7 +7333,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 6398 "PhotoMetadata.c" +#line 7332 "PhotoMetadata.c" goto __catch25_g_regex_error; } #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -6408,7 +7342,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_clear_error (&_inner_error_); #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; -#line 6407 "PhotoMetadata.c" +#line 7341 "PhotoMetadata.c" } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp6_ = regex; @@ -6424,7 +7358,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_regex_unref0 (regex); #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 6423 "PhotoMetadata.c" +#line 7357 "PhotoMetadata.c" goto __catch25_g_regex_error; } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -6435,7 +7369,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_clear_error (&_inner_error_); #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; -#line 6434 "PhotoMetadata.c" +#line 7368 "PhotoMetadata.c" } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = _tmp5_; @@ -6449,7 +7383,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_regex_unref0 (regex); #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 6448 "PhotoMetadata.c" +#line 7382 "PhotoMetadata.c" } goto __finally25; __catch25_g_regex_error: @@ -6463,7 +7397,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_assert_not_reached (); #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_error_free0 (e); -#line 6462 "PhotoMetadata.c" +#line 7396 "PhotoMetadata.c" } __finally25: #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -6474,7 +7408,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_clear_error (&_inner_error_); #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return NULL; -#line 6473 "PhotoMetadata.c" +#line 7407 "PhotoMetadata.c" } } @@ -6498,7 +7432,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { _tmp3_ = end; #line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { -#line 6497 "PhotoMetadata.c" +#line 7431 "PhotoMetadata.c" glong _tmp4_ = 0L; #line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp4_ = maxlen; @@ -6506,7 +7440,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { result = _tmp4_; #line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 6505 "PhotoMetadata.c" +#line 7439 "PhotoMetadata.c" } else { gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; @@ -6518,7 +7452,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { result = (glong) (_tmp5_ - _tmp6_); #line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 6517 "PhotoMetadata.c" +#line 7451 "PhotoMetadata.c" } } @@ -6542,21 +7476,21 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp1_ = offset; #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { -#line 6541 "PhotoMetadata.c" +#line 7475 "PhotoMetadata.c" glong _tmp2_ = 0L; #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp2_ = len; #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); -#line 6547 "PhotoMetadata.c" +#line 7481 "PhotoMetadata.c" } else { #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp0_ = FALSE; -#line 6551 "PhotoMetadata.c" +#line 7485 "PhotoMetadata.c" } #line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp0_) { -#line 6555 "PhotoMetadata.c" +#line 7489 "PhotoMetadata.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; glong _tmp5_ = 0L; @@ -6568,7 +7502,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); #line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = _tmp5_; -#line 6567 "PhotoMetadata.c" +#line 7501 "PhotoMetadata.c" } else { gint _tmp6_ = 0; gint _tmp7_ = 0; @@ -6578,13 +7512,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp7_ = _tmp6_; #line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; -#line 6577 "PhotoMetadata.c" +#line 7511 "PhotoMetadata.c" } #line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = offset; #line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { -#line 6583 "PhotoMetadata.c" +#line 7517 "PhotoMetadata.c" glong _tmp9_ = 0L; glong _tmp10_ = 0L; glong _tmp11_ = 0L; @@ -6598,7 +7532,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp11_ = offset; #line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); -#line 6597 "PhotoMetadata.c" +#line 7531 "PhotoMetadata.c" } else { glong _tmp12_ = 0L; glong _tmp13_ = 0L; @@ -6608,13 +7542,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp13_ = string_length; #line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); -#line 6607 "PhotoMetadata.c" +#line 7541 "PhotoMetadata.c" } #line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp14_ = len; #line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { -#line 6613 "PhotoMetadata.c" +#line 7547 "PhotoMetadata.c" glong _tmp15_ = 0L; glong _tmp16_ = 0L; #line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -6623,7 +7557,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp16_ = offset; #line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; -#line 6622 "PhotoMetadata.c" +#line 7556 "PhotoMetadata.c" } #line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp17_ = offset; @@ -6643,7 +7577,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { result = _tmp22_; #line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 6642 "PhotoMetadata.c" +#line 7576 "PhotoMetadata.c" } @@ -6653,81 +7587,81 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se HierarchicalTagIndex* _tmp4_ = NULL; HierarchicalKeywordField** _tmp5_ = NULL; gint _tmp5__length1 = 0; -#line 888 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1012 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 888 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1012 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail ((index == NULL) || IS_HIERARCHICAL_TAG_INDEX (index)); -#line 889 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_HIERARCHICAL_KEYWORD_TAGS; -#line 889 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = photo_metadata_HIERARCHICAL_KEYWORD_TAGS_length1; -#line 6660 "PhotoMetadata.c" +#line 7594 "PhotoMetadata.c" { HierarchicalKeywordField** current_field_collection = NULL; gint current_field_collection_length1 = 0; gint _current_field_collection_size_ = 0; gint current_field_it = 0; -#line 889 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" current_field_collection = _tmp0_; -#line 889 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" current_field_collection_length1 = _tmp0__length1; -#line 889 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (current_field_it = 0; current_field_it < _tmp0__length1; current_field_it = current_field_it + 1) { -#line 6672 "PhotoMetadata.c" +#line 7606 "PhotoMetadata.c" HierarchicalKeywordField* _tmp1_ = NULL; HierarchicalKeywordField* current_field = NULL; -#line 889 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = _hierarchical_keyword_field_ref0 (current_field_collection[current_field_it]); -#line 889 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" current_field = _tmp1_; -#line 6679 "PhotoMetadata.c" +#line 7613 "PhotoMetadata.c" { HierarchicalKeywordField* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; -#line 890 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = current_field; -#line 890 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp2_->field_name; -#line 890 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tag (self, _tmp3_); -#line 889 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _hierarchical_keyword_field_unref0 (current_field); -#line 6691 "PhotoMetadata.c" +#line 7625 "PhotoMetadata.c" } } } -#line 892 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1016 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = index; -#line 892 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1016 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_ == NULL) { -#line 893 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1017 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return; -#line 6701 "PhotoMetadata.c" +#line 7635 "PhotoMetadata.c" } -#line 895 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = photo_metadata_HIERARCHICAL_KEYWORD_TAGS; -#line 895 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5__length1 = photo_metadata_HIERARCHICAL_KEYWORD_TAGS_length1; -#line 6707 "PhotoMetadata.c" +#line 7641 "PhotoMetadata.c" { HierarchicalKeywordField** current_field_collection = NULL; gint current_field_collection_length1 = 0; gint _current_field_collection_size_ = 0; gint current_field_it = 0; -#line 895 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" current_field_collection = _tmp5_; -#line 895 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" current_field_collection_length1 = _tmp5__length1; -#line 895 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (current_field_it = 0; current_field_it < _tmp5__length1; current_field_it = current_field_it + 1) { -#line 6719 "PhotoMetadata.c" +#line 7653 "PhotoMetadata.c" HierarchicalKeywordField* _tmp6_ = NULL; HierarchicalKeywordField* current_field = NULL; -#line 895 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = _hierarchical_keyword_field_ref0 (current_field_collection[current_field_it]); -#line 895 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" current_field = _tmp6_; -#line 6726 "PhotoMetadata.c" +#line 7660 "PhotoMetadata.c" { HierarchicalKeywordField* _tmp7_ = NULL; gboolean _tmp8_ = FALSE; @@ -6736,23 +7670,23 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se HierarchicalKeywordField* _tmp29_ = NULL; const gchar* _tmp30_ = NULL; GeeSet* _tmp31_ = NULL; -#line 896 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1020 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = current_field; -#line 896 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1020 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = _tmp7_->is_writeable; -#line 896 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1020 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp8_) { -#line 897 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1021 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _hierarchical_keyword_field_unref0 (current_field); -#line 897 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1021 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" continue; -#line 6745 "PhotoMetadata.c" +#line 7679 "PhotoMetadata.c" } -#line 899 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1023 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = gee_tree_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL); -#line 899 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1023 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" writeable_set = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_SET, GeeSet); -#line 6751 "PhotoMetadata.c" +#line 7685 "PhotoMetadata.c" { GeeIterator* _current_path_it = NULL; HierarchicalTagIndex* _tmp10_ = NULL; @@ -6760,23 +7694,23 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se GeeCollection* _tmp12_ = NULL; GeeIterator* _tmp13_ = NULL; GeeIterator* _tmp14_ = NULL; -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = index; -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = hierarchical_tag_index_get_all_paths (_tmp10_); -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = _tmp11_; -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = _tmp13_; -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_tmp12_); -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _current_path_it = _tmp14_; -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 6775 "PhotoMetadata.c" +#line 7709 "PhotoMetadata.c" GeeIterator* _tmp15_ = NULL; gboolean _tmp16_ = FALSE; gchar* current_path = NULL; @@ -6791,80 +7725,80 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se gboolean _tmp24_ = FALSE; GeeSet* _tmp27_ = NULL; const gchar* _tmp28_ = NULL; -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = _current_path_it; -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = gee_iterator_next (_tmp15_); -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp16_) { -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 6798 "PhotoMetadata.c" +#line 7732 "PhotoMetadata.c" } -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ = _current_path_it; -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = gee_iterator_get (_tmp17_); -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" current_path = (gchar*) _tmp18_; -#line 902 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1026 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = current_path; -#line 902 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1026 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp20_ = current_field; -#line 902 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1026 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp21_ = _tmp20_->path_separator; -#line 902 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1026 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp22_ = string_replace (_tmp19_, TAG_PATH_SEPARATOR_STRING, _tmp21_); -#line 902 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1026 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" writeable_path = _tmp22_; -#line 904 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1028 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp23_ = current_field; -#line 904 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1028 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp24_ = _tmp23_->wants_leading_separator; -#line 904 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1028 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp24_) { -#line 6822 "PhotoMetadata.c" +#line 7756 "PhotoMetadata.c" const gchar* _tmp25_ = NULL; gchar* _tmp26_ = NULL; -#line 905 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1029 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp25_ = writeable_path; -#line 905 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1029 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp26_ = string_substring (_tmp25_, (glong) 1, (glong) -1); -#line 905 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1029 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (writeable_path); -#line 905 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1029 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" writeable_path = _tmp26_; -#line 6833 "PhotoMetadata.c" +#line 7767 "PhotoMetadata.c" } -#line 907 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp27_ = writeable_set; -#line 907 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp28_ = writeable_path; -#line 907 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, GEE_TYPE_COLLECTION, GeeCollection), _tmp28_); -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (writeable_path); -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (current_path); -#line 6845 "PhotoMetadata.c" +#line 7779 "PhotoMetadata.c" } -#line 901 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_current_path_it); -#line 6849 "PhotoMetadata.c" +#line 7783 "PhotoMetadata.c" } -#line 910 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1034 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp29_ = current_field; -#line 910 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1034 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp30_ = _tmp29_->field_name; -#line 910 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1034 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp31_ = writeable_set; -#line 910 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1034 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string_multiple (self, _tmp30_, G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 895 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (writeable_set); -#line 895 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _hierarchical_keyword_field_unref0 (current_field); -#line 6863 "PhotoMetadata.c" +#line 7797 "PhotoMetadata.c" } } } @@ -6878,23 +7812,23 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, GeeTreeSet* _tmp1_ = NULL; GeeCollection* _tmp2_ = NULL; GeeCollection* _tmp28_ = NULL; -#line 914 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1038 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 914 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1038 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail ((keywords == NULL) || GEE_IS_COLLECTION (keywords)); -#line 915 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1039 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = hierarchical_tag_index_new (); -#line 915 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1039 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" htag_index = _tmp0_; -#line 916 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1040 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = gee_tree_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL); -#line 916 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1040 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" flat_keywords = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_SET, GeeSet); -#line 918 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1042 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = keywords; -#line 918 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1042 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp2_ != NULL) { -#line 6893 "PhotoMetadata.c" +#line 7827 "PhotoMetadata.c" GeeSet* _tmp24_ = NULL; HierarchicalTagIndex* _tmp25_ = NULL; GeeCollection* _tmp26_ = NULL; @@ -6903,15 +7837,15 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, GeeIterator* _keyword_it = NULL; GeeCollection* _tmp3_ = NULL; GeeIterator* _tmp4_ = NULL; -#line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = keywords; -#line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _keyword_it = _tmp4_; -#line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 6910 "PhotoMetadata.c" +#line 7844 "PhotoMetadata.c" GeeIterator* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; gchar* keyword = NULL; @@ -6919,52 +7853,52 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, gpointer _tmp8_ = NULL; const gchar* _tmp9_ = NULL; gboolean _tmp10_ = FALSE; -#line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _keyword_it; -#line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = gee_iterator_next (_tmp5_); -#line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp6_) { -#line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 6926 "PhotoMetadata.c" +#line 7860 "PhotoMetadata.c" } -#line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = _keyword_it; -#line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = gee_iterator_get (_tmp7_); -#line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" keyword = (gchar*) _tmp8_; -#line 920 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1044 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = keyword; -#line 920 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1044 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = g_str_has_prefix (_tmp9_, TAG_PATH_SEPARATOR_STRING); -#line 920 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1044 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp10_) { -#line 6940 "PhotoMetadata.c" +#line 7874 "PhotoMetadata.c" GeeCollection* path_components = NULL; const gchar* _tmp11_ = NULL; GeeList* _tmp12_ = NULL; -#line 921 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1045 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = keyword; -#line 921 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1045 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = hierarchical_tag_utilities_enumerate_path_components (_tmp11_); -#line 921 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1045 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" path_components = G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_COLLECTION, GeeCollection); -#line 6950 "PhotoMetadata.c" +#line 7884 "PhotoMetadata.c" { GeeIterator* _component_it = NULL; GeeCollection* _tmp13_ = NULL; GeeIterator* _tmp14_ = NULL; -#line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = path_components; -#line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _component_it = _tmp14_; -#line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 6963 "PhotoMetadata.c" +#line 7897 "PhotoMetadata.c" GeeIterator* _tmp15_ = NULL; gboolean _tmp16_ = FALSE; gchar* component = NULL; @@ -6973,117 +7907,117 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords, HierarchicalTagIndex* _tmp19_ = NULL; const gchar* _tmp20_ = NULL; const gchar* _tmp21_ = NULL; -#line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = _component_it; -#line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = gee_iterator_next (_tmp15_); -#line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp16_) { -#line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 6980 "PhotoMetadata.c" +#line 7914 "PhotoMetadata.c" } -#line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ = _component_it; -#line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = gee_iterator_get (_tmp17_); -#line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" component = (gchar*) _tmp18_; -#line 924 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = htag_index; -#line 924 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp20_ = component; -#line 924 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp21_ = keyword; -#line 924 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" hierarchical_tag_index_add_path (_tmp19_, _tmp20_, _tmp21_); -#line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (component); -#line 6998 "PhotoMetadata.c" +#line 7932 "PhotoMetadata.c" } -#line 923 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_component_it); -#line 7002 "PhotoMetadata.c" +#line 7936 "PhotoMetadata.c" } -#line 920 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1044 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (path_components); -#line 7006 "PhotoMetadata.c" +#line 7940 "PhotoMetadata.c" } else { GeeSet* _tmp22_ = NULL; const gchar* _tmp23_ = NULL; -#line 926 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp22_ = flat_keywords; -#line 926 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp23_ = keyword; -#line 926 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GEE_TYPE_COLLECTION, GeeCollection), _tmp23_); -#line 7016 "PhotoMetadata.c" +#line 7950 "PhotoMetadata.c" } -#line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (keyword); -#line 7020 "PhotoMetadata.c" +#line 7954 "PhotoMetadata.c" } -#line 919 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_keyword_it); -#line 7024 "PhotoMetadata.c" +#line 7958 "PhotoMetadata.c" } -#line 930 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1054 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp24_ = flat_keywords; -#line 930 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1054 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp25_ = htag_index; -#line 930 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1054 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp26_ = hierarchical_tag_index_get_all_tags (_tmp25_); -#line 930 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1054 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp27_ = _tmp26_; -#line 930 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1054 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gee_collection_add_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GEE_TYPE_COLLECTION, GeeCollection), _tmp27_); -#line 930 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1054 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_tmp27_); -#line 7038 "PhotoMetadata.c" +#line 7972 "PhotoMetadata.c" } -#line 933 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1057 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp28_ = keywords; -#line 933 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1057 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp28_ != NULL) { -#line 7044 "PhotoMetadata.c" +#line 7978 "PhotoMetadata.c" gchar** _tmp29_ = NULL; gint _tmp29__length1 = 0; GeeSet* _tmp30_ = NULL; PhotoMetadataSetOption _tmp31_ = 0; HierarchicalTagIndex* _tmp32_ = NULL; -#line 934 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp29_ = photo_metadata_KEYWORD_TAGS; -#line 934 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp29__length1 = photo_metadata_KEYWORD_TAGS_length1; -#line 934 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp30_ = flat_keywords; -#line 934 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp31_ = option; -#line 934 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_all_string_multiple (self, _tmp29_, _tmp29__length1, G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, GEE_TYPE_COLLECTION, GeeCollection), _tmp31_); -#line 935 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1059 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp32_ = htag_index; -#line 935 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1059 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_internal_set_hierarchical_keywords (self, _tmp32_); -#line 7064 "PhotoMetadata.c" +#line 7998 "PhotoMetadata.c" } else { gchar** _tmp33_ = NULL; gint _tmp33__length1 = 0; -#line 937 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp33_ = photo_metadata_KEYWORD_TAGS; -#line 937 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp33__length1 = photo_metadata_KEYWORD_TAGS_length1; -#line 937 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tags (self, _tmp33_, _tmp33__length1); -#line 938 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1062 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_internal_set_hierarchical_keywords (self, NULL); -#line 7076 "PhotoMetadata.c" +#line 8010 "PhotoMetadata.c" } -#line 914 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1038 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (flat_keywords); -#line 914 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1038 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _hierarchical_tag_index_unref0 (htag_index); -#line 7082 "PhotoMetadata.c" +#line 8016 "PhotoMetadata.c" } @@ -7091,32 +8025,32 @@ gboolean photo_metadata_has_hierarchical_keywords (PhotoMetadata* self) { gboolean result = FALSE; HierarchicalKeywordField** _tmp0_ = NULL; gint _tmp0__length1 = 0; -#line 942 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1066 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_HIERARCHICAL_KEYWORD_TAGS; -#line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = photo_metadata_HIERARCHICAL_KEYWORD_TAGS_length1; -#line 7096 "PhotoMetadata.c" +#line 8030 "PhotoMetadata.c" { HierarchicalKeywordField** field_collection = NULL; gint field_collection_length1 = 0; gint _field_collection_size_ = 0; gint field_it = 0; -#line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" field_collection = _tmp0_; -#line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" field_collection_length1 = _tmp0__length1; -#line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (field_it = 0; field_it < _tmp0__length1; field_it = field_it + 1) { -#line 7108 "PhotoMetadata.c" +#line 8042 "PhotoMetadata.c" HierarchicalKeywordField* _tmp1_ = NULL; HierarchicalKeywordField* field = NULL; -#line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = _hierarchical_keyword_field_ref0 (field_collection[field_it]); -#line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" field = _tmp1_; -#line 7115 "PhotoMetadata.c" +#line 8049 "PhotoMetadata.c" { GeeCollection* values = NULL; HierarchicalKeywordField* _tmp2_ = NULL; @@ -7124,61 +8058,61 @@ gboolean photo_metadata_has_hierarchical_keywords (PhotoMetadata* self) { GeeList* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; GeeCollection* _tmp6_ = NULL; -#line 944 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1068 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = field; -#line 944 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1068 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp2_->field_name; -#line 944 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1068 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = photo_metadata_get_string_multiple (self, _tmp3_); -#line 944 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1068 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" values = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection); -#line 946 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = values; -#line 946 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp6_ != NULL) { -#line 7135 "PhotoMetadata.c" +#line 8069 "PhotoMetadata.c" GeeCollection* _tmp7_ = NULL; gint _tmp8_ = 0; gint _tmp9_ = 0; -#line 946 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = values; -#line 946 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = gee_collection_get_size (_tmp7_); -#line 946 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = _tmp8_; -#line 946 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _tmp9_ > 0; -#line 7147 "PhotoMetadata.c" +#line 8081 "PhotoMetadata.c" } else { -#line 946 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = FALSE; -#line 7151 "PhotoMetadata.c" +#line 8085 "PhotoMetadata.c" } -#line 946 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp5_) { -#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1071 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = TRUE; -#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1071 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (values); -#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1071 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _hierarchical_keyword_field_unref0 (field); -#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1071 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7163 "PhotoMetadata.c" +#line 8097 "PhotoMetadata.c" } -#line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (values); -#line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _hierarchical_keyword_field_unref0 (field); -#line 7169 "PhotoMetadata.c" +#line 8103 "PhotoMetadata.c" } } } -#line 950 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1074 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = FALSE; -#line 950 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1074 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7177 "PhotoMetadata.c" +#line 8111 "PhotoMetadata.c" } @@ -7189,40 +8123,41 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) { GeeSet* _tmp1_ = NULL; HierarchicalKeywordField** _tmp2_ = NULL; gint _tmp2__length1 = 0; -#line 953 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + GError * _inner_error_ = NULL; +#line 1077 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 954 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1078 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_has_hierarchical_keywords (self); -#line 954 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1078 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_assert (_tmp0_, "has_hierarchical_keywords()"); -#line 956 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1080 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_create_string_set (self, NULL, NULL, NULL); -#line 956 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1080 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" h_keywords = _tmp1_; -#line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = photo_metadata_HIERARCHICAL_KEYWORD_TAGS; -#line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2__length1 = photo_metadata_HIERARCHICAL_KEYWORD_TAGS_length1; -#line 7202 "PhotoMetadata.c" +#line 8137 "PhotoMetadata.c" { HierarchicalKeywordField** field_collection = NULL; gint field_collection_length1 = 0; gint _field_collection_size_ = 0; gint field_it = 0; -#line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" field_collection = _tmp2_; -#line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" field_collection_length1 = _tmp2__length1; -#line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" for (field_it = 0; field_it < _tmp2__length1; field_it = field_it + 1) { -#line 7214 "PhotoMetadata.c" +#line 8149 "PhotoMetadata.c" HierarchicalKeywordField* _tmp3_ = NULL; HierarchicalKeywordField* field = NULL; -#line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _hierarchical_keyword_field_ref0 (field_collection[field_it]); -#line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" field = _tmp3_; -#line 7221 "PhotoMetadata.c" +#line 8156 "PhotoMetadata.c" { GeeCollection* values = NULL; HierarchicalKeywordField* _tmp4_ = NULL; @@ -7230,133 +8165,287 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) { GeeList* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; GeeCollection* _tmp8_ = NULL; -#line 959 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + GeeArrayList* transformed_values = NULL; + GeeArrayList* _tmp12_ = NULL; +#line 1083 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = field; -#line 959 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1083 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _tmp4_->field_name; -#line 959 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1083 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = photo_metadata_get_string_multiple (self, _tmp5_); -#line 959 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1083 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" values = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection); -#line 961 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = values; -#line 961 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp8_ == NULL) { -#line 961 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = TRUE; -#line 7243 "PhotoMetadata.c" +#line 8180 "PhotoMetadata.c" } else { GeeCollection* _tmp9_ = NULL; gint _tmp10_ = 0; gint _tmp11_ = 0; -#line 961 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = values; -#line 961 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = gee_collection_get_size (_tmp9_); -#line 961 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = _tmp10_; -#line 961 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = _tmp11_ < 1; -#line 7256 "PhotoMetadata.c" +#line 8193 "PhotoMetadata.c" } -#line 961 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp7_) { -#line 962 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1086 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (values); -#line 962 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1086 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _hierarchical_keyword_field_unref0 (field); -#line 962 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1086 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" continue; -#line 7266 "PhotoMetadata.c" +#line 8203 "PhotoMetadata.c" } +#line 1088 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp12_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL); +#line 1088 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + transformed_values = _tmp12_; +#line 8209 "PhotoMetadata.c" { GeeIterator* _current_value_it = NULL; - GeeCollection* _tmp12_ = NULL; - GeeIterator* _tmp13_ = NULL; -#line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp12_ = values; -#line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp13_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _current_value_it = _tmp13_; -#line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + GeeCollection* _tmp13_ = NULL; + GeeIterator* _tmp14_ = NULL; +#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp13_ = values; +#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp14_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_ITERABLE, GeeIterable)); +#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _current_value_it = _tmp14_; +#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 7280 "PhotoMetadata.c" - GeeIterator* _tmp14_ = NULL; - gboolean _tmp15_ = FALSE; +#line 8222 "PhotoMetadata.c" + GeeIterator* _tmp15_ = NULL; + gboolean _tmp16_ = FALSE; + gchar* current_value = NULL; + GeeIterator* _tmp17_ = NULL; + gpointer _tmp18_ = NULL; +#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp15_ = _current_value_it; +#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp16_ = gee_iterator_next (_tmp15_); +#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (!_tmp16_) { +#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + break; +#line 8236 "PhotoMetadata.c" + } +#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp17_ = _current_value_it; +#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp18_ = gee_iterator_get (_tmp17_); +#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + current_value = (gchar*) _tmp18_; +#line 8244 "PhotoMetadata.c" + { + GeeList* transformed = NULL; + HierarchicalKeywordField* _tmp19_ = NULL; + KeywordTransformer* _tmp20_ = NULL; + const gchar* _tmp21_ = NULL; + GeeList* _tmp22_ = NULL; + GeeArrayList* _tmp23_ = NULL; + GeeList* _tmp24_ = NULL; +#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp19_ = field; +#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp20_ = _tmp19_->transformer; +#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp21_ = current_value; +#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp22_ = keyword_transformer_transform (_tmp20_, _tmp21_, &_inner_error_); +#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + transformed = _tmp22_; +#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 8265 "PhotoMetadata.c" + goto __catch26_g_error; + } +#line 1092 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp23_ = transformed_values; +#line 1092 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp24_ = transformed; +#line 1092 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + gee_array_list_add_all (_tmp23_, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GEE_TYPE_COLLECTION, GeeCollection)); +#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_object_unref0 (transformed); +#line 8276 "PhotoMetadata.c" + } + goto __finally26; + __catch26_g_error: + { + GError* _error_ = NULL; + const gchar* _tmp25_ = NULL; + GError* _tmp26_ = NULL; + const gchar* _tmp27_ = NULL; +#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _error_ = _inner_error_; +#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _inner_error_ = NULL; +#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp25_ = current_value; +#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp26_ = _error_; +#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp27_ = _tmp26_->message; +#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_critical ("PhotoMetadata.vala:1094: Failed to transform tag value %s: %s", _tmp25_, _tmp27_); +#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_error_free0 (_error_); +#line 8299 "PhotoMetadata.c" + } + __finally26: +#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_free0 (current_value); +#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_object_unref0 (_current_value_it); +#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_object_unref0 (transformed_values); +#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_object_unref0 (values); +#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _hierarchical_keyword_field_unref0 (field); +#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_object_unref0 (h_keywords); +#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + g_clear_error (&_inner_error_); +#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + return NULL; +#line 8322 "PhotoMetadata.c" + } +#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_free0 (current_value); +#line 8326 "PhotoMetadata.c" + } +#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_object_unref0 (_current_value_it); +#line 8330 "PhotoMetadata.c" + } + { + GeeArrayList* _current_value_list = NULL; + GeeArrayList* _tmp28_ = NULL; + GeeArrayList* _tmp29_ = NULL; + gint _current_value_size = 0; + GeeArrayList* _tmp30_ = NULL; + gint _tmp31_ = 0; + gint _tmp32_ = 0; + gint _current_value_index = 0; +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp28_ = transformed_values; +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp29_ = _g_object_ref0 (_tmp28_); +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _current_value_list = _tmp29_; +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp30_ = _current_value_list; +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp31_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, GEE_TYPE_COLLECTION, GeeCollection)); +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp32_ = _tmp31_; +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _current_value_size = _tmp32_; +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _current_value_index = -1; +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + while (TRUE) { +#line 8359 "PhotoMetadata.c" + gint _tmp33_ = 0; + gint _tmp34_ = 0; + gint _tmp35_ = 0; gchar* current_value = NULL; - GeeIterator* _tmp16_ = NULL; - gpointer _tmp17_ = NULL; + GeeArrayList* _tmp36_ = NULL; + gint _tmp37_ = 0; + gpointer _tmp38_ = NULL; gchar* canonicalized = NULL; - const gchar* _tmp18_ = NULL; - HierarchicalKeywordField* _tmp19_ = NULL; - const gchar* _tmp20_ = NULL; - gchar* _tmp21_ = NULL; - const gchar* _tmp22_ = NULL; -#line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp14_ = _current_value_it; -#line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp15_ = gee_iterator_next (_tmp14_); -#line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - if (!_tmp15_) { -#line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + const gchar* _tmp39_ = NULL; + HierarchicalKeywordField* _tmp40_ = NULL; + const gchar* _tmp41_ = NULL; + gchar* _tmp42_ = NULL; + const gchar* _tmp43_ = NULL; +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp33_ = _current_value_index; +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _current_value_index = _tmp33_ + 1; +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp34_ = _current_value_index; +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp35_ = _current_value_size; +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (!(_tmp34_ < _tmp35_)) { +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 7300 "PhotoMetadata.c" +#line 8385 "PhotoMetadata.c" } -#line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp16_ = _current_value_it; -#line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp17_ = gee_iterator_get (_tmp16_); -#line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - current_value = (gchar*) _tmp17_; -#line 965 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp18_ = current_value; -#line 965 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp19_ = field; -#line 965 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp20_ = _tmp19_->path_separator; -#line 965 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp21_ = hierarchical_tag_utilities_canonicalize (_tmp18_, _tmp20_); -#line 965 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - canonicalized = _tmp21_; -#line 968 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp22_ = canonicalized; -#line 968 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - if (_tmp22_ != NULL) { -#line 7322 "PhotoMetadata.c" - GeeSet* _tmp23_ = NULL; - const gchar* _tmp24_ = NULL; -#line 969 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp23_ = h_keywords; -#line 969 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp24_ = canonicalized; -#line 969 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection), _tmp24_); -#line 7331 "PhotoMetadata.c" +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp36_ = _current_value_list; +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp37_ = _current_value_index; +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp38_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp37_); +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + current_value = (gchar*) _tmp38_; +#line 1101 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp39_ = current_value; +#line 1101 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp40_ = field; +#line 1101 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp41_ = _tmp40_->path_separator; +#line 1101 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp42_ = hierarchical_tag_utilities_canonicalize (_tmp39_, _tmp41_); +#line 1101 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + canonicalized = _tmp42_; +#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp43_ = canonicalized; +#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + if (_tmp43_ != NULL) { +#line 8409 "PhotoMetadata.c" + GeeSet* _tmp44_ = NULL; + const gchar* _tmp45_ = NULL; +#line 1106 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp44_ = h_keywords; +#line 1106 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp45_ = canonicalized; +#line 1106 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, GEE_TYPE_COLLECTION, GeeCollection), _tmp45_); +#line 8418 "PhotoMetadata.c" } -#line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (canonicalized); -#line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (current_value); -#line 7337 "PhotoMetadata.c" +#line 8424 "PhotoMetadata.c" } -#line 964 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _g_object_unref0 (_current_value_it); -#line 7341 "PhotoMetadata.c" +#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_object_unref0 (_current_value_list); +#line 8428 "PhotoMetadata.c" } -#line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _g_object_unref0 (transformed_values); +#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (values); -#line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _hierarchical_keyword_field_unref0 (field); -#line 7347 "PhotoMetadata.c" +#line 8436 "PhotoMetadata.c" } } } -#line 973 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1110 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = h_keywords; -#line 973 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1110 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7355 "PhotoMetadata.c" +#line 8444 "PhotoMetadata.c" } @@ -7364,17 +8453,17 @@ gboolean photo_metadata_has_orientation (PhotoMetadata* self) { gboolean result = FALSE; GExiv2Metadata* _tmp0_ = NULL; GExiv2Orientation _tmp1_ = 0; -#line 976 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1113 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 977 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 977 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = gexiv2_metadata_get_orientation (_tmp0_); -#line 977 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp1_ == GEXIV2_ORIENTATION_UNSPECIFIED; -#line 977 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7373 "PhotoMetadata.c" +#line 8462 "PhotoMetadata.c" } @@ -7386,58 +8475,58 @@ Orientation photo_metadata_get_orientation (PhotoMetadata* self) { gboolean _tmp2_ = FALSE; gboolean _tmp3_ = FALSE; GExiv2Orientation _tmp4_ = 0; -#line 981 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1118 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), 0); -#line 984 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1121 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 984 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1121 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = gexiv2_metadata_get_orientation (_tmp0_); -#line 984 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1121 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" orientation = _tmp1_; -#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = orientation; -#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_ == GEXIV2_ORIENTATION_UNSPECIFIED) { -#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = TRUE; -#line 7399 "PhotoMetadata.c" +#line 8488 "PhotoMetadata.c" } else { GExiv2Orientation _tmp5_ = 0; -#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = orientation; -#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp5_ < ORIENTATION_MIN; -#line 7406 "PhotoMetadata.c" +#line 8495 "PhotoMetadata.c" } -#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp3_) { -#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = TRUE; -#line 7412 "PhotoMetadata.c" +#line 8501 "PhotoMetadata.c" } else { GExiv2Orientation _tmp6_ = 0; -#line 986 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = orientation; -#line 986 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = _tmp6_ > ORIENTATION_MAX; -#line 7419 "PhotoMetadata.c" +#line 8508 "PhotoMetadata.c" } -#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp2_) { -#line 987 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1124 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = ORIENTATION_TOP_LEFT; -#line 987 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1124 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7427 "PhotoMetadata.c" +#line 8516 "PhotoMetadata.c" } else { GExiv2Orientation _tmp7_ = 0; -#line 989 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1126 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = orientation; -#line 989 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1126 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = (Orientation) _tmp7_; -#line 989 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1126 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7436 "PhotoMetadata.c" +#line 8525 "PhotoMetadata.c" } } @@ -7445,15 +8534,15 @@ Orientation photo_metadata_get_orientation (PhotoMetadata* self) { void photo_metadata_set_orientation (PhotoMetadata* self, Orientation orientation) { GExiv2Metadata* _tmp0_ = NULL; Orientation _tmp1_ = 0; -#line 992 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 994 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 994 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = orientation; -#line 994 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" gexiv2_metadata_set_orientation (_tmp0_, (GExiv2Orientation) _tmp1_); -#line 7452 "PhotoMetadata.c" +#line 8541 "PhotoMetadata.c" } @@ -7471,127 +8560,127 @@ gboolean photo_metadata_get_gps (PhotoMetadata* self, gdouble* longitude, gchar* gboolean _tmp4_ = FALSE; gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; -#line 997 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1134 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 999 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->priv->exiv2; -#line 999 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = gexiv2_metadata_get_gps_info (_tmp0_, &_tmp1_, &_tmp2_, &_tmp3_); -#line 999 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_longitude = _tmp1_; -#line 999 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_latitude = _tmp2_; -#line 999 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_altitude = _tmp3_; -#line 999 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp4_) { -#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_vala_long_ref); -#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_long_ref = NULL; -#line 1001 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1138 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_vala_lat_ref); -#line 1001 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1138 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_lat_ref = NULL; -#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = FALSE; -#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (longitude) { -#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *longitude = _vala_longitude; -#line 7498 "PhotoMetadata.c" +#line 8587 "PhotoMetadata.c" } -#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (long_ref) { -#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *long_ref = _vala_long_ref; -#line 7504 "PhotoMetadata.c" +#line 8593 "PhotoMetadata.c" } else { -#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_vala_long_ref); -#line 7508 "PhotoMetadata.c" +#line 8597 "PhotoMetadata.c" } -#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (latitude) { -#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *latitude = _vala_latitude; -#line 7514 "PhotoMetadata.c" +#line 8603 "PhotoMetadata.c" } -#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (lat_ref) { -#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *lat_ref = _vala_lat_ref; -#line 7520 "PhotoMetadata.c" +#line 8609 "PhotoMetadata.c" } else { -#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_vala_lat_ref); -#line 7524 "PhotoMetadata.c" +#line 8613 "PhotoMetadata.c" } -#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (altitude) { -#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *altitude = _vala_altitude; -#line 7530 "PhotoMetadata.c" +#line 8619 "PhotoMetadata.c" } -#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7534 "PhotoMetadata.c" +#line 8623 "PhotoMetadata.c" } -#line 1006 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1143 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = photo_metadata_get_string (self, "Exif.GPSInfo.GPSLongitudeRef", PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1006 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1143 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_vala_long_ref); -#line 1006 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1143 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_long_ref = _tmp5_; -#line 1007 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = photo_metadata_get_string (self, "Exif.GPSInfo.GPSLatitudeRef", PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1007 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_vala_lat_ref); -#line 1007 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_lat_ref = _tmp6_; -#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = TRUE; -#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (longitude) { -#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *longitude = _vala_longitude; -#line 7554 "PhotoMetadata.c" +#line 8643 "PhotoMetadata.c" } -#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (long_ref) { -#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *long_ref = _vala_long_ref; -#line 7560 "PhotoMetadata.c" +#line 8649 "PhotoMetadata.c" } else { -#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_vala_long_ref); -#line 7564 "PhotoMetadata.c" +#line 8653 "PhotoMetadata.c" } -#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (latitude) { -#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *latitude = _vala_latitude; -#line 7570 "PhotoMetadata.c" +#line 8659 "PhotoMetadata.c" } -#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (lat_ref) { -#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *lat_ref = _vala_lat_ref; -#line 7576 "PhotoMetadata.c" +#line 8665 "PhotoMetadata.c" } else { -#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_vala_lat_ref); -#line 7580 "PhotoMetadata.c" +#line 8669 "PhotoMetadata.c" } -#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (altitude) { -#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *altitude = _vala_altitude; -#line 7586 "PhotoMetadata.c" +#line 8675 "PhotoMetadata.c" } -#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7590 "PhotoMetadata.c" +#line 8679 "PhotoMetadata.c" } @@ -7600,23 +8689,23 @@ gboolean photo_metadata_get_exposure (PhotoMetadata* self, MetadataRational* exp gboolean result = FALSE; MetadataRational _tmp0_ = {0}; gboolean _tmp1_ = FALSE; -#line 1012 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1149 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_get_rational (self, "Exif.Photo.ExposureTime", &_tmp0_); -#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_exposure = _tmp0_; -#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp1_; -#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (exposure) { -#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *exposure = _vala_exposure; -#line 7611 "PhotoMetadata.c" +#line 8700 "PhotoMetadata.c" } -#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7615 "PhotoMetadata.c" +#line 8704 "PhotoMetadata.c" } @@ -7627,37 +8716,37 @@ gchar* photo_metadata_get_exposure_string (PhotoMetadata* self) { gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; gchar* _tmp3_ = NULL; -#line 1016 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1153 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 1018 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1155 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_get_rational (self, "Exif.Photo.ExposureTime", &_tmp0_); -#line 1018 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1155 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" exposure_time = _tmp0_; -#line 1018 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1155 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp1_) { -#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1156 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1156 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7638 "PhotoMetadata.c" +#line 8727 "PhotoMetadata.c" } -#line 1021 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = metadata_rational_is_valid (&exposure_time); -#line 1021 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp2_) { -#line 1022 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1159 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 1022 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1159 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7648 "PhotoMetadata.c" +#line 8737 "PhotoMetadata.c" } -#line 1024 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = photo_metadata_get_string_interpreted (self, "Exif.Photo.ExposureTime", PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1024 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp3_; -#line 1024 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7656 "PhotoMetadata.c" +#line 8745 "PhotoMetadata.c" } @@ -7670,70 +8759,70 @@ gboolean photo_metadata_get_iso (PhotoMetadata* self, glong* iso) { gboolean _tmp2_ = FALSE; gboolean _tmp3_ = FALSE; glong _tmp4_ = 0L; -#line 1027 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 1028 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_get_long (self, "Exif.Photo.ISOSpeedRatings", &_tmp0_); -#line 1028 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_iso = _tmp0_; -#line 1028 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" fetched_ok = _tmp1_; -#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1167 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = fetched_ok; -#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1167 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp2_ == FALSE) { -#line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1168 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = FALSE; -#line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1168 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (iso) { -#line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1168 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *iso = _vala_iso; -#line 7687 "PhotoMetadata.c" +#line 8776 "PhotoMetadata.c" } -#line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1168 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7691 "PhotoMetadata.c" +#line 8780 "PhotoMetadata.c" } -#line 1035 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1172 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = _vala_iso; -#line 1035 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1172 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_ < ((glong) 6)) { -#line 1035 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1172 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = TRUE; -#line 7699 "PhotoMetadata.c" +#line 8788 "PhotoMetadata.c" } else { glong _tmp5_ = 0L; -#line 1035 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1172 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _vala_iso; -#line 1035 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1172 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp5_ > ((glong) 409600); -#line 7706 "PhotoMetadata.c" +#line 8795 "PhotoMetadata.c" } -#line 1035 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1172 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp3_) { -#line 1036 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = FALSE; -#line 1036 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (iso) { -#line 1036 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *iso = _vala_iso; -#line 7716 "PhotoMetadata.c" +#line 8805 "PhotoMetadata.c" } -#line 1036 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7720 "PhotoMetadata.c" +#line 8809 "PhotoMetadata.c" } -#line 1038 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1175 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = TRUE; -#line 1038 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1175 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (iso) { -#line 1038 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1175 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *iso = _vala_iso; -#line 7728 "PhotoMetadata.c" +#line 8817 "PhotoMetadata.c" } -#line 1038 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1175 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7732 "PhotoMetadata.c" +#line 8821 "PhotoMetadata.c" } @@ -7743,27 +8832,27 @@ gchar* photo_metadata_get_iso_string (PhotoMetadata* self) { glong _tmp0_ = 0L; gboolean _tmp1_ = FALSE; gchar* _tmp2_ = NULL; -#line 1041 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1180 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_get_iso (self, &_tmp0_); -#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1180 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" iso = _tmp0_; -#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1180 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp1_) { -#line 1044 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1181 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 1044 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1181 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7754 "PhotoMetadata.c" +#line 8843 "PhotoMetadata.c" } -#line 1046 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1183 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = photo_metadata_get_string_interpreted (self, "Exif.Photo.ISOSpeedRatings", PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1046 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1183 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp2_; -#line 1046 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1183 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7762 "PhotoMetadata.c" +#line 8851 "PhotoMetadata.c" } @@ -7772,23 +8861,23 @@ gboolean photo_metadata_get_aperture (PhotoMetadata* self, MetadataRational* ape gboolean result = FALSE; MetadataRational _tmp0_ = {0}; gboolean _tmp1_ = FALSE; -#line 1049 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1186 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_get_rational (self, "Exif.Photo.FNumber", &_tmp0_); -#line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_aperture = _tmp0_; -#line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp1_; -#line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (aperture) { -#line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *aperture = _vala_aperture; -#line 7783 "PhotoMetadata.c" +#line 8872 "PhotoMetadata.c" } -#line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7787 "PhotoMetadata.c" +#line 8876 "PhotoMetadata.c" } @@ -7812,105 +8901,105 @@ gchar* photo_metadata_get_aperture_string (PhotoMetadata* self, gboolean pango_f gchar* _tmp13_ = NULL; gchar* _tmp14_ = NULL; gchar* _tmp15_ = NULL; -#line 1053 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1190 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 1055 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1192 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_get_aperture (self, &_tmp0_); -#line 1055 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1192 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" aperture = _tmp0_; -#line 1055 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1192 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp1_) { -#line 1056 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1193 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = NULL; -#line 1056 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1193 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7823 "PhotoMetadata.c" +#line 8912 "PhotoMetadata.c" } -#line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1195 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = aperture; -#line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1195 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp2_.numerator; -#line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1195 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = aperture; -#line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1195 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = _tmp4_.denominator; -#line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1195 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" aperture_value = ((gdouble) _tmp3_) / ((gdouble) _tmp5_); -#line 1059 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1196 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = aperture_value; -#line 1059 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1196 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" aperture_value = ((gint) (_tmp6_ * 10.0)) / 10.0; -#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = pango_formatted; -#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp8_) { -#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = "<i>f</i>/"; -#line 7845 "PhotoMetadata.c" +#line 8934 "PhotoMetadata.c" } else { -#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = "f/"; -#line 7849 "PhotoMetadata.c" +#line 8938 "PhotoMetadata.c" } -#line 1062 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1199 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = aperture_value; -#line 1062 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1199 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (fmod (_tmp10_, 1) == ((gdouble) 0)) { -#line 1062 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1199 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = "%.0f"; -#line 7857 "PhotoMetadata.c" +#line 8946 "PhotoMetadata.c" } else { -#line 1062 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1199 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = "%.1f"; -#line 7861 "PhotoMetadata.c" +#line 8950 "PhotoMetadata.c" } -#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = aperture_value; -#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = g_strdup_printf (_tmp9_, _tmp11_); -#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = _tmp12_; -#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = g_strconcat (_tmp7_, _tmp13_, NULL); -#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = _tmp14_; -#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp13_); -#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp15_; -#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7879 "PhotoMetadata.c" +#line 8968 "PhotoMetadata.c" } gchar* photo_metadata_get_camera_make (PhotoMetadata* self) { gchar* result = NULL; gchar* _tmp0_ = NULL; -#line 1065 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1202 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 1066 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_get_string_interpreted (self, "Exif.Image.Make", PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1066 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp0_; -#line 1066 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7894 "PhotoMetadata.c" +#line 8983 "PhotoMetadata.c" } gchar* photo_metadata_get_camera_model (PhotoMetadata* self) { gchar* result = NULL; gchar* _tmp0_ = NULL; -#line 1069 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1206 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1207 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_get_string_interpreted (self, "Exif.Image.Model", PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1207 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp0_; -#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1207 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7909 "PhotoMetadata.c" +#line 8998 "PhotoMetadata.c" } @@ -7919,38 +9008,38 @@ gboolean photo_metadata_get_flash (PhotoMetadata* self, glong* flash) { gboolean result = FALSE; glong _tmp0_ = 0L; gboolean _tmp1_ = FALSE; -#line 1073 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1210 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1212 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_get_long (self, "Exif.Photo.Flash", &_tmp0_); -#line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1212 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_flash = _tmp0_; -#line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1212 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp1_; -#line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1212 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (flash) { -#line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1212 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *flash = _vala_flash; -#line 7930 "PhotoMetadata.c" +#line 9019 "PhotoMetadata.c" } -#line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1212 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7934 "PhotoMetadata.c" +#line 9023 "PhotoMetadata.c" } gchar* photo_metadata_get_flash_string (PhotoMetadata* self) { gchar* result = NULL; gchar* _tmp0_ = NULL; -#line 1078 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1215 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 1080 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1217 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_get_string_interpreted (self, "Exif.Photo.Flash", PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1080 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1217 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp0_; -#line 1080 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1217 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7949 "PhotoMetadata.c" +#line 9038 "PhotoMetadata.c" } @@ -7959,38 +9048,38 @@ gboolean photo_metadata_get_focal_length (PhotoMetadata* self, MetadataRational* gboolean result = FALSE; MetadataRational _tmp0_ = {0}; gboolean _tmp1_ = FALSE; -#line 1083 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1220 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE); -#line 1084 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1221 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_get_rational (self, "Exif.Photo.FocalLength", &_tmp0_); -#line 1084 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1221 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_focal_length = _tmp0_; -#line 1084 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1221 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp1_; -#line 1084 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1221 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (focal_length) { -#line 1084 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1221 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *focal_length = _vala_focal_length; -#line 7970 "PhotoMetadata.c" +#line 9059 "PhotoMetadata.c" } -#line 1084 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1221 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7974 "PhotoMetadata.c" +#line 9063 "PhotoMetadata.c" } gchar* photo_metadata_get_focal_length_string (PhotoMetadata* self) { gchar* result = NULL; gchar* _tmp0_ = NULL; -#line 1087 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1224 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 1088 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1225 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_get_string_interpreted (self, "Exif.Photo.FocalLength", PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1088 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1225 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp0_; -#line 1088 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1225 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 7989 "PhotoMetadata.c" +#line 9078 "PhotoMetadata.c" } @@ -7999,49 +9088,49 @@ gchar* photo_metadata_get_artist (PhotoMetadata* self) { gchar** _tmp0_ = NULL; gint _tmp0__length1 = 0; gchar* _tmp1_ = NULL; -#line 1096 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1234 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 1097 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_ARTIST_TAGS; -#line 1097 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = photo_metadata_ARTIST_TAGS_length1; -#line 1097 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_get_first_string_interpreted (self, _tmp0_, _tmp0__length1); -#line 1097 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp1_; -#line 1097 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8010 "PhotoMetadata.c" +#line 9099 "PhotoMetadata.c" } gchar* photo_metadata_get_copyright (PhotoMetadata* self) { gchar* result = NULL; gchar* _tmp0_ = NULL; -#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1238 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 1101 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1239 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_get_string_interpreted (self, "Exif.Image.Copyright", PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1101 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1239 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp0_; -#line 1101 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1239 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8025 "PhotoMetadata.c" +#line 9114 "PhotoMetadata.c" } gchar* photo_metadata_get_software (PhotoMetadata* self) { gchar* result = NULL; gchar* _tmp0_ = NULL; -#line 1104 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1242 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_get_string_interpreted (self, "Exif.Image.Software", PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp0_; -#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8040 "PhotoMetadata.c" +#line 9129 "PhotoMetadata.c" } @@ -8051,69 +9140,69 @@ void photo_metadata_set_software (PhotoMetadata* self, const gchar* software, co gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 1108 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1246 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 1108 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1246 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (software != NULL); -#line 1108 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1246 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (version != NULL); -#line 1110 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = software; -#line 1110 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = version; -#line 1110 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = g_strdup_printf ("%s %s", _tmp0_, _tmp1_); -#line 1110 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp2_; -#line 1110 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string (self, "Exif.Image.Software", _tmp3_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1110 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp3_); -#line 1112 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1250 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = photo_metadata_has_iptc (self); -#line 1112 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1250 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp4_) { -#line 8072 "PhotoMetadata.c" +#line 9161 "PhotoMetadata.c" const gchar* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; -#line 1113 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = software; -#line 1113 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string (self, "Iptc.Application2.Program", _tmp5_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1252 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = version; -#line 1114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1252 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string (self, "Iptc.Application2.ProgramVersion", _tmp6_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 8083 "PhotoMetadata.c" +#line 9172 "PhotoMetadata.c" } } void photo_metadata_remove_software (PhotoMetadata* self) { -#line 1118 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1256 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 1119 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1257 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tag (self, "Exif.Image.Software"); -#line 1120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tag (self, "Iptc.Application2.Program"); -#line 1121 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1259 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_remove_tag (self, "Iptc.Application2.ProgramVersion"); -#line 8097 "PhotoMetadata.c" +#line 9186 "PhotoMetadata.c" } gchar* photo_metadata_get_exposure_bias (PhotoMetadata* self) { gchar* result = NULL; gchar* _tmp0_ = NULL; -#line 1124 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1262 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL); -#line 1125 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_get_string_interpreted (self, "Exif.Photo.ExposureBiasValue", PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1125 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp0_; -#line 1125 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8112 "PhotoMetadata.c" +#line 9201 "PhotoMetadata.c" } @@ -8130,134 +9219,134 @@ Rating photo_metadata_get_rating (PhotoMetadata* self) { const gchar* _tmp8_ = NULL; gint _tmp9_ = 0; Rating _tmp18_ = 0; -#line 1135 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1274 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (self), 0); -#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1275 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = photo_metadata_RATING_TAGS; -#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1275 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0__length1 = photo_metadata_RATING_TAGS_length1; -#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1275 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = photo_metadata_get_first_string (self, _tmp0_, _tmp0__length1); -#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1275 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" rating_string = _tmp1_; -#line 1137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1276 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = rating_string; -#line 1137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1276 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp2_ != NULL) { -#line 8143 "PhotoMetadata.c" +#line 9232 "PhotoMetadata.c" const gchar* _tmp3_ = NULL; gint _tmp4_ = 0; Rating _tmp5_ = 0; -#line 1138 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = rating_string; -#line 1138 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = atoi (_tmp3_); -#line 1138 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = rating_unserialize (_tmp4_); -#line 1138 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp5_; -#line 1138 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (rating_string); -#line 1138 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8159 "PhotoMetadata.c" +#line 9248 "PhotoMetadata.c" } -#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1279 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = photo_metadata_get_string (self, "Exif.Image.RatingPercent", PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1279 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (rating_string); -#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1279 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" rating_string = _tmp6_; -#line 1141 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1280 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = rating_string; -#line 1141 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1280 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp7_ == NULL) { -#line 1142 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1281 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = RATING_UNRATED; -#line 1142 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1281 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (rating_string); -#line 1142 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1281 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8177 "PhotoMetadata.c" +#line 9266 "PhotoMetadata.c" } -#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = rating_string; -#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = atoi (_tmp8_); -#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" int_percent_rating = _tmp9_; -#line 8185 "PhotoMetadata.c" +#line 9274 "PhotoMetadata.c" { gint i = 0; -#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" i = 5; -#line 8190 "PhotoMetadata.c" +#line 9279 "PhotoMetadata.c" { gboolean _tmp10_ = FALSE; -#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = TRUE; -#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" while (TRUE) { -#line 8197 "PhotoMetadata.c" +#line 9286 "PhotoMetadata.c" gint _tmp12_ = 0; gint _tmp13_ = 0; gint _tmp14_ = 0; gint _tmp15_ = 0; -#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!_tmp10_) { -#line 8204 "PhotoMetadata.c" +#line 9293 "PhotoMetadata.c" gint _tmp11_ = 0; -#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = i; -#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" i = _tmp11_ - 1; -#line 8210 "PhotoMetadata.c" +#line 9299 "PhotoMetadata.c" } -#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = FALSE; -#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = i; -#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (!(_tmp12_ >= 0)) { -#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" break; -#line 8220 "PhotoMetadata.c" +#line 9309 "PhotoMetadata.c" } -#line 1147 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = int_percent_rating; -#line 1147 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = i; -#line 1147 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = RESOURCES_rating_thresholds[_tmp14_]; -#line 1147 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp13_ >= _tmp15_) { -#line 8230 "PhotoMetadata.c" +#line 9319 "PhotoMetadata.c" gint _tmp16_ = 0; Rating _tmp17_ = 0; -#line 1148 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = i; -#line 1148 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ = rating_unserialize (_tmp16_); -#line 1148 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp17_; -#line 1148 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (rating_string); -#line 1148 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8243 "PhotoMetadata.c" +#line 9332 "PhotoMetadata.c" } } } } -#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1289 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = rating_unserialize (-1); -#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1289 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp18_; -#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1289 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (rating_string); -#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1289 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8256 "PhotoMetadata.c" +#line 9345 "PhotoMetadata.c" } @@ -8272,79 +9361,79 @@ void photo_metadata_set_rating (PhotoMetadata* self, Rating rating) { gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; gint _tmp8_ = 0; -#line 1158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1297 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_if_fail (IS_PHOTO_METADATA (self)); -#line 1159 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = rating; -#line 1159 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = rating_serialize (_tmp0_); -#line 1159 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" int_rating = _tmp1_; -#line 1160 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = int_rating; -#line 1160 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = g_strdup_printf ("%i", _tmp2_); -#line 1160 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = _tmp3_; -#line 1160 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string (self, "Xmp.xmp.Rating", _tmp4_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1160 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp4_); -#line 1161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1300 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = int_rating; -#line 1161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1300 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = g_strdup_printf ("%i", _tmp5_); -#line 1161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1300 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = _tmp6_; -#line 1161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1300 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string (self, "Exif.Image.Rating", _tmp7_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1300 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp7_); -#line 1163 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = int_rating; -#line 1163 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (0 <= _tmp8_) { -#line 8303 "PhotoMetadata.c" +#line 9392 "PhotoMetadata.c" gint _tmp9_ = 0; gint _tmp10_ = 0; gchar* _tmp11_ = NULL; gchar* _tmp12_ = NULL; -#line 1164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = int_rating; -#line 1164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = RESOURCES_rating_thresholds[_tmp9_]; -#line 1164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = g_strdup_printf ("%i", _tmp10_); -#line 1164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = _tmp11_; -#line 1164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string (self, "Exif.Image.RatingPercent", _tmp12_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp12_); -#line 8320 "PhotoMetadata.c" +#line 9409 "PhotoMetadata.c" } else { gint _tmp13_ = 0; gchar* _tmp14_ = NULL; gchar* _tmp15_ = NULL; -#line 1166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = int_rating; -#line 1166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = g_strdup_printf ("%i", _tmp13_); -#line 1166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp15_ = _tmp14_; -#line 1166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_set_string (self, "Exif.Image.RatingPercent", _tmp15_, PHOTO_METADATA_PREPARE_STRING_OPTIONS); -#line 1166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 1305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (_tmp15_); -#line 8335 "PhotoMetadata.c" +#line 9424 "PhotoMetadata.c" } } static gpointer _media_metadata_ref0 (gpointer self) { -#line 123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self ? media_metadata_ref (self) : NULL; -#line 8343 "PhotoMetadata.c" +#line 9432 "PhotoMetadata.c" } @@ -8365,67 +9454,67 @@ static PhotoMetadataInternalPhotoPreview* photo_metadata_internal_photo_preview_ PhotoMetadata* _tmp12_ = NULL; PhotoMetadata* _tmp13_ = NULL; guint _tmp14_ = 0U; -#line 118 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 230 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (IS_PHOTO_METADATA (owner), NULL); -#line 118 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 230 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (name != NULL, NULL); -#line 118 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 230 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_return_val_if_fail (GEXIV2_IS_PREVIEW_PROPERTIES (props), NULL); -#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 232 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = name; -#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 232 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = props; -#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 232 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = gexiv2_preview_properties_get_width (_tmp1_); -#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 232 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = props; -#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 232 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = gexiv2_preview_properties_get_height (_tmp3_); -#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 232 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" dimensions_init (&_tmp5_, (gint) _tmp2_, (gint) _tmp4_); -#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 232 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = props; -#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 232 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = gexiv2_preview_properties_get_size (_tmp6_); -#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 232 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = props; -#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 232 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = gexiv2_preview_properties_get_mime_type (_tmp8_); -#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 232 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = props; -#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 232 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = gexiv2_preview_properties_get_extension (_tmp10_); -#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 232 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = (PhotoMetadataInternalPhotoPreview*) photo_preview_construct (object_type, _tmp0_, &_tmp5_, _tmp7_, _tmp9_, _tmp11_); -#line 123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = owner; -#line 123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = _media_metadata_ref0 (_tmp12_); -#line 123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _media_metadata_unref0 (self->owner); -#line 123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->owner = _tmp13_; -#line 124 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 236 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = number; -#line 124 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 236 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->number = _tmp14_; -#line 118 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 230 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return self; -#line 8410 "PhotoMetadata.c" +#line 9499 "PhotoMetadata.c" } static PhotoMetadataInternalPhotoPreview* photo_metadata_internal_photo_preview_new (PhotoMetadata* owner, const gchar* name, guint number, GExiv2PreviewProperties* props) { -#line 118 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 230 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return photo_metadata_internal_photo_preview_construct (PHOTO_METADATA_TYPE_INTERNAL_PHOTO_PREVIEW, owner, name, number, props); -#line 8417 "PhotoMetadata.c" +#line 9506 "PhotoMetadata.c" } static guint8* _vala_array_dup6 (guint8* self, int length) { -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return g_memdup (self, length * sizeof (guint8)); -#line 8424 "PhotoMetadata.c" +#line 9513 "PhotoMetadata.c" } @@ -8458,100 +9547,100 @@ static guint8* photo_metadata_internal_photo_preview_real_flatten (PhotoPreview* gint _tmp18__length1 = 0; guint8* _tmp19_ = NULL; gint _tmp19__length1 = 0; -#line 127 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 239 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, PHOTO_METADATA_TYPE_INTERNAL_PHOTO_PREVIEW, PhotoMetadataInternalPhotoPreview); -#line 128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 240 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = self->owner; -#line 128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 240 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = _tmp0_->priv->exiv2; -#line 128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 240 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp3_ = _tmp2_ = gexiv2_metadata_get_preview_properties (_tmp1_); -#line 128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 240 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" props = _tmp3_; -#line 128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 240 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" props_length1 = _vala_array_length (_tmp2_); -#line 128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 240 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _props_size_ = props_length1; -#line 129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 241 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5_ = props; -#line 129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 241 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp5__length1 = props_length1; -#line 129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 241 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (_tmp5_ != NULL) { -#line 8477 "PhotoMetadata.c" +#line 9566 "PhotoMetadata.c" GExiv2PreviewProperties** _tmp6_ = NULL; gint _tmp6__length1 = 0; guint _tmp7_ = 0U; -#line 129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 241 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6_ = props; -#line 129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 241 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp6__length1 = props_length1; -#line 129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 241 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp7_ = self->number; -#line 129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 241 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = ((guint) _tmp6__length1) > _tmp7_; -#line 8489 "PhotoMetadata.c" +#line 9578 "PhotoMetadata.c" } else { -#line 129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 241 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp4_ = FALSE; -#line 8493 "PhotoMetadata.c" +#line 9582 "PhotoMetadata.c" } -#line 129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 241 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _vala_assert (_tmp4_, "props != null && props.length > number"); -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp8_ = self->owner; -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp9_ = _tmp8_->priv->exiv2; -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10_ = props; -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp10__length1 = props_length1; -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp11_ = self->number; -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp12_ = _tmp10_[_tmp11_]; -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp13_ = gexiv2_metadata_get_preview_image (_tmp9_, _tmp12_); -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp14_ = _tmp13_; -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp16_ = gexiv2_preview_image_get_data (_tmp14_, &_tmp15_); -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17_ = (_tmp16_ != NULL) ? _vala_array_dup6 (_tmp16_, _tmp15_) : ((gpointer) _tmp16_); -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp17__length1 = _tmp15_; -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18_ = _tmp17_; -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp18__length1 = _tmp17__length1; -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (_tmp14_); -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19_ = _tmp18_; -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp19__length1 = _tmp18__length1; -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" if (result_length1) { -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" *result_length1 = _tmp19__length1; -#line 8533 "PhotoMetadata.c" +#line 9622 "PhotoMetadata.c" } -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" result = _tmp19_; -#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" return result; -#line 8539 "PhotoMetadata.c" +#line 9628 "PhotoMetadata.c" } static void photo_metadata_internal_photo_preview_class_init (PhotoMetadataInternalPhotoPreviewClass * klass) { -#line 114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_internal_photo_preview_parent_class = g_type_class_peek_parent (klass); -#line 114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ((PhotoPreviewClass *) klass)->finalize = photo_metadata_internal_photo_preview_finalize; -#line 114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ((PhotoPreviewClass *) klass)->flatten = photo_metadata_internal_photo_preview_real_flatten; -#line 8550 "PhotoMetadata.c" +#line 9639 "PhotoMetadata.c" } @@ -8561,13 +9650,13 @@ static void photo_metadata_internal_photo_preview_instance_init (PhotoMetadataIn static void photo_metadata_internal_photo_preview_finalize (PhotoPreview* obj) { PhotoMetadataInternalPhotoPreview * self; -#line 114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, PHOTO_METADATA_TYPE_INTERNAL_PHOTO_PREVIEW, PhotoMetadataInternalPhotoPreview); -#line 115 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 227 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _media_metadata_unref0 (self->owner); -#line 114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" PHOTO_PREVIEW_CLASS (photo_metadata_internal_photo_preview_parent_class)->finalize (obj); -#line 8566 "PhotoMetadata.c" +#line 9655 "PhotoMetadata.c" } @@ -8587,293 +9676,375 @@ static void photo_metadata_class_init (PhotoMetadataClass * klass) { gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; - gchar** _tmp3_ = NULL; - gchar* _tmp4_ = NULL; + gchar* _tmp3_ = NULL; + gchar** _tmp4_ = NULL; gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; - gchar** _tmp10_ = NULL; - gchar* _tmp11_ = NULL; + gchar* _tmp10_ = NULL; + gchar** _tmp11_ = NULL; gchar* _tmp12_ = NULL; - gchar** _tmp13_ = NULL; - gchar* _tmp14_ = NULL; + gchar* _tmp13_ = NULL; + gchar** _tmp14_ = NULL; gchar* _tmp15_ = NULL; gchar* _tmp16_ = NULL; gchar* _tmp17_ = NULL; - gchar** _tmp18_ = NULL; - gchar* _tmp19_ = NULL; + gchar* _tmp18_ = NULL; + gchar** _tmp19_ = NULL; gchar* _tmp20_ = NULL; gchar* _tmp21_ = NULL; gchar* _tmp22_ = NULL; - gchar** _tmp23_ = NULL; - gchar* _tmp24_ = NULL; + gchar* _tmp23_ = NULL; + gchar** _tmp24_ = NULL; gchar* _tmp25_ = NULL; gchar* _tmp26_ = NULL; gchar* _tmp27_ = NULL; - gchar** _tmp28_ = NULL; + gchar* _tmp28_ = NULL; gchar* _tmp29_ = NULL; - gchar* _tmp30_ = NULL; - gchar** _tmp31_ = NULL; - HierarchicalKeywordField* _tmp32_ = NULL; - HierarchicalKeywordField* _tmp33_ = NULL; - HierarchicalKeywordField* _tmp34_ = NULL; - HierarchicalKeywordField** _tmp35_ = NULL; + gchar** _tmp30_ = NULL; + gchar* _tmp31_ = NULL; + gchar* _tmp32_ = NULL; + gchar** _tmp33_ = NULL; + gchar* _tmp34_ = NULL; + gchar* _tmp35_ = NULL; gchar* _tmp36_ = NULL; - gchar* _tmp37_ = NULL; - gchar** _tmp38_ = NULL; - gchar* _tmp39_ = NULL; - gchar* _tmp40_ = NULL; - gchar* _tmp41_ = NULL; - gchar* _tmp42_ = NULL; - gchar** _tmp43_ = NULL; -#line 99 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + gchar** _tmp37_ = NULL; + NullKeywordTransformer* _tmp38_ = NULL; + NullKeywordTransformer* _tmp39_ = NULL; + HierarchicalKeywordField* _tmp40_ = NULL; + NullKeywordTransformer* _tmp41_ = NULL; + NullKeywordTransformer* _tmp42_ = NULL; + HierarchicalKeywordField* _tmp43_ = NULL; + ACDSeeKeywordTransformer* _tmp44_ = NULL; + ACDSeeKeywordTransformer* _tmp45_ = NULL; + HierarchicalKeywordField* _tmp46_ = NULL; + NullKeywordTransformer* _tmp47_ = NULL; + NullKeywordTransformer* _tmp48_ = NULL; + HierarchicalKeywordField* _tmp49_ = NULL; + NullKeywordTransformer* _tmp50_ = NULL; + NullKeywordTransformer* _tmp51_ = NULL; + HierarchicalKeywordField* _tmp52_ = NULL; + HierarchicalKeywordField** _tmp53_ = NULL; + gchar* _tmp54_ = NULL; + gchar* _tmp55_ = NULL; + gchar* _tmp56_ = NULL; + gchar** _tmp57_ = NULL; + gchar* _tmp58_ = NULL; + gchar* _tmp59_ = NULL; + gchar* _tmp60_ = NULL; + gchar* _tmp61_ = NULL; + gchar* _tmp62_ = NULL; + gchar** _tmp63_ = NULL; +#line 211 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_parent_class = g_type_class_peek_parent (klass); -#line 99 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 211 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ((MediaMetadataClass *) klass)->finalize = photo_metadata_finalize; -#line 99 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 211 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" g_type_class_add_private (klass, sizeof (PhotoMetadataPrivate)); -#line 99 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 211 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ((MediaMetadataClass *) klass)->read_from_file = photo_metadata_real_read_from_file; -#line 99 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 211 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ((MediaMetadataClass *) klass)->get_creation_date_time = photo_metadata_real_get_creation_date_time; -#line 99 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 211 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ((MediaMetadataClass *) klass)->get_title = photo_metadata_real_get_title; -#line 99 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 211 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" ((MediaMetadataClass *) klass)->get_comment = photo_metadata_real_get_comment; -#line 674 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 786 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = g_strdup ("Exif.Image.DateTime"); -#line 674 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 786 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup ("Xmp.tiff.DateTime"); -#line 674 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 786 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp2_ = g_strdup ("Xmp.xmp.ModifyDate"); -#line 674 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp3_ = g_new0 (gchar*, 3 + 1); -#line 674 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp3_[0] = _tmp0_; -#line 674 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp3_[1] = _tmp1_; -#line 674 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp3_[2] = _tmp2_; -#line 674 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_DATE_TIME_TAGS = _tmp3_; -#line 674 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_DATE_TIME_TAGS_length1 = 3; -#line 692 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp4_ = g_strdup ("Exif.Photo.DateTimeOriginal"); -#line 692 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp5_ = g_strdup ("Xmp.exif.DateTimeOriginal"); -#line 692 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp6_ = g_strdup ("Xmp.xmp.CreateDate"); -#line 692 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp7_ = g_strdup ("Exif.Photo.DateTimeDigitized"); -#line 692 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp8_ = g_strdup ("Xmp.exif.DateTimeDigitized"); -#line 692 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp9_ = g_strdup ("Exif.Image.DateTime"); -#line 692 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp10_ = g_new0 (gchar*, 6 + 1); -#line 692 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp10_[0] = _tmp4_; -#line 692 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp10_[1] = _tmp5_; -#line 692 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp10_[2] = _tmp6_; -#line 692 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp10_[3] = _tmp7_; -#line 692 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp10_[4] = _tmp8_; -#line 692 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp10_[5] = _tmp9_; -#line 692 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_EXPOSURE_DATE_TIME_TAGS = _tmp10_; -#line 692 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 786 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp3_ = g_strdup ("Xmp.acdsee.datetime"); +#line 786 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp4_ = g_new0 (gchar*, 4 + 1); +#line 786 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp4_[0] = _tmp0_; +#line 786 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp4_[1] = _tmp1_; +#line 786 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp4_[2] = _tmp2_; +#line 786 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp4_[3] = _tmp3_; +#line 786 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_DATE_TIME_TAGS = _tmp4_; +#line 786 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_DATE_TIME_TAGS_length1 = 4; +#line 805 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp5_ = g_strdup ("Exif.Photo.DateTimeOriginal"); +#line 805 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp6_ = g_strdup ("Xmp.exif.DateTimeOriginal"); +#line 805 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp7_ = g_strdup ("Xmp.xmp.CreateDate"); +#line 805 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp8_ = g_strdup ("Exif.Photo.DateTimeDigitized"); +#line 805 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp9_ = g_strdup ("Xmp.exif.DateTimeDigitized"); +#line 805 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp10_ = g_strdup ("Exif.Image.DateTime"); +#line 805 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp11_ = g_new0 (gchar*, 6 + 1); +#line 805 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp11_[0] = _tmp5_; +#line 805 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp11_[1] = _tmp6_; +#line 805 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp11_[2] = _tmp7_; +#line 805 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp11_[3] = _tmp8_; +#line 805 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp11_[4] = _tmp9_; +#line 805 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp11_[5] = _tmp10_; +#line 805 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_EXPOSURE_DATE_TIME_TAGS = _tmp11_; +#line 805 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_EXPOSURE_DATE_TIME_TAGS_length1 = 6; -#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp11_ = g_strdup ("Exif.Photo.DateTimeDigitized"); -#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp12_ = g_strdup ("Xmp.exif.DateTimeDigitized"); -#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp13_ = g_new0 (gchar*, 2 + 1); -#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp13_[0] = _tmp11_; -#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp13_[1] = _tmp12_; -#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_DIGITIZED_DATE_TIME_TAGS = _tmp13_; -#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp12_ = g_strdup ("Exif.Photo.DateTimeDigitized"); +#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp13_ = g_strdup ("Xmp.exif.DateTimeDigitized"); +#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp14_ = g_new0 (gchar*, 2 + 1); +#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp14_[0] = _tmp12_; +#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp14_[1] = _tmp13_; +#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_DIGITIZED_DATE_TIME_TAGS = _tmp14_; +#line 826 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_DIGITIZED_DATE_TIME_TAGS_length1 = 2; -#line 738 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp14_ = g_strdup ("Exif.Photo.PixelXDimension"); -#line 738 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp15_ = g_strdup ("Xmp.exif.PixelXDimension"); -#line 738 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp16_ = g_strdup ("Xmp.tiff.ImageWidth"); -#line 738 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp17_ = g_strdup ("Xmp.exif.PixelXDimension"); -#line 738 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp18_ = g_new0 (gchar*, 4 + 1); -#line 738 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp18_[0] = _tmp14_; -#line 738 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp18_[1] = _tmp15_; -#line 738 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp18_[2] = _tmp16_; -#line 738 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp18_[3] = _tmp17_; -#line 738 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_WIDTH_TAGS = _tmp18_; -#line 738 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 851 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp15_ = g_strdup ("Exif.Photo.PixelXDimension"); +#line 851 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp16_ = g_strdup ("Xmp.exif.PixelXDimension"); +#line 851 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp17_ = g_strdup ("Xmp.tiff.ImageWidth"); +#line 851 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp18_ = g_strdup ("Xmp.exif.PixelXDimension"); +#line 851 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp19_ = g_new0 (gchar*, 4 + 1); +#line 851 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp19_[0] = _tmp15_; +#line 851 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp19_[1] = _tmp16_; +#line 851 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp19_[2] = _tmp17_; +#line 851 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp19_[3] = _tmp18_; +#line 851 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_WIDTH_TAGS = _tmp19_; +#line 851 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_WIDTH_TAGS_length1 = 4; -#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp19_ = g_strdup ("Exif.Photo.PixelYDimension"); -#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp20_ = g_strdup ("Xmp.exif.PixelYDimension"); -#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp21_ = g_strdup ("Xmp.tiff.ImageHeight"); -#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp22_ = g_strdup ("Xmp.exif.PixelYDimension"); -#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp23_ = g_new0 (gchar*, 4 + 1); -#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp23_[0] = _tmp19_; -#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp23_[1] = _tmp20_; -#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp23_[2] = _tmp21_; -#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp23_[3] = _tmp22_; -#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_HEIGHT_TAGS = _tmp23_; -#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 858 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp20_ = g_strdup ("Exif.Photo.PixelYDimension"); +#line 858 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp21_ = g_strdup ("Xmp.exif.PixelYDimension"); +#line 858 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp22_ = g_strdup ("Xmp.tiff.ImageHeight"); +#line 858 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp23_ = g_strdup ("Xmp.exif.PixelYDimension"); +#line 858 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp24_ = g_new0 (gchar*, 4 + 1); +#line 858 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp24_[0] = _tmp20_; +#line 858 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp24_[1] = _tmp21_; +#line 858 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp24_[2] = _tmp22_; +#line 858 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp24_[3] = _tmp23_; +#line 858 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_HEIGHT_TAGS = _tmp24_; +#line 858 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" photo_metadata_HEIGHT_TAGS_length1 = 4; -#line 804 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp24_ = g_strdup ("Iptc.Application2.Caption"); -#line 804 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp25_ = g_strdup ("Xmp.dc.title"); -#line 804 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp26_ = g_strdup ("Iptc.Application2.Headline"); -#line 804 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp27_ = g_strdup ("Xmp.photoshop.Headline"); -#line 804 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp28_ = g_new0 (gchar*, 4 + 1); -#line 804 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp28_[0] = _tmp24_; -#line 804 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp28_[1] = _tmp25_; -#line 804 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp28_[2] = _tmp26_; -#line 804 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp28_[3] = _tmp27_; -#line 804 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_STANDARD_TITLE_TAGS = _tmp28_; -#line 804 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_STANDARD_TITLE_TAGS_length1 = 4; -#line 859 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp29_ = g_strdup ("Xmp.dc.subject"); -#line 859 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp30_ = g_strdup ("Iptc.Application2.Keywords"); -#line 859 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp31_ = g_new0 (gchar*, 2 + 1); -#line 859 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp31_[0] = _tmp29_; -#line 859 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp31_[1] = _tmp30_; -#line 859 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_KEYWORD_TAGS = _tmp31_; -#line 859 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_KEYWORD_TAGS_length1 = 2; -#line 864 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp32_ = hierarchical_keyword_field_new ("Xmp.lr.hierarchicalSubject", "|", FALSE, FALSE); -#line 864 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp33_ = hierarchical_keyword_field_new ("Xmp.digiKam.TagsList", "/", FALSE, TRUE); -#line 864 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp34_ = hierarchical_keyword_field_new ("Xmp.MicrosoftPhoto.LastKeywordXMP", "/", FALSE, TRUE); -#line 864 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp35_ = g_new0 (HierarchicalKeywordField*, 3 + 1); -#line 864 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp35_[0] = _tmp32_; -#line 864 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp35_[1] = _tmp33_; -#line 864 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp35_[2] = _tmp34_; -#line 864 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_HIERARCHICAL_KEYWORD_TAGS = _tmp35_; -#line 864 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_HIERARCHICAL_KEYWORD_TAGS_length1 = 3; -#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp36_ = g_strdup ("Exif.Image.Artist"); -#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp37_ = g_strdup ("Exif.Canon.OwnerName"); -#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp38_ = g_new0 (gchar*, 2 + 1); -#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp38_[0] = _tmp36_; -#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp38_[1] = _tmp37_; -#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_ARTIST_TAGS = _tmp38_; -#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_ARTIST_TAGS_length1 = 2; -#line 1128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp39_ = g_strdup ("Xmp.xmp.Rating"); -#line 1128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp40_ = g_strdup ("Iptc.Application2.Urgency"); -#line 1128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp41_ = g_strdup ("Xmp.photoshop.Urgency"); -#line 1128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp42_ = g_strdup ("Exif.Image.Rating"); -#line 1128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp43_ = g_new0 (gchar*, 4 + 1); -#line 1128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp43_[0] = _tmp39_; -#line 1128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp43_[1] = _tmp40_; -#line 1128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp43_[2] = _tmp41_; -#line 1128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - _tmp43_[3] = _tmp42_; -#line 1128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_RATING_TAGS = _tmp43_; -#line 1128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" - photo_metadata_RATING_TAGS_length1 = 4; -#line 8837 "PhotoMetadata.c" +#line 917 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp25_ = g_strdup ("Iptc.Application2.Caption"); +#line 917 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp26_ = g_strdup ("Xmp.dc.title"); +#line 917 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp27_ = g_strdup ("Iptc.Application2.Headline"); +#line 917 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp28_ = g_strdup ("Xmp.photoshop.Headline"); +#line 917 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp29_ = g_strdup ("Xmp.acdsee.caption"); +#line 917 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp30_ = g_new0 (gchar*, 5 + 1); +#line 917 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp30_[0] = _tmp25_; +#line 917 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp30_[1] = _tmp26_; +#line 917 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp30_[2] = _tmp27_; +#line 917 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp30_[3] = _tmp28_; +#line 917 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp30_[4] = _tmp29_; +#line 917 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_STANDARD_TITLE_TAGS = _tmp30_; +#line 917 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_STANDARD_TITLE_TAGS_length1 = 5; +#line 962 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp31_ = g_strdup ("Exif.Photo.UserComment"); +#line 962 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp32_ = g_strdup ("Xmp.acdsee.notes"); +#line 962 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp33_ = g_new0 (gchar*, 2 + 1); +#line 962 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp33_[0] = _tmp31_; +#line 962 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp33_[1] = _tmp32_; +#line 962 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_COMMENT_TAGS = _tmp33_; +#line 962 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_COMMENT_TAGS_length1 = 2; +#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp34_ = g_strdup ("Xmp.dc.subject"); +#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp35_ = g_strdup ("Iptc.Application2.Keywords"); +#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp36_ = g_strdup ("Xmp.xmp.Label"); +#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp37_ = g_new0 (gchar*, 3 + 1); +#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp37_[0] = _tmp34_; +#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp37_[1] = _tmp35_; +#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp37_[2] = _tmp36_; +#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_KEYWORD_TAGS = _tmp37_; +#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_KEYWORD_TAGS_length1 = 3; +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp38_ = null_keyword_transformer_new (); +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp39_ = _tmp38_; +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp40_ = hierarchical_keyword_field_new ("Xmp.lr.hierarchicalSubject", "|", FALSE, FALSE, G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_KEYWORD_TRANSFORMER, KeywordTransformer)); +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp41_ = null_keyword_transformer_new (); +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp42_ = _tmp41_; +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp43_ = hierarchical_keyword_field_new ("Xmp.acdsee.keywords", "|", FALSE, FALSE, G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, TYPE_KEYWORD_TRANSFORMER, KeywordTransformer)); +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp44_ = acd_see_keyword_transformer_new (); +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp45_ = _tmp44_; +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp46_ = hierarchical_keyword_field_new ("Xmp.acdsee.categories", "|", FALSE, FALSE, G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, TYPE_KEYWORD_TRANSFORMER, KeywordTransformer)); +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp47_ = null_keyword_transformer_new (); +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp48_ = _tmp47_; +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp49_ = hierarchical_keyword_field_new ("Xmp.digiKam.TagsList", "/", FALSE, TRUE, G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, TYPE_KEYWORD_TRANSFORMER, KeywordTransformer)); +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp50_ = null_keyword_transformer_new (); +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp51_ = _tmp50_; +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp52_ = hierarchical_keyword_field_new ("Xmp.MicrosoftPhoto.LastKeywordXMP", "/", FALSE, TRUE, G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, TYPE_KEYWORD_TRANSFORMER, KeywordTransformer)); +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp53_ = g_new0 (HierarchicalKeywordField*, 5 + 1); +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp53_[0] = _tmp40_; +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp53_[1] = _tmp43_; +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp53_[2] = _tmp46_; +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp53_[3] = _tmp49_; +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp53_[4] = _tmp52_; +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_HIERARCHICAL_KEYWORD_TAGS = _tmp53_; +#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_HIERARCHICAL_KEYWORD_TAGS_length1 = 5; +#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp54_ = g_strdup ("Exif.Image.Artist"); +#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp55_ = g_strdup ("Exif.Canon.OwnerName"); +#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp56_ = g_strdup ("Xmp.acdsee.author"); +#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp57_ = g_new0 (gchar*, 3 + 1); +#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp57_[0] = _tmp54_; +#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp57_[1] = _tmp55_; +#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp57_[2] = _tmp56_; +#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_ARTIST_TAGS = _tmp57_; +#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_ARTIST_TAGS_length1 = 3; +#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp58_ = g_strdup ("Xmp.xmp.Rating"); +#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp59_ = g_strdup ("Iptc.Application2.Urgency"); +#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp60_ = g_strdup ("Xmp.photoshop.Urgency"); +#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp61_ = g_strdup ("Exif.Image.Rating"); +#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp62_ = g_strdup ("Xmp.acdsee.rating"); +#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp63_ = g_new0 (gchar*, 5 + 1); +#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp63_[0] = _tmp58_; +#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp63_[1] = _tmp59_; +#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp63_[2] = _tmp60_; +#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp63_[3] = _tmp61_; +#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + _tmp63_[4] = _tmp62_; +#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_RATING_TAGS = _tmp63_; +#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" + photo_metadata_RATING_TAGS_length1 = 5; +#line 10008 "PhotoMetadata.c" } static void photo_metadata_instance_init (PhotoMetadata * self) { GExiv2Metadata* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 99 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 211 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv = PHOTO_METADATA_GET_PRIVATE (self); -#line 135 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 247 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp0_ = gexiv2_metadata_new (); -#line 135 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 247 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->exiv2 = _tmp0_; -#line 136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->exif = NULL; -#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 249 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _tmp1_ = g_strdup ("<uninitialized>"); -#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 249 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self->priv->source_name = _tmp1_; -#line 8856 "PhotoMetadata.c" +#line 10027 "PhotoMetadata.c" } static void photo_metadata_finalize (MediaMetadata* obj) { PhotoMetadata * self; -#line 99 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 211 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PHOTO_METADATA, PhotoMetadata); -#line 135 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 247 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_object_unref0 (self->priv->exiv2); -#line 136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _exif_data_unref0 (self->priv->exif); -#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 249 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" _g_free0 (self->priv->source_name); -#line 99 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" +#line 211 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala" MEDIA_METADATA_CLASS (photo_metadata_parent_class)->finalize (obj); -#line 8872 "PhotoMetadata.c" +#line 10043 "PhotoMetadata.c" } diff --git a/src/photos/PhotoMetadata.vala b/src/photos/PhotoMetadata.vala index a410499..814ea6b 100644 --- a/src/photos/PhotoMetadata.vala +++ b/src/photos/PhotoMetadata.vala @@ -28,18 +28,130 @@ public enum MetadataDomain { IPTC } +public abstract class KeywordTransformer { + public abstract Gee.List<string> transform (string input) throws Error; +} + +public class NullKeywordTransformer : KeywordTransformer { + public override Gee.List<string> transform (string input) throws Error { + var result = new Gee.ArrayList<string> (); + result.add (input); + + return result; + } +} + +/* Transforms ACDSEE's pseudo-XML category format into Lightroom format + * <Categories> + * <Category Assigned=\"1\">Alben + * <Category Assigned=\"1\">Flowers</Category> + * </Category> + * <Category Assigned=\"1\">Orte</Category> + * <Category Assigned=\"1\">Verschiedenes</Category> + * </Categories> + * + * Will be transformed to a list of Alben, Alben|Flowers, Orte, Verschiedenes + */ +public class ACDSeeKeywordTransformer : KeywordTransformer { + private MarkupParser parser; + private Error error; + private Gee.ArrayQueue<string> stack; + private Gee.ArrayList<string> result; + private bool assigned; + + public ACDSeeKeywordTransformer() { + this.parser = MarkupParser (); + this.parser.start_element = this.on_start; + this.parser.end_element = this.on_end; + this.parser.text = this.on_text; + this.parser.error = this.on_error; + this.result = new Gee.ArrayList<string> (); + this.stack = new Gee.ArrayQueue<string> (); + } + + public override Gee.List<string> transform (string input) throws Error { + var ctx = new MarkupParseContext (this.parser, 0, this, null); + + ctx.parse (input, input.length); + + return result; + } + + private void on_start (MarkupParseContext ctx, + string name, + [CCode (array_null_terminated = true, + array_length = false)] + string[] attribute_names, + [CCode (array_null_terminated = true, + array_length = false)] + string[] attribute_values) throws MarkupError { + this.assigned = false; + if (name == "Categories") { + return; + } + + if (name != "Category") { + return; + } + + Workaround.markup_collect_attributes (name, + attribute_names, + attribute_values, + Markup.CollectType.BOOLEAN, + "Assigned", out assigned); + } + + private void on_end (MarkupParseContext ctx, string name) + throws MarkupError { + if (name == "Category") { + this.stack.poll_tail (); + } + } + + private void on_text (MarkupParseContext ctx, string text) + throws MarkupError { + if (text == "") { + return; + } + + this.stack.offer_tail (text); + if (this.assigned) { + var builder = new StringBuilder (); + foreach (var f in this.stack) { + builder.append_printf ("%s|", f); + } + if (builder.len > 0) { + builder.truncate (builder.len - 1); + } + this.result.add (builder.str); + } + } + + private void on_error (MarkupParseContext ctx, Error error) { + this.error = error; + } +} + + + public class HierarchicalKeywordField { public string field_name; public string path_separator; public bool wants_leading_separator; public bool is_writeable; - - public HierarchicalKeywordField(string field_name, string path_separator, - bool wants_leading_separator, bool is_writeable) { + public KeywordTransformer transformer; + + public HierarchicalKeywordField(string field_name, + string path_separator, + bool wants_leading_separator, + bool is_writeable, + KeywordTransformer transformer = + new NullKeywordTransformer ()) { this.field_name = field_name; this.path_separator = path_separator; this.wants_leading_separator = wants_leading_separator; this.is_writeable = is_writeable; + this.transformer = transformer; } } @@ -674,7 +786,8 @@ public class PhotoMetadata : MediaMetadata { private static string[] DATE_TIME_TAGS = { "Exif.Image.DateTime", "Xmp.tiff.DateTime", - "Xmp.xmp.ModifyDate" + "Xmp.xmp.ModifyDate", + "Xmp.acdsee.datetime" }; public MetadataDateTime? get_modification_date_time() { @@ -805,7 +918,8 @@ public class PhotoMetadata : MediaMetadata { "Iptc.Application2.Caption", "Xmp.dc.title", "Iptc.Application2.Headline", - "Xmp.photoshop.Headline" + "Xmp.photoshop.Headline", + "Xmp.acdsee.caption" }; public override string? get_title() { @@ -844,27 +958,37 @@ public class PhotoMetadata : MediaMetadata { remove_tags(STANDARD_TITLE_TAGS); } } + + private static string[] COMMENT_TAGS = { + "Exif.Photo.UserComment", + "Xmp.acdsee.notes" + }; public override string? get_comment() { - return get_string_interpreted("Exif.Photo.UserComment", PrepareInputTextOptions.DEFAULT & ~PrepareInputTextOptions.STRIP_CRLF); + return get_first_string_interpreted (COMMENT_TAGS); } - public void set_comment(string? comment) { + public void set_comment(string? comment, + SetOption option = SetOption.ALL_DOMAINS) { if (!is_string_empty(comment)) - set_string("Exif.Photo.UserComment", comment, PrepareInputTextOptions.DEFAULT & ~PrepareInputTextOptions.STRIP_CRLF); + set_all_string(COMMENT_TAGS, comment, option); else - remove_tag("Exif.Photo.UserComment"); + remove_tags(COMMENT_TAGS); } private static string[] KEYWORD_TAGS = { "Xmp.dc.subject", - "Iptc.Application2.Keywords" + "Iptc.Application2.Keywords", + "Xmp.xmp.Label" }; private static HierarchicalKeywordField[] HIERARCHICAL_KEYWORD_TAGS = { // Xmp.lr.hierarchicalSubject should be writeable but isn't due to this bug // in libexiv2: http://dev.exiv2.org/issues/784 new HierarchicalKeywordField("Xmp.lr.hierarchicalSubject", "|", false, false), + new HierarchicalKeywordField("Xmp.acdsee.keywords", "|", false, false), + new HierarchicalKeywordField("Xmp.acdsee.categories", "|", false, false, + new ACDSeeKeywordTransformer ()), new HierarchicalKeywordField("Xmp.digiKam.TagsList", "/", false, true), new HierarchicalKeywordField("Xmp.MicrosoftPhoto.LastKeywordXMP", "/", false, true) }; @@ -960,9 +1084,22 @@ public class PhotoMetadata : MediaMetadata { if (values == null || values.size < 1) continue; + + var transformed_values = new Gee.ArrayList<string> (); + foreach (var current_value in values) { + try { + var transformed = field.transformer.transform (current_value); + transformed_values.add_all (transformed); + } catch (Error error) { + critical ("Failed to transform tag value %s: %s", + current_value, + error.message); + } + } - foreach (string current_value in values) { - string? canonicalized = HierarchicalTagUtilities.canonicalize(current_value, + foreach (var current_value in transformed_values) { + string? canonicalized = + HierarchicalTagUtilities.canonicalize(current_value, field.path_separator); if (canonicalized != null) @@ -1090,7 +1227,8 @@ public class PhotoMetadata : MediaMetadata { private static string[] ARTIST_TAGS = { "Exif.Image.Artist", - "Exif.Canon.OwnerName" // Custom tag used by Canon DSLR cameras + "Exif.Canon.OwnerName", // Custom tag used by Canon DSLR cameras + "Xmp.acdsee.author" // Custom tag used by ACDSEE software }; public string? get_artist() { @@ -1129,7 +1267,8 @@ public class PhotoMetadata : MediaMetadata { "Xmp.xmp.Rating", "Iptc.Application2.Urgency", "Xmp.photoshop.Urgency", - "Exif.Image.Rating" + "Exif.Image.Rating", + "Xmp.acdsee.rating", }; public Rating get_rating() { diff --git a/src/photos/RawSupport.c b/src/photos/RawSupport.c index 14d1fbe..ae5875d 100644 --- a/src/photos/RawSupport.c +++ b/src/photos/RawSupport.c @@ -1745,7 +1745,7 @@ static DetectedPhotoInformation* raw_sniffer_real_sniff (PhotoFileSniffer* base, #line 176 "/home/jens/Source/shotwell/src/photos/RawSupport.vala" if (_inner_error_->domain == GRAW_EXCEPTION) { #line 1748 "RawSupport.c" - goto __catch29_graw_exception; + goto __catch30_graw_exception; } #line 176 "/home/jens/Source/shotwell/src/photos/RawSupport.vala" _graw_processor_unref0 (processor); @@ -1768,7 +1768,7 @@ static DetectedPhotoInformation* raw_sniffer_real_sniff (PhotoFileSniffer* base, #line 177 "/home/jens/Source/shotwell/src/photos/RawSupport.vala" if (_inner_error_->domain == GRAW_EXCEPTION) { #line 1771 "RawSupport.c" - goto __catch29_graw_exception; + goto __catch30_graw_exception; } #line 177 "/home/jens/Source/shotwell/src/photos/RawSupport.vala" _graw_processor_unref0 (processor); @@ -1791,7 +1791,7 @@ static DetectedPhotoInformation* raw_sniffer_real_sniff (PhotoFileSniffer* base, #line 178 "/home/jens/Source/shotwell/src/photos/RawSupport.vala" if (_inner_error_->domain == GRAW_EXCEPTION) { #line 1794 "RawSupport.c" - goto __catch29_graw_exception; + goto __catch30_graw_exception; } #line 178 "/home/jens/Source/shotwell/src/photos/RawSupport.vala" _graw_processor_unref0 (processor); @@ -1806,8 +1806,8 @@ static DetectedPhotoInformation* raw_sniffer_real_sniff (PhotoFileSniffer* base, #line 1807 "RawSupport.c" } } - goto __finally29; - __catch29_graw_exception: + goto __finally30; + __catch30_graw_exception: { GError* exception = NULL; GError* _tmp11_ = NULL; @@ -1848,9 +1848,9 @@ static DetectedPhotoInformation* raw_sniffer_real_sniff (PhotoFileSniffer* base, #line 183 "/home/jens/Source/shotwell/src/photos/RawSupport.vala" _g_error_free0 (exception); #line 1851 "RawSupport.c" - goto __finally29; + goto __finally30; } - __finally29: + __finally30: #line 175 "/home/jens/Source/shotwell/src/photos/RawSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 175 "/home/jens/Source/shotwell/src/photos/RawSupport.vala" @@ -1921,7 +1921,7 @@ static DetectedPhotoInformation* raw_sniffer_real_sniff (PhotoFileSniffer* base, #line 193 "/home/jens/Source/shotwell/src/photos/RawSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1924 "RawSupport.c" - goto __catch30_g_error; + goto __catch31_g_error; } #line 193 "/home/jens/Source/shotwell/src/photos/RawSupport.vala" _tmp32_ = detected; @@ -1937,8 +1937,8 @@ static DetectedPhotoInformation* raw_sniffer_real_sniff (PhotoFileSniffer* base, _media_metadata_unref0 (_tmp29_); #line 1939 "RawSupport.c" } - goto __finally30; - __catch30_g_error: + goto __finally31; + __catch31_g_error: { GError* err = NULL; #line 192 "/home/jens/Source/shotwell/src/photos/RawSupport.vala" @@ -1949,7 +1949,7 @@ static DetectedPhotoInformation* raw_sniffer_real_sniff (PhotoFileSniffer* base, _g_error_free0 (err); #line 1951 "RawSupport.c" } - __finally30: + __finally31: #line 192 "/home/jens/Source/shotwell/src/photos/RawSupport.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 192 "/home/jens/Source/shotwell/src/photos/RawSupport.vala" diff --git a/src/plugins/ManifestWidget.c b/src/plugins/ManifestWidget.c index fdc843c..486c98c 100644 --- a/src/plugins/ManifestWidget.c +++ b/src/plugins/ManifestWidget.c @@ -1430,7 +1430,7 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type #line 180 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1433 "ManifestWidget.c" - goto __catch33_g_error; + goto __catch34_g_error; } #line 180 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala" _tmp53_ = _tmp50_; @@ -1444,8 +1444,8 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type _g_object_unref0 (_tmp50_); #line 1446 "ManifestWidget.c" } - goto __finally33; - __catch33_g_error: + goto __finally34; + __catch34_g_error: { GError* err = NULL; PluginsExtensionPoint* _tmp54_ = NULL; @@ -1473,7 +1473,7 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type _g_error_free0 (err); #line 1475 "ManifestWidget.c" } - __finally33: + __finally34: #line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala" diff --git a/src/plugins/Plugins.c b/src/plugins/Plugins.c index 4928cf4..f5c638c 100644 --- a/src/plugins/Plugins.c +++ b/src/plugins/Plugins.c @@ -1894,11 +1894,11 @@ void plugins_init (GError** error) { #line 133 "/home/jens/Source/shotwell/src/plugins/Plugins.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1896 "Plugins.c" - goto __catch31_g_error; + goto __catch32_g_error; } } - goto __finally31; - __catch31_g_error: + goto __finally32; + __catch32_g_error: { GError* err = NULL; GFile* _tmp13_ = NULL; @@ -1928,7 +1928,7 @@ void plugins_init (GError** error) { _g_error_free0 (err); #line 1929 "Plugins.c" } - __finally31: + __finally32: #line 132 "/home/jens/Source/shotwell/src/plugins/Plugins.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 132 "/home/jens/Source/shotwell/src/plugins/Plugins.vala" @@ -3691,7 +3691,7 @@ void plugins_search_for_plugins (GFile* dir, GError** error) { #line 316 "/home/jens/Source/shotwell/src/plugins/Plugins.vala" _tmp2_ = _tmp1_; #line 316 "/home/jens/Source/shotwell/src/plugins/Plugins.vala" - g_debug ("Plugins.vala:316: Searching %s for plugins ...", _tmp2_); + g_debug ("Plugins.vala:316: Searching %s for plugins…", _tmp2_); #line 316 "/home/jens/Source/shotwell/src/plugins/Plugins.vala" _g_free0 (_tmp2_); #line 320 "/home/jens/Source/shotwell/src/plugins/Plugins.vala" @@ -3801,11 +3801,11 @@ void plugins_search_for_plugins (GFile* dir, GError** error) { #line 335 "/home/jens/Source/shotwell/src/plugins/Plugins.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 3803 "Plugins.c" - goto __catch32_g_error; + goto __catch33_g_error; } } - goto __finally32; - __catch32_g_error: + goto __finally33; + __catch33_g_error: { GError* err = NULL; GFile* _tmp18_ = NULL; @@ -3835,7 +3835,7 @@ void plugins_search_for_plugins (GFile* dir, GError** error) { _g_error_free0 (err); #line 3836 "Plugins.c" } - __finally32: + __finally33: #line 334 "/home/jens/Source/shotwell/src/plugins/Plugins.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 334 "/home/jens/Source/shotwell/src/plugins/Plugins.vala" diff --git a/src/plugins/Plugins.vala b/src/plugins/Plugins.vala index 0e03f67..5f6613c 100644 --- a/src/plugins/Plugins.vala +++ b/src/plugins/Plugins.vala @@ -313,7 +313,7 @@ private bool is_shared_library(File file) { } private void search_for_plugins(File dir) throws Error { - debug("Searching %s for plugins ...", dir.get_path()); + debug("Searching %s for plugins…", dir.get_path()); // build a set of module names sans file extension ... this is to deal with the question of // .so vs. .la existing in the same directory (and letting GModule deal with the problem) diff --git a/src/publishing/APIGlue.c b/src/publishing/APIGlue.c index bce21cd..92b9412 100644 --- a/src/publishing/APIGlue.c +++ b/src/publishing/APIGlue.c @@ -416,11 +416,11 @@ void publishing_glue_media_source_publishable_wrapper_clean_up (PublishingGlueMe #line 27 "/home/jens/Source/shotwell/src/publishing/APIGlue.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 419 "APIGlue.c" - goto __catch35_g_error; + goto __catch36_g_error; } } - goto __finally35; - __catch35_g_error: + goto __finally36; + __catch36_g_error: { GError* err = NULL; GFile* _tmp5_ = NULL; @@ -444,7 +444,7 @@ void publishing_glue_media_source_publishable_wrapper_clean_up (PublishingGlueMe _g_error_free0 (err); #line 446 "APIGlue.c" } - __finally35: + __finally36: #line 26 "/home/jens/Source/shotwell/src/publishing/APIGlue.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 26 "/home/jens/Source/shotwell/src/publishing/APIGlue.vala" @@ -692,11 +692,11 @@ GFile* publishing_glue_media_source_publishable_wrapper_serialize_for_publishing #line 60 "/home/jens/Source/shotwell/src/publishing/APIGlue.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 694 "APIGlue.c" - goto __catch36_g_error; + goto __catch37_g_error; } } - goto __finally36; - __catch36_g_error: + goto __finally37; + __catch37_g_error: { GError* err = NULL; LibraryPhoto* _tmp25_ = NULL; @@ -725,9 +725,9 @@ GFile* publishing_glue_media_source_publishable_wrapper_serialize_for_publishing #line 62 "/home/jens/Source/shotwell/src/publishing/APIGlue.vala" _g_error_free0 (err); #line 727 "APIGlue.c" - goto __finally36; + goto __finally37; } - __finally36: + __finally37: #line 57 "/home/jens/Source/shotwell/src/publishing/APIGlue.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 57 "/home/jens/Source/shotwell/src/publishing/APIGlue.vala" @@ -882,11 +882,11 @@ GFile* publishing_glue_media_source_publishable_wrapper_serialize_for_publishing #line 80 "/home/jens/Source/shotwell/src/publishing/APIGlue.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 883 "APIGlue.c" - goto __catch37_g_error; + goto __catch38_g_error; } } - goto __finally37; - __catch37_g_error: + goto __finally38; + __catch38_g_error: { GError* err = NULL; Video* _tmp56_ = NULL; @@ -915,9 +915,9 @@ GFile* publishing_glue_media_source_publishable_wrapper_serialize_for_publishing #line 82 "/home/jens/Source/shotwell/src/publishing/APIGlue.vala" _g_error_free0 (err); #line 916 "APIGlue.c" - goto __finally37; + goto __finally38; } - __finally37: + __finally38: #line 79 "/home/jens/Source/shotwell/src/publishing/APIGlue.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 79 "/home/jens/Source/shotwell/src/publishing/APIGlue.vala" diff --git a/src/publishing/PublishingPluginHost.c b/src/publishing/PublishingPluginHost.c index dd04855..6e24dc1 100644 --- a/src/publishing/PublishingPluginHost.c +++ b/src/publishing/PublishingPluginHost.c @@ -618,7 +618,7 @@ static void spit_publishing_concrete_publishing_host_real_post_error (SpitPublis #line 80 "/home/jens/Source/shotwell/src/publishing/PublishingPluginHost.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, SPIT_PUBLISHING_TYPE_CONCRETE_PUBLISHING_HOST, SpitPublishingConcretePublishingHost); #line 81 "/home/jens/Source/shotwell/src/publishing/PublishingPluginHost.vala" - _tmp0_ = _ ("Publishing to %s can't continue because an error occurred:"); + _tmp0_ = _ ("Publishing to %s can’t continue because an error occurred:"); #line 81 "/home/jens/Source/shotwell/src/publishing/PublishingPluginHost.vala" _tmp1_ = self->priv->active_publisher; #line 81 "/home/jens/Source/shotwell/src/publishing/PublishingPluginHost.vala" @@ -1273,7 +1273,7 @@ static SpitPublishingProgressCallback spit_publishing_concrete_publishing_host_r #line 215 "/home/jens/Source/shotwell/src/publishing/PublishingPluginHost.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 1272 "PublishingPluginHost.c" - goto __catch34_spit_publishing_publishing_error; + goto __catch35_spit_publishing_publishing_error; } #line 215 "/home/jens/Source/shotwell/src/publishing/PublishingPluginHost.vala" _g_object_unref0 (wrapper); @@ -1293,8 +1293,8 @@ static SpitPublishingProgressCallback spit_publishing_concrete_publishing_host_r _g_object_unref0 (wrapper); #line 1291 "PublishingPluginHost.c" } - goto __finally34; - __catch34_spit_publishing_publishing_error: + goto __finally35; + __catch35_spit_publishing_publishing_error: { GError* err = NULL; GError* _tmp16_ = NULL; @@ -1331,7 +1331,7 @@ static SpitPublishingProgressCallback spit_publishing_concrete_publishing_host_r return result; #line 1329 "PublishingPluginHost.c" } - __finally34: + __finally35: #line 212 "/home/jens/Source/shotwell/src/publishing/PublishingPluginHost.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 212 "/home/jens/Source/shotwell/src/publishing/PublishingPluginHost.vala" diff --git a/src/publishing/PublishingPluginHost.vala b/src/publishing/PublishingPluginHost.vala index fed3802..ca935ab 100644 --- a/src/publishing/PublishingPluginHost.vala +++ b/src/publishing/PublishingPluginHost.vala @@ -78,7 +78,7 @@ public class ConcretePublishingHost : Plugins.StandardHostInterface, } public void post_error(Error err) { - string msg = _("Publishing to %s can't continue because an error occurred:").printf( + string msg = _("Publishing to %s can’t continue because an error occurred:").printf( active_publisher.get_service().get_pluggable_name()); msg += GLib.Markup.printf_escaped("\n\n<i>%s</i>\n\n", err.message); msg += _("To try publishing to another service, select one from the above menu."); diff --git a/src/publishing/PublishingUI.c b/src/publishing/PublishingUI.c index 53471cd..a057694 100644 --- a/src/publishing/PublishingUI.c +++ b/src/publishing/PublishingUI.c @@ -1213,7 +1213,7 @@ PublishingUIAccountFetchWaitPane* publishing_ui_account_fetch_wait_pane_construc PublishingUIAccountFetchWaitPane * self = NULL; const gchar* _tmp0_ = NULL; #line 122 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala" - _tmp0_ = _ ("Fetching account information..."); + _tmp0_ = _ ("Fetching account information…"); #line 122 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala" self = (PublishingUIAccountFetchWaitPane*) publishing_ui_static_message_pane_construct (object_type, _tmp0_, FALSE); #line 121 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala" @@ -1256,7 +1256,7 @@ PublishingUILoginWaitPane* publishing_ui_login_wait_pane_construct (GType object PublishingUILoginWaitPane * self = NULL; const gchar* _tmp0_ = NULL; #line 128 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala" - _tmp0_ = _ ("Logging in..."); + _tmp0_ = _ ("Logging in…"); #line 128 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala" self = (PublishingUILoginWaitPane*) publishing_ui_static_message_pane_construct (object_type, _tmp0_, FALSE); #line 127 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala" diff --git a/src/publishing/PublishingUI.vala b/src/publishing/PublishingUI.vala index f1e4ce6..c0c3a34 100644 --- a/src/publishing/PublishingUI.vala +++ b/src/publishing/PublishingUI.vala @@ -119,13 +119,13 @@ public class SuccessPane : StaticMessagePane { public class AccountFetchWaitPane : StaticMessagePane { public AccountFetchWaitPane() { - base(_("Fetching account information...")); + base(_("Fetching account information…")); } } public class LoginWaitPane : StaticMessagePane { public LoginWaitPane() { - base(_("Logging in...")); + base(_("Logging in…")); } } diff --git a/src/searches/Branch.c b/src/searches/Branch.c index 2e6e87f..7a2a970 100644 --- a/src/searches/Branch.c +++ b/src/searches/Branch.c @@ -1087,7 +1087,7 @@ static void searches_header_setup_context_menu (SearchesHeader* self) { #line 76 "/home/jens/Source/shotwell/src/searches/Branch.vala" new_search = _tmp2_; #line 77 "/home/jens/Source/shotwell/src/searches/Branch.vala" - _tmp3_ = _ ("Ne_w Saved Search..."); + _tmp3_ = _ ("Ne_w Saved Search…"); #line 77 "/home/jens/Source/shotwell/src/searches/Branch.vala" new_search.label = _tmp3_; #line 78 "/home/jens/Source/shotwell/src/searches/Branch.vala" @@ -1130,11 +1130,11 @@ static void searches_header_setup_context_menu (SearchesHeader* self) { #line 85 "/home/jens/Source/shotwell/src/searches/Branch.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1133 "Branch.c" - goto __catch73_g_error; + goto __catch74_g_error; } } - goto __finally73; - __catch73_g_error: + goto __finally74; + __catch74_g_error: { GError* err = NULL; gchar* _tmp12_ = NULL; @@ -1179,7 +1179,7 @@ static void searches_header_setup_context_menu (SearchesHeader* self) { _g_error_free0 (err); #line 1181 "Branch.c" } - __finally73: + __finally74: #line 84 "/home/jens/Source/shotwell/src/searches/Branch.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 84 "/home/jens/Source/shotwell/src/searches/Branch.vala" diff --git a/src/searches/Branch.vala b/src/searches/Branch.vala index b8ed334..0c86733 100644 --- a/src/searches/Branch.vala +++ b/src/searches/Branch.vala @@ -74,7 +74,7 @@ public class Searches.Header : Sidebar.Header, Sidebar.Contextable { Gtk.ActionEntry[] actions = new Gtk.ActionEntry[0]; Gtk.ActionEntry new_search = { "CommonNewSearch", null, TRANSLATABLE, null, null, on_new_search }; - new_search.label = _("Ne_w Saved Search..."); + new_search.label = _("Ne_w Saved Search…"); actions += new_search; group.add_actions(actions, this); diff --git a/src/searches/SavedSearchPage.c b/src/searches/SavedSearchPage.c index b55e498..2b40a55 100644 --- a/src/searches/SavedSearchPage.c +++ b/src/searches/SavedSearchPage.c @@ -825,8 +825,8 @@ SavedSearchDialog* saved_search_dialog_construct_edit_existing (GType object_typ void saved_search_dialog_show (SavedSearchDialog* self); static void saved_search_page_real_update_actions (Page* base, gint selected_count, gint count); void page_set_action_details (Page* self, const gchar* name, const gchar* label, const gchar* tooltip, gboolean sensitive); -#define RESOURCES_RENAME_SEARCH_MENU _ ("Re_name...") -#define RESOURCES_EDIT_SEARCH_MENU _ ("_Edit...") +#define RESOURCES_RENAME_SEARCH_MENU _ ("Re_name…") +#define RESOURCES_EDIT_SEARCH_MENU _ ("_Edit…") #define RESOURCES_DELETE_SEARCH_MENU _ ("_Delete") void page_update_actions (Page* self, gint selected_count, gint count); static void saved_search_page_finalize (GObject* obj); diff --git a/src/searches/SearchBoolean.c b/src/searches/SearchBoolean.c index 0490d60..4918ae1 100644 --- a/src/searches/SearchBoolean.c +++ b/src/searches/SearchBoolean.c @@ -5691,7 +5691,7 @@ void saved_search_reconstitute (SavedSearch* self) { #line 847 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 5684 "SearchBoolean.c" - goto __catch74_database_error; + goto __catch75_database_error; } #line 847 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" 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); @@ -5707,8 +5707,8 @@ void saved_search_reconstitute (SavedSearch* self) { _tmp6_->search_id = _tmp0_; #line 5699 "SearchBoolean.c" } - goto __finally74; - __catch74_database_error: + goto __finally75; + __catch75_database_error: { GError* err = NULL; GError* _tmp7_ = NULL; @@ -5724,7 +5724,7 @@ void saved_search_reconstitute (SavedSearch* self) { _g_error_free0 (err); #line 5716 "SearchBoolean.c" } - __finally74: + __finally75: #line 846 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 846 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" @@ -5835,7 +5835,7 @@ gboolean saved_search_rename (SavedSearch* self, const gchar* new_name) { #line 865 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 5828 "SearchBoolean.c" - goto __catch75_database_error; + goto __catch76_database_error; } #line 865 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" 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); @@ -5846,8 +5846,8 @@ gboolean saved_search_rename (SavedSearch* self, const gchar* new_name) { #line 5837 "SearchBoolean.c" } } - goto __finally75; - __catch75_database_error: + goto __finally76; + __catch76_database_error: { GError* err = NULL; GError* _tmp12_ = NULL; @@ -5867,7 +5867,7 @@ gboolean saved_search_rename (SavedSearch* self, const gchar* new_name) { return result; #line 5859 "SearchBoolean.c" } - __finally75: + __finally76: #line 864 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 864 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" @@ -6041,7 +6041,7 @@ static SavedSearchTable* saved_search_table_construct (GType object_type) { #line 900 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 6034 "SearchBoolean.c" - goto __catch76_database_error; + goto __catch77_database_error; } #line 900 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" 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); @@ -6132,8 +6132,8 @@ static SavedSearchTable* saved_search_table_construct (GType object_type) { _g_object_unref0 (_tmp0_); #line 6124 "SearchBoolean.c" } - goto __finally76; - __catch76_database_error: + goto __finally77; + __catch77_database_error: { GError* err = NULL; GError* _tmp18_ = NULL; @@ -6149,7 +6149,7 @@ static SavedSearchTable* saved_search_table_construct (GType object_type) { _g_error_free0 (err); #line 6141 "SearchBoolean.c" } - __finally76: + __finally77: #line 899 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 899 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" @@ -6282,7 +6282,7 @@ SavedSearch* saved_search_table_create (SavedSearchTable* self, const gchar* nam #line 926 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 6275 "SearchBoolean.c" - goto __catch77_database_error; + goto __catch78_database_error; } #line 926 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" _g_object_unref0 (search); @@ -6304,8 +6304,8 @@ SavedSearch* saved_search_table_create (SavedSearchTable* self, const gchar* nam _saved_search_row_unref0 (_tmp0_); #line 6296 "SearchBoolean.c" } - goto __finally77; - __catch77_database_error: + goto __finally78; + __catch78_database_error: { GError* err = NULL; GError* _tmp9_ = NULL; @@ -6321,7 +6321,7 @@ SavedSearch* saved_search_table_create (SavedSearchTable* self, const gchar* nam _g_error_free0 (err); #line 6313 "SearchBoolean.c" } - __finally77: + __finally78: #line 925 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 925 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" @@ -6386,7 +6386,7 @@ void saved_search_table_remove (SavedSearchTable* self, SavedSearch* search) { #line 940 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" if (_inner_error_->domain == DATABASE_ERROR) { #line 6379 "SearchBoolean.c" - goto __catch78_database_error; + goto __catch79_database_error; } #line 940 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" 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); @@ -6397,8 +6397,8 @@ void saved_search_table_remove (SavedSearchTable* self, SavedSearch* search) { #line 6388 "SearchBoolean.c" } } - goto __finally78; - __catch78_database_error: + goto __finally79; + __catch79_database_error: { GError* err = NULL; GError* _tmp4_ = NULL; @@ -6414,7 +6414,7 @@ void saved_search_table_remove (SavedSearchTable* self, SavedSearch* search) { _g_error_free0 (err); #line 6406 "SearchBoolean.c" } - __finally78: + __finally79: #line 939 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 939 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala" diff --git a/src/sidebar/Tree.c b/src/sidebar/Tree.c index c18f988..d3725be 100644 --- a/src/sidebar/Tree.c +++ b/src/sidebar/Tree.c @@ -1291,7 +1291,7 @@ static void sidebar_tree_setup_default_context_menu (SidebarTree* self) { #line 198 "/home/jens/Source/shotwell/src/sidebar/Tree.vala" new_search = _tmp2_; #line 199 "/home/jens/Source/shotwell/src/sidebar/Tree.vala" - _tmp3_ = _ ("Ne_w Saved Search..."); + _tmp3_ = _ ("Ne_w Saved Search…"); #line 199 "/home/jens/Source/shotwell/src/sidebar/Tree.vala" new_search.label = _tmp3_; #line 200 "/home/jens/Source/shotwell/src/sidebar/Tree.vala" @@ -1317,7 +1317,7 @@ static void sidebar_tree_setup_default_context_menu (SidebarTree* self) { #line 202 "/home/jens/Source/shotwell/src/sidebar/Tree.vala" new_tag = _tmp6_; #line 203 "/home/jens/Source/shotwell/src/sidebar/Tree.vala" - _tmp7_ = _ ("New _Tag..."); + _tmp7_ = _ ("New _Tag…"); #line 203 "/home/jens/Source/shotwell/src/sidebar/Tree.vala" new_tag.label = _tmp7_; #line 204 "/home/jens/Source/shotwell/src/sidebar/Tree.vala" @@ -1360,11 +1360,11 @@ static void sidebar_tree_setup_default_context_menu (SidebarTree* self) { #line 211 "/home/jens/Source/shotwell/src/sidebar/Tree.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1363 "Tree.c" - goto __catch48_g_error; + goto __catch49_g_error; } } - goto __finally48; - __catch48_g_error: + goto __finally49; + __catch49_g_error: { GError* err = NULL; gchar* _tmp16_ = NULL; @@ -1409,7 +1409,7 @@ static void sidebar_tree_setup_default_context_menu (SidebarTree* self) { _g_error_free0 (err); #line 1411 "Tree.c" } - __finally48: + __finally49: #line 210 "/home/jens/Source/shotwell/src/sidebar/Tree.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 210 "/home/jens/Source/shotwell/src/sidebar/Tree.vala" diff --git a/src/sidebar/Tree.vala b/src/sidebar/Tree.vala index f32f87f..0fd9144 100644 --- a/src/sidebar/Tree.vala +++ b/src/sidebar/Tree.vala @@ -196,11 +196,11 @@ public class Sidebar.Tree : Gtk.TreeView { Gtk.ActionEntry[] actions = new Gtk.ActionEntry[0]; Gtk.ActionEntry new_search = { "CommonNewSearch", null, TRANSLATABLE, null, null, on_new_search }; - new_search.label = _("Ne_w Saved Search..."); + new_search.label = _("Ne_w Saved Search…"); actions += new_search; Gtk.ActionEntry new_tag = { "CommonNewTag", null, TRANSLATABLE, null, null, on_new_tag }; - new_tag.label = _("New _Tag..."); + new_tag.label = _("New _Tag…"); actions += new_tag; group.add_actions(actions, this); diff --git a/src/tags/Branch.c b/src/tags/Branch.c index 20ba882..a36626e 100644 --- a/src/tags/Branch.c +++ b/src/tags/Branch.c @@ -1810,11 +1810,11 @@ static void tags_header_setup_context_menu (TagsHeader* self) { #line 148 "/home/jens/Source/shotwell/src/tags/Branch.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1813 "Branch.c" - goto __catch51_g_error; + goto __catch52_g_error; } } - goto __finally51; - __catch51_g_error: + goto __finally52; + __catch52_g_error: { GError* err = NULL; gchar* _tmp11_ = NULL; @@ -1859,7 +1859,7 @@ static void tags_header_setup_context_menu (TagsHeader* self) { _g_error_free0 (err); #line 1861 "Branch.c" } - __finally51: + __finally52: #line 147 "/home/jens/Source/shotwell/src/tags/Branch.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 147 "/home/jens/Source/shotwell/src/tags/Branch.vala" @@ -2454,7 +2454,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 2457 "Branch.c" - goto __catch52_g_regex_error; + goto __catch53_g_regex_error; } #line 1382 "/usr/share/vala-0.34/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); @@ -2479,7 +2479,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 2482 "Branch.c" - goto __catch52_g_regex_error; + goto __catch53_g_regex_error; } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); @@ -2505,8 +2505,8 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* return result; #line 2507 "Branch.c" } - goto __finally52; - __catch52_g_regex_error: + goto __finally53; + __catch53_g_regex_error: { GError* e = NULL; #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -2519,7 +2519,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_error_free0 (e); #line 2521 "Branch.c" } - __finally52: + __finally53: #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" diff --git a/src/tags/HierarchicalTagUtilities.c b/src/tags/HierarchicalTagUtilities.c index 1f9b2de..bc4b608 100644 --- a/src/tags/HierarchicalTagUtilities.c +++ b/src/tags/HierarchicalTagUtilities.c @@ -252,7 +252,7 @@ gchar* hierarchical_tag_utilities_flat_to_hierarchical (const gchar* name) { /** * converts a hierarchical tag path 'path' (e.g., "/Animals") to a flat tag name * (e.g., "Animals"); if 'path' is already a flat tag name, 'path' is returned untouched; note - * that 'path' must be a top-level path (i.e., "/Animals" not "/Animals/Mammals/...") with + * that 'path' must be a top-level path (i.e., "/Animals" not "/Animals/Mammals/…") with * only one path component; invoking this method with a 'path' argument other than a top-level * path will cause an assertion failure. */ @@ -1311,7 +1311,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 1314 "HierarchicalTagUtilities.c" - goto __catch53_g_regex_error; + goto __catch54_g_regex_error; } #line 1382 "/usr/share/vala-0.34/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); @@ -1336,7 +1336,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { #line 1339 "HierarchicalTagUtilities.c" - goto __catch53_g_regex_error; + goto __catch54_g_regex_error; } #line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); @@ -1362,8 +1362,8 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* return result; #line 1364 "HierarchicalTagUtilities.c" } - goto __finally53; - __catch53_g_regex_error: + goto __finally54; + __catch54_g_regex_error: { GError* e = NULL; #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -1376,7 +1376,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_error_free0 (e); #line 1378 "HierarchicalTagUtilities.c" } - __finally53: + __finally54: #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" diff --git a/src/tags/HierarchicalTagUtilities.vala b/src/tags/HierarchicalTagUtilities.vala index bbb556b..3fca3ca 100644 --- a/src/tags/HierarchicalTagUtilities.vala +++ b/src/tags/HierarchicalTagUtilities.vala @@ -21,7 +21,7 @@ class HierarchicalTagUtilities { /** * converts a hierarchical tag path 'path' (e.g., "/Animals") to a flat tag name * (e.g., "Animals"); if 'path' is already a flat tag name, 'path' is returned untouched; note - * that 'path' must be a top-level path (i.e., "/Animals" not "/Animals/Mammals/...") with + * that 'path' must be a top-level path (i.e., "/Animals" not "/Animals/Mammals/…") with * only one path component; invoking this method with a 'path' argument other than a top-level * path will cause an assertion failure. */ diff --git a/src/tags/TagPage.c b/src/tags/TagPage.c index c2cb74f..54af84d 100644 --- a/src/tags/TagPage.c +++ b/src/tags/TagPage.c @@ -691,7 +691,7 @@ static void _tag_page_on_remove_tag_from_photos_gtk_action_callback (GtkAction* static void _vala_array_add136 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_DELETE_TAG_SIDEBAR_MENU _ ("_Delete") static void _vala_array_add137 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); -#define RESOURCES_RENAME_TAG_SIDEBAR_MENU _ ("_Rename...") +#define RESOURCES_RENAME_TAG_SIDEBAR_MENU _ ("_Rename…") static void _vala_array_add138 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value); #define RESOURCES_NEW_CHILD_TAG_SIDEBAR_MENU _ ("_New") static void tag_page_on_new_child_tag_sidebar (TagPage* self); diff --git a/src/util/image.c b/src/util/image.c index 36c03ad..ab08347 100644 --- a/src/util/image.c +++ b/src/util/image.c @@ -160,23 +160,22 @@ const gchar* fallback_image_missing[103] = {"48 48 54 1 ", " c #6A6D67", ". c # gboolean is_color_parsable (const gchar* spec) { gboolean result = FALSE; - GdkColor color = {0}; + GdkRGBA color = {0}; const gchar* _tmp0_ = NULL; - GdkColor _tmp1_ = {0}; - gboolean _tmp2_ = FALSE; + gboolean _tmp1_ = FALSE; #line 117 "/home/jens/Source/shotwell/src/util/image.vala" g_return_val_if_fail (spec != NULL, FALSE); +#line 118 "/home/jens/Source/shotwell/src/util/image.vala" + memset (&color, 0, sizeof (GdkRGBA)); #line 119 "/home/jens/Source/shotwell/src/util/image.vala" _tmp0_ = spec; #line 119 "/home/jens/Source/shotwell/src/util/image.vala" - _tmp2_ = gdk_color_parse (_tmp0_, &_tmp1_); -#line 119 "/home/jens/Source/shotwell/src/util/image.vala" - color = _tmp1_; + _tmp1_ = gdk_rgba_parse (&color, _tmp0_); #line 119 "/home/jens/Source/shotwell/src/util/image.vala" - result = _tmp2_; + result = _tmp1_; #line 119 "/home/jens/Source/shotwell/src/util/image.vala" return result; -#line 180 "image.c" +#line 179 "image.c" } @@ -193,7 +192,7 @@ void parse_color (const gchar* spec, GdkRGBA* result) { *result = _tmp1_; #line 123 "/home/jens/Source/shotwell/src/util/image.vala" return; -#line 197 "image.c" +#line 196 "image.c" } @@ -211,19 +210,19 @@ void fetch_color (const gchar* spec, GdkRGBA* result) { _tmp1_ = gdk_rgba_parse (&rgba, _tmp0_); #line 128 "/home/jens/Source/shotwell/src/util/image.vala" if (!_tmp1_) { -#line 215 "image.c" +#line 214 "image.c" const gchar* _tmp2_ = NULL; #line 129 "/home/jens/Source/shotwell/src/util/image.vala" _tmp2_ = spec; #line 129 "/home/jens/Source/shotwell/src/util/image.vala" g_error ("image.vala:129: Can't parse color %s", _tmp2_); -#line 221 "image.c" +#line 220 "image.c" } #line 131 "/home/jens/Source/shotwell/src/util/image.vala" *result = rgba; #line 131 "/home/jens/Source/shotwell/src/util/image.vala" return; -#line 227 "image.c" +#line 226 "image.c" } @@ -270,14 +269,14 @@ void set_source_color_from_string (cairo_t* ctx, const gchar* spec) { _tmp10_ = _tmp9_.alpha; #line 136 "/home/jens/Source/shotwell/src/util/image.vala" cairo_set_source_rgba (_tmp2_, _tmp4_, _tmp6_, _tmp8_, _tmp10_); -#line 274 "image.c" +#line 273 "image.c" } static gpointer _g_object_ref0 (gpointer self) { #line 147 "/home/jens/Source/shotwell/src/util/image.vala" return self ? g_object_ref (self) : NULL; -#line 281 "image.c" +#line 280 "image.c" } @@ -287,7 +286,7 @@ GdkPixbuf* get_placeholder_pixbuf (void) { GError * _inner_error_ = NULL; #line 144 "/home/jens/Source/shotwell/src/util/image.vala" pixbuf = NULL; -#line 291 "image.c" +#line 290 "image.c" { GtkIconTheme* icon_theme = NULL; GtkIconTheme* _tmp0_ = NULL; @@ -309,7 +308,7 @@ GdkPixbuf* get_placeholder_pixbuf (void) { if (G_UNLIKELY (_inner_error_ != NULL)) { #line 148 "/home/jens/Source/shotwell/src/util/image.vala" _g_object_unref0 (icon_theme); -#line 313 "image.c" +#line 312 "image.c" goto __catch4_g_error; } #line 148 "/home/jens/Source/shotwell/src/util/image.vala" @@ -324,7 +323,7 @@ GdkPixbuf* get_placeholder_pixbuf (void) { _g_object_unref0 (_tmp2_); #line 146 "/home/jens/Source/shotwell/src/util/image.vala" _g_object_unref0 (icon_theme); -#line 328 "image.c" +#line 327 "image.c" } goto __finally4; __catch4_g_error: @@ -351,7 +350,7 @@ GdkPixbuf* get_placeholder_pixbuf (void) { g_warning ("image.vala:152: Could not load icon from theme: %s", _tmp7_); #line 146 "/home/jens/Source/shotwell/src/util/image.vala" _g_error_free0 (_error_); -#line 355 "image.c" +#line 354 "image.c" } __finally4: #line 146 "/home/jens/Source/shotwell/src/util/image.vala" @@ -364,13 +363,13 @@ GdkPixbuf* get_placeholder_pixbuf (void) { g_clear_error (&_inner_error_); #line 146 "/home/jens/Source/shotwell/src/util/image.vala" return NULL; -#line 368 "image.c" +#line 367 "image.c" } #line 155 "/home/jens/Source/shotwell/src/util/image.vala" result = pixbuf; #line 155 "/home/jens/Source/shotwell/src/util/image.vala" return result; -#line 374 "image.c" +#line 373 "image.c" } @@ -422,7 +421,7 @@ GdkPixbuf* scale_pixbuf (GdkPixbuf* pixbuf, gint scale, GdkInterpType interp, gb _tmp9_ = _tmp8_.width; #line 161 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp7_ == _tmp9_) { -#line 426 "image.c" +#line 425 "image.c" Dimensions _tmp10_ = {0}; gint _tmp11_ = 0; Dimensions _tmp12_ = {0}; @@ -437,15 +436,15 @@ GdkPixbuf* scale_pixbuf (GdkPixbuf* pixbuf, gint scale, GdkInterpType interp, gb _tmp13_ = _tmp12_.height; #line 161 "/home/jens/Source/shotwell/src/util/image.vala" _tmp5_ = _tmp11_ == _tmp13_; -#line 441 "image.c" +#line 440 "image.c" } else { #line 161 "/home/jens/Source/shotwell/src/util/image.vala" _tmp5_ = FALSE; -#line 445 "image.c" +#line 444 "image.c" } #line 161 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp5_) { -#line 449 "image.c" +#line 448 "image.c" GdkPixbuf* _tmp14_ = NULL; GdkPixbuf* _tmp15_ = NULL; #line 162 "/home/jens/Source/shotwell/src/util/image.vala" @@ -456,7 +455,7 @@ GdkPixbuf* scale_pixbuf (GdkPixbuf* pixbuf, gint scale, GdkInterpType interp, gb result = _tmp15_; #line 162 "/home/jens/Source/shotwell/src/util/image.vala" return result; -#line 460 "image.c" +#line 459 "image.c" } #line 165 "/home/jens/Source/shotwell/src/util/image.vala" dimensions_with_min (&scaled, MIN_SCALED_WIDTH, MIN_SCALED_HEIGHT, &_tmp16_); @@ -480,7 +479,7 @@ GdkPixbuf* scale_pixbuf (GdkPixbuf* pixbuf, gint scale, GdkInterpType interp, gb result = _tmp23_; #line 167 "/home/jens/Source/shotwell/src/util/image.vala" return result; -#line 484 "image.c" +#line 483 "image.c" } @@ -522,7 +521,7 @@ GdkPixbuf* resize_pixbuf (GdkPixbuf* pixbuf, Dimensions* resized, GdkInterpType _tmp6_ = _tmp5_.width; #line 172 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp4_ == _tmp6_) { -#line 526 "image.c" +#line 525 "image.c" Dimensions _tmp7_ = {0}; gint _tmp8_ = 0; Dimensions _tmp9_ = {0}; @@ -537,15 +536,15 @@ GdkPixbuf* resize_pixbuf (GdkPixbuf* pixbuf, Dimensions* resized, GdkInterpType _tmp10_ = _tmp9_.height; #line 172 "/home/jens/Source/shotwell/src/util/image.vala" _tmp2_ = _tmp8_ == _tmp10_; -#line 541 "image.c" +#line 540 "image.c" } else { #line 172 "/home/jens/Source/shotwell/src/util/image.vala" _tmp2_ = FALSE; -#line 545 "image.c" +#line 544 "image.c" } #line 172 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp2_) { -#line 549 "image.c" +#line 548 "image.c" GdkPixbuf* _tmp11_ = NULL; GdkPixbuf* _tmp12_ = NULL; #line 173 "/home/jens/Source/shotwell/src/util/image.vala" @@ -556,7 +555,7 @@ GdkPixbuf* resize_pixbuf (GdkPixbuf* pixbuf, Dimensions* resized, GdkInterpType result = _tmp12_; #line 173 "/home/jens/Source/shotwell/src/util/image.vala" return result; -#line 560 "image.c" +#line 559 "image.c" } #line 176 "/home/jens/Source/shotwell/src/util/image.vala" dimensions_with_min (resized, MIN_SCALED_WIDTH, MIN_SCALED_HEIGHT, &_tmp13_); @@ -580,7 +579,7 @@ GdkPixbuf* resize_pixbuf (GdkPixbuf* pixbuf, Dimensions* resized, GdkInterpType result = _tmp20_; #line 178 "/home/jens/Source/shotwell/src/util/image.vala" return result; -#line 584 "image.c" +#line 583 "image.c" } @@ -610,7 +609,7 @@ void draw_rounded_corners_filled (cairo_t* ctx, Dimensions* dim, GdkPoint* origi _tmp4_ = ctx; #line 186 "/home/jens/Source/shotwell/src/util/image.vala" cairo_paint (_tmp4_); -#line 614 "image.c" +#line 613 "image.c" } @@ -716,7 +715,7 @@ void context_rounded_corners (cairo_t* cx, Dimensions* dim, GdkPoint* origin, gd _tmp21_ = cx; #line 209 "/home/jens/Source/shotwell/src/util/image.vala" cairo_clip (_tmp21_); -#line 720 "image.c" +#line 719 "image.c" } @@ -735,7 +734,7 @@ inline guchar shift_color_byte (gint b, gint shift) { result = (guchar) _tmp2_; #line 213 "/home/jens/Source/shotwell/src/util/image.vala" return result; -#line 739 "image.c" +#line 738 "image.c" } @@ -774,17 +773,17 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph _tmp1_ = red; #line 217 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp1_ >= -255) { -#line 778 "image.c" +#line 777 "image.c" gint _tmp2_ = 0; #line 217 "/home/jens/Source/shotwell/src/util/image.vala" _tmp2_ = red; #line 217 "/home/jens/Source/shotwell/src/util/image.vala" _tmp0_ = _tmp2_ <= 255; -#line 784 "image.c" +#line 783 "image.c" } else { #line 217 "/home/jens/Source/shotwell/src/util/image.vala" _tmp0_ = FALSE; -#line 788 "image.c" +#line 787 "image.c" } #line 217 "/home/jens/Source/shotwell/src/util/image.vala" _vala_assert (_tmp0_, "red >= -255 && red <= 255"); @@ -792,17 +791,17 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph _tmp4_ = green; #line 218 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp4_ >= -255) { -#line 796 "image.c" +#line 795 "image.c" gint _tmp5_ = 0; #line 218 "/home/jens/Source/shotwell/src/util/image.vala" _tmp5_ = green; #line 218 "/home/jens/Source/shotwell/src/util/image.vala" _tmp3_ = _tmp5_ <= 255; -#line 802 "image.c" +#line 801 "image.c" } else { #line 218 "/home/jens/Source/shotwell/src/util/image.vala" _tmp3_ = FALSE; -#line 806 "image.c" +#line 805 "image.c" } #line 218 "/home/jens/Source/shotwell/src/util/image.vala" _vala_assert (_tmp3_, "green >= -255 && green <= 255"); @@ -810,17 +809,17 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph _tmp7_ = blue; #line 219 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp7_ >= -255) { -#line 814 "image.c" +#line 813 "image.c" gint _tmp8_ = 0; #line 219 "/home/jens/Source/shotwell/src/util/image.vala" _tmp8_ = blue; #line 219 "/home/jens/Source/shotwell/src/util/image.vala" _tmp6_ = _tmp8_ <= 255; -#line 820 "image.c" +#line 819 "image.c" } else { #line 219 "/home/jens/Source/shotwell/src/util/image.vala" _tmp6_ = FALSE; -#line 824 "image.c" +#line 823 "image.c" } #line 219 "/home/jens/Source/shotwell/src/util/image.vala" _vala_assert (_tmp6_, "blue >= -255 && blue <= 255"); @@ -828,17 +827,17 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph _tmp10_ = alpha; #line 220 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp10_ >= -255) { -#line 832 "image.c" +#line 831 "image.c" gint _tmp11_ = 0; #line 220 "/home/jens/Source/shotwell/src/util/image.vala" _tmp11_ = alpha; #line 220 "/home/jens/Source/shotwell/src/util/image.vala" _tmp9_ = _tmp11_ <= 255; -#line 838 "image.c" +#line 837 "image.c" } else { #line 220 "/home/jens/Source/shotwell/src/util/image.vala" _tmp9_ = FALSE; -#line 842 "image.c" +#line 841 "image.c" } #line 220 "/home/jens/Source/shotwell/src/util/image.vala" _vala_assert (_tmp9_, "alpha >= -255 && alpha <= 255"); @@ -888,19 +887,19 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph _tmp26_ = gdk_pixbuf_get_bits_per_sample (_tmp25_); #line 230 "/home/jens/Source/shotwell/src/util/image.vala" _vala_assert (_tmp26_ == 8, "pixbuf.get_bits_per_sample() == 8"); -#line 892 "image.c" +#line 891 "image.c" { gint y = 0; #line 232 "/home/jens/Source/shotwell/src/util/image.vala" y = 0; -#line 897 "image.c" +#line 896 "image.c" { gboolean _tmp27_ = FALSE; #line 232 "/home/jens/Source/shotwell/src/util/image.vala" _tmp27_ = TRUE; #line 232 "/home/jens/Source/shotwell/src/util/image.vala" while (TRUE) { -#line 904 "image.c" +#line 903 "image.c" gint _tmp29_ = 0; gint _tmp30_ = 0; gint y_offset = 0; @@ -908,13 +907,13 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph gint _tmp32_ = 0; #line 232 "/home/jens/Source/shotwell/src/util/image.vala" if (!_tmp27_) { -#line 912 "image.c" +#line 911 "image.c" gint _tmp28_ = 0; #line 232 "/home/jens/Source/shotwell/src/util/image.vala" _tmp28_ = y; #line 232 "/home/jens/Source/shotwell/src/util/image.vala" y = _tmp28_ + 1; -#line 918 "image.c" +#line 917 "image.c" } #line 232 "/home/jens/Source/shotwell/src/util/image.vala" _tmp27_ = FALSE; @@ -926,7 +925,7 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph if (!(_tmp29_ < _tmp30_)) { #line 232 "/home/jens/Source/shotwell/src/util/image.vala" break; -#line 930 "image.c" +#line 929 "image.c" } #line 233 "/home/jens/Source/shotwell/src/util/image.vala" _tmp31_ = y; @@ -934,19 +933,19 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph _tmp32_ = rowstride; #line 233 "/home/jens/Source/shotwell/src/util/image.vala" y_offset = _tmp31_ * _tmp32_; -#line 938 "image.c" +#line 937 "image.c" { gint x = 0; #line 235 "/home/jens/Source/shotwell/src/util/image.vala" x = 0; -#line 943 "image.c" +#line 942 "image.c" { gboolean _tmp33_ = FALSE; #line 235 "/home/jens/Source/shotwell/src/util/image.vala" _tmp33_ = TRUE; #line 235 "/home/jens/Source/shotwell/src/util/image.vala" while (TRUE) { -#line 950 "image.c" +#line 949 "image.c" gint _tmp35_ = 0; gint _tmp36_ = 0; gint offset = 0; @@ -960,13 +959,13 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph gint _tmp68_ = 0; #line 235 "/home/jens/Source/shotwell/src/util/image.vala" if (!_tmp33_) { -#line 964 "image.c" +#line 963 "image.c" gint _tmp34_ = 0; #line 235 "/home/jens/Source/shotwell/src/util/image.vala" _tmp34_ = x; #line 235 "/home/jens/Source/shotwell/src/util/image.vala" x = _tmp34_ + 1; -#line 970 "image.c" +#line 969 "image.c" } #line 235 "/home/jens/Source/shotwell/src/util/image.vala" _tmp33_ = FALSE; @@ -978,7 +977,7 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph if (!(_tmp35_ < _tmp36_)) { #line 235 "/home/jens/Source/shotwell/src/util/image.vala" break; -#line 982 "image.c" +#line 981 "image.c" } #line 236 "/home/jens/Source/shotwell/src/util/image.vala" _tmp37_ = y_offset; @@ -992,7 +991,7 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph _tmp40_ = red; #line 238 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp40_ != 0) { -#line 996 "image.c" +#line 995 "image.c" guchar* _tmp41_ = NULL; gint _tmp42_ = 0; guchar* _tmp43_ = NULL; @@ -1019,13 +1018,13 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph _tmp41_[_tmp42_] = _tmp47_; #line 239 "/home/jens/Source/shotwell/src/util/image.vala" _tmp48_ = _tmp41_[_tmp42_]; -#line 1023 "image.c" +#line 1022 "image.c" } #line 241 "/home/jens/Source/shotwell/src/util/image.vala" _tmp49_ = green; #line 241 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp49_ != 0) { -#line 1029 "image.c" +#line 1028 "image.c" guchar* _tmp50_ = NULL; gint _tmp51_ = 0; guchar* _tmp52_ = NULL; @@ -1052,13 +1051,13 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph _tmp50_[_tmp51_ + 1] = _tmp56_; #line 242 "/home/jens/Source/shotwell/src/util/image.vala" _tmp57_ = _tmp50_[_tmp51_ + 1]; -#line 1056 "image.c" +#line 1055 "image.c" } #line 244 "/home/jens/Source/shotwell/src/util/image.vala" _tmp58_ = blue; #line 244 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp58_ != 0) { -#line 1062 "image.c" +#line 1061 "image.c" guchar* _tmp59_ = NULL; gint _tmp60_ = 0; guchar* _tmp61_ = NULL; @@ -1085,27 +1084,27 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph _tmp59_[_tmp60_ + 2] = _tmp65_; #line 245 "/home/jens/Source/shotwell/src/util/image.vala" _tmp66_ = _tmp59_[_tmp60_ + 2]; -#line 1089 "image.c" +#line 1088 "image.c" } #line 247 "/home/jens/Source/shotwell/src/util/image.vala" _tmp68_ = alpha; #line 247 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp68_ != 0) { -#line 1095 "image.c" +#line 1094 "image.c" gint _tmp69_ = 0; #line 247 "/home/jens/Source/shotwell/src/util/image.vala" _tmp69_ = channels; #line 247 "/home/jens/Source/shotwell/src/util/image.vala" _tmp67_ = _tmp69_ >= 4; -#line 1101 "image.c" +#line 1100 "image.c" } else { #line 247 "/home/jens/Source/shotwell/src/util/image.vala" _tmp67_ = FALSE; -#line 1105 "image.c" +#line 1104 "image.c" } #line 247 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp67_) { -#line 1109 "image.c" +#line 1108 "image.c" guchar* _tmp70_ = NULL; gint _tmp71_ = 0; guchar* _tmp72_ = NULL; @@ -1132,7 +1131,7 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph _tmp70_[_tmp71_ + 3] = _tmp76_; #line 248 "/home/jens/Source/shotwell/src/util/image.vala" _tmp77_ = _tmp70_[_tmp71_ + 3]; -#line 1136 "image.c" +#line 1135 "image.c" } } } @@ -1174,7 +1173,7 @@ void dim_pixbuf (GdkPixbuf* pixbuf) { _pixel_transformation_unref0 (sat); #line 253 "/home/jens/Source/shotwell/src/util/image.vala" _pixel_transformer_unref0 (transformer); -#line 1178 "image.c" +#line 1177 "image.c" } @@ -1196,7 +1195,7 @@ gboolean coord_in_rectangle (gint x, gint y, GdkRectangle* rect) { _tmp5_ = _tmp4_.x; #line 262 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp3_ >= _tmp5_) { -#line 1200 "image.c" +#line 1199 "image.c" gint _tmp6_ = 0; GdkRectangle _tmp7_ = {0}; gint _tmp8_ = 0; @@ -1214,15 +1213,15 @@ gboolean coord_in_rectangle (gint x, gint y, GdkRectangle* rect) { _tmp10_ = _tmp9_.width; #line 262 "/home/jens/Source/shotwell/src/util/image.vala" _tmp2_ = _tmp6_ < (_tmp8_ + _tmp10_); -#line 1218 "image.c" +#line 1217 "image.c" } else { #line 262 "/home/jens/Source/shotwell/src/util/image.vala" _tmp2_ = FALSE; -#line 1222 "image.c" +#line 1221 "image.c" } #line 262 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp2_) { -#line 1226 "image.c" +#line 1225 "image.c" gint _tmp11_ = 0; GdkRectangle _tmp12_ = {0}; gint _tmp13_ = 0; @@ -1234,15 +1233,15 @@ gboolean coord_in_rectangle (gint x, gint y, GdkRectangle* rect) { _tmp13_ = _tmp12_.y; #line 262 "/home/jens/Source/shotwell/src/util/image.vala" _tmp1_ = _tmp11_ >= _tmp13_; -#line 1238 "image.c" +#line 1237 "image.c" } else { #line 262 "/home/jens/Source/shotwell/src/util/image.vala" _tmp1_ = FALSE; -#line 1242 "image.c" +#line 1241 "image.c" } #line 262 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp1_) { -#line 1246 "image.c" +#line 1245 "image.c" gint _tmp14_ = 0; GdkRectangle _tmp15_ = {0}; gint _tmp16_ = 0; @@ -1260,17 +1259,17 @@ gboolean coord_in_rectangle (gint x, gint y, GdkRectangle* rect) { _tmp18_ = _tmp17_.height; #line 262 "/home/jens/Source/shotwell/src/util/image.vala" _tmp0_ = _tmp14_ <= (_tmp16_ + _tmp18_); -#line 1264 "image.c" +#line 1263 "image.c" } else { #line 262 "/home/jens/Source/shotwell/src/util/image.vala" _tmp0_ = FALSE; -#line 1268 "image.c" +#line 1267 "image.c" } #line 262 "/home/jens/Source/shotwell/src/util/image.vala" result = _tmp0_; #line 262 "/home/jens/Source/shotwell/src/util/image.vala" return result; -#line 1274 "image.c" +#line 1273 "image.c" } @@ -1297,7 +1296,7 @@ gboolean rectangles_equal (GdkRectangle* a, GdkRectangle* b) { _tmp6_ = _tmp5_.x; #line 266 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp4_ == _tmp6_) { -#line 1301 "image.c" +#line 1300 "image.c" GdkRectangle _tmp7_ = {0}; gint _tmp8_ = 0; GdkRectangle _tmp9_ = {0}; @@ -1312,15 +1311,15 @@ gboolean rectangles_equal (GdkRectangle* a, GdkRectangle* b) { _tmp10_ = _tmp9_.y; #line 266 "/home/jens/Source/shotwell/src/util/image.vala" _tmp2_ = _tmp8_ == _tmp10_; -#line 1316 "image.c" +#line 1315 "image.c" } else { #line 266 "/home/jens/Source/shotwell/src/util/image.vala" _tmp2_ = FALSE; -#line 1320 "image.c" +#line 1319 "image.c" } #line 266 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp2_) { -#line 1324 "image.c" +#line 1323 "image.c" GdkRectangle _tmp11_ = {0}; gint _tmp12_ = 0; GdkRectangle _tmp13_ = {0}; @@ -1335,15 +1334,15 @@ gboolean rectangles_equal (GdkRectangle* a, GdkRectangle* b) { _tmp14_ = _tmp13_.width; #line 266 "/home/jens/Source/shotwell/src/util/image.vala" _tmp1_ = _tmp12_ == _tmp14_; -#line 1339 "image.c" +#line 1338 "image.c" } else { #line 266 "/home/jens/Source/shotwell/src/util/image.vala" _tmp1_ = FALSE; -#line 1343 "image.c" +#line 1342 "image.c" } #line 266 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp1_) { -#line 1347 "image.c" +#line 1346 "image.c" GdkRectangle _tmp15_ = {0}; gint _tmp16_ = 0; GdkRectangle _tmp17_ = {0}; @@ -1358,17 +1357,17 @@ gboolean rectangles_equal (GdkRectangle* a, GdkRectangle* b) { _tmp18_ = _tmp17_.height; #line 266 "/home/jens/Source/shotwell/src/util/image.vala" _tmp0_ = _tmp16_ == _tmp18_; -#line 1362 "image.c" +#line 1361 "image.c" } else { #line 266 "/home/jens/Source/shotwell/src/util/image.vala" _tmp0_ = FALSE; -#line 1366 "image.c" +#line 1365 "image.c" } #line 266 "/home/jens/Source/shotwell/src/util/image.vala" result = _tmp0_; #line 266 "/home/jens/Source/shotwell/src/util/image.vala" return result; -#line 1372 "image.c" +#line 1371 "image.c" } @@ -1407,7 +1406,7 @@ gchar* rectangle_to_string (GdkRectangle* rect) { result = _tmp8_; #line 270 "/home/jens/Source/shotwell/src/util/image.vala" return result; -#line 1411 "image.c" +#line 1410 "image.c" } @@ -1491,7 +1490,7 @@ void clamp_rectangle (GdkRectangle* original, Dimensions* max, GdkRectangle* res *result = rect; #line 280 "/home/jens/Source/shotwell/src/util/image.vala" return; -#line 1495 "image.c" +#line 1494 "image.c" } @@ -1530,7 +1529,7 @@ void scale_point (GdkPoint* p, gdouble factor, GdkPoint* result) { *result = _result_; #line 288 "/home/jens/Source/shotwell/src/util/image.vala" return; -#line 1534 "image.c" +#line 1533 "image.c" } @@ -1577,7 +1576,7 @@ void add_points (GdkPoint* p1, GdkPoint* p2, GdkPoint* result) { *result = _result_; #line 296 "/home/jens/Source/shotwell/src/util/image.vala" return; -#line 1581 "image.c" +#line 1580 "image.c" } @@ -1624,7 +1623,7 @@ void subtract_points (GdkPoint* p1, GdkPoint* p2, GdkPoint* result) { *result = _result_; #line 304 "/home/jens/Source/shotwell/src/util/image.vala" return; -#line 1628 "image.c" +#line 1627 "image.c" } @@ -1643,19 +1642,19 @@ void fix_cairo_pixbuf (GdkPixbuf* pixbuf) { _tmp2_ = _tmp1_; #line 309 "/home/jens/Source/shotwell/src/util/image.vala" gdk_pixels = _tmp2_; -#line 1647 "image.c" +#line 1646 "image.c" { gint j = 0; #line 310 "/home/jens/Source/shotwell/src/util/image.vala" j = 0; -#line 1652 "image.c" +#line 1651 "image.c" { gboolean _tmp3_ = FALSE; #line 310 "/home/jens/Source/shotwell/src/util/image.vala" _tmp3_ = TRUE; #line 310 "/home/jens/Source/shotwell/src/util/image.vala" while (TRUE) { -#line 1659 "image.c" +#line 1658 "image.c" gint _tmp5_ = 0; GdkPixbuf* _tmp6_ = NULL; gint _tmp7_ = 0; @@ -1673,13 +1672,13 @@ void fix_cairo_pixbuf (GdkPixbuf* pixbuf) { gint _tmp29_ = 0; #line 310 "/home/jens/Source/shotwell/src/util/image.vala" if (!_tmp3_) { -#line 1677 "image.c" +#line 1676 "image.c" gint _tmp4_ = 0; #line 310 "/home/jens/Source/shotwell/src/util/image.vala" _tmp4_ = j; #line 310 "/home/jens/Source/shotwell/src/util/image.vala" j = _tmp4_ + 1; -#line 1683 "image.c" +#line 1682 "image.c" } #line 310 "/home/jens/Source/shotwell/src/util/image.vala" _tmp3_ = FALSE; @@ -1695,7 +1694,7 @@ void fix_cairo_pixbuf (GdkPixbuf* pixbuf) { if (!(_tmp5_ < _tmp8_)) { #line 310 "/home/jens/Source/shotwell/src/util/image.vala" break; -#line 1699 "image.c" +#line 1698 "image.c" } #line 311 "/home/jens/Source/shotwell/src/util/image.vala" _tmp9_ = gdk_pixels; @@ -1713,7 +1712,7 @@ void fix_cairo_pixbuf (GdkPixbuf* pixbuf) { end = _tmp10_ + (4 * _tmp13_); #line 314 "/home/jens/Source/shotwell/src/util/image.vala" while (TRUE) { -#line 1717 "image.c" +#line 1716 "image.c" guchar* _tmp14_ = NULL; guchar* _tmp15_ = NULL; guchar tmp = '\0'; @@ -1735,7 +1734,7 @@ void fix_cairo_pixbuf (GdkPixbuf* pixbuf) { if (!(_tmp14_ < _tmp15_)) { #line 314 "/home/jens/Source/shotwell/src/util/image.vala" break; -#line 1739 "image.c" +#line 1738 "image.c" } #line 315 "/home/jens/Source/shotwell/src/util/image.vala" _tmp16_ = p; @@ -1765,7 +1764,7 @@ void fix_cairo_pixbuf (GdkPixbuf* pixbuf) { _tmp25_ = p; #line 325 "/home/jens/Source/shotwell/src/util/image.vala" p = _tmp25_ + 4; -#line 1769 "image.c" +#line 1768 "image.c" } #line 328 "/home/jens/Source/shotwell/src/util/image.vala" _tmp26_ = gdk_pixels; @@ -1777,7 +1776,7 @@ void fix_cairo_pixbuf (GdkPixbuf* pixbuf) { _tmp29_ = _tmp28_; #line 328 "/home/jens/Source/shotwell/src/util/image.vala" gdk_pixels = _tmp26_ + _tmp29_; -#line 1781 "image.c" +#line 1780 "image.c" } } } @@ -1857,13 +1856,13 @@ void compute_arb_rotated_size (gdouble src_width, gdouble src_height, gdouble an if (dest_width) { #line 342 "/home/jens/Source/shotwell/src/util/image.vala" *dest_width = _vala_dest_width; -#line 1861 "image.c" +#line 1860 "image.c" } #line 342 "/home/jens/Source/shotwell/src/util/image.vala" if (dest_height) { #line 342 "/home/jens/Source/shotwell/src/util/image.vala" *dest_height = _vala_dest_height; -#line 1867 "image.c" +#line 1866 "image.c" } } @@ -1953,7 +1952,7 @@ GdkPixbuf* rotate_arb (GdkPixbuf* source_pixbuf, gdouble angle) { _tmp0_ = angle; #line 361 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp0_ == 0.0) { -#line 1957 "image.c" +#line 1956 "image.c" GdkPixbuf* _tmp1_ = NULL; GdkPixbuf* _tmp2_ = NULL; #line 362 "/home/jens/Source/shotwell/src/util/image.vala" @@ -1964,7 +1963,7 @@ GdkPixbuf* rotate_arb (GdkPixbuf* source_pixbuf, gdouble angle) { result = _tmp2_; #line 362 "/home/jens/Source/shotwell/src/util/image.vala" return result; -#line 1968 "image.c" +#line 1967 "image.c" } #line 369 "/home/jens/Source/shotwell/src/util/image.vala" _tmp3_ = source_pixbuf; @@ -2008,11 +2007,11 @@ GdkPixbuf* rotate_arb (GdkPixbuf* source_pixbuf, gdouble angle) { if (_tmp20_) { #line 377 "/home/jens/Source/shotwell/src/util/image.vala" _tmp17_ = CAIRO_FORMAT_ARGB32; -#line 2012 "image.c" +#line 2011 "image.c" } else { #line 377 "/home/jens/Source/shotwell/src/util/image.vala" _tmp17_ = CAIRO_FORMAT_RGB24; -#line 2016 "image.c" +#line 2015 "image.c" } #line 375 "/home/jens/Source/shotwell/src/util/image.vala" _tmp21_ = dest_pixbuf; @@ -2140,7 +2139,7 @@ GdkPixbuf* rotate_arb (GdkPixbuf* source_pixbuf, gdouble angle) { _cairo_surface_destroy0 (surface); #line 398 "/home/jens/Source/shotwell/src/util/image.vala" return result; -#line 2144 "image.c" +#line 2143 "image.c" } @@ -2189,7 +2188,7 @@ void rotate_point_arb (GdkPoint* source_point, gint img_w, gint img_h, gdouble a _tmp0_ = angle; #line 417 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp0_ == 0.0) { -#line 2193 "image.c" +#line 2192 "image.c" GdkPoint _tmp1_ = {0}; #line 419 "/home/jens/Source/shotwell/src/util/image.vala" _tmp1_ = *source_point; @@ -2197,7 +2196,7 @@ void rotate_point_arb (GdkPoint* source_point, gint img_w, gint img_h, gdouble a *result = _tmp1_; #line 419 "/home/jens/Source/shotwell/src/util/image.vala" return; -#line 2201 "image.c" +#line 2200 "image.c" } #line 424 "/home/jens/Source/shotwell/src/util/image.vala" _tmp2_ = img_w; @@ -2235,13 +2234,13 @@ void rotate_point_arb (GdkPoint* source_point, gint img_w, gint img_h, gdouble a _tmp13_ = invert; #line 430 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp13_) { -#line 2239 "image.c" +#line 2238 "image.c" cairo_status_t _tmp14_ = 0; #line 431 "/home/jens/Source/shotwell/src/util/image.vala" _tmp14_ = cairo_matrix_invert (&matrix); #line 431 "/home/jens/Source/shotwell/src/util/image.vala" _vala_assert (_tmp14_ == CAIRO_STATUS_SUCCESS, "matrix.invert() == Cairo.Status.SUCCESS"); -#line 2245 "image.c" +#line 2244 "image.c" } #line 433 "/home/jens/Source/shotwell/src/util/image.vala" _tmp15_ = *source_point; @@ -2269,7 +2268,7 @@ void rotate_point_arb (GdkPoint* source_point, gint img_w, gint img_h, gdouble a *result = _tmp21_; #line 437 "/home/jens/Source/shotwell/src/util/image.vala" return; -#line 2273 "image.c" +#line 2272 "image.c" } @@ -2308,7 +2307,7 @@ void derotate_point_arb (GdkPoint* source_point, gint img_w, gint img_h, gdouble *result = _tmp4_; #line 454 "/home/jens/Source/shotwell/src/util/image.vala" return; -#line 2312 "image.c" +#line 2311 "image.c" } @@ -2512,7 +2511,7 @@ void clamp_inside_rotated_image (Box* src, gint img_w, gint img_h, gdouble angle _tmp43_ = top; #line 471 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp43_ < 0) { -#line 2516 "image.c" +#line 2515 "image.c" gint _tmp44_ = 0; gdouble _tmp45_ = 0.0; gdouble _tmp46_ = 0.0; @@ -2524,7 +2523,7 @@ void clamp_inside_rotated_image (Box* src, gint img_w, gint img_h, gdouble angle _tmp46_ = cos (_tmp45_); #line 472 "/home/jens/Source/shotwell/src/util/image.vala" top_offset = (gint) ((0 - _tmp44_) * _tmp46_); -#line 2528 "image.c" +#line 2527 "image.c" } #line 474 "/home/jens/Source/shotwell/src/util/image.vala" _tmp47_ = bottom_left; @@ -2544,7 +2543,7 @@ void clamp_inside_rotated_image (Box* src, gint img_w, gint img_h, gdouble angle _tmp53_ = img_h; #line 475 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp52_ > _tmp53_) { -#line 2548 "image.c" +#line 2547 "image.c" gint _tmp54_ = 0; gint _tmp55_ = 0; gdouble _tmp56_ = 0.0; @@ -2559,7 +2558,7 @@ void clamp_inside_rotated_image (Box* src, gint img_w, gint img_h, gdouble angle _tmp57_ = cos (_tmp56_); #line 476 "/home/jens/Source/shotwell/src/util/image.vala" bottom_offset = (gint) ((_tmp54_ - _tmp55_) * _tmp57_); -#line 2563 "image.c" +#line 2562 "image.c" } #line 478 "/home/jens/Source/shotwell/src/util/image.vala" _tmp58_ = top_left; @@ -2577,7 +2576,7 @@ void clamp_inside_rotated_image (Box* src, gint img_w, gint img_h, gdouble angle _tmp63_ = left; #line 479 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp63_ < 0) { -#line 2581 "image.c" +#line 2580 "image.c" gint _tmp64_ = 0; gdouble _tmp65_ = 0.0; gdouble _tmp66_ = 0.0; @@ -2589,7 +2588,7 @@ void clamp_inside_rotated_image (Box* src, gint img_w, gint img_h, gdouble angle _tmp66_ = cos (_tmp65_); #line 480 "/home/jens/Source/shotwell/src/util/image.vala" left_offset = (gint) ((0 - _tmp64_) * _tmp66_); -#line 2593 "image.c" +#line 2592 "image.c" } #line 482 "/home/jens/Source/shotwell/src/util/image.vala" _tmp67_ = top_right; @@ -2609,7 +2608,7 @@ void clamp_inside_rotated_image (Box* src, gint img_w, gint img_h, gdouble angle _tmp73_ = img_w; #line 483 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp72_ > _tmp73_) { -#line 2613 "image.c" +#line 2612 "image.c" gint _tmp74_ = 0; gint _tmp75_ = 0; gdouble _tmp76_ = 0.0; @@ -2624,13 +2623,13 @@ void clamp_inside_rotated_image (Box* src, gint img_w, gint img_h, gdouble angle _tmp77_ = cos (_tmp76_); #line 484 "/home/jens/Source/shotwell/src/util/image.vala" right_offset = (gint) ((_tmp74_ - _tmp75_) * _tmp77_); -#line 2628 "image.c" +#line 2627 "image.c" } #line 486 "/home/jens/Source/shotwell/src/util/image.vala" _tmp79_ = preserve_geom; #line 486 "/home/jens/Source/shotwell/src/util/image.vala" if (_tmp79_) { -#line 2634 "image.c" +#line 2633 "image.c" gint _tmp80_ = 0; gint _tmp81_ = 0; gint _tmp82_ = 0; @@ -2648,7 +2647,7 @@ void clamp_inside_rotated_image (Box* src, gint img_w, gint img_h, gdouble angle box_get_offset (src, _tmp80_ + _tmp81_, _tmp82_ + _tmp83_, &_tmp84_); #line 486 "/home/jens/Source/shotwell/src/util/image.vala" _tmp78_ = _tmp84_; -#line 2652 "image.c" +#line 2651 "image.c" } else { Box _tmp85_ = {0}; gint _tmp86_ = 0; @@ -2688,13 +2687,13 @@ void clamp_inside_rotated_image (Box* src, gint img_w, gint img_h, gdouble angle _tmp96_ = bottom_offset; #line 487 "/home/jens/Source/shotwell/src/util/image.vala" box_init (&_tmp78_, _tmp86_ + _tmp87_, _tmp89_ + _tmp90_, _tmp92_ + _tmp93_, _tmp95_ + _tmp96_); -#line 2692 "image.c" +#line 2691 "image.c" } #line 486 "/home/jens/Source/shotwell/src/util/image.vala" *result = _tmp78_; #line 486 "/home/jens/Source/shotwell/src/util/image.vala" return; -#line 2698 "image.c" +#line 2697 "image.c" } diff --git a/src/util/image.vala b/src/util/image.vala index 92e276a..db872df 100644 --- a/src/util/image.vala +++ b/src/util/image.vala @@ -115,8 +115,8 @@ private const string fallback_image_missing[] = { }; bool is_color_parsable(string spec) { - Gdk.Color color; - return Gdk.Color.parse(spec, out color); + var color = Gdk.RGBA (); + return color.parse(spec); } Gdk.RGBA parse_color(string spec) { diff --git a/thumbnailer/shotwell-video-thumbnailer.c b/thumbnailer/shotwell-video-thumbnailer.c index 7c0eefa..2ffc94e 100644 --- a/thumbnailer/shotwell-video-thumbnailer.c +++ b/thumbnailer/shotwell-video-thumbnailer.c @@ -72,6 +72,13 @@ ShotwellThumbnailer* shotwell_thumbnailer_construct (GType object_type); static void shotwell_thumbnailer_finalize (ShotwellThumbnailer* obj); +static gpointer _g_object_ref0 (gpointer self) { +#line 25 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + return self ? g_object_ref (self) : NULL; +#line 79 "shotwell-video-thumbnailer.c" +} + + gint shotwell_thumbnailer_main (gchar** args, int args_length1) { gint result = 0; GstElement* pipeline = NULL; @@ -84,299 +91,337 @@ gint shotwell_thumbnailer_main (gchar** args, int args_length1) { gint64 duration = 0LL; gint64 position = 0LL; GstStateChangeReturn ret = 0; - gchar** _tmp0_ = NULL; - gint _tmp0__length1 = 0; - gchar** _tmp4_ = NULL; - gint _tmp4__length1 = 0; - const gchar* _tmp5_ = NULL; - gchar* _tmp6_ = NULL; - gchar* _tmp7_ = NULL; - gchar* _tmp8_ = NULL; - gchar* _tmp9_ = NULL; - gchar* _tmp10_ = NULL; + GstRegistry* registry = NULL; + GstRegistry* _tmp0_ = NULL; + GstRegistry* _tmp1_ = NULL; + GstPluginFeature* feature = NULL; + GstRegistry* _tmp2_ = NULL; + GstPluginFeature* _tmp3_ = NULL; + GstPluginFeature* _tmp4_ = NULL; + GstRegistry* _tmp7_ = NULL; + GstPluginFeature* _tmp8_ = NULL; + GstPluginFeature* _tmp9_ = NULL; + gchar** _tmp12_ = NULL; + gint _tmp12__length1 = 0; + gchar** _tmp16_ = NULL; + gint _tmp16__length1 = 0; + const gchar* _tmp17_ = NULL; + gchar* _tmp18_ = NULL; + gchar* _tmp19_ = NULL; + gchar* _tmp20_ = NULL; + gchar* _tmp21_ = NULL; + gchar* _tmp22_ = NULL; GError * _inner_error_ = NULL; #line 23 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" gst_init (&args_length1, &args); #line 25 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp0_ = args; + _tmp0_ = gst_registry_get (); #line 25 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp0__length1 = args_length1; + _tmp1_ = _g_object_ref0 (_tmp0_); #line 25 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - if (_tmp0__length1 != 2) { -#line 107 "shotwell-video-thumbnailer.c" - FILE* _tmp1_ = NULL; - gchar** _tmp2_ = NULL; - gint _tmp2__length1 = 0; - const gchar* _tmp3_ = NULL; -#line 26 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp1_ = stdout; -#line 26 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp2_ = args; -#line 26 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp2__length1 = args_length1; -#line 26 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp3_ = _tmp2_[0]; -#line 26 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - fprintf (_tmp1_, "usage: %s [filename]\n Writes video thumbnail to stdout\n", _tmp3_); + registry = _tmp1_; #line 27 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - result = 1; + _tmp2_ = registry; #line 27 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - pngdata = (g_free (pngdata), NULL); + _tmp3_ = gst_registry_find_feature (_tmp2_, "vaapidecodebin", gst_element_factory_get_type ()); #line 27 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + feature = _tmp3_; +#line 29 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp4_ = feature; +#line 29 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + if (_tmp4_ != NULL) { +#line 134 "shotwell-video-thumbnailer.c" + GstRegistry* _tmp5_ = NULL; + GstPluginFeature* _tmp6_ = NULL; +#line 30 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp5_ = registry; +#line 30 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp6_ = feature; +#line 30 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + gst_registry_remove_feature (_tmp5_, _tmp6_); +#line 143 "shotwell-video-thumbnailer.c" + } +#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp7_ = registry; +#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp8_ = gst_registry_find_feature (_tmp7_, "vaapidecode", gst_element_factory_get_type ()); +#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (feature); +#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + feature = _tmp8_; +#line 35 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp9_ = feature; +#line 35 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + if (_tmp9_ != NULL) { +#line 157 "shotwell-video-thumbnailer.c" + GstRegistry* _tmp10_ = NULL; + GstPluginFeature* _tmp11_ = NULL; +#line 36 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp10_ = registry; +#line 36 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp11_ = feature; +#line 36 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + gst_registry_remove_feature (_tmp10_, _tmp11_); +#line 166 "shotwell-video-thumbnailer.c" + } +#line 39 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp12_ = args; +#line 39 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp12__length1 = args_length1; +#line 39 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + if (_tmp12__length1 != 2) { +#line 174 "shotwell-video-thumbnailer.c" + FILE* _tmp13_ = NULL; + gchar** _tmp14_ = NULL; + gint _tmp14__length1 = 0; + const gchar* _tmp15_ = NULL; +#line 40 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp13_ = stdout; +#line 40 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp14_ = args; +#line 40 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp14__length1 = args_length1; +#line 40 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp15_ = _tmp14_[0]; +#line 40 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + fprintf (_tmp13_, "usage: %s [filename]\n Writes video thumbnail to stdout\n", _tmp15_); +#line 41 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + result = 1; +#line 41 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (feature); +#line 41 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (registry); +#line 41 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + pngdata = (g_free (pngdata), NULL); +#line 41 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (pixbuf); -#line 27 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 41 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_free0 (descr); -#line 27 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 41 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (sink); -#line 27 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 41 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (pipeline); -#line 27 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 41 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return result; -#line 136 "shotwell-video-thumbnailer.c" +#line 207 "shotwell-video-thumbnailer.c" } -#line 30 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp4_ = args; -#line 30 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp4__length1 = args_length1; -#line 30 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp5_ = _tmp4_[1]; -#line 30 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp6_ = g_strdup_printf ("filesrc location=\"%s\" ! decodebin ! videoconvert ! videoscale ! ", _tmp5_); -#line 30 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp7_ = _tmp6_; -#line 30 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp8_ = g_strdup_printf ("%s ! gdkpixbufsink name=sink", SHOTWELL_THUMBNAILER_caps_string); -#line 30 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp9_ = _tmp8_; -#line 30 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp10_ = g_strconcat (_tmp7_, _tmp9_, NULL); -#line 30 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp16_ = args; +#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp16__length1 = args_length1; +#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp17_ = _tmp16_[1]; +#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp18_ = g_strdup_printf ("filesrc location=\"%s\" ! decodebin ! videoconvert ! videoscale ! ", _tmp17_); +#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp19_ = _tmp18_; +#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp20_ = g_strdup_printf ("%s ! gdkpixbufsink name=sink", SHOTWELL_THUMBNAILER_caps_string); +#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp21_ = _tmp20_; +#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp22_ = g_strconcat (_tmp19_, _tmp21_, NULL); +#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_free0 (descr); -#line 30 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - descr = _tmp10_; -#line 30 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _g_free0 (_tmp9_); -#line 30 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _g_free0 (_tmp7_); -#line 162 "shotwell-video-thumbnailer.c" +#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + descr = _tmp22_; +#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_free0 (_tmp21_); +#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_free0 (_tmp19_); +#line 233 "shotwell-video-thumbnailer.c" { - GstElement* _tmp11_ = NULL; - const gchar* _tmp12_ = NULL; - GstElement* _tmp13_ = NULL; - GstElement* _tmp14_ = NULL; - GstElement* _tmp15_ = NULL; - GstElement* _tmp16_ = NULL; - GstElement* _tmp17_ = NULL; - GstStateChangeReturn _tmp18_ = 0; - GstStateChangeReturn _tmp19_ = 0; GstElement* _tmp23_ = NULL; - GstStateChangeReturn _tmp24_ = 0; - GstStateChangeReturn _tmp25_ = 0; + const gchar* _tmp24_ = NULL; + GstElement* _tmp25_ = NULL; + GstElement* _tmp26_ = NULL; GstElement* _tmp27_ = NULL; - gint64 _tmp28_ = 0LL; - gboolean _tmp29_ = FALSE; - GstElement* _tmp31_ = NULL; - gint64 _tmp32_ = 0LL; - GstElement* _tmp33_ = NULL; - GstStateChangeReturn _tmp34_ = 0; - GstStateChangeReturn _tmp35_ = 0; - GstElement* _tmp37_ = NULL; - GdkPixbuf* _tmp38_ = NULL; - guint8* _tmp39_ = NULL; - gsize _tmp40_; - FILE* _tmp41_ = NULL; - guint8* _tmp42_ = NULL; - gint _tmp42__length1 = 0; + GstElement* _tmp28_ = NULL; + GstElement* _tmp29_ = NULL; + GstStateChangeReturn _tmp30_ = 0; + GstStateChangeReturn _tmp31_ = 0; + GstElement* _tmp35_ = NULL; + GstStateChangeReturn _tmp36_ = 0; + GstStateChangeReturn _tmp37_ = 0; + GstElement* _tmp39_ = NULL; + gint64 _tmp40_ = 0LL; + gboolean _tmp41_ = FALSE; GstElement* _tmp43_ = NULL; -#line 35 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp12_ = descr; -#line 35 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp13_ = gst_parse_launch_full (_tmp12_, NULL, GST_PARSE_FLAG_NONE, &_inner_error_); -#line 35 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - g_object_ref_sink (_tmp13_); -#line 35 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp11_ = _tmp13_; -#line 35 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + gint64 _tmp44_ = 0LL; + GstElement* _tmp45_ = NULL; + GstStateChangeReturn _tmp46_ = 0; + GstStateChangeReturn _tmp47_ = 0; + GstElement* _tmp49_ = NULL; + GdkPixbuf* _tmp50_ = NULL; + guint8* _tmp51_ = NULL; + gsize _tmp52_; + FILE* _tmp53_ = NULL; + guint8* _tmp54_ = NULL; + gint _tmp54__length1 = 0; + GstElement* _tmp55_ = NULL; +#line 49 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp24_ = descr; +#line 49 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp25_ = gst_parse_launch_full (_tmp24_, NULL, GST_PARSE_FLAG_NONE, &_inner_error_); +#line 49 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + g_object_ref_sink (_tmp25_); +#line 49 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp23_ = _tmp25_; +#line 49 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 202 "shotwell-video-thumbnailer.c" +#line 273 "shotwell-video-thumbnailer.c" goto __catch0_g_error; } -#line 35 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp14_ = _tmp11_; -#line 35 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp11_ = NULL; -#line 35 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - g_object_ref_sink (_tmp14_); -#line 35 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 49 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp26_ = _tmp23_; +#line 49 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp23_ = NULL; +#line 49 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + g_object_ref_sink (_tmp26_); +#line 49 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (pipeline); -#line 35 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - pipeline = _tmp14_; -#line 38 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp15_ = pipeline; -#line 38 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp16_ = gst_bin_get_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gst_bin_get_type (), GstBin), "sink"); -#line 38 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 49 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + pipeline = _tmp26_; +#line 52 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp27_ = pipeline; +#line 52 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp28_ = gst_bin_get_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gst_bin_get_type (), GstBin), "sink"); +#line 52 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (sink); -#line 38 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - sink = _tmp16_; -#line 41 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp17_ = pipeline; -#line 41 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp18_ = gst_element_set_state (_tmp17_, GST_STATE_PAUSED); -#line 41 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - ret = _tmp18_; -#line 42 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp19_ = ret; -#line 42 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - if (_tmp19_ == GST_STATE_CHANGE_FAILURE) { -#line 233 "shotwell-video-thumbnailer.c" - FILE* _tmp20_ = NULL; -#line 43 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp20_ = stderr; -#line 43 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - fprintf (_tmp20_, "Failed to play the file: couldn't set state\n"); -#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 52 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + sink = _tmp28_; +#line 55 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp29_ = pipeline; +#line 55 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp30_ = gst_element_set_state (_tmp29_, GST_STATE_PAUSED); +#line 55 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + ret = _tmp30_; +#line 56 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp31_ = ret; +#line 56 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + if (_tmp31_ == GST_STATE_CHANGE_FAILURE) { +#line 304 "shotwell-video-thumbnailer.c" + FILE* _tmp32_ = NULL; +#line 57 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp32_ = stderr; +#line 57 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + fprintf (_tmp32_, "Failed to play the file: couldn't set state\n"); +#line 58 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" result = 3; -#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _g_object_unref0 (_tmp11_); -#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 58 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (_tmp23_); +#line 58 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (feature); +#line 58 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (registry); +#line 58 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" pngdata = (g_free (pngdata), NULL); -#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 58 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (pixbuf); -#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 58 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_free0 (descr); -#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 58 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (sink); -#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 58 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (pipeline); -#line 44 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 58 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return result; -#line 255 "shotwell-video-thumbnailer.c" +#line 330 "shotwell-video-thumbnailer.c" } else { - GstStateChangeReturn _tmp21_ = 0; -#line 45 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp21_ = ret; -#line 45 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - if (_tmp21_ == GST_STATE_CHANGE_NO_PREROLL) { -#line 262 "shotwell-video-thumbnailer.c" - FILE* _tmp22_ = NULL; -#line 46 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp22_ = stderr; -#line 46 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - fprintf (_tmp22_, "Live sources not supported yet.\n"); -#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + GstStateChangeReturn _tmp33_ = 0; +#line 59 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp33_ = ret; +#line 59 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + if (_tmp33_ == GST_STATE_CHANGE_NO_PREROLL) { +#line 337 "shotwell-video-thumbnailer.c" + FILE* _tmp34_ = NULL; +#line 60 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp34_ = stderr; +#line 60 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + fprintf (_tmp34_, "Live sources not supported yet.\n"); +#line 61 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" result = 4; -#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _g_object_unref0 (_tmp11_); -#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 61 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (_tmp23_); +#line 61 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (feature); +#line 61 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (registry); +#line 61 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" pngdata = (g_free (pngdata), NULL); -#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 61 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (pixbuf); -#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 61 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_free0 (descr); -#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 61 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (sink); -#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 61 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (pipeline); -#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 61 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return result; -#line 284 "shotwell-video-thumbnailer.c" +#line 363 "shotwell-video-thumbnailer.c" } } -#line 53 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp23_ = pipeline; -#line 53 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp24_ = gst_element_get_state (_tmp23_, NULL, NULL, (GstClockTime) (5 * GST_SECOND)); -#line 53 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - ret = _tmp24_; -#line 54 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp25_ = ret; -#line 54 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - if (_tmp25_ == GST_STATE_CHANGE_FAILURE) { -#line 297 "shotwell-video-thumbnailer.c" - FILE* _tmp26_ = NULL; -#line 55 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp26_ = stderr; -#line 55 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - fprintf (_tmp26_, "Failed to play the file: couldn't get state.\n"); -#line 56 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 67 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp35_ = pipeline; +#line 67 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp36_ = gst_element_get_state (_tmp35_, NULL, NULL, (GstClockTime) (5 * GST_SECOND)); +#line 67 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + ret = _tmp36_; +#line 68 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp37_ = ret; +#line 68 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + if (_tmp37_ == GST_STATE_CHANGE_FAILURE) { +#line 376 "shotwell-video-thumbnailer.c" + FILE* _tmp38_ = NULL; +#line 69 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp38_ = stderr; +#line 69 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + fprintf (_tmp38_, "Failed to play the file: couldn't get state.\n"); +#line 70 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" result = 3; -#line 56 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _g_object_unref0 (_tmp11_); -#line 56 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 70 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (_tmp23_); +#line 70 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (feature); +#line 70 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (registry); +#line 70 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" pngdata = (g_free (pngdata), NULL); -#line 56 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 70 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (pixbuf); -#line 56 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 70 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_free0 (descr); -#line 56 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 70 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (sink); -#line 56 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 70 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (pipeline); -#line 56 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 70 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return result; -#line 319 "shotwell-video-thumbnailer.c" +#line 402 "shotwell-video-thumbnailer.c" } -#line 60 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp27_ = pipeline; -#line 60 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp29_ = gst_element_query_duration (_tmp27_, GST_FORMAT_TIME, &_tmp28_); -#line 60 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - duration = _tmp28_; -#line 60 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - if (!_tmp29_) { -#line 329 "shotwell-video-thumbnailer.c" - FILE* _tmp30_ = NULL; -#line 61 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp30_ = stderr; -#line 61 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - fprintf (_tmp30_, "Failed to query file for duration\n"); -#line 62 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - result = 3; -#line 62 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _g_object_unref0 (_tmp11_); -#line 62 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - pngdata = (g_free (pngdata), NULL); -#line 62 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _g_object_unref0 (pixbuf); -#line 62 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _g_free0 (descr); -#line 62 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _g_object_unref0 (sink); -#line 62 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _g_object_unref0 (pipeline); -#line 62 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - return result; -#line 351 "shotwell-video-thumbnailer.c" - } -#line 65 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - position = (gint64) (1 * GST_SECOND); -#line 71 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp31_ = pipeline; -#line 71 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp32_ = position; -#line 71 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - gst_element_seek_simple (_tmp31_, GST_FORMAT_TIME, GST_SEEK_FLAG_KEY_UNIT | GST_SEEK_FLAG_FLUSH, _tmp32_); -#line 73 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp33_ = pipeline; -#line 73 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp34_ = gst_element_get_state (_tmp33_, NULL, NULL, (GstClockTime) (5 * GST_SECOND)); -#line 73 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - ret = _tmp34_; #line 74 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp35_ = ret; + _tmp39_ = pipeline; +#line 74 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp41_ = gst_element_query_duration (_tmp39_, GST_FORMAT_TIME, &_tmp40_); #line 74 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - if (_tmp35_ == GST_STATE_CHANGE_FAILURE) { -#line 371 "shotwell-video-thumbnailer.c" - FILE* _tmp36_ = NULL; + duration = _tmp40_; +#line 74 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + if (!_tmp41_) { +#line 412 "shotwell-video-thumbnailer.c" + FILE* _tmp42_ = NULL; #line 75 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp36_ = stderr; + _tmp42_ = stderr; #line 75 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - fprintf (_tmp36_, "Failed to play the file: couldn't get state.\n"); + fprintf (_tmp42_, "Failed to query file for duration\n"); #line 76 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" result = 3; #line 76 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _g_object_unref0 (_tmp11_); + _g_object_unref0 (_tmp23_); +#line 76 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (feature); +#line 76 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (registry); #line 76 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" pngdata = (g_free (pngdata), NULL); #line 76 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" @@ -389,120 +434,178 @@ gint shotwell_thumbnailer_main (gchar** args, int args_length1) { _g_object_unref0 (pipeline); #line 76 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return result; -#line 393 "shotwell-video-thumbnailer.c" +#line 438 "shotwell-video-thumbnailer.c" } #line 79 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp37_ = sink; -#line 79 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, G_TYPE_OBJECT, GObject), "last-pixbuf", &pixbuf, NULL); -#line 82 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp38_ = pixbuf; -#line 82 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - gdk_pixbuf_save_to_buffer (_tmp38_, (gchar**) (&_tmp39_), &_tmp40_, "png", &_inner_error_, NULL); -#line 82 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + position = (gint64) (1 * GST_SECOND); +#line 85 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp43_ = pipeline; +#line 85 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp44_ = position; +#line 85 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + gst_element_seek_simple (_tmp43_, GST_FORMAT_TIME, GST_SEEK_FLAG_KEY_UNIT | GST_SEEK_FLAG_FLUSH, _tmp44_); +#line 87 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp45_ = pipeline; +#line 87 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp46_ = gst_element_get_state (_tmp45_, NULL, NULL, (GstClockTime) (5 * GST_SECOND)); +#line 87 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + ret = _tmp46_; +#line 88 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp47_ = ret; +#line 88 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + if (_tmp47_ == GST_STATE_CHANGE_FAILURE) { +#line 458 "shotwell-video-thumbnailer.c" + FILE* _tmp48_ = NULL; +#line 89 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp48_ = stderr; +#line 89 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + fprintf (_tmp48_, "Failed to play the file: couldn't get state.\n"); +#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + result = 3; +#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (_tmp23_); +#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (feature); +#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (registry); +#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + pngdata = (g_free (pngdata), NULL); +#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (pixbuf); +#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_free0 (descr); +#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (sink); +#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (pipeline); +#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + return result; +#line 484 "shotwell-video-thumbnailer.c" + } +#line 93 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp49_ = sink; +#line 93 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, G_TYPE_OBJECT, GObject), "last-pixbuf", &pixbuf, NULL); +#line 96 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp50_ = pixbuf; +#line 96 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + gdk_pixbuf_save_to_buffer (_tmp50_, (gchar**) (&_tmp51_), &_tmp52_, "png", &_inner_error_, NULL); +#line 96 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" pngdata = (g_free (pngdata), NULL); -#line 82 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - pngdata = _tmp39_; -#line 82 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - pngdata_length1 = _tmp40_; -#line 82 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 96 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + pngdata = _tmp51_; +#line 96 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + pngdata_length1 = _tmp52_; +#line 96 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _pngdata_size_ = pngdata_length1; -#line 82 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 96 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 82 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _g_object_unref0 (_tmp11_); -#line 415 "shotwell-video-thumbnailer.c" +#line 96 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (_tmp23_); +#line 506 "shotwell-video-thumbnailer.c" goto __catch0_g_error; } -#line 83 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp41_ = stdout; -#line 83 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp42_ = pngdata; -#line 83 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp42__length1 = pngdata_length1; -#line 83 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - fwrite (_tmp42_, (gsize) 1, _tmp42__length1, _tmp41_); -#line 86 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp43_ = pipeline; -#line 86 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - gst_element_set_state (_tmp43_, GST_STATE_NULL); -#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _g_object_unref0 (_tmp11_); -#line 432 "shotwell-video-thumbnailer.c" +#line 97 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp53_ = stdout; +#line 97 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp54_ = pngdata; +#line 97 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp54__length1 = pngdata_length1; +#line 97 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + fwrite (_tmp54_, (gsize) 1, _tmp54__length1, _tmp53_); +#line 100 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp55_ = pipeline; +#line 100 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + gst_element_set_state (_tmp55_, GST_STATE_NULL); +#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (_tmp23_); +#line 523 "shotwell-video-thumbnailer.c" } goto __finally0; __catch0_g_error: { GError* e = NULL; - FILE* _tmp44_ = NULL; - GError* _tmp45_ = NULL; - const gchar* _tmp46_ = NULL; -#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + FILE* _tmp56_ = NULL; + GError* _tmp57_ = NULL; + const gchar* _tmp58_ = NULL; +#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" e = _inner_error_; -#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _inner_error_ = NULL; -#line 89 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp44_ = stderr; -#line 89 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp45_ = e; -#line 89 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - _tmp46_ = _tmp45_->message; -#line 89 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" - fprintf (_tmp44_, "%s", _tmp46_); -#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 103 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp56_ = stderr; +#line 103 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp57_ = e; +#line 103 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _tmp58_ = _tmp57_->message; +#line 103 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + fprintf (_tmp56_, "%s", _tmp58_); +#line 104 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" result = 2; -#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 104 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_error_free0 (e); -#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 104 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (feature); +#line 104 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (registry); +#line 104 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" pngdata = (g_free (pngdata), NULL); -#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 104 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (pixbuf); -#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 104 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_free0 (descr); -#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 104 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (sink); -#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 104 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (pipeline); -#line 90 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 104 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return result; -#line 469 "shotwell-video-thumbnailer.c" +#line 564 "shotwell-video-thumbnailer.c" } __finally0: -#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (feature); +#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (registry); +#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" pngdata = (g_free (pngdata), NULL); -#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (pixbuf); -#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_free0 (descr); -#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (sink); -#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (pipeline); -#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" g_clear_error (&_inner_error_); -#line 33 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 47 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return 0; -#line 490 "shotwell-video-thumbnailer.c" +#line 589 "shotwell-video-thumbnailer.c" } -#line 93 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 107 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" result = 0; -#line 93 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 107 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (feature); +#line 107 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" + _g_object_unref0 (registry); +#line 107 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" pngdata = (g_free (pngdata), NULL); -#line 93 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 107 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (pixbuf); -#line 93 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 107 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_free0 (descr); -#line 93 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 107 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (sink); -#line 93 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 107 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" _g_object_unref0 (pipeline); -#line 93 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" +#line 107 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return result; -#line 506 "shotwell-video-thumbnailer.c" +#line 609 "shotwell-video-thumbnailer.c" } @@ -515,7 +618,7 @@ int main (int argc, char ** argv) { #endif #line 15 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return shotwell_thumbnailer_main (argv, argc); -#line 519 "shotwell-video-thumbnailer.c" +#line 622 "shotwell-video-thumbnailer.c" } @@ -525,21 +628,21 @@ ShotwellThumbnailer* shotwell_thumbnailer_construct (GType object_type) { self = (ShotwellThumbnailer*) g_type_create_instance (object_type); #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return self; -#line 529 "shotwell-video-thumbnailer.c" +#line 632 "shotwell-video-thumbnailer.c" } ShotwellThumbnailer* shotwell_thumbnailer_new (void) { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return shotwell_thumbnailer_construct (TYPE_SHOTWELL_THUMBNAILER); -#line 536 "shotwell-video-thumbnailer.c" +#line 639 "shotwell-video-thumbnailer.c" } static void value_shotwell_thumbnailer_init (GValue* value) { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" value->data[0].v_pointer = NULL; -#line 543 "shotwell-video-thumbnailer.c" +#line 646 "shotwell-video-thumbnailer.c" } @@ -548,7 +651,7 @@ static void value_shotwell_thumbnailer_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" shotwell_thumbnailer_unref (value->data[0].v_pointer); -#line 552 "shotwell-video-thumbnailer.c" +#line 655 "shotwell-video-thumbnailer.c" } } @@ -558,11 +661,11 @@ static void value_shotwell_thumbnailer_copy_value (const GValue* src_value, GVal if (src_value->data[0].v_pointer) { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" dest_value->data[0].v_pointer = shotwell_thumbnailer_ref (src_value->data[0].v_pointer); -#line 562 "shotwell-video-thumbnailer.c" +#line 665 "shotwell-video-thumbnailer.c" } else { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" dest_value->data[0].v_pointer = NULL; -#line 566 "shotwell-video-thumbnailer.c" +#line 669 "shotwell-video-thumbnailer.c" } } @@ -570,37 +673,37 @@ static void value_shotwell_thumbnailer_copy_value (const GValue* src_value, GVal static gpointer value_shotwell_thumbnailer_peek_pointer (const GValue* value) { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return value->data[0].v_pointer; -#line 574 "shotwell-video-thumbnailer.c" +#line 677 "shotwell-video-thumbnailer.c" } static gchar* value_shotwell_thumbnailer_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" if (collect_values[0].v_pointer) { -#line 581 "shotwell-video-thumbnailer.c" +#line 684 "shotwell-video-thumbnailer.c" ShotwellThumbnailer* object; object = collect_values[0].v_pointer; #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" if (object->parent_instance.g_class == NULL) { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 588 "shotwell-video-thumbnailer.c" +#line 691 "shotwell-video-thumbnailer.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 592 "shotwell-video-thumbnailer.c" +#line 695 "shotwell-video-thumbnailer.c" } #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" value->data[0].v_pointer = shotwell_thumbnailer_ref (object); -#line 596 "shotwell-video-thumbnailer.c" +#line 699 "shotwell-video-thumbnailer.c" } else { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" value->data[0].v_pointer = NULL; -#line 600 "shotwell-video-thumbnailer.c" +#line 703 "shotwell-video-thumbnailer.c" } #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return NULL; -#line 604 "shotwell-video-thumbnailer.c" +#line 707 "shotwell-video-thumbnailer.c" } @@ -611,25 +714,25 @@ static gchar* value_shotwell_thumbnailer_lcopy_value (const GValue* value, guint if (!object_p) { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 615 "shotwell-video-thumbnailer.c" +#line 718 "shotwell-video-thumbnailer.c" } #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" if (!value->data[0].v_pointer) { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" *object_p = NULL; -#line 621 "shotwell-video-thumbnailer.c" +#line 724 "shotwell-video-thumbnailer.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" *object_p = value->data[0].v_pointer; -#line 625 "shotwell-video-thumbnailer.c" +#line 728 "shotwell-video-thumbnailer.c" } else { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" *object_p = shotwell_thumbnailer_ref (value->data[0].v_pointer); -#line 629 "shotwell-video-thumbnailer.c" +#line 732 "shotwell-video-thumbnailer.c" } #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return NULL; -#line 633 "shotwell-video-thumbnailer.c" +#line 736 "shotwell-video-thumbnailer.c" } @@ -643,7 +746,7 @@ GParamSpec* param_spec_shotwell_thumbnailer (const gchar* name, const gchar* nic G_PARAM_SPEC (spec)->value_type = object_type; #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return G_PARAM_SPEC (spec); -#line 647 "shotwell-video-thumbnailer.c" +#line 750 "shotwell-video-thumbnailer.c" } @@ -652,7 +755,7 @@ gpointer value_get_shotwell_thumbnailer (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_SHOTWELL_THUMBNAILER), NULL); #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return value->data[0].v_pointer; -#line 656 "shotwell-video-thumbnailer.c" +#line 759 "shotwell-video-thumbnailer.c" } @@ -672,17 +775,17 @@ void value_set_shotwell_thumbnailer (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" shotwell_thumbnailer_ref (value->data[0].v_pointer); -#line 676 "shotwell-video-thumbnailer.c" +#line 779 "shotwell-video-thumbnailer.c" } else { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" value->data[0].v_pointer = NULL; -#line 680 "shotwell-video-thumbnailer.c" +#line 783 "shotwell-video-thumbnailer.c" } #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" if (old) { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" shotwell_thumbnailer_unref (old); -#line 686 "shotwell-video-thumbnailer.c" +#line 789 "shotwell-video-thumbnailer.c" } } @@ -701,17 +804,17 @@ void value_take_shotwell_thumbnailer (GValue* value, gpointer v_object) { g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" value->data[0].v_pointer = v_object; -#line 705 "shotwell-video-thumbnailer.c" +#line 808 "shotwell-video-thumbnailer.c" } else { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" value->data[0].v_pointer = NULL; -#line 709 "shotwell-video-thumbnailer.c" +#line 812 "shotwell-video-thumbnailer.c" } #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" if (old) { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" shotwell_thumbnailer_unref (old); -#line 715 "shotwell-video-thumbnailer.c" +#line 818 "shotwell-video-thumbnailer.c" } } @@ -721,14 +824,14 @@ static void shotwell_thumbnailer_class_init (ShotwellThumbnailerClass * klass) { shotwell_thumbnailer_parent_class = g_type_class_peek_parent (klass); #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" ((ShotwellThumbnailerClass *) klass)->finalize = shotwell_thumbnailer_finalize; -#line 725 "shotwell-video-thumbnailer.c" +#line 828 "shotwell-video-thumbnailer.c" } static void shotwell_thumbnailer_instance_init (ShotwellThumbnailer * self) { #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" self->ref_count = 1; -#line 732 "shotwell-video-thumbnailer.c" +#line 835 "shotwell-video-thumbnailer.c" } @@ -738,7 +841,7 @@ static void shotwell_thumbnailer_finalize (ShotwellThumbnailer* obj) { self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SHOTWELL_THUMBNAILER, ShotwellThumbnailer); #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" g_signal_handlers_destroy (self); -#line 742 "shotwell-video-thumbnailer.c" +#line 845 "shotwell-video-thumbnailer.c" } @@ -763,7 +866,7 @@ gpointer shotwell_thumbnailer_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" return instance; -#line 767 "shotwell-video-thumbnailer.c" +#line 870 "shotwell-video-thumbnailer.c" } @@ -776,7 +879,7 @@ void shotwell_thumbnailer_unref (gpointer instance) { SHOTWELL_THUMBNAILER_GET_CLASS (self)->finalize (self); #line 12 "/home/jens/Source/shotwell/thumbnailer/shotwell-video-thumbnailer.vala" g_type_free_instance ((GTypeInstance *) self); -#line 780 "shotwell-video-thumbnailer.c" +#line 883 "shotwell-video-thumbnailer.c" } } diff --git a/thumbnailer/shotwell-video-thumbnailer.vala b/thumbnailer/shotwell-video-thumbnailer.vala index 437d132..234868a 100644 --- a/thumbnailer/shotwell-video-thumbnailer.vala +++ b/thumbnailer/shotwell-video-thumbnailer.vala @@ -21,7 +21,21 @@ class ShotwellThumbnailer { Gst.StateChangeReturn ret; Gst.init(ref args); - + + var registry = Gst.Registry.@get (); + + var feature = registry.find_feature ("vaapidecodebin", + typeof (Gst.ElementFactory)); + if (feature != null) { + registry.remove_feature (feature); + } + + feature = registry.find_feature ("vaapidecode", + typeof (Gst.ElementFactory)); + if (feature != null) { + registry.remove_feature (feature); + } + if (args.length != 2) { stdout.printf("usage: %s [filename]\n Writes video thumbnail to stdout\n", args[0]); return 1; diff --git a/ui/direct.ui b/ui/direct.ui index ac6a4a9..e3d4e34 100644 --- a/ui/direct.ui +++ b/ui/direct.ui @@ -55,7 +55,7 @@ <menu name="HelpMenu" action="HelpMenu"> <menuitem name="Contents" action="CommonHelpContents" /> <menuitem name="Frequently Asked Questions" action="CommonHelpFAQ" /> - <menuitem name="Report a Problem..." action="CommonHelpReportProblem" /> + <menuitem name="Report a Problem…" action="CommonHelpReportProblem" /> <separator /> <menuitem name="About" action="CommonAbout" /> </menu> diff --git a/ui/events_directory.ui b/ui/events_directory.ui index a1a256f..33ab5d7 100644 --- a/ui/events_directory.ui +++ b/ui/events_directory.ui @@ -48,7 +48,7 @@ <menu name="HelpMenu" action="HelpMenu"> <menuitem name="Contents" action="CommonHelpContents" /> <menuitem name="Frequently Asked Questions" action="CommonHelpFAQ" /> - <menuitem name="Report a Problem..." action="CommonHelpReportProblem" /> + <menuitem name="Report a Problem…" action="CommonHelpReportProblem" /> <separator /> <menuitem name="About" action="CommonAbout" /> </menu> diff --git a/ui/import.ui b/ui/import.ui index 99c96a2..3c3cac3 100644 --- a/ui/import.ui +++ b/ui/import.ui @@ -52,7 +52,7 @@ <menu name="HelpMenu" action="HelpMenu"> <menuitem name="Contents" action="CommonHelpContents" /> <menuitem name="Frequently Asked Questions" action="CommonHelpFAQ" /> - <menuitem name="Report a Problem..." action="CommonHelpReportProblem" /> + <menuitem name="Report a Problem…" action="CommonHelpReportProblem" /> <separator /> <menuitem name="About" action="CommonAbout" /> </menu> diff --git a/ui/import_queue.ui b/ui/import_queue.ui index b8233ab..88078b8 100644 --- a/ui/import_queue.ui +++ b/ui/import_queue.ui @@ -24,7 +24,7 @@ <menu name="HelpMenu" action="HelpMenu"> <menuitem name="Contents" action="CommonHelpContents" /> <menuitem name="Frequently Asked Questions" action="CommonHelpFAQ" /> - <menuitem name="Report a Problem..." action="CommonHelpReportProblem" /> + <menuitem name="Report a Problem…" action="CommonHelpReportProblem" /> <separator /> <menuitem name="About" action="CommonAbout" /> </menu> diff --git a/ui/media.ui b/ui/media.ui index 58329ee..f42c189 100644 --- a/ui/media.ui +++ b/ui/media.ui @@ -118,7 +118,7 @@ <menu name="HelpMenu" action="HelpMenu"> <menuitem name="Contents" action="CommonHelpContents" /> <menuitem name="Frequently Asked Questions" action="CommonHelpFAQ" /> - <menuitem name="Report a Problem..." action="CommonHelpReportProblem" /> + <menuitem name="Report a Problem…" action="CommonHelpReportProblem" /> <separator /> <menuitem name="About" action="CommonAbout" /> </menu> diff --git a/ui/offline.ui b/ui/offline.ui index f4359a3..ff56ae9 100644 --- a/ui/offline.ui +++ b/ui/offline.ui @@ -51,7 +51,7 @@ <menu name="HelpMenu" action="HelpMenu"> <menuitem name="Contents" action="CommonHelpContents" /> <menuitem name="Frequently Asked Questions" action="CommonHelpFAQ" /> - <menuitem name="Report a Problem..." action="CommonHelpReportProblem" /> + <menuitem name="Report a Problem…" action="CommonHelpReportProblem" /> <separator /> <menuitem name="About" action="CommonAbout" /> </menu> diff --git a/ui/photo.ui b/ui/photo.ui index d91b0b3..a4c587e 100644 --- a/ui/photo.ui +++ b/ui/photo.ui @@ -112,7 +112,7 @@ <menu name="HelpMenu" action="HelpMenu"> <menuitem name="Contents" action="CommonHelpContents" /> <menuitem name="Frequently Asked Questions" action="CommonHelpFAQ" /> - <menuitem name="Report a Problem..." action="CommonHelpReportProblem" /> + <menuitem name="Report a Problem…" action="CommonHelpReportProblem" /> <separator /> <menuitem name="About" action="CommonAbout" /> </menu> diff --git a/ui/shotwell.ui b/ui/shotwell.ui index de2b15d..01c4274 100644 --- a/ui/shotwell.ui +++ b/ui/shotwell.ui @@ -1624,7 +1624,7 @@ changes made here will not display.</property> </child> <child> <object class="GtkButton" id="login_button"> - <property name="label" translatable="yes">_Login</property> + <property name="label" translatable="yes">_Log in</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> diff --git a/ui/trash.ui b/ui/trash.ui index 2873416..9a464bb 100644 --- a/ui/trash.ui +++ b/ui/trash.ui @@ -53,7 +53,7 @@ <menu name="HelpMenu" action="HelpMenu"> <menuitem name="Contents" action="CommonHelpContents" /> <menuitem name="Frequently Asked Questions" action="CommonHelpFAQ" /> - <menuitem name="Report a Problem..." action="CommonHelpReportProblem" /> + <menuitem name="Report a Problem…" action="CommonHelpReportProblem" /> <separator /> <menuitem name="About" action="CommonAbout" /> </menu> diff --git a/vapi/libraw.vapi b/vapi/libraw.vapi index db4fafb..da6a57e 100644 --- a/vapi/libraw.vapi +++ b/vapi/libraw.vapi @@ -247,7 +247,8 @@ public struct Thumbnail { public ushort theight; public uint tlength; public int tcolors; - public int8 *thumb; + [CCode (array_length_cname="tlength")] + public uint8[] thumb; } [CCode (cname="enum LibRaw_thumbnail_formats", cprefix="LIBRAW_THUMBNAIL_")] |